/* ==========================================================================
   綽姿改衣專門店 — Elegant Dress Alteration Shop
   Design direction: "The Tailor's Workbook" — warm paper, thread-stitch
   motifs, pinned photographs, hand-stamped seals. Handcrafted, not corporate.
   ========================================================================== */

/* === Design Tokens === */
:root {
  /* Colors */
  --color-warm-cream: #FDF8F0;
  --color-terracotta: #C1754A;
  --color-terracotta-dark: #A25E39;
  --color-deep-brown: #4A3226;
  --color-soft-beige: #F5E6D3;
  --color-sage-green: #8B9D83;
  --color-sage-green-dark: #6E7E67;
  --color-warm-gray: #8C7B6E;
  --color-light-tan: #E8D5C0;
  --color-white: #FFFFFF;
  --color-whatsapp-green: #25D366;
  --color-whatsapp-green-dark: #1DA851;

  /* Typography */
  --font-heading-zh: 'Noto Serif TC', serif;
  --font-heading-en: 'Playfair Display', Georgia, serif;
  --font-body-zh: 'Noto Sans TC', system-ui, sans-serif;
  --font-body-en: 'Inter', system-ui, sans-serif;

  /* Spacing */
  --space-section: 4rem;
  --space-section-mobile: 3rem;
  --space-card-gap: 1.5rem;
  --max-width-text: 65ch;
  --max-width-content: 1200px;

  /* Radius & Shadow */
  --radius-card: 12px;
  --radius-photo: 8px;
  --radius-button: 50px;
  --shadow-card: 0 2px 8px rgba(74, 50, 38, 0.08);
  --shadow-lifted: 0 12px 28px rgba(74, 50, 38, 0.16);
  --shadow-photo: 0 6px 18px rgba(74, 50, 38, 0.22);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

html:lang(en) {
  --font-heading: var(--font-heading-en);
  --font-body: var(--font-body-en);
}
html:lang(zh-HK), html:lang(zh-CN) {
  --font-heading: var(--font-heading-zh);
  --font-body: var(--font-body-zh);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-warm-cream);
  color: var(--color-deep-brown);
  font-family: var(--font-body, var(--font-body-zh));
  font-size: 1rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
:lang(en) body, .lang-en { line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading, var(--font-heading-zh)); margin: 0; color: var(--color-deep-brown); font-weight: 700; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
svg { display: block; }

/* Paper grain overlay — subtle, whole-page texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* === Skip link === */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--color-deep-brown);
  color: var(--color-warm-cream);
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  z-index: 1000;
  transition: top 150ms var(--ease);
}
.skip-link:focus { top: 1rem; }

/* === Focus states === */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--color-terracotta);
  outline-offset: 2px;
  border-radius: 4px;
}

