/* ============================================================
   ReGlo Med Spa — style.css
   Brand palette, layout, components & mobile responsive
   ============================================================ */

/* ── RESET & TOKENS ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blush:      #FDE8DC;
  --blush2:     #F9DDD3;
  --blush3:     #FAD5C8;
  --peach:      #F5C4B0;
  --terracotta: #C4826A;
  --terra-dark: #7A4F3E;
  --espresso:   #3D2A25;
  --gold:       #C9A87C;
  --white:      #FFFFFF;
  --off-white:  #FEF6F2;
  --mid:        #D4A898;
  --muted:      #A0706A;
  --fp: 'Playfair Display', serif;
  --fi: 'Inter', sans-serif;
  --radius: 50px;
}

body {
  font-family: var(--fi);
  background: var(--white);
  color: var(--espresso);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* ── ANNOUNCEMENT BAR ───────────────────────────────────── */
.announce {
  background: var(--espresso);
  color: var(--blush);
  text-align: center;
  padding: 10px 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.announce a {
  color: var(--peach);
  text-decoration: underline;
  margin-left: 8px;
}

/* ── NAV ────────────────────────────────────────────────── */
nav {
  background: var(--blush);
  border-bottom: 1px solid var(--peach);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  font-family: var(--fp);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--espresso);
  font-style: italic;
  text-decoration: none;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terra-dark);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--terracotta);
  transition: width 0.25s ease;
  text-decoration: none;
}
.nav-links a:hover { color: var(--terracotta); }
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 1.2rem; }
.nav-link-sm {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  font-weight: 400;
  border: none;
  background: none;
  font-family: var(--fi);
  transition: color 0.2s;
}
.nav-link-sm:hover { color: var(--espresso); }

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--espresso);
  transition: all 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu drawer */
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--blush);
  border-top: 1px solid var(--peach);
  padding: 1.5rem 2rem 2rem;
  gap: 1.2rem;
  position: absolute;
  top: 68px;
  left: 0;
  width: 100%;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(61,42,37,0.1);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terra-dark);
  text-decoration: none;
  font-weight: 500;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--peach);
}
.nav-mobile-menu .btn-dark { text-align: center; margin-top: 0.5rem; }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn-dark {
  display: inline-block;
  background: var(--espresso);
  color: var(--blush);
  font-family: var(--fi);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.95rem 2.2rem;
  border: 2px solid var(--espresso);
  cursor: pointer;
  font-weight: 500;
  transition: all 0.25s ease;
  border-radius: var(--radius);
  text-decoration: none;
}
.btn-dark:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  transform: translateY(-1px);
}
.btn-outline {
  display: inline-block;
  background: transparent;
  border: 1.5px solid var(--espresso);
  color: var(--espresso);
  font-family: var(--fi);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.95rem 2.2rem;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
  border-radius: var(--radius);
  text-decoration: none;
}
.btn-outline:hover { background: var(--espresso); color: var(--blush); }

/* ── HERO SLIDER ────────────────────────────────────────── */
.hero-slider {
  position: relative;
  width: 100%;
  height: 580px;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}
.slide.active { opacity: 1; }
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(61,42,37,0.15) 0%, rgba(61,42,37,0.45) 100%);
}
.slide-caption {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  color: var(--blush);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
  font-family: var(--fi);
}
.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  right: 2.5rem;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(253,232,220,0.4);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  padding: 0;
}
.dot.active { background: var(--blush); transform: scale(1.2); }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(253,232,220,0.15);
  border: 1px solid rgba(253,232,220,0.3);
  color: var(--blush);
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: rgba(253,232,220,0.3); }
.slider-arrow.prev { left: 1.5rem; }
.slider-arrow.next { right: 1.5rem; }
.slide-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  background: var(--terracotta);
  width: 0%;
  z-index: 10;
}

