/* ============================================================
   AMUN ARQUITECTURA — Base Styles
   ============================================================ */

/* ── Importaciones tipográficas de Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Caveat:wght@500;600;700&display=swap');

/* ── Body base ── */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--black);
  background-color: var(--bg-crema);
  overflow-x: clip;
}

/* ── Contenedor principal ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* ── Secciones ── */
section {
  position: relative;
  overflow-x: clip;
}

.section-padding {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

/* ── Tipografía ── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
}

h1 { font-size: var(--text-hero); line-height: 0.98; }
h2 { font-size: var(--text-h2); line-height: 1.02; }
h3 { font-size: var(--text-h3); line-height: 1.15; }

p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--gray-800);
}

.lead {
  font-size: var(--text-lead);
  line-height: 1.6;
  color: var(--gray-800);
}

/* ── Acento de color (palabra o frase rosa como en el mockup) ── */
.accent {
  color: var(--velvet-rose);
}

.accent-midnight {
  color: var(--midnight);
}

/* ── Eyebrow / Label ── */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--velvet-rose);
  display: block;
  margin-bottom: var(--space-3);
}

/* ── Anotación script (Caveat / Marykate) ── */
.script-note {
  font-family: var(--font-script);
  font-size: clamp(1.2rem, 2.2vw, 1.85rem);
  font-weight: 600;
  color: var(--black);
  line-height: 1.2;
}

.script-note-rose {
  font-family: var(--font-script);
  font-size: clamp(1.2rem, 2.2vw, 1.85rem);
  font-weight: 600;
  color: var(--velvet-rose);
  line-height: 1.2;
}

/* ── Grids helpers ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

/* ── Flex helpers ── */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Utilidades de texto ── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-white { color: var(--white); }
.text-midnight { color: var(--midnight); }
.text-rose { color: var(--velvet-rose); }
.text-gray { color: var(--gray-600); }

/* ── Visibilidad ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Responsive helpers ── */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}
