/* Bugambilia — tokens del brandbook (project/tokens.json) */
:root {
  --cafe-rama: #855751;
  --arena: #F5EEE9;
  --papel: #FFFBF9;
  --tinta: #855751;
  --linea: #E6D9D4;
  --fucsia: #F560A9;
  --fucsia-profundo: #B02961;
  --petalo: #FDAADD;
  --niebla: #FCEDF5;
  --estambre: #F0C956;

  --font-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-mano: "Caveat", "Segoe Print", cursive;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;

  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-pill: 999px;
}

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

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

body {
  margin: 0;
  min-height: 100svh;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 23px;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-6) var(--space-4);
  text-align: center;
}

.logo {
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin: 0 auto var(--space-6);
}

.bajada {
  margin: 0 0 var(--space-3);
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cafe-rama);
}

h1 {
  margin: 0 0 var(--space-4);
  font-size: 36px;
  line-height: 42px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--tinta);
}

.texto {
  max-width: 520px;
  margin: 0 auto var(--space-5);
}

.texto p { margin: 0 0 var(--space-3); }

.mano {
  display: block;
  margin: 0 0 var(--space-5);
  font-family: var(--font-mano);
  font-size: 28px;
  line-height: 32px;
  font-weight: 600;
  color: var(--fucsia-profundo);
}

.separador {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 auto var(--space-5);
}

.separador::before,
.separador::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--fucsia);
}

.separador i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--estambre);
}

.contacto {
  margin: 0;
  font-size: 12px;
  line-height: 17px;
}

.contacto a {
  color: var(--fucsia-profundo);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--petalo);
}

.contacto a:hover,
.contacto a:focus-visible {
  border-bottom-color: var(--fucsia-profundo);
  outline: none;
}

.contacto span { display: block; margin-top: var(--space-1); color: var(--cafe-rama); }

.cotizar {
  padding: 0 var(--space-4) var(--space-6);
}

.cotizar-inner {
  max-width: 760px;
  margin: 0 auto;
}

/* el widget crea el iframe dentro del div; nada de transform/overflow en sus ancestros */
#vp-formulario { min-height: 480px; }

@media (max-width: 480px) {
  .cotizar { padding: 0 var(--space-3) var(--space-5); }
}

footer {
  padding: var(--space-4);
  border-top: 1px solid var(--linea);
  font-size: 12px;
  line-height: 17px;
  text-align: center;
  color: var(--cafe-rama);
}

@media (max-width: 480px) {
  .page { padding: var(--space-5) var(--space-3); }
  .logo { margin-bottom: var(--space-5); }
  h1 { font-size: 28px; line-height: 34px; }
}

@media (prefers-reduced-motion: no-preference) {
  .page > * { animation: aparecer 0.9s ease-out both; }
  .page > *:nth-child(2) { animation-delay: 0.1s; }
  .page > *:nth-child(3) { animation-delay: 0.2s; }
  .page > *:nth-child(4) { animation-delay: 0.3s; }
  .page > *:nth-child(5) { animation-delay: 0.4s; }
  .page > *:nth-child(6) { animation-delay: 0.5s; }
  .page > *:nth-child(7) { animation-delay: 0.6s; }
  @keyframes aparecer {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
  }
}
