/* Redstone Family Law — landing page (v2)
   Brand colours and fonts from redstonefamilylaw.vercel.app,
   with its own layout and component language. */

:root {
  --burgundy: #7A1E23;
  --burgundy-dark: #5B1112;
  --wine: #4A1417;
  --charcoal: #2F2F33;
  --ink: #232327;
  --stone: #E8E1DA;
  --sand: #F2ECE6;
  --cream: #FAF8F5;
  --white: #FFFFFF;
  --muted: #5E5E63;
  --rose: #E9C9C6;

  --font-heading: 'Crimson Pro', Georgia, 'Times New Roman', serif;
  --font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --text-h1: clamp(2.3rem, 1.6rem + 2.8vw, 3.9rem);
  --text-h2: clamp(1.95rem, 1.5rem + 1.8vw, 3rem);
  --text-body: 1.0625rem;

  --section-pad: clamp(4rem, 3rem + 4vw, 7rem);
  --container: 1200px;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 18px 40px -22px rgba(47, 47, 51, .45);
  --header-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: var(--text-body); line-height: 1.65;
  color: var(--charcoal); background: var(--cream); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.text-danger{color:red;}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--burgundy); }
a:hover { color: var(--burgundy-dark); }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 500; line-height: 1.15; margin: 0; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
.ico { width: 1.1em; height: 1.1em; flex: none; }
:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; }
.hero__content :focus-visible, .why :focus-visible, .contact__lead :focus-visible, .footer :focus-visible { outline-color: var(--white); }

.skiplink { position: absolute; left: 1rem; top: -4rem; z-index: 300; background: var(--burgundy); color: var(--white); padding: .75rem 1rem; border-radius: var(--radius-sm); }
.skiplink:focus { top: 1rem; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem;
  font-family: var(--font-heading); font-style: italic; font-size: 1.2rem; font-weight: 500; color: var(--burgundy);
}
.kicker::before { content: ""; width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); flex: none; }
.kicker--light { color: var(--rose); }
.h2 { font-size: var(--text-h2); margin-bottom: 1.25rem; max-width: 20ch; }
.h2--light { color: var(--white); }

.sec { padding: var(--section-pad) 0; position: relative; }
.sec--cream { background: var(--cream); }
.sec--white { background: var(--white); }

