/* =========================================================================
   CWS — Σταθμός Νερού για Αδέσποτες Γάτες
   Aesthetic: warm "field-guide / grassroots zine"
   Terracotta clay + water blue on warm paper. Spectral + Commissioner.
   ========================================================================= */

:root {
  /* paper / ink */
  --paper:       #F4EAD7;
  --paper-2:     #FBF5E9;
  --paper-3:     #EFE2C9;
  --ink:         #271C13;
  --ink-soft:    #5C4B3A;
  --ink-faint:   #8A7860;

  /* clay (terracotta) */
  --clay:        #C2683E;
  --clay-deep:   #9F4A26;
  --clay-soft:   #E7B596;
  --clay-pale:   #F3DAC6;

  /* water */
  --water:       #2E6F7E;
  --water-deep:  #1E5460;
  --water-soft:  #7BB6C2;
  --water-pale:  #DCEAEC;

  /* extra accents */
  --sun:         #E0A14A;
  --leaf:        #6E8A5A;

  --line:        rgba(39,28,19,0.14);
  --line-soft:   rgba(39,28,19,0.08);

  --shadow-sm:   0 1px 2px rgba(39,28,19,.06), 0 2px 6px rgba(39,28,19,.06);
  --shadow-md:   0 6px 18px rgba(39,28,19,.10), 0 2px 6px rgba(39,28,19,.06);
  --shadow-lg:   0 18px 50px rgba(39,28,19,.16), 0 6px 16px rgba(39,28,19,.08);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;

  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans:  "Commissioner", system-ui, -apple-system, sans-serif;

  --maxw: 1120px;
  --gut: clamp(18px, 5vw, 56px);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background-color: var(--paper);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* atmospheric background: warm light pools + faint grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(224,161,74,.22), transparent 60%),
    radial-gradient(800px 700px at 100% 8%, rgba(123,182,194,.20), transparent 55%),
    radial-gradient(900px 900px at 80% 100%, rgba(194,104,62,.14), transparent 60%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--water-deep); text-underline-offset: 3px; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--water); outline-offset: 2px; border-radius: 4px; }

/* ---------------------------------------------------------------- type */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; }
.serif-italic { font-family: var(--serif); font-style: italic; font-weight: 500; }

.kicker {
  font-family: var(--sans);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clay-deep);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--clay);
  display: inline-block;
}

