/* ===========================
   VARIABLES & RESET
=========================== */
:root {
  --gold: #000000;
  --gold-light: #E8A820;
  --navy: #1A2B4A;
  --navy-dark: #0F1E36;
  --navy-mid: #1E3560;
  --white: #ffffff;
  --gray-light: #F5F5F7;
  --gray-lightt: #0a1628;
  --gray-text: #555;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Raleway', sans-serif;
  --transition: 0.4s ease;
  --shadow: 0 8px 32px rgba(0,0,0,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ===========================
   TOPBAR
=========================== */
.topbar {
  background: var(--white);
  color: var(--black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 40px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 100;
  position: relative;
  flex-wrap: wrap;
  gap: 6px;
}

.topbar-left { display: flex; flex-wrap: wrap; gap: 12px; }
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-right a {
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: opacity var(--transition);
}
.topbar-right a:hover { opacity: 0.8; }

/* ===========================
   NAVBAR
=========================== */
.navbar {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  position: sticky;
  top: 0;
  z-index: 999;
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.15); }

.nav-logo { display: flex; align-items: center; gap: 10px; }

.logo-icon {
  width: 44px; height: 44px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 2px;
}

.nav-links { display: flex; gap: 32px; align-items: center; }

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--navy);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}
.nav-toggle span {
  display: block; width: 26px; height: 3px;
  background: var(--navy); border-radius: 2px;
  transition: all 0.35s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: url('https://res.cloudinary.com/dgfrpksb4/image/upload/v1773261557/ChatGPT_Image_7_mar_2026_14_31_23_pecvgu.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 100px 80px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(15,30,54,0.88) 40%, rgba(26,43,74,0.65) 100%);
}
.hero-social {
  position: absolute; left: 28px; bottom: 80px;
  display: flex; flex-direction: column; gap: 12px; z-index: 2;
}
.hero-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  transition: all var(--transition);
}
.hero-social a:hover { background: var(--gold); border-color: var(--gold); }

.hero-content { position: relative; z-index: 2; max-width: 680px; width: 100%; }

.hero-subtitle {
  color: var(--gold-light); font-size: 0.9rem;
  letter-spacing: 4px; text-transform: uppercase; font-weight: 600;
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.hero-line { display: inline-block; width: 40px; height: 2px; background: var(--gold); flex-shrink: 0; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  color: var(--white); font-weight: 700;
  line-height: 1.1; margin-bottom: 24px;
}

.hero-desc {
  color: rgba(255,255,255,0.85);
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  line-height: 1.8; margin-bottom: 36px; max-width: 560px;
}
.hero-desc strong { color: var(--gold-light); }

/* ===========================
   BUTTONS
=========================== */
.btn-gold {
  display: inline-block;
  background: var(--gold); color: var(--white);
  padding: 14px 28px; font-weight: 700; font-size: 0.88rem;
  letter-spacing: 1px; border-radius: 2px;
  transition: background var(--transition), transform var(--transition);
  border: 2px solid var(--gold); white-space: nowrap;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-gold.full { width: 100%; text-align: center; cursor: pointer; font-family: var(--font-body); }

.btn-outline {
  display: inline-block;
  background: transparent; color: var(--navy);
  padding: 14px 28px; font-weight: 700; font-size: 0.88rem;
  letter-spacing: 1px; border-radius: 2px;
  border: 2px solid var(--navy);
  transition: all var(--transition); white-space: nowrap;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 52px; height: 52px;
  background: #25D366; color: white; border-radius: 50%;
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.5);
  z-index: 9999; transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }


/* ===========================
   NOSOTROS
=========================== */
.nosotros-section { background: var(--white); padding: 100px 0; }

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

.nosotros-img { position: relative; }
.nosotros-img img { width: 100%; height: 480px; object-fit: cover; border-radius: 4px; }

.nosotros-badge {
  position: absolute; bottom: -20px; left: -20px;
  background: var(--gold); color: var(--white);
  padding: 24px 28px; border-radius: 2px;
}
.badge-num { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.badge-text { display: block; font-size: 0.85rem; font-weight: 600; margin-top: 6px; line-height: 1.3; }

.nosotros-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 14px;
}

.gold-line { width: 48px; height: 3px; background: var(--gold); margin-bottom: 22px; flex-shrink: 0; }
.gold-line.center { margin: 10px auto 22px; }

.nosotros-content p { color: var(--gray-text); line-height: 1.8; margin-bottom: 20px; font-size: 0.97rem; }

.nosotros-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-weight: 600; color: var(--navy); margin-bottom: 12px;
  font-size: 0.93rem; line-height: 1.4;
}
.nosotros-list li i { color: var(--gold); font-size: 0.8rem; margin-top: 3px; flex-shrink: 0; }