.sechead { margin-bottom: clamp(2.25rem, 1.75rem + 2vw, 3.5rem); }
.sechead__intro { color: var(--muted); max-width: 58ch; margin: 0; }
.sechead--center { text-align: center; }
.sechead--center .h2, .sechead--center .sechead__intro { margin-left: auto; margin-right: auto; }
.sechead--center .h2 { margin-bottom: 1rem; }
.sechead--split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.sechead--split .h2 { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .75rem 1.5rem; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .9rem; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; line-height: 1.2;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn--primary { background: var(--burgundy); color: var(--white); box-shadow: 0 10px 22px -12px rgba(122, 30, 35, .8); }
.btn--primary:hover { background: var(--burgundy-dark); color: var(--white); }
.btn--outline { background: transparent; color: var(--burgundy); border-color: currentColor; }
.btn--outline:hover { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }
.btn--on-dark { color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--on-dark:hover { background: var(--white); border-color: var(--white); color: var(--charcoal); }
.btn--sm { min-height: 44px; padding: .55rem 1rem; font-size: .82rem; }
.btn--icon { width: 44px; padding: 0; flex: none; }
.btn--block { width: 100%; }

.cta-pair { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.cta-pair--center { justify-content: center; margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
@media (max-width: 480px) {
  .cta-pair .btn { flex: 1 1 100%; }
}

/* ---------- Scroll reveal (only when JS runs) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ================= HEADER ================= */
.header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); background: var(--cream); border-bottom: 1px solid var(--stone); transition: box-shadow .35s, height .35s; }
.header__inner { height: 100%; display: flex; align-items: center; gap: 1.25rem; }
.brand { flex: none; display: block; position: relative; }
.brand__logo { height: 46px; width: auto; transition: opacity .3s; }
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.35); height: 72px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: .15rem; }
.nav__link {
  display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .85rem; border-radius: 999px;
  background: none; border: 0; cursor: pointer; font: 500 .92rem/1 var(--font-body); color: var(--charcoal); text-decoration: none;
  transition: background-color .25s, color .25s;
}
.nav__link:hover { background: var(--sand); color: var(--burgundy); }
.nav__link.is-active { background: var(--burgundy); color: var(--white); }
/* Header call button */
.callbtn { flex: none; min-height: 48px; padding: .6rem 1.25rem; font-size: .95rem; margin-left: .5rem; white-space: nowrap; }
.callbtn .ico { width: 18px; height: 18px; }
.callbtn:hover .ico { animation: wiggle .5s ease; }
@keyframes wiggle { 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 11px 10px; }
.burger span { display: block; height: 2px; background: var(--charcoal); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.header.is-scrolled .burger span, .nav-open .burger span { background: var(--charcoal); }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.navscrim { display: none; }

@media (max-width: 1180px) {
  .nav__link { padding: .55rem .6rem; font-size: .86rem; }
  .callbtn { padding: .6rem 1rem; }
}
@media (max-width: 960px) {
  .burger { display: block; }
  .callbtn { margin-left: auto; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); margin: 0;
    background: var(--cream); padding: 88px 1.25rem 2rem; overflow-y: auto;
    transform: translateX(100%); transition: transform .4s var(--ease); z-index: -1;
  }
  .nav-open .nav { transform: none; box-shadow: -20px 0 40px rgba(0,0,0,.25); }
  .navscrim { display: block; position: fixed; inset: 0; z-index: 99; background: rgba(35,35,39,.5); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
  .nav-open .navscrim { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: .15rem; }
  .nav__link { color: var(--charcoal); width: 100%; justify-content: space-between; padding: .95rem 1rem; font-size: 1rem; border-radius: var(--radius-sm); }
  .nav__link:hover { background: var(--sand); color: var(--burgundy); }
  .nav__link.is-active { background: var(--burgundy); color: var(--white); }
}

/* ================= HERO ================= */
.hero {
  position: relative; color: #E6E2DE; overflow: hidden; background: var(--ink);
  padding: calc(var(--header-h) + clamp(2.5rem, 1.5rem + 4vw, 4.5rem)) 0 clamp(4rem, 3rem + 4vw, 6.5rem);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(35,35,39,.96) 0%, rgba(35,35,39,.86) 42%, rgba(74,20,23,.55) 100%),
    linear-gradient(0deg, rgba(35,35,39,.6), transparent 40%);
}
.hero__grid { position: relative; z-index: 2; display: grid; gap: 2.75rem; align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; } }
.hero__content > * { animation: rise .9s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .08s; }
.hero__content > :nth-child(3) { animation-delay: .16s; }
.hero__content > :nth-child(4) { animation-delay: .24s; }
.hero__content > :nth-child(5) { animation-delay: .32s; }
.hero .formcard { animation: rise 1s .2s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.hero__title { font-size: var(--text-h1); color: var(--white); margin-bottom: 1.35rem; max-width: 17ch; }
.hero__lede { max-width: 56ch; color: #D9D6D2; }
.hero__facts { margin: 1.6rem 0 2rem; display: grid; gap: .7rem; }
.hero__facts li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.hero__facts .ico { width: 22px; height: 22px; color: var(--rose); margin-top: 1px; }
.hero__phone { display: inline-flex; align-items: center; gap: .9rem; color: var(--white); text-decoration: none; }
.hero__phone:hover { color: var(--white); }
.hero__phone-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.45); transition: background-color .25s, border-color .25s; }
.hero__phone:hover .hero__phone-icon { background: var(--burgundy); border-color: var(--burgundy); }
.hero__phone-icon .ico { width: 22px; height: 22px; }
.hero__phone span:last-child { display: flex; flex-direction: column; font-family: var(--font-heading); font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); line-height: 1.1; }
.hero__phone small { font-family: var(--font-body); font-size: .78rem; opacity: .75; margin-bottom: .2rem; }

