/* ============ VARIABLES ============ */
:root {
  --mustard: #C9952A;
  --mustard-light: #E8B84B;
  --mustard-deep: #A67A1E;
  --olive: #6B7C45;
  --cream: #FFF8F0;
  --cream-warm: #FFE8D0;
  --bone: #FFFAF5;
  --ink: #1A0500;
  --ink-soft: #3D3028;
}

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

/* RESPONSIVO: sin desbordamiento horizontal */
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bone);
  color: var(--ink);
  overflow-x: hidden;
}

.display { font-family: 'Fraunces', serif; font-variation-settings: "SOFT" 50, "WONK" 0; }
.script { font-family: 'Caveat', cursive; }

/* ============ HERO ============ */
.hero {
  background: var(--cream);
  text-align: center;
  /* RESPONSIVO: padding fluido */
  padding: clamp(5rem, 12vw, 7rem) clamp(1.5rem, 4vw, 2rem) clamp(3rem, 8vw, 5rem);
}

.hero-label {
  font-family: 'Caveat', cursive;
  font-size: 1.4rem;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.05;
  margin-bottom: 1.2rem;
  color: var(--ink);
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto;
  color: var(--ink-soft);
}

/* ============ SECTIONS ============ */
section { padding: 5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-family: 'Caveat', cursive;
  font-size: 1.2rem;
  color: var(--mustard);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--ink);
  margin-bottom: 1.5rem;
}

/* ============ ABOUT ============ */
.about-section { background: var(--bone); }

.about-grid {
  display: grid;
  /* RESPONSIVO: 1 columna en móvil */
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.about-text p {
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.about-highlights {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0;
}

.about-highlights li {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-soft);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  transition: transform 0.2s ease;
}

.about-highlights li:hover {
  transform: translateX(6px);
}

.about-highlights .highlight-emoji {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.about-highlights .highlight-content {
  flex-grow: 1;
}

.about-highlights strong {
  color: var(--ink);
}


.about-img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  color: var(--mustard);
}

/* ============ VALUES ============ */
.values-section { background: var(--cream); }

.values-grid {
  display: grid;
  /* RESPONSIVO: 1 columna en móvil */
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: 2.5rem;
}

.value-card {
  background: var(--bone);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--cream-warm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(201, 149, 42, 0.15);
}

.value-icon { font-size: 2.8rem; margin-bottom: 1rem; }

.value-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============ TEAM ============ */
.team-section { background: var(--bone); }

.team-grid {
  display: grid;
  /* RESPONSIVO: 1 columna en móvil */
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: 2.5rem;
}

.team-card {
  background: var(--cream);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--cream-warm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(201, 149, 42, 0.15);
}

.team-card img { width: 100%; display: block; }

.team-info { padding: 1.5rem; text-align: center; }

.team-info h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.team-role {
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  color: var(--mustard);
  margin-bottom: 0.75rem;
}

.team-info p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============ CTA ============ */
.cta-section {
  background: linear-gradient(135deg, var(--mustard-deep), var(--mustard));
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
}

.cta-section h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.btn-cta {
  display: inline-block;
  background: #fff;
  color: var(--mustard-deep);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-cta:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

/* ============ FOOTER ============ */
footer {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
  opacity: 0.9;
}

/* ============ RESPONSIVE (MOBILE-FIRST, min-width) ============ */

/* 480px: teléfonos medianos */
@media (min-width: 480px) {
  /* RESPONSIVO: values y team 2 columnas */
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid   { grid-template-columns: repeat(2, 1fr); }
}

/* 768px: tablets */
@media (min-width: 768px) {
  /* RESPONSIVO: about-grid 2 columnas */
  .about-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .about-img  { display: flex; }

  section { padding: 5rem 2rem; }
}

/* 1024px: desktop */
@media (min-width: 1024px) {
  /* RESPONSIVO: values y team 3 columnas */
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid   { grid-template-columns: repeat(3, 1fr); }
}
