/*
  ================================================
  AITKEN COMUNICACIÓN ESTRATÉGICA
  Archivo: css/styles.css

  CÓMO EDITAR ESTE SITIO:
  - Para cambiar COLORES: edita las variables en :root (sección 1)
  - Para cambiar TIPOGRAFÍAS: edita --font-heading y --font-body en :root
  - Para cambiar TEXTOS: abre el archivo .html correspondiente y busca
    las secciones marcadas con comentarios <!-- EDITAR -->

  PALETA DE COLORES:
  --color-navy:      #003366  → Azul principal (encabezados, navbar, footer)
  --color-gold:      #cc9900  → Dorado (íconos, botones, subrayados)
  --color-gold-alt:  #ff9900  → Naranja dorado (acentos secundarios)
  --color-bg-light:  #f7f5f3  → Fondo secciones alternas (gris cálido claro)
  --color-cream:     #ffffcc  → Crema muy claro

  TIPOGRAFÍAS (requieren conexión a internet):
  Playfair Display  → Titulares (similar a Fenway Banner)
  Source Sans 3     → Cuerpo de texto (similar a Myriad Pro)
  ================================================
*/

/* ===========================================
   1. VARIABLES Y CONFIGURACIÓN BASE
   =========================================== */
:root {
  /* COLORES — editar aquí para cambiar toda la paleta */
  --color-navy:       #003366;
  --color-gold:       #cc9900;
  --color-gold-alt:   #ff9900;
  --color-bg-light:   #f7f5f3;
  --color-cream:      #ffffcc;
  --color-white:      #ffffff;
  --color-text-dark:  #1c2d4e;
  --color-text-body:  #4a4a4a;
  --color-text-light: #6b7280;
  --color-border:     #e5e0d8;

  /* TIPOGRAFÍAS */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Source Sans 3', 'Segoe UI', Arial, sans-serif;

  /* ESPACIADO */
  --max-width:        1200px;
  --section-py:       5rem;
  --border-radius:    8px;
  --border-radius-lg: 14px;

  /* SOMBRAS */
  --shadow-card:  0 2px 16px rgba(0,51,102,0.08);
  --shadow-hover: 0 8px 32px rgba(0,51,102,0.16);

  /* NAVBAR */
  --navbar-height: 80px;
}

/* ===========================================
   2. RESET Y ESTILOS BASE
   =========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

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

ul {
  list-style: none;
}

/* ===========================================
   3. TIPOGRAFÍA
   =========================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ===========================================
   4. UTILIDADES DE LAYOUT
   =========================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-py) 1.5rem;
}

.section--light {
  background: var(--color-bg-light);
}

.section--navy {
  background: var(--color-navy);
  color: var(--color-white);
}

/* Título de sección centrado con barra dorada */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.75rem;
}

.section-title .title-bar {
  width: 48px;
  height: 3px;
  background: var(--color-gold);
  margin: 0 auto;
  border-radius: 2px;
}