/* ---------- Form card (hero + contact) ---------- */
.formcard {
  position: relative; background: var(--white); color: var(--charcoal); border-radius: var(--radius);
  padding: clamp(1.4rem, 1rem + 2vw, 2.3rem); box-shadow: 0 30px 60px -24px rgba(0,0,0,.55);
  border-top: 5px solid var(--burgundy);
}
.formcard__title { font-size: clamp(1.6rem, 1.4rem + .8vw, 1.95rem); margin-bottom: .3rem; }
.formcard__sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.3rem; }
.formcard__note { font-size: .75rem; color: var(--muted); margin: .85rem 0 0; line-height: 1.5; }
.leadform { display: grid; gap: .9rem; }
.field-row { display: grid; gap: .9rem; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: .35rem; }
.field label em { font-weight: 400; font-style: normal; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 .95rem/1.4 var(--font-body); color: var(--charcoal);
  background: var(--cream); border: 1.5px solid var(--stone); border-radius: var(--radius-sm);
  padding: .75rem .85rem; transition: border-color .2s, background-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237A1E23' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 12px; padding-right: 2.4rem;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(122,30,35,.12); }
.field.has-error input, .field.has-error select { border-color: #B3261E; background: #FDF3F2; }
.field.is-flash select { animation: flash 1.2s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(122,30,35,0); } 30% { box-shadow: 0 0 0 5px rgba(122,30,35,.25); } }
.field__err { display: block; font-size: .75rem; color: #B3261E; margin-top: .25rem; }
.field__err:empty { display: none; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; cursor: pointer; }
.check input { accent-color: var(--burgundy); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.formsuccess { text-align: center; padding: 1.5rem 0 .5rem; }
.formsuccess:focus { outline: none; }
.formsuccess__icon { display: inline-grid; color: var(--burgundy); margin-bottom: .75rem; }
.formsuccess__icon .ico { width: 56px; height: 56px; }
.formsuccess h3 { font-size: 1.6rem; margin-bottom: .6rem; }

/* ================= ABOUT ================= */
.about__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 1fr 1.1fr; gap: clamp(3rem, 2rem + 4vw, 5rem); align-items: stretch; } }
.about__portrait { position: relative; margin: 0; width: 100%; padding: 0 1.25rem 1.25rem 0; display: flex; flex-direction: column; }
.about__pic { position: relative; flex: 1; min-height: 420px; }
.about__pic::before { content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 2px solid var(--burgundy); border-radius: var(--radius); }
.about__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; border-radius: var(--radius); background: var(--charcoal); }
.about__portrait figcaption {
  position: absolute; right: 2.5rem; bottom: 2.5rem; max-width: 80%;
  background: var(--burgundy); color: var(--rose); padding: .9rem 1.25rem; border-radius: var(--radius-sm); font-size: .82rem; box-shadow: var(--shadow);
}
.about__portrait figcaption strong { display: block; font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600; color: var(--white); line-height: 1.2; }
@media (max-width: 899px) { .about__pic { aspect-ratio: 4/5; min-height: 0; flex: none; } .about__portrait { max-width: 520px; margin: 0 auto; } }
@media (max-width: 520px) { .about__portrait figcaption { right: 2rem; bottom: 2rem; } }
.about__body > p { max-width: 64ch; }
.about__quote { margin: 1.75rem 0; padding: 1.25rem 1.5rem; background: var(--sand); border-radius: var(--radius-sm); position: relative; }
.about__quote::before { content: "\201C"; position: absolute; top: -.6rem; left: 1rem; font-family: var(--font-heading); font-size: 4rem; line-height: 1; color: var(--burgundy); }
.about__quote p { font-family: var(--font-heading); font-style: italic; font-size: clamp(1.2rem, 1.1rem + .5vw, 1.45rem); line-height: 1.45; margin: 0; padding-top: .6rem; }
.creds { display: grid; gap: 1rem; }
@media (min-width: 600px) { .creds { grid-template-columns: 1fr 1fr; } }
.creds li { display: flex; gap: .9rem; align-items: flex-start; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.creds__icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--burgundy); box-shadow: 0 0 0 1px var(--stone); }
.creds__icon svg { width: 21px; height: 21px; }
.creds strong { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 1.15rem; color: var(--charcoal); margin-bottom: .1rem; }

