/* ForeverShoe — shared styles */
:root {
  --purple: #4b1d6e;
  --purple-deep: #2e0f47;
  --purple-soft: #ecdff5;
  --gold: #c9a24a;
  --gold-light: #e8cf8a;
  --ivory: #fbf8f2;
  --ink: #1f1a24;
  --muted: #6b6473;
  --line: #e6dfe9;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(46, 15, 71, 0.10);
  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--purple-deep); }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.eyebrow { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.container { width: min(1180px, 100% - 2rem); margin-inline: auto; }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section.alt { background: var(--white); }
.section.dark { background: var(--purple-deep); color: #efe6f5; }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark .lead { color: #d9cbe6; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem; border-radius: 999px; font-weight: 600; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; font-size: 1rem; transition: transform .15s, box-shadow .15s, background .15s;
  font-family: var(--sans);
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--purple-deep); box-shadow: 0 6px 18px rgba(201,162,74,.35); }
.btn-purple { background: var(--purple); color: var(--white); }
.btn-outline { border-color: var(--purple); color: var(--purple); background: transparent; }
.section.dark .btn-outline { border-color: var(--gold-light); color: var(--gold-light); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,248,242,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--purple-deep); text-decoration: none; letter-spacing: .02em; display: flex; align-items: center; gap: .5rem; }
.logo svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; color: var(--ink); font-size: .95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--purple); }
.nav-cta { display: flex; align-items: center; gap: .8rem; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--purple-deep); }
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--ivory); flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 1rem; }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--purple-deep); color: var(--white); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; min-height: 78vh; padding: 3rem 0; }
.hero h1 { color: var(--white); }
.hero .lead { color: #e2d6ec; }
.hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.6rem; font-size: .9rem; color: var(--gold-light); }
.hero-badges span::before { content: "✦ "; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; min-height: auto; } }

