/* ==========================================================================
   Smart Nest Detail — Master Stylesheet
   Warm & homey palette: terracotta / cream / olive / gold
   ========================================================================== */

:root {
  --terracotta: #c2603c;
  --terracotta-dark: #a34a2c;
  --terracotta-soft: #e8b79f;
  --cream: #fbf6f1;
  --cream-2: #f5ebe2;
  --cream-3: #efe1d4;
  --olive: #6e7a50;
  --olive-dark: #53603b;
  --olive-soft: #dfe3d1;
  --ink: #2c2723;
  --ink-soft: #453d36;
  --muted: #6f645c;
  --gold: #d8a15c;
  --white: #ffffff;
  --line: #e8dccf;
  --shadow-sm: 0 2px 8px rgba(44, 39, 35, .06);
  --shadow: 0 10px 30px rgba(44, 39, 35, .09);
  --shadow-lg: 0 22px 55px rgba(44, 39, 35, .14);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --serif: Georgia, "Times New Roman", "Iowan Old Style", serif;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --header-h: 74px;
}

/* ------------------------------ Reset ---------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--terracotta-dark); text-decoration: none; }
a:hover { color: var(--terracotta); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.22;
  margin: 0 0 .55em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.22rem; }
h4 { font-size: 1.03rem; }
p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }
blockquote {
  margin: 1.4em 0;
  padding: 1.1em 1.4em;
  border-left: 4px solid var(--terracotta-soft);
  background: var(--cream-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--serif);
  color: var(--ink);
  font-size: 1.06rem;
}
hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* --------------------------- Layout helpers ---------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap-narrow { max-width: 860px; }
.section { padding: 82px 0; }
.section-tight { padding: 58px 0; }
.section-cream { background: var(--cream-2); }
.section-white { background: var(--white); }
.section-olive { background: var(--olive-dark); color: #f1efe4; }
.section-olive h2, .section-olive h3 { color: #fff; }
.section-ink { background: #332c27; color: #ece6df; }
.section-ink h2, .section-ink h3 { color: #fff; }
.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .19em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: .7rem;
}
.section-olive .eyebrow, .section-ink .eyebrow { color: var(--gold); }
.lead { font-size: 1.1rem; color: var(--muted); }
.section-olive .lead, .section-ink .lead { color: #ded9cb; }
.section-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

/* ------------------------------ Buttons -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .96rem;
  letter-spacing: .01em;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-align: center;
}
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 10px 22px rgba(194, 96, 60, .28); }
.btn-primary:hover { background: var(--terracotta-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--terracotta); color: var(--terracotta-dark); background: transparent; }
.btn-outline:hover { background: var(--terracotta); color: #fff; transform: translateY(-2px); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.btn-olive { background: var(--olive); color: #fff; }
.btn-olive:hover { background: var(--olive-dark); color: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ------------------------------- Topbar -------------------------------- */
.topbar {
  background: var(--ink);
  color: #d9d2c9;
  font-size: .86rem;
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  padding-bottom: 9px;
}
.topbar a { color: #f0e7de; }
.topbar a:hover { color: var(--gold); }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 15px; height: 15px; fill: var(--gold); flex: none; }

/* ------------------------------- Header -------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 246, 241, .96);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 13px;
  background: linear-gradient(150deg, var(--terracotta) 0%, var(--gold) 100%);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  flex: none;
}
.brand-mark svg { width: 25px; height: 25px; fill: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.16rem; color: var(--ink); }
.brand-tag { font-size: .68rem; letter-spacing: .17em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: .93rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 9px 13px;
  border-radius: 999px;
  white-space: nowrap;
}
.nav a:hover { background: var(--cream-3); color: var(--terracotta-dark); }
.nav a.active { color: var(--terracotta-dark); background: var(--cream-3); }
.nav .nav-cta { background: var(--terracotta); color: #fff; padding: 11px 20px; margin-left: 6px; }
.nav .nav-cta:hover { background: var(--terracotta-dark); color: #fff; }

.nav-toggle {
  display: none;
  width: 46px; height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 3px auto; transition: .2s; }

/* -------------------------------- Hero --------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  align-items: center;
  padding: 76px 0 86px;
}
.hero h1 { margin-bottom: .5em; }
.hero .lead { font-size: 1.15rem; margin-bottom: 1.6em; }
.hero-media { position: relative; }
.hero-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  width: 100%;
}
.hero-badge {
  position: absolute;
  left: -18px;
  bottom: 26px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 285px;
  border: 1px solid var(--line);
}
.hero-badge svg { width: 30px; height: 30px; fill: var(--olive); flex: none; }
.hero-badge strong { display: block; font-family: var(--serif); color: var(--ink); font-size: 1rem; }
.hero-badge span { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-pill {
  font-size: .82rem;
  font-weight: 600;
  color: var(--olive-dark);
  background: var(--olive-soft);
  padding: 7px 14px;
  border-radius: 999px;
}
.hero-strip {
  border-top: 1px solid var(--line);
  background: var(--cream-2);
}
.hero-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 30px;
  padding: 20px 22px;
}
.strip-item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: .92rem; }
.strip-item svg { width: 20px; height: 20px; fill: var(--terracotta); flex: none; }

/* ------------------------------ Page hero ------------------------------ */
.page-hero {
  background: linear-gradient(160deg, var(--cream-3) 0%, var(--cream) 70%);
  border-bottom: 1px solid var(--line);
  padding: 62px 0 56px;
  text-align: center;
}
.page-hero h1 { margin-bottom: .35em; }
.page-hero .lead { max-width: 700px; margin: 0 auto; }
.crumbs { font-size: .85rem; color: var(--muted); margin-top: 16px; }
.crumbs a { color: var(--terracotta-dark); font-weight: 600; }

