/* ================================
   RESET & VARIABLES
================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cream: #FDF6EC;
  --cream-dark: #F5EBDA;
  --orange: #DB7803;
  --orange-dark: #D4741F;
  --orange-light: #F4A261;
  --gold: #D4990A;
  --gold-light: #E8B84A;
  --brown: #5C3D2E;
  --brown-light: #8B6347;
  --text: #3A2A1A;
  --text-light: #7A6655;
  --white: #FFFFFF;
  --green-wa: #25D366;

  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;

  --container: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(92, 61, 46, 0.08);
  --shadow-lg: 0 12px 48px rgba(92, 61, 46, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}


/* ================================
   LAYOUT
================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}


/* ================================
   HEADER
================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.35s ease;
}

.header.scrolled {
  background: rgba(253, 246, 236, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(92, 61, 46, 0.06);
  padding: 10px 0;
}

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

.logo img {
  height: 80px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brown);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--orange);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--brown);
  transition: 0.3s;
}


/* ================================
   HERO
================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-decoration {
  position: absolute;
  top: -40px;
  left: -60px;
  opacity: 0.15;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--orange);
  margin-bottom: 20px;
}

.hero-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--orange);
}

.hero-quote {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    color: var(--brown);
    margin-bottom: 24px;
    font-style: italic;
    font-weight: 500;
}

.hero-text {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 52px;
  max-width: 520px;
}

.hero-text p {
  margin-bottom: 12px;
}

/* Prueba social */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  margin-bottom: 28px;
  border-top: 1px solid rgba(212, 153, 10, 0.2);
  border-bottom: 1px solid rgba(212, 153, 10, 0.2);
}

.hero-social-proof .stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
  font-size: 1rem;
}

.hero-social-proof .proof-text {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
}

.hero-social-proof .proof-text strong {
  color: var(--brown);
  font-style: normal;
}

/* Botones */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(232, 134, 58, 0.3);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 134, 58, 0.4);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-image-wrapper img {
  width: 85%;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}


/* ================================
   CÓMO TRABAJO
================================ */
.como-trabajo {
  padding: 100px 0;
  background: var(--white);
}

.como-trabajo .container {
  text-align: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--orange);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--brown);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 56px;
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}

.pilar-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pilar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pilar-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--orange-light);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 12px;
}

.pilar-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--brown);
  margin-bottom: 10px;
}

.pilar-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Info práctica */
.info-practica {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 0;
    padding-bottom: 120px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-icon {
  width: 44px;
  height: 44px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}

.info-icon svg {
  width: 20px;
  height: 20px;
}

.info-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown);
}


/* ================================
   EXPERIENCIAS / TESTIMONIOS
================================ */
.experiencias {
  padding: 100px 0;
  position: relative;
  background: var(--cream);
}

.experiencias .container {
  text-align: center;
}

.experiencias .section-title {
  margin-bottom: 48px;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  text-align: left;
}

.testimonio-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow);
}

.testimonio-card.wide {
  grid-column: 1 / -1;
}

.testimonio-avatar {
  width: 44px;
  height: 44px;
  background: var(--orange-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.testimonio-avatar svg {
  width: 22px;
  height: 22px;
}

.testimonio-text p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 8px;
  font-style: italic;
}

.testimonio-author {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown);
}

.testimonio-image-card {
  border-radius: var(--radius);
  overflow: hidden;
}

.testimonio-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experiencias-deco {
  position: absolute;
  bottom: 20px;
  right: 40px;
  width: 100px;
  opacity: 0.4;
  pointer-events: none;
}


/* ================================
   CONOCERNOS
================================ */
.conocernos {
  padding: 80px 0;
  background: var(--orange);
  color: var(--white);
  text-align: center;
}

.conocernos-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.conocernos-title u {
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.conocernos-text {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--orange);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}


/* ================================
   FORMULARIO DE CONTACTO
================================ */
.contacto-form-section {
  padding: 60px 0;
  background: var(--white);
}

.contacto-form-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.form-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  color: var(--brown);
  margin-bottom: 16px;
}

.form-info > p {
  color: var(--text-light);
  margin-bottom: 24px;
  font-size: 1rem;
}

.form-benefits {
  list-style: none;
}

.form-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--text);
}

.form-benefits li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--orange);
  margin-top: 2px;
}

.contact-form {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-form h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--brown);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 6px;
}

.label-optional {
  font-weight: 400;
  color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-submit:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 12px;
}


/* ================================
   FOOTER
================================ */
.footer {
  padding: 48px 0;
  background: var(--brown);
  color: rgba(255, 255, 255, 0.8);
}

.footer .container {
  text-align: center;
}

.footer-contact {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  opacity: 0.7;
  width: 18px;
  height: 18px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: var(--orange-light);
}

.footer-text {
  font-size: 0.85rem;
  margin-bottom: 16px;
  opacity: 0.6;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--orange);
  color: var(--white);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}


/* ================================
   ANIMATIONS
================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }


/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--cream);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    max-width: 100%;
    margin: 0 auto 16px;
  }

  .hero-social-proof {
    justify-content: center;
  }

  .pilares-grid {
    grid-template-columns: 1fr;
  }

  .info-practica {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .testimonios-grid {
    grid-template-columns: 1fr;
  }

  .testimonio-card.wide {
    grid-column: 1;
  }

  .contacto-form-section .container {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}