.nosotros-btns { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }


/* ===========================
   SERVICIOS
=========================== */
.servicios-section {
  background: var(--gray-light);
  padding: 100px 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-text);
  font-size: 1rem;
  margin-bottom: 52px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  margin-top: 48px;
}

.servicio-card {
  background: var(--white);
  border-radius: 6px;
  padding: 36px 32px 64px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(26,43,74,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.text-logo-aliado {
  margin: 10px;
}

.servicio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--navy));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.servicio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(26,43,74,0.15);
}

.servicio-card:hover::before { opacity: 1; }

.servicio-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  color: var(--gold);
  box-shadow: 0 4px 12px rgba(26,43,74,0.2);
}

.servicio-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.servicio-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.servicio-card ul li {
  font-size: 0.88rem;
  color: var(--gray-text);
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.5;
}

.servicio-card ul li i {
  color: var(--gold);
  margin-top: 3px;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.card-arrow {
  position: absolute;
  bottom: 0; right: 0;
  width: 52px; height: 52px;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 52px 0 0 0;
  font-size: 1rem;
  transition: background 0.4s ease;
}

.servicio-card:hover .card-arrow { background: var(--navy); }

/* ===========================
   LOGO CENTRO SERVICIOS
=========================== */
.servicios-logo {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.servicios-logo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--white);
  border-radius: 8px;
  padding: 40px 28px;
  height: 100%;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.servicios-logo-inner img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 50%;
  border: 3px solid var(--gold);
  padding: 6px;
  background: rgba(255,255,255,0.05);
}

.servicios-logo-inner span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 1px;
}

.servicios-logo-inner span::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 8px auto 0;
}

.servicios-logo-inner p {
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.5;
  margin: 0;
}

/* ===========================
   MODALES
=========================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 40, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  background: var(--white);
  border-radius: 8px;
  padding: 48px 44px;
  width: 90%;
  max-width: 640px;
  max-height: 85vh;
  overflow-y: auto;
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
}

.modal.active {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px; left: 16px;
  width: 36px; height: 36px;
  background: var(--gray-light);
  border: none;
  border-radius: 50%;
  color: var(--navy);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.modal-close:hover { background: var(--navy); color: var(--white); }

.modal-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(26,43,74,0.2);
}

.modal h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: var(--navy);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.3;
}

.modal .gold-line { margin: 0 auto 20px; }

.modal p {
  color: var(--gray-text);
  font-size: 0.93rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.modal h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 14px;
}

.modal ul { margin-bottom: 20px; }

.modal ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--gray-text);
  margin-bottom: 10px;
  line-height: 1.5;
}

.modal ul li i {
  color: var(--gold);
  font-size: 0.75rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.modal-note {
  background: var(--gray-light);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  border-radius: 0 4px 4px 0;
  font-size: 0.88rem !important;
  color: var(--navy) !important;
  font-style: italic;
  margin-top: 8px;
}

.modal::-webkit-scrollbar { width: 4px; }
.modal::-webkit-scrollbar-track { background: var(--gray-light); }
.modal::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .servicios-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
  }
  .servicios-logo-inner img { width: 90px; height: 90px; }
  .servicios-logo-inner span { font-size: 1.1rem; }
}

@media (max-width: 768px) {
  .servicios-section { padding: 72px 0; }

  .servicios-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
  }

  .servicios-logo {
    order: -1;
    width: 100%;
  }

  .servicios-logo-inner {
    flex-direction: column;
    padding: 28px 20px;
    height: auto;
    gap: 12px;
    text-align: center;
    border-radius: 6px;
  }

  .servicios-logo-inner img {
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }

  .servicios-logo-inner span { font-size: 1.2rem; }
  .servicios-logo-inner span::after { margin: 6px auto 0; }
  .servicios-logo-inner p { font-size: 0.85rem; }

  .servicio-card { padding: 28px 24px 60px; }
}

@media (max-width: 480px) {
  .servicios-section { padding: 52px 0; }
  .servicio-card { padding: 24px 18px 56px; }
  .servicio-icon { width: 48px; height: 48px; font-size: 1.2rem; }
  .servicio-card h3 { font-size: 1.05rem; }
  .servicios-logo-inner { padding: 24px 16px; gap: 10px; }
  .servicios-logo-inner img { width: 70px; height: 70px; }
  .servicios-logo-inner span { font-size: 1.1rem; }
  .servicios-logo-inner p { font-size: 0.8rem; }
}

/* ===========================
   LOGO
=========================== */

