/* ============================================================
   MERIDIAN TIMEPIECES — style.css
   Dark gold luxury watch brand — Cormorant Garamond + Inter
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── SCROLL PROGRESS ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  z-index: 9999; transition: width .1s linear;
}

/* ── ALERT BAR ── */
.alert-bar {
  background: linear-gradient(90deg, #1a1408, #252010);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted); font-size: .78rem;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 9px 20px; text-align: center;
}
.alert-bar i { color: var(--primary); }
.alert-cta {
  color: var(--primary); font-weight: 600;
  border-bottom: 1px solid var(--primary); transition: opacity .2s;
}
.alert-cta:hover { opacity: .75; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 48px;
  background: rgba(8,7,6,.85);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(201,165,90,.08);
  transition: background .3s;
}
.navbar.scrolled { background: rgba(8,7,6,.97); }
.navbar-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 36px; height: 72px;
}
.navbar-logo { display: flex; flex-direction: column; gap: 1px; }
.logo-main {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: 1.1rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text);
}
.logo-sub {
  font-size: .55rem; letter-spacing: .28em; color: var(--primary);
  font-weight: 500; text-transform: uppercase;
}
.navbar-links { display: flex; align-items: center; gap: 32px; margin: 0 auto; }
.navbar-links a {
  font-size: .78rem; font-weight: 400; color: var(--text-muted);
  letter-spacing: .1em; text-transform: uppercase; transition: color .2s;
}
.navbar-links a:hover, .navbar-links a.active-link { color: var(--primary); }
.btn-nav-cta {
  font-size: .7rem; font-weight: 600; letter-spacing: .12em;
  padding: 9px 22px; border: 1px solid var(--primary); border-radius: 2px;
  color: var(--primary); text-transform: uppercase;
  transition: all .2s; white-space: nowrap;
}
.btn-nav-cta:hover { background: var(--primary); color: var(--bg); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; height: 1px; width: 22px;
  background: var(--text); transition: all .25s;
}

/* ── HERO ── */
.hero { min-height: 100vh; padding-top: 72px; display: flex; align-items: center; }
.hero-layout {
  max-width: 1280px; margin: 0 auto; padding: 80px 48px;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .68rem; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 24px;
}
.eyebrow-line {
  display: inline-block; width: 32px; height: 1px; background: var(--primary);
}
.hero-headline {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1.05;
  margin-bottom: 24px; color: var(--text);
}
.hero-headline em { font-style: italic; color: var(--primary); }
.hero-sub {
  font-size: .95rem; color: var(--text-muted); max-width: 440px;
  margin-bottom: 40px; line-height: 1.75;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--primary); color: var(--bg);
  font-size: .75rem; font-weight: 600; letter-spacing: .12em;
  padding: 14px 30px; border-radius: 2px; border: none; cursor: pointer;
  text-transform: uppercase; transition: all .25s;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text-muted); font-size: .75rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; transition: color .2s;
  border-bottom: 1px solid transparent;
}
.btn-ghost:hover { color: var(--primary); border-bottom-color: var(--primary); }

.hero-watch-frame {
  position: relative; border-radius: 4px; overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 60px var(--primary-glow);
}
.hero-watch-img { width: 100%; height: 100%; object-fit: cover; }
.hero-watch-badge {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  background: rgba(8,7,6,.9); border: 1px solid var(--border);
  padding: 14px 18px; backdrop-filter: blur(8px);
}
.hwb-text {
  display: block; font-size: .62rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 3px;
}
.hwb-sub { font-size: .75rem; color: var(--text-muted); }

/* ── BRAND STRIP ── */
.brand-strip {
  background: var(--surface); border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle); padding: 18px 48px;
}
.brand-strip-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap;
}
.strip-item {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .7rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted);
}

/* ── SECTIONS ── */
.section { padding: 110px 48px; }
.section-alt { background: var(--surface); }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; max-width: 560px; margin: 0 auto 60px; }
.section-header .eyebrow { justify-content: center; margin-bottom: 16px; }
.section-headline {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.15; margin-bottom: 16px;
}
.section-sub { font-size: .92rem; color: var(--text-muted); line-height: 1.75; }

