/*
Theme Name:   Twenty Twenty-Five Child
Template:     twentytwentyfive
Description:  Child theme de Twenty Twenty-Five para Sherpadviser
Version:      1.0
Text Domain:  twentytwentyfive-child
*/

/* ========================================
   SHERPADVISER · Child Theme
   Paleta:
   - Azul petróleo:  #1E5A7A
   - Naranja sherpa: #E8A33D
   - Crema:          #F5F0DC
   - Negro profundo: #0D1B2A
   ========================================

   IMPORTANTE: Los estilos del header y footer
   del tema van directamente en el Site Editor
   (Apariencia → Editor) o en bloques adicionales
   de este archivo según lo vayas ajustando.
======================================== */

/* ========== RESET SUAVE ========== */
*, *::before, *::after { box-sizing: border-box; }

/* Aplica las fuentes al body global */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0D1B2A;
  -webkit-font-smoothing: antialiased;
}

/* Anula el max-width del tema para nuestras secciones full-width */
.wp-block-group.sherpa-full-width,
section.hero,
section.section-dark,
.cta-final,
.contact-section {
  max-width: 100% !important;
  width: 100% !important;
}

/* ========== BOTONES ========== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.btn-primary { background: #E8A33D; color: #0D1B2A !important; }
.btn-primary:hover { background: #f0b04d; }
.btn-secondary { background: transparent; border: 1.5px solid #d4d4cc; color: #fff !important; }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
.btn-dark { background: #0D1B2A; color: #fff !important; }
.btn-outline { background: transparent; border: 1.5px solid #1E5A7A; color: #1E5A7A !important; }
.btn-outline:hover { background: #1E5A7A; color: #fff !important; }

/* ========== CONTENEDOR ========== */
.sherpa-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, #0D1B2A 0%, #1E5A7A 100%);
  padding: 100px 0 110px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,163,61,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 90px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpolygon points='0,100 150,30 280,70 420,15 580,60 720,25 850,55 1000,20 1000,100' fill='%23F5F0DC' opacity='0.12'/%3E%3C/svg%3E") no-repeat center bottom;
  background-size: cover;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-block;
  background: rgba(232,163,61,0.15);
  border: 1px solid #E8A33D;
  color: #E8A33D;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-family: 'Oswald', sans-serif;
  color: #fff;
  font-size: 58px;
  line-height: 1.05;
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.hero h1 .highlight { color: #E8A33D; display: block; }
.hero-text {
  color: #d4d4cc;
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: 34px;
  max-width: 540px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-features {
  margin-top: 34px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  color: #a8b8c8;
  font-size: 13px;
}
.hero-features span::before { content: '✓ '; color: #E8A33D; font-weight: 700; }
.hero-logo { text-align: center; }
.hero-logo img { max-width: 340px; margin: 0 auto; filter: drop-shadow(0 12px 40px rgba(0,0,0,0.5)); }

/* ========== SECCIONES ========== */
.section { padding: 90px 0; }
.section-cream { background: #F5F0DC; }
.section-dark { background: #0D1B2A; color: #fff; }
.section-dark h2 { color: #fff !important; }
.section-dark .section-intro { color: #a8b8c8 !important; }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px auto; }
.section-overhead {
  color: #E8A33D;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section h2 {
  font-family: 'Oswald', sans-serif;
  color: #0D1B2A;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-intro { color: #4a5a6a; font-size: 17px; line-height: 1.6; }

/* ========== QUIÉNES SOMOS ========== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.intro-image {
  background: linear-gradient(135deg, #1E5A7A 0%, #0D1B2A 100%);
  border-radius: 16px;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(13,27,42,0.25);
}
.intro-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(232,163,61,0.15) 0%, transparent 50%);
}
.intro-image-content { text-align: center; z-index: 2; padding: 40px; }
.intro-image-content .quote {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  color: #fff;
  line-height: 1.2;
  font-weight: 500;
  font-style: italic;
}
.intro-image-content .quote span { color: #E8A33D; }
.intro-image-content .signature {
  margin-top: 24px;
  color: #a8b8c8;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.intro-text h2 { text-align: left; margin-bottom: 20px; }
.intro-text p { color: #4a5a6a; font-size: 17px; line-height: 1.7; margin-bottom: 18px; }
.intro-text p strong { color: #1E5A7A; font-weight: 600; }

/* ========== MÉTODO ========== */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.method-card {
  background: #fff;
  border-radius: 12px;
  padding: 36px 32px;
  border-top: 4px solid #E8A33D;
  box-shadow: 0 4px 20px rgba(13,27,42,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.method-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(13,27,42,0.16); }
.method-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.method-num {
  background: #1E5A7A;
  color: #fff;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
  font-family: 'Oswald', sans-serif;
}
.method-icon { font-size: 28px; }
.method-card h3 { font-family: 'Oswald', sans-serif; color: #0D1B2A; font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.method-card p { color: #5a6a7a; font-size: 15px; line-height: 1.65; }

/* ========== SERVICIOS ========== */
.services-areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.service-area {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(232,163,61,0.25);
  border-radius: 14px;
  padding: 36px 30px;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.service-area:hover { transform: translateY(-4px); border-color: #E8A33D; background: rgba(232,163,61,0.06); }
.service-area-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(232,163,61,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.service-area h3 { font-family: 'Oswald', sans-serif; color: #fff; font-size: 22px; font-weight: 600; margin-bottom: 16px; }
.service-area ul { list-style: none; padding: 0; }
.service-area li { color: #d4d4cc; font-size: 14px; line-height: 1.6; padding: 6px 0 6px 22px; position: relative; }
.service-area li::before { content: '→'; position: absolute; left: 0; color: #E8A33D; font-weight: 700; }

/* ========== VALORES ========== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.value-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 18px;
  text-align: center;
  border-bottom: 3px solid #E8A33D;
  transition: transform 0.3s;
}
.value-card:hover { transform: translateY(-4px); }
.value-icon { font-size: 32px; margin-bottom: 12px; }
.value-card h4 { font-family: 'Oswald', sans-serif; color: #1E5A7A; font-size: 17px; font-weight: 600; letter-spacing: 0.5px; }

/* ========== TESTIMONIO ========== */
.testimonial-section { background: #fff; padding: 80px 0; }
.testimonial {
  background: linear-gradient(135deg, #F5F0DC 0%, #ede5c7 100%);
  border-radius: 16px;
  padding: 50px;
  border-left: 5px solid #E8A33D;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-quote { font-size: 80px; line-height: 0.4; color: #E8A33D; font-family: Georgia, serif; height: 40px; }
.testimonial-text { color: #0D1B2A; font-size: 22px; line-height: 1.5; margin: 24px 0 28px 0; font-style: italic; font-weight: 500; }
.testimonial-author { display: flex; align-items: center; gap: 14px; justify-content: center; }
.testimonial-avatar { width: 52px; height: 52px; border-radius: 50%; background: #1E5A7A; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; }
.testimonial-name { color: #0D1B2A; font-weight: 700; font-size: 15px; text-align: left; }
.testimonial-role { color: #5a6a7a; font-size: 13px; text-align: left; }

/* ========== CTA FINAL ========== */
.cta-final {
  background: linear-gradient(135deg, #E8A33D 0%, #d18b22 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
}
.cta-final h2 { color: #0D1B2A; font-size: 42px; margin-bottom: 16px; position: relative; }
.cta-final p { color: #1a2a38; font-size: 18px; margin-bottom: 32px; position: relative; }

/* ========== FORMULARIO ========== */
.contact-section { background: #0D1B2A; padding: 90px 0; }
.contact-section h2 { color: #fff; text-align: center; margin-bottom: 14px; }
.contact-section .section-intro { color: #a8b8c8; text-align: center; margin-bottom: 44px; }
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  padding: 44px;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; color: #0D1B2A; margin-bottom: 8px; font-size: 14px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d4d4cc;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #E8A33D;
  box-shadow: 0 0 0 3px rgba(232,163,61,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #5a6a7a; margin-bottom: 24px; line-height: 1.5; }
.form-checkbox input { width: auto; margin-top: 3px; flex-shrink: 0; }
.form-checkbox a { color: #1E5A7A; text-decoration: underline; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero { padding: 60px 0 70px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero h1 { font-size: 38px; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-features { justify-content: center; }
  .hero-logo img { max-width: 240px; }

  .section { padding: 60px 0; }
  .section h2 { font-size: 30px; }

  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .intro-text h2 { text-align: center; }
  .intro-image { aspect-ratio: 5/3; }

  .method-grid { grid-template-columns: 1fr; }
  .services-areas { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-final h2 { font-size: 30px; }
  .testimonial { padding: 32px 24px; }
  .testimonial-text { font-size: 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 28px; }
}
@media (max-width: 500px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
}