/* ---------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
section { padding-block: clamp(56px, 9vw, 110px); position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  margin-top: .35em;
  color: var(--ink);
}
.section-head p { margin-top: 1em; font-size: 1.12rem; color: var(--ink-soft); max-width: 60ch; }

.alt-bg { background:
    linear-gradient(180deg, rgba(251,245,233,.0), rgba(251,245,233,.85) 12%, rgba(251,245,233,.85) 88%, rgba(251,245,233,0));
}

/* =================================================================== header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px) saturate(1.2);
  background: rgba(244,234,215,.78);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  display: flex; align-items: center; gap: 18px;
  min-height: 68px; padding-block: 10px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand__mark {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: radial-gradient(circle at 35% 28%, var(--clay-soft), var(--clay) 70%);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.4);
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__txt b { font-family: var(--serif); font-size: 1.18rem; letter-spacing: -.01em; }
.brand__txt span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: .94rem;
  padding: 8px 12px; border-radius: 10px; transition: background .18s, color .18s;
}
.nav a:hover { color: var(--ink); background: rgba(194,104,62,.12); }

/* language segmented control */
.lang {
  display: inline-flex; align-items: center;
  padding: 3px; gap: 2px;
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.lang button {
  border: 0; background: transparent;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  color: var(--ink-soft);
  padding: 6px 11px; border-radius: 999px;
  position: relative; transition: color .18s;
}
.lang button[aria-current="true"] {
  background: var(--ink); color: var(--paper-2);
  box-shadow: var(--shadow-sm);
}
.lang button[data-soon] { color: var(--ink-faint); }
.lang button[data-soon]::after {
  content: "";
  position: absolute; top: 5px; right: 5px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 2px var(--paper-3);
}
.lang button[data-soon][aria-current="true"]::after { display: none; }

.btn {
  display: inline-flex; align-items: center; gap: .5em;
  border: 0; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  padding: 11px 20px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--clay { background: var(--clay); color: #fff; box-shadow: var(--shadow-md); }
.btn--clay:hover { background: var(--clay-deep); box-shadow: var(--shadow-lg); }
.btn--water { background: var(--water); color: #fff; box-shadow: var(--shadow-md); }
.btn--water:hover { background: var(--water-deep); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper-2); }
.btn--sm { padding: 8px 15px; font-size: .88rem; }

.suggest-btn { flex: none; }
.suggest-btn svg { width: 17px; height: 17px; }

.menu-toggle { display: none; }

/* =================================================================== hero */
.hero { padding-top: clamp(40px, 7vw, 80px); padding-bottom: clamp(40px, 7vw, 90px); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero__eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: italic; color: var(--clay-deep); }
.hero__lead {
  margin-top: 1.1em; font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  color: var(--ink-soft); max-width: 46ch;
}
.hero__cta { margin-top: 2em; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__stats { margin-top: 2.4em; display: flex; gap: 30px; flex-wrap: wrap; }
.stat b { font-family: var(--serif); font-size: 1.9rem; color: var(--clay-deep); display: block; line-height: 1; }
.stat span { font-size: .82rem; color: var(--ink-faint); letter-spacing: .03em; }

.hero__media { position: relative; }
.hero__frame {
  position: relative; border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow-lg);
  border: 6px solid var(--paper-2);
  transform: rotate(1.4deg);
  aspect-ratio: 3 / 3.4;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: -22px; bottom: 28px;
  background: var(--water); color: #fff;
  border-radius: 999px; padding: 12px 18px;
  font-weight: 600; font-size: .9rem;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 8px;
  transform: rotate(-3deg);
}
.hero__badge svg { width: 20px; height: 20px; }
.hero__drop {
  position: absolute; top: -18px; right: 14px;
  width: 66px; height: 66px;
  color: var(--sun);
  filter: drop-shadow(0 6px 10px rgba(39,28,19,.18));
  animation: bob 4.5s ease-in-out infinite;
}
@keyframes bob { 0%,100%{ transform: translateY(0) rotate(0) } 50%{ transform: translateY(-10px) rotate(-6deg) } }

/* =================================================================== why cards */
.cards {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 26px 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--clay-pale); color: var(--clay-deep);
}
.card__icon svg { width: 26px; height: 26px; }
.card:nth-child(3n+2) .card__icon { background: var(--water-pale); color: var(--water-deep); }
.card:nth-child(3n) .card__icon { background: #E7EBDD; color: var(--leaf); }
.card h3 { font-size: 1.32rem; margin-bottom: .35em; }
.card p { color: var(--ink-soft); font-size: 1rem; }

/* =================================================================== how it works */
.how__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,60px); align-items: center; }
.how__text p { margin-top: 1em; color: var(--ink-soft); }
.how__text p:first-child { margin-top: 0; }
.how__text strong { color: var(--ink); font-weight: 600; }
.diagram-card {
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 20px; box-shadow: var(--shadow-md);
}
.diagram-card svg { width: 100%; height: auto; }
.diagram-cap { margin-top: 10px; font-size: .82rem; color: var(--ink-faint); text-align: center; letter-spacing: .02em; }

.note {
  margin-top: 28px;
  border-left: 4px solid var(--clay);
  background: linear-gradient(100deg, var(--clay-pale), rgba(243,218,198,.35));
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 20px 24px;
}
.note h4 { font-size: 1.15rem; display: flex; align-items: center; gap: 8px; }
.note h4 svg { width: 20px; height: 20px; color: var(--clay-deep); }
.note ol { margin: .7em 0 0; padding-left: 1.3em; }
.note li { margin-bottom: .35em; color: var(--ink-soft); }
.note li strong { color: var(--ink); }

/* =================================================================== tools */
.tool-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.tool {
  background: var(--paper-2); border-radius: var(--r-md);
  border: 1px solid var(--line-soft); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.tool:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tool__img { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-3); }
.tool__img img { width: 100%; height: 100%; object-fit: cover; }
.tool__body { padding: 16px 18px 20px; }
.tool__body h3 { font-size: 1.18rem; }
.tool__body p { font-size: .92rem; color: var(--ink-soft); margin-top: .25em; }
.tool__tag { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--clay-deep); }
.tool--opt .tool__tag { color: var(--water-deep); }

