:root {
  --navy: #062c6f;
  --navy-deep: #031c49;
  --blue: #0878e8;
  --blue-strong: #0758cd;
  --cyan: #00c8f5;
  --ink: #0a2a52;
  --muted: #526b86;
  --line: #d7e5f5;
  --paper: #f7fbff;
  --white: #ffffff;
  --font-brand: "Avenir Next", Avenir, "Century Gothic", Futura, "Trebuchet MS", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-brand);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
img { max-width: 100%; display: block; }

.kicker {
  margin-bottom: .85rem;
  color: #c8ecff;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.kicker.dark { color: var(--blue-strong); }

/* Header */
.nav-shell {
  position: absolute;
  z-index: 20;
  top: 22px;
  left: 50%;
  width: min(calc(100% - 36px), 1220px);
  min-height: 72px;
  padding: 10px 22px 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 52px rgba(0,45,107,.16);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}
.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  font-weight: 900;
}
.brand-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 13px;
}
.brand-name {
  color: var(--ink);
  font-size: 1.35rem;
  letter-spacing: -.035em;
}
.brand-name span,
.footer-brand > span > span { color: #09aef0; }
.nav-shell nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: #294764;
  font-size: .9rem;
  font-weight: 700;
}
.nav-shell nav a:hover { color: var(--blue); }

