/* ==========================================================================
   Denton Care — Design System
   Clean clinical aesthetic · teal + white · conversion-focused
   ========================================================================== */

:root {
  /* Brand */
  --brand:       #0e6b73;
  --brand-2:     #1aa0a6;
  --brand-dark:  #0a4248;
  --brand-50:    #edf3f2;
  --brand-100:   #d6e6e4;

  /* Accents & status */
  --accent:      #c0913f;   /* warm bronze-gold — stars, accents */
  --wa:          #25d366;   /* WhatsApp */
  --ok:          #2f8f5b;

  /* Ink & surfaces (warm) */
  --ink:         #1d2a2a;
  --ink-soft:    #43514f;
  --muted:       #74807d;
  --line:        #e8e2d6;
  --bg:          #ffffff;
  --bg-soft:     #f7f3ea;   /* warm paper */
  --bg-deep:     #0b3439;

  /* Effects */
  --shadow-sm:   0 1px 2px rgba(28,42,42,.04), 0 1px 3px rgba(28,42,42,.05);
  --shadow:      0 10px 34px rgba(28,42,42,.08);
  --shadow-lg:   0 26px 60px rgba(28,42,42,.13);
  --radius:      14px;
  --radius-lg:   20px;
  --radius-pill: 999px;

  /* Layout */
  --maxw: 1160px;
  --gutter: clamp(18px, 4vw, 40px);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-head: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ----- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
ul { padding: 0; list-style: none; }

h1, h2 { font-family: var(--font-display); line-height: 1.08; color: var(--ink); font-weight: 600; letter-spacing: -.018em; }
h3, h4 { font-family: var(--font-display); line-height: 1.2; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.85rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { color: var(--ink-soft); }

:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand-100); color: var(--brand-dark); }

/* ----- Layout helpers ---------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--soft { background: var(--bg-soft); }
.section--brand { background: linear-gradient(160deg, var(--bg-deep), var(--brand-dark)); color: #eafafb; }
.section--brand h2, .section--brand h3 { color: #fff; }
.section--brand p { color: #b9dee1; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--font-head); font-weight: 600; font-size: .76rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--brand);
  background: none; border: 0; padding: 0;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .55; }
.section-head.center .eyebrow::before { display: none; }
.section--brand .eyebrow { color: #7fe7df; background: none; border: 0; }

.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: .8rem; }
.section-head p { margin-top: .9rem; font-size: 1.08rem; }
.lede { font-size: 1.15rem; color: var(--ink-soft); }

/* ----- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: .95rem 1.5rem; border-radius: var(--radius-pill);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(14,107,115,.20); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(14,107,115,.28); }
.btn--ghost { background: #fff; color: var(--brand-dark); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-dark); transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #073b1c; }
.btn--wa:hover { background: #1fc25c; color: #073b1c; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--brand-dark); }
.btn--light:hover { background: #eafafb; transform: translateY(-2px); }
.btn--lg { padding: 1.1rem 1.9rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ----- Header ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: 1.5rem; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 38px; height: 38px; flex: none; color: var(--brand); }
.brand__mark svg { width: 100%; height: 100%; }
.brand b { color: var(--brand); font-weight: 700; }
.brand__logo { height: 36px; width: auto; display: block; }
.site-footer .brand__logo { height: 32px; }

.nav__links { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.nav__links a {
  font-family: var(--font-head); font-weight: 500; font-size: .98rem; color: var(--ink-soft);
  padding: .5rem .8rem; border-radius: var(--radius-pill); transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav__links a:hover, .nav__links a.is-active { background: var(--brand-50); color: var(--brand-dark); }
.nav__cta { display: flex; align-items: center; gap: .6rem; }
.nav__phone { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 600; color: var(--brand-dark); white-space: nowrap; }
@media (max-width: 1080px) and (min-width: 941px) { .nav__phone { display: none; } }
.nav__phone svg { width: 1.05em; height: 1.05em; color: var(--brand); }

.nav__toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; margin-left: auto; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; position: relative; }
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav__toggle { display: inline-flex; }
  .nav__links, .nav__cta {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: var(--gutter);
    gap: .4rem; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .22s ease;
  }
  .nav__cta { inset-block-start: auto; box-shadow: 0 20px 30px rgba(9,74,82,.10); }
  .nav__links { margin-left: 0; box-shadow: none; border-bottom: 0; padding-bottom: .4rem; }
  .nav__links a { padding: .8rem 1rem; font-size: 1.05rem; }
  .nav__phone { padding: .6rem 1rem; }
  .nav__cta .btn { width: 100%; }
  body.nav-open .nav__links, body.nav-open .nav__cta { transform: translateY(0); opacity: 1; pointer-events: auto; }
  body.nav-open .nav__cta { transform: translateY(0); }
}

/* ----- Hero -------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--bg-soft); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(68% 80% at 90% 0%, rgba(26,160,166,.10), transparent 62%);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.hero__rating { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; font-weight: 600; font-family: var(--font-head); color: var(--ink-soft); font-size: .95rem; }
.stars { color: var(--accent); letter-spacing: 1px; }
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 .hl { color: var(--brand); position: relative; }
.hero__sub { font-size: 1.2rem; max-width: 33ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero__trust div { font-family: var(--font-head); }
.hero__trust b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; color: var(--brand-dark); line-height: 1; }
.hero__trust span { font-size: .9rem; color: var(--muted); }

.hero__media { position: relative; }
.hero__photo { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/4.4; object-fit: cover; background: linear-gradient(150deg, var(--brand-100), #fff); }
.hero__badge {
  position: absolute; left: -14px; bottom: 26px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: .9rem 1.1rem; display: flex; align-items: center; gap: .75rem; max-width: 250px;
}
.hero__badge .ic { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.hero__badge .ic svg { width: 22px; height: 22px; }
.hero__badge b { font-family: var(--font-head); font-size: .98rem; color: var(--ink); display: block; line-height: 1.2; }
.hero__badge span { font-size: .82rem; color: var(--muted); }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 460px; }
  .hero__sub { max-width: none; }
}

/* ----- Trust bar / logos ------------------------------------------------- */
.trustbar { border-block: 1px solid var(--line); background: #fff; }
.trustbar__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; padding-block: 1.4rem; }
.trustbar__item { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 600; color: var(--ink-soft); font-size: .98rem; }
.trustbar__item svg { width: 22px; height: 22px; color: var(--brand); flex: none; }

