/* ============================================================
   BALAMTI – Landing Page CSS
   Color Palette: Navy #0d2137, Accent Blue #1a6fc4, 
   Teal #0ea5e9, White, Light Gray #f8fafc
   ============================================================ */

/* ── RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0d2137;
  --navy-dark: #081520;
  --navy-mid: #112840;
  --blue: #1a6fc4;
  --blue-light: #2282e8;
  --teal: #0ea5e9;
  --teal-light: #38bdf8;
  --accent: #f59e0b;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --success: #22c55e;
  --whatsapp: #25d366;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(13, 33, 55, .10);
  --shadow-md: 0 8px 32px rgba(13, 33, 55, .16);
  --shadow-lg: 0 16px 56px rgba(13, 33, 55, .22);
  --shadow-blue: 0 8px 32px rgba(26, 111, 196, .35);

  --transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
  --font-main: 'Inter', system-ui, sans-serif;
  --font-head: 'Outfit', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--gray-800);
  line-height: 1.65;
  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;
}

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECTION HEADER ── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(26, 111, 196, .12), rgba(14, 165, 233, .12));
  color: var(--blue);
  border: 1px solid rgba(26, 111, 196, .25);
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 18px;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 620px;
  margin: 0 auto;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: .95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(26, 111, 196, .45);
  background: linear-gradient(135deg, var(--blue-light), var(--teal-light));
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .55);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37, 211, 102, .4);
}

.btn-whatsapp:hover {
  background: #1ebe58;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, .55);
}

.btn-sm {
  padding: 10px 20px;
  font-size: .875rem;
  border-radius: var(--radius-sm);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(8, 21, 32, .96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 10px 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  /* Logo con fondo transparente - se ve directamente el escudo azul marino */
}

.nav-logo-text {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: rgba(255, 255, 255, .82);
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, .1);
}

.nav-link.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--white);
  padding: 10px 20px;
  margin-left: 8px;
  box-shadow: var(--shadow-blue);
}

.nav-link.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(26, 111, 196, .5);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(6, 14, 24, .92) 0%,
      rgba(10, 24, 44, .85) 40%,
      rgba(13, 33, 55, .70) 70%,
      rgba(26, 111, 196, .25) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 24px 100px;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(10px);
  color: var(--teal-light);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--teal-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .78);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px 28px;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-suffix {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--teal-light);
}

.stat-label {
  display: block;
  font-size: .78rem;
  color: rgba(255, 255, 255, .6);
  margin-top: 4px;
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, .18);
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 255, 255, .6);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--navy);
  padding: 20px 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .85);
  font-size: .9rem;
  font-weight: 500;
}

.trust-item i {
  color: var(--teal-light);
  font-size: 1.1rem;
}

/* ── SERVICES ── */
.services {
  padding: 96px 0;
  background: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.06);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 21, 32, .85), rgba(8, 21, 32, .1));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover .service-card-overlay {
  opacity: 1;
}

.service-card-body {
  padding: 28px 24px;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 16px;
  box-shadow: var(--shadow-blue);
}

.service-card-body h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card-body p {
  font-size: .9rem;
  color: var(--gray-600);
  margin-bottom: 18px;
  line-height: 1.6;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--gray-600);
}

.service-list li i {
  color: var(--success);
  font-size: .85rem;
}

/* ── PRODUCTS ── */
.products {
  padding: 96px 0;
  background: var(--white);
}

.product-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
}

.product-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  border: 2px solid transparent;
  transition: var(--transition);
}

.product-tab:hover {
  color: var(--blue);
  background: rgba(26, 111, 196, .08);
}

.product-tab.active {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.product-panel {
  display: none;
}

.product-panel.active {
  display: block;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26, 111, 196, .3);
}

.product-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--gray-100);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  letter-spacing: .04em;
}

.product-body {
  padding: 20px;
}

.product-body h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.product-body p {
  font-size: .875rem;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.55;
}

.products-cta {
  text-align: center;
  margin-top: 48px;
  padding: 36px;
  background: linear-gradient(135deg, rgba(13, 33, 55, .04), rgba(26, 111, 196, .06));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26, 111, 196, .15);
}

.products-cta p {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 20px;
}

/* ── WHY US ── */
.why-us {
  padding: 96px 0;
  background: var(--gray-50);
}

.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-us-img {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-us-img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.why-us-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
}

.why-us-card i {
  font-size: 2rem;
  color: rgba(255, 255, 255, .85);
}

.why-us-card strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
}

.why-us-card span {
  display: block;
  font-size: .8rem;
  opacity: .85;
}

.floating {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.why-us-content .section-title {
  text-align: left;
  margin-bottom: 18px;
}

.why-us-content .section-tag {
  margin-bottom: 12px;
}

.why-us-desc {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.why-us-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.feature-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-blue);
}

.feature-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.feature-text p {
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ── PROCESS ── */
.process {
  padding: 96px 0;
  background: var(--navy);
}

.process .section-title {
  color: var(--white);
}

.process .section-tag {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .2);
  color: var(--teal-light);
}

