/* =========================================================
   FOLD & FORM — Independent Clothing Boutique
   Design tokens: ecru paper ground, near-black ink, a single
   brick-red accent pulled from a swing tag. High-contrast
   editorial serif paired with a geometric grotesk body.
   Structural device: sections are introduced by a "Look No."
   tag — the same number printed on a lookbook page corner,
   not a decorative numeral.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,wght@0,400;0,500;0,600;1,500&family=Jost:wght@400;500;600;700&display=swap');

:root {
  --paper: #ece7df;
  --paper-alt: #e2ddd2;
  --card: #f6f3ec;
  --line: rgba(26, 26, 26, 0.14);
  --ink: #1a1a1a;
  --muted: #6b675f;
  --brick: #a13d2c;
  --brick-bright: #bb4a36;
  --radius: 0px;
  --font-display: 'Bodoni Moda', Georgia, serif;
  --font-body: 'Jost', -apple-system, sans-serif;
  --nav-height: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.no-scroll { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Look tag (signature numbering device) ---------- */
.look-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--brick);
}
.look-tag span { color: var(--brick); }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.section-lede { color: var(--muted); max-width: 540px; font-size: 16.5px; }
.section { padding: 100px 0; border-bottom: 1px solid var(--line); }
.section--alt { background: var(--paper-alt); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-height); display: flex; align-items: center; background: rgba(236, 231, 223, 0.88); backdrop-filter: blur(6px); transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(236, 231, 223, 0.97); border-bottom-color: var(--line); height: 64px; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav__brand { font-family: var(--font-display); font-size: 21px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.nav__brand span { color: var(--brick); }
.nav__menu { display: flex; align-items: center; gap: 34px; }
.nav__menu a { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); transition: color 0.2s ease; }
.nav__menu a:hover { color: var(--brick); }
.nav__cta { border: 1.5px solid var(--ink); color: var(--ink) !important; padding: 10px 20px; }
.nav__cta:hover { background: var(--ink); color: var(--paper) !important; }

.nav__toggle { display: none; background: none; border: none; width: 32px; height: 24px; position: relative; }
.nav__toggle span, .nav__toggle::before, .nav__toggle::after { content: ''; position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); transition: transform 0.25s ease, opacity 0.25s ease; }
.nav__toggle::before { top: 2px; } .nav__toggle span { top: 11px; } .nav__toggle::after { bottom: 2px; }
.nav__toggle.is-active::before { transform: translateY(9px) rotate(45deg); }
.nav__toggle.is-active::after { transform: translateY(-9px) rotate(-45deg); }
.nav__toggle.is-active span { opacity: 0; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
  background: var(--paper);
}
.hero__mark { position: absolute; right: -80px; top: 50%; transform: translateY(-50%); width: 560px; height: 560px; opacity: 0.9; }
.hero__inner { position: relative; z-index: 2; max-width: 600px; }
.hero__kicker { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brick); margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.hero__kicker::before { content: ''; width: 36px; height: 1px; background: var(--brick); }
.hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 6.4vw, 74px); line-height: 1.04; margin: 0 0 24px; letter-spacing: -0.01em; }
.hero h1 em { font-style: italic; color: var(--brick); }
.hero p { color: var(--muted); font-size: 17.5px; max-width: 460px; margin-bottom: 38px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 15px 30px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; border-radius: var(--radius); transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease; font-weight: 600; }
.btn--primary { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }
.btn--primary:hover { background: var(--brick); border-color: var(--brick); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--ink); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brick); color: var(--brick); }

.hero__stats { display: flex; gap: 40px; }
.hero__stat strong { display: block; font-family: var(--font-display); font-size: 28px; }
.hero__stat span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__visual { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; position: relative; border: 1px solid var(--line); }
.about__body p { color: var(--muted); font-size: 16px; margin-bottom: 16px; }
.about__list { margin-top: 26px; display: grid; gap: 13px; }
.about__list li { display: flex; align-items: baseline; gap: 12px; font-size: 14.5px; }
.about__list li::before { content: ''; width: 7px; height: 7px; background: var(--brick); flex-shrink: 0; }

/* ---------- Services ---------- */
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { background: var(--paper); padding: 36px 30px; transition: background 0.25s ease; }
.service-card:hover { background: var(--card); }
.service-card__chip { width: 26px; height: 26px; margin-bottom: 18px; }
.service-card h3 { font-family: var(--font-display); font-size: 20px; margin: 0 0 10px; }
.service-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Why choose us ---------- */
.edge { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.edge__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 26px; }
.edge-item strong { display: block; font-family: var(--font-display); font-size: 32px; color: var(--brick); margin-bottom: 6px; }
.edge-item span { color: var(--muted); font-size: 13.5px; }