/* ----- Brand / partner strip ------------------------------------------- */
.brands-cap { text-align: center; font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 2.6rem; }
.brands { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.1rem 2.8rem; margin-top: 1.2rem; }
.brand-logo { font-family: var(--font-head); font-weight: 700; font-size: 1.55rem; letter-spacing: -.01em; color: var(--muted); opacity: .7; transition: color .2s, opacity .2s; display: inline-flex; align-items: baseline; gap: .12em; line-height: 1; }
.brand-logo:hover { color: var(--brand-dark); opacity: 1; }
.brand-logo small { font-size: .58em; font-weight: 600; color: inherit; letter-spacing: .01em; }
.brand-logo .accent { color: var(--brand); }

/* ----- Cards / grids ----------------------------------------------------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 26px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.7rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.card__ic { width: 56px; height: 56px; border-radius: 16px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 1.1rem; }
.card__ic svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .98rem; }
.card__more { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.card__more svg { width: 1em; height: 1em; transition: transform .2s; }
.card--link:hover .card__more svg { transform: translateX(3px); }

/* ----- Stats ------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; text-align: center; }
.stats .stat b { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.1rem); color: #fff; line-height: 1; display: block; }
.stats .stat span { color: #a9d8db; font-size: .98rem; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; } }

/* ----- Steps / process --------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; }
.step { display: flex; gap: 1.1rem; align-items: flex-start; }
.step__num { counter-increment: step; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(14,124,134,.3); }
.step__num::before { content: counter(step); }
.step h3 { margin-bottom: .25rem; }
.step p { font-size: .98rem; }

/* ----- Split feature ----------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img, .split__media .ph { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.checklist { display: grid; gap: .7rem; margin-top: 1.4rem; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; color: var(--ink-soft); }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--ok); margin-top: 2px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: -1; } }

/* ----- Before / after ---------------------------------------------------- */
.ba { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3/2; user-select: none; touch-action: none; background: var(--brand-50); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__label { position: absolute; bottom: 12px; padding: .25rem .7rem; border-radius: var(--radius-pill); font-family: var(--font-head); font-weight: 600; font-size: .78rem; color: #fff; background: rgba(7,52,58,.72); backdrop-filter: blur(4px); }
.ba__label--b { left: 12px; } .ba__label--a { right: 12px; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(9,74,82,.15); }
.ba__handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; font-size: 1rem; box-shadow: var(--shadow); }

/* ----- Testimonials ------------------------------------------------------ */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.7rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; }
.quote p { color: var(--ink); font-size: 1.02rem; }
.quote .who { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.quote .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-100); color: var(--brand-dark); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; flex: none; }
.quote .who b { font-family: var(--font-head); font-size: .98rem; display: block; }
.quote .who span { font-size: .85rem; color: var(--muted); }

/* ----- FAQ (accordion) --------------------------------------------------- */
.faq { display: grid; gap: .8rem; max-width: 820px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 1.3rem; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--brand); line-height: 1; transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 1.3rem 1.25rem; color: var(--ink-soft); }

/* ----- CTA band ---------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(150deg, var(--brand), var(--brand-dark)); color: #fff; padding: clamp(36px, 6vw, 64px); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 85% 0%, rgba(255,255,255,.16), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfeef0; max-width: 52ch; margin: 1rem auto 1.8rem; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* ----- Breadcrumb -------------------------------------------------------- */
.crumbs { font-size: .9rem; color: var(--muted); padding-block: 1rem 0; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--brand); }
.crumbs span { color: var(--brand-dark); font-weight: 600; }

