/* ============================================================
   Omni Window Fashions — styles.css
   Palette: Deep Navy #0F2440 · Gold #C6A664 · Ivory #F7F4EF
   ============================================================ */

:root {
  --navy: #1C1B1A;
  --navy-2: #2A2825;
  --navy-3: #3A3733;
  --gold: #7A6A53;
  --gold-dark: #5C5040;
  --gold-light: #A89578;
  --amber: #9C8B70;
  --ivory: #F8F7F5;
  --sand: #EFEDE9;
  --ink: #2B2926;
  --muted: #5D6B7A;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 10px rgba(15, 36, 64, 0.08);
  --shadow-md: 0 10px 30px rgba(15, 36, 64, 0.14);
  --shadow-lg: 0 20px 50px rgba(15, 36, 64, 0.20);
  --radius: 14px;
  --radius-sm: 9px;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: min(1180px, 92%); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.18; font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.08rem; font-family: var(--font-body); font-weight: 600; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.7rem;
}
.eyebrow.light { color: var(--gold-light); }

.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-sub { color: var(--muted); margin-top: 0.9rem; font-size: 1.05rem; }
.section-sub.light { color: rgba(247, 244, 239, 0.78); }

.ic { width: 1em; height: 1em; fill: currentColor; flex: none; }
.ic.big { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.95rem;
  padding: 0.8rem 1.7rem;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
}
.btn-lg { padding: 1rem 2.1rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-gold {
  background: linear-gradient(135deg, #8C7B62, var(--gold) 55%, var(--gold-dark));
  color: #fff;
  box-shadow: 0 6px 18px rgba(92, 80, 64, 0.4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(92, 80, 64, 0.55); }

.btn-outline { border-color: rgba(255,255,255,0.75); color: var(--white); background: rgba(255,255,255,0.08); backdrop-filter: blur(4px); }
.btn-outline:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

/* ---------- Top bar ---------- */
.topbar { background: #2A2825; color: rgba(248,247,245,0.9); font-size: 0.82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 0.45rem 0; gap: 1rem; }
.topbar-left, .topbar-right { display: flex; gap: 1.4rem; align-items: center; }
.topbar-item { display: inline-flex; align-items: center; gap: 0.4rem; color: inherit; text-decoration: none; transition: color 0.2s; }
a.topbar-item:hover { color: var(--amber); }
.topbar .ic { color: var(--amber); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.65rem 0; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand-mark { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.12em; color: var(--navy); }
.brand-sub { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.34em; color: var(--gold-dark); }
.brand-text.light .brand-name { color: var(--ivory); }
.brand-text.light .brand-sub { color: var(--gold); }

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav-link {
  font-size: 0.92rem; font-weight: 500; color: rgba(247,244,239,0.82);
  text-decoration: none; position: relative; padding: 0.3rem 0;
  transition: color 0.2s;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width 0.3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { margin-left: 0.6rem; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--white); border-radius: 2px; transition: 0.3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(24, 22, 20, 0.88) 8%, rgba(42, 40, 37, 0.58) 48%, rgba(42, 40, 37, 0.18) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 7rem 0 6rem; max-width: 760px; }
.hero-eyebrow {
  color: var(--gold-light); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.hero-title {
  color: var(--white); font-size: clamp(2.6rem, 5.6vw, 4.3rem); font-weight: 600;
  text-shadow: 0 4px 30px rgba(0,0,0,0.35);
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-sub { color: rgba(247,244,239,0.85); font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 560px; margin-top: 1.3rem; font-weight: 300; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 2.4rem; margin-top: 3rem; }
.badge-item { display: flex; flex-direction: column; color: var(--ivory); }
.badge-item strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--gold-light); }
.badge-item span { font-size: 0.82rem; opacity: 0.8; }

/* ---------- Stats ---------- */
.stats { background: var(--navy); padding: 2.6rem 0; position: relative; }
.stats::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-head); font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  color: var(--gold-light); font-weight: 700;
}
.stat-label { color: rgba(247,244,239,0.7); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; margin-top: 0.2rem; }

/* ---------- Collections ---------- */
.collections { background: var(--ivory); }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card-img img { transform: scale(1.06); }
.card-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold); color: #fff;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.32rem 0.75rem; border-radius: 50px; box-shadow: var(--shadow-sm);
}
.card-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: 0.93rem; margin-top: 0.6rem; }
.card-list { list-style: none; margin: 1rem 0 1.3rem; }
.card-list li { font-size: 0.87rem; color: var(--ink); padding: 0.28rem 0 0.28rem 1.5rem; position: relative; }
.card-list li::before {
  content: '✓'; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700;
}
.card-link { margin-top: auto; font-weight: 600; font-size: 0.9rem; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; transition: color 0.2s; width: fit-content; }
.card-link:hover { color: var(--gold-dark); }