/* ── FILTER ROW ── */
.filter-row { display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
  font-size: .7rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; padding: 8px 20px; border-radius: 2px;
  border: 1px solid var(--border); background: transparent; color: var(--text-muted);
  cursor: pointer; transition: all .2s;
}
.filter-btn:hover, .filter-btn.active { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* ── WATCHES GRID ── */
.watches-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px;
}
.watch-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 4px; overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.watch-card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 20px var(--primary-glow); }
.watch-card.hidden { display: none; }
.watch-img-wrap { position: relative; height: 280px; overflow: hidden; background: #0f0e0c; }
.watch-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.watch-card:hover .watch-img { transform: scale(1.04); }
.watch-badge {
  position: absolute; top: 16px; left: 16px;
  color: #fff; font-size: .62rem; font-weight: 700; letter-spacing: .1em;
  padding: 4px 12px; border-radius: 2px; text-transform: uppercase;
}
.watch-body { padding: 22px 22px 24px; }
.watch-ref { font-size: .62rem; letter-spacing: .18em; color: var(--text-dim); text-transform: uppercase; margin-bottom: 6px; }
.watch-name {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: 1.35rem; margin-bottom: 14px;
}
.watch-specs { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.watch-spec { display: flex; justify-content: space-between; }
.spec-lbl { font-size: .7rem; color: var(--text-dim); letter-spacing: .06em; }
.spec-val { font-size: .78rem; color: var(--text-muted); font-weight: 500; }
.watch-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border-subtle); padding-top: 16px; }
.watch-price {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: 1.5rem; color: var(--primary);
}
.btn-enquire {
  font-size: .68rem; font-weight: 600; letter-spacing: .12em;
  padding: 8px 18px; border-radius: 2px;
  border: 1px solid var(--border); color: var(--text-muted);
  text-transform: uppercase; transition: all .2s;
}
.btn-enquire:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* ── CRAFTSMANSHIP ── */
.craft-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.craft-img-frame {
  position: relative; aspect-ratio: 3/4; border-radius: 4px; overflow: hidden;
  border: 1px solid var(--border);
}
.craft-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,7,6,.8) 0%, transparent 50%);
}
.craft-img-label {
  position: absolute; bottom: 24px; left: 24px;
  display: flex; flex-direction: column; gap: 2px;
}
.craft-img-label span:first-child {
  font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 500;
  color: var(--primary); line-height: 1;
}
.craft-img-label span:last-child {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted);
}
.craft-text-col .section-headline { text-align: left; }
.craft-text-col .section-sub { text-align: left; margin-bottom: 36px; }
.craft-pillars { display: flex; flex-direction: column; gap: 24px; }
.craft-pillar { display: flex; gap: 18px; align-items: flex-start; }
.pillar-icon {
  width: 44px; height: 44px; border-radius: 4px;
  border: 1px solid var(--border); background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); flex-shrink: 0;
}
.pillar-text h4 { font-size: .9rem; font-weight: 600; margin-bottom: 4px; }
.pillar-text p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

/* ── HERITAGE TIMELINE ── */
.timeline {
  position: relative; max-width: 860px; margin: 0 auto;
}
.timeline-axis {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: var(--border); transform: translateX(-50%);
}
.timeline-item {
  display: grid; grid-template-columns: 1fr 40px 1fr; gap: 0;
  align-items: center; margin-bottom: 50px; position: relative; z-index: 1;
}
.timeline-item.left .timeline-year { text-align: right; padding-right: 30px; }
.timeline-item.left .timeline-content { grid-column: 3; padding-left: 30px; }
.timeline-item.right .timeline-year { grid-column: 3; text-align: left; padding-left: 30px; order: 3; }
.timeline-item.right .timeline-dot { order: 2; }
.timeline-item.right .timeline-content { grid-column: 1; padding-right: 30px; text-align: right; order: 1; }
.timeline-year {
  font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 500;
  color: var(--primary); line-height: 1;
}
.timeline-dot {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--primary); background: var(--bg);
  margin: 0 auto; flex-shrink: 0;
}
.timeline-content { }
.timeline-content h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.timeline-content p { font-size: .85rem; color: var(--text-muted); line-height: 1.65; }

/* ── SERVICES ── */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px;
}
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 32px 28px; border-radius: 4px;
  transition: transform .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.svc-icon {
  width: 50px; height: 50px; border-radius: 4px;
  border: 1px solid var(--border); background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); margin-bottom: 20px;
}
.service-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; }
.service-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.65; }

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px;
}
.testi-card {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 32px 28px; border-radius: 4px;
}
.testi-stars { display: flex; gap: 3px; margin-bottom: 18px; }
.testi-quote {
  font-family: 'Cormorant Garamond', serif; font-size: 1.12rem; font-style: italic;
  color: var(--text); line-height: 1.65; margin-bottom: 22px;
}
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 1px solid var(--border); }
.testi-name { font-size: .88rem; font-weight: 600; }
.testi-role { font-size: .75rem; color: var(--text-muted); }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; text-align: left; background: none; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: .9rem; font-weight: 500;
  color: var(--text); transition: color .2s;
}
.faq-q:hover { color: var(--primary); }
.faq-q[aria-expanded="true"] { color: var(--primary); }
.faq-q[aria-expanded="true"] i { transform: rotate(45deg); }
.faq-q i { transition: transform .25s; color: var(--primary); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { font-size: .88rem; color: var(--text-muted); line-height: 1.7; padding-bottom: 20px; }

/* ── CONTACT ── */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start;
}
.contact-info .section-headline { text-align: left; margin-top: 16px; }
.contact-info .section-sub { text-align: left; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.cd-item { display: flex; align-items: flex-start; gap: 12px; font-size: .88rem; color: var(--text-muted); }
.contact-form-col {
  background: var(--surface); border: 1px solid var(--border);
  padding: 44px 40px; border-radius: 4px;
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label {
  font-size: .68rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-muted);
}
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text); font-family: 'Inter', sans-serif;
  font-size: .88rem; padding: 12px 16px; border-radius: 2px;
  outline: none; transition: border-color .2s; appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 110px; }
.btn-form {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 14px; border-radius: 2px;
  background: var(--primary); color: var(--bg);
  font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; border: none; cursor: pointer; transition: all .2s;
}
.btn-form:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ── FOOTER ── */
.site-footer {
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 80px 48px 32px;
}
.site-footer .container { max-width: 1200px; margin: 0 auto; }
.footer-top { display: flex; gap: 64px; margin-bottom: 64px; }
.footer-brand { flex: 0 0 260px; }
.footer-logo-wrap { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.footer-logo-main {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: 1.1rem; letter-spacing: .2em; text-transform: uppercase;
}
.footer-logo-sub { font-size: .55rem; letter-spacing: .28em; color: var(--primary); text-transform: uppercase; }
.footer-tagline { font-size: .85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 2px;
  border: 1px solid var(--border); color: var(--text-muted); transition: all .2s;
}
.social-link:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.footer-col { }
.footer-col h4 {
  font-size: .62rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .82rem; color: var(--text-muted); transition: color .2s; letter-spacing: .04em; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border-subtle); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .75rem; color: var(--text-dim); letter-spacing: .06em; }

/* ── BACK TO TOP ── */
.back-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  width: 40px; height: 40px; border-radius: 2px;
  background: var(--primary); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .2s;
}
.back-top.visible { opacity: 1; pointer-events: all; }
.back-top:hover { transform: translateY(-3px); }

/* ── REVEAL ── */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr 1fr; gap: 48px; padding: 80px 32px; }
  .craft-layout { grid-template-columns: 1fr 1fr; gap: 48px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .section { padding: 80px 32px; }
  .navbar { padding: 0 32px; }
  .brand-strip { padding: 18px 32px; }
}
@media (max-width: 768px) {
  .navbar-links, .btn-nav-cta { display: none; }
  .hamburger { display: flex; }
  .navbar.open .navbar-links {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(8,7,6,.97); border-bottom: 1px solid var(--border);
    padding: 8px 0; gap: 0;
  }
  .navbar.open .navbar-links li a { display: block; padding: 14px 32px; border-bottom: 1px solid var(--border-subtle); }
  .hero-layout { grid-template-columns: 1fr; padding: 80px 24px 60px; }
  .hero-right { order: -1; }
  .hero-watch-frame { max-width: 360px; margin: 0 auto; }
  .craft-layout { grid-template-columns: 1fr; gap: 48px; }
  .timeline-axis { display: none; }
  .timeline-item, .timeline-item.right { grid-template-columns: auto 1fr; }
  .timeline-item .timeline-year { text-align: left; padding-right: 0; padding-left: 0; }
  .timeline-item .timeline-content { grid-column: auto; padding: 0 0 0 20px; text-align: left; }
  .timeline-item.right .timeline-year { grid-column: auto; order: 0; }
  .timeline-item.right .timeline-content { order: 0; grid-column: auto; padding-right: 0; text-align: left; }
  .timeline-item.right .timeline-dot { order: 0; }
  .section { padding: 64px 24px; }
  .site-footer { padding: 60px 24px 24px; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-brand { flex: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 2.6rem; }
  .form-row-2 { grid-template-columns: 1fr; }
  .watches-grid { grid-template-columns: 1fr; }
  .contact-form-col { padding: 28px 20px; }
}
