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

:root {
  --blue:   #5bb8f5;
  --yellow: #f5c842;
  --dark:   #1a1a1a;
  --muted:  #6b6b6b;
  --bg:     #f7f8fa;
  --card:   #ffffff;
  --border: #e8e9ec;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--dark);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,248,250,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── LOGO HTML/CSS ── */
.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}

.logo-nos {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(45deg, #4a90e2, #7bb3f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.logo-telefonia {
  font-size: .65rem;
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--dark);
  line-height: 1;
  display: none;
}

.logo-flag {
  width: 32px;
  height: 22px;
  display: flex;
  border-radius: 2px;
  overflow: hidden;
  border: 1.5px solid #ccc;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}

.logo-flag--lg {
  width: 60px;
  height: 40px;
  border-radius: 3px;
  border: 2px solid #bbb;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

.logo-flag--sm {
  width: 28px;
  height: 18px;
}

.flag-stripe {
  width: 33.33%;
  height: 100%;
}

.flag-white  { background-color: #ffffff; }
.flag-blue   { background-color: #0066cc; }
.flag-yellow { background-color: #ffcc00; }

/* Hero logo version */
.hero-logo {
  opacity: 0;
  animation: fadeUp .6s .25s forwards;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: 50%;
  aspect-ratio: 1;
  width: min(320px, 85%);
  overflow: hidden;
}

.hero-logo-img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 12px 30px rgba(74,144,226,.2));
}
.logo-footer {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.logo-footer .logo-nos {
  font-size: 1.4rem;
}

.logo-footer .logo-telefonia {
  display: none;
}

.nav-cta {
  background: var(--dark);
  color: #fff;
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s;
}
.nav-cta:hover { opacity: .75; }

/* ── HERO ── */
.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding: 3rem 1.5rem; }
  .hero-logo { display: flex; justify-content: center; }
}

.hero-text { opacity: 0; animation: fadeUp .6s .1s forwards; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: var(--blue); }
.hero-eyebrow::after  { content: ''; width: 28px; height: 2px; border-radius: 2px; background: var(--yellow); }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero h1 .hl-blue   { color: var(--blue); }
.hero h1 .hl-yellow { color: var(--yellow); }

.hero p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 2rem;
}

@media (max-width: 720px) { .hero p { margin: 0 auto 2rem; } }

.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

@media (max-width: 720px) { .hero-actions { justify-content: center; } }

.btn-primary {
  background: var(--dark);
  color: #fff;
  padding: .8rem 1.8rem;
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(0,0,0,.14);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }

.btn-outline {
  background: transparent;
  color: var(--dark);
  padding: .8rem 1.8rem;
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--border);
  transition: border-color .2s;
}
.btn-outline:hover { border-color: var(--dark); }

.hero-logo {
  opacity: 0;
  animation: fadeUp .6s .25s forwards;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── SECTION DIVIDER ── */
.section-label {
  max-width: 1080px;
  margin: 4rem auto 2rem;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label span {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.section-label::before,
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── PLANS ── */
.plans {
  max-width: 1080px;
  margin: 0 auto 6rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 760px) { .plans { grid-template-columns: 1fr; max-width: 440px; } }

.plan {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  position: relative;
  transition: transform .25s, box-shadow .25s;
  opacity: 0;
  animation: fadeUp .5s forwards;
}
.plan:nth-child(1) { animation-delay: .4s; }
.plan:nth-child(2) { animation-delay: .5s; }
.plan:nth-child(3) { animation-delay: .6s; }
.plan:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,.08); }

.plan.featured {
  border-color: transparent;
  background: var(--dark);
  color: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
}

.featured-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--dark);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-stripe { height: 4px; border-radius: 4px; margin-bottom: 1.5rem; }
.stripe-blue   { background: var(--blue); }
.stripe-yellow { background: var(--yellow); }
.stripe-dual   { background: linear-gradient(90deg, var(--blue) 50%, var(--yellow) 50%); }

.plan-name {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .75rem;
}
.plan.featured .plan-name { color: rgba(255,255,255,.45); }

.plan-price {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: .2rem;
}
.plan-price sup { font-size: 1.3rem; font-weight: 700; vertical-align: super; margin-right: 2px; }
.plan-price small { font-size: 1.4rem; font-weight: 700; }

.plan-period { font-size: .8rem; color: var(--muted); margin-bottom: 1.75rem; }
.plan.featured .plan-period { color: rgba(255,255,255,.4); }

.plans-note {
  max-width: 1080px;
  margin: -3rem auto 4rem;
  padding: 1.25rem 2rem;
  text-align: center;
  font-size: .88rem;
  color: var(--muted);
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  max-width: 720px;
}
.plans-note a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}
.plans-note a:hover { text-decoration: underline; }

.plan-features { list-style: none; display: flex; flex-direction: column; gap: .65rem; margin-bottom: 2rem; }
.plan-features li { display: flex; align-items: center; gap: .6rem; font-size: .88rem; }

.chk {
  width: 18px; height: 18px; min-width: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.chk-blue   { background: #e8f5fe; }
.chk-yellow { background: #fdf8e1; }
.chk-white  { background: rgba(255,255,255,.12); }

.plan-btn {
  display: block; text-align: center;
  padding: .8rem; border-radius: 100px;
  font-size: .88rem; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: all .2s;
  border: 1.5px solid var(--border);
  color: var(--dark); background: transparent;
}
.plan-btn:hover { background: var(--bg); border-color: var(--dark); }
.plan.featured .plan-btn { background: #fff; color: var(--dark); border-color: transparent; }
.plan.featured .plan-btn:hover { background: rgba(255,255,255,.85); }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); background: var(--card); }
.footer-inner {
  max-width: 1080px; margin: 0 auto; padding: 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
footer p { font-size: .8rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: .8rem; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--dark); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
