/* ============================================================
   MAX — v1.iammaking.com — Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --bg:        #090909;
  --bg2:       #0f0f0f;
  --bg3:       #141414;
  --bg4:       #1a1a1a;
  --gold:      #C9A96E;
  --gold2:     #E2C896;
  --gold-dim:  rgba(201,169,110,0.12);
  --white:     #F2EDE4;
  --grey1:     #aaa49a;
  --grey2:     #6b6660;
  --grey3:     #3a3835;
  --border:    rgba(201,169,110,0.14);
  --border2:   rgba(201,169,110,0.30);
  --fd: 'Cormorant Garamond', Georgia, serif;
  --fb: 'DM Sans', Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease2: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--fb);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--fb); cursor: pointer; border: none; outline: none; }
ul { list-style: none; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--grey3); }

/* ── Progress bar ──────────────────────────────────────── */
#progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--gold); width: 0%; z-index: 1000;
  transition: width 0.08s linear;
}

/* ── Navigation ────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: 68px; padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s, border-color 0.4s;
}
nav.scrolled {
  background: rgba(9,9,9,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--fd); font-size: 1.75rem;
  font-weight: 600; color: var(--gold); letter-spacing: 0.06em;
  flex-shrink: 0;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: 13px; letter-spacing: 0.04em; color: var(--grey1);
  transition: color 0.2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: #090909 !important;
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 10px 22px; border-radius: 1px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold2) !important; color: #090909 !important; }
.nav-hamburger {
  display: none; flex-direction: column;
  gap: 5px; cursor: pointer; padding: 4px;
}
.nav-hamburger span { width: 22px; height: 1px; background: var(--white); display: block; transition: all 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; background: var(--bg2);
  z-index: 850; padding: 100px 40px 60px;
  flex-direction: column; gap: 8px;
  border-right: none;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--fd); font-size: 2.2rem; font-weight: 300;
  color: var(--grey1); padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--gold); }
.mobile-menu .mob-cta {
  margin-top: 20px; background: var(--gold); color: #090909 !important;
  font-family: var(--fb); font-size: 13px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 15px 28px; text-align: center; border: none;
}

/* ── Reveal animations ─────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left  { opacity: 0; transform: translateX(-24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-right { opacity: 0; transform: translateX(24px);  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }
.d1{transition-delay:.05s} .d2{transition-delay:.12s} .d3{transition-delay:.20s}
.d4{transition-delay:.28s} .d5{transition-delay:.36s} .d6{transition-delay:.44s}

/* ── Layout helpers ────────────────────────────────────── */
section { padding: 120px 24px; }
.container    { max-width: 1060px; margin: 0 auto; }
.container-sm { max-width: 740px;  margin: 0 auto; }
.container-xs { max-width: 560px;  margin: 0 auto; }

