:root {
  --ink: #102421;
  --muted: #5b6762;
  --paper: #fbf8ef;
  --paper-2: #f0eadc;
  --line: #d9cfbd;
  --emerald: #116354;
  --emerald-2: #0d3b35;
  --gold: #b18b42;
  --white: #ffffff;
  --danger: #9b2f2f;
  --shadow: 0 24px 70px rgba(16, 36, 33, .14);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Aptos", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 248, 239, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16, 36, 33, .12);
}
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: Georgia, serif; font-weight: 700; }
.brand img { width: 214px; height: auto; }
.navlinks { display: flex; gap: 18px; align-items: center; font-size: 14px; color: var(--muted); }
.navlinks a { text-decoration: none; }
.navlinks a:hover { color: var(--emerald); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 16px;
  border-radius: 6px; border: 1px solid var(--ink);
  text-decoration: none; font-weight: 700; cursor: pointer; font-size: 14px;
  transition: transform .18s ease, opacity .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn[disabled] { opacity: .72; cursor: wait; transform: none; }
.btn.primary { color: var(--white); background: var(--emerald-2); border-color: var(--emerald-2); }
.btn.light { color: var(--ink); background: var(--paper); }
.hero { position: relative; overflow: hidden; background: #071a18; color: var(--white); }
.hero-media { position: absolute; inset: 0; opacity: .48; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,26,24,.94), rgba(7,26,24,.72) 44%, rgba(7,26,24,.18));
}
.hero-inner { position: relative; z-index: 1; min-height: 620px; display: grid; align-items: center; padding: 80px 0 64px; }
.eyebrow { color: var(--gold); text-transform: uppercase; font-weight: 800; font-size: 12px; letter-spacing: .12em; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.05; margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(38px, 4.9vw, 64px); max-width: 900px; }
h2 { font-size: clamp(30px, 3.4vw, 46px); }
h3 { font-size: 22px; }
.hero p { max-width: 720px; font-size: 20px; color: #efe8d8; }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.metric { background: var(--paper); padding: 28px; min-height: 130px; }
.metric strong { display: block; font-family: Georgia, serif; font-size: 34px; color: var(--emerald); }
section { padding: 66px 0; }
.page-intro { padding: 62px 0 48px; }
.page-intro h1 { max-width: 940px; font-size: clamp(38px, 4.6vw, 60px); }
.page-intro p { max-width: 980px; color: var(--muted); font-size: 18px; }
.section-head { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 34px; }
.section-head p { max-width: 620px; color: var(--muted); margin: 0; }
.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: rgba(255,255,255,.58);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(16,36,33,.06);
}
.card.featured { background: var(--emerald-2); color: var(--white); border-color: var(--emerald-2); }
.card p, .legal p, .article p { color: var(--muted); }
.card.featured p { color: #dce9e5; }
.card.featured .service-list { color: #dce9e5; }
.card.featured .tag { color: #dce9e5; border-color: rgba(255,255,255,.35); }
.band .card { background: #f8f3e7; color: var(--ink); }
.band .card p, .band .card .service-list { color: var(--muted); }
.tag { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.service-list { padding-left: 18px; color: var(--muted); }
.band { background: var(--ink); color: var(--white); }
.band p { color: #d8e2df; }
.proof { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.proof-list { display: grid; gap: 12px; }
.proof-item { border-left: 3px solid var(--gold); padding: 10px 0 10px 18px; }
.form-section { background: var(--paper-2); }
.contact-wrap { display: grid; grid-template-columns: .82fr 1fr; gap: 28px; align-items: start; }
.contact-copy h2 { max-width: 560px; font-size: clamp(32px, 3.7vw, 50px); }
.contact-copy p { font-size: 17px; }
.form-card { max-width: 760px; justify-self: end; width: 100%; }
.diagnosis-hero {
  padding: 56px 0 36px;
  background:
    linear-gradient(90deg, rgba(13,59,53,.08), rgba(177,139,66,.08)),
    var(--paper);
}
.diagnosis-intro {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 34px;
  align-items: end;
}
.diagnosis-intro h1 {
  font-size: clamp(34px, 4vw, 52px);
  max-width: 780px;
}
.diagnosis-intro p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}
.diagnosis-note {
  background: rgba(255,255,255,.68);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}
.diagnosis-note strong { display: block; color: var(--emerald-2); margin-bottom: 6px; }
.diagnosis-note p { margin: 0; color: var(--muted); font-size: 14px; }
.diagnosis-section { background: var(--paper-2); }
.diagnosis-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.diagnosis-copy {
  position: sticky;
  top: 92px;
}
.diagnosis-copy h2 {
  font-size: clamp(28px, 2.6vw, 38px);
  max-width: 330px;
}
.diagnosis-copy p { color: var(--muted); font-size: 15px; }
.mini-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.mini-list span {
  border-left: 3px solid var(--gold);
  background: rgba(255,255,255,.5);
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 800;
}
.diagnosis-card {
  padding: 24px;
  background: rgba(255,255,255,.72);
}
.diagnosis-form { gap: 16px; }
.wizard-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf7;
}
.wizard-head strong {
  display: block;
  color: var(--emerald-2);
  font-size: 16px;
}
.wizard-kicker {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}
.wizard-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(13,59,53,.13);
}
.wizard-track span {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--emerald-2), var(--gold));
  transition: width .25s ease;
}
.diagnosis-step[hidden] { display: none; }
.diagnosis-form fieldset {
  border: 1px solid rgba(217,207,189,.9);
  border-radius: 8px;
  padding: 16px;
  margin: 0;
  background: rgba(251,248,239,.58);
  animation: step-in .22s ease;
}
.diagnosis-form legend {
  padding: 0 8px;
  color: var(--emerald-2);
  font-weight: 900;
  font-size: 15px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}
.small-textarea { min-height: 76px; }
.field-title {
  display: block;
  margin: 14px 0 8px;
  font-size: 14px;
  font-weight: 800;
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.option-check {
  min-height: 44px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffdf7;
  font-size: 13px;
  line-height: 1.35;
}
.option-check input { margin-top: 0; }
.consent-check {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf7;
}
.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 2px;
}
.wizard-actions .btn { min-width: 132px; }
@keyframes step-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
form { display: grid; gap: 12px; }
label { font-weight: 700; font-size: 14px; }
input, select, textarea {
  width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--white); padding: 10px 12px; color: var(--ink);
  min-height: 44px;
}
textarea { min-height: 118px; resize: vertical; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 13px; color: var(--muted); }
.check input { margin: 3px 0 0; width: 18px; height: 18px; }
.hp { position: absolute; left: -9999px; }
.status { border: 1px solid #b8d8cc; background: #e9f7f1; color: #134e3f; padding: 14px; border-radius: 6px; }
.status.warning { border-color: #e3ca93; background: #fff8e6; color: #6f4f13; }
.errors { border: 1px solid #ddb6b6; background: #fff0f0; color: var(--danger); padding: 14px; border-radius: 6px; }
.submit-feedback {
  display: none;
  align-items: center;
  gap: 10px;
  color: var(--emerald-2);
  font-weight: 700;
  font-size: 14px;
}
.submit-feedback::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid rgba(13,59,53,.28);
  border-top-color: var(--emerald-2);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
form.is-sending .submit-feedback { display: inline-flex; }
@keyframes spin { to { transform: rotate(360deg); } }
.footer { background: #071a18; color: #dce9e5; padding: 50px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.footer a { color: #f3dfae; }
.whatsapp {
  position: fixed; right: 18px; bottom: 18px; z-index: 30;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #072015; display: grid; place-items: center;
  text-decoration: none; font-weight: 900;
  box-shadow: 0 16px 38px rgba(7, 32, 21, .28);
  animation: whatsapp-float 4.8s ease-in-out infinite;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp::before,
.whatsapp::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(37, 211, 102, .45);
  opacity: 0;
  animation: whatsapp-ring 4.8s ease-out infinite;
  pointer-events: none;
}
.whatsapp::after {
  animation-delay: 1.2s;
}
.whatsapp:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 20px 46px rgba(7, 32, 21, .34);
}
.whatsapp svg { width: 34px; height: 34px; color: #fff; }
@keyframes whatsapp-float {
  0%, 100% { transform: translateY(0) scale(1); }
  42% { transform: translateY(-4px) scale(1.02); }
  54% { transform: translateY(0) scale(1); }
}
@keyframes whatsapp-ring {
  0% { opacity: 0; transform: scale(.82); }
  18% { opacity: .7; }
  46%, 100% { opacity: 0; transform: scale(1.42); }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp,
  .whatsapp::before,
  .whatsapp::after {
    animation: none;
  }
}
.cookie {
  position: fixed; left: 18px; bottom: 18px; z-index: 29; width: min(420px, calc(100% - 36px));
  background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 18px; box-shadow: var(--shadow);
}
.legal, .article { max-width: 880px; }
.legal h2, .article h2 { font-size: 30px; margin-top: 34px; }
.legal table { width: 100%; border-collapse: collapse; background: var(--white); }
.legal td, .legal th { border: 1px solid var(--line); padding: 12px; text-align: left; }
.breadcrumbs { padding: 18px 0; font-size: 13px; color: var(--muted); }
.owner-photo-pending {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background:
    linear-gradient(135deg, rgba(17,99,84,.08), rgba(177,139,66,.14)),
    #fffaf0;
}
.about-hero { padding: 50px 0 42px; background: linear-gradient(180deg, #fbf8ef 0%, #f4efe4 100%); }
.about-profile {
  display: grid;
  grid-template-columns: 300px minmax(0, 720px);
  gap: 30px;
  align-items: start;
  max-width: 1080px;
  justify-content: center;
}
.about-photo-panel {
  width: 300px;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(16, 36, 33, .11);
  background: #ffffff;
}
.about-photo-panel img {
  width: 100%;
  height: 375px;
  object-fit: cover;
  object-position: center 18%;
}
.about-bio { padding: 0; }
.about-bio h1 { font-size: clamp(32px, 3.4vw, 42px); color: var(--emerald-2); }
.about-bio .role {
  margin: 6px 0 12px;
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 700;
  max-width: 680px;
}
.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px 0 8px;
  margin: 0 0 18px;
  border: 1px solid rgba(10, 102, 194, .28);
  border-radius: 999px;
  background: rgba(10, 102, 194, .08);
  color: #0a66c2;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.linkedin-link span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: #0a66c2;
  color: #fff;
  font-weight: 900;
  font-family: Georgia, serif;
  line-height: 1;
}
.linkedin-link:hover {
  transform: translateY(-1px);
  background: rgba(10, 102, 194, .13);
  border-color: rgba(10, 102, 194, .42);
}
.about-bio .lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 720px;
}
.about-bio p { color: var(--muted); font-size: 15px; max-width: 720px; }
.about-focus {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 18px;
}
.about-focus div {
  background: rgba(255,255,255,.68);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.about-focus strong { display: block; color: var(--emerald-2); margin-bottom: 6px; }
.about-focus span { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; }
.about-credentials { background: var(--ink); color: var(--white); padding: 48px 0; }
.credentials-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 30px;
  align-items: start;
  max-width: 1080px;
  justify-content: center;
}
.credentials-grid p { color: #d8e2df; }
.credential-list { display: grid; gap: 12px; }
.credential-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  align-items: start;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  padding: 15px 16px;
}
.credential-item > span {
  color: #f3dfae;
  font-weight: 900;
  font-size: 18px;
}
.credential-item h3 { font-size: 19px; color: var(--white); }
.credential-item p { margin: 6px 0 0; color: #d8e2df; }

@media (max-width: 880px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 12px 0; }
  .navlinks { flex-wrap: wrap; }
  .hero-inner { min-height: 540px; }
  .metrics, .grid.three, .grid.two, .proof, .contact-wrap, .footer-grid, .diagnosis-intro, .diagnosis-layout, .form-grid, .check-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  section { padding: 52px 0; }
  .page-intro { padding: 48px 0 36px; }
  .form-card { justify-self: stretch; }
  .diagnosis-copy { position: static; }
  .diagnosis-card { padding: 18px; }
  .about-profile, .credentials-grid { grid-template-columns: 1fr; }
  .about-focus { grid-template-columns: 1fr; }
  .about-photo-panel { width: min(300px, 100%); }
  .about-photo-panel img { height: auto; aspect-ratio: 4 / 5; }
  .credential-item { grid-template-columns: 70px 1fr; }
}
