/* =========================================================
   DESIGN SYSTEM — Me Visto Como Quiero
   Editorial Fashion Store · 2026
   ========================================================= */

/* ── Import Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Brand Colors */
  --c-red:          #e63946;
  --c-red-dark:     #c1121f;
  --c-red-muted:    rgba(230, 57, 70, 0.12);

  /* Neutrals */
  --c-black:        #0a0a0a;
  --c-ink:          #1a1614;
  --c-charcoal:     #2d2420;
  --c-warm-gray:    #6a5f58;
  --c-mist:         #a89e97;
  --c-pale:         #e8e2db;
  --c-cream:        #faf7f2;
  --c-white:        #ffffff;

  /* Warm Tones (brand heritage) */
  --c-bark:         #3d2218;
  --c-warm-mid:     #6f625d;
  --c-gold:         #c4986b;
  --c-gold-light:   #dbb897;

  /* Typography Scale */
  --font-display:   'Cormorant Garamond', 'Georgia', serif;
  --font-sans:      'Inter', system-ui, sans-serif;
  --font-brand:     'Staatliches', sans-serif;

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-24: 6rem;

  /* Borders */
  --r-sm:   4px;
  --r-md:   10px;
  --r-lg:   20px;
  --r-xl:   32px;
  --r-pill: 999px;

  /* Shadows */
  --sh-soft:   0 4px 20px rgba(10, 5, 3, 0.06);
  --sh-med:    0 8px 32px rgba(10, 5, 3, 0.10);
  --sh-strong: 0 20px 60px rgba(10, 5, 3, 0.18);
  --sh-card:   0 12px 40px rgba(10, 5, 3, 0.08);

  /* Transitions */
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:  0.18s var(--ease);
  --t-med:   0.38s var(--ease);
  --t-slow:  0.65s var(--ease);

  /* Layout */
  --max-w: 1400px;
  --nav-h: 78px;
}

/* ── Base Reset ── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

/* ── Editorial Typography Classes ── */

.text-display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.01em;
}

.text-display-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  line-height: 1.05;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-warm-gray);
}

.eyebrow--gold   { color: var(--c-gold); }
.eyebrow--light  { color: rgba(255,255,255,0.65); }
.eyebrow--red    { color: var(--c-red); }

/* ── Section Utilities ── */
.section-pad   { padding: var(--sp-24) 0; }
.section-pad-lg{ padding: calc(var(--sp-24) * 1.5) 0; }

/* ── Button System ── */

.btn-ed {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
}

.btn-ed:hover { transform: translateY(-2px); }

/* Variants */
.btn-ed--dark {
  background: var(--c-ink);
  color: var(--c-white);
}
.btn-ed--dark:hover {
  background: var(--c-charcoal);
  color: var(--c-white);
  box-shadow: 0 8px 24px rgba(10,5,3,0.22);
}

.btn-ed--outline-white {
  background: transparent;
  color: var(--c-white);
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-ed--outline-white:hover {
  background: var(--c-white);
  color: var(--c-ink);
  border-color: var(--c-white);
}

.btn-ed--outline-dark {
  background: transparent;
  color: var(--c-ink);
  border: 1.5px solid var(--c-ink);
}
.btn-ed--outline-dark:hover {
  background: var(--c-ink);
  color: var(--c-white);
}

.btn-ed--red {
  background: var(--c-red);
  color: var(--c-white);
}
.btn-ed--red:hover {
  background: var(--c-red-dark);
  color: var(--c-white);
  box-shadow: 0 8px 24px rgba(230,57,70,0.28);
}

/* ── Divider Accent ── */
.accent-rule {
  width: 48px;
  height: 2px;
  background: var(--c-red);
  border: none;
  margin: 0;
}

/* ── Skeleton Loader ── */
.skeleton {
  background: linear-gradient(90deg, #f0ece8 25%, #e8e2db 50%, #f0ece8 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.4s ease infinite;
  border-radius: var(--r-md);
}

@keyframes skeletonShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Scroll-reveal utility ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Loading spinner ── */
.spinner-ring {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2.5px solid rgba(230,57,70,0.2);
  border-top-color: var(--c-red);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
