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

:root {
  --primary: #00509d;
  --primary-dark: #003f7e;
  --primary-light: #1a6bb5;
  --success: #4c8424;
  --success-dark: #3a6419;
  --success-light: #5ea02b;
  --accent: #7ecb35;
  --dark: #0d1b2a;
  --dark-2: #1a2b3c;
  --text: #2c3e50;
  --text-light: #64748b;
  --white: #ffffff;
  --off-white: #f8fafc;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, .07), 0 2px 4px rgba(0, 0, 0, .06);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, .1), 0 10px 10px rgba(0, 0, 0, .04);
  --shadow-xl: 0 25px 50px rgba(0, 0, 0, .15);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all .3s cubic-bezier(.4, 0, .2, 1);
  --transition-fast: all .15s ease;
  --font: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* ===========================
   UTILITIES
=========================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.text-green {
  color: var(--success);
}

.text-accent {
  color: var(--accent);
}

.text-primary {
  color: var(--primary);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-badge {
  display: inline-block;
  background: rgba(76, 132, 36, 0.1);
  color: var(--success);
  border: 1px solid rgba(76, 132, 36, 0.25);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: var(--transition);
}

.btn:hover::after {
  background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 80, 157, .35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 80, 157, .45);
}

.btn-success {
  background: var(--success);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(76, 132, 36, .35);
}

.btn-success:hover {
  background: var(--success-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(76, 132, 36, .45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

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

.btn-outline-white:hover {
  background: var(--white);
  color: var(--success-dark);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

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

/* ===========================
   NAVBAR
=========================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  padding: 0;
}

#navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: var(--transition);
}

.nav-logo-img:hover {
  opacity: 0.85;
  transform: scale(1.03);
}


.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--success), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(76, 132, 36, .3);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-primary {
  font-family: var(--font);
  font-weight: 800;
  font-size: 20px;
  color: var(--primary);
  letter-spacing: 1px;
}

.logo-secondary {
  font-family: var(--font);
  font-weight: 800;
  font-size: 20px;
  color: var(--success);
  letter-spacing: 1px;
}

.logo-text small {
  font-family: var(--font);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-light);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-link {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(0, 80, 157, .06);
}

.nav-link .fa-chevron-down {
  font-size: 10px;
  transition: var(--transition-fast);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown:hover .fa-chevron-down {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
  z-index: 10;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: var(--transition-fast);
}

.dropdown-menu a i {
  color: var(--success);
  width: 16px;
}

.dropdown-menu a:hover {
  background: var(--off-white);
  color: var(--primary);
}

.nav-cta {
  margin-left: 8px;
  padding: 10px 22px;
  font-size: 14px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('img/hero_bg.png') center/cover no-repeat;
  transform: scale(1.05);
  animation: heroScale 8s ease-out forwards;
}

@keyframes heroScale {
  to {
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(13, 27, 42, 0.85) 0%,
      rgba(0, 63, 126, 0.7) 50%,
      rgba(13, 27, 42, 0.6) 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(126, 203, 53, 0.6);
  border-radius: 50%;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) translateX(0) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100px) translateX(var(--drift)) scale(1);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 120px 24px 80px;
  margin: 0 auto 0 max(calc((100vw - 1200px)/2), 24px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(126, 203, 53, 0.15);
  color: var(--accent);
  border: 1px solid rgba(126, 203, 53, 0.3);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font);
  font-size: clamp(36px, 5.5vw, 66px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stat-num {
  font-family: var(--font);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  order: -1;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: scrollHint 2s ease-in-out infinite;
}

.hero-scroll-hint i {
  font-size: 20px;
  animation: bounceDown 1.5s ease-in-out infinite;
}

@keyframes scrollHint {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

@keyframes bounceDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

/* ===========================
   ANIMATE ON SCROLL
=========================== */
.animate-fade-up {
  animation: fadeUp 1s cubic-bezier(.4, 0, .2, 1) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.4, 0, .2, 1);
}

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

/* ===========================
   SERVICIOS
=========================== */
.servicios {
  background: var(--off-white);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.service-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.service-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .6), transparent);
}

.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 80, 157, .4), rgba(76, 132, 36, .4));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.service-icon {
  position: absolute;
  bottom: 16px;
  left: 20px;
  width: 52px;
  height: 52px;
  background: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  box-shadow: 0 4px 20px rgba(0, 80, 157, .4);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--success);
  transform: scale(1.1);
}

.service-body {
  padding: 28px;
}

.service-body h3 {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.service-body p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition-fast);
}

.service-link:hover {
  color: var(--success);
  gap: 12px;
}

.service-link i {
  transition: var(--transition-fast);
}

.services-cta {
  text-align: center;
  margin-top: 48px;
}

/* ===========================
   NOSOTROS
=========================== */
.nosotros {
  background: var(--white);
}

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

.nosotros-content .section-badge {
  margin-bottom: 12px;
}

.nosotros-content .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.nosotros-content p {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 32px;
}

.nosotros-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.nosotros-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.nosotros-list li i {
  color: var(--success);
  font-size: 18px;
  flex-shrink: 0;
}

