/* =================================================================
   BASE · reset, variables de diseño, tipografía global,
   utilidades compartidas (botones, secciones, reveal)
   Cárgalo SIEMPRE el primero.
================================================================= */

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

:root {
    --teal-dark: #1F4448;
    --teal: #2C5F66;
    --pink-dust: #D4A5A0;
    --pink-soft: #E8C5BF;
    --sand: #D9C7A8;
    --sand-light: #EDE3D0;
    --cream: #F8F2E7;
    --off-white: #FBF7F0;
    --orange: #f29002;
    --text-soft: #4A5A5C;
    --white: #FFFFFF;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-weight: 400; line-height: 1.7; color: var(--teal-dark); background: var(--off-white); overflow-x: hidden; }
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.15; }
img { max-width: 100%; height: auto; display: block; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 3px; }
.skip-link { position: absolute; left: -9999px; top: 1rem; background: var(--teal-dark); color: var(--white); padding: 1rem 1.5rem; z-index: 9999; text-decoration: none; font-weight: 600; }
.skip-link:focus { left: 1rem; }

/* =================================================================
   BOTONES
================================================================= */
.btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 1rem 2rem; font-family: var(--sans);
    font-size: 0.82rem; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase;
    text-decoration: none; border: none; cursor: pointer;
    transition: all 0.4s; border-radius: 2px;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--white); color: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.7); }
.btn-outline:hover { background: var(--white); color: var(--teal-dark); }
.btn-dark { background: var(--teal-dark); color: var(--white); }
.btn-dark:hover { background: var(--orange); transform: translateY(-2px); }
/* Botones dentro de la sección contacto (fondo naranja) */
.contacto-info .btn-primary { background: var(--teal-dark); }
.contacto-info .btn-primary:hover { background: var(--cream); color: var(--teal-dark); }
.contacto-info .btn-outline { border-color: var(--teal-dark); color: var(--teal-dark); }
.contacto-info .btn-outline:hover { background: var(--teal-dark); color: var(--white); }

/* =================================================================
   SECCIONES BASE
================================================================= */
/* Padding vertical contenido y fluido: evita alturas gigantes en desktop.
   clamp(min, preferido, max) → 3.5rem en móvil, ~6vw fluido, tope 5rem. */
main section { padding: clamp(3.5rem, 6vw, 5rem) 5%; position: relative; }
.container { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
    font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.4em; text-transform: uppercase;
    color: var(--orange); margin-bottom: 1rem; display: block;
}
.section-eyebrow::before { content: '— '; }
.section-title { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1.5rem; color: var(--teal-dark); }
.section-title em { font-style: italic; color: var(--teal); }
.section-subtitle {
    font-family: var(--serif); font-style: italic;
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    color: var(--text-soft); max-width: 700px;
    margin-bottom: 4rem; line-height: 1.6;
}
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive — base */
@media (max-width: 768px) {
    main section { padding: 4rem 5%; }
}
