:root {
  --bg: #f4f8fb;
  --surface: #ffffff;
  --surface-soft: #eaf3f7;
  --primary: #0b3c5d;
  --primary-2: #0e5e77;
  --accent: #2aa3a1;
  --accent-soft: #d9f1ef;
  --text: #122531;
  --muted: #60747f;
  --line: rgba(11, 60, 93, 0.12);
  --shadow: 0 24px 70px rgba(10, 55, 80, 0.12);
  --radius: 26px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

svg {
  display: block;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 92px 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  background: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(244, 248, 251, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: .3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(13, 52, 73, 0.07);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-weight: 800;
  letter-spacing: .03em;
  box-shadow: 0 12px 25px rgba(11, 60, 93, .2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 14px;
  letter-spacing: .02em;
}

.brand-text small {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 650;
}

.main-nav a {
  position: relative;
  color: #34505f;
  transition: color .2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--accent);
  transition: right .25s ease;
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a:hover::after {
  right: 0;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--surface);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 10px 24px rgba(11, 60, 93, .08);
  cursor: pointer;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  background: var(--primary);
  border-radius: 10px;
  transition: .25s ease;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 15% 10%, rgba(42, 163, 161, .12), transparent 27%),
    radial-gradient(circle at 85% 35%, rgba(14, 94, 119, .12), transparent 30%),
    linear-gradient(180deg, #f8fbfd 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(48px, 6.7vw, 92px);
  line-height: .98;
  letter-spacing: -.055em;
  color: var(--primary);
  max-width: 760px;
}

.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--primary-2);
}

.hero-role {
  margin-top: 28px;
  font-size: clamp(21px, 2.2vw, 30px);
  font-weight: 760;
  color: #203e4d;
}

.hero-degree {
  margin-top: 8px;
  color: var(--muted);
  font-size: 17px;
}

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

.btn {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 16px 34px rgba(11, 60, 93, .22);
}

.btn-primary:hover {
  box-shadow: 0 20px 38px rgba(11, 60, 93, .3);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.7);
  color: var(--primary);
}

.btn-light {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 14px 30px rgba(3, 34, 49, .15);
}

.hero-note {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #355562;
  font-size: 14px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(42, 163, 161, .4);
  animation: pulse 2s infinite;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.medical-card {
  position: relative;
  width: min(420px, 92%);
  aspect-ratio: 4 / 5;
  border-radius: 42px;
  padding: 56px 42px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(235,247,249,.9));
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--shadow);
  transform: rotate(4deg);
  overflow: hidden;
}

.medical-card::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  right: -90px;
  top: -70px;
  background: linear-gradient(135deg, rgba(42,163,161,.24), rgba(11,60,93,.04));
}

.medical-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  left: -40px;
  bottom: -30px;
  border: 24px solid rgba(11,60,93,.05);
  border-radius: 50%;
}

.medical-symbol {
  width: 92px;
  height: 92px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  font-size: 60px;
  line-height: 1;
  font-weight: 300;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--primary-2));
  box-shadow: 0 16px 32px rgba(42,163,161,.25);
  margin-bottom: 70px;
}

.line {
  height: 12px;
  border-radius: 20px;
  background: #dce9ee;
  margin-top: 14px;
  width: 82%;
}

.line-lg {
  height: 18px;
  width: 94%;
  background: #bfd8e2;
}

.line-sm {
  width: 58%;
}

.mini-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mini-grid div {
  aspect-ratio: 1;
  border-radius: 18px;
  background: rgba(11,60,93,.06);
  display: grid;
  place-items: center;
  color: var(--primary-2);
  font-weight: 800;
}

.floating-tag {
  position: absolute;
  padding: 13px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.88);
  box-shadow: 0 16px 35px rgba(11, 60, 93, .13);
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
  backdrop-filter: blur(12px);
}

.tag-one {
  top: 18%;
  left: -1%;
  animation: float 4.6s ease-in-out infinite;
}

.tag-two {
  right: 0;
  bottom: 19%;
  animation: float 5.2s ease-in-out infinite .6s;
}

.hero-decor {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}

.hero-decor-one {
  width: 230px;
  height: 230px;
  right: 5%;
  top: 9%;
  border: 1px solid rgba(42, 163, 161, .13);
}

.hero-decor-two {
  width: 120px;
  height: 120px;
  left: 4%;
  bottom: 8%;
  border: 22px solid rgba(11, 60, 93, .035);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading h2,
.schedule-copy h2,
.contact-main h2,
.cta-box h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--primary);
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  margin-top: 16px;
  font-size: 16px;
}

.profile-section {
  background: #fff;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-card {
  min-height: 220px;
  padding: 34px;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, #f8fbfc, #eef6f8);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(15, 70, 92, .06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .25s ease, box-shadow .25s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 55px rgba(15, 70, 92, .11);
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--primary-2);
  font-weight: 900;
  font-size: 12px;
}

.info-card h3 {
  margin-top: 44px;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.13;
  letter-spacing: -.025em;
  max-width: 520px;
}

.modality-section {
  background:
    radial-gradient(circle at 82% 16%, rgba(42,163,161,.17), transparent 24%),
    linear-gradient(145deg, #0a3450, #0b5367);
  color: #fff;
  overflow: hidden;
}

.section-heading.light h2 {
  color: #fff;
}

.modality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.modality-card {
  padding: 30px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, background .25s ease;
}

.modality-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.11);
}

.modality-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #a9e9e3;
  background: rgba(255,255,255,.08);
}

.modality-icon svg {
  width: 38px;
  height: 38px;
}

.modality-card h3 {
  margin-top: 46px;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.1;
}