/* .section-logo {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  margin-bottom: 32px;
}

.boton-logo {
  align-items: center; display: flex; gap: 12px;
} */
/* ===========================
   STATS
=========================== */
.stats-section {
  position: relative;
  background: url('https://res.cloudinary.com/dgfrpksb4/image/upload/v1773263777/cash_solution_instagram_profile_znhckl.png') center/cover no-repeat fixed;
  padding: 70px 0 0;
}
.stats-overlay { position: absolute; inset: 0; background: rgba(15,30,54,0.83); }

.stats-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  text-align: center; color: var(--white);
  padding: 40px 16px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-item i { font-size: 1.8rem; color: var(--gold); margin-bottom: 10px; display: block; }

.stat-num { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1; }
.stat-plus { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; color: var(--gold); }
.stat-item p { margin-top: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.75); font-weight: 600; }

.stats-text {
  position: relative; z-index: 2;
  text-align: center; color: var(--white);
  background: rgba(26,43,74,0.7); padding: 56px 24px;
}
.stats-text h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 10px; }
.stats-text p { color: rgba(255,255,255,0.75); font-size: 0.97rem; }

/* ===========================
   CONTACTO
=========================== */
.contacto-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }

.contacto-left {
  position: relative;
  background: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=900&q=80') center/cover no-repeat;
  display: flex; align-items: center; padding: 60px 44px;
}
.contacto-overlay { position: absolute; inset: 0; }
.contacto-text { position: relative; z-index: 2; color: var(--white); }
.contacto-text h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700; line-height: 1.25; margin-bottom: 14px; }
.contacto-text p { color: rgba(255,255,255,0.8); font-size: 1rem; margin-bottom: 20px; }
.contacto-hr { border: none; border-top: 1px solid rgba(255,255,255,0.3); margin-top: 14px; }

.contacto-right { background: var(--white); padding: 56px 44px; display: flex; flex-direction: column; gap: 14px; }
.contacto-right h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--navy); }

.contacto-right input,
.contacto-right textarea {
  width: 100%; border: 1px solid #ddd; border-radius: 2px;
  padding: 12px 14px; font-family: var(--font-body); font-size: 0.88rem;
  color: var(--navy); outline: none; transition: border-color var(--transition);
}
.contacto-right input:focus, .contacto-right textarea:focus { border-color: var(--gold); }
.contacto-right textarea { resize: vertical; }

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

/* ===========================
   TESTIMONIOS
=========================== */
.testimonios-section { background: var(--gray-light); padding: 90px 0; }

.testimonio-slider { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 44px; }

.testimonio-card { background: var(--white); padding: 36px 32px; border-radius: 4px; box-shadow: var(--shadow); }
.quote-icon { font-size: 3.5rem; line-height: 0.6; color: var(--gold); margin-bottom: 18px; font-family: var(--font-display); }
.testimonio-card p { color: var(--gray-text); line-height: 1.8; font-size: 0.93rem; margin-bottom: 20px; }
.testimonio-autor strong { display: block; color: var(--navy); font-weight: 700; font-size: 0.92rem; }
.testimonio-autor span { font-size: 0.83rem; color: var(--gold); }

/* ===========================
   FOOTER
=========================== */
.footer { background: var(--white); padding: 72px 0 0; border-top: 1px solid #eee; }

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; padding-bottom: 44px; }

.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand .logo-icon { width: 38px; height: 38px; font-size: 1.2rem; }
.footer-brand p { color: var(--gray-text); font-size: 0.88rem; line-height: 1.7; max-width: 270px; }
.footer-brand strong { color: var(--navy); font-size: 0.97rem; }

