/* ══════════════════════════════════════════
   CICCHITTI — GLOBAL CSS
   Variables, reset, tipografía, utilitarios
══════════════════════════════════════════ */

@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,500&family=Jost:wght@300;400;500&display=swap');

/* ── VARIABLES ── */
:root {
  --cream:       #F9F9F6;
  --cream-deep:  #F0F0EC;
  --cream-bg:    #F5F5F2;
  --gold:        #C8A96E;
  --gold-dim:    #9A7A4A;
  --gold-light:  #E8D09A;
  --wine:        #4B0F1A;
  --wine-mid:    #6B1E2E;
  --dark:        #0E0A08;
  --charcoal:    #1C1714;
  --ink:         #12100E;

  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Jost', system-ui, sans-serif;

  --nav-height: 73px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  width: 100%;
  background: var(--dark);
  color: var(--cream);
  font-family: var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
}

/* ── GRAIN OVERLAY ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.3;
  mix-blend-mode: overlay;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }
.reveal.delay-4 { transition-delay: 0.48s; }
.reveal.visible  { opacity: 1; transform: translateY(0); }

/* ── SEPARADOR FADE
   Se interna DENTRO del hero con margin-top negativo.
   Gradiente rgba(cream,0→1): el fondo oscuro se ve
   a través del cream transparente → no hay banda gris.
── */
.torn-to-cream {
  display: none;
}

/* ── SECTION TAG (eyebrow) ── */
.section-tag {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 0.5px;
}
.section-tag.light          { color: var(--gold); }
.section-tag.light::before  { background: var(--gold); }
.section-tag.dark           { color: var(--wine); }
.section-tag.dark::before   { background: var(--wine); }

/* Variante centrada: línea en ambos lados */
.section-tag.centered {
  justify-content: center;
}
.section-tag.centered::after {
  content: '';
  display: block;
  width: 24px;
  height: 0.5px;
}
.section-tag.centered.light::after { background: var(--gold); }
.section-tag.centered.dark::after  { background: var(--wine); }

/* ── FORM REQUIRED MARK ── */
.required-mark {
  color: var(--wine);
  font-weight: 500;
  margin-left: 2px;
}

/* ── SECTION TITLE ── */
.section-title {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0.02em;
}
.section-title em { font-style: italic; }

/* ── BOTONES GLOBALES ── */
.btn {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 32px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  background: transparent;
}
.btn svg { transition: transform 0.3s; }
.btn:hover svg { transform: translateX(4px); }

.btn--gold {
  color: var(--dark);
  background: var(--gold);
  border: 1px solid var(--gold);
}
.btn--gold:hover {
  background: transparent;
  color: var(--gold);
}

.btn--outline-light {
  color: rgba(244,236,216,0.8);
  border: 0.5px solid rgba(244,236,216,0.28);
}
.btn--outline-light:hover {
  color: var(--cream);
  border-color: rgba(244,236,216,0.55);
  background: rgba(244,236,216,0.05);
}

.btn--outline-dark {
  color: var(--wine);
  border: 0.5px solid rgba(75,15,26,0.35);
}
.btn--outline-dark:hover {
  background: var(--wine);
  color: var(--cream);
  border-color: var(--wine);
}

.btn--wine {
  color: var(--cream);
  background: var(--wine);
  border: 1px solid var(--wine);
}
.btn--wine:hover {
  background: transparent;
  color: var(--wine);
}

/* ── LINK SUBRAYADO ── */
.link-underline {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 0.5px solid rgba(75,15,26,0.25);
  padding-bottom: 3px;
  transition: all 0.25s;
}
.link-underline svg { transition: transform 0.3s; }
.link-underline:hover { border-bottom-color: var(--wine); }
.link-underline:hover svg { transform: translateX(4px); }

/* ── WHATSAPP FAB ── */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 300;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.32);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.44);
}

/* ── RESPONSIVE HELPERS ── */
@media (max-width: 960px) {
  :root { --nav-height: 60px; }
}
