/* ===== tokens ===== */
:root {
  --warm-porcelain: #F4EFE8;
  --warm-clinic:    #ECE3D7;
  --soft-paper:     #FFFDF9;
  --clinical-ink:   #1F1B1B;
  --muted-ink:      #5A4F4C;
  --tertiary-ink:   #6F625C;
  --deep-plum:      #3E1F2B;
  --night-plum:     #2A141C;
  --black-plum:     #1B0D12;
  --clay:           #A8664F;
  --clay-deep:      #8E5240;
  --sage:           #7C8974;
  --sage-pale:      #A7B29F;
  --warm-border:    #E0D3C6;
  --warm-border-2:  #D2C2B2;
  --wa:             #1F8A4C;
  --wa-d:           #176B3B;
  --on-dark:        #FFFDF9;
  --on-dark-2:      #EADFD4;
  --on-dark-muted:  #CBBBAE;
  --dark-line:      rgba(255,255,255,0.16);
  --white:          var(--soft-paper);
  --off-white:      var(--warm-clinic);
  --black:          var(--clinical-ink);
  --gray-light:     var(--warm-border);
  --gray-mid:       var(--tertiary-ink);
  --gray-text:      var(--muted-ink);
  --accent:         var(--clay);
  --accent-d:       var(--clay-deep);
  --mw:         1200px;
  --px:         clamp(1.25rem, 4vw, 3.5rem);
  --ease:       cubic-bezier(.16,1,.3,1);
  --display:    'Fraunces', Georgia, serif;
  --body:       'IBM Plex Sans', system-ui, -apple-system, sans-serif;
}

/* ===== reset ===== */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; border-radius: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
html,body { overflow-x: hidden; }
body {
  font-family: var(--body);
  background: var(--warm-porcelain);
  color: var(--black);
  line-height: 1.75;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 4px; }

/* ===== layout ===== */
.wrap { max-width: var(--mw); margin-inline: auto; padding-inline: var(--px); }
h1,h2,h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.01em; }

/* ===== eyebrow - brand motif ===== */
.eyebrow {
  display: inline-flex; align-items: center;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #1F1B1B; padding: 0.38rem 0.62rem; line-height: 1;
  background: color-mix(in srgb, var(--clay) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--clay) 35%, transparent);
}
.eyebrow-inv {
  display: inline-flex; align-items: center;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--on-dark); padding: 0.38rem 0.62rem; line-height: 1;
  background: rgba(168,102,79,0.22);
  border: 1px solid rgba(255,253,249,0.24);
}

/* ===== buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 52px; font-size: 1rem; font-weight: 600; border: none;
  transition: background 0.18s, color 0.18s; line-height: 1; cursor: pointer;
  font-family: var(--body); white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-primary { background: var(--deep-plum); color: var(--soft-paper); padding: 0.95rem 1.7rem; border-radius: 6px; }
.btn-primary:hover { background: var(--night-plum); }
.btn-primary:active { transform: scale(0.97); }
.btn-wa { background: var(--wa-d); color: var(--soft-paper); padding: 0.95rem 1.75rem; border-radius: 6px; }
.btn-wa:hover { background: var(--wa-d); }
.btn-wa:active { transform: scale(0.97); }
.btn-ghost {
  background: none; color: var(--deep-plum); padding: 0.85rem 0;
  border-bottom: 1.5px solid transparent; font-weight: 500;
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1rem; min-height: 44px;
  transition: color 0.18s, border-color 0.2s var(--ease);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn-ghost:hover svg { transform: translateX(3px); }
.btn-ghost-inv {
  background: none; color: var(--on-dark); padding: 0.85rem 0;
  border-bottom: 1.5px solid var(--dark-line); font-weight: 500;
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1rem; min-height: 44px;
}
.btn-ghost-inv:hover { border-color: var(--white); }
.btn-ghost-inv svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.btn-ghost-inv:hover svg { transform: translateX(3px); }

/* ===== nav ===== */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,239,232,0.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-light);
}
.nav {
  max-width: var(--mw); margin-inline: auto; padding-inline: var(--px);
  min-height: 78px; display: flex; align-items: center; justify-content: flex-start; gap: clamp(1rem, 2vw, 2rem);
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { display: block; width: clamp(140px, 14vw, 182px); height: auto; }
.nav-links { display: flex; gap: 1.65rem; list-style: none; margin-left: auto; }
.nav-links a {
  font-size: 1rem; font-weight: 600; letter-spacing: 0.01em;
  color: var(--gray-text); transition: color 0.18s;
}
.nav-links a:hover { color: var(--accent); }
.nav-right { display: flex; align-items: center; flex-shrink: 0; gap: 0.85rem; }
.nav-cta { min-height: 44px; padding: 0.7rem 1.05rem; font-size: 0.95rem; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: none; border: none; color: var(--black); padding: 0;
}
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-right { margin-left: auto; }
}
@media (max-width: 520px) {
  .nav-cta { display: none; }
}