.footer-menu h4, .footer-contact h4 { font-family: var(--font-display); font-size: 1.05rem; color: var(--navy); font-weight: 700; }
.footer-dots { color: #ccc; letter-spacing: 3px; margin: 4px 0 14px; font-size: 0.7rem; }
.footer-menu ul li { margin-bottom: 10px; }
.footer-menu ul li a { color: var(--gold); font-size: 0.88rem; font-weight: 600; transition: color var(--transition); display: flex; align-items: center; gap: 8px; }
.footer-menu ul li a:hover { color: var(--navy); }

.footer-contact p { color: var(--gray-text); font-size: 0.88rem; margin-bottom: 10px; display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.footer-contact p i { color: var(--gold); width: 14px; margin-top: 2px; flex-shrink: 0; }

.footer-social { display: flex; gap: 10px; margin-top: 12px; }
.footer-social a {
  width: 34px; height: 34px; background: var(--navy); color: white;
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; transition: background var(--transition);
}
.footer-social a:hover { background: var(--gold); }

.footer-bottom { border-top: 1px solid #eee; text-align: center; padding: 18px; font-size: 0.83rem; color: var(--gray-text); }


/* ===========================
   CONTACTO SECTION
=========================== */
.contacto-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  padding: 40px;
  gap: 24px;
}

.contacto-left {
  position: relative;
  background: url('https://res.cloudinary.com/dgfrpksb4/image/upload/v1774025959/WhatsApp_Image_2026-03-20_at_11.59.05_mjdnw8.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 60px 44px;
  border-radius: 8px;
}

.contacto-right {
  background: var(--white);
  padding: 56px 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contacto-right h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
}

/* FORMULARIO */
.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.contacto-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contacto-form .form-input,
.contacto-form .form-textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 2px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--white);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contacto-form .form-input::placeholder,
.contacto-form .form-textarea::placeholder {
  color: #aaa;
  font-size: 0.88rem;
}

.contacto-form .form-input:focus,
.contacto-form .form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,146,10,0.1);
}

.contacto-form .form-textarea {
  resize: vertical;
  min-height: 130px;
}

.contacto-form .form-btn {
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px;
  background: var(--gold);
  color: var(--white);
  border-radius: 2px;
  width: 100%;
  text-align: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.contacto-form .form-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* RESPONSIVE CONTACTO */
@media (max-width: 768px) {
  .contacto-section {
    grid-template-columns: 1fr;
    padding: 24px 16px;
    gap: 16px;
  }
  .contacto-left { min-height: 280px; padding: 40px 20px; border-radius: 8px; }
  .contacto-right { padding: 40px 20px; }
  .contacto-form .form-row { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 480px) {
  .contacto-section { padding: 16px 12px; }
  .contacto-left { min-height: 240px; padding: 32px 16px; }
  .contacto-right { padding: 32px 16px; }
}
/* ===========================
   ANIMACIONES SCROLL
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

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

.animate-fade { opacity: 0; animation: fadeIn 1s ease 0.3s forwards; }
.animate-up { opacity: 0; transform: translateY(28px); animation: slideUp 0.9s ease forwards; }
.animate-up.delay-2 { animation-delay: 0.55s; }
.animate-up.delay-3 { animation-delay: 0.85s; }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

.reveal-badge {
  opacity: 0; transform: translateX(-24px);
  transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s;
}
.reveal-badge.visible { opacity: 1; transform: translateX(0); }

/* ===========================
   TABLET — max 1024px
=========================== */
@media (max-width: 1024px) {
  .navbar { padding: 14px 24px; }
  .hero { padding: 80px 40px; }
  .hero-social { display: none; }

  .servicios-grid { grid-template-columns: 1fr 1fr; gap: 18px; }

  .nosotros-grid { grid-template-columns: 1fr; gap: 80px; }
  .nosotros-img img { height: 380px; }
  .nosotros-badge { left: 16px; bottom: -20px; }

  .stats-content { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  .contacto-section { grid-template-columns: 1fr; }
  .contacto-left { min-height: 340px; padding: 48px 36px; }
  .contacto-right { padding: 48px 36px; }

  .testimonio-slider { grid-template-columns: 1fr; max-width: 600px; margin-left: auto; margin-right: auto; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 20px; }
  .footer-brand p { max-width: 340px; }
}

/* ===========================
   MÓVIL GRANDE — max 768px
=========================== */
@media (max-width: 768px) {
  .topbar { flex-direction: column; align-items: flex-start; padding: 8px 16px; font-size: 0.78rem; gap: 4px; }
  .topbar-left { gap: 8px; }
  .topbar-right { gap: 12px; }

  .navbar { padding: 12px 16px; position: relative; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); padding: 16px 20px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    gap: 14px; border-top: 2px solid var(--gold);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; }

  .hero { padding: 64px 20px 80px; min-height: 90vh; }
  .hero-content { max-width: 100%; }
  .hero-desc { max-width: 100%; }

  

  .contacto-left { padding: 44px 20px; min-height: 300px; }
  .contacto-right { padding: 44px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 14px; }

  .testimonios-section { padding: 64px 0; }
  .testimonio-card { padding: 28px 22px; }

  .footer { padding: 56px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { flex-direction: column; gap: 10px; }
  .footer-brand p { max-width: 100%; }
}

/* ===========================
   MÓVIL PEQUEÑO — max 480px
=========================== */
@media (max-width: 480px) {
  .topbar { font-size: 0.72rem; }
  .topbar-left { flex-direction: column; gap: 2px; }
  .topbar-right { font-size: 0.72rem; gap: 8px; }

  .logo-text { font-size: 1rem; letter-spacing: 1px; }
  .logo-icon { width: 38px; height: 38px; font-size: 1.2rem; }

  .hero { padding: 56px 16px 72px; }
  .hero-subtitle { font-size: 0.75rem; letter-spacing: 2px; }

  .servicios-section { padding: 52px 0; }
  .servicio-card { padding: 24px 20px 52px; }

/* ===========================
   NOSOTROS
=========================== */
.nosotros-section {
  background: var(--white);
  padding: 100px 0;
  overflow: hidden;
}

.nosotros-section .section-title {
  text-align: center;
  margin-bottom: 4px;
}

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.nosotros-img {
  position: relative;
}

.nosotros-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.nosotros-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--gold);
  color: var(--white);
  padding: 24px 28px;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(212,146,10,0.35);
}

.badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
}

.badge-text {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 6px;
  line-height: 1.3;
}

.nosotros-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.2;
}

