/* ===== TRILOGY FLORAL - REDESIGN ===== */

/* --- Reset & Tokens --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1a3270;
  --navy-deep: #0f1f4a;
  --navy-light: #2b4fa3;
  --gold: #c8a951;
  --gold-light: #e0c872;
  --rose: #d4707a;
  --rose-light: #f2b5bb;
  --sage: #8ba888;
  --cream: #faf7f2;
  --warm-white: #fdfcfa;
  --white: #ffffff;
  --gray-50: #f9f9f9;
  --gray-100: #f0ece6;
  --gray-200: #ddd8d0;
  --gray-400: #a09a90;
  --gray-600: #6b6560;
  --gray-800: #3a352f;
  --gray-900: #1e1b17;
  --font-display: 'Abril Fatface', serif;
  --font-body: 'Cabin', sans-serif;
  --max-w: 1260px;
  --header-h: 76px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,.07);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.14);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--navy-light); }
ul { list-style: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; }

/* --- Animated Fade-In --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,.05);
  height: var(--header-h);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo img { height: 52px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block;
  padding: 8px 14px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-800);
  text-transform: uppercase;
  letter-spacing: .8px;
  transition: color .2s;
  position: relative;
}
.main-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}
.main-nav > li > a:hover::after,
.main-nav > li > a.active::after { transform: scaleX(1); }
.main-nav > li > a:hover { color: var(--navy); }

/* Buy Now in header */
.main-nav > li > a.btn-nav {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-deep) !important;
  border-radius: 50px;
  padding: 10px 26px;
  margin-left: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  box-shadow: 0 2px 12px rgba(200,169,81,.3);
  transition: transform .2s, box-shadow .2s;
}
.main-nav > li > a.btn-nav::after { display: none; }
.main-nav > li > a.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(200,169,81,.4);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: all .25s var(--ease);
  z-index: 100;
  border: 1px solid rgba(0,0,0,.05);
}
.main-nav > li:hover > .dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 9px 22px;
  font-size: .85rem;
  color: var(--gray-600);
  transition: all .15s;
}
.dropdown-menu li a:hover {
  background: var(--cream);
  color: var(--navy);
  padding-left: 26px;
}

.dropdown-mega {
  min-width: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 14px 0;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-800);
  margin: 5px 0;
  transition: all .3s var(--ease);
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  margin-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 8s ease-out;
}
.hero-bg.loaded { transform: scale(1.03); }
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(15, 31, 74, .65) 0%,
    rgba(26, 50, 112, .45) 40%,
    rgba(0, 0, 0, .35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 0 28px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  margin-bottom: 22px;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 36px;
  opacity: .92;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Page hero (sub-pages) */
.hero-page {
  min-height: 44vh;
  margin-bottom: 20px;
}
.hero-page .hero-bg::after {
  background: linear-gradient(
    160deg,
    rgba(15, 31, 74, .6) 0%,
    rgba(0, 0, 0, .4) 100%
  );
}
.hero-page .hero-content h1 { margin-bottom: 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 40px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 50px;
  transition: all .3s var(--ease);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-deep);
  box-shadow: 0 4px 20px rgba(200,169,81,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,169,81,.45);
  color: var(--navy-deep);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(26,50,112,.25);
}

.btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FLOATING BUY BUTTON ===== */
.floating-buy {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-deep);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 60px;
  box-shadow: 0 6px 30px rgba(200,169,81,.4), 0 2px 8px rgba(0,0,0,.1);
  text-decoration: none;
  transition: all .3s var(--ease);
  animation: floatPulse 3s ease-in-out infinite;
}
.floating-buy:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 40px rgba(200,169,81,.5), 0 4px 12px rgba(0,0,0,.12);
  color: var(--navy-deep);
}
.floating-buy svg { width: 20px; height: 20px; flex-shrink: 0; }

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 6px 30px rgba(200,169,81,.4), 0 2px 8px rgba(0,0,0,.1); }
  50% { box-shadow: 0 8px 40px rgba(200,169,81,.55), 0 4px 12px rgba(0,0,0,.12); }
}

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--cream); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
  padding-top: 10px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}
.section-header .accent-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 18px auto 0;
  border-radius: 2px;
}

/* Section description for product pages */
.section-description {
  text-align: center;
  font-size: 1.08rem;
  color: var(--gray-600);
  max-width: 680px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

/* Product sub-headings */
.section h3 {
  margin-top: 50px;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-100);
}
.section h3:first-of-type { margin-top: 0; }

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.feature-card {
  text-align: center;
  padding: 44px 32px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cream), var(--gray-100));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 1.6rem;
  color: var(--navy);
}
.feature-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.feature-card p { color: var(--gray-600); font-size: .95rem; line-height: 1.7; }

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.04);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card .card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.product-card:hover .card-img { transform: scale(1.05); }