/* === Layout helpers === */
.container {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}
main { position: relative; z-index: 1; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
section { padding: var(--space-section-mobile) 0; position: relative; }
@media (min-width: 1024px) { section { padding: var(--space-section) 0; } }

.section-head { max-width: var(--max-width-text); margin: 0 auto 2.5rem; text-align: center; }
.section-head h2 {
  font-size: 1.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.9rem;
}
@media (min-width: 1024px) { .section-head h2 { font-size: 2rem; } }
.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 70px;
  height: 6px;
  background-image: radial-gradient(circle, var(--color-terracotta) 1.6px, transparent 1.7px);
  background-size: 9px 6px;
  background-repeat: repeat-x;
  opacity: 0.85;
}
.section-head p {
  margin-top: 0.9rem;
  color: var(--color-warm-gray);
  font-size: 1rem;
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible .stagger-item {
  animation: staggerIn 600ms var(--ease) both;
}
.reveal-stagger .stagger-item:nth-child(1) { animation-delay: 0ms; }
.reveal-stagger .stagger-item:nth-child(2) { animation-delay: 70ms; }
.reveal-stagger .stagger-item:nth-child(3) { animation-delay: 140ms; }
.reveal-stagger .stagger-item:nth-child(4) { animation-delay: 210ms; }
.reveal-stagger .stagger-item:nth-child(5) { animation-delay: 280ms; }
.reveal-stagger .stagger-item:nth-child(6) { animation-delay: 350ms; }
.reveal-stagger .stagger-item:nth-child(7) { animation-delay: 420ms; }
.reveal-stagger .stagger-item:nth-child(8) { animation-delay: 490ms; }
.reveal-stagger .stagger-item:nth-child(9) { animation-delay: 560ms; }
.reveal-stagger .stagger-item:nth-child(10) { animation-delay: 630ms; }
.reveal-stagger .stagger-item:nth-child(11) { animation-delay: 700ms; }
.reveal-stagger .stagger-item:nth-child(12) { animation-delay: 770ms; }
.reveal-stagger .stagger-item:nth-child(13) { animation-delay: 840ms; }
@keyframes staggerIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Icons */
.icon { width: 1.5rem; height: 1.5rem; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-lg { width: 2.25rem; height: 2.25rem; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-button);
  padding: 12px 28px;
  font-weight: 600;
  border: none;
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease), background 150ms var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-whatsapp {
  background: var(--color-whatsapp-green);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { background: var(--color-whatsapp-green-dark); box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45); }
.btn-whatsapp .icon { stroke: none; fill: currentColor; }
.btn-secondary {
  background: transparent;
  color: var(--color-terracotta);
  border: 1.5px solid var(--color-terracotta);
}
.btn-secondary:hover { background: var(--color-terracotta); color: var(--color-white); }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* === Header / Nav === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(253, 248, 240, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-light-tan);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  max-width: var(--max-width-content);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading, var(--font-heading-zh));
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-deep-brown);
}
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand .brand-full { display: none; }
@media (min-width: 480px) { .brand .brand-full { display: inline; } .brand .brand-short { display: none; } }

.nav-desktop { display: none; }
@media (min-width: 900px) {
  .nav-desktop { display: flex; gap: 2rem; }
  .nav-desktop a {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--color-deep-brown);
    position: relative;
    padding-bottom: 4px;
    transition: color 150ms var(--ease);
  }
  .nav-desktop a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--color-terracotta);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 200ms var(--ease);
  }
  .nav-desktop a:hover { color: var(--color-terracotta); }
  .nav-desktop a:hover::after { transform: scaleX(1); }
}

.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.lang-switcher { display: flex; gap: 0.15rem; background: var(--color-soft-beige); border-radius: 50px; padding: 3px; }
.lang-switcher a {
  padding: 5px 11px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-warm-gray);
  transition: background 150ms var(--ease), color 150ms var(--ease);
}
.lang-switcher a[aria-current="true"] { background: var(--color-terracotta); color: var(--color-white); }
.lang-switcher a:hover:not([aria-current="true"]) { color: var(--color-deep-brown); }

.nav-whatsapp-text { display: none; }
@media (min-width: 900px) { .nav-whatsapp-text { display: inline-flex; padding: 9px 20px; font-size: 0.92rem; } }
.nav-whatsapp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-whatsapp-green);
  color: var(--color-white);
}
.nav-whatsapp-icon .icon { width: 20px; height: 20px; stroke: none; fill: currentColor; }
@media (min-width: 900px) { .nav-whatsapp-icon { display: none; } }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  padding: 0;
}
@media (min-width: 900px) { .hamburger { display: none; } }
.hamburger span { display: block; width: 22px; height: 2px; margin: 0 auto; background: var(--color-deep-brown); border-radius: 2px; transition: transform 200ms var(--ease), opacity 200ms var(--ease); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: var(--color-warm-cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  transform: translateY(-100%);
  transition: transform 320ms var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { font-family: var(--font-heading, var(--font-heading-zh)); font-size: 1.5rem; font-weight: 700; }
.mobile-menu .lang-switcher { margin-top: 1rem; }
.mobile-menu-close {
  position: absolute; top: 1rem; right: 1.25rem;
  width: 44px; height: 44px;
  background: var(--color-soft-beige);
  border-radius: 50%;
  border: none;
  display: flex; align-items: center; justify-content: center;
}

/* === Hero === */
.hero { padding-top: 2.5rem; padding-bottom: 3rem; overflow: hidden; }
.hero-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
}
.hero-text { text-align: center; }
@media (min-width: 960px) { .hero-text { text-align: left; } }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body, var(--font-body-zh));
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-sage-green-dark);
  background: rgba(139, 157, 131, 0.14);
  border: 1px solid rgba(139, 157, 131, 0.4);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.hero-eyebrow .icon { width: 1rem; height: 1rem; }