/* -------------------------------- Cards -------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-media { position: relative; }
.card-media img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card-body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: .45em; }
.card-body p { color: var(--muted); font-size: .96rem; }
.card-icon {
  position: absolute;
  right: 16px; bottom: -22px;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.card-icon svg { width: 24px; height: 24px; fill: var(--terracotta); }
.card-link {
  margin-top: auto;
  font-weight: 700;
  font-size: .9rem;
  color: var(--terracotta-dark);
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding-top: 12px;
}
.card-link::after { content: "→"; transition: transform .18s ease; }
.card-link:hover::after { transform: translateX(4px); }

/* Feature / value cards (no image) */
.tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.tile .tile-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--cream-2);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.tile .tile-icon svg { width: 27px; height: 27px; fill: var(--terracotta); }
.tile h3 { font-size: 1.12rem; margin-bottom: .4em; }
.tile p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.tile-olive .tile-icon { background: var(--olive-soft); }
.tile-olive .tile-icon svg { fill: var(--olive-dark); }

/* Split content block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/3.2; object-fit: cover; width: 100%; }
.split-media.framed { position: relative; }
.split-media.framed::after {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 2px dashed var(--terracotta-soft);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: .7em; }
.checklist svg { width: 21px; height: 21px; fill: var(--olive); flex: none; margin-top: 4px; }
.checklist strong { color: var(--ink); }

/* ------------------------------- Steps --------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.section-cream .step, .section-white .step { background: var(--white); border-color: var(--line); }
.step-num {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold);
  color: #3a2c1c;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.08rem; }
.step p { font-size: .93rem; margin: 0; color: var(--muted); }
.section-olive .step p, .section-ink .step p { color: #ded9cb; }

/* ----------------------------- Blog cards ------------------------------ */
.post-card .post-meta {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--olive-dark);
  font-weight: 700;
  margin-bottom: .5em;
}
.post-card h3 { font-size: 1.16rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--terracotta-dark); }

/* ------------------------------- Quotes -------------------------------- */
.quote-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.stars svg { width: 18px; height: 18px; fill: var(--gold); }
.quote-card p { font-family: var(--serif); color: var(--ink); font-size: 1.02rem; }
.who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.who .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(140deg, var(--terracotta-soft), var(--gold));
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; color: #4a2f20;
}
.who strong { display: block; color: var(--ink); font-size: .95rem; }
.who span { font-size: .83rem; color: var(--muted); }

/* --------------------------------- CTA --------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--terracotta) 0%, #a8502f 55%, var(--olive-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 54px 46px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #f6e6dc; max-width: 620px; margin: 0 auto 1.6em; }
.cta-band .btn-cream:hover { background: var(--gold); }

/* -------------------------------- Forms -------------------------------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 38px 36px;
}
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 8px; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .84rem; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 15px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(194, 96, 60, .13);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; background: #fdf4f3; }
.err { display: none; color: #a72f22; font-size: .84rem; margin-top: 7px; font-weight: 600; }
.field.invalid .err { display: block; }

.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--terracotta); flex: none; }
.check label { font-weight: 400; font-size: .92rem; color: var(--muted); margin: 0; }
.check.invalid label { color: #a72f22; font-weight: 600; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.form-success {
  display: none;
  background: var(--olive-soft);
  border: 1px solid #c3cbab;
  color: var(--olive-dark);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 24px;
  font-weight: 600;
}
.form-success.show { display: block; }
.form-success svg { width: 20px; height: 20px; fill: var(--olive-dark); vertical-align: -4px; margin-right: 6px; }
.contact-aside {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
}
.info-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .info-ico {
  width: 44px; height: 44px; border-radius: 13px; background: var(--white);
  border: 1px solid var(--line); display: grid; place-items: center; flex: none;
}
.info-row .info-ico svg { width: 20px; height: 20px; fill: var(--terracotta); }
.info-row strong { display: block; font-family: var(--serif); color: var(--ink); font-size: 1rem; }
.info-row span, .info-row a { font-size: .95rem; }
.info-row span { color: var(--muted); }

/* ------------------------------- Content ------------------------------- */
.prose { max-width: 800px; }
.prose h2 { margin-top: 1.9em; }
.prose h3 { margin-top: 1.5em; }
.prose ul li, .prose ol li { color: var(--ink-soft); }
.policy-list { list-style: none; padding-left: 0; }
.policy-list li { padding-left: 26px; position: relative; }
.policy-list li::before {
  content: "";
  position: absolute; left: 6px; top: .68em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--terracotta);
}
.toc {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-bottom: 40px;
}
.toc h3 { margin-bottom: .6em; font-size: 1.05rem; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin-bottom: .35em; font-size: .95rem; }