.section-title p {
  color: var(--color-text-light);
  margin-top: 1rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================================
   5. BARRA ARCOÍRIS (acento decorativo)
   =========================================== */
.rainbow-bar {
  display: flex;
  gap: 3px;
  margin-bottom: 1.25rem;
}

.rainbow-bar span {
  height: 4px;
  border-radius: 2px;
}

.rainbow-bar span:nth-child(1) { background: #e63946; width: 22px; }
.rainbow-bar span:nth-child(2) { background: #e67e22; width: 16px; }
.rainbow-bar span:nth-child(3) { background: #f1c40f; width: 14px; }
.rainbow-bar span:nth-child(4) { background: #27ae60; width: 14px; }
.rainbow-bar span:nth-child(5) { background: #2980b9; width: 20px; }

/* Barra arcoíris de separación (pie de página) */
.rainbow-stripe {
  height: 5px;
  background: linear-gradient(to right, #e63946 0%, #e67e22 25%, #f1c40f 50%, #27ae60 75%, #2980b9 100%);
}

/* ===========================================
   6. BOTONES
   =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
}

.btn-primary:hover {
  background: #b38600;
  border-color: #b38600;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(204,153,0,0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-secondary:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn-whatsapp {
  background: #075e54;
  color: #ffffff !important;
  border-color: #075e54;
}

.btn-whatsapp:hover {
  background: #0a6e62;
  border-color: #0a6e62;
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-navy);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}

/* ===========================================
   7. NAVEGACIÓN (NAVBAR)
   =========================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(0,51,102,0.07);
  height: var(--navbar-height);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.navbar-logo img {
  height: 54px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-dark);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: color 0.2s;
  white-space: nowrap;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-navy);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-separator {
  width: 1px;
  height: 18px;
  background: var(--color-border);
}

.nav-cta {
  margin-left: 0.5rem;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  border: none;
  background: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===========================================
   8. HERO SECTIONS
   =========================================== */
.hero {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 520px;
  overflow: hidden;
}

.hero-text {
  padding: 4rem 3rem 4rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 660px;
  margin-left: auto;
}

/* Cuando el hero está dentro de .container */
.hero-text--contained {
  padding: 4rem 2rem 4rem 0;
}

.hero-text h1 {
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero-text h1 em {
  font-style: italic;
  color: var(--color-gold);
}

.hero-text .hero-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-body);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 0;
}

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Placeholder para fotos no disponibles aún */
.hero-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 420px;
  background: #dce4ed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #7a90a8;
  font-size: 0.9rem;
  text-align: center;
  padding: 2rem;
  border-left: 3px dashed #aabccc;
}

.hero-img-placeholder i {
  font-size: 2.5rem;
  opacity: 0.5;
}

.hero-img-placeholder p {
  font-weight: 600;
  color: #5a7a9a;
  margin-bottom: 0.25rem;
}

.hero-img-placeholder small {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Variante hero con fondo claro (para algunas páginas) */
.hero--light {
  background: var(--color-bg-light);
}

/* ===========================================
   9. CARDS (TARJETAS DE SERVICIO)
   =========================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid--auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--color-gold);
  transform: translateY(-3px);
}

.card-icon {
  font-size: 2rem;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.card h3 {
  font-size: 1.05rem;
  color: var(--color-navy);
  margin-bottom: 0;
}

.card p {
  font-size: 0.92rem;
  color: var(--color-text-body);
  flex: 1;
  margin-bottom: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  transition: gap 0.2s;
}

.card-link:hover {
  gap: 0.75rem;
}

/* ===========================================
   10. GRILLA DE ÍCONOS (audiencias)
   =========================================== */
.icon-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: var(--color-white);
}

.icon-item {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 1rem;
  border-right: 1px solid var(--color-border);
  text-align: center;
  transition: background 0.2s;
}

.icon-item:last-child {
  border-right: none;
}

.icon-item:hover {
  background: var(--color-bg-light);
}

.icon-item i {
  font-size: 2rem;
  color: var(--color-navy);
}

.icon-item span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.3;
}

/* ===========================================
   11. PASOS DE PROCESO
   =========================================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
}

/* Línea conectora entre pasos */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: var(--color-gold);
  opacity: 0.4;
  z-index: 0;
}

.step-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.step-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-bg-light);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  transition: border-color 0.2s, background 0.2s;
}

.process-step:hover .step-circle {
  border-color: var(--color-gold);
  background: #fff8e6;
}

.step-circle i {
  font-size: 1.4rem;
  color: var(--color-navy);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* ===========================================
   12. PRECIOS / PAQUETES
   =========================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.pricing-card {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-hover);
}

.pricing-card--featured {
  border-color: var(--color-gold);
  background: #fffbf0;
}

.pricing-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gold);
}

.pricing-card h3 {
  font-size: 1.4rem;
  color: var(--color-navy);
}

.pricing-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-navy);
  font-family: var(--font-heading);
}

.pricing-price span {
  font-size: 1rem;
  color: var(--color-text-light);
  font-weight: 400;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.pricing-features {
  font-size: 0.9rem;
  color: var(--color-text-body);
  line-height: 1.6;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.pricing-features li::before {
  content: '·';
  color: var(--color-gold);
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ===========================================
   13. FAQ ACCORDION
   =========================================== */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--color-white);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-navy);
  gap: 1rem;
  transition: background 0.2s;
  user-select: none;
}

.faq-question:hover {
  background: var(--color-bg-light);
}

.faq-icon {
  font-size: 0.8rem;
  color: var(--color-gold);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.92rem;
  color: var(--color-text-body);
  line-height: 1.7;
}

/* ===========================================
   14. TIMELINE (Sobre mí)
   =========================================== */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--color-gold);
  opacity: 0.4;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;
}

.timeline-year {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.timeline-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-bg-light);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  transition: border-color 0.2s;
}

.timeline-item:hover .timeline-dot {
  border-color: var(--color-gold);
  background: #fff8e6;
}

.timeline-dot i {
  font-size: 1.25rem;
  color: var(--color-navy);
}