/* ----- Page hero (inner) ------------------------------------------------- */
.page-hero { background: var(--bg-soft); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 85% at 92% 0%, rgba(26,160,166,.08), transparent 62%); }
.page-hero__in { position: relative; padding-block: clamp(36px, 6vw, 64px); max-width: 760px; }
.page-hero h1 { margin-block: .4rem .8rem; }
.page-hero p { font-size: 1.15rem; }

/* ----- Forms ------------------------------------------------------------- */
.form { display: grid; gap: 1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(10,161,168,.14); }
.form__note { font-size: .85rem; color: var(--muted); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 4vw, 2.2rem); box-shadow: var(--shadow); }

/* ----- Info list (contact) ---------------------------------------------- */
.infolist { display: grid; gap: 1.4rem; }
.infolist .item { display: flex; gap: 1rem; align-items: flex-start; }
.infolist .ic { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.infolist .ic svg { width: 24px; height: 24px; }
.infolist b { font-family: var(--font-head); display: block; }
.infolist a, .infolist p { color: var(--ink-soft); }

.map-embed { border: 0; width: 100%; height: 100%; min-height: 320px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ----- Gallery ----------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.06); }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ----- Team ------------------------------------------------------------- */
.team-card { padding: 0; overflow: hidden; text-align: center; }
.team-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: center top; background: var(--brand-50); }
.team-card .body { padding: 1.1rem 1rem 1.4rem; }
.team-card h3 { font-size: 1.12rem; margin-bottom: .15rem; }
.team-card .role { color: var(--brand); font-family: var(--font-head); font-weight: 600; font-size: .9rem; }

/* ----- Credentials ------------------------------------------------------ */
.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.creds figure { margin: 0; }
.creds img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
.creds figcaption { font-size: .82rem; color: var(--muted); margin-top: .5rem; text-align: center; }
@media (max-width: 620px) { .creds { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; } }

/* ----- Blog -------------------------------------------------------------- */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card .thumb { aspect-ratio: 16/9; background: linear-gradient(150deg, var(--brand-100), var(--brand-50)); }
.post-card .body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.post-card .meta { font-size: .82rem; color: var(--muted); font-family: var(--font-head); font-weight: 600; letter-spacing: .02em; }
.post-card h3 { font-size: 1.15rem; }
.post-card .card__more { margin-top: auto; }

.article { max-width: 760px; margin-inline: auto; }
.article h2 { margin-top: 2.2rem; margin-bottom: .8rem; }
.article h3 { margin-top: 1.6rem; margin-bottom: .5rem; }
.article p, .article li { font-size: 1.08rem; color: var(--ink-soft); }
.article ul { display: grid; gap: .5rem; margin: 1rem 0; }
.article ul li { display: flex; gap: .6rem; }
.article ul li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.article img { border-radius: var(--radius-lg); margin-block: 1.6rem; }
.article .lede { margin-bottom: 1.4rem; }

/* ----- Pills / tags ------------------------------------------------------ */
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .8rem; border-radius: var(--radius-pill); background: var(--brand-50); color: var(--brand-dark); font-family: var(--font-head); font-weight: 600; font-size: .85rem; }

/* ----- Footer ------------------------------------------------------------ */
.site-footer { background: var(--bg-deep); color: #bcdee1; padding-block: clamp(48px, 7vw, 72px) 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.4rem; }
.footer__grid h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; font-family: var(--font-head); }
.footer__brand .brand { color: #fff; margin-bottom: 1rem; }
.footer__brand .brand b { color: #6fe3da; }
.footer__brand p { color: #8fc3c7; font-size: .96rem; max-width: 32ch; }
.footer__partner { font-size: .86rem; margin-top: .8rem; }
.footer__partner a { color: #6fe3da; } .footer__partner a:hover { color: #fff; }
.footer__grid ul { display: grid; gap: .6rem; }
.footer__grid a { color: #bcdee1; font-size: .96rem; }
.footer__grid a:hover { color: #fff; }
.footer__contact .item { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .8rem; font-size: .96rem; }
.footer__contact svg { width: 18px; height: 18px; color: #6fe3da; flex: none; margin-top: 3px; }
.socials { display: flex; gap: .6rem; margin-top: 1.1rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #cfeef0; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }
.footer__bottom { margin-top: 2.6rem; border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; font-size: .86rem; color: #82b8bc; }
.footer__bottom a { color: #82b8bc; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.4rem; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ----- Floating action buttons ------------------------------------------ */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 70; display: flex; flex-direction: column; gap: .7rem; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); transition: transform .2s; }
.fab a:hover { transform: scale(1.07); color: #fff; }
.fab a svg { width: 28px; height: 28px; }
.fab .fab--wa { background: var(--wa); }
.fab .fab--call { background: var(--brand); display: none; }
@media (max-width: 940px) { .fab .fab--call { display: grid; } }

/* ----- Reveal on scroll -------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ----- Utilities --------------------------------------------------------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .6rem; } .mt-2 { margin-top: 1.2rem; } .mt-3 { margin-top: 2rem; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: .7rem 1rem; border-radius: 0 0 10px 0; z-index: 200; }
.skip-link:focus { left: 0; color: #fff; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