.card-cta { background: linear-gradient(160deg, var(--navy-2), var(--navy)); border: 1px solid rgba(92,80,64,0.35); }
.card-cta-inner { padding: 2.2rem 1.9rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; height: 100%; gap: 0.9rem; }
.cta-logo { margin-bottom: 0.3rem; height: 56px; width: auto; }
.card-cta h3 { color: var(--ivory); }
.card-cta p { color: rgba(247,244,239,0.75); font-size: 0.95rem; margin-bottom: 0.6rem; }

/* ---------- Motorized ---------- */
.motorized { background: radial-gradient(1200px 600px at 80% -10%, var(--navy-3), transparent), var(--navy); color: var(--ivory); overflow: hidden; }
.motorized-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: center; }
.motorized h2, .motorized h4 { color: var(--ivory); }
.motorized-media { position: relative; }
.motorized-media img {
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(92,80,64,0.3);
}
.floating-chip {
  position: absolute; bottom: -20px; right: -14px;
  display: flex; align-items: center; gap: 0.7rem;
  background: var(--white); color: var(--navy);
  padding: 0.85rem 1.2rem; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  animation: floaty 4s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.floating-chip .ic { color: var(--gold-dark); }
.floating-chip strong { display: block; font-size: 0.85rem; }
.floating-chip span { font-size: 0.74rem; color: var(--muted); }

.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.8rem; margin: 2rem 0 2.2rem; }
.feature { display: flex; gap: 0.9rem; align-items: flex-start; }
.feature .ic.big { color: var(--gold); margin-top: 0.15rem; }
.feature h4 { margin-bottom: 0.2rem; }
.feature p { font-size: 0.85rem; color: rgba(247,244,239,0.68); }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.why-item {
  background: var(--white); border: 1px solid rgba(15,36,64,0.08);
  border-radius: var(--radius); padding: 2rem 1.7rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.why-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(92,80,64,0.5); }
.why-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(92,80,64,0.16), rgba(92,80,64,0.34));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark); margin-bottom: 1.1rem;
}
.why-item p { font-size: 0.9rem; color: var(--muted); margin-top: 0.5rem; }

/* ---------- Process ---------- */
.process { background: var(--sand); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; counter-reset: step; }
.step {
  background: var(--white); border-radius: var(--radius); padding: 2rem 1.5rem;
  position: relative; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-num {
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1.5px var(--gold);
  display: block; margin-bottom: 0.7rem; line-height: 1;
}
.step h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.88rem; color: var(--muted); }
.steps .step:not(:last-child)::after {
  content: '→'; position: absolute; right: -1.35rem; top: 42%;
  color: var(--gold-dark); font-size: 1.3rem; z-index: 1;
}

/* ---------- Testimonials ---------- */
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.quote {
  background: var(--white); border-radius: var(--radius); padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm); border-top: 3px solid var(--gold);
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stars { color: var(--gold); letter-spacing: 0.18em; font-size: 1.05rem; }
.quote blockquote { font-size: 0.95rem; color: var(--ink); font-style: italic; flex: 1; }
.quote figcaption strong { display: block; color: var(--navy); font-size: 0.95rem; }
.quote figcaption span { font-size: 0.8rem; color: var(--muted); }