/* ================= SERVICES (4-up boxes) ================= */
.services { background: var(--sand); }
.svcgrid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.svc {
  --cols: 4;
  flex: 0 0 calc((100% - 1.5rem * (var(--cols) - 1)) / var(--cols));
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border-radius: var(--radius); box-shadow: 0 1px 0 var(--stone), 0 10px 30px -24px rgba(47,47,51,.5);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .7s var(--ease);
}
.svc::after { /* burgundy bar that sweeps in on hover */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--burgundy);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.js .svc[data-reveal].is-in:hover, .svc:hover, .svc:focus-within { transform: translateY(-8px); box-shadow: 0 28px 50px -26px rgba(74,20,23,.55); }
.svc:hover::after, .svc:focus-within::after { transform: scaleX(1); }
.svc:target { box-shadow: 0 0 0 3px var(--burgundy), 0 28px 50px -26px rgba(74,20,23,.55); }
.svc__media { margin: 0; aspect-ratio: 16/10; overflow: hidden; position: relative; background: var(--charcoal); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .6s; filter: saturate(.85); }
.svc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(74,20,23,.55)); opacity: .8; transition: opacity .5s; }
.svc:hover .svc__media img { transform: scale(1.08); filter: saturate(1.05); }
.svc:hover .svc__media::after { opacity: .35; }
.svc__body { padding: 1.3rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.svc__title { font-size: 1.32rem; font-weight: 600; margin-bottom: .55rem; transition: color .3s; }
.svc:hover .svc__title { color: var(--burgundy); }
.svc p { font-size: .87rem; line-height: 1.6; color: var(--muted); margin: 0 0 1.25rem; }
.svc__actions { margin-top: auto; display: flex; gap: .5rem; }
.svc__actions .btn--primary { flex: 1; }
.svc__actions .btn--primary .ico { transition: transform .35s var(--ease); }
.svc__actions .btn--primary:hover .ico { transform: rotate(-8deg) scale(1.1); }
@media (max-width: 1099px) { .svc { --cols: 3; } }
@media (max-width: 820px)  { .svc { --cols: 2; } .svcgrid { gap: 1.25rem; } .svc { flex-basis: calc((100% - 1.25rem) / 2); } }
@media (max-width: 560px)  { .svc { flex-basis: 100%; } }

/* ================= PROCESS ================= */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; counter-reset: none; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 2rem 1.5rem 1.75rem;
  box-shadow: 0 1px 0 var(--stone), 0 10px 30px -24px rgba(47,47,51,.5); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .7s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: 0 26px 46px -26px rgba(74,20,23,.5); }
.step::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--burgundy); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.step:hover::before { transform: scaleX(1); }
.step__num {
  position: absolute; top: .6rem; right: 1.1rem; font-family: var(--font-heading); font-size: 4.5rem; font-weight: 600; line-height: 1;
  color: var(--sand); transition: color .4s;
}
.step:hover .step__num { color: #EBD8D5; }
.step__icon { position: relative; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--burgundy); color: var(--white); margin-bottom: 1.25rem; }
.step__icon svg { width: 24px; height: 24px; }
.step__title { position: relative; font-size: 1.4rem; font-weight: 600; margin-bottom: .55rem; }
.step p { position: relative; font-size: .9rem; color: var(--muted); margin: 0; }

/* ================= WHY ================= */
.why { background: linear-gradient(160deg, var(--wine) 0%, var(--burgundy-dark) 55%, #3E1013 100%); color: #EADBD8; overflow: hidden; }
.why::before { /* faint oversized logo-inspired diamond */
  content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -200px;
  border: 1px solid rgba(255,255,255,.08); transform: rotate(45deg); pointer-events: none;
}
.why__grid { display: grid; gap: 3rem; align-items: center; position: relative; }
@media (min-width: 900px) { .why__grid { grid-template-columns: 1.15fr .85fr; gap: 4.5rem; } }
.why__intro { max-width: 56ch; }
.why__photo { margin: 0; position: relative; }
.why__photo img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--radius); }
.why__badge {
  position: absolute; left: -1rem; bottom: -1.25rem; background: var(--white); color: var(--muted);
  padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-size: .82rem; box-shadow: var(--shadow); max-width: 220px;
}
.why__badge strong { display: block; font-family: var(--font-heading); font-size: 1.6rem; color: var(--burgundy); line-height: 1.1; }
@media (max-width: 600px) { .why__badge { left: .75rem; } }