.process .section-subtitle {
  color: rgba(255, 255, 255, .65);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.process-step {
  flex: 1;
  min-width: 180px;
  max-width: 240px;
  text-align: center;
  padding: 24px 16px;
  position: relative;
}

.process-num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, .06);
  line-height: 1;
  margin-bottom: -16px;
}

.process-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  margin: 0 auto 16px;
  box-shadow: var(--shadow-blue);
}

.process-step h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.process-step p {
  font-size: .875rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.6;
}

.process-connector {
  flex: 0 0 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  margin-top: 80px;
  align-self: flex-start;
}

/* ── TESTIMONIALS ── */
.testimonials {
  padding: 96px 0;
  background: var(--gray-50);
}

.testimonials-slider {
  position: relative;
  min-height: 240px;
}

.testimonial-card {
  display: none;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  max-width: 760px;
  margin: 0 auto;
}

.testimonial-card.active {
  display: block;
  animation: fadeIn .4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.testimonial-stars {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 20px;
  display: flex;
  gap: 4px;
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--gray-600);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
}

.author-info span {
  font-size: .82rem;
  color: var(--gray-400);
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.testimonial-prev,
.testimonial-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-200);
  color: var(--navy);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-color: transparent;
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.testimonials-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  transform: scale(1.3);
}

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 50%, var(--blue) 150%);
  padding: 64px 0;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.cta-banner-text p {
  color: rgba(255, 255, 255, .7);
  font-size: 1rem;
}

.cta-banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── CONTACT ── */
.contact {
  padding: 96px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 48px;
}

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.contact-info-item:last-of-type {
  border-bottom: none;
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: .85rem;
  font-weight: 600;
  color: var(--teal-light);
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: .9rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.5;
}

.contact-info-item a {
  color: rgba(255, 255, 255, .8);
  transition: var(--transition);
}

.contact-info-item a:hover {
  color: var(--teal-light);
}

.contact-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: .95rem;
  transition: var(--transition);
}

.social-link:hover {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-color: transparent;
  transform: translateY(-2px);
}

.social-link.social-whatsapp {
  background: var(--whatsapp);
  border-color: transparent;
}

.social-link.social-whatsapp:hover {
  background: #1ebe58;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--gray-200);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gray-200);
  background: var(--white);
  font-family: var(--font-main);
  font-size: .9rem;
  color: var(--gray-800);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 111, 196, .12);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: #ef4444;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-error {
  font-size: .78rem;
  color: #ef4444;
  min-height: 16px;
  display: block;
}

.form-success {
  text-align: center;
  color: var(--success);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px;
  background: rgba(34, 197, 94, .1);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(34, 197, 94, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Map */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

/* ── FOOTER ── */
.footer {
  background: var(--navy-dark);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  /* Logo con fondo transparente - se ve directamente el escudo azul marino */
}

.footer-logo span {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
}

.footer-tagline {
  font-size: .875rem;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 24px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-links h4 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: .875rem;
  color: rgba(255, 255, 255, .5);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--teal-light);
  padding-left: 4px;
}

.footer-contact h4 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-contact p i {
  color: var(--teal-light);
  margin-top: 2px;
}

.footer-contact a {
  color: rgba(255, 255, 255, .55);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--teal-light);
}

.footer-bottom {
  background: rgba(0, 0, 0, .2);
  padding: 18px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom-inner p {
  font-size: .8rem;
  color: rgba(255, 255, 255, .4);
}

.form-error-global {
  text-align: center;
  color: #ef4444;
  font-weight: 600;
  font-size: .9rem;
  padding: 12px 16px;
  background: rgba(239, 68, 68, .08);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(239, 68, 68, .25);
  margin-top: -8px;
}

.whatsapp-float {
  position: fixed;
  bottom: 88px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37, 211, 102, .5);
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(37, 211, 102, .65);
}

.whatsapp-tooltip {
  position: absolute;
  right: 66px;
  background: var(--navy);
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
  box-shadow: var(--shadow-blue);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: var(--transition);
}

.scroll-top.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.scroll-top:hover {
  transform: translateY(-3px);
}

/* ── AOS ANIMATIONS ── */
[data-aos] {
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}

[data-aos="fade-left"] {
  transform: translateX(30px);
}

[data-aos="zoom-in"] {
  transform: scale(.92);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: none !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .why-us-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-us-img img {
    height: 380px;
  }

  .why-us-card {
    bottom: 20px;
    right: 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 88px 24px 40px;
    gap: 8px;
    transition: right .35s cubic-bezier(.4, 0, .2, 1);
    box-shadow: -8px 0 32px rgba(0, 0, 0, .4);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    font-size: 1rem;
    padding: 12px 16px;
    width: 100%;
  }

  .nav-link.nav-cta {
    margin-left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .process-connector {
    display: none;
  }

  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .trust-bar-inner {
    gap: 12px;
    justify-content: flex-start;
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    padding: 28px 22px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }

  .stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .stat-label {
    margin-top: 0;
  }
}