/* ===== drawer ===== */
.drawer { display: none; }
@media (max-width: 940px) {
  .drawer {
    display: block; position: fixed; top: 72px; left: 0; right: 0; z-index: 99;
    background: var(--soft-paper); border-bottom: 1px solid var(--gray-light);
    padding: 1rem var(--px) 1.5rem;
    transform: translateY(-110%); transition: transform 0.3s var(--ease);
    box-shadow: 0 18px 40px rgba(42,20,28,.12);
  }
  .drawer.open { transform: translateY(0); }
  .drawer ul { list-style: none; }
  .drawer a.dl {
    display: block; padding: 1rem 0; font-size: 1.08rem; font-weight: 500;
    color: var(--gray-text); border-bottom: 1px solid var(--gray-light); transition: color 0.18s;
  }
  .drawer a.dl:hover { color: var(--black); }
  .drawer .btn-wa { display: flex; width: 100%; justify-content: center; margin-top: 1rem; }
}

/* ===== hero ===== */
.hero { background: linear-gradient(135deg, var(--warm-porcelain) 0%, var(--soft-paper) 54%, var(--warm-clinic) 100%); border-bottom: 1px solid var(--gray-light); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); min-height: min(690px, calc(82vh - 78px)); max-height: 760px; overflow: hidden; }
.hero-content {
  display: flex; flex-direction: column;
  padding-block: clamp(3rem, 5vw, 4.75rem);
  padding-left: var(--px); padding-right: clamp(1.5rem, 3.5vw, 4rem);
  min-width: 0; position: relative; z-index: 2;
}
.hero-stack { margin-block: auto; }
.hero-name-kicker { font-size: clamp(0.86rem, 1vw, 0.98rem); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.55rem; }
.hero-h1 { font-size: clamp(2.45rem, 4.15vw, 4rem); font-weight: 500; color: var(--black); margin: 0 0 0.7rem; line-height: 1.02; letter-spacing: 0; max-width: 18ch; }
.hero-h1 span { display: block; white-space: nowrap; }
.hero-h2 { font-family: var(--body); font-size: clamp(1.18rem, 1.55vw, 1.35rem); font-weight: 600; color: var(--deep-plum); margin-bottom: 1.05rem; letter-spacing: 0; line-height: 1.45; }
.hero-sub { font-size: clamp(1.02rem, 1.12vw, 1.12rem); color: var(--gray-text); line-height: 1.75; font-weight: 400; max-width: 46ch; margin-bottom: 1.25rem; }
.hero-trust {
  display: flex; flex-wrap: nowrap; gap: 0.48rem; margin-bottom: 0.7rem;
  padding: 0; border: 0; background: transparent;
  width: max-content; max-width: 100%;
}
.hero-trust-item { display: flex; align-items: center; gap: 0.42rem; font-size: clamp(0.88rem, 0.95vw, 0.96rem); font-weight: 500; color: var(--gray-text); line-height: 1.25; min-width: 0; white-space: nowrap; padding: 0.52rem 0.62rem; border: 1px solid var(--gray-light); background: rgba(255,253,249,0.58); border-radius: 8px; }
.hero-trust-item svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; stroke-width: 2.5; }
.hero-trust-item strong { color: var(--black); font-weight: 600; }
.hero-acts { display: flex; flex-wrap: wrap; gap: 0.28rem 0.75rem; align-items: center; justify-content: center; max-width: 46ch; }
.hero-acts .btn-wa { margin-top: 1.2rem; padding: 1.05rem 2.15rem; }
.hero-acts .btn-ghost { flex-basis: 100%; justify-content: center; padding-block: 0.35rem; min-height: 36px; }
.hero-acts .btn-ghost:hover { border-color: transparent; }
.hero-portrait { position: relative; overflow: hidden; background: var(--gray-light); min-width: 0; z-index: 1; }
.hero-portrait::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 64%, rgba(62,31,43,.20));
  pointer-events: none;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; max-height: none; }
  .hero-portrait { order: 1; height: 54vw; max-height: 360px; min-height: 220px; }
  .hero-content { order: 2; padding-right: var(--px); padding-block: 2.75rem 3.25rem; }
  .hero-h1 { font-size: clamp(2.2rem, 8.5vw, 3.25rem); max-width: 18ch; }
  .hero-trust { display: grid; grid-template-columns: 1fr; width: 100%; }
  .hero-trust-item { white-space: normal; }
}
@media (max-width: 520px) {
  .hero-h1 span { white-space: normal; }
  .hero-acts { flex-direction: column; align-items: stretch; }
  .hero-acts .btn-wa { text-align: center; justify-content: center; }
}