/* ---------- Service area ---------- */
.area {
  background: linear-gradient(rgba(15,36,64,0.86), rgba(15,36,64,0.9)), url('assets/texture-honeycomb.jpg') center/cover fixed;
  color: var(--ivory);
}
.area-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.area h2 { color: var(--ivory); }
.area-chips { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.area-chips span {
  background: rgba(247,244,239,0.1); border: 1px solid rgba(92,80,64,0.55);
  color: var(--ivory); font-size: 0.85rem; font-weight: 500;
  padding: 0.45rem 1.05rem; border-radius: 50px;
  transition: background 0.25s, transform 0.25s;
}
.area-chips span:hover { background: rgba(92,80,64,0.25); transform: translateY(-2px); }

/* ---------- Contact ---------- */
.contact { background: var(--ivory); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.5rem; align-items: start; }
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.info-card {
  display: flex; gap: 0.9rem; align-items: flex-start;
  background: var(--white); border-radius: var(--radius-sm);
  padding: 1.15rem 1.2rem; text-decoration: none; color: inherit;
  border: 1px solid rgba(15,36,64,0.08);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-card .ic.big { color: var(--gold-dark); margin-top: 0.15rem; }
.info-card h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.info-card p { font-size: 0.92rem; font-weight: 500; color: var(--navy); margin-top: 0.15rem; }

.quote-form-wrap { position: sticky; top: 110px; }
.quote-form {
  background: var(--white); border-radius: var(--radius);
  padding: 2.3rem 2.2rem; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(92,80,64,0.35);
  position: relative;
}
.quote-form h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--navy-2); margin-bottom: 0.35rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; font-family: var(--font-body); font-size: 0.93rem;
  padding: 0.75rem 0.95rem; border: 1.5px solid rgba(15,36,64,0.16);
  border-radius: var(--radius-sm); background: var(--ivory);
  color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
  box-shadow: 0 0 0 3px rgba(92,80,64,0.22);
}
.form-group input.error, .form-group textarea.error { border-color: #C0392B; background: #FDF3F2; }
.form-note { text-align: center; font-size: 0.78rem; color: var(--muted); margin-top: 0.8rem; }
.form-success {
  margin-top: 1.2rem; background: #EDF7EE; border: 1px solid #A9D3AE;
  border-radius: var(--radius-sm); padding: 1rem 1.2rem;
  display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.9rem;
}
.form-success .ic.big { color: #2E7D32; }
.form-success a { color: var(--navy); font-weight: 600; }

.map-section { line-height: 0; }
.map-section iframe { filter: saturate(0.85); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(247,244,239,0.75); }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem; padding: 4.5rem 0 3rem;
}
.footer-brand p { font-size: 0.9rem; margin: 1.1rem 0; max-width: 320px; }
.footer-domain { color: var(--gold-light); font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.footer-domain:hover { text-decoration: underline; }
.footer-col h5 {
  color: var(--ivory); font-family: var(--font-body); font-size: 0.82rem;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.footer-col a { display: block; color: inherit; text-decoration: none; font-size: 0.9rem; padding: 0.28rem 0; transition: color 0.2s, padding-left 0.2s; }
.footer-col a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-col p { font-size: 0.88rem; padding: 0.28rem 0; }
.footer-bottom { border-top: 1px solid rgba(247,244,239,0.12); padding: 1.2rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.8rem; color: rgba(247,244,239,0.5); }

/* ---------- Floating call button ---------- */
.call-fab {
  position: fixed; bottom: 22px; right: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--navy); display: none; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(92,80,64,0.55);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 10px 26px rgba(92,80,64,0.55), 0 0 0 0 rgba(92,80,64,0.5); }
  70% { box-shadow: 0 10px 26px rgba(92,80,64,0.55), 0 0 0 16px rgba(92,80,64,0); }
  100% { box-shadow: 0 10px 26px rgba(92,80,64,0.55), 0 0 0 0 rgba(92,80,64,0); }
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .cards-grid, .why-grid, .quotes-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps .step::after { display: none; }
  .motorized-grid, .area-inner, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .quote-form-wrap { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .topbar-right { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-left { gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .section { padding: 64px 0; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw);
    flex-direction: column; align-items: flex-start; gap: 0.4rem;
    background: var(--white); padding: 5.5rem 2rem 2rem;
    box-shadow: -12px 0 40px rgba(15,36,64,0.25);
    transform: translateX(105%); transition: transform 0.35s var(--ease);
    z-index: 99;
  }
  .nav.open { transform: none; }
  .nav-link { font-size: 1.05rem; padding: 0.6rem 0; width: 100%; color: var(--ink); }
  .nav-link:hover, .nav-link.active { color: var(--navy-3); }
  .nav-cta { margin: 1rem 0 0; width: 100%; }
  .nav-toggle { display: flex; z-index: 100; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem; }
  .feature-list { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
  .hero-badges { gap: 1.4rem; }
  .form-row, .info-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0 2rem; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .call-fab { display: flex; }
  .floating-chip { right: 6px; bottom: -16px; padding: 0.65rem 0.9rem; }
}

@media (max-width: 460px) {
  .cards-grid, .why-grid, .quotes-grid, .steps { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
}

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

/* ============================================================
   Products page — gallery styles
   ============================================================ */

.page-hero {
  position: relative; min-height: 46vh; display: flex; align-items: flex-end;
  overflow: hidden; background: var(--navy);
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,27,26,0.55) 0%, rgba(28,27,26,0.92) 100%);
}
.page-hero-content { position: relative; z-index: 2; padding: 8.5rem 0 3.2rem; width: 100%; }
.page-hero h1 { color: var(--ivory); font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.page-hero p { color: rgba(248,247,245,0.78); margin-top: 0.7rem; max-width: 620px; font-size: 1.05rem; }
.crumbs { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.9rem; }
.crumbs a { color: var(--gold-light); text-decoration: none; }
.crumbs span { color: rgba(248,247,245,0.55); margin: 0 0.45rem; }

.product-section { padding: 88px 0; }
.product-section:nth-of-type(even) { background: var(--sand); }
.product-head { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 2.6rem; }
.product-head.flip .product-head-text { order: 2; }
.product-head-text .eyebrow { color: var(--gold-dark); }
.product-head-text h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.8rem; }
.product-head-text p { color: var(--muted); font-size: 0.98rem; }
.product-head-text .card-list { margin-top: 1.1rem; }
.product-head-text .card-list li::before { color: var(--gold-dark); }
.product-cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.btn-dark {
  background: var(--navy); color: var(--ivory);
  box-shadow: 0 6px 18px rgba(28,27,26,0.28);
}
.btn-dark:hover { transform: translateY(-2px); background: var(--navy-2); }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: var(--ivory); transform: translateY(-2px); }

.product-hero-img {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.product-hero-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.product-hero-img:hover img { transform: scale(1.04); }

.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem;
}
.gallery-item {
  border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1;
  box-shadow: var(--shadow-sm); position: relative; cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.55s var(--ease), filter 0.55s var(--ease);
}
.gallery-item::after {
  content: attr(data-caption);
  position: absolute; inset: auto 0 0 0;
  padding: 1.4rem 0.9rem 0.8rem;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--ivory);
  background: linear-gradient(180deg, transparent, rgba(28,27,26,0.82));
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:hover::after { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .product-head { grid-template-columns: 1fr; gap: 1.8rem; }
  .product-head.flip .product-head-text { order: 0; }
}
@media (max-width: 720px) {
  .product-section { padding: 60px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .product-cta-row .btn { width: 100%; }
}
