/* ═══════════════════════════════════════════
   holaSpansk Landing — v3
   Apple-level clarity. Generous whitespace.
   Sorolla palette, refined.
═══════════════════════════════════════════ */

:root {
  --warm-white: #FFFAF4;
  --sand: #F0E4D4;
  --sand-pale: #FAF5ED;
  --gold: #C4862E;
  --sea-deep: #1B3A5C;
  --sea-mid: #3878AD;
  --sea-light: #90C4E8;
  --rojo: #C92E48;
  --white: #FEFCF9;
  --negro: #1D1D1F;
  --gris: #86868B;
  --gris-dark: #6E6E73;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Spacing scale — Apple-generous */
  --space-section: clamp(120px, 15vh, 200px);
  --space-block: clamp(48px, 6vh, 80px);
  --max-content: 680px;
  --max-wide: 980px;
  --padding-x: clamp(24px, 5vw, 80px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  font-family: var(--sans);
  color: var(--negro);
  background: var(--warm-white);
  overflow-x: hidden;
  line-height: 1.5;
}


/* ═══════════════════════════════════════
   HERO
   Full viewport. Calm. Centered.
═══════════════════════════════════════ */

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 60px var(--padding-x);
  gap: 0;
}

.hero-light {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255,245,220,0.6) 0%, transparent 70%),
    radial-gradient(ellipse 50% 70% at 80% 80%, rgba(144,196,232,0.15) 0%, transparent 60%),
    linear-gradient(175deg, var(--warm-white) 0%, var(--sand-pale) 40%, rgba(220,235,248,0.2) 70%, var(--warm-white) 100%);
  transition: background 1s ease;
  z-index: 0;
}

/* Brush strokes — very subtle accents */
.brush {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
}
.brush-top {
  top: 18%;
  left: -3%;
  width: 30%;
  height: 14px;
}
.brush-bottom {
  bottom: 22%;
  right: -3%;
  width: 35%;
  height: 14px;
}

.hero-logo {
  position: relative;
  z-index: 1;
  margin-bottom: 48px;
  animation: fadeUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-logo img {
  width: clamp(200px, 28vw, 320px);
  height: auto;
  filter: drop-shadow(0 12px 48px rgba(27,58,92,0.08));
}

.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  font-style: italic;
  color: var(--sea-deep);
  text-align: center;
  line-height: 1.1;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
  animation: fadeUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.12s both;
}

.hero-descriptor {
  font-family: var(--sans);
  font-size: clamp(17px, 2vw, 21px);
  color: var(--gris);
  text-align: center;
  margin-top: 20px;
  position: relative;
  z-index: 1;
  letter-spacing: 0;
  font-weight: 400;
  line-height: 1.5;
  animation: fadeUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.24s both;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.25;
  animation: pulse 3s ease-in-out infinite;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--sea-deep);
}


/* ═══════════════════════════════════════
   MANIFESTO
   Large serif text. Room to breathe.
═══════════════════════════════════════ */

.manifesto {
  padding: var(--space-section) var(--padding-x);
  display: flex;
  justify-content: center;
}

.manifesto-inner {
  max-width: var(--max-content);
  text-align: center;
}

