:root {
  --navy: #073b82;
  --navy-deep: #04275d;
  --navy-soft: #edf4ff;
  --teal: #11bdb5;
  --teal-dark: #078f8b;
  --teal-soft: #e9fbfa;
  --red: #e8121a;
  --ink: #182a3e;
  --muted: #607187;
  --line: #dce7f2;
  --surface: #f6fbff;
  --white: #fff;
  --shadow: 0 24px 70px rgba(4,39,93,.14);
  --radius: 28px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: var(--container); margin-inline: auto; }
.section-pad { padding: 92px 0; }

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 5000;
  padding: 10px 14px; border-radius: 10px; background: var(--navy); color: #fff;
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(7,59,130,.09);
  box-shadow: 0 8px 26px rgba(4,39,93,.04);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { width: 190px; flex: 0 0 auto; }
.brand img { width: 100%; height: 68px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 26px; color: var(--navy-deep); font-weight: 800; }
.main-nav a { position: relative; padding: 12px 0; font-size: .94rem; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 5px; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--navy), var(--teal));
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 9px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 3px; margin: 5px 0; border-radius: 999px; background: var(--navy); transition: transform .25s ease, opacity .25s ease; }

.hero {
  position: relative; isolation: isolate; min-height: 720px; display: grid; align-items: center;
  background:
    radial-gradient(circle at 8% 12%, rgba(17,189,181,.16), transparent 30%),
    radial-gradient(circle at 92% 15%, rgba(7,59,130,.13), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f5fbff 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 78px; z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(7,59,130,.04));
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.hero-copy { animation: rise .7s ease both; }
.eyebrow, .kicker {
  margin: 0; display: inline-flex; align-items: center; gap: 9px;
  color: var(--teal-dark); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em;
}
.kicker-light { color: #b9fffb; }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; }
.hero h1 { margin: 18px 0 20px; color: var(--navy-deep); font-size: clamp(3.4rem, 7vw, 6rem); line-height: .96; letter-spacing: -.06em; }
.hero h1 span { color: var(--teal); }
.hero-lead { max-width: 680px; margin: 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn {
  min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 23px;
  border-radius: 999px; font-weight: 900; transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--navy), var(--teal)); box-shadow: 0 15px 34px rgba(7,59,130,.22); }
.btn-outline { color: var(--navy); background: #fff; border: 1px solid rgba(7,59,130,.17); box-shadow: 0 12px 28px rgba(4,39,93,.08); }
.btn-light { color: var(--navy); background: #fff; }
.hero-info-grid { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-info-grid article { padding: 17px 18px; border-left: 3px solid var(--teal); border-radius: 0 15px 15px 0; background: rgba(255,255,255,.8); }
.hero-info-grid span, .hero-info-grid strong { display: block; }
.hero-info-grid span { color: var(--teal-dark); font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.hero-info-grid strong { margin-top: 4px; color: var(--navy-deep); font-size: .94rem; }

.hero-visual { position: relative; min-height: 500px; display: grid; place-items: center; animation: rise .8s .12s ease both; }
.logo-shell {
  position: relative; width: min(485px, 100%); aspect-ratio: 1; display: grid; place-items: center; padding: 30px;
  border-radius: 38px; background: rgba(255,255,255,.96); border: 1px solid rgba(7,59,130,.1); box-shadow: var(--shadow); overflow: hidden;
}
.logo-shell::before, .logo-shell::after {
  content: ""; position: absolute; width: 230px; height: 230px; border-radius: 50%;
}
.logo-shell::before { right: -80px; top: -100px; background: rgba(17,189,181,.11); }
.logo-shell::after { left: -85px; bottom: -120px; background: rgba(7,59,130,.08); }
.logo-shell img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; }
.logo-accent { position: absolute; inset: 18px; border-radius: 30px; border: 1px solid rgba(17,189,181,.14); }
.float-tag {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 11px 14px;
  border-radius: 999px; color: var(--navy-deep); background: rgba(255,255,255,.97); border: 1px solid rgba(7,59,130,.11);
  box-shadow: 0 14px 34px rgba(4,39,93,.13); font-size: .88rem; font-weight: 900; animation: float 4.7s ease-in-out infinite;
}
.float-tag span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--navy), var(--teal)); font-size: .76rem; }
.tag-one { top: 54px; left: -28px; }
.tag-two { right: -38px; top: 206px; animation-delay: .8s; }
.tag-three { left: 10px; bottom: 46px; animation-delay: 1.6s; }
.hero-orb { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.orb-a { width: 340px; height: 340px; left: -190px; bottom: 32px; background: rgba(17,189,181,.06); }
.orb-b { width: 290px; height: 290px; right: -150px; top: 110px; border: 48px solid rgba(232,18,26,.035); }

.values { background: var(--navy-deep); color: #fff; }
.values-grid { min-height: 112px; display: grid; grid-template-columns: repeat(4,1fr); align-items: stretch; }
.values-grid div { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-right: 1px solid rgba(255,255,255,.14); }
.values-grid div:last-child { border-right: 0; }
.values-grid span { color: #7ee1dc; font-size: .75rem; font-weight: 900; }
.values-grid strong { font-size: .94rem; }

.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading h2, .consultas h2, .schedule h2, .contact h2 { margin: 9px 0 12px; color: var(--navy-deep); font-size: clamp(2rem,4vw,3.45rem); line-height: 1.04; letter-spacing: -.04em; }
.section-heading > p:last-child, .schedule p, .contact p { margin: 0; color: var(--muted); font-size: 1.03rem; }

.category-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.category-card {
  min-height: 235px; padding: 30px; position: relative; overflow: hidden; border-radius: 24px;
  background: linear-gradient(180deg,#fff,#f7fbff); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.category-card::after { content: ""; position: absolute; right: -55px; bottom: -65px; width: 150px; height: 150px; border-radius: 50%; background: rgba(17,189,181,.08); }
.category-card:hover { transform: translateY(-7px); border-color: rgba(17,189,181,.45); box-shadow: var(--shadow); }
.category-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; color: #fff; background: linear-gradient(135deg,var(--navy),var(--teal)); font-weight: 900; box-shadow: 0 12px 25px rgba(7,59,130,.18); }
.category-card h3 { margin: 24px 0 8px; color: var(--navy-deep); font-size: 1.35rem; }
.category-card p { margin: 0; color: var(--muted); }

.consultas { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg,var(--navy-deep),#08509a 58%,var(--teal-dark)); }
.consultas::before { content: ""; position: absolute; right: -150px; top: -190px; width: 430px; height: 430px; border: 62px solid rgba(255,255,255,.05); border-radius: 50%; }
.consultas-grid { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; }
.consultas h2 { color: #fff; }
.consultas-intro .btn { margin-top: 18px; }
.consultas-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.consulta-card { min-height: 220px; padding: 28px; border-radius: 26px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.10); backdrop-filter: blur(8px); transition: transform .25s ease, background .25s ease; }
.consulta-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.15); }
.consulta-mark { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: #fff; color: var(--navy); font-size: 1.2rem; font-weight: 900; }
.consulta-card p { margin: 54px 0 3px; color: #b9fffb; font-size: .84rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.consulta-card h3 { margin: 0; font-size: 2rem; line-height: 1; }

.services { background: var(--surface); }
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.service-card { min-height: 168px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(17,189,181,.48); box-shadow: 0 16px 36px rgba(4,39,93,.1); }
.service-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: var(--teal-dark); background: var(--teal-soft); font-weight: 900; font-size: 1.1rem; }
.service-card h3 { margin: 20px 0 0; color: var(--navy-deep); font-size: 1.02rem; line-height: 1.25; }
.more-services { margin-top: 24px; padding: 20px 24px; border-radius: 18px; color: #fff; background: linear-gradient(90deg,var(--navy),var(--teal)); text-align: center; font-weight: 900; box-shadow: 0 16px 34px rgba(7,59,130,.17); }

.schedule { background: #fff; }
.schedule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.schedule-card, .location-card { padding: 34px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg,#fff,#f8fbff); box-shadow: 0 16px 45px rgba(4,39,93,.07); }
.time-row { margin-top: 28px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 13px; align-items: center; }
.time-row strong { padding: 18px 16px; border-radius: 18px; color: #fff; background: var(--navy); text-align: center; font-size: clamp(1.45rem,3vw,2.25rem); }
.time-row strong:last-child { background: var(--teal); }
.time-row span { color: var(--muted); font-weight: 900; }
.location-card { display: flex; align-items: flex-start; gap: 22px; }
.pin { flex: 0 0 auto; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; color: #fff; background: linear-gradient(135deg,var(--navy),var(--teal)); font-size: 1.55rem; }
.location-card h2 { font-size: clamp(1.8rem,3.2vw,2.8rem); }

.contact { padding-top: 0; }
.contact-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: center; padding: 46px; border-radius: 34px; color: #fff; background: linear-gradient(135deg,var(--navy-deep),var(--navy) 56%,var(--teal-dark)); box-shadow: var(--shadow); }
.contact-panel::after { content: "Fg"; position: absolute; right: -14px; bottom: -78px; font: italic 13rem Georgia,serif; color: rgba(255,255,255,.045); pointer-events: none; }
.contact h2 { color: #fff; }
.contact p { color: rgba(255,255,255,.77); }
.contact-grid { display: grid; gap: 13px; }
.contact-item { position: relative; z-index: 1; padding: 17px 19px; border-radius: 18px; border: 1px solid rgba(255,255,255,.19); background: rgba(255,255,255,.10); }
a.contact-item { transition: transform .2s ease, background .2s ease; }
a.contact-item:hover { transform: translateX(4px); background: rgba(255,255,255,.16); }
.contact-item small, .contact-item strong { display: block; }
.contact-item small { color: #b9fffb; font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.contact-item strong { margin-top: 5px; font-size: 1.08rem; line-height: 1.4; }

.site-footer { background: #f1f7fc; border-top: 1px solid var(--line); }
.footer-grid { padding: 44px 0; display: grid; grid-template-columns: 1.2fr 1fr 1fr .75fr; gap: 26px; align-items: center; }
.footer-logo { width: 190px; height: 92px; object-fit: contain; padding: 8px; border-radius: 14px; background: #fff; }
.footer-grid strong { color: var(--navy-deep); }
.footer-grid p { margin: 6px 0 0; color: var(--muted); font-size: .93rem; }
.footer-bottom { padding: 15px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

.floating-call { position: fixed; right: 18px; bottom: 18px; z-index: 900; min-height: 52px; display: inline-flex; align-items: center; gap: 9px; padding: 0 18px; border-radius: 999px; color: #fff; background: linear-gradient(135deg,var(--navy),var(--teal)); font-weight: 900; box-shadow: 0 15px 36px rgba(4,39,93,.27); transition: transform .22s ease; }
.floating-call:hover { transform: translateY(-3px); }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(232,18,26,0); } 100% { box-shadow: 0 0 0 0 rgba(232,18,26,0); } }

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

@media (max-width: 1050px) {
  .main-nav { gap: 18px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { min-height: auto; }
  .hero-visual { min-height: 500px; }
  .logo-shell { width: 460px; }
  .tag-one { left: 4%; }
  .tag-two { right: 4%; }
  .services-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 3; }
}

@media (max-width: 840px) {
  .section-pad { padding: 74px 0; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; top: 88px; left: 20px; right: 20px; display: grid; gap: 4px; padding: 16px;
    border-radius: 18px; background: rgba(255,255,255,.99); border: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-14px); opacity: 0; pointer-events: none; transition: transform .23s ease, opacity .23s ease;
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 13px 14px; border-radius: 12px; }
  .main-nav a:hover { background: var(--navy-soft); }
  .main-nav a::after { display: none; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .values-grid div:nth-child(2) { border-right: 0; }
  .category-grid { grid-template-columns: 1fr; }
  .consultas-grid { grid-template-columns: 1fr; gap: 38px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .schedule-grid { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr; padding: 36px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 620px) {
  :root { --container: min(100% - 28px, 1180px); }
  .header-inner { min-height: 76px; }
  .brand { width: 150px; }
  .brand img { height: 58px; }
  .main-nav { top: 76px; left: 14px; right: 14px; }
  .section-pad { padding: 60px 0; }
  .hero { padding-top: 44px; }
  .hero h1 { font-size: clamp(3rem,15vw,4.5rem); }
  .hero-actions { display: grid; }
  .btn { width: 100%; }
  .hero-info-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 390px; }
  .logo-shell { width: min(100%,360px); padding: 22px; border-radius: 28px; }
  .float-tag { font-size: .72rem; padding: 8px 10px; }
  .float-tag span { width: 27px; height: 27px; }
  .tag-one { top: 18px; left: -2px; }
  .tag-two { top: 154px; right: -2px; }
  .tag-three { left: 14px; bottom: 18px; }
  .values-grid { grid-template-columns: 1fr; }
  .values-grid div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .values-grid div:last-child { border-bottom: 0; }
  .consultas-cards { grid-template-columns: 1fr; }
  .consulta-card { min-height: 170px; }
  .consulta-card p { margin-top: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 138px; }
  .time-row { grid-template-columns: 1fr; }
  .time-row span { text-align: center; }
  .location-card { flex-direction: column; padding: 28px; }
  .contact-panel { border-radius: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .floating-call { width: 54px; padding: 0; justify-content: center; }
  .floating-call span:last-child { display: none; }
}
