/* ============================================
   BASE.CSS — Variables, Reset, Tipografía
   claudianassisi.com
   ============================================ */

/* Tipografías servidas desde la propia web (sin conexión a Google). Fuentes: Cormorant Infant y Jost, licencia OFL. */
/* latin-ext */
@font-face { font-family: 'Cormorant Infant'; font-style: italic; font-weight: 300 400; font-display: swap;
  src: url(/assets/fonts/HhyJU44g9vKiM1sORYSiWeAsLN997_Il1RMEbK0UPoDm.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin */
@font-face { font-family: 'Cormorant Infant'; font-style: italic; font-weight: 300 400; font-display: swap;
  src: url(/assets/fonts/HhyJU44g9vKiM1sORYSiWeAsLN997_Il2xMEbK0UPg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Infant'; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url(/assets/fonts/HhyPU44g9vKiM1sORYSiWeAsLN997_kV2RkDTq8kPw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Infant'; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url(/assets/fonts/HhyPU44g9vKiM1sORYSiWeAsLN997_cV2RkDTq8.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(/assets/fonts/92zatBhPNqw73ord4jQmfxIC7w.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(/assets/fonts/92zatBhPNqw73oTd4jQmfxI.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


/* --- VARIABLES --- */
:root {
  /* Paleta */
  --warm-taupe:   #C4A98A;
  --taupe-dark:   #9A8062;
  --off-white:    #F5F0EB;
  --linen:        #DDD5C8;
  --taupe-deep:   #665E56;
  --dark:         #2A2E2B;
  --white:        #FFFFFF;

  /* Tipografía */
  --font-display: 'Cormorant Infant', Georgia, serif;
  --font-body:    'Jost', sans-serif;

  /* Escala tipo */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.375rem;
  --text-2xl:  1.75rem;
  --text-3xl:  2.25rem;
  --text-4xl:  3rem;
  --text-5xl:  4rem;
  --text-hero: clamp(3.5rem, 8vw, 6.5rem);

  /* Espaciado */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  3rem;
  --space-xl:  4.5rem;
  --space-2xl: 7rem;

  /* Layout */
  --max-width: 1280px;
  --gutter:    clamp(1.5rem, 5vw, 4rem);

  /* Transiciones */
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  /* Sombras */
  --shadow-sm: 0 2px 12px rgba(102, 94, 86, 0.08);
  --shadow-md: 0 8px 32px rgba(102, 94, 86, 0.12);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-base);
  color: var(--dark);
  background-color: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- TIPOGRAFÍA BASE --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

/* Acentos italic en titulares — taupe oscuro legible */
h1 em, h2 em, h3 em, h4 em {
  color: var(--taupe-dark);
  font-style: italic;
  font-weight: 300;
}

p { max-width: 65ch; }

/* Eyebrow — etiqueta pequeña sobre títulos */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  display: block;
  margin-bottom: var(--space-sm);
}

/* --- LAYOUT HELPERS --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--space-xl);
}

.section--alt {
  background-color: var(--linen);
}

.section--dark {
  background-color: var(--taupe-deep);
  color: var(--off-white);
}

/* Textura sutil — da profundidad sin ser plano */
.section--alt {
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(196,169,138,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(196,169,138,0.05) 0%, transparent 50%);
}

/* --- MOTION --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
