:root {
  --green: #1b5e20;
  --green-2: #2d7a3e;
  --burgundy: #8b0000;
  --ink: #242a2a;
  --muted: #58656a;
  --line: #e4ebe7;
  --paper: #ffffff;
  --soft: #f5f8f6;
  --shadow: 0 18px 50px rgba(20, 45, 35, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfcfb;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

.mobile-only {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  padding: 10px max(20px, calc((100vw - 1120px) / 2));
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(20, 45, 35, 0.08);
}

.brand,
.main-nav,
.footer-grid nav,
.footer-grid div:last-child {
  display: flex;
  align-items: center;
}

.brand {
  position: relative;
  gap: 12px;
  min-width: 226px;
}

.brand::before {
  content: "";
  position: absolute;
  left: -12px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 99, 50, 0.34), rgba(43, 99, 50, 0));
  filter: blur(7px);
  pointer-events: none;
}

.brand-icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex: 0 0 auto;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-copy strong {
  color: #2b6332;
  font-family: "Poppins", sans-serif;
  font-size: 1.78rem;
  font-weight: 600;
  letter-spacing: 0;
}

.brand-copy span {
  color: #a20f1e;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.main-nav {
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.main-nav a:hover,
.footer-grid a:hover {
  color: var(--green);
}

.header-phone,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 7px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-phone,
.button-primary {
  color: #fff;
  background: #174a6a;
  box-shadow: 0 12px 28px rgba(23, 74, 106, 0.22);
}

.button-whatsapp {
  gap: 10px;
  color: #fff;
  background: linear-gradient(135deg, #28734a, #1f5f3e);
  box-shadow: 0 14px 32px rgba(31, 95, 62, 0.24);
}

.button-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.button-whatsapp:hover {
  background: linear-gradient(135deg, #2f8053, #246946);
  box-shadow: 0 18px 38px rgba(31, 95, 62, 0.3);
}

.button-secondary {
  color: #123f2b;
  background: #dff5ea;
  box-shadow: 0 12px 28px rgba(18, 63, 43, 0.16);
}

.button-outline,
.button-ghost {
  color: var(--green);
  border: 1px solid rgba(27, 94, 32, 0.35);
  background: rgba(255, 255, 255, 0.86);
}

.button:hover,
.header-phone:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: end;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 29, 24, 0.86) 0%, rgba(13, 29, 24, 0.62) 46%, rgba(13, 29, 24, 0.18) 100%),
    linear-gradient(0deg, rgba(13, 29, 24, 0.8), rgba(13, 29, 24, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 116px 0 92px;
  color: #fff;
}

.hero-content h1 {
  max-width: 760px;
  margin: 10px 0 22px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.55rem, 6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-gradient-text {
  color: #ecfff1;
  background: linear-gradient(90deg, #ecfff1, #60e6da);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.eyebrow {
  margin: 0;
  color: var(--burgundy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e8fff0;
  font-weight: 300;
  letter-spacing: 0;
  opacity: 0.76;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.specialties {
  background: linear-gradient(90deg, rgba(27, 94, 32, 0.07), rgba(139, 0, 0, 0.07));
  border-bottom: 1px solid var(--line);
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 24px 0;
}

.specialties span {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 14px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 800;
}

.stats {
  padding: 34px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stats article {
  position: relative;
  padding: 24px;
  border-left: 4px solid var(--green);
  background: var(--soft);
  border-radius: var(--radius);
}

.stats strong {
  display: block;
  color: var(--green);
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 92px 0;
}

.section-soft {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-location {
  background:
    radial-gradient(circle at 18% 18%, rgba(96, 191, 164, 0.18), transparent 34%),
    linear-gradient(180deg, #eef7f3 0%, #f7fbf8 100%);
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.align-left {
  margin: 0;
  text-align: left;
}

h2,
h3 {
  font-family: "Poppins", sans-serif;
  letter-spacing: 0;
  line-height: 1.15;
}

h2 {
  margin: 10px 0 16px;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-image,
.team-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-image {
  margin-bottom: 32px;
  max-height: 430px;
}

.feature-image img,
.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cards {
  display: grid;
  gap: 22px;
}

.three-columns {
  grid-template-columns: repeat(3, 1fr);
}

.two-columns {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(20, 45, 35, 0.06);
}

.procedure-image {
  display: block;
  width: calc(100% + 58px);
  max-width: none;
  aspect-ratio: 1 / 1;
  height: auto;
  margin: -29px -29px 24px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--green);
  background: rgba(27, 94, 32, 0.1);
  border-radius: 8px;
  font-weight: 800;
}

.card p,
.card address,
.values-grid li,
.footer-grid p {
  color: var(--muted);
}

.card ul,
.values-grid ul {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.card li,
.values-grid li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.card li::before,
.values-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.card > a:not(.button),
.phone-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green);
  font-weight: 800;
}

.arrhythmia-card {
  display: grid;
  grid-template-columns: 210px 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 24px;
  padding: 18px;
  background:
    radial-gradient(circle at 92% 12%, rgba(96, 191, 164, 0.18), transparent 36%),
    #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(20, 45, 35, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.arrhythmia-card:hover {
  transform: translateY(-3px);
  border-color: rgba(27, 94, 32, 0.28);
  box-shadow: 0 20px 42px rgba(20, 45, 35, 0.12);
}

.arrhythmia-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 7px;
}

.arrhythmia-card span {
  display: grid;
  gap: 4px;
}

.arrhythmia-card small {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.arrhythmia-card strong {
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.1;
}

.arrhythmia-card em {
  color: var(--muted);
  font-style: normal;
}

.arrhythmia-card b {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--green);
  background: rgba(27, 94, 32, 0.09);
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
}

.testimonials {
  padding-top: 0;
}

.testimonial-slider {
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 520ms ease;
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 100%;
}

.testimonial-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.testimonial-card blockquote {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.45;
}

.testimonial-card figcaption {
  display: grid;
  gap: 2px;
  margin-top: 24px;
  color: var(--muted);
}

.testimonial-card strong {
  color: var(--green);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.testimonial-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(27, 94, 32, 0.24);
  cursor: pointer;
}

.testimonial-dots button.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--green);
}

.testimonial-dots:has(button:only-child) {
  display: none;
}

.team-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.team-image {
  aspect-ratio: 5 / 3.2;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.team-image img {
  aspect-ratio: 5 / 3.2;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.doctor-team {
  margin-top: 42px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(20, 45, 35, 0.06);
}

.doctor-team h3 {
  margin-bottom: 10px;
}

.doctor-team p {
  color: var(--muted);
}

.doctor-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.doctor-card {
  --card-tint-a: rgba(232, 246, 238, 0.92);
  --card-tint-b: rgba(255, 255, 255, 0.98);
  display: grid;
  gap: 8px;
  min-height: 184px;
  padding: 18px;
  background:
    radial-gradient(circle at 88% 12%, var(--card-tint-a), transparent 42%),
    linear-gradient(180deg, var(--card-tint-b), rgba(255, 255, 255, 0.98)),
    #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(20, 45, 35, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.doctor-card:nth-child(2) {
  --card-tint-a: rgba(224, 244, 246, 0.98);
  --card-tint-b: rgba(250, 254, 254, 0.98);
}

.doctor-card:nth-child(3) {
  --card-tint-a: rgba(240, 239, 230, 0.98);
  --card-tint-b: rgba(255, 253, 248, 0.98);
}

.doctor-card:hover {
  transform: translateY(-3px);
  border-color: rgba(27, 94, 32, 0.28);
  box-shadow: 0 16px 34px rgba(20, 45, 35, 0.1);
}

.doctor-card-kicker {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doctor-card strong {
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  font-size: 26px;
  line-height: 1.2;
}

.doctor-card small {
  color: rgba(88, 101, 106, 0.72);
  font-size: 0.88rem;
  font-weight: 700;
}

.doctor-card-link {
  align-self: end;
  margin-top: 10px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 800;
}

.doctor-page {
  background: var(--soft);
}

.doctor-subhero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 58px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(96, 191, 164, 0.24), transparent 32%),
    linear-gradient(125deg, #174f2b 0%, #123f2b 52%, #17636b 100%);
}

.doctor-subhero::after {
  content: "";
  position: absolute;
  right: max(20px, calc((100vw - 1120px) / 2));
  bottom: -72px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.doctor-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
}

.doctor-breadcrumb a:hover {
  color: #fff;
}

.doctor-subhero .eyebrow {
  color: #cce6d4;
}

.doctor-subhero h1 {
  max-width: 100%;
  margin: 0 0 14px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.35rem, 5.2vw, 4.7rem);
  line-height: 1;
  white-space: nowrap;
}

.doctor-subhero p:not(.eyebrow):not(.doctor-breadcrumb) {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.doctor-hero {
  padding: 44px 0 88px;
}

.doctor-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.doctor-summary-card,
.doctor-profile-card {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.doctor-summary-card {
  position: sticky;
  top: 112px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(96, 191, 164, 0.22), transparent 36%),
    linear-gradient(180deg, #ffffff, #f7fbf8);
}

.doctor-summary-mark {
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #2f8053);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(27, 94, 32, 0.18);
  font-family: "Poppins", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.doctor-summary-card h1 {
  margin: 10px 0 10px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.45rem);
  line-height: 1.04;
}

.doctor-crm {
  margin: 0 0 24px;
  color: var(--green);
  font-size: 1rem;
  font-weight: 800;
}

.doctor-summary-card p:not(.eyebrow):not(.doctor-crm) {
  margin: 0;
  color: var(--muted);
}

.arrhythmia-summary-card img {
  width: calc(100% + 60px);
  max-width: none;
  aspect-ratio: 4 / 3;
  height: auto;
  margin: -30px -30px 26px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.article-wide-card {
  max-width: 900px;
  margin: 0 auto;
}

.article-hero-image {
  width: calc(100% + 60px);
  max-width: none;
  aspect-ratio: 16 / 7;
  height: auto;
  margin: -30px -30px 28px;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
}

.doctor-team-links {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.doctor-team-separator {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 2px;
  color: rgba(88, 101, 106, 0.78);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doctor-team-separator span {
  height: 1px;
  background: var(--line);
}

.doctor-team-links a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.doctor-team-links a:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(27, 94, 32, 0.28);
}

.doctor-team-links a span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--green);
  background: rgba(27, 94, 32, 0.09);
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 800;
}

.doctor-team-links a strong {
  color: var(--ink);
  line-height: 1.2;
}

.doctor-profile-card h2 {
  margin: 8px 0 24px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.doctor-profile-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.doctor-profile-card p {
  margin: 0;
  color: var(--muted);
}

.article-prose {
  display: grid;
  gap: 16px;
}

.article-prose p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.72;
}

.article-prose p:first-child {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
}

.doctor-profile-list {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.doctor-profile-list li {
  position: relative;
  padding: 12px 14px 12px 42px;
  color: var(--muted);
  background: rgba(245, 248, 246, 0.72);
  border: 1px solid rgba(228, 235, 231, 0.76);
  border-radius: 7px;
}

.doctor-profile-list li:nth-child(even) {
  background: #fff;
}

.doctor-profile-list li::before {
  content: "›";
  position: absolute;
  left: 16px;
  top: 50%;
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-54%);
}

.doctor-page .contact-band {
  margin-top: 0;
}

.doctor-page .site-footer {
  margin-top: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.values-grid article {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.values-grid h3 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.heading-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--green);
  background: rgba(27, 94, 32, 0.09);
  border-radius: 11px;
  flex: 0 0 auto;
}

.heading-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.image-caption {
  margin: 10px 8px 0;
  color: rgba(88, 101, 106, 0.58);
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 400;
  text-align: right;
}

.location-card address {
  min-height: 96px;
  font-style: normal;
}

.location-card .phone-link {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
}

.phone-link svg,
.contact-phone-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.map-button {
  gap: 10px;
  width: fit-content;
  display: flex;
  clear: both;
  margin-top: 18px;
}

.map-button svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  flex: 0 0 auto;
}

.contact-band {
  padding: 72px 0;
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(149, 218, 205, 0.2), transparent 32%),
    linear-gradient(125deg, #174f2b 0%, #123f2b 48%, #17636b 100%);
}

.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: 48px;
}

.contact-content .eyebrow {
  color: #cce6d4;
}

.contact-content h2 {
  margin: 8px 0 12px;
}

.contact-content p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-copy .contact-actions {
  display: grid;
  width: fit-content;
  gap: 14px;
  margin-top: 26px;
}

.contact-actions .button {
  color: #123f2b;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 36px rgba(18, 63, 43, 0.16);
}

.contact-actions .button:hover {
  background: #ffffff;
}

.contact-phone-button {
  gap: 10px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: var(--radius);
  box-shadow: 0 22px 54px rgba(9, 36, 27, 0.22);
  backdrop-filter: blur(10px);
}

.contact-form h3 {
  margin: 0 0 4px;
  color: #123f2b;
  font-size: 1.35rem;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(36, 42, 42, 0.76);
  font-size: 0.88rem;
  font-weight: 800;
}

.textarea-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.textarea-label small {
  color: rgba(88, 101, 106, 0.62);
  font-size: 0.76rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 104px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(27, 94, 32, 0.42);
  box-shadow: 0 0 0 4px rgba(27, 94, 32, 0.1);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-feedback {
  min-height: 0;
  color: rgba(36, 42, 42, 0.72);
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0;
}

.contact-form .cf-turnstile {
  margin-top: 4px;
}

.form-feedback[data-type="success"] {
  color: var(--green);
}

.form-feedback[data-type="error"] {
  color: #9f1625;
}

.button-form {
  width: 100%;
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, #174a6a, #123f2b);
  cursor: pointer;
}

.button-form:hover {
  box-shadow: 0 16px 34px rgba(18, 63, 43, 0.22);
}

.button-form:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.site-footer {
  padding: 58px 0 34px;
  color: #eef5f0;
  background: #202827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.footer-grid nav,
.footer-grid div:last-child {
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-title {
  margin: 0 0 4px;
  color: rgba(238, 245, 240, 0.84);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav-title {
  margin: 0 0 4px;
  color: rgba(238, 245, 240, 0.84);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(238, 245, 240, 0.88);
  font-weight: 600;
}

.footer-contact-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: 0 0 auto;
}

.footer-contact-link--whatsapp {
  color: #b9efcf;
}

.footer-grid p {
  max-width: 330px;
  color: rgba(238, 245, 240, 0.72);
}

.footer-logo {
  width: 210px;
  max-width: 100%;
  margin-bottom: 14px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

.footer-mark {
  width: 58px;
  border-radius: 14px;
  filter: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 32px));
  margin: 36px auto 0;
  padding-top: 24px;
  color: rgba(238, 245, 240, 0.62);
  border-top: 1px solid rgba(238, 245, 240, 0.16);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: rgba(238, 245, 240, 0.78);
  font-weight: 400;
}

.footer-bottom a:hover {
  color: #fff;
}

.site-footer .footer-grid a:hover {
  color: #d4f2e2;
}

.developer-credit strong {
  font-weight: 700;
}

.legal-sections {
  display: grid;
  gap: 28px;
}

.legal-sections section {
  padding-top: 2px;
}

.legal-sections h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  font-size: 1.25rem;
}

.article-check-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.article-check-list li {
  position: relative;
  padding: 12px 14px 12px 42px;
  color: var(--ink);
  background: rgba(245, 248, 246, 0.78);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.article-check-list li::before {
  content: "›";
  position: absolute;
  left: 17px;
  top: 50%;
  color: var(--green);
  font-size: 1.45rem;
  font-weight: 800;
  transform: translateY(-53%);
}

.source-card {
  margin-top: 30px;
  padding: 22px;
  background:
    radial-gradient(circle at 96% 0%, rgba(96, 191, 164, 0.17), transparent 38%),
    #f7fbf8;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 14px;
}

.source-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-family: "Poppins", sans-serif;
}

.source-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.source-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-consent {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 31;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  width: min(620px, calc(100% - 120px));
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(228, 235, 231, 0.86);
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(9, 36, 27, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(12px);
}

.cookie-consent.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-consent strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Poppins", sans-serif;
}

.cookie-consent p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-consent-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cookie-consent-actions a {
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.cookie-consent-actions button {
  min-height: 42px;
  padding: 0 18px;
  color: #fff;
  background: #174a6a;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.floating-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  gap: 10px;
}

.floating-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(15, 38, 30, 0.2);
  transition: transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.floating-action svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.floating-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(15, 38, 30, 0.28);
}

.floating-whatsapp {
  background: linear-gradient(135deg, #2f8053, #1f5f3e);
}

.floating-top {
  color: #123f2b;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  backdrop-filter: blur(10px);
}

.floating-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .hero {
    min-height: 640px;
  }

  .specialties-grid,
  .stats-grid,
  .three-columns,
  .two-columns,
  .arrhythmia-card,
  .doctor-cards,
  .doctor-shell,
  .team-layout,
  .values-grid,
  .contact-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    display: grid;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 76px;
    padding: 9px 16px;
  }

  .brand {
    gap: 8px;
    min-width: 166px;
  }

  .brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .brand-copy strong {
    font-size: 1.35rem;
  }

  .brand-copy span {
    font-size: 0.72rem;
  }

  .header-phone {
    width: 42px;
    min-height: 40px;
    padding: 0;
    font-size: 0;
  }

  .header-phone svg {
    width: 18px;
    height: 18px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content h1 {
    font-size: clamp(1.55rem, 6.4vw, 1.88rem);
  }

  .hero-gradient-text {
    display: block;
  }

  .hero-title-rest {
    display: block;
  }

  .mobile-only {
    display: initial;
  }

  .doctor-subhero {
    padding: 46px 0 50px;
  }

  .doctor-subhero h1 {
    white-space: normal;
  }

  .doctor-hero {
    padding: 28px 0 70px;
  }

  .hero-content {
    padding: 94px 0 58px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .section {
    padding: 70px 0;
  }

  .doctor-summary-card {
    position: static;
  }

  .card,
  .doctor-summary-card,
  .doctor-profile-card,
  .values-grid article {
    padding: 22px;
  }

  .arrhythmia-summary-card img {
    width: calc(100% + 44px);
    margin: -22px -22px 22px;
  }

  .article-hero-image {
    width: calc(100% + 44px);
    margin: -22px -22px 24px;
    aspect-ratio: 4 / 3;
  }

  .arrhythmia-card {
    grid-template-columns: 1fr;
  }

  .arrhythmia-card b {
    display: none;
  }

  .procedure-image {
    width: calc(100% + 46px);
    margin: -23px -23px 22px;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
    gap: 8px;
  }

  .floating-action {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .cookie-consent {
    left: 14px;
    right: 70px;
    bottom: 14px;
    grid-template-columns: 1fr;
    width: auto;
    padding: 15px;
  }

  .cookie-consent-actions {
    justify-content: space-between;
  }
}