/* ---------- Gallery ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.gallery__item { position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 16px; }
.gallery__item span { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper); position: relative; z-index: 2; font-weight: 600; }
.gallery__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 60%); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ---------- Testimonials ---------- */
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial-card { background: var(--card); border: 1px solid var(--line); padding: 32px; }
.testimonial-card__stars { color: var(--brick); letter-spacing: 2px; margin-bottom: 16px; font-size: 14px; }
.testimonial-card p { color: var(--ink); font-size: 14.5px; margin-bottom: 20px; font-style: italic; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 14px; color: var(--paper); background: var(--ink); flex-shrink: 0; }
.testimonial-card__author strong { display: block; font-size: 14px; font-weight: 600; }
.testimonial-card__author span { font-size: 12px; color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing__note { color: var(--muted); font-size: 14px; margin: -36px 0 40px; max-width: 620px; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card { background: var(--card); border: 1px solid var(--line); padding: 40px 32px; display: flex; flex-direction: column; }
.price-card--featured { border-color: var(--ink); position: relative; }
.price-card--featured::before { content: 'Most Loved'; position: absolute; top: -13px; left: 32px; background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; padding: 5px 14px; }
.price-card h3 { font-family: var(--font-display); font-size: 21px; margin: 0 0 6px; }
.price-card__amount { font-family: var(--font-display); font-size: 40px; color: var(--brick); margin: 14px 0; }
.price-card__amount span { font-size: 14px; color: var(--muted); font-family: var(--font-body); }
.price-card ul { display: grid; gap: 12px; margin: 24px 0 32px; flex-grow: 1; }
.price-card ul li { font-size: 14px; color: var(--muted); display: flex; gap: 10px; }
.price-card ul li::before { content: '—'; color: var(--brick); flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__q { width: 100%; text-align: left; background: none; border: none; color: var(--ink); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-size: 18px; }
.faq-item__q::after { content: '+'; font-size: 22px; color: var(--brick); transition: transform 0.25s ease; flex-shrink: 0; margin-left: 20px; }
.faq-item.is-open .faq-item__q::after { transform: rotate(45deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--muted); font-size: 14.5px; }
.faq-item.is-open .faq-item__a { max-height: 200px; padding-bottom: 22px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact__info { display: grid; gap: 24px; align-content: start; }
.contact__row { display: flex; align-items: flex-start; gap: 16px; }
.contact__icon { width: 42px; height: 42px; flex-shrink: 0; border: 1px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.contact__row strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.contact__row span, .contact__row a { color: var(--muted); font-size: 14px; }
.contact__row a:hover { color: var(--brick); }
.contact__socials { display: flex; gap: 12px; margin-top: 8px; }
.contact__socials a { width: 38px; height: 38px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: border-color 0.2s ease, color 0.2s ease; }
.contact__socials a:hover { border-color: var(--brick); color: var(--brick); }
.contact__map { margin-top: 8px; border: 1px solid var(--line); aspect-ratio: 16/10; overflow: hidden; }
.contact__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.6) contrast(1.05); }

.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form-field input, .form-field textarea { width: 100%; background: var(--card); border: 1px solid var(--line); color: var(--ink); padding: 13px 14px; font-family: var(--font-body); font-size: 15px; border-radius: var(--radius); transition: border-color 0.2s ease; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--brick); outline: none; }
.form-field input.is-invalid, .form-field textarea.is-invalid { border-color: #8a3226; }
.form-field [data-error] { display: block; color: #8a3226; font-size: 12px; margin-top: 6px; min-height: 16px; }
.form-status { font-size: 14px; margin-top: 4px; min-height: 20px; }
.form-status--success { color: var(--brick); }
.form-status--error { color: #8a3226; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 64px 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(236,231,223,0.15); }
.footer__brand { font-family: var(--font-display); font-size: 21px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer__brand span { color: var(--brick-bright); }
.footer p { color: rgba(236,231,223,0.6); font-size: 14px; max-width: 280px; }
.footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--brick-bright); margin: 0 0 16px; font-weight: 600; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { color: rgba(236,231,223,0.7); font-size: 14px; }
.footer ul a:hover { color: var(--paper); }
.footer__bottom { display: flex; justify-content: space-between; padding-top: 24px; color: rgba(236,231,223,0.5); font-size: 13px; flex-wrap: wrap; gap: 12px; }

/* ---------- Floating buttons ---------- */
.float-stack { position: fixed; right: 22px; bottom: 22px; display: grid; gap: 12px; z-index: 90; }
.float-btn { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,0.3); transition: transform 0.2s ease; }
.float-btn:hover { transform: translateY(-3px) scale(1.04); }
.float-btn--whatsapp { background: #25D366; color: #0b2b16; }
.float-btn--call { background: var(--ink); color: var(--paper); }
.back-to-top { opacity: 0; pointer-events: none; background: var(--card); border: 1px solid var(--line); color: var(--ink); transition: opacity 0.25s ease, transform 0.2s ease; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid, .edge, .contact { grid-template-columns: 1fr; }
  .services__grid, .testimonials__grid, .pricing__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .edge__grid { grid-template-columns: 1fr 1fr; }
  .hero__mark { display: none; }
}
@media (max-width: 720px) {
  .nav__menu { display: none; }
  .nav__toggle { display: block; }
  .nav__menu.is-open { display: flex; flex-direction: column; position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0; background: var(--paper); padding: 40px 24px; gap: 24px; overflow-y: auto; }
  .hero__stats { flex-wrap: wrap; row-gap: 20px; }
  .services__grid, .testimonials__grid, .pricing__grid, .edge__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