/* =================================================================== materials table */
.mat-table-wrap { border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); }
table.mat { width: 100%; border-collapse: collapse; background: var(--paper-2); font-size: 1rem; }
.mat thead th {
  background: var(--ink); color: var(--paper-2);
  text-align: left; font-family: var(--sans); font-weight: 600; font-size: .82rem;
  letter-spacing: .06em; text-transform: uppercase; padding: 14px 18px;
}
.mat tbody td { padding: 15px 18px; border-top: 1px solid var(--line-soft); vertical-align: top; }
.mat tbody tr:nth-child(even) { background: rgba(239,226,201,.4); }
.mat td:first-child { font-weight: 600; }
.mat td .sub { display: block; font-size: .86rem; color: var(--ink-faint); font-weight: 400; }
.chip {
  display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .03em;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.chip--free { background: #E2EDD7; color: #4d6b3a; }
.chip--low  { background: var(--water-pale); color: var(--water-deep); }
.mat-foot { margin-top: 16px; font-size: .92rem; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.mat-foot svg { width: 18px; height: 18px; color: var(--leaf); flex: none; }

/* =================================================================== steps timeline */
.steps { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); }
.step {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,4vw,52px); align-items: center;
}
.step:nth-child(even) .step__media { order: -1; }
.step__num {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--clay); color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: 1.3rem;
  box-shadow: var(--shadow-sm); margin-bottom: 14px;
}
.step h3 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.step__body p { margin-top: .7em; color: var(--ink-soft); }
.step__body .tip { margin-top: 12px; font-size: .92rem; color: var(--water-deep); display: flex; gap: 8px; align-items: flex-start; }
.step__body .tip svg { width: 17px; height: 17px; flex: none; margin-top: 3px; }
.step__media {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md);
  border: 5px solid var(--paper-2); aspect-ratio: 4/3.1;
}
.step__media img { width: 100%; height: 100%; object-fit: cover; }
.step__media.tall { aspect-ratio: 3/3.5; }

.variant-tabs { display: inline-flex; background: var(--paper-3); border:1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 28px; gap: 4px; }
.variant-tabs button { border:0; background: transparent; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink-soft); }
.variant-tabs button[aria-pressed="true"] { background: var(--paper-2); color: var(--ink); box-shadow: var(--shadow-sm); }

/* =================================================================== install / securing */
.install__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(30px,5vw,56px); align-items: center; }
.install ul.checks { list-style: none; padding: 0; margin-top: 4px; }
.install ul.checks li { position: relative; padding-left: 34px; margin-bottom: 16px; color: var(--ink-soft); }
.install ul.checks li strong { color: var(--ink); }
.install ul.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--water-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E5460' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}
.install ul.checks li.warn::before {
  background: #F6E0CE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239F4A26' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='8' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* =================================================================== gallery */
.gallery { columns: 3; column-gap: 16px; }
.gallery figure { break-inside: avoid; margin: 0 0 16px; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); cursor: zoom-in; position: relative; background: var(--paper-3); }
.gallery img { width: 100%; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 22px 14px 10px;
  font-size: .82rem; color: #fff;
  background: linear-gradient(transparent, rgba(39,28,19,.7));
  opacity: 0; transition: opacity .25s;
}
.gallery figure:hover figcaption { opacity: 1; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,14,9,.92); display: none; place-items: center; padding: 30px; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--r-sm); box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 18px; right: 22px; background: rgba(255,255,255,.15); color:#fff; border:0; width: 44px; height: 44px; border-radius: 50%; font-size: 1.4rem; }
.lightbox__cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #f4ead7; font-size: .92rem; }

/* =================================================================== reviews */
.reviews__top { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.rating-summary { display: flex; align-items: center; gap: 18px; }
.rating-summary .big { font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--clay-deep); }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 20px; height: 20px; }
.star-full { color: var(--sun); fill: var(--sun); }
.star-empty { color: var(--clay-soft); fill: none; }
.rating-summary .meta { font-size: .9rem; color: var(--ink-faint); }

.review-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.review {
  background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: var(--r-md);
  padding: 22px 22px 24px; box-shadow: var(--shadow-sm);
}
.review__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--clay-pale); color: var(--clay-deep); font-weight: 700; font-family: var(--serif); }
.review__name { font-weight: 600; }
.review__date { font-size: .78rem; color: var(--ink-faint); }
.review p { color: var(--ink-soft); }
.review-empty { color: var(--ink-faint); font-style: italic; grid-column: 1/-1; padding: 10px 0; }

.review-form-card {
  margin-top: 34px; background: var(--paper-2); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); padding: clamp(22px,3vw,34px); box-shadow: var(--shadow-md);
}
.review-form-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.review-form-card > p { color: var(--ink-soft); margin-bottom: 22px; font-size: .96rem; }