.hero h1 {
  font-size: 1.9rem;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}
@media (min-width: 640px) { .hero h1 { font-size: 2.4rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 2.75rem; } }

.hero-subtitle {
  font-family: var(--font-heading-en);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-terracotta);
  font-weight: 400;
  margin-bottom: 1.1rem;
}
@media (min-width: 1024px) { .hero-subtitle { font-size: 1.3rem; } }

.hero-stitch {
  width: 130px;
  height: 10px;
  margin: 0 auto 1.4rem;
  background-image: radial-gradient(circle, var(--color-terracotta) 1.8px, transparent 2px);
  background-size: 11px 10px;
  background-repeat: repeat-x;
  opacity: 0.8;
}
@media (min-width: 960px) { .hero-stitch { margin: 0 0 1.4rem; } }

.hero-tagline { font-size: 1.05rem; color: var(--color-warm-gray); margin-bottom: 1.75rem; max-width: 42ch; margin-left: auto; margin-right: auto; }
@media (min-width: 960px) { .hero-tagline { margin-left: 0; } }

.hero-info { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 2rem; align-items: center; }
@media (min-width: 960px) { .hero-info { align-items: flex-start; } }
.hero-info-line { display: flex; align-items: center; gap: 0.6rem; font-size: 0.98rem; color: var(--color-deep-brown); }
.hero-info-line .icon { color: var(--color-terracotta); }

.hero-cta-row { display: flex; justify-content: center; }
@media (min-width: 960px) { .hero-cta-row { justify-content: flex-start; } }

/* Hero photo collage */
.hero-visual { position: relative; height: 340px; display: none; }
@media (min-width: 640px) { .hero-visual { display: block; } }
@media (min-width: 960px) { .hero-visual { height: 420px; } }

.polaroid {
  position: absolute;
  background: var(--color-white);
  padding: 10px 10px 34px;
  border-radius: 4px;
  box-shadow: var(--shadow-photo);
}
.polaroid img { border-radius: 2px; width: 100%; height: 100%; object-fit: cover; }
.polaroid-main {
  width: 68%;
  top: 0;
  left: 4%;
  transform: rotate(-4deg);
  z-index: 2;
}
.polaroid-main img { aspect-ratio: 4/5; }
.polaroid-accent {
  width: 46%;
  bottom: 0;
  right: 2%;
  transform: rotate(6deg);
  z-index: 3;
}
.polaroid-accent img { aspect-ratio: 3/4; }
.polaroid-caption {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  text-align: center;
  font-family: var(--font-heading-en);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--color-warm-gray);
}
.washi-tape {
  position: absolute;
  width: 70px; height: 26px;
  background: repeating-linear-gradient(45deg, rgba(193,117,74,0.55), rgba(193,117,74,0.55) 6px, rgba(193,117,74,0.35) 6px, rgba(193,117,74,0.35) 12px);
  opacity: 0.85;
  top: -12px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  z-index: 4;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.hero-badge {
  position: absolute;
  z-index: 5;
  bottom: -18px; left: -18px;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--color-terracotta);
  color: var(--color-warm-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-heading, var(--font-heading-zh));
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1.35;
  padding: 0.5rem;
  box-shadow: var(--shadow-lifted);
  border: 2px dashed rgba(253,248,240,0.55);
  transform: rotate(-8deg);
}
@media (min-width: 960px) { .hero-badge { left: -24px; } }