/* ── Typography helpers ────────────────────────────────── */
.eyebrow {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); display: block; text-align: center; margin-bottom: 16px;
}
.eyebrow-left { text-align: left; }
.section-title {
  font-family: var(--fd); font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 300; line-height: 1.15; text-align: center; margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-title-left { text-align: left; }
.section-sub {
  text-align: center; color: var(--grey1); font-size: 1rem;
  line-height: 1.8; max-width: 540px; margin: 0 auto 64px;
}
.section-sub-left { text-align: left; margin: 0 0 48px; }

/* ── Buttons ───────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: #090909;
  font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 32px; border-radius: 1px;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  font-size: 13px; font-weight: 300; letter-spacing: 0.08em;
  padding: 14px 32px; border-radius: 1px;
  border: 1px solid var(--border2);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--gold); letter-spacing: 0.05em;
  transition: gap 0.2s;
}
.btn-link:hover { gap: 10px; }

/* ── Page hero (inner pages) ───────────────────────────── */
.page-hero {
  padding: 160px 24px 96px;
  text-align: center; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero-glow {
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 500px;
  background: radial-gradient(ellipse, rgba(201,169,110,0.065) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-family: var(--fd); font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300; line-height: 1.1; position: relative; z-index: 1;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero p {
  font-size: 1rem; color: var(--grey1); line-height: 1.8;
  max-width: 500px; margin: 20px auto 0; position: relative; z-index: 1;
}

/* ── Breadcrumb ────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--grey2); margin-bottom: 20px;
  position: relative; z-index: 1;
  justify-content: center;
}
.breadcrumb a { color: var(--grey2); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--grey3); }

/* ── Divider ───────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); }
.divider-gold { border: none; border-top: 1px solid var(--border2); }

/* ── Tags / badges ─────────────────────────────────────── */
.tag {
  display: inline-block; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid var(--border2); padding: 3px 11px; border-radius: 20px;
}

/* ── Cards base ────────────────────────────────────────── */
.card {
  border: 1px solid var(--border); padding: 32px;
  transition: border-color 0.3s, background 0.3s;
}
.card:hover { border-color: var(--border2); background: var(--bg2); }

/* ── Grid helpers ──────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-gap { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 20px; }

/* ── Offer box ─────────────────────────────────────────── */
.offer-box {
  border: 1px solid var(--gold); padding: 56px 48px; text-align: center;
  position: relative;
  background: linear-gradient(135deg, rgba(201,169,110,0.04), transparent 60%);
}
.offer-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #090909;
  font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 4px 20px; white-space: nowrap;
}
.offer-title {
  font-family: var(--fd); font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300; line-height: 1.2; margin-bottom: 14px;
}
.offer-title em { font-style: italic; color: var(--gold); }
.offer-sub { color: var(--grey1); font-size: 1rem; line-height: 1.8; max-width: 460px; margin: 0 auto 36px; }
.offer-list { text-align: left; max-width: 400px; margin: 0 auto 36px; }
.offer-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.92rem; padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.offer-list li:last-child { border-bottom: none; }
.offer-list li::before { content: '✦'; color: var(--gold); font-size: 9px; margin-top: 5px; flex-shrink: 0; }
.guarantee-row {
  border-top: 1px solid var(--border); padding-top: 28px; margin-top: 8px;
  display: flex; align-items: flex-start; gap: 16px;
  text-align: left; max-width: 460px; margin: 0 auto;
}
.guarantee-icon { font-size: 1.5rem; flex-shrink: 0; padding-top: 2px; }
.guarantee-text h4 { font-size: 13px; font-weight: 500; color: var(--gold); margin-bottom: 5px; }
.guarantee-text p { font-size: 0.85rem; color: var(--grey1); line-height: 1.65; }

/* ── FAQ ───────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--fd); font-size: 1.15rem; font-weight: 400; color: var(--white);
  transition: color 0.2s;
}
.faq-q:hover { color: var(--gold); }
.faq-icon {
  width: 26px; height: 26px; flex-shrink: 0;
  border: 1px solid var(--border2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--gold); line-height: 1;
  transition: transform 0.3s, background 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--gold-dim); }
.faq-a {
  font-size: 0.9rem; color: var(--grey1); line-height: 1.8;
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s var(--ease), padding 0.3s;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 24px; }

/* ── Testimonial cards ─────────────────────────────────── */
.testi-card { border: 1px solid var(--border); padding: 32px; transition: border-color 0.3s; }
.testi-card:hover { border-color: var(--border2); }
.testi-stars { color: var(--gold); font-size: 12px; letter-spacing: 4px; margin-bottom: 18px; }
.testi-text { font-family: var(--fd); font-size: 1.05rem; font-style: italic; color: rgba(242,237,228,0.88); line-height: 1.8; margin-bottom: 22px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 36px; height: 36px; background: var(--gold-dim); border: 1px solid var(--border2); display: flex; align-items: center; justify-content: center; font-family: var(--fd); font-size: 1rem; color: var(--gold); flex-shrink: 0; }
.testi-name { font-size: 13px; font-weight: 400; }
.testi-meta { font-size: 11px; color: var(--grey2); margin-top: 2px; }

/* ── Stats ─────────────────────────────────────────────── */
.stat-block { text-align: center; }
.stat-num { font-family: var(--fd); font-size: 3.2rem; font-weight: 300; color: var(--gold); display: block; line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 12px; color: var(--grey2); letter-spacing: 0.06em; }

/* ── Scroll hint ───────────────────────────────────────── */
.scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey2);
}
.scroll-line { width: 1px; height: 44px; background: linear-gradient(to bottom, var(--gold), transparent); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:.3} 50%{opacity:1} }

/* ── Noise texture overlay ─────────────────────────────── */
.noise {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.3;
}

/* ── Footer ────────────────────────────────────────────── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 64px 48px 40px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { font-family: var(--fd); font-size: 2rem; font-weight: 600; color: var(--gold); letter-spacing: 0.06em; margin-bottom: 12px; display: block; }
.footer-desc { font-size: 0.85rem; color: var(--grey2); line-height: 1.75; max-width: 260px; }
.footer-col h5 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey2); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a { font-size: 0.88rem; color: var(--grey1); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p, .footer-bottom a { font-size: 12px; color: var(--grey2); }
.footer-bottom a:hover { color: var(--gold); }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 960px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .offer-box { padding: 44px 28px; }
}
@media (max-width: 640px) {
  section { padding: 80px 20px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  footer { padding: 48px 24px 32px; }
  .offer-box { padding: 40px 20px; }
  .page-hero { padding: 130px 20px 72px; }
  nav { padding: 0 20px; }
}