.manifesto-text {
  font-family: var(--serif);
  font-size: clamp(24px, 3.5vw, 40px);
  line-height: 1.55;
  color: var(--negro);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.accent-gold {
  display: block;
  font-style: italic;
  color: var(--gold);
  margin-top: 8px;
}

.accent-sea {
  display: block;
  color: var(--sea-deep);
  font-weight: 700;
  margin-top: 8px;
}

.brush-divider {
  display: block;
  width: 80px;
  height: 3px;
  margin: var(--space-block) auto 0;
  opacity: 0.2;
}
.brush-divider-sm {
  width: 60px;
  opacity: 0.15;
}


/* ═══════════════════════════════════════
   THREE PILLARS
   Clean rows. Big words. Readable.
═══════════════════════════════════════ */

.pillars {
  padding: var(--space-section) var(--padding-x);
  display: flex;
  justify-content: center;
}

.pillars-inner {
  max-width: var(--max-wide);
  width: 100%;
}

.pillar {
  display: grid;
  grid-template-columns: clamp(120px, 20vw, 240px) 1fr;
  align-items: baseline;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(32px, 4vh, 48px) 0;
  border-bottom: 1px solid var(--sand);
}

.pillar:last-child {
  border-bottom: none;
}

/* Remove old asymmetric margins */
.pillar-0, .pillar-1, .pillar-2 {
  margin-left: 0;
}

.pillar-word {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  font-style: italic;
  line-height: 1;
}

.pillar-desc {
  font-family: var(--sans);
  font-size: clamp(17px, 1.8vw, 21px);
  color: var(--gris-dark);
  line-height: 1.6;
}


/* ═══════════════════════════════════════
   PALABRAS CON ALMA
   Dark panel. Generous padding.
═══════════════════════════════════════ */

.palabras {
  background: var(--sea-deep);
  padding: var(--space-section) var(--padding-x);
  position: relative;
  overflow: hidden;
}

.palabras-glow {
  position: absolute;
  top: -20%;
  right: -5%;
  width: 50%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(196,134,46,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.palabras-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.palabras-label {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 32px;
  font-weight: 500;
}

.palabras-word {
  font-family: var(--serif);
  font-size: clamp(56px, 11vw, 110px);
  font-style: italic;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 80px rgba(196,134,46,0.2);
}

.palabras-meaning {
  font-family: var(--sans);
  font-size: clamp(17px, 2vw, 21px);
  color: rgba(255,255,255,0.6);
  margin-top: 32px;
  line-height: 1.7;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}


/* ═══════════════════════════════════════
   LA TERRAZA
   Warm gradient. Big title.
═══════════════════════════════════════ */

.terraza {
  background: linear-gradient(180deg, var(--warm-white) 0%, var(--sand-pale) 100%);
  padding: var(--space-section) var(--padding-x);
  display: flex;
  justify-content: center;
}

.terraza-inner {
  max-width: 580px;
  text-align: center;
}

.terraza-title {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 64px);
  font-style: italic;
  font-weight: 700;
  color: var(--sea-deep);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.terraza-desc {
  font-family: var(--sans);
  font-size: clamp(17px, 1.8vw, 21px);
  color: var(--gris-dark);
  margin-top: 24px;
  line-height: 1.7;
}

.terraza-desc em {
  color: var(--sea-deep);
  font-style: italic;
  font-weight: 500;
}


/* ═══════════════════════════════════════
   CTA — ¿Vienes?
   Spacious. Clear action.
═══════════════════════════════════════ */

.cta {
  padding: var(--space-section) var(--padding-x) clamp(120px, 15vh, 200px);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(196,134,46,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  max-width: 520px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-success {
  display: none;
}

.cta-title {
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 80px);
  font-style: italic;
  font-weight: 700;
  color: var(--sea-deep);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.cta-desc {
  font-family: var(--sans);
  font-size: clamp(17px, 1.8vw, 21px);
  color: var(--gris);
  margin-top: 16px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--sand);
  background: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.cta-form:focus-within {
  border-color: var(--sea-light);
  box-shadow: 0 4px 24px rgba(27,58,92,0.08);
}

.cta-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 18px 22px;
  font-size: 17px;
  font-family: var(--sans);
  background: transparent;
  color: var(--negro);
  min-width: 0;
}

.cta-form input::placeholder {
  color: #B8B0A4;
}

.cta-form button {
  background: var(--rojo);
  color: #fff;
  border: none;
  padding: 18px 28px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--sans);
  white-space: nowrap;
  transition: background 0.2s;
  letter-spacing: -0.01em;
}

.cta-form button:hover {
  background: #B02840;
}


/* ═══════════════════════════════════════
   FOOTER
   Quiet. Minimal.
═══════════════════════════════════════ */

.footer {
  padding: 48px var(--padding-x) 56px;
  text-align: center;
  border-top: 1px solid var(--sand);
}

.footer-brand {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  color: var(--gris);
  opacity: 0.4;
}

.footer-sub {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--gris);
  margin-top: 8px;
  opacity: 0.25;
}


/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 0.25; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.1; transform: translateX(-50%) translateY(5px); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */

@media (max-width: 768px) {
  .hero {
    padding: 48px 24px;
  }

  .hero-logo {
    margin-bottom: 36px;
  }

  .hero-logo img {
    width: clamp(180px, 45vw, 260px);
  }

  .pillar {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }

  .cta-form {
    flex-direction: column;
    border-radius: 14px;
  }

  .cta-form input {
    padding: 16px 20px;
    text-align: center;
  }

  .cta-form button {
    padding: 16px 20px;
    border-radius: 0 0 12px 12px;
  }
}