/* === Trust strip (between hero and services) === */
.trust-strip {
  border-top: 1px solid var(--color-light-tan);
  border-bottom: 1px solid var(--color-light-tan);
  background: var(--color-soft-beige);
  padding: 1.5rem 0;
}
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  text-align: center;
}
@media (min-width: 720px) { .trust-strip .container { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; }
.trust-item .icon { color: var(--color-terracotta); width: 1.6rem; height: 1.6rem; }
.trust-item span { font-size: 0.85rem; font-weight: 600; color: var(--color-deep-brown); }

/* === Services === */
.services { background: var(--color-warm-cream); }
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-card-gap);
}
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--color-soft-beige);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
  border: 1px solid transparent;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lifted);
  background: var(--color-white);
  border-color: var(--color-light-tan);
}
.service-card-icon {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--color-terracotta);
  box-shadow: inset 0 0 0 1.5px rgba(193,117,74,0.25);
}
.service-card.special .service-card-icon { color: var(--color-sage-green-dark); box-shadow: inset 0 0 0 1.5px rgba(139,157,131,0.35); }
.service-card h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.service-card p { color: var(--color-warm-gray); font-size: 0.92rem; }

.service-photo-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.service-photo-card img { aspect-ratio: 4/3; object-fit: cover; }
.service-photo-card .caption { padding: 1rem 1.25rem; }
.service-photo-card h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.service-photo-card p { color: var(--color-warm-gray); font-size: 0.92rem; }

.services-note {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--color-warm-gray);
  font-size: 0.98rem;
}
.services-note a { color: var(--color-terracotta); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* === Showcase (sketch cards) === */
.showcase { background: var(--color-soft-beige); position: relative; }
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-card-gap);
}
@media (min-width: 720px) { .showcase-grid { grid-template-columns: repeat(2, 1fr); } }

.case-card {
  background: var(--color-warm-cream);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lifted); }
.case-sketch {
  height: 190px;
  background: var(--color-white);
  border-bottom: 2px dashed var(--color-light-tan);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.case-sketch svg { width: 96px; height: 96px; stroke: var(--color-terracotta); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.case-sketch .sketch-tag {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--color-sage-green);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
}
.case-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.case-body h3 { font-size: 1.15rem; }
.case-line { display: flex; gap: 0.6rem; font-size: 0.92rem; }
.case-line .label { flex-shrink: 0; font-weight: 700; color: var(--color-terracotta); }
.case-line.solution .label { color: var(--color-sage-green-dark); }
.case-line p { color: var(--color-deep-brown); }

/* === About === */
.about { background: var(--color-warm-cream); }
.about-history {
  max-width: 760px;
  margin: 0 auto 2.75rem;
  background: var(--color-soft-beige);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
}
.about-history::before {
  content: "";
  position: absolute;
  top: -1px; left: 2rem; right: 2rem;
  height: 4px;
  background-image: radial-gradient(circle, var(--color-terracotta) 1.6px, transparent 1.7px);
  background-size: 10px 4px;
  background-repeat: repeat-x;
}
.about-history h3 { font-size: 1.2rem; margin-bottom: 1rem; color: var(--color-terracotta-dark); }
.about-history p { margin-bottom: 1rem; color: var(--color-deep-brown); }
.about-history p:last-child { margin-bottom: 0; }

.about-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-card-gap);
  margin-bottom: 2.75rem;
}
@media (min-width: 720px) { .about-cards { grid-template-columns: 1fr 1fr; } }