/* ===== trust bar ===== */
.trust { background: var(--deep-plum); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.trust-inner {
  max-width: var(--mw); margin-inline: auto; padding: 1.65rem var(--px);
  display: flex; flex-wrap: nowrap; gap: 0 1.75rem; align-items: center; justify-content: center;
  min-width: max-content;
}
.trust-item { display: flex; align-items: center; gap: 0.65rem; font-size: 1rem; font-weight: 500; color: var(--on-dark-2); white-space: nowrap; }
.trust-item svg { width: 22px; height: 22px; color: var(--sage-pale); flex-shrink: 0; stroke-width: 2.4; }
.trust-item strong { color: var(--white); font-weight: 600; }
.trust-sep { width: 1px; height: 22px; background: var(--dark-line); flex-shrink: 0; }

/* ===== sections ===== */
.sec { padding-block: clamp(5rem, 8vw, 7.75rem); }
.sec-white { background: var(--warm-porcelain); }
.sec-paper { background: var(--soft-paper); }
.sec-off { background: var(--warm-clinic); }
.sec-dark { background: var(--night-plum); color: var(--white); }
.sec-head { max-width: 64ch; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.sec-head-center { max-width: 64ch; margin-inline: auto; text-align: center; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.sec-head-center .eyebrow { justify-content: center; }
.sec-h { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 500; color: var(--black); margin-top: 0.75rem; }
.sec-dark .sec-h { color: var(--on-dark); }
.sec-lead { font-size: 1.08rem; color: var(--gray-text); line-height: 1.85; margin-top: 0.85rem; font-weight: 400; max-width: 58ch; }
.sec-dark .sec-lead { color: var(--on-dark-2); }

/* ===== service clusters ===== */
.service-clusters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-cluster {
  background: var(--soft-paper); border: 1px solid var(--warm-border); border-radius: 10px;
  padding: clamp(1.65rem, 2.3vw, 2.15rem); display: flex; flex-direction: column; min-height: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.service-cluster:hover { border-color: var(--warm-border-2); box-shadow: 0 14px 36px rgba(62,31,43,.08); transform: translateY(-2px); }
.cluster-label { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-d); margin-bottom: 0.65rem; }
.service-cluster h3 { font-size: clamp(1.35rem, 1.7vw, 1.65rem); font-weight: 500; color: var(--black); margin-bottom: 0.8rem; line-height: 1.15; }
.cluster-intro { font-size: 1.02rem; color: var(--gray-text); line-height: 1.75; margin-bottom: 1.25rem; }
.cluster-list { list-style: none; display: grid; gap: 1rem; margin-bottom: 1.55rem; }
.cluster-list li { border-top: 1px solid var(--warm-border); padding-top: 1rem; }
.cluster-list strong { display: block; color: var(--black); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.18rem; line-height: 1.35; }
.cluster-list span { display: block; color: var(--gray-text); font-size: 1rem; line-height: 1.65; }
.service-cluster .btn-ghost { margin-top: auto; align-self: flex-start; }
@media (max-width: 960px) {
  .service-clusters { grid-template-columns: 1fr; }
}

/* ===== alto risco ===== */
.ar-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.flagship { background: radial-gradient(circle at 88% 0%, rgba(167,178,159,.18), transparent 30%), var(--night-plum); }
.ar-display { font-size: clamp(2.35rem, 3.5vw, 3.6rem); font-weight: 500; color: var(--on-dark); line-height: 1.08; letter-spacing: -0.01em; margin: 1rem 0 1.25rem; max-width: 18ch; }
.ar-lead { font-size: 1.12rem; color: var(--on-dark-2); line-height: 1.85; font-weight: 400; margin-bottom: 1.75rem; max-width: 58ch; }
.ar-note { font-size: 0.95rem; color: var(--on-dark-2); line-height: 1.75; border-top: 1px solid var(--dark-line); padding-top: 1.25rem; margin-top: 1.5rem; }
.ar-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 1.7rem 0 1.6rem; }
.ar-proof span { border: 1px solid var(--dark-line); border-radius: 10px; padding: 0.9rem 1rem; color: var(--on-dark); font-size: 0.98rem; line-height: 1.45; background: rgba(255,253,249,0.045); }
.ar-cond-label { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 0.85rem; }
.ar-cond-grid { border: 1px solid var(--dark-line); border-radius: 10px; overflow: hidden; background: rgba(255,253,249,0.045); }
.ar-cond { font-size: 1rem; color: var(--on-dark); line-height: 1.45; padding: 0.92rem 1.05rem; border-bottom: 1px solid var(--dark-line); display: flex; align-items: center; gap: 0.65rem; }
.ar-cond:last-child { border-bottom: none; }
.ar-cond::before { content: ''; width: 4px; height: 4px; background: var(--sage-pale); flex-shrink: 0; }
@media (max-width: 760px) {
  .ar-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ar-proof { grid-template-columns: 1fr; }
}

/* ===== about ===== */
.about-split { overflow: hidden; background: var(--warm-porcelain); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 0;
  align-items: stretch;
  min-height: min(690px, calc(82vh - 78px));
  max-height: 860px;
}
.about-portrait { overflow: hidden; background: var(--gray-light); position: relative; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.about-text-wrap {
  align-self: center;
  padding-block: clamp(3rem, 6vw, 5rem);
  padding-left: clamp(2rem, 4vw, 4rem);
  padding-right: var(--px);
}
.about-text p { font-size: 1.08rem; color: var(--gray-text); line-height: 1.85; margin-bottom: 1.1rem; font-weight: 400; }
.about-text p strong { color: var(--black); font-weight: 600; }
.about-cred { margin-top: 2rem; border-top: 1px solid var(--gray-light); }
.cred-row { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--gray-light); align-items: baseline; }
.cred-k { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-mid); }
.cred-v { font-size: 1rem; color: var(--black); line-height: 1.6; }
.cred-v strong { font-weight: 600; }
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; min-height: auto; max-height: none; }
  .about-portrait { aspect-ratio: 4/3; max-height: 400px; }
  .about-text-wrap { padding: clamp(2.5rem, 6vw, 4rem) var(--px); }
}

