/* ==========================================================================
   Grupo Pucci — Sistema de diseño (atemporal)
   Serif clásica para titulares + sans limpia para cuerpo. Mucho aire,
   líneas finas, paleta sobria. Sin modas que envejezcan.
   ========================================================================== */

:root {
  /* Paleta */
  --burdeos:   #6B1E32;
  --grafito:   #4A4A4C;
  --marino:    #1C2A4A;
  --crema:     #F4F1EB;
  --blanco:    #FBFAF6;
  --tinta:     #33333A;
  --tenue:     #6E6E76;
  --linea:     #E2DCD0;

  /* Tipografía */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Ritmo */
  --maxw: 1120px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--tinta);
  background: var(--blanco);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--marino);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; }

a { color: var(--burdeos); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Layout ------------------------------------------------------------------ */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section { padding: clamp(3.5rem, 9vw, 7rem) 0; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--burdeos);
  margin-bottom: 1rem;
}

.lead { font-size: 1.2rem; color: var(--tenue); max-width: 46ch; }

.rule {
  width: 48px; height: 2px; background: var(--burdeos);
  border: 0; margin: 1.4rem 0;
}

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 246, 0.9);
  backdrop-filter: saturate(120%) blur(6px);
  border-bottom: 1px solid var(--linea);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.9rem; padding-bottom: 0.9rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img { width: 40px; }
.brand .name {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600;
  color: var(--marino); letter-spacing: 0.04em;
}
.nav { display: flex; gap: 2rem; }
.nav a {
  color: var(--tinta); font-size: 0.95rem; font-weight: 500;
}
.nav a:hover { color: var(--burdeos); text-decoration: none; }
@media (max-width: 720px) { .nav { display: none; } }

/* Botones ----------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.8rem;
  background: var(--burdeos); color: #fff;
  border: 1px solid var(--burdeos);
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: #571726; text-decoration: none; }
.btn--ghost {
  background: transparent; color: var(--marino); border-color: var(--linea);
}
.btn--ghost:hover { background: var(--crema); }

/* Hero -------------------------------------------------------------------- */
.hero {
  background: var(--crema);
  border-bottom: 1px solid var(--linea);
  text-align: center;
}
.hero img.mark { width: clamp(120px, 22vw, 190px); margin: 0 auto 1.8rem; }
.hero .lead { margin-left: auto; margin-right: auto; }
.hero .actions { margin-top: 2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Grid de tarjetas -------------------------------------------------------- */
.grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-radius: 3px;
  padding: 2rem;
}
.card h3 { color: var(--marino); }
.card p { color: var(--tenue); margin-bottom: 0; }
.card .num {
  font-family: var(--serif); font-size: 1.4rem; color: var(--burdeos);
  display: block; margin-bottom: 0.6rem;
}

/* Franja alterna ---------------------------------------------------------- */
.alt { background: var(--crema); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }

/* Contacto ---------------------------------------------------------------- */
.contact { text-align: center; }
.contact .email {
  font-family: var(--serif); font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: var(--marino); display: inline-block; margin: 0.5rem 0 1.5rem;
}

/* Footer ------------------------------------------------------------------ */
.site-footer {
  background: var(--marino); color: #cdd3e0;
  padding: 3rem 0; font-size: 0.9rem;
}
.site-footer a { color: #fff; }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  align-items: center; justify-content: space-between;
}
.site-footer .legal-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.site-footer .legal-links a { color: #cdd3e0; }
.site-footer .legal-links a:hover { color: #fff; }

/* Páginas legales --------------------------------------------------------- */
.legal-page { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.legal-page .wrap { max-width: 780px; }
.legal-page h1 { margin-bottom: 0.3rem; }
.legal-page .updated { color: var(--tenue); font-size: 0.9rem; margin-bottom: 2.5rem; }
.legal-page h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: 0.92rem; }
.legal-page th, .legal-page td { border: 1px solid var(--linea); padding: 0.6rem 0.8rem; text-align: left; vertical-align: top; }
.legal-page th { background: var(--crema); font-family: var(--sans); }
.back-link { display: inline-block; margin-top: 3rem; font-size: 0.95rem; }

/* Utilidades -------------------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