.nosotros-content p {
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.97rem;
}

.nosotros-content p strong {
  color: var(--navy);
  font-weight: 700;
}

.nosotros-list {
  margin: 20px 0;
}

.nosotros-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 0.93rem;
  line-height: 1.4;
}

.nosotros-list li i {
  color: var(--gold);
  font-size: 0.8rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.nosotros-btns {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* RESPONSIVE NOSOTROS */
@media (max-width: 1024px) {
  .nosotros-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }
  .nosotros-img img { height: 380px; }
  .nosotros-badge { left: 16px; }
}

@media (max-width: 768px) {
  .nosotros-section { padding: 72px 0; }
  .nosotros-grid { gap: 72px; margin-top: 32px; }
  .nosotros-img img { height: 300px; }
  .nosotros-badge { left: 12px; padding: 18px 22px; }
  .badge-num { font-size: 2rem; }
  .nosotros-btns { flex-direction: column; }
  .nosotros-btns .btn-gold,
  .nosotros-btns .btn-outline { text-align: center; width: 100%; }
}

@media (max-width: 480px) {
  .nosotros-section { padding: 52px 0; }
  .nosotros-img img { height: 240px; }
  .nosotros-badge {
    position: relative;
    left: 0; bottom: 0;
    margin-top: -10px;
    display: inline-block;
    border-radius: 0 0 4px 4px;
    width: 100%;
    text-align: center;
  }
}

  .stats-content { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:last-child { border-bottom: none; }

  .contacto-section { min-height: auto; }
  .contacto-left { min-height: 260px; padding: 36px 16px; }
  .contacto-right { padding: 36px 16px; }
  .contacto-right h3 { font-size: 1.4rem; }

  .testimonio-slider { margin-top: 28px; }
  .quote-icon { font-size: 2.8rem; }

  .footer-grid { gap: 22px; }
  .footer-bottom { font-size: 0.78rem; padding: 14px; }

  .whatsapp-float { width: 46px; height: 46px; font-size: 1.2rem; bottom: 16px; right: 16px; }
}

/* ===========================
   MÓVIL MUY PEQUEÑO — max 360px
=========================== */
@media (max-width: 360px) {
  .container { padding: 0 14px; }
  .hero-title { font-size: 1.9rem; }
  .section-title { font-size: 1.5rem; }
  .nosotros-content h2 { font-size: 1.6rem; }
  .stats-text h2 { font-size: 1.4rem; }
  .contacto-text h2 { font-size: 1.5rem; }
  .btn-gold, .btn-outline { padding: 11px 16px; font-size: 0.8rem; }
}