/* Hero */
.hero {
  min-height: 900px;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue);
}
.hero-photo {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,118,232,.86), rgba(0,89,205,.60)), url('/conecta2-san-quintin.jpg') center / cover no-repeat;
  transform: scale(1.015);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 17%, rgba(85,183,255,.30) 0 11%, transparent 11.5%),
    linear-gradient(0deg, rgba(2,27,68,.36), transparent 42%);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 360px;
  height: 360px;
  border: 28px solid rgba(126,220,255,.20);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-45deg);
}
.hero::before { left: -105px; top: 120px; }
.hero::after { right: -85px; top: 135px; transform: rotate(45deg); }
.hero-layout {
  position: relative;
  z-index: 3;
  width: min(1220px, calc(100% - 44px));
  margin: 104px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.hero-card {
  width: min(560px, 100%);
  padding: 42px 40px 34px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 30px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 28px 90px rgba(0,45,107,.25);
  backdrop-filter: blur(14px);
}
.hero-card .kicker { color: var(--blue); }
.hero h1 {
  margin: 0 0 1.2rem;
  color: var(--ink);
  font-size: clamp(3.1rem, 5vw, 5.8rem);
  line-height: .92;
  letter-spacing: -.065em;
}
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-lead {
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 1.75rem;
}
.button {
  min-height: 52px;
  padding: .95rem 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: .8rem;
  font-weight: 800;
}
.button-primary {
  background: linear-gradient(135deg, #1688ef, #0758cd);
  color: white;
  box-shadow: 0 12px 28px rgba(8,93,213,.24);
}
.text-link {
  padding: .75rem 0;
  border-bottom: 1px solid #7797b6;
  color: #274d72;
  font-size: .86rem;
  font-weight: 800;
}
.text-link span,
.button span { margin-left: .45rem; }
.hero-facts {
  margin-top: 2rem;
  padding-top: 1.2rem;
  display: flex;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  color: #3f6487;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.hero-facts span::before { content: "●"; margin-right: .45rem; color: var(--cyan); }
.hero-badge {
  width: 230px;
  height: 230px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  background: rgba(5,77,172,.34);
  color: white;
  text-align: center;
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.06), 0 24px 70px rgba(0,42,100,.2);
  backdrop-filter: blur(10px);
}
.hero-badge strong { font-size: 4.2rem; line-height: .9; letter-spacing: -.08em; }
.hero-badge span { margin-top: .8rem; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

/* Manifesto */
.manifesto {
  position: relative;
  padding: 8rem max(1.4rem, calc((100% - 1220px)/2)) 9rem;
  overflow: hidden;
  background: linear-gradient(135deg, #0878e8 0%, #0758cd 54%, #062f80 100%);
  color: white;
}
.manifesto h2 {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(3rem, 6.5vw, 7rem);
  line-height: .9;
  letter-spacing: -.06em;
}
.manifesto h2 em { color: #8fe9ff; font-style: normal; }
.signal-rings { position: absolute; right: 9%; top: 44%; width: 10px; height: 10px; }
.signal-rings i { position: absolute; inset: 0; border: 2px solid rgba(147,225,255,.22); border-radius: 50%; box-shadow: 0 0 70px rgba(31,188,255,.13); }
.signal-rings i:nth-child(1) { transform: scale(10); }
.signal-rings i:nth-child(2) { transform: scale(23); }
.signal-rings i:nth-child(3) { transform: scale(38); }

/* Plans */
.plans-scene {
  position: relative;
  padding: 8rem max(1.4rem, calc((100% - 1220px)/2));
  background: linear-gradient(180deg, #f7fbff, #eef6ff);
  color: var(--ink);
}
.section-heading {
  margin-bottom: 3.5rem;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 3rem;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(3.3rem, 5.5vw, 6.2rem);
  line-height: .88;
  letter-spacing: -.06em;
}
.section-heading > p { max-width: 420px; margin-bottom: .3rem; color: var(--muted); line-height: 1.7; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plan-card {
  min-height: 450px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid #dbe8f5;
  border-radius: 28px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 50px rgba(8,69,137,.09);
}
.plan-card.featured {
  border-color: transparent;
  background: linear-gradient(160deg, #0878e8, #0758cd 58%, #00aeea 140%);
  color: white;
  transform: translateY(-18px);
  box-shadow: 0 28px 70px rgba(8,93,213,.25);
}
.plan-top { display: flex; justify-content: space-between; gap: 1rem; color: #6b86a1; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.featured .plan-top { color: #cfefff; }
.plan-card h3 { margin: 1.25rem 0 2rem; font-size: 2.25rem; }
.plan-speed { display: flex; align-items: center; gap: .7rem; }
.plan-speed strong { font-size: 5.3rem; line-height: .85; letter-spacing: -.08em; }
.plan-speed span { font-size: .7rem; font-weight: 800; line-height: 1.35; text-transform: uppercase; }
.plan-detail { margin-top: 1.8rem; display: flex; flex-direction: column; gap: .6rem; color: #607b96; font-size: .8rem; }
.featured .plan-detail { color: #d9f3ff; }
.plan-footer { margin-top: auto; padding-top: 1.5rem; display: flex; align-items: end; justify-content: space-between; border-top: 1px solid #dbe8f5; }
.featured .plan-footer { border-color: rgba(255,255,255,.28); }
.plan-footer div { display: flex; flex-direction: column; }
.plan-footer strong { font-size: 2.1rem; }
.plan-footer small { margin-top: .25rem; font-size: .65rem; text-transform: uppercase; }
.plan-footer a { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 1.2rem; }
.plan-note { margin: 1.3rem 0 0; color: #71869a; font-size: .72rem; text-align: right; }

/* Coverage */
.coverage-scene {
  min-height: 760px;
  position: relative;
  padding: 7rem max(1.4rem, calc((100% - 1220px)/2));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  align-items: center;
  gap: 4rem;
  overflow: hidden;
  background: linear-gradient(135deg, #05285f, #084aab 58%, #0878e8 130%);
  color: white;
}
.coverage-copy { position: relative; z-index: 3; }
.coverage-copy h2 { margin-bottom: 1.5rem; font-size: clamp(3.5rem, 6vw, 6.8rem); line-height: .88; letter-spacing: -.065em; }
.coverage-copy h2 em { color: #7de8ff; font-style: normal; }
.coverage-copy > p:not(.kicker) { max-width: 590px; color: #d1e9ff; line-height: 1.7; }
.coverage-visual {
  position: relative;
  width: 500px;
  height: 500px;
  display: grid;
  place-items: center;
  justify-self: end;
}
.coverage-rings,
.coverage-rings i {
  position: absolute;
  inset: 50%;
}
.coverage-rings {
  width: 1px;
  height: 1px;
}
.coverage-rings i {
  width: 1px;
  height: 1px;
  border: 1px solid rgba(126,220,255,.26);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.coverage-rings i:nth-child(1) { width: 180px; height: 180px; }
.coverage-rings i:nth-child(2) { width: 280px; height: 280px; }
.coverage-rings i:nth-child(3) { width: 390px; height: 390px; }
.coverage-rings i:nth-child(4) { width: 500px; height: 500px; }
.coverage-badge {
  position: relative;
  z-index: 2;
  width: 230px;
  height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 50%;
  background: rgba(5,77,172,.34);
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.05), 0 24px 70px rgba(0,42,100,.18);
  text-align: center;
  backdrop-filter: blur(8px);
}
.coverage-badge strong {
  display: block;
  margin: 0;
  font-size: 4.2rem;
  line-height: .9;
  letter-spacing: -.08em;
}
.coverage-badge span {
  margin-top: .85rem;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .11em;
  text-transform: uppercase;
}

/* Local */
.local-scene { min-height: 780px; display: grid; grid-template-columns: 1.05fr .95fr; background: #eaf5ff; color: var(--ink); }
.local-photo { min-height: 780px; background: linear-gradient(0deg, rgba(8,88,190,.34), rgba(3,32,78,.04)), url('/conecta2-san-quintin.jpg') 65% center / cover no-repeat; clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%); }
.local-copy { padding: 7rem max(2rem, calc((100vw - 1220px)/2)) 7rem 4rem; display: flex; flex-direction: column; justify-content: center; }
.local-copy h2 { margin-bottom: 1.5rem; font-size: clamp(3.1rem, 5vw, 5.5rem); line-height: .9; letter-spacing: -.06em; }
.local-copy h2 em { color: var(--blue); font-style: normal; }
.local-copy > p:not(.kicker) { max-width: 560px; color: var(--muted); line-height: 1.7; }
.local-facts { margin-top: 2rem; padding-top: 1.4rem; display: flex; gap: 2rem; border-top: 1px solid #b7cee4; }
.local-facts span { display: flex; flex-direction: column; color: #476582; font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.local-facts b { margin-bottom: .3rem; color: var(--ink); font-size: 1.08rem; }

/* Final CTA */
.contact-scene {
  min-height: 620px;
  padding: 7rem max(1.4rem, calc((100% - 1220px)/2));
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0,118,232,.86), rgba(0,89,205,.60)), url('/conecta2-san-quintin.jpg') center / cover no-repeat;
}
.contact-card {
  width: min(100%, 900px);
  padding: 54px 58px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 32px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 28px 90px rgba(0,45,107,.26);
  backdrop-filter: blur(14px);
}
.contact-card .kicker { color: var(--blue); }
.contact-card h2 { margin-bottom: 1.5rem; font-size: clamp(3.4rem, 6vw, 6rem); line-height: .88; letter-spacing: -.065em; }
.contact-card h2 em { color: var(--blue); font-style: normal; }
.contact-card > p:not(.kicker):not(.contact-note) { max-width: 600px; color: var(--muted); line-height: 1.65; }
.contact-primary { margin-top: 1.2rem; }
.contact-note { margin: 1.2rem 0 0; color: #71869a; font-size: .76rem; }

/* Footer */
footer {
  min-height: 150px;
  padding: 2.4rem max(1.4rem, calc((100% - 1220px)/2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2.5rem;
  background: var(--navy-deep);
  color: #c3d8eb;
  font-size: .78rem;
}
.footer-brand {
  justify-self: start;
  color: white;
  font-size: 1.16rem;
}
.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
}
.footer-brand > span { color: white; }
footer nav { display: flex; gap: 1.5rem; font-weight: 700; }
footer nav a:hover,
.footer-meta a:hover { color: white; }
.footer-meta { justify-self: end; text-align: right; }
.footer-meta a { color: white; font-weight: 800; }
.footer-meta p { margin: .45rem 0 0; }

@media (max-width: 900px) {
  .nav-shell { top: 12px; width: calc(100% - 24px); min-height: 66px; padding: 7px 14px 7px 8px; border-radius: 19px; }
  .brand-icon { width: 48px; height: 48px; }
  .brand-name { font-size: 1.2rem; }
  .nav-shell nav { gap: 1.1rem; font-size: .82rem; }
  .hero { min-height: 820px; height: auto; padding: 110px 0 80px; }
  .hero-layout { width: min(calc(100% - 28px), 680px); margin-top: 0; flex-direction: column; align-items: stretch; }
  .hero-card { width: 100%; }
  .hero-badge { width: 150px; height: 150px; align-self: flex-end; margin-top: -30px; }
  .hero-badge strong { font-size: 3rem; }
  .hero-badge span { font-size: .55rem; }
  .section-heading { grid-template-columns: 1fr; gap: 1.4rem; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card, .plan-card.featured { min-height: auto; transform: none; }
  .coverage-scene { grid-template-columns: 1fr; gap: 2.5rem; }
  .coverage-visual { width: min(100%, 480px); height: 480px; justify-self: center; }
  .local-scene { grid-template-columns: 1fr; }
  .local-photo { min-height: 500px; clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
  .local-copy { padding: 5rem 1.4rem; }
  footer { grid-template-columns: 1fr; justify-items: start; }
  .footer-meta { justify-self: start; text-align: left; }
}

@media (max-width: 560px) {
  .nav-shell nav { gap: .8rem; }
  .nav-shell nav a:nth-child(3) { display: none; }
  .brand-name { display: none; }
  .hero { padding-top: 98px; }
  .hero-card { padding: 30px 22px 24px; border-radius: 24px; }
  .hero h1 { font-size: clamp(2.7rem, 14vw, 4.1rem); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: .8rem; }
  .button { width: 100%; }
  .text-link { align-self: center; }
  .hero-facts { flex-direction: column; }
  .hero-badge { display: none; }
  .manifesto, .plans-scene, .coverage-scene, .contact-scene { padding-left: 1.2rem; padding-right: 1.2rem; }
  .manifesto { padding-top: 6rem; padding-bottom: 7rem; }
  .manifesto h2, .section-heading h2, .coverage-copy h2, .local-copy h2 { font-size: 3.1rem; }
  .plan-card { padding: 24px 20px; border-radius: 22px; }
  .coverage-visual { height: 330px; }
  .coverage-rings i:nth-child(1) { width: 120px; height: 120px; }
  .coverage-rings i:nth-child(2) { width: 190px; height: 190px; }
  .coverage-rings i:nth-child(3) { width: 260px; height: 260px; }
  .coverage-rings i:nth-child(4) { width: 330px; height: 330px; }
  .coverage-badge { width: 170px; height: 170px; }
  .coverage-badge strong { font-size: 3.2rem; }
  .contact-card { padding: 34px 24px; border-radius: 24px; }
  .contact-card h2 { font-size: 3.2rem; }
  .local-facts { flex-direction: column; gap: 1rem; }
  footer nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