.timeline-role {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.timeline-org {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.4;
}

/* ===========================================
   15. CUADRÍCULA DE RESULTADOS / VALORES
   =========================================== */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: var(--color-white);
  max-width: var(--max-width);
  margin: 0 auto;
}

.result-item {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.result-item:last-child {
  border-right: none;
}

.result-item i {
  font-size: 1.75rem;
  color: var(--color-gold);
}

.result-item h4 {
  color: var(--color-navy);
  font-size: 0.95rem;
}

.result-item p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* ===========================================
   16. SECCIÓN CTA (pre-footer)
   =========================================== */
.cta-section {
  background: var(--color-navy);
  padding: 4rem 1.5rem;
  text-align: center;
  color: var(--color-white);
}

.cta-section h2 {
  color: var(--color-white);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* Variante CTA horizontal (con ícono a la izquierda) */
.cta-section--horizontal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
  padding: 2.5rem 3rem;
}

.cta-section--horizontal .cta-icon {
  font-size: 3rem;
  color: var(--color-gold);
  opacity: 0.8;
  flex-shrink: 0;
}

.cta-section--horizontal .cta-text {
  flex: 1;
}

.cta-section--horizontal h3 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.cta-section--horizontal p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ===========================================
   17. FOOTER
   =========================================== */
.footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.85);
  padding: 3.5rem 1.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 220px 1fr 1fr 1fr auto;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  margin-bottom: 0;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--color-gold);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.6rem;
}

.footer-contact li i {
  color: var(--color-gold);
  font-size: 0.9rem;
  width: 16px;
  flex-shrink: 0;
}

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

.footer-contact a:hover {
  color: var(--color-gold);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.social-icon:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===========================================
   18. SECCIÓN CONTACTO (Hablemos)
   =========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.contact-left h2 {
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background: var(--color-bg-light);
  margin-bottom: 1rem;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  font-size: 0.9rem;
  color: var(--color-text-body);
  margin-bottom: 0;
}

.contact-info-item a {
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-info-item a:hover {
  text-decoration: underline;
}

.contact-right-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.contact-feature:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-feature i {
  font-size: 1.4rem;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-feature h4 {
  font-size: 0.95rem;
  color: var(--color-navy);
  margin-bottom: 0.2rem;
}

.contact-feature p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* ===========================================
   19. PLACEHOLDER IMAGEN (genérico)
   =========================================== */
.img-placeholder {
  background: #e8ecf0;
  border: 2px dashed #aabccc;
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #7a90a8;
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem;
}

.img-placeholder i {
  font-size: 2rem;
  opacity: 0.5;
}

/* ===========================================
   20. RESPONSIVE / DISEÑO MÓVIL
   =========================================== */

/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-text {
    padding: 3rem 1.5rem;
    max-width: 100%;
    margin: 0;
  }

  .hero-image {
    min-height: 320px;
    order: -1;
  }

  .hero-img-placeholder {
    min-height: 280px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .timeline::before { display: none; }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-social {
    flex-direction: row;
    align-items: center;
    grid-column: 1 / -1;
  }

  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .result-item:nth-child(2) { border-right: none; }
  .result-item:nth-child(1),
  .result-item:nth-child(2) {
    border-bottom: 1px solid var(--color-border);
  }
}

/* Mobile: hasta 768px */
@media (max-width: 768px) {
  :root {
    --section-py: 3rem;
    --navbar-height: 68px;
  }

  /* Mobile nav */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0,51,102,0.15);
    border-top: 1px solid var(--color-border);
    z-index: 999;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
  }

  .nav-link::after { display: none; }
  .nav-link.active { background: var(--color-bg-light); }

  .nav-separator { display: none; }

  .nav-cta {
    margin: 0.75rem 0 0 0;
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* Cards grid */
  .cards-grid,
  .cards-grid--2,
  .cards-grid--4 {
    grid-template-columns: 1fr;
  }

  /* Icon grid */
  .icon-grid {
    flex-wrap: wrap;
  }

  .icon-item {
    min-width: calc(50% - 0px);
    border-bottom: 1px solid var(--color-border);
  }

  /* Process steps */
  .process-steps {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  /* Timeline */
  .timeline {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Results */
  .results-grid {
    grid-template-columns: 1fr;
  }

  .result-item {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .result-item:last-child { border-bottom: none; }

  /* CTA */
  .cta-section--horizontal {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-social {
    flex-direction: row;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Btn group */
  .btn-group {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Hero text padding */
  .hero-text {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .icon-item {
    min-width: 100%;
  }
}