.pillars { display: grid; gap: 1.25rem; margin-top: clamp(3.5rem, 2.5rem + 3vw, 5rem); position: relative; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar {
  padding: 1.75rem 1.5rem; border-radius: var(--radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  transition: background-color .35s, border-color .35s, transform .45s var(--ease), opacity .7s var(--ease);
}
.pillar:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); }
.pillar__plate { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.1rem; border-radius: 50%; background: var(--white); color: var(--burgundy); }
.pillar__plate svg { width: 24px; height: 24px; }
.pillar__title { font-size: 1.55rem; color: var(--white); margin-bottom: .45rem; }
.pillar p { font-size: .9rem; margin: 0; }

/* ================= TESTIMONIALS ================= */
.tslider__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 1.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; padding: .5rem .25rem 1rem;
}
.tslider__track::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .tslider__track { grid-auto-columns: calc((100% - 1.5rem) / 2); } }
@media (min-width: 1100px) { .tslider__track { grid-auto-columns: calc((100% - 3rem) / 3); } }
.tcard {
  scroll-snap-align: start; margin: 0; background: var(--white); padding: 1.9rem 1.75rem 1.6rem; border-radius: var(--radius);
  display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--stone), 0 16px 34px -26px rgba(47,47,51,.55);
}
.tcard__stars { color: #B8862E; letter-spacing: .15em; font-size: 1rem; margin-bottom: .9rem; }
.tcard blockquote { margin: 0 0 1.4rem; flex: 1; }
.tcard blockquote p { font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.5; margin: 0; }
.tcard figcaption { display: flex; align-items: center; gap: .8rem; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--stone); padding-top: 1rem; }
.tcard figcaption strong { display: block; color: var(--charcoal); font-size: .92rem; }
.tcard__avatar { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--burgundy); color: var(--white); font-weight: 600; font-size: .8rem; }
.tslider__ctrl { display: flex; gap: .5rem; }
.tslider__btn { width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; border-radius: 50%; background: var(--white); color: var(--burgundy); border: 1.5px solid var(--stone); transition: background-color .25s, color .25s, border-color .25s; }
.tslider__btn:hover:not(:disabled) { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }
.tslider__btn:disabled { opacity: .4; cursor: default; }
.tslider__btn svg { width: 20px; height: 20px; }
.tslider__dots { display: flex; justify-content: center; gap: .5rem; margin-top: .75rem; }
.tslider__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: #D5CBC2; cursor: pointer; transition: width .3s var(--ease), background-color .3s; }
.tslider__dots button[aria-selected="true"] { width: 28px; background: var(--burgundy); }

/* ================= FAQ ================= */
.faq__grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 2rem + 4vw, 5rem); align-items: start; } .faq__lead { position: sticky; top: 100px; } }
.faq__lead > p { color: var(--muted); max-width: 42ch; }
.faq__img { margin: 1.5rem 0 0; }
.faq__img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 899px) { .faq__img { display: none; } }
.accordion { display: grid; gap: .75rem; }
.qa { border: 1px solid var(--stone); border-radius: var(--radius); background: var(--cream); transition: background-color .3s, border-color .3s, box-shadow .3s; }
.qa.is-open { background: var(--white); border-color: rgba(122,30,35,.35); box-shadow: 0 16px 34px -26px rgba(74,20,23,.5); }
.qa h3 { font-size: inherit; }
.qa__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem;
  padding: 1.2rem 1.35rem; background: none; border: 0; cursor: pointer; text-align: left; border-radius: var(--radius);
  font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.15rem, 1.08rem + .35vw, 1.35rem); color: var(--charcoal); transition: color .2s;
}
.qa__btn:hover, .qa.is-open .qa__btn { color: var(--burgundy); }
.qa__icon { position: relative; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--stone); transition: background-color .3s, transform .4s var(--ease); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--burgundy); transform: translate(-50%, -50%); transition: transform .3s var(--ease), background-color .3s; }
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa.is-open .qa__icon { background: var(--burgundy); box-shadow: none; transform: rotate(180deg); }
.qa.is-open .qa__icon::before, .qa.is-open .qa__icon::after { background: var(--white); }
.qa.is-open .qa__icon::after { transform: translate(-50%, -50%) rotate(0); }
.qa__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.qa__panel > div { overflow: hidden; }
.qa.is-open .qa__panel { grid-template-rows: 1fr; }
.qa__panel p { color: var(--muted); padding: 0 1.35rem 1.3rem; margin: 0; max-width: 68ch; font-size: .96rem; }

