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

:root {
  --blue-dark:   #0d4a8b;
  --blue:        #1a6eb5;
  --blue-light:  #2e86d4;
  --accent:      #00b4d8;
  --dark:        #080f1a;
  --dark-2:      #111827;
  --dark-3:      #1f2a3c;
  --text:        #e2e8f0;
  --text-muted:  #94a3b8;
  --white:       #ffffff;
  --card-bg:     #0f1929;
  --border:      rgba(255,255,255,0.07);
  --green:       #25d366;
  --radius:      12px;
  --shadow:      0 4px 24px rgba(0,0,0,0.35);
  --transition:  0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* =============================================
   UTILITY
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 96px 0;
}

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

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in {
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
  from { opacity: 0; transform: translateY(30px); }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(26,110,181,0.4);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,110,181,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: var(--green);
  color: var(--white);
}
.btn-whatsapp:hover {
  background: #1fba57;
  transform: translateY(-2px);
}
.btn-service {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--green);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
}
.btn-service:hover {
  background: #1fba57;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}
.btn-lg  { padding: 14px 32px; font-size: 1rem; }
.btn-xl  { padding: 18px 44px; font-size: 1.1rem; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(8,15,26,0.96);
  backdrop-filter: blur(16px);
  padding: 10px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
}
.logo-thin { font-weight: 400; color: var(--accent); }
.nav-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}
.footer-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}
.nav-btn { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8,15,26,0.88) 0%,
    rgba(13,74,139,0.65) 50%,
    rgba(8,15,26,0.82) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 80px;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(26,110,181,0.25);
  border: 1px solid rgba(26,110,181,0.5);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.2);
}
.hero-scroll-arrow {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.5);
  animation: bounce 2s infinite;
  transition: color var(--transition);
}
.hero-scroll-arrow:hover { color: var(--white); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   SECTION HEADER
   ============================================= */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(0,180,216,0.12);
  border: 1px solid rgba(0,180,216,0.3);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

/* =============================================
   SERVICES
   ============================================= */
.services-section { background: var(--dark-2); }

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

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.5);
  border-color: rgba(26,110,181,0.4);
}

.service-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-img-wrap img {
  transform: scale(1.07);
}
.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,15,26,0.9) 0%, transparent 60%);
}

.service-sonda {
  background: linear-gradient(135deg, #0d4a8b, #00335a);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sonda-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.service-body {
  padding: 24px;
}
.service-icon {
  width: 44px;
  height: 44px;
  background: rgba(26,110,181,0.15);
  border: 1px solid rgba(26,110,181,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 14px;
}
.service-icon--accent {
  background: rgba(0,180,216,0.15);
  border-color: rgba(0,180,216,0.3);
}
.service-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.service-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* stagger delay for cards */
.services-grid .service-card:nth-child(2) { transition-delay: 0.07s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.14s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.21s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.28s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.35s; }
.services-grid .service-card:nth-child(7) { transition-delay: 0.42s; }
.services-grid .service-card:nth-child(8) { transition-delay: 0.49s; }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 64px 20px;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.cta-banner-text p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
}
.cta-banner .btn-primary {
  background: var(--white);
  color: var(--blue-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.cta-banner .btn-primary:hover {
  background: var(--text);
  transform: translateY(-2px);
}

/* =============================================
   ABOUT
   ============================================= */
.about-section { background: var(--dark); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.about-badge-float {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(8,15,26,0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(26,110,181,0.4);
  border-radius: 50px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--white);
  font-size: 0.9rem;
}
.about-content { }
.about-text {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 1rem;
  line-height: 1.8;
}
.about-text strong { color: var(--white); }
.about-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 0.95rem;
}
.about-list svg { flex-shrink: 0; }

/* =============================================
   BENEFITS
   ============================================= */
.benefits-section { background: var(--dark-2); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.benefit-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(26,110,181,0.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.benefit-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(26,110,181,0.2), rgba(0,180,216,0.1));
  border: 1px solid rgba(26,110,181,0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.benefit-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* stagger delay for benefits */
.benefits-grid .benefit-card:nth-child(2) { transition-delay: 0.08s; }
.benefits-grid .benefit-card:nth-child(3) { transition-delay: 0.16s; }
.benefits-grid .benefit-card:nth-child(4) { transition-delay: 0.24s; }
.benefits-grid .benefit-card:nth-child(5) { transition-delay: 0.32s; }
.benefits-grid .benefit-card:nth-child(6) { transition-delay: 0.40s; }

/* =============================================
   CONTACT
   ============================================= */
.contact-section { background: var(--dark-3); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}
.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(26,110,181,0.4);
}
.contact-icon {
  width: 64px;
  height: 64px;
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin: 0 auto 20px;
}
.contact-icon--mail {
  background: rgba(26,110,181,0.12);
  border-color: rgba(26,110,181,0.3);
  color: var(--accent);
}
.contact-icon--loc {
  background: rgba(0,180,216,0.12);
  border-color: rgba(0,180,216,0.3);
  color: var(--accent);
}
.contact-icon--fb {
  background: rgba(24,119,242,0.12);
  border-color: rgba(24,119,242,0.35);
  color: #4f9cf7;
}
.nav-fb {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4f9cf7 !important;
}
.nav-fb:hover {
  background: rgba(24,119,242,0.1) !important;
  color: #82b8ff !important;
}
.contact-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.contact-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.contact-link {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.95rem;
  transition: color var(--transition);
}
.contact-link:hover { color: var(--blue-light); }
.contact-cta {
  text-align: center;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
}
.footer-loc {
  color: var(--text-muted);
  font-size: 0.875rem;
}
.footer-copy {
  color: rgba(148,163,184,0.5);
  font-size: 0.8rem;
}

/* =============================================
   FLOATING WHATSAPP
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,0.6);
}
.whatsapp-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--green);
  animation: pulse 2.4s ease-out infinite;
  opacity: 0;
}
@keyframes pulse {
  0%   { transform: scale(0.85); opacity: 0.8; }
  100% { transform: scale(1.5);  opacity: 0; }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image-wrap img { height: 320px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 90vw);
    height: 100vh;
    background: rgba(8,15,26,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 40px;
    gap: 8px;
    transform: translateX(110%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    border-left: 1px solid var(--border);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 1rem; padding: 12px 16px; width: 100%; }
  .nav-btn { margin-left: 0; margin-top: 8px; }

  .hero-stats { gap: 16px; }
  .stat-num { font-size: 1.4rem; }

  .section { padding: 72px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .cta-banner-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-ctas { flex-direction: column; }
  .btn-xl { padding: 16px 32px; font-size: 1rem; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}