/* Video hero */
.hero-video { min-height: min(92vh, 820px); display: flex; align-items: flex-end; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46,15,71,.15) 0%, rgba(46,15,71,.35) 45%, rgba(46,15,71,.92) 100%); }
.hero-content { position: relative; z-index: 1; padding: 6rem 0 3.5rem; max-width: 720px; margin-left: 0; }
.hero-content h1 { color: var(--white); text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero-content .lead { color: #efe6f5; }
.hero-video .btn-outline { border-color: rgba(255,255,255,.7); color: var(--white); background: rgba(46,15,71,.35); backdrop-filter: blur(6px); }
.hero-video .btn-outline:hover { background: rgba(46,15,71,.6); }
@media (max-width: 700px) { .hero-video { min-height: 78vh; } .hero-content { padding-top: 4rem; } }

/* Grids and cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card h3 { margin-bottom: .2rem; }
.card .price { font-family: var(--serif); font-size: 1.4rem; color: var(--purple); font-weight: 700; }
.card .meta { color: var(--muted); font-size: .92rem; }
.card .card-body .btn { margin-top: auto; align-self: flex-start; }
.tag { display: inline-block; background: var(--purple-soft); color: var(--purple); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; font-weight: 600; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; position: relative; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--serif); font-size: 2.6rem; color: var(--gold); font-weight: 700; line-height: 1; display: block; margin-bottom: .6rem; }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: stretch; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.tier { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.tier.featured { border: 2px solid var(--gold); position: relative; }
.tier.featured::after { content: "Most loved"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--purple-deep); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; padding: .3rem .9rem; border-radius: 999px; }
.tier .price { font-family: var(--serif); font-size: 2.6rem; color: var(--purple-deep); font-weight: 700; margin: .4rem 0; }
.tier ul { list-style: none; padding: 0; margin: 1rem 0 1.6rem; display: grid; gap: .55rem; color: var(--muted); }
.tier li::before { content: "✓ "; color: var(--gold); font-weight: 700; }
.tier .btn { margin-top: auto; }

/* Tables */
table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
th, td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
th { background: var(--purple-soft); color: var(--purple-deep); font-weight: 600; }
tr:last-child td { border-bottom: 0; }

/* Configurator */
.config { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .config { grid-template-columns: 1fr; } }
.config-gallery { position: sticky; top: 90px; }
.config-gallery .main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.thumbs { display: flex; gap: .6rem; margin-top: .8rem; }
.thumbs img { width: 84px; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; }
.thumbs img.active { border-color: var(--gold); }
.field { margin-bottom: 1.4rem; }
.field > label, .field > .label { display: block; font-weight: 600; margin-bottom: .5rem; font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { border: 1.5px solid var(--line); background: var(--white); padding: .5rem .85rem; border-radius: 10px; cursor: pointer; font-weight: 500; font-size: .92rem; transition: all .12s; font-family: var(--sans); }
.chip:hover { border-color: var(--purple); }
.chip.active { border-color: var(--purple); background: var(--purple); color: var(--white); }
.swatches { display: flex; gap: .6rem; }
.swatch { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; transition: transform .12s; }
.swatch:hover { transform: scale(1.08); }
.swatch.active { box-shadow: 0 0 0 2.5px var(--purple); }
input[type="text"], input[type="email"], textarea, select {
  width: 100%; padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 10px; font-family: var(--sans); font-size: 1rem; background: var(--white); color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--purple-soft); border-color: var(--purple); }
.hint { font-size: .82rem; color: var(--muted); margin-top: .35rem; }
.plaque { border-radius: 10px; padding: 1.1rem 1.4rem; text-align: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 6px 14px rgba(0,0,0,.18); position: relative; min-height: 96px; display: flex; flex-direction: column; justify-content: center; }
.plaque::before, .plaque::after { content: ""; position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: rgba(0,0,0,.25); transform: translateY(-50%); }
.plaque::before { left: 12px; } .plaque::after { right: 12px; }
.plaque .p-name { font-family: var(--serif); font-size: 1.6rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.plaque .p-msg { font-family: var(--serif); font-style: italic; font-size: 1.05rem; }
.plaque .p-size { font-size: .78rem; letter-spacing: .1em; margin-top: .2rem; }
.plaque.gold { background: linear-gradient(135deg, #f3dd9a, #c9a24a 60%, #e9cf85); color: #3a2a06; }
.plaque.rose { background: linear-gradient(135deg, #f7d4c4, #d9a089 60%, #f0c9b8); color: #4a2316; }
.plaque.silver { background: linear-gradient(135deg, #f1f1f1, #b8b8bd 60%, #e4e4e7); color: #2b2b30; }
.summary { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; margin-top: 1rem; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--serif); font-size: 1.8rem; color: var(--purple-deep); font-weight: 700; }
.summary small { color: var(--muted); font-size: .85rem; }

/* FAQ */
details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: .8rem; }
summary { cursor: pointer; font-weight: 600; font-family: var(--serif); font-size: 1.15rem; color: var(--purple-deep); }
details p { margin: .8rem 0 0; color: var(--muted); }

/* Testimonial / quote */
.quote { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); font-style: italic; color: var(--white); max-width: 30ch; margin: 0 auto 1rem; line-height: 1.3; }
.quote-by { color: var(--gold-light); letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }

/* Notice */
.notice { background: var(--purple-soft); border-left: 4px solid var(--gold); padding: 1rem 1.2rem; border-radius: 8px; font-size: .92rem; color: var(--purple-deep); }

/* Footer */
.site-footer { background: var(--purple-deep); color: #cdbdd9; padding: 3.5rem 0 2rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-family: var(--sans); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.site-footer a { color: #cdbdd9; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-size: .82rem; color: #a393b2; }
.site-footer .logo { color: var(--white); }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(180deg, var(--purple-soft), var(--ivory)); padding: 3.5rem 0 2.5rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; margin-bottom: 1rem; }
form .field { margin-bottom: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-ok { display: none; background: #e6f6ea; border-left: 4px solid #3a9d5d; padding: 1rem; border-radius: 8px; margin-top: 1rem; }

/* Utilities */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