.product-card .card-img-wrap {
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.product-card .card-body {
  padding: 16px 18px;
  text-align: center;
  background: var(--white);
  position: relative;
}
.product-card .card-body h4 {
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 600;
  color: var(--gray-800);
  letter-spacing: .3px;
}

/* ===== CATEGORY GRID ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.category-card:hover img { transform: scale(1.08); }

.category-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(15,31,74,.7));
  display: flex;
  align-items: flex-end;
  padding: 24px;
  transition: background .3s;
}
.category-card:hover .card-overlay {
  background: linear-gradient(transparent 20%, rgba(15,31,74,.8));
}
.category-card .card-overlay h3 {
  color: var(--white);
  font-size: 1.4rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.2);
}

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--gray-100);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.team-card .avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 16px rgba(26,50,112,.2);
}
.team-card h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gray-800);
  margin-bottom: 4px;
}
.team-card .role {
  color: var(--gold);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.team-card .contact-info {
  font-size: .88rem;
  color: var(--gray-600);
}

/* Contact detail rows inside team cards */
.contact-details {
  text-align: left;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}
.detail-row {
  display: flex;
  gap: 8px;
  padding: 5px 0;
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.5;
  word-break: break-word;
}
.detail-label {
  font-weight: 700;
  color: var(--gray-800);
  white-space: nowrap;
  min-width: 70px;
}
.detail-row a {
  color: var(--navy);
  font-weight: 600;
}
.detail-row a:hover {
  color: var(--gold);
}

/* ===== TWO COLUMN ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.two-col-text h2 { margin-bottom: 18px; }
.two-col-text p { margin-bottom: 18px; color: var(--gray-600); line-height: 1.8; }
.two-col-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.two-col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.two-col-img:hover img { transform: scale(1.03); }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,50,112,.08);
}
.contact-form textarea { min-height: 150px; resize: vertical; }

.contact-info-block { margin-bottom: 30px; }
.contact-info-block h4 {
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1rem;
}
.hours-table { width: 100%; }
.hours-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: .95rem;
}
.hours-table td:first-child { font-weight: 600; color: var(--gray-800); }

/* ===== DOWNLOADS ===== */
.download-list { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.download-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-weight: 600;
  font-size: .88rem;
  color: var(--navy);
  transition: all .25s var(--ease);
}
.download-list a:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26,50,112,.2);
}

/* ===== LEGEND BRAND ===== */
.legend-section {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: var(--white);
  text-align: center;
  padding: 80px 28px;
  position: relative;
  overflow: hidden;
}
.legend-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(200,169,81,.08) 0%, transparent 50%);
}
.legend-section img {
  max-width: 280px;
  margin: 0 auto 24px;
  position: relative;
}
.legend-section h2 {
  color: var(--white);
  margin-bottom: 14px;
  position: relative;
}
.legend-section p {
  max-width: 560px;
  margin: 0 auto;
  opacity: .85;
  position: relative;
  line-height: 1.8;
}

/* ===== AFFILIATIONS / MEMBER BADGES ===== */
.affiliations {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.affiliation-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 36px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all .3s var(--ease);
  flex: 1 1 220px;
  max-width: 340px;
}
.affiliation-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy);
}
.badge-logo {
  max-height: 90px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
}
.badge-text span {
  font-size: .82rem;
  color: var(--gray-600);
  line-height: 1.4;
}

/* ===== INLINE BUY CTA (on product pages) ===== */
.buy-cta-bar {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  padding: 36px 28px;
  text-align: center;
  color: var(--white);
}
.buy-cta-bar p {
  font-size: 1.15rem;
  margin-bottom: 18px;
  opacity: .9;
}
.buy-cta-bar .btn-primary { font-size: 1rem; padding: 18px 48px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.55);
  padding: 50px 0 30px;
  font-size: .88rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  color: rgba(255,255,255,.55);
  font-weight: 600;
  letter-spacing: .3px;
}
.footer-links a:hover { color: var(--gold); }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--gray-900);
  color: rgba(255,255,255,.85);
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 2000;
  font-size: .88rem;
  transform: translateY(100%);
  transition: transform .4s var(--ease);
  border-top: 1px solid rgba(255,255,255,.06);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { opacity: .8; }