/* ===== hospital ===== */
.hosp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.hosp-block { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.25rem 0; border-bottom: 1px solid var(--gray-light); }
.hosp-block:first-child { border-top: 1px solid var(--gray-light); }
.hosp-ic { width: 50px; height: 50px; background: color-mix(in srgb, var(--sage) 10%, var(--soft-paper)); border: 1px solid var(--gray-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sec-off .hosp-ic { background: var(--off-white); }
.hosp-ic svg { width: 24px; height: 24px; color: var(--sage); stroke-width: 2.4; }
.hosp-k { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-mid); margin-bottom: 0.25rem; }
.hosp-v { font-size: 1rem; color: var(--black); line-height: 1.7; }
.hosp-v strong { font-weight: 600; }
@media (max-width: 700px) { .hosp-grid { grid-template-columns: 1fr; } }

/* ===== urgency ===== */
.urg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.75rem); margin-top: 2.5rem; }
.urg-panel { border: 1px solid var(--gray-light); border-radius: 10px; padding: 2rem; background: var(--soft-paper); }
.urg-panel.urg-dark { background: var(--night-plum); border-color: var(--night-plum); }
.urg-panel h3 { font-family: var(--body); font-size: 1.08rem; font-weight: 700; color: var(--black); margin-bottom: 1.1rem; }
.urg-panel.urg-dark h3 { color: var(--on-dark); }
.urg-list { list-style: none; display: grid; gap: 0.5rem; }
.urg-list li { display: flex; gap: 0.65rem; font-size: 1rem; color: var(--gray-text); line-height: 1.6; }
.urg-panel.urg-dark .urg-list li { color: var(--on-dark-2); }
.urg-list li::before { content: ''; width: 4px; height: 4px; background: var(--accent); flex-shrink: 0; margin-top: 0.6em; }
.urg-note { font-size: 0.95rem; color: var(--on-dark-2); line-height: 1.7; margin-top: 1.1rem; padding-top: 0.9rem; border-top: 1px solid var(--dark-line); }
@media (max-width: 600px) { .urg-grid { grid-template-columns: 1fr; } }