/* ================= CONTACT ================= */
.contact { color: #E6E2DE; background: var(--ink); overflow: hidden; }
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(35,35,39,.96) 0%, rgba(35,35,39,.9) 45%, rgba(74,20,23,.9) 100%); }
.contact__grid { position: relative; z-index: 2; display: grid; gap: 3rem; align-items: start; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; } }
.contact__lead > p { max-width: 50ch; }
.contact__list { display: grid; gap: 1.1rem; margin: 2rem 0 .5rem; }
.contact__list li { display: flex; gap: 1rem; align-items: center; }
.contact__list small { display: block; font-size: .75rem; opacity: .7; margin-bottom: .1rem; }
.contact__icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--rose); border: 1px solid rgba(255,255,255,.15); }
.contact__icon svg { width: 20px; height: 20px; }
.contact__list a { color: var(--white); text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.formcard--contact { box-shadow: 0 30px 70px -30px rgba(0,0,0,.7); }

/* ================= FOOTER ================= */
.footer { background: var(--ink); color: #B8B5B1; padding: clamp(3.5rem, 3rem + 2vw, 5rem) 0 0; font-size: .92rem; }
.footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: repeat(3, 1fr); gap: 4rem; align-items: start; } .footer__about { grid-column: auto; } }
.footer__about img { height: 52px; width: auto; margin-bottom: 1.25rem; }
.footer__about p { max-width: 40ch; }
.footer__col h2 { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 600; color: var(--white); margin-bottom: 1.25rem; min-height: 52px; display: flex; align-items: center; position: relative; }
.footer__col h2::after { content: ""; position: absolute; left: 0; bottom: .35rem; width: 32px; height: 2px; background: var(--burgundy); }
.footer__col li { margin-bottom: .6rem; }
.footer__contact li { display: flex; gap: .8rem; align-items: flex-start; line-height: 1.55; margin-bottom: .9rem; }
.footer__icon { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.07); color: var(--rose); margin-top: -.3rem; }
.footer__icon svg { width: 16px; height: 16px; }
.footer__about a { display: inline-block; }
.footer__about img { height: 52px; }
.footer a { color: #D9D6D2; text-decoration: none; transition: color .2s; overflow-wrap: anywhere; }
.footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: center; text-align: center; gap: .5rem 2rem; padding-top: 1.5rem; padding-bottom: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }
.footer__base p { margin: 0; }

/* ================= FLOATING BITS ================= */
.totop {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer; background: var(--burgundy); color: var(--white);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s var(--ease), background-color .25s;
}
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--burgundy-dark); }
.totop svg { width: 20px; height: 20px; }

.callbar { display: none; }
@media (max-width: 700px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1.5fr; position: fixed; inset: auto 0 0; z-index: 90;
    padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--ink);
    transform: translateY(100%); transition: transform .35s var(--ease);
  }
  .callbar.is-visible { transform: none; }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 56px; font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--white); }
  .callbar__cta { background: var(--burgundy); }
  .totop { bottom: calc(70px + env(safe-area-inset-bottom, 0px)); right: 1rem; }
  .footer { padding-bottom: 56px; }
}

/* ================= SMALL SCREENS ================= */
@media (max-width: 999px) {
  .hero__bg::after { background: linear-gradient(180deg, rgba(35,35,39,.9) 0%, rgba(35,35,39,.82) 60%, rgba(74,20,23,.9) 100%); }
  .hero__title { max-width: 20ch; }
}
@media (max-width: 520px) {
  :root { --header-h: 72px; }
  .brand__logo { height: 38px; }
  .header.is-scrolled { height: 64px; }
}

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

/* Primary button on the wine section reads better in white */
.why .btn--primary { background: var(--white); color: var(--burgundy); box-shadow: 0 10px 22px -12px rgba(0,0,0,.6); }
.why .btn--primary:hover { background: var(--rose); color: var(--burgundy-dark); }

@media (max-width: 600px) {
  .callbtn { width: 46px; min-height: 46px; padding: 0; }
  .callbtn__num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