.img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.img-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: var(--transition);
}

.img-frame:hover img {
  transform: scale(1.04);
}

.img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
}

.img-badge i {
  color: var(--success);
  font-size: 24px;
  flex-shrink: 0;
}

.img-badge span {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

/* ===========================
   ECO HIGHLIGHT
=========================== */
.eco-highlight {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.eco-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: scale(1.1);
  transition: transform .5s ease;
}

.eco-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 30, 10, 0.88), rgba(0, 63, 126, 0.75));
}

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

.eco-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  margin-bottom: 32px;
}

.eco-logo i {
  color: var(--accent);
  font-size: 28px;
  animation: spin 6s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.eco-logo span {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
}

.eco-content h2 {
  font-family: var(--font);
  font-size: clamp(28px, 4.5vw, 50px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.eco-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ===========================
   PROCESO
=========================== */
.proceso {
  background: var(--off-white);
}

.proceso-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}

.proceso-step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
}

.proceso-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.step-num {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 800;
  color: var(--success);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.step-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, var(--primary), var(--success));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(0, 80, 157, .3);
  transition: var(--transition);
}

.proceso-step:hover .step-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 32px rgba(0, 80, 157, .4);
}

.proceso-step h3 {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.proceso-step p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.proceso-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: var(--success);
  font-size: 22px;
  opacity: 0.5;
}

.proceso-connector::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--success), var(--primary));
  border-radius: 2px;
}

/* ===========================
   FAQ
=========================== */
.faq {
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.faq-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.faq-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.faq-content .section-badge {
  margin-bottom: 12px;
}

.faq-content .section-title {
  text-align: left;
  margin-bottom: 32px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item:has(.accordion-btn[aria-expanded="true"]) {
  border-color: rgba(0, 80, 157, .25);
  box-shadow: 0 0 0 3px rgba(0, 80, 157, .06);
}

.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition-fast);
  text-align: left;
  gap: 16px;
}

.accordion-btn:hover {
  color: var(--primary);
  background: var(--off-white);
}

.accordion-btn[aria-expanded="true"] {
  color: var(--primary);
  background: rgba(0, 80, 157, .04);
}

.accordion-icon {
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--primary);
  font-size: 12px;
}

.accordion-btn[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4, 0, .2, 1);
}

.accordion-body.open {
  max-height: 200px;
}

.accordion-body p {
  padding: 4px 24px 24px;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===========================
   CONTACTO
=========================== */
.contacto {
  background: var(--off-white);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
}

.contacto-info {
  background: linear-gradient(135deg, var(--primary), var(--success-dark));
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: var(--white);
}

.contacto-info h3 {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--white);
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.contact-item strong {
  display: block;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  transition: var(--transition);
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
  transform: scale(1.1);
}

.contacto-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: var(--transition-fast);
  resize: vertical;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(100, 116, 139, 0.6);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 80, 157, .1);
}

.form-group select {
  cursor: pointer;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
}

.form-success {
  text-align: center;
  padding: 40px;
}

.form-success i {
  font-size: 56px;
  color: var(--success);
  margin-bottom: 20px;
  display: block;
  animation: popIn .5s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes popIn {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.form-success h3 {
  font-family: var(--font);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.form-success p {
  color: var(--text-light);
  font-size: 16px;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--dark);
}

.footer-main {
  padding: 80px 0 48px;
}

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

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand .logo-icon {
  background: linear-gradient(135deg, var(--success), var(--primary));
}

.footer-brand .logo-primary {
  color: white;
}

.footer-brand .logo-secondary {
  color: var(--accent);
}

.footer-brand .logo-text small {
  color: rgba(255, 255, 255, 0.4);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
}

.cert-badge i {
  color: var(--accent);
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.footer-links ul,
.footer-services ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links ul a,
.footer-services ul a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: var(--transition-fast);
}

.footer-links ul a i,
.footer-services ul a i {
  font-size: 10px;
  color: var(--success);
}

.footer-links ul a:hover,
.footer-services ul a:hover {
  color: var(--white);
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--success);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 15px;
}

.footer-contact-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.55;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--success);
  border-color: var(--success);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  transition: var(--transition-fast);
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ===========================
   SCROLL TO TOP
=========================== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 20px rgba(0, 80, 157, .4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: var(--transition);
  z-index: 1000;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--success);
  transform: translateY(-4px);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nosotros-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .nosotros-image {
    order: -1;
  }

  .img-frame img {
    height: 360px;
  }

  .proceso-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .proceso-connector {
    display: none;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .faq-image {
    display: none;
  }

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

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

  .nav-menu {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    box-shadow: none;
    border: none;
    background: var(--off-white);
    border-radius: var(--radius);
    margin-top: 4px;
  }

  .hero-content {
    padding: 120px 24px 64px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

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

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

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

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

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

  .footer-bottom .container {
    justify-content: center;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .btn-lg {
    padding: 14px 24px;
    font-size: 15px;
  }

  .contacto-info,
  .contacto-form {
    padding: 32px 24px;
  }

  .scroll-top {
    bottom: 20px;
    right: 20px;
  }
}