.badge-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--color-sage-green);
}
.badge-card.media { border-top-color: var(--color-terracotta); }
.badge-card-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.9rem; }
.badge-card-head .icon { color: var(--color-sage-green-dark); width: 1.9rem; height: 1.9rem; }
.badge-card.media .badge-card-head .icon { color: var(--color-terracotta); }
.badge-card h3 { font-size: 1.1rem; }
.badge-card p { color: var(--color-warm-gray); font-size: 0.95rem; }
.badge-card .media-row { display: flex; gap: 1rem; align-items: center; margin-top: 1rem; }
.badge-card .media-row img { width: 84px; border-radius: 6px; box-shadow: var(--shadow-card); flex-shrink: 0; }

.video-embed {
  margin-top: 0.9rem;
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-deep-brown);
}
.video-embed iframe { width: 100%; height: 100%; border: 0; }
.video-facade {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(rgba(74,50,38,0.35), rgba(74,50,38,0.55));
  color: var(--color-white);
  border: none;
  width: 100%; height: 100%;
  cursor: pointer;
}
.video-facade .play-circle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(253,248,240,0.92);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-terracotta);
}
.video-facade .play-circle svg { width: 24px; height: 24px; fill: currentColor; margin-left: 3px; }
.video-caption { font-size: 0.85rem; color: var(--color-warm-gray); margin-top: 0.5rem; text-align: center; }

.photo-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 2.75rem;
}
@media (min-width: 720px) { .photo-collage { grid-template-columns: repeat(4, 1fr); } }
.photo-collage figure {
  margin: 0;
  border-radius: var(--radius-photo);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}
.photo-collage img { aspect-ratio: 3/4; object-fit: cover; transition: transform 400ms var(--ease); }
.photo-collage a:hover img, .photo-collage:hover img { transform: scale(1.04); }
.photo-collage figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(74,50,38,0.75));
  color: var(--color-warm-cream);
  font-size: 0.78rem;
  padding: 1.5rem 0.7rem 0.5rem;
}
.photo-collage .tile-wide { grid-column: span 2; }
.photo-collage .tile-wide img { aspect-ratio: 16/10; }

.community-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  background: rgba(139, 157, 131, 0.1);
  border: 1px solid rgba(139, 157, 131, 0.3);
  border-radius: var(--radius-card);
  padding: 1.75rem;
}
@media (min-width: 720px) { .community-card { grid-template-columns: 140px 1fr; } }
.community-card img { border-radius: var(--radius-photo); box-shadow: var(--shadow-card); aspect-ratio: 1/1; object-fit: cover; }
.community-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; color: var(--color-sage-green-dark); }
.community-card p { color: var(--color-deep-brown); font-size: 0.95rem; }

/* === Location === */
.location { background: var(--color-soft-beige); }
.map-frame {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 1.75rem;
  border: 1px solid var(--color-light-tan);
}
.map-frame iframe { width: 100%; height: 300px; border: 0; display: block; }
@media (min-width: 1024px) { .map-frame iframe { height: 400px; } }

.location-info { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.75rem; }
.location-info .hero-info-line { font-size: 1.02rem; }

.warning-box {
  background: repeating-linear-gradient(135deg, var(--color-warm-cream), var(--color-warm-cream) 12px, rgba(193,117,74,0.06) 12px, rgba(193,117,74,0.06) 24px);
  border: 2px dashed var(--color-terracotta);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.warning-box .icon { color: var(--color-terracotta); width: 2rem; height: 2rem; flex-shrink: 0; margin-top: 0.1rem; }
.warning-box strong { display: block; margin-bottom: 0.35rem; color: var(--color-terracotta-dark); font-size: 1.05rem; }
.warning-box p { color: var(--color-deep-brown); font-size: 0.98rem; }

.transport-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 720px) { .transport-grid { grid-template-columns: 1fr 1fr; } }
.transport-card { background: var(--color-white); border-radius: var(--radius-card); padding: 1.25rem 1.5rem; box-shadow: var(--shadow-card); }
.transport-card h4 { display: flex; align-items: center; gap: 0.5rem; font-size: 1rem; margin-bottom: 0.6rem; color: var(--color-deep-brown); }
.transport-card h4 .icon { color: var(--color-terracotta); width: 1.3rem; height: 1.3rem; }
.transport-card p { color: var(--color-warm-gray); font-size: 0.92rem; line-height: 1.7; }