/* ── HERO CONTENT ───────────────────────────────────────── */
.hero-content {
  background: var(--blush);
  padding: 4rem 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  border-bottom: 1px solid var(--peach);
}
.hero-text { flex: 1; max-width: 580px; }
.hero-tag {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.hero-title {
  font-family: var(--fp);
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--espresso);
}
.hero-title em { font-style: italic; font-weight: 400; color: var(--terracotta); }
.hero-right-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  flex-shrink: 0;
  max-width: 320px;
}
.hero-sub {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--muted);
  font-weight: 300;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── SHARED SECTION TOKENS ──────────────────────────────── */
.sec-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.sec-title {
  font-family: var(--fp);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--espresso);
  line-height: 1.1;
  margin-bottom: 3rem;
}
.sec-title em { font-style: italic; font-weight: 400; color: var(--terracotta); }

/* ── TREATMENTS ─────────────────────────────────────────── */
.treatments-section { padding: 5rem 2.5rem; background: var(--off-white); }
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--peach);
  border-left: 1px solid var(--peach);
}
.tc {
  border-right: 1px solid var(--peach);
  border-bottom: 1px solid var(--peach);
  padding: 2rem 1.8rem;
  cursor: pointer;
  transition: background 0.2s;
  background: var(--white);
  position: relative;
}
.tc:hover { background: var(--blush); }
.tc-num { font-size: 0.68rem; letter-spacing: 0.12em; color: var(--mid); margin-bottom: 1.2rem; font-weight: 500; }
.tc-name { font-family: var(--fp); font-size: 1.5rem; font-weight: 700; color: var(--espresso); margin-bottom: 0.6rem; }
.tc-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.7; font-weight: 300; margin-bottom: 1.5rem; }
.tc-footer { display: flex; justify-content: space-between; align-items: center; }
.tc-price { font-size: 0.78rem; font-weight: 600; color: var(--terracotta); }
.tc-arrow { font-size: 1rem; color: var(--terracotta); opacity: 0; transform: translateX(-4px); transition: all 0.2s; }
.tc:hover .tc-arrow { opacity: 1; transform: translateX(0); }

/* ── SPLIT SECTIONS ─────────────────────────────────────── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.split-img { display: flex; align-items: center; justify-content: center; }
.split-content {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-content.dark { background: var(--espresso); }
.split-content.dark .sec-eyebrow { color: var(--mid); }
.split-content.dark .sec-title { color: var(--blush); }
.split-content.dark p { color: rgba(253,232,220,0.55); }

/* ── SHOP ───────────────────────────────────────────────── */
.shop-strip { background: var(--blush2); padding: 4rem 2.5rem; }
.shop-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.products-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--peach);
}
.prod { background: var(--white); cursor: pointer; transition: background 0.2s; }
.prod:hover { background: var(--blush); }
.prod-img { height: 200px; display: flex; align-items: center; justify-content: center; position: relative; }
.prod-badge {
  position: absolute;
  top: 0.8rem; left: 0.8rem;
  background: var(--espresso);
  color: var(--blush);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  font-weight: 500;
}
.prod-badge.terra { background: var(--terracotta); color: var(--white); }
.prod-body { padding: 1.2rem 1.2rem 1.5rem; }
.prod-cat { font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.prod-name { font-family: var(--fp); font-size: 1.1rem; font-weight: 700; color: var(--espresso); margin-bottom: 0.25rem; }
.prod-sub { font-size: 0.75rem; color: var(--muted); font-weight: 300; line-height: 1.5; margin-bottom: 1rem; }
.prod-row { display: flex; justify-content: space-between; align-items: center; }
.prod-price { font-size: 0.9rem; font-weight: 600; color: var(--espresso); }
.prod-add {
  background: var(--espresso);
  color: var(--blush);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
  border-radius: 0;
}
.prod-add:hover { background: var(--terracotta); }

/* ── REVIEWS ────────────────────────────────────────────── */
.reviews-section { padding: 5rem 2.5rem; background: var(--espresso); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3rem;
  border-top: 1px solid rgba(245,196,176,0.2);
}
.review {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(245,196,176,0.15);
  border-bottom: 1px solid rgba(245,196,176,0.15);
}
.review:nth-child(3n) { border-right: none; }
.review-quote { font-family: var(--fp); font-size: 1.1rem; font-style: italic; line-height: 1.7; color: var(--blush); margin-bottom: 1.2rem; }
.review-author { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mid); }
.review-stars { color: var(--gold); font-size: 0.8rem; margin-bottom: 0.8rem; letter-spacing: 2px; }