/* forms */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; }
.field .opt { color: var(--ink-faint); font-weight: 400; }
input[type=text], input[type=email], textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; transition: border-color .18s, box-shadow .18s;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, textarea:focus { outline: none; border-color: var(--water); box-shadow: 0 0 0 3px rgba(46,111,126,.16); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* star input */
.star-input { display: inline-flex; gap: 4px; direction: rtl; }
.star-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.star-input label { cursor: pointer; color: var(--clay-soft); line-height: 1; }
.star-input label svg { width: 30px; height: 30px; fill: none; transition: transform .12s, fill .12s, color .12s; }
.star-input label:hover svg { transform: scale(1.15); }
.star-input input:checked ~ label svg,
.star-input label:hover svg,
.star-input label:hover ~ label svg { color: var(--sun); fill: var(--sun); }

.form-msg { margin-top: 6px; font-size: .92rem; padding: 10px 14px; border-radius: var(--r-sm); display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: #E2EDD7; color: #46632f; }
.form-msg.err { background: #F6DAD0; color: #9F4A26; }

/* =================================================================== faq */
.faq { max-width: 820px; }
.faq details {
  border-bottom: 1px solid var(--line); padding: 6px 0;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 40px 16px 4px;
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.6rem; color: var(--clay); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 40px 18px 4px; color: var(--ink-soft); }

/* =================================================================== footer */
.site-footer {
  background: var(--ink); color: var(--paper); margin-top: 0;
  padding-block: clamp(48px, 7vw, 80px);
}
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-family: var(--serif); color: var(--paper-2); font-size: 1.5rem; margin-bottom: 10px; }
.site-footer p, .site-footer a { color: rgba(244,234,215,.72); }
.site-footer a { text-decoration: none; display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--paper-2); }
.site-footer .col h5 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-soft); margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(244,234,215,.14); margin-top: 36px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: .85rem; color: rgba(244,234,215,.55); }
.paw { color: var(--clay-soft); }

/* =================================================================== modal */
.modal { position: fixed; inset: 0; z-index: 90; display: none; }
.modal.open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(20,14,9,.55); backdrop-filter: blur(3px); }
.modal__panel {
  position: relative; z-index: 1; background: var(--paper-2);
  width: min(540px, 92vw); margin: 8vh auto 0; border-radius: var(--r-lg);
  padding: clamp(24px,4vw,38px); box-shadow: var(--shadow-lg);
  max-height: 84vh; overflow-y: auto;
  animation: pop .25s ease;
}
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0 } to { transform: none; opacity: 1 } }
.modal__panel h3 { font-size: 1.7rem; }
.modal__panel > p { color: var(--ink-soft); margin: 6px 0 22px; }
.modal__close { position: absolute; top: 14px; right: 16px; background: var(--paper-3); border:0; width: 38px; height: 38px; border-radius: 50%; font-size: 1.2rem; color: var(--ink-soft); }

/* =================================================================== toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--paper-2); padding: 12px 20px; border-radius: 999px;
  box-shadow: var(--shadow-lg); font-size: .92rem; opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s; z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =================================================================== reveal anim */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s } .reveal.d2 { transition-delay: .16s } .reveal.d3 { transition-delay: .24s }
.reveal.d4 { transition-delay: .32s } .reveal.d5 { transition-delay: .40s } .reveal.d6 { transition-delay: .48s }

/* hero load animation */
.hero [data-anim] { opacity: 0; transform: translateY(20px); animation: heroIn .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero [data-anim="1"]{animation-delay:.05s}.hero [data-anim="2"]{animation-delay:.15s}
.hero [data-anim="3"]{animation-delay:.25s}.hero [data-anim="4"]{animation-delay:.35s}
.hero [data-anim="5"]{animation-delay:.5s}
@keyframes heroIn { to { opacity: 1; transform: none } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero [data-anim] { opacity: 1; transform: none; }
}

/* =================================================================== responsive */
@media (max-width: 960px) {
  .cards, .tool-grid { grid-template-columns: repeat(2,1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; margin-inline: auto; }
  .how__grid, .install__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .site-header__inner { gap: 10px; }
  .suggest-btn__txt { display: none; }
  .suggest-btn { padding: 9px 11px; }
  .menu-toggle {
    display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
    background: var(--paper-3); border: 1px solid var(--line); color: var(--ink);
  }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 12px var(--gut) 18px; gap: 2px;
  }
  .nav.open a { padding: 12px; border-radius: 10px; }
  .step, .step:nth-child(even) .step__media { grid-template-columns: 1fr; }
  .step:nth-child(even) .step__media { order: 0; }
  .step__media { aspect-ratio: 16/11; }
  .form-row { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 28px; }
  .brand__txt span { display: none; }
}
@media (max-width: 480px) {
  .cards, .tool-grid { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .hero__stats { gap: 20px; }
}
