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

:root {
  --green: #00b894;
  --green-dark: #009976;
  --green-light: #e8faf6;
  --black: #0d0d0d;
  --dark: #1a1a2e;
  --gray: #f7f8fa;
  --text: #2d2d2d;
  --text-muted: #666;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; }

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

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

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

ul { list-style: none; }

/* ── Container ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,184,148,0.35); }
.btn-secondary {
  background: var(--green-light);
  color: var(--green-dark);
  border-color: transparent;
}
.btn-secondary:hover { background: #c8f0e8; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover { background: var(--green); color: #fff; transform: translateY(-1px); }
.btn-lg { padding: 15px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 10px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo-link { display: flex; align-items: center; }
.logo { height: 42px; width: auto; }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-links a:hover::after { transform: scaleX(1); }
.navbar.scrolled .nav-links a { color: var(--text); }
.nav-cta { margin-left: 8px; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
.navbar.scrolled .hamburger span { background: var(--text); }
.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); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 24px 24px;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
}
.mobile-nav.open { display: flex; }
.mobile-link {
  font-weight: 500;
  color: var(--text);
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2e40 40%, #0d3028 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(0,184,148,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(0,184,148,0.10) 0%, transparent 50%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 24px 100px;
  max-width: 760px;
}
.hero-badge {
  display: inline-block;
  background: rgba(0,184,148,0.15);
  border: 1px solid rgba(0,184,148,0.4);
  color: var(--green);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}
.accent { color: var(--green); }
.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 1.6rem; font-weight: 800; color: #fff; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.55); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }
.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
}
.hero-wave svg { display: block; width: 100%; height: 60px; }

/* ── SECTION BASE ── */
.section { padding: 96px 0; }
.section--gray { background: var(--gray); }
.section--dark {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2e40 100%);
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card--featured {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(0,184,148,0.15), var(--shadow);
}
.featured-badge {
  position: absolute;
  top: -12px; right: 20px;
  background: var(--green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  letter-spacing: 0.04em;
}
.service-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon--home { background: #e8faf6; color: var(--green); }
.service-icon--pyme { background: #e8faf6; color: var(--green); }
.service-icon--empresa { background: #e8faf6; color: var(--green); }
.service-card h3 { font-size: 1.25rem; font-weight: 700; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; flex: 1; }
.feature-list { display: flex; flex-direction: column; gap: 8px; }
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}
.feature-list li::before {
  content: '';
  width: 18px; height: 18px;
  min-width: 18px;
  background: var(--green-light);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%2300b894' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ── PLANS ── */
.plans-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.plan-card {
  background: #fff;
  border: 2px solid #eef0f3;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 180px;
  flex: 1;
  max-width: 220px;
  position: relative;
}
.plan-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--green); }
.plan-card--popular {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,184,148,0.12), var(--shadow);
  transform: scale(1.04);
}
.plan-card--premium { border-color: #d0a000; }
.plan-card--premium:hover { border-color: #d0a000; box-shadow: 0 12px 48px rgba(208,160,0,0.15); }
.plan-popular-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}
.plan-speed {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
}
.plan-unit {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green);
  margin-top: -8px;
}
.plan-name { font-weight: 700; font-size: 1rem; color: var(--text-muted); }
.plan-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.plan-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.plan-features li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--green);
  font-weight: 700;
}
.plans-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── TECH ── */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.tech-card {
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: var(--radius);
  padding: 48px 40px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tech-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.tech-visual {
  width: 80px; height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-light);
  border-radius: 20px;
}
.tech-card h3 { font-size: 1.3rem; font-weight: 700; }
.tech-card p { color: var(--text-muted); font-size: 0.95rem; }
.tech-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}

/* ── WHY ── */
.why-section { background: #fff; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-items { display: flex; flex-direction: column; gap: 24px; }
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.why-item strong { display: block; font-weight: 700; margin-bottom: 4px; }
.why-item p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.why-image-inner {
  background: var(--green-light);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-globe { width: 100%; max-width: 280px; margin: 0 auto; }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s;
  color: #fff;
}
.contact-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.contact-card--whatsapp:hover { border-color: #25d366; }
.contact-card--email:hover { border-color: var(--green); }
.contact-icon { color: var(--green); flex-shrink: 0; }
.contact-info { display: flex; flex-direction: column; flex: 1; }
.contact-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-value { font-size: 1rem; font-weight: 600; color: #fff; }
.contact-arrow { color: var(--green); font-size: 1.3rem; }
.contact-footer {
  text-align: center;
  margin-top: 40px;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── FOOTER ── */
.footer {
  background: #080e14;
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-logo { height: 32px; width: auto; filter: brightness(0) invert(1) opacity(0.7); }
.footer-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255,255,255,0.4);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--green); }
.footer-copy {
  width: 100%;
  color: rgba(255,255,255,0.25);
  font-size: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 20px;
  margin-top: 8px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .tech-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-image { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .plans-grid { flex-direction: column; align-items: center; }
  .plan-card { max-width: 360px; width: 100%; }
  .plan-card--popular { transform: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .section { padding: 64px 0; }
  .hero-content { padding: 100px 24px 80px; }
  .hero-stats { gap: 20px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { margin-left: 0; justify-content: center; }
}
