/* ==========================================================
   base.css — Reset, tokens de marca y tipografía
   Don Merlo Bakery
   ========================================================== */

:root {
  /* Paleta tomada del logo */
  --rosa:        #C0706C;
  --rosa-oscuro: #9E5551;
  --rosa-suave:  #E3B5B2;
  --crema:       #E8E4D9;
  --crema-claro: #F6F3EC;
  --tinta:       #2E2320;
  --tinta-suave: #6B5A55;
  --linea:       rgba(46, 35, 32, .14);
  --blanco:      #FFFDF9;

  /* Tipografía */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Métrica */
  --ancho: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radio: 2px;

  /* Movimiento */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --lento: .9s;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--crema-claro);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.8rem, 8vw, 6.5rem); }
h2 { font-size: clamp(2.1rem, 5vw, 3.9rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }

p { margin: 0 0 1.1em; }

::selection {
  background: var(--rosa);
  color: var(--crema-claro);
}

/* Utilidades ------------------------------------------------ */

.contenedor {
  width: 100%;
  max-width: var(--ancho);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--rosa);
  font-weight: 400;
  margin-bottom: 1.2rem;
  display: block;
}

.seccion {
  padding: clamp(72px, 11vw, 150px) 0;
}

.solo-lectores {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