/* ===== contact (agendamento) ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.contact-h { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; color: var(--on-dark); line-height: 1.05; letter-spacing: -0.03em; }
.contact-sub { font-size: 1.08rem; color: var(--on-dark-2); line-height: 1.85; margin-top: 1rem; font-weight: 400; max-width: 48ch; }
.cinfo { display: flex; flex-direction: column; margin-bottom: 1.5rem; }
.ci { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--dark-line); }
.ci:first-child { border-top: 1px solid var(--dark-line); }
.ci svg { width: 24px; height: 24px; color: var(--on-dark); flex-shrink: 0; margin-top: 0.12rem; stroke-width: 2.4; }
.ci-t { font-size: 1rem; color: var(--on-dark-2); line-height: 1.65; }
.ci-t strong { display: block; color: var(--on-dark); font-weight: 600; font-size: 1.05rem; margin-bottom: 0.15rem; }
.btn-wa-full { width: 100%; justify-content: center; }
.contact-note { font-size: 0.95rem; color: var(--on-dark-2); text-align: center; margin-top: 0.85rem; line-height: 1.7; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ===== location ===== */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.loc-blocks { display: flex; flex-direction: column; margin-top: 1.75rem; }
.lb { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.25rem 0; border-bottom: 1px solid var(--gray-light); }
.lb:first-child { border-top: 1px solid var(--gray-light); }
.lb-ic { width: 50px; height: 50px; background: color-mix(in srgb, var(--sage) 10%, var(--soft-paper)); border: 1px solid var(--gray-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lb-ic svg { width: 24px; height: 24px; color: var(--sage); stroke-width: 2.4; }
.lb-k { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-mid); margin-bottom: 0.25rem; }
.lb-v { font-size: 1rem; color: var(--black); line-height: 1.7; }
.lb-v strong { font-weight: 600; }
.loc-map { overflow: hidden; border: 1px solid var(--gray-light); border-radius: 10px; background: var(--gray-light); align-self: stretch; }
.loc-map iframe { width: 100%; height: 100%; min-height: 440px; display: block; }
@media (max-width: 760px) {
  .loc-grid { grid-template-columns: 1fr; }
  .loc-map { align-self: auto; }
  .loc-map iframe { height: 300px; min-height: 0; }
}

/* ===== languages ===== */
.lang-grid { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; justify-content: center; }
.lang-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 2rem; border: 1px solid var(--gray-light);
  background: var(--soft-paper); min-width: 180px; border-radius: 10px;
  transition: border-color 0.2s;
}
.lang-card:hover { border-color: var(--accent); background: color-mix(in srgb, var(--sage) 12%, var(--soft-paper)); }
.lang-flag { font-size: 2.2rem; line-height: 1; flex-shrink: 0; }
.lang-name { font-size: 1.08rem; font-weight: 700; color: var(--black); }
.lang-note { font-size: 0.9rem; color: var(--gray-text); line-height: 1.45; margin-top: 0.1rem; }

/* ===== faq ===== */
.faq-wrap { max-width: 800px; margin-inline: auto; }
.faq-list { margin-top: 2rem; border-top: 1px solid var(--gray-light); }
details { border-bottom: 1px solid var(--gray-light); }
summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 64px; padding: 1.15rem 0; cursor: pointer;
  font-size: 1.08rem; font-weight: 600; color: var(--black); list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ''; width: 9px; height: 9px; flex-shrink: 0;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform 0.22s var(--ease);
}
details[open] summary::after { transform: rotate(-135deg); }
.faq-a { font-size: 1.05rem; color: var(--gray-text); line-height: 1.85; font-weight: 400; padding: 0 0 1.35rem; }

/* ===== final cta ===== */
.final { text-align: center; border-top: 1px solid var(--gray-light); }
.final .sec-h { max-width: 22ch; margin-inline: auto; }
.final-sub { font-size: 1.08rem; color: var(--gray-text); max-width: 48ch; margin: 0.75rem auto 2rem; font-weight: 400; line-height: 1.85; }
.final .btn-wa { margin-inline: auto; }