/* === Final CTA === */
.final-cta {
  background: var(--color-deep-brown);
  color: var(--color-warm-cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(253,248,240,0.5) 1px, transparent 1.4px);
  background-size: 22px 22px;
  opacity: 0.06;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 { color: var(--color-warm-cream); font-size: 1.6rem; }
@media (min-width: 1024px) { .final-cta h2 { font-size: 2.1rem; } }
.final-cta p { color: rgba(253,248,240,0.8); margin: 1rem auto 2rem; max-width: 46ch; font-size: 1.05rem; }
.final-cta .btn-whatsapp { font-size: 1.05rem; }
.final-cta .closing { margin-top: 1.5rem; font-size: 0.92rem; color: rgba(253,248,240,0.65); }

/* === Footer === */
.site-footer { background: var(--color-deep-brown); color: rgba(253,248,240,0.85); padding: 3rem 0 1.5rem; border-top: 1px solid rgba(253,248,240,0.1); }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; }
@media (min-width: 720px) { .footer-inner { flex-direction: row; align-items: flex-start; justify-content: space-between; text-align: left; } }
.footer-brand h3 { color: var(--color-warm-cream); font-size: 1.15rem; margin-bottom: 0.2rem; }
.footer-brand p { color: rgba(253,248,240,0.6); font-size: 0.9rem; }
.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.92rem; align-items: center; }
@media (min-width: 720px) { .footer-contact { align-items: flex-start; } }
.footer-contact .hero-info-line { color: rgba(253,248,240,0.85); }
.footer-contact .hero-info-line .icon { color: var(--color-terracotta); }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(253,248,240,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: background 150ms var(--ease);
}
.footer-social a:hover { background: var(--color-terracotta); }
.footer-social .icon { width: 1.2rem; height: 1.2rem; color: var(--color-warm-cream); stroke: none; fill: currentColor; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(253,248,240,0.12);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(253,248,240,0.55);
}
@media (min-width: 720px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--color-warm-cream); }

/* === Floating WhatsApp button === */
.fab-whatsapp {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 400;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--color-whatsapp-green);
  color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}
.fab-whatsapp .icon { width: 28px; height: 28px; stroke: none; fill: currentColor; }
.fab-whatsapp::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--color-whatsapp-green);
  animation: pulseOnce 1.8s var(--ease) 600ms 1;
}
@keyframes pulseOnce {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* === Utility sections (privacy / 404) === */
.simple-page { min-height: 60vh; display: flex; align-items: center; }
.simple-page .container { max-width: 760px; }
.simple-page h1 { font-size: 1.8rem; margin-bottom: 1.5rem; }
.policy-block { margin-bottom: 2.5rem; }
.policy-block h2 { font-size: 1.3rem; color: var(--color-terracotta-dark); margin-bottom: 1rem; }
.policy-block h3 { font-size: 1.02rem; margin: 1.1rem 0 0.4rem; }
.policy-block p { margin-bottom: 0.9rem; color: var(--color-deep-brown); }
.policy-block hr { border: none; border-top: 1px dashed var(--color-light-tan); margin: 2rem 0; }

.notfound { text-align: center; padding: 5rem 1.25rem; }
.notfound-mark { font-size: 4rem; margin-bottom: 1rem; }
.notfound h1 { font-size: 1.8rem; margin-bottom: 0.75rem; }
.notfound p { color: var(--color-warm-gray); margin-bottom: 2rem; }
.notfound .actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* === Print === */
@media print {
  .site-header, .fab-whatsapp, .mobile-menu, .video-embed, .hero-visual { display: none !important; }
  body { background: #fff; color: #000; }
}