.cookie-banner .btn-sm {
  padding: 10px 28px;
  font-size: .82rem;
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: .5px;
  transition: transform .2s, box-shadow .2s;
}
.cookie-banner .btn-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,169,81,.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hamburger { display: block; }
  .nav-wrapper {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    background: var(--white);
    padding: 24px 28px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    overflow-y: auto;
    z-index: 999;
  }
  .nav-wrapper.open { transform: translateX(0); }
  .main-nav { flex-direction: column; align-items: stretch; }
  .main-nav > li > a {
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: .9rem;
  }
  .main-nav > li > a::after { display: none; }
  .main-nav > li > a.btn-nav {
    margin: 16px 0 0;
    text-align: center;
    padding: 14px 28px;
  }
  .dropdown-menu, .dropdown-mega {
    position: static;
    opacity: 1; visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    display: none;
    min-width: 100%;
    padding-left: 16px;
  }
  .dropdown-mega { grid-template-columns: 1fr; }
  .dropdown-menu.open { display: block; }

  .hero { min-height: 70vh; }
  .hero-page { min-height: 36vh; }
  .section { padding: 60px 0; }
  .features-grid { grid-template-columns: 1fr; gap: 20px; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .floating-buy { bottom: 20px; right: 20px; padding: 14px 26px; font-size: .85rem; }
}

@media (max-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .floating-buy span { display: none; }
  .floating-buy { padding: 16px; border-radius: 50%; }
}

/* =================================================================
   LUXURY UPGRADES — editorial, sleek, modern
   ================================================================= */

:root {
  --blush: #f6ede1;
  --ink: #0a0d12;
  --gold-shine: linear-gradient(135deg, #b8932f 0%, #e7d29a 35%, #c8a951 60%, #f0dca5 80%, #b8932f 100%);
}

/* --- Subtle film grain overlay --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.site-header, .floating-buy, .cookie-banner { z-index: 1000; }

/* --- Editorial eyebrow labels --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: .6;
}
.eyebrow.eyebrow-light {
  color: var(--gold-light);
}
.eyebrow.eyebrow-light::before,
.eyebrow.eyebrow-light::after {
  background: var(--gold-light);
}
.eyebrow.eyebrow-single::after { display: none; }

/* Hero uses a slightly brighter variant */
.hero .eyebrow {
  color: rgba(231, 210, 154, .95);
  justify-content: center;
  margin-bottom: 28px;
}
.hero .eyebrow::before,
.hero .eyebrow::after {
  background: rgba(231, 210, 154, .7);
}

/* --- Italic accent within headings --- */
h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-weight: 400;
}
.hero h1 em { color: var(--gold-light); }

/* --- Large decorative section numerals --- */
.section-numeral {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 4.5rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  letter-spacing: -.02em;
  margin: 0 auto 18px;
  opacity: .7;
}

/* --- Ornamental divider --- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 22px auto 0;
}
.ornament span {
  width: 50px;
  height: 1px;
  background: var(--gold);
  opacity: .7;
}
.ornament .dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  transform: rotate(45deg);
}

/* --- Tighten + refine global headings --- */
h1, h2 {
  letter-spacing: -.015em;
}
h1 { line-height: 1.08; }