/* ===== trust strip (pre-footer) ===== */
.ts-strip { background: var(--deep-plum); border-top: 1px solid var(--dark-line); padding-block: clamp(3rem, 5vw, 4.5rem); }
.ts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.ts-item { display: flex; flex-direction: column; }
.ts-header { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.5rem; }
.ts-ic { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ts-ic svg { width: 24px; height: 24px; color: var(--on-dark); stroke-width: 2.4; }
.ts-title { font-size: 1.02rem; font-weight: 700; color: var(--on-dark); line-height: 1.3; }
.ts-sub { font-size: 1rem; color: var(--on-dark-2); line-height: 1.65; font-weight: 400; }
@media (max-width: 880px) { .ts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) {
  .ts-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ===== footer ===== */
footer { background: var(--black-plum); border-top: 1px solid var(--dark-line); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.15fr; gap: 2.5rem; padding-block: 3.7rem; }
.foot-col-title { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 1.25rem; }
.foot-brand-col .foot-col-title { display: none; }
.foot-logo { display: block; width: min(200px, 55vw); height: auto; margin-bottom: 1rem; }
.foot-tagline { font-size: 1rem; color: var(--on-dark-2); line-height: 1.7; font-weight: 400; max-width: 28ch; }
.foot-detail { font-size: 1rem; color: var(--on-dark-2); line-height: 1.75; }
.foot-detail strong { color: var(--on-dark); }
.foot-wa { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1rem; font-weight: 600; color: var(--on-dark); margin-bottom: 0.4rem; min-height: 44px; }
.foot-wa:hover { color: var(--wa); }
.foot-cred { margin-top: 1rem; font-size: 1rem; color: var(--on-dark-2); font-weight: 500; line-height: 1.65; }
.foot-disclaimer { font-size: 0.98rem; color: var(--on-dark-2); line-height: 1.7; }
.foot-links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.foot-links a { font-size: 1rem; color: var(--on-dark-2); transition: color 0.18s; min-height: 32px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--on-dark); }
.foot-bottom { border-top: 1px solid var(--dark-line); padding-block: 1.25rem; }
.foot-copy { font-size: 0.95rem; color: var(--on-dark-muted); line-height: 1.65; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; gap: 2rem; padding-block: 2.5rem; } }

/* ===== wa float ===== */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 998;
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--wa-d); color: var(--soft-paper); padding: 0.9rem 1.35rem;
  font-size: 1rem; font-weight: 600; font-family: var(--body);
  box-shadow: 0 4px 20px rgba(31,138,76,0.32);
  transition: transform 0.2s var(--ease), background 0.18s, opacity 0.3s;
  border: none; cursor: pointer; text-decoration: none;
  opacity: 0; pointer-events: none;
}
.wa-float.visible { opacity: 1; pointer-events: auto; }
.wa-float:hover { transform: translateY(-2px); background: var(--wa-d); }
.wa-float svg { width: 22px; height: 22px; flex-shrink: 0; }
@media (max-width: 480px) {
  .wa-float .lbl { display: none; }
  .wa-float { padding: 0; width: 56px; height: 56px; justify-content: center; border-radius: 50%; }
}

/* ===== reveal ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .service-cluster,
  .reveal-ready .about-portrait,
  .reveal-ready .about-text-wrap,
  .reveal-ready .hosp-grid > div,
  .reveal-ready details {
    opacity: 0; transform: translateY(14px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }
  .reveal-ready .in-view { opacity: 1 !important; transform: none !important; }
}

/* ===== service card stagger ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .service-cluster:nth-child(2) { transition-delay: 0.05s; }
  .reveal-ready .service-cluster:nth-child(3) { transition-delay: 0.10s; }
}

/* ===== hero entrance ===== */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(18px); filter: blur(4px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-eyebrow  { animation: hero-in 0.65s var(--ease) both; }
  .hero-h1       { animation: hero-in 0.65s var(--ease) 0.06s both; }
  .hero-h2       { animation: hero-in 0.65s var(--ease) 0.12s both; }
  .hero-sub      { animation: hero-in 0.65s var(--ease) 0.18s both; }
  .hero-trust    { animation: hero-in 0.65s var(--ease) 0.24s both; }
  .hero-acts     { animation: hero-in 0.65s var(--ease) 0.30s both; }
  .hero-portrait { animation: hero-in 0.8s  var(--ease) 0.15s both; }
}

/* ===== faq smooth open ===== */
.faq-a-wrap {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s var(--ease);
  overflow: hidden;
}
.faq-a-wrap > .faq-a { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .faq-a { transition: opacity 0.22s var(--ease), transform 0.22s var(--ease); }
}
