/* ============================================
   Inversiones Martinez - Estilos Globales
   Paleta: Rojo / Blanco / Azul (suave)
   Tipografía: Poppins
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Paleta principal */
  --blue-primary: #1e3a5f;
  --blue-medium: #4a6fa5;
  --blue-light: #7a96c2;
  --blue-pale: #eef2f8;
  --blue-soft-bg: #f5f8fc;

  --red-primary: #c44757;
  --red-medium: #d96b78;
  --red-light: #e89aa3;
  --red-pale: #fdecee;

  --white: #ffffff;
  --off-white: #fafbfc;
  --gray-50: #f7f9fb;
  --gray-100: #eef1f5;
  --gray-200: #dee3eb;
  --gray-300: #c4ccd6;
  --gray-500: #6b7785;
  --gray-700: #3d4754;
  --gray-900: #1a1f2b;

  /* Sombras suaves */
  --shadow-sm: 0 1px 2px rgba(30, 58, 95, 0.05);
  --shadow-md: 0 4px 12px rgba(30, 58, 95, 0.08);
  --shadow-lg: 0 10px 30px rgba(30, 58, 95, 0.10);
  --shadow-red: 0 8px 24px rgba(196, 71, 87, 0.18);

  /* Radios */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Transiciones */
  --t-fast: 0.15s ease;
  --t-base: 0.25s ease;
  --t-slow: 0.4s ease;
}

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

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* ============================================
   Navegación / Header
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--t-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--blue-primary);
  letter-spacing: -0.01em;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-medium) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.brand-logo::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 14px;
  height: 100%;
  background: var(--red-primary);
  opacity: 0.85;
}

.brand-name { line-height: 1; }
.brand-name small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--gray-500);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-pill);
  transition: all var(--t-fast);
}

.nav-links a:hover {
  color: var(--blue-primary);
  background-color: var(--blue-pale);
}

.nav-links a.active {
  color: var(--white);
  background-color: var(--blue-primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px !important;
  background-color: var(--red-primary) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  border-radius: var(--radius-pill) !important;
  transition: all var(--t-base) !important;
}

.nav-cta:hover {
  background-color: #b13c4c !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-red);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--blue-primary);
  border-radius: 2px;
  transition: all var(--t-base);
}

/* ============================================
   Botones
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  transition: all var(--t-base);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background-color: var(--red-primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(196, 71, 87, 0.25);
}

.btn-primary:hover {
  background-color: #b13c4c;
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-secondary {
  background-color: var(--blue-primary);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #16304f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.25);
}

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

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

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  padding: 90px 0 100px;
  background:
    radial-gradient(ellipse at top right, var(--blue-pale) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, var(--red-pale) 0%, transparent 55%),
    var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(var(--gray-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-100) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.35;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--gray-700);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--blue-primary);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero h1 .accent {
  color: var(--red-primary);
  position: relative;
  display: inline-block;
}

.hero h1 .accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background-color: var(--red-pale);
  z-index: -1;
  border-radius: 4px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--gray-500);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

.stat-item .stat-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue-primary);
  letter-spacing: -0.01em;
}

.stat-item .stat-label {
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 480px;
}

.hero-card {
  position: absolute;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  border: 1px solid var(--gray-100);
}

.hero-card-main {
  top: 20px;
  left: 0;
  right: 40px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-medium) 100%);
  color: var(--white);
}

.hero-card-main .hc-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  margin-bottom: 8px;
}

.hero-card-main .hc-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.hero-card-main .hc-sub {
  opacity: 0.85;
  font-size: 0.9rem;
}

.hero-car-icon {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0;
}

.hero-car-icon svg {
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.9);
}

.hero-card-stat {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 220px;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-card-stat .hcs-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red-primary);
}

.hero-card-stat .hcs-label {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.hero-card-mini {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) translateX(20px);
  background-color: var(--white);
  padding: 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}

.hero-card-mini .hcm-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--red-pale);
  color: var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.hero-card-mini .hcm-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
}

/* ============================================
   Section common
   ============================================ */
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red-primary);
  background-color: var(--red-pale);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--blue-primary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
}