/* ── PRESS BAR ──────────────────────────────────────────── */
.press-bar {
  background: var(--white);
  padding: 2.5rem;
  border-top: 1px solid var(--blush3);
  border-bottom: 1px solid var(--blush3);
}
.press-label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mid); text-align: center; margin-bottom: 1.5rem; }
.press-inner { display: flex; align-items: center; justify-content: center; gap: 3.5rem; flex-wrap: wrap; }
.press-name { font-family: var(--fp); font-size: 1rem; font-style: italic; color: var(--mid); font-weight: 700; }

/* ── EMAIL STRIP ────────────────────────────────────────── */
.email-strip {
  background: var(--terracotta);
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.email-strip h3 { font-family: var(--fp); font-size: 1.8rem; font-weight: 700; color: var(--white); font-style: italic; }
.email-strip p { font-size: 0.82rem; color: rgba(255,255,255,0.75); margin-top: 0.4rem; font-weight: 300; }
.email-form { display: flex; flex: 1; max-width: 420px; }
.email-form input {
  flex: 1;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  font-family: var(--fi);
  font-size: 0.85rem;
  padding: 0.85rem 1.2rem;
  outline: none;
  border-radius: 0;
}
.email-form input::placeholder { color: rgba(255,255,255,0.5); }
.email-form button {
  background: var(--espresso);
  color: var(--blush);
  font-family: var(--fi);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
  border-radius: 0;
}
.email-form button:hover { background: var(--terra-dark); }

/* ── LOCATION ───────────────────────────────────────────── */
.location-section { background: var(--off-white); padding: 5rem 2.5rem 0; }
.location-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
.location-info { padding-bottom: 5rem; }
.location-info h2 { font-family: var(--fp); font-size: 2.4rem; font-weight: 700; color: var(--espresso); line-height: 1.1; margin-bottom: 1.8rem; }
.location-info h2 em { font-style: italic; font-weight: 400; color: var(--terracotta); }
.location-detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; }
.location-icon {
  width: 36px; height: 36px;
  background: var(--blush3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.location-detail-text { font-size: 0.88rem; color: var(--muted); line-height: 1.7; font-weight: 300; }
.location-detail-text strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--espresso);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.map-wrap { height: 460px; overflow: hidden; filter: sepia(15%) saturate(90%); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--espresso);
  padding: 4rem 2.5rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand-name { font-family: var(--fp); font-size: 1.5rem; font-style: italic; color: var(--blush); font-weight: 700; }
.footer-brand p { font-size: 0.8rem; color: var(--mid); margin-top: 1rem; line-height: 1.8; font-weight: 300; max-width: 240px; }
.footer-col h4 { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mid); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { font-size: 0.82rem; color: rgba(245,196,176,0.6); text-decoration: none; font-weight: 300; transition: color 0.2s; }
.footer-col a:hover { color: var(--blush); }
.footer-bottom {
  background: var(--espresso);
  padding: 1.5rem 2.5rem;
  border-top: 1px solid rgba(245,196,176,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.72rem; color: var(--mid); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.72rem; color: var(--mid); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--blush); }

/* ── PLACEHOLDER TEXT ───────────────────────────────────── */
.ph { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; }

/* ── PAGE HERO (inner pages) ────────────────────────────── */
.page-hero {
  background: var(--sand);
  padding: 4rem 2.5rem;
  text-align: center;
  border-bottom: 1px solid var(--peach);
}
.page-hero .sec-eyebrow { margin-bottom: 0.8rem; }
.page-hero h1 { font-family: var(--fp); font-size: 3rem; font-weight: 700; color: var(--espresso); margin-bottom: 1rem; }
.page-hero h1 em { font-style: italic; color: var(--terracotta); }
.page-hero p { font-size: 0.92rem; color: var(--muted); max-width: 520px; margin: 0 auto; line-height: 1.8; font-weight: 300; }

/* ── NAV BTN ────────────────────────────────────────────── */
.nav-btn {
  background: var(--espresso);
  color: var(--blush);
  font-family: var(--fi);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--espresso);
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s ease;
  border-radius: var(--radius);
}
.nav-btn:hover {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
  text-decoration: none;
  transform: translateY(-1px);
}

