/* FisioWebs v2: warm sage, photographs first */
:root {
  --bg: #faf8f4;
  --sand: #f2eee6;
  --sage: #8fb09c;
  --sage-soft: #e3ece5;
  --forest: #2e4a3d;
  --forest-2: #24392f;
  --ink: #1d2320;
  --muted: #59615c;
  --line: color-mix(in oklab, var(--ink) 12%, transparent);
  --action: var(--forest);
  --p-bg: var(--bg); --p-ink: var(--ink);
  --font-display: "Source Serif 4", Georgia, serif;
  --font-text: "Libre Franklin", system-ui, sans-serif;
  --r: 20px; --r-sm: 12px;
  --wrap: 1200px; --gut: clamp(20px, 5vw, 64px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --nav: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--font-text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--forest); color: #fff; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.4vw, 72px); letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 3.6vw, 48px); }
h3 { font-size: clamp(22px, 1.8vw, 26px); letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--muted); max-width: 54ch; }
.muted { color: var(--muted); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; font: 500 16px/1 var(--font-text); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn--main { background: var(--forest); color: #fff; }
.btn--ghost { border-color: color-mix(in oklab, var(--ink) 25%, transparent); color: var(--ink); background: transparent; }
.btn--light { background: #fff; color: var(--forest); }
.btn--wa { background: #1faa59; color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
@media (hover: hover) and (pointer: fine) {
  .btn--main:hover { background: var(--forest-2); }
  .btn--ghost:hover { border-color: var(--ink); }
  .btn--light:hover { background: var(--sage-soft); }
  .btn--wa:hover { background: #178f4a; }
}
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link { color: var(--forest); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color 200ms ease; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); font-weight: 500; text-decoration: none; }
.arrow-link svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .arrow-link:hover svg { transform: translateX(3px); } }

/* header */
.hd { position: sticky; top: 0; z-index: 20; background: color-mix(in oklab, var(--bg) 94%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hd__in { height: var(--nav); display: flex; align-items: center; gap: 32px; }
.hd__logo img { height: 46px; width: auto; }
.hd__nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hd__nav > a, .hd__drop > button { all: unset; box-sizing: border-box; cursor: pointer; padding: 10px 14px; border-radius: 999px; font: 500 16px/1 var(--font-text); color: var(--ink); display: inline-flex; align-items: center; gap: 6px; transition: background-color 200ms ease; }
.hd__nav > a[aria-current="page"], .hd__drop > button[data-current] { background: var(--sage-soft); }
@media (hover: hover) and (pointer: fine) { .hd__nav > a:hover, .hd__drop > button:hover { background: var(--sand); } }
.hd__nav > a:focus-visible, .hd__drop > button:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.hd__drop { position: relative; }
.hd__drop svg { width: 12px; height: 12px; transition: transform 200ms var(--ease-out); }
.hd__menu { position: absolute; top: calc(100% + 10px); left: -12px; width: 360px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: 0 24px 48px -24px rgb(29 35 32 / .3); opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top left; pointer-events: none; transition: opacity 180ms ease, transform 180ms var(--ease-out); }
.hd__drop[data-open] .hd__menu { opacity: 1; transform: none; pointer-events: auto; }
.hd__drop[data-open] > button svg { transform: rotate(180deg); }
.hd__menu a { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 12px; text-decoration: none; transition: background-color 160ms ease; }
.hd__menu a:hover, .hd__menu a:focus-visible { background: var(--sand); }
.hd__menu img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.hd__menu b { display: block; font-weight: 500; font-size: 16px; line-height: 1.3; }
.hd__menu span { display: block; font-size: 14px; color: var(--muted); line-height: 1.35; }
.hd__cta { margin-left: 8px; }
.hd__toggle { all: unset; display: none; cursor: pointer; width: 46px; height: 46px; border-radius: 50%; place-items: center; margin-left: auto; border: 1px solid var(--line); }
.hd__toggle svg { width: 20px; height: 20px; }
.mnav { position: fixed; inset: var(--nav) 0 0 0; z-index: 19; background: var(--bg); padding: 24px var(--gut) 40px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity 200ms ease, transform 220ms var(--ease-out); }
.mnav[data-open] { opacity: 1; transform: none; pointer-events: auto; }
.mnav a { font: 400 28px/1.2 var(--font-display); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mnav a.sub { font: 500 17px/1.3 var(--font-text); padding: 12px 0 12px 16px; color: var(--muted); }
.mnav .btn { margin-top: 24px; font: 500 17px/1 var(--font-text); border-bottom: 0; padding: 0 26px; }
@media (max-width: 960px) {
  .hd__nav, .hd__cta { display: none; }
  .hd__toggle { display: grid; }
  .hd__logo img { height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .hd__menu, .mnav { transition: opacity 150ms ease; transform: none; } }

/* sections */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.sec--sand { background: var(--sand); }
.sec--sage { background: var(--sage-soft); }
.sec--forest { background: var(--forest); color: #fff; }
.sec--forest .lead, .sec--forest .muted { color: color-mix(in oklab, #fff 78%, var(--forest)); }
.sec__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec__head > div { max-width: 640px; }
.sec__head h2 + p { margin-top: 16px; }

/* hero */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); }
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__txt h1 { margin: 0 0 24px; }
.hero__txt .lead { margin-bottom: 36px; }
.hero__pic { position: relative; }
.hero__pic > img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 28px; }
.badge { position: absolute; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: 0 18px 40px -18px rgb(29 35 32 / .35); display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.35; }
.badge b { display: block; font-weight: 500; }
.badge span { color: var(--muted); font-size: 14px; }
.badge i { width: 40px; height: 40px; border-radius: 50%; background: var(--sage-soft); display: grid; place-items: center; flex: none; color: var(--forest); }
.badge i svg { width: 20px; height: 20px; }
.badge--a { left: -28px; bottom: 48px; }
.badge--b { right: -20px; top: 40px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 40px; color: var(--muted); font-size: 15px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--forest); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__pic > img { aspect-ratio: 4 / 3; }
  .badge--a { left: 12px; bottom: 12px; }
  .badge--b { display: none; }
}
/* entrance: one orchestrated moment on load */
.enter > * { animation: rise 700ms var(--ease-out) both; }
.enter > *:nth-child(2) { animation-delay: 70ms; }
.enter > *:nth-child(3) { animation-delay: 140ms; }
.enter > *:nth-child(4) { animation-delay: 210ms; }
.enter-pic { animation: settle 900ms var(--ease-out) both 120ms; }
.enter-pic .badge { animation: pop 500ms var(--ease-out) both 700ms; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes settle { from { opacity: 0; transform: scale(.97); } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } }
@media (prefers-reduced-motion: reduce) { .enter > *, .enter-pic, .enter-pic .badge { animation: none; } }

/* service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: transform 220ms var(--ease-out), box-shadow 220ms ease; }
.card__img { overflow: hidden; aspect-ratio: 4 / 3; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body p { color: var(--muted); font-size: 16px; line-height: 1.55; }
.card__body .arrow-link { margin-top: auto; padding-top: 8px; }
@media (hover: hover) and (pointer: fine) {
  a.card:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgb(29 35 32 / .45); }
  a.card:hover .card__img img { transform: scale(1.03); }
  a.card:hover .arrow-link svg { transform: translateX(3px); }
}
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } .card__img { aspect-ratio: 16 / 9; } }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split__pic img { width: 100%; border-radius: var(--r); object-fit: cover; aspect-ratio: 4 / 5; }
.split__txt h2 { margin-bottom: 20px; }
.split__txt .lead + .ticks, .split__txt .lead + .btns { margin-top: 28px; }
.split__txt .ticks + .btns { margin-top: 32px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } .split__pic img { aspect-ratio: 4 / 3; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.ticks li::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e4a3d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }
.sec--forest .ticks li::before { background-color: rgb(255 255 255 / .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.ticks b { font-weight: 500; }

/* work showcase */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.work__item { text-decoration: none; display: flex; flex-direction: column; gap: 20px; }
.devices { position: relative; background: var(--sage-soft); border-radius: var(--r); padding: 36px 36px 0; overflow: hidden; aspect-ratio: 5 / 4; }
.devices--rose { background: #f6e6e8; }
.devices--sun { background: #f7e9dc; }
.laptop { border-radius: 12px 12px 0 0; background: #1d2320; padding: 10px 10px 0; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .45); }
.laptop img { border-radius: 4px 4px 0 0; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.phone { position: absolute; right: 28px; bottom: 24px; width: 26%; background: #1d2320; border-radius: 22px; padding: 6px; box-shadow: 0 24px 40px -18px rgb(0 0 0 / .5); }
.phone img { border-radius: 17px; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; width: 100%; }
.devices .laptop, .devices .phone { transition: transform 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { a.work__item:hover .laptop { transform: translateY(-6px); } a.work__item:hover .phone { transform: translateY(-10px); } }
.work__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.work__meta p { color: var(--muted); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 14px; line-height: 1; padding: 8px 12px; border-radius: 999px; background: var(--sand); color: var(--ink); }
.sec--sand .tag { background: #fff; }
@media (max-width: 900px) { .work { grid-template-columns: 1fr; } .devices { padding: 24px 24px 0; } }

/* valoración (interactive clinic web) */
.vx { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.vx__list { list-style: none; margin: 28px 0 0; padding: 0; }
.vx__list li { border-top: 1px solid var(--line); }
.vx__list li:last-child { border-bottom: 1px solid var(--line); }
.vx__btn { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 0; cursor: pointer; font: 500 16px/1.3 var(--font-text); }
.vx__btn:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; border-radius: 6px; }
.vx__num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 500 13px/1 var(--font-text); border: 1px solid color-mix(in oklab, var(--ink) 30%, transparent); transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
.vx__btn.is-on .vx__num { background: var(--forest); color: #fff; border-color: var(--forest); }
.vx__eva { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.vx__detail { padding-top: 20px; min-height: 170px; }
.vx__detail p { margin-bottom: 8px; max-width: 46ch; }
.vx__detail b { font-weight: 500; }
.vx__detail.is-swap { animation: vx-in 220ms var(--ease-out); }
@keyframes vx-in { from { opacity: .3; filter: blur(2px); transform: translateY(4px); } }
.vx__scale { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; max-width: 220px; margin-bottom: 12px; }
.vx__scale i { height: 6px; border-radius: 3px; background: color-mix(in oklab, var(--ink) 12%, transparent); }
.vx__scale i.on { background: var(--forest); }
.vx__win { position: relative; border-radius: var(--r); border: 1px solid var(--line); background: #fff; overflow: hidden; box-shadow: 0 30px 60px -36px rgb(29 35 32 / .45); }
.vx__chrome { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; background: var(--sand); border-bottom: 1px solid var(--line); }
.vx__chrome i { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in oklab, var(--ink) 18%, transparent); }
.vx__url { margin-left: 12px; flex: 1; height: 22px; border-radius: 6px; background: var(--bg); font: 400 13px/22px var(--font-text); color: var(--muted); padding: 0 10px; white-space: nowrap; overflow: hidden; }
.vx__site { font-family: Georgia, serif; color: #333; }
.vx__top { display: flex; justify-content: space-between; align-items: center; padding: 18px 4%; border-bottom: 1px solid #ddd; background: #f2f2f2; }
.vx__brand { font-size: clamp(14px, 1.4vw, 19px); font-weight: 700; color: #3b6aa0; }
.vx__menu { font: 13px/1 Arial, sans-serif; color: #666; }
.vx__hero { display: grid; grid-template-columns: 1fr 1fr; gap: 4%; padding: 4%; }
.vx__hero h4 { margin: 0 0 8px; font-size: clamp(16px, 1.8vw, 24px); font-weight: 400; color: #3b6aa0; line-height: 1.15; }
.vx__hero p { margin: 0 0 6px; font: 13px/1.45 Arial, sans-serif; color: #666; }
.vx__tel { font: 13px/1.45 Arial, sans-serif; }
.vx__img { position: relative; overflow: hidden; background: #ccc; aspect-ratio: 4 / 3; }
.vx__img img { width: 100%; height: 100%; object-fit: cover; filter: blur(5px) saturate(.6); transform: scale(1.08); }
.vx__loader { position: absolute; left: 10%; right: 10%; bottom: 12%; height: 6px; border-radius: 3px; background: rgb(255 255 255 / .5); overflow: hidden; }
.vx__loader span { display: block; width: 38%; height: 100%; background: #fff; }
.vx__foot { margin: 0 4%; padding: 14px 0 18px; border-top: 1px solid #e5e5e5; font: 13px/1.5 Arial, sans-serif; color: #727272; }
.vx__pins { position: absolute; inset: 36px 0 0 0; }
.vx__pin { all: unset; box-sizing: border-box; position: absolute; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; transform: translate(-50%, -50%); left: var(--x); top: var(--y); }
.vx__pin span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 500 13px/1 var(--font-text); background: var(--bg); color: var(--ink); border: 1.5px solid var(--ink); box-shadow: 0 4px 12px -4px rgb(29 35 32 / .4); transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease; }
.vx__pin::before { content: ""; position: absolute; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--sage); opacity: 0; }
.vx__pin.is-on span { background: var(--forest); color: #fff; border-color: var(--forest); }
.vx__pin.is-on::before { animation: vx-ring 1.8s var(--ease-out) infinite; }
.vx__pin:active span { transform: scale(.94); }
.vx__pin:focus-visible span { outline: 2px solid var(--forest); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .vx__pin:hover span { transform: scale(1.08); } }
@keyframes vx-ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2); } }
@media (prefers-reduced-motion: reduce) { .vx__pin.is-on::before, .vx__detail.is-swap { animation: none; } }
@media (max-width: 900px) { .vx { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .vx__menu, .vx__foot, .vx__hero p:nth-of-type(2) { display: none; } .vx__pin { left: var(--xm); top: var(--ym); } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: st; }
.step { display: flex; flex-direction: column; gap: 16px; }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.step h3::before { counter-increment: st; content: counter(st) ". "; color: var(--sage); }
.step p { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .step img { aspect-ratio: 16 / 9; } }

/* blog cards */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { text-decoration: none; display: flex; flex-direction: column; gap: 14px; }
.post__img { overflow: hidden; border-radius: var(--r); aspect-ratio: 3 / 2; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.post__meta { font-size: 14px; color: var(--muted); }
.post h3 { font-size: 22px; line-height: 1.25; }
@media (hover: hover) and (pointer: fine) { a.post:hover .post__img img { transform: scale(1.03); } a.post:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; } }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; gap: 0; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font: 500 18px/1.35 var(--font-text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%231d2320' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M7 1v12M1 7h12'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 68ch; }

/* cta band */
.cta { border-radius: 28px; background: var(--forest); color: #fff; display: grid; grid-template-columns: 1.3fr 1fr; overflow: hidden; }
.cta__txt { padding: clamp(36px, 5vw, 64px); display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.cta__txt p { color: color-mix(in oklab, #fff 80%, var(--forest)); font-size: 18px; max-width: 46ch; }
.cta__pic img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } .cta__pic { order: -1; } .cta__pic img { min-height: 0; aspect-ratio: 16 / 9; } }

/* page hero (inner pages) */
.phero { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 80px); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.phero h1 { max-width: 16ch; margin-bottom: 20px; }
.phero__pic { margin-top: clamp(36px, 5vw, 56px); }
.phero__pic img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 28px; }
@media (max-width: 700px) { .phero__pic img { aspect-ratio: 4 / 3; } }

/* features grid on service pages */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.feat i { width: 48px; height: 48px; border-radius: 14px; background: var(--sage-soft); color: var(--forest); display: grid; place-items: center; }
.feat i svg { width: 24px; height: 24px; }
.feat p { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .feats { grid-template-columns: 1fr; } }

/* tools */
.tools { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; }
.tools li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.tools ul { display: contents; list-style: none; }
.tools img { width: 30px; height: 30px; object-fit: contain; }

/* article */
.art { max-width: 720px; margin-inline: auto; }
.art__head { padding: clamp(40px, 6vw, 72px) 0 32px; }
.art__head h1 { font-size: clamp(36px, 4.4vw, 56px); margin-bottom: 20px; }
.art__by { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
.art__by img { width: 44px; height: 44px; border-radius: 50%; background: #000; object-fit: contain; }
.art__by b { color: var(--ink); font-weight: 500; }
.art__pic img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); margin: 8px 0 40px; }
.prose { font-size: 18px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 2.6vw, 32px); margin-top: 1.8em; }
.prose h3 { font-size: 22px; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--forest); text-underline-offset: 3px; }
.prose strong { font-weight: 500; }
.note { background: var(--sage-soft); border-radius: var(--r-sm); padding: 20px 24px; font-size: 17px; }

/* contact */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 500; }
.field input, .field textarea { font: 400 16px/1.4 var(--font-text); color: var(--ink); background: #fff; border: 1px solid color-mix(in oklab, var(--ink) 22%, transparent); border-radius: 12px; padding: 13px 14px; min-height: 50px; transition: border-color 160ms ease, box-shadow 160ms ease; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px color-mix(in oklab, var(--sage) 40%, transparent); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__err { color: #b3261e; font-size: 14px; margin: 0; }
.check { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; font-size: 15px; min-height: 44px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--forest); flex: none; }
.form .btn { justify-self: start; }
.form__status { grid-column: 1 / -1; font-size: 15px; min-height: 1.4em; margin: 0; }
.form__info { grid-column: 1 / -1; font-size: 14px; color: var(--muted); line-height: 1.5; }
.side { background: var(--sand); border-radius: var(--r); padding: 32px; display: grid; gap: 24px; }
.side h2 { font-size: 28px; }
.side__row { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; text-decoration: none; }
.side__row i { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--forest); }
.side__row i svg { width: 20px; height: 20px; }
.side__row b { display: block; font-weight: 500; }
.side__row span { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .contact, .form { grid-template-columns: 1fr; } }

/* footer */
.ft { background: var(--forest-2); color: #fff; padding: clamp(56px, 7vw, 88px) 0 32px; }
.ft__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.ft__brand img { height: 52px; width: auto; filter: invert(1); }
.ft__brand p { margin-top: 18px; color: rgb(255 255 255 / .72); font-size: 16px; max-width: 32ch; }
.ft h3 { font: 500 15px/1.3 var(--font-text); letter-spacing: 0; color: rgb(255 255 255 / .6); margin-bottom: 16px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft a { text-decoration: none; color: #fff; font-size: 16px; }
.ft a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ft__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .14); display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: rgb(255 255 255 / .62); }
.ft__legal a { font-size: 14px; color: rgb(255 255 255 / .8); }
@media (max-width: 900px) { .ft__grid { grid-template-columns: 1fr 1fr; } .ft__brand { grid-column: 1 / -1; } }

/* small helpers */
.center { text-align: center; }
.mt-l { margin-top: clamp(40px, 5vw, 64px); }
.eyebrow-free { display: none; }
@media (max-width: 600px) { .btns .btn { flex: 1 1 100%; } .sec__head { flex-direction: column; align-items: start; } }

/* legal content inside prose */
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; }
.prose dt { font-weight: 500; }
.prose dd { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 500; }
.prose .meta { color: var(--muted); font-size: 15px; }
@media (max-width: 600px) { .prose dl { grid-template-columns: 1fr; gap: 2px; } .prose dd { margin-bottom: 10px; } }

/* tools strip under the hero */
.toolbar { border-block: 1px solid var(--line); padding: 22px 0; }
.toolbar__in { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.toolbar__in > p { font-size: 15px; color: var(--muted); }
.toolbar .tools img { filter: grayscale(1); opacity: .75; transition: filter 200ms ease, opacity 200ms ease; }
.toolbar .tools li:hover img { filter: none; opacity: 1; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .steps--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps--4 { grid-template-columns: 1fr; } .toolbar__in { gap: 14px; } }