/* --- Hero: slow Ken Burns zoom + softer gradient --- */
@keyframes kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}
.hero .hero-bg {
  animation: kenburns 22s ease-out infinite alternate;
}
.hero-bg::after {
  background: linear-gradient(
    170deg,
    rgba(10, 13, 18, .7) 0%,
    rgba(26, 50, 112, .5) 35%,
    rgba(15, 31, 74, .35) 65%,
    rgba(0, 0, 0, .5) 100%
  );
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  z-index: 2;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* --- Refined primary button with shimmer sweep --- */
.btn-primary {
  background: var(--gold-shine);
  background-size: 200% 100%;
  background-position: 0 0;
  color: var(--ink);
  box-shadow: 0 4px 22px rgba(200, 169, 81, .35), inset 0 1px 0 rgba(255, 255, 255, .3);
  transition: background-position .6s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-primary:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(200, 169, 81, .5), inset 0 1px 0 rgba(255, 255, 255, .35);
  color: var(--ink);
}

/* Navy button — gold underline flourish on hover */
.btn-navy {
  position: relative;
  overflow: hidden;
}
.btn-navy::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.btn-navy:hover::after { transform: scaleX(1); }

/* --- Section header: accent-line upgraded to centered gold bar with diamond --- */
.section-header .accent-line {
  position: relative;
  width: 80px;
  height: 1px;
  background: var(--gold);
  opacity: .75;
}
.section-header .accent-line::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* --- Product cards: editorial hover + gold hairline reveal --- */
.product-card {
  border: 1px solid rgba(26, 50, 112, .06);
  box-shadow: 0 1px 3px rgba(15, 31, 74, .04);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.product-card::after {
  content: '';
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .45s var(--ease);
  z-index: 2;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 50px rgba(15, 31, 74, .14);
  border-color: rgba(200, 169, 81, .3);
}
.product-card:hover::after { transform: scaleX(1); }

/* --- Category cards: gold arrow reveal on hover --- */
.category-card .card-overlay {
  padding: 28px 28px 24px;
  background: linear-gradient(180deg, transparent 35%, rgba(10, 13, 18, .35) 65%, rgba(15, 31, 74, .88) 100%);
}
.category-card .card-overlay h3 {
  transform: translateY(8px);
  transition: transform .5s var(--ease);
  position: relative;
  display: inline-block;
}
.category-card:hover .card-overlay h3 {
  transform: translateY(-2px);
}
.category-card::after {
  content: '';
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .25);
  opacity: 0;
  transform: scale(.6) rotate(-20deg);
  transition: all .45s var(--ease);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='5' y1='12' x2='19' y2='12'/><polyline points='12 5 19 12 12 19'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  z-index: 2;
}
.category-card:hover::after {
  opacity: 1;
  transform: scale(1) rotate(0);
}

/* --- Feature cards: more editorial --- */
.feature-card {
  padding: 52px 34px 46px;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-shine);
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease), background-position .5s var(--ease);
}
.feature-card:hover::before {
  transform: scaleX(1);
  background-position: 100% 0;
}
.feature-icon {
  background: linear-gradient(135deg, var(--blush), var(--cream));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 4px 18px rgba(200, 169, 81, .14);
  transition: transform .5s var(--ease);
}
.feature-card:hover .feature-icon {
  transform: rotate(-4deg) scale(1.06);
}

/* --- Legend section: richer, with subtle gold radial glow --- */
.legend-section {
  background: radial-gradient(ellipse at 30% 30%, #2b4fa3 0%, var(--navy) 35%, var(--navy-deep) 80%);
  padding: 110px 28px;
}
.legend-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(200, 169, 81, .6), transparent);
}

/* --- Buy CTA bar: animated gold glow --- */
.buy-cta-bar {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-deep) 100%);
  position: relative;
  overflow: hidden;
}
.buy-cta-bar::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(200, 169, 81, .1), transparent 65%);
  transform: rotate(-15deg);
  animation: ctaGlow 8s ease-in-out infinite alternate;
}
@keyframes ctaGlow {
  0% { transform: rotate(-15deg) translateX(-15%); opacity: .8; }
  100% { transform: rotate(-15deg) translateX(15%); opacity: 1; }
}
.buy-cta-bar > * { position: relative; z-index: 1; }

/* --- Footer: subtle gold top border --- */
.site-footer {
  background: var(--ink);
  border-top: 1px solid rgba(200, 169, 81, .15);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: var(--gold);
  opacity: .6;
}

/* --- Nav refinements: underline glides in --- */
.main-nav > li > a::after {
  bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform-origin: center;
}

/* --- Dropdown polish --- */
.dropdown-menu {
  border-radius: 4px;
  border: 1px solid rgba(200, 169, 81, .15);
  padding: 8px 0;
  box-shadow: 0 20px 60px rgba(15, 31, 74, .15), 0 1px 3px rgba(0, 0, 0, .06);
}
.dropdown-menu li a {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .3px;
  padding: 10px 22px;
  position: relative;
}
.dropdown-menu li a::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--gold);
  transform: translateY(-50%);
  transition: width .25s var(--ease);
}
.dropdown-menu li a:hover {
  padding-left: 30px;
  background: var(--cream);
}
.dropdown-menu li a:hover::before { width: 12px; }

/* --- Hero content reveal on load --- */
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content > * {
  animation: heroReveal 1.1s var(--ease) both;
}
.hero-content > *:nth-child(1) { animation-delay: .15s; }
.hero-content > *:nth-child(2) { animation-delay: .3s; }
.hero-content > *:nth-child(3) { animation-delay: .45s; }
.hero-content > *:nth-child(4) { animation-delay: .6s; }

/* --- Smoother scroll + selection color --- */
::selection { background: var(--gold); color: var(--ink); }

/* --- Floating buy: sleeker circular variant on bigger screens --- */
.floating-buy {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  background-size: 200% 100%;
  transition: background-position .6s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.floating-buy:hover { background-position: 100% 0; }