/* ============================================================
   MOBILE RESPONSIVE  @media ≤ 768px
   ============================================================ */
@media (max-width: 768px) {

  /* Nav */
  nav { padding: 0 1.2rem; height: 60px; }
  .nav-links { display: none; }
  .nav-link-sm { display: none; }
  .nav-btn { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero slider */
  .hero-slider { height: 320px; }
  .slide-caption { bottom: 1.2rem; left: 1.2rem; font-size: 0.62rem; }
  .slider-arrow { width: 36px; height: 36px; font-size: 0.9rem; }
  .slider-dots { bottom: 1rem; right: 1.2rem; }

  /* Hero content */
  .hero-content {
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
  }
  .hero-title { font-size: 2.4rem; }
  .hero-right-block { max-width: 100%; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn-dark,
  .hero-btns .btn-outline { text-align: center; width: 100%; }

  /* Section headings */
  .sec-title { font-size: 2rem; margin-bottom: 2rem; }

  /* Treatments */
  .treatments-section { padding: 3rem 1.2rem; }
  .treatments-grid { grid-template-columns: 1fr; }

  /* Split sections */
  .split-section { grid-template-columns: 1fr; }
  .split-img { min-height: 260px !important; }
  .split-content { padding: 2.5rem 1.5rem; }
  .split-content .btn-dark,
  .split-content .btn-outline { align-self: stretch; text-align: center; }

  /* Shop */
  .shop-strip { padding: 3rem 1.2rem; }
  .shop-header { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
  .shop-header .sec-title { margin-bottom: 0; }
  .products-row { grid-template-columns: 1fr 1fr; }

  /* Reviews */
  .reviews-section { padding: 3rem 1.2rem; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review { border-right: none; }

  /* Press */
  .press-bar { padding: 2rem 1.2rem; }
  .press-inner { gap: 1.5rem; }
  .press-name { font-size: 0.85rem; }

  /* Email strip */
  .email-strip { flex-direction: column; align-items: flex-start; padding: 2.5rem 1.5rem; gap: 1.5rem; }
  .email-form { max-width: 100%; width: 100%; }

  /* Location */
  .location-section { padding: 3rem 1.2rem 0; }
  .location-inner { grid-template-columns: 1fr; gap: 2rem; }
  .location-info { padding-bottom: 0; }
  .location-info h2 { font-size: 1.9rem; }
  .map-wrap { height: 300px; }

  /* Footer */
  footer { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.5rem 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; padding: 1.2rem 1.5rem; }
  .footer-links { justify-content: center; }

  /* Announce */
  .announce { font-size: 0.62rem; padding: 8px 1rem; }
}

/* ── TABLET  768–1024px ─────────────────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {
  nav { padding: 0 1.5rem; }
  .nav-links { gap: 1.2rem; }
  .hero-content { padding: 3rem; gap: 2rem; }
  .hero-title { font-size: 2.8rem; }
  .treatments-grid { grid-template-columns: repeat(2, 1fr); }
  .products-row { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .review { border-right: none; }
  footer { grid-template-columns: 1fr 1fr; }
  .location-inner { grid-template-columns: 1fr; gap: 2rem; }
  .map-wrap { height: 360px; }
  .email-strip { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .email-form { max-width: 100%; }
  .split-section { grid-template-columns: 1fr; }
  .split-img { min-height: 300px !important; }
}

/* ── SCROLL FADE-IN UTILITY ─────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* ── INNER PAGE HERO ─────────────────────────────────────── */
.page-hero {
  background: var(--blush);
  padding: 5rem 2.5rem 4rem;
  text-align: center;
  border-bottom: 1px solid var(--peach);
}
.page-hero .sec-eyebrow { margin-bottom: 0.8rem; }
.page-hero h1 {
  font-family: var(--fp);
  font-size: 3rem;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 1rem;
  line-height: 1.1;
}
.page-hero h1 em { font-style: italic; color: var(--terracotta); }
.page-hero p {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 300;
}

/* ── CONTENT SECTION (generic) ───────────────────────────── */
.content-section { padding: 5rem 2.5rem; }
.content-section.bg-blush  { background: var(--blush); }
.content-section.bg-blush2 { background: var(--blush2); }
.content-section.bg-off    { background: var(--off-white); }
.content-section.bg-dark   { background: var(--espresso); }
.content-section.bg-dark .sec-eyebrow { color: var(--mid); }
.content-section.bg-dark .sec-title   { color: var(--blush); }
.content-section.bg-dark p            { color: rgba(253,232,220,0.65); }

/* ── CARD GRID (3-up) ────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--peach);
  padding: 2rem;
  transition: background 0.2s, transform 0.2s;
}
.card:hover { background: var(--blush); transform: translateY(-3px); }
.card-img {
  height: 180px;
  background: var(--blush3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
}
.card h3 { font-family: var(--fp); font-size: 1.3rem; font-weight: 700; color: var(--espresso); margin-bottom: 0.5rem; }
.card p  { font-size: 0.82rem; color: var(--muted); line-height: 1.7; font-weight: 300; }

/* ── FORM STYLES ─────────────────────────────────────────── */
.form-wrap { max-width: 640px; margin: 0 auto; }
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.form-input {
  border: 1px solid var(--peach);
  background: var(--white);
  padding: 0.75rem 1rem;
  font-family: var(--fi);
  font-size: 0.88rem;
  color: var(--espresso);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
}
.form-input:focus { border-color: var(--terracotta); }
.form-input::placeholder { color: var(--mid); }
textarea.form-input { resize: vertical; min-height: 120px; }
select.form-input { cursor: pointer; }

/* ── TABLE ───────────────────────────────────────────────── */
.reglo-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: 0.85rem; }
.reglo-table th {
  background: var(--espresso);
  color: var(--blush);
  padding: 0.8rem 1.2rem;
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.reglo-table td { padding: 0.9rem 1.2rem; border-bottom: 1px solid var(--peach); color: var(--muted); font-weight: 300; }
.reglo-table tr:hover td { background: var(--blush); }

/* ── DIVIDER ─────────────────────────────────────────────── */
.divider { width: 40px; height: 2px; background: var(--terracotta); margin: 1.2rem 0; }
.divider.center { margin-left: auto; margin-right: auto; }

/* ── TAG / BADGE ─────────────────────────────────────────── */
.tag {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  font-weight: 500;
  border-radius: 2px;
}
.tag.dark  { background: var(--espresso); color: var(--blush); }
.tag.terra { background: var(--terracotta); color: var(--white); }
.tag.light { background: var(--blush3); color: var(--terra-dark); }

/* ── ALERT BANNER ────────────────────────────────────────── */
.alert {
  padding: 1rem 1.5rem;
  font-size: 0.82rem;
  line-height: 1.6;
  border-left: 3px solid var(--terracotta);
  background: var(--blush);
  color: var(--espresso);
  margin-bottom: 1.5rem;
}
.alert.dark { background: var(--espresso); color: var(--blush); border-color: var(--peach); }

/* ── MOBILE — inner page adjustments ────────────────────── */
@media (max-width: 768px) {
  .page-hero { padding: 3rem 1.5rem; }
  .page-hero h1 { font-size: 2.2rem; }
  .card-grid { grid-template-columns: 1fr; }
  .form-row  { grid-template-columns: 1fr; }
  .content-section { padding: 3rem 1.2rem; }
  .reglo-table { font-size: 0.78rem; }
  .reglo-table th, .reglo-table td { padding: 0.7rem 0.8rem; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