/* Article layout */
.article { background: var(--white); }
.article-hero img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 16/8; object-fit: cover; margin-bottom: 40px; }
.article-body { font-size: 1.06rem; }
.article-body > p:first-of-type { font-size: 1.14rem; color: var(--ink); }
.share-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 34px 0; }
.chip {
  font-size: .84rem; font-weight: 600; background: var(--cream-2);
  border: 1px solid var(--line); color: var(--olive-dark);
  padding: 7px 15px; border-radius: 999px;
}
.author-box {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--cream-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 28px; margin-top: 34px;
}
.author-box .avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(140deg, var(--terracotta-soft), var(--gold));
  display: grid; place-items: center; font-family: var(--serif);
  font-weight: 700; font-size: 1.25rem; color: #4a2f20; flex: none;
}
.author-box p { margin: 0; font-size: .95rem; color: var(--muted); }
.author-box strong { color: var(--ink); font-family: var(--serif); font-size: 1.05rem; }

/* Service detail rows */
.service-row {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px;
  align-items: center; padding: 54px 0; border-bottom: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 0; }
.service-row.flip .service-row-media { order: 2; }
.service-row-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.service-row h2 { font-size: 1.75rem; margin-bottom: .4em; }
.service-num {
  display: inline-block; font-family: var(--serif); font-weight: 700;
  color: var(--terracotta); letter-spacing: .06em; font-size: .95rem; margin-bottom: .3em;
}
.mini-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin: 0 0 1.5em; }
.mini-list li { display: flex; gap: 9px; align-items: flex-start; font-size: .93rem; margin: 0; }
.mini-list svg { width: 17px; height: 17px; fill: var(--olive); flex: none; margin-top: 5px; }

/* Newsletter panel */
.newsletter-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center;
}
.newsletter-aside h2 { color: #fff; }
.newsletter-aside .lead { color: #ded9cb; }

/* FAQ */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 14px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 24px; font-family: var(--serif); font-size: 1.04rem; font-weight: 700;
  color: var(--ink); display: flex; justify-content: space-between; gap: 18px; align-items: center;
}
.faq-q .plus { font-size: 1.4rem; color: var(--terracotta); line-height: 1; transition: transform .2s ease; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 24px 22px; color: var(--muted); font-size: .97rem; }
.faq-item.open .faq-a { display: block; }

/* ------------------------------- Footer -------------------------------- */
.site-footer { background: #2f2823; color: #cdc4ba; padding: 66px 0 0; font-size: .95rem; margin-top: 0; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1em; }
.site-footer a { color: #ddd4ca; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: #a89e93; }
.footer-brand p { margin-top: 16px; color: #b4aa9f; font-size: .93rem; line-height: 1.7; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px; border-radius: 11px;
  background: rgba(255, 255, 255, .08);
  display: grid; place-items: center;
}
.socials a:hover { background: var(--terracotta); }
.socials svg { width: 17px; height: 17px; fill: #eee6de; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6em; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 11px; margin-bottom: .9em; }
.footer-contact svg { width: 17px; height: 17px; fill: var(--gold); flex: none; margin-top: 5px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0;
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  justify-content: space-between; align-items: center;
  font-size: .87rem; color: #a89e93;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* Cookie/notice strip */
.notice-strip {
  background: var(--olive-soft);
  border-bottom: 1px solid #ccd3b8;
  font-size: .88rem;
  color: var(--olive-dark);
  padding: 11px 0;
}
.notice-strip .wrap { display: flex; gap: 14px; align-items: center; justify-content: center; text-align: center; }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--terracotta); color: #fff; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--terracotta-dark); transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; fill: #fff; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------ Responsive ----------------------------- */
@media (max-width: 1040px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 14px 22px 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: var(--radius-sm); }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 52px 0 62px; }
  .hero-badge { left: 12px; bottom: -14px; }
  .split, .split.reverse .split-media { grid-template-columns: 1fr; order: 0; gap: 34px; }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .newsletter-panel { grid-template-columns: 1fr; gap: 30px; }
  .service-row { grid-template-columns: 1fr; gap: 26px; padding: 40px 0; }
  .service-row.flip .service-row-media { order: 0; }
  .cta-band { padding: 42px 26px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 58px 0; }
  .g-2, .g-3, .g-4, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .topbar .wrap { justify-content: center; font-size: .8rem; }
  .mini-list { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}
@media print {
  .site-header, .topbar, .to-top, .cta-band { display: none; }
}