/* ============================================
   Quienes Somos
   ============================================ */
.about {
  background-color: var(--white);
}

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

.about-image {
  position: relative;
  height: 440px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-medium) 100%);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(196, 71, 87, 0.25) 0%, transparent 50%);
}

.about-image-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  color: var(--white);
}

.about-image-icon {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-icon svg {
  width: 200px;
  height: 200px;
  color: rgba(255, 255, 255, 0.95);
}

.about-image-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  width: fit-content;
}

.about-image-quote {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--blue-primary);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  font-style: italic;
  position: relative;
}

.about-image-quote::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: 12px;
  font-size: 3rem;
  color: var(--red-primary);
  line-height: 1;
  font-family: Georgia, serif;
}

.about-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--blue-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-content p {
  margin-bottom: 18px;
  color: var(--gray-500);
}

.about-content p strong {
  color: var(--gray-900);
  font-weight: 600;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.about-feature .af-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background-color: var(--blue-pale);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.about-feature h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0;
}

/* ============================================
   Por qué elegirnos
   ============================================ */
.why {
  background-color: var(--blue-soft-bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background-color: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red-primary), var(--blue-primary));
  transition: width var(--t-slow);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.why-card:hover::before {
  width: 100%;
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--red-pale), var(--blue-pale));
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.why-card:nth-child(2) .why-icon {
  background: linear-gradient(135deg, var(--blue-pale), var(--red-pale));
  color: var(--red-primary);
}

.why-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue-primary);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ============================================
   Servicios
   ============================================ */
.services {
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--t-base);
  position: relative;
}

.service-card.featured {
  background: linear-gradient(180deg, var(--blue-soft-bg) 0%, var(--white) 100%);
  border: 2px solid var(--blue-pale);
}

.service-card.featured::before {
  content: 'MÁS POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--red-primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background-color: var(--blue-pale);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.6rem;
}

.service-card.featured .service-icon {
  background-color: var(--red-pale);
  color: var(--red-primary);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--blue-primary);
  margin-bottom: 12px;
}

.service-card > p {
  color: var(--gray-500);
  margin-bottom: 22px;
  font-size: 0.93rem;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.service-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--red-pale);
  color: var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red-primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--t-base);
}

.service-link:hover {
  gap: 12px;
}

/* ============================================
   Proceso
   ============================================ */
.process {
  background-color: var(--blue-soft-bg);
  position: relative;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--blue-light) 0,
    var(--blue-light) 6px,
    transparent 6px,
    transparent 14px
  );
  z-index: 0;
}

.process-step {
  position: relative;
  text-align: center;
  background-color: var(--blue-soft-bg);
  padding-top: 8px;
  z-index: 1;
}

.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--white);
  border: 2px solid var(--blue-primary);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-sm);
}

.process-step:nth-child(2) .process-num,
.process-step:nth-child(4) .process-num {
  border-color: var(--red-primary);
  color: var(--red-primary);
}

.process-step h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue-primary);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ============================================
   Cotización Form
   ============================================ */
.quote {
  background-color: var(--white);
}

.quote-wrapper {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-medium) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.quote-wrapper::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(196, 71, 87, 0.15);
}

.quote-wrapper::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
}

.quote-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.quote-info h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.quote-info p {
  opacity: 0.85;
  margin-bottom: 28px;
}

.quote-info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote-info ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.quote-info ul li span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--red-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.quote-form {
  background-color: var(--white);
  padding: 32px;
  border-radius: var(--radius-md);
  color: var(--gray-700);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

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

.form-control {
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background-color: var(--off-white);
  color: var(--gray-900);
  transition: all var(--t-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue-primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.08);
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  background-color: var(--red-primary);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--t-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-submit:hover {
  background-color: #b13c4c;
  transform: translateY(-1px);
  box-shadow: var(--shadow-red);
}

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

/* ============================================
   FAQ
   ============================================ */
.faq {
  background-color: var(--blue-soft-bg);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: all var(--t-base);
}

.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-pale);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--blue-primary);
  text-align: left;
  cursor: pointer;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--blue-pale);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--t-base);
  flex-shrink: 0;
}