.modality-card p {
  margin-top: 9px;
  color: rgba(255,255,255,.72);
}

.modality-card a {
  margin-top: auto;
  padding-top: 30px;
  color: #bdeeea;
  font-weight: 800;
  font-size: 14px;
}

.modality-card a::after {
  content: "  →";
}

.schedule-section {
  background: var(--bg);
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 80px;
  align-items: center;
}

.schedule-time {
  margin-top: 28px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1;
  color: var(--primary-2);
  font-weight: 850;
  letter-spacing: -.045em;
}

.schedule-time span {
  color: #9bb0bb;
  font-size: .5em;
  font-weight: 600;
  letter-spacing: 0;
}

.schedule-panel {
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--line);
}

.calendar-top {
  height: 58px;
  background: linear-gradient(135deg, var(--accent), var(--primary-2));
  display: flex;
  justify-content: space-between;
  padding: 0 44px;
}

.calendar-top span {
  width: 10px;
  height: 28px;
  background: rgba(255,255,255,.75);
  border-radius: 20px;
  margin-top: -8px;
}

.calendar-body {
  padding: 46px;
  text-align: center;
}

.calendar-body p {
  color: var(--muted);
  font-weight: 700;
}

.calendar-body strong {
  display: block;
  margin-top: 14px;
  color: var(--primary);
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -.04em;
}

.calendar-body small {
  display: block;
  color: #7b8e97;
  margin-top: 6px;
}

.contact-section {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 28px;
  align-items: stretch;
}

.contact-main {
  border-radius: var(--radius);
  padding: 44px;
  background:
    radial-gradient(circle at 90% 5%, rgba(42,163,161,.12), transparent 30%),
    var(--surface-soft);
  border: 1px solid var(--line);
}

.phone-link {
  display: inline-block;
  margin: 22px 0 30px;
  font-size: clamp(37px, 5.3vw, 72px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.05em;
  color: var(--primary-2);
}

.contact-main .btn {
  display: flex;
  width: fit-content;
}

.fiscal-card {
  border-radius: var(--radius);
  padding: 44px;
  color: #fff;
  background: linear-gradient(150deg, var(--primary), #092f45);
  box-shadow: 0 24px 55px rgba(8, 43, 62, .18);
}

.card-kicker {
  color: #9ce2dc;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
}

.fiscal-card h3 {
  margin-top: 28px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
}

.fiscal-card address {
  margin-top: 24px;
  font-style: normal;
  color: rgba(255,255,255,.78);
  font-size: 17px;
}

.fiscal-note {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: #cbe8e8;
  font-size: 14px;
}

.final-cta {
  padding-top: 24px;
  background: #fff;
}

.cta-box {
  padding: 48px;
  border-radius: 32px;
  background: linear-gradient(135deg, #0a4f62, #0b3c5d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 24px 60px rgba(8, 52, 73, .17);
}

.cta-box h2 {
  color: #fff;
  font-size: clamp(28px, 3.4vw, 44px);
  max-width: 760px;
}

.site-footer {
  padding: 48px 0 90px;
  background: #fff;
}

.footer-grid {
  padding-top: 34px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid strong {
  color: var(--primary);
  font-size: 16px;
}

.footer-meta {
  text-align: right;
}

.footer-meta a {
  display: inline-block;
  margin-top: 5px;
  color: var(--primary-2);
  font-weight: 800;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1100;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #20b66b;
  color: #fff;
  box-shadow: 0 16px 34px rgba(20, 117, 72, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 20px 38px rgba(20, 117, 72, .36);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(42, 163, 161, .38); }
  70% { box-shadow: 0 0 0 9px rgba(42, 163, 161, 0); }
  100% { box-shadow: 0 0 0 0 rgba(42, 163, 161, 0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 920px) {
  .section {
    padding: 76px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 68px;
    left: 20px;
    right: 20px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: grid;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: .25s ease;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .main-nav a {
    padding: 13px 12px;
    border-radius: 12px;
  }

  .main-nav a:hover {
    background: var(--surface-soft);
  }

  .main-nav a::after {
    display: none;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding-top: 84px;
  }

  .hero-grid,
  .schedule-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .medical-card {
    max-width: 360px;
  }

  .profile-grid,
  .modality-grid {
    grid-template-columns: 1fr;
  }

  .schedule-grid {
    gap: 46px;
  }

  .cta-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .section {
    padding: 64px 0;
  }

  .nav-wrap {
    min-height: 68px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .brand-text strong {
    font-size: 13px;
  }

  .brand-text small {
    font-size: 11px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero h1 {
    font-size: clamp(45px, 15vw, 66px);
  }

  .hero-role {
    font-size: 22px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-note {
    align-items: flex-start;
  }

  .hero-visual {
    min-height: 420px;
    margin-top: -10px;
  }

  .medical-card {
    width: 88%;
    padding: 42px 28px;
    border-radius: 32px;
  }

  .medical-symbol {
    width: 76px;
    height: 76px;
    font-size: 48px;
    border-radius: 23px;
    margin-bottom: 48px;
  }

  .tag-one {
    left: 0;
  }

  .tag-two {
    right: 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .info-card,
  .modality-card,
  .contact-main,
  .fiscal-card,
  .cta-box {
    padding: 28px;
    border-radius: 24px;
  }

  .info-card {
    min-height: 190px;
  }

  .modality-card {
    min-height: 290px;
  }

  .calendar-body {
    padding: 36px 22px;
  }

  .phone-link {
    font-size: clamp(36px, 12vw, 55px);
  }

  .contact-main .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    text-align: left;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-float svg {
    width: 31px;
    height: 31px;
  }
}