.faq-item.open .faq-toggle {
  background-color: var(--red-primary);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow);
}

.faq-answer-inner {
  padding: 0 24px 22px;
  color: var(--gray-500);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ============================================
   Contacto
   ============================================ */
.contact-hero {
  padding: 80px 0 60px;
  background:
    radial-gradient(ellipse at top, var(--blue-pale) 0%, transparent 60%),
    var(--white);
  text-align: center;
}

.contact-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--blue-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  line-height: 1.15;
}

.contact-hero p {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
}

.contact-channels {
  background-color: var(--off-white);
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.channel-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--gray-100);
  text-align: center;
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.channel-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background-color: var(--brand-color, var(--blue-primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}

.channel-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.channel-card:hover::before {
  transform: scaleX(1);
}

.channel-card[data-channel="whatsapp"] { --brand-color: #25D366; }
.channel-card[data-channel="instagram"] { --brand-color: #E1306C; }
.channel-card[data-channel="facebook"] { --brand-color: #1877F2; }
.channel-card[data-channel="email"] { --brand-color: var(--red-primary); }

.channel-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--gray-50);
  color: var(--brand-color, var(--blue-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.7rem;
  transition: all var(--t-base);
}

.channel-card:hover .channel-icon {
  background-color: var(--brand-color);
  color: var(--white);
  transform: scale(1.05);
}

.channel-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue-primary);
  margin-bottom: 6px;
}

.channel-card .ch-handle {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 18px;
}

.channel-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-color, var(--blue-primary));
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background-color: var(--gray-50);
  transition: all var(--t-fast);
}

.channel-card:hover .channel-cta {
  background-color: var(--brand-color);
  color: var(--white);
}

/* Bloque info adicional */
.contact-info {
  background-color: var(--white);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  padding: 28px;
  background-color: var(--blue-soft-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--blue-pale);
}

.info-card .info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--white);
  color: var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.info-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue-primary);
  margin-bottom: 8px;
}

.info-card p {
  color: var(--gray-700);
  font-size: 0.93rem;
  line-height: 1.6;
}

.info-card p strong {
  color: var(--gray-900);
  font-weight: 600;
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
  background:
    radial-gradient(ellipse at center, var(--blue-medium) 0%, var(--blue-primary) 100%);
  color: var(--white);
  text-align: center;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(196, 71, 87, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 85% 50%, rgba(196, 71, 87, 0.15) 0%, transparent 40%);
}

.cta-banner-content {
  position: relative;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary {
  background-color: var(--white);
  color: var(--blue-primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-banner .btn-primary:hover {
  background-color: var(--off-white);
  transform: translateY(-2px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background-color: var(--gray-900);
  color: var(--gray-300);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .brand {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand .brand-name small {
  color: var(--gray-300);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--gray-300);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: var(--gray-300);
  transition: color var(--t-fast);
}

.footer-col ul a:hover {
  color: var(--red-light);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.83rem;
  color: var(--gray-500);
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  transition: all var(--t-fast);
}

.footer-socials a:hover {
  background-color: var(--red-primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 968px) {
  section { padding: 60px 0; }

  .hero-grid,
  .about-grid,
  .quote-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual { height: 380px; }

  .why-grid,
  .services-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

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

  .process-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .process-timeline::before { display: none; }

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

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--t-base);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a { width: 100%; text-align: center; }

  .nav-toggle { display: flex; }

  .quote-wrapper { padding: 32px 24px; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

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

  .process-timeline {
    grid-template-columns: 1fr;
  }

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

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

  .quote-wrapper { padding: 24px 20px; }
  .quote-form { padding: 22px 18px; }
}
