/* VLZnet — midnight-blue (dark) corporate-tech theme.
   Anchored on the CSS 'midnightblue' (#191970) family; brand blues as accents. */
:root{
  --midnight:#191970;
  --navy:#0E3D73;
  --blue:#1B5FA8;
  --blue-dark:#154b85;
  --sky:#57A6E0;
  --sky-light:#7FC0EE;

  --bg:#0d1533;        /* deep midnight navy (page) */
  --bg-alt:#111a3a;    /* alternating section band */
  --surface:#16224a;   /* cards / surfaces (lighter navy) */
  --surface-2:#1b2a55; /* raised / hover surfaces */
  --text:#E8EEF7;      /* near-white body text */
  --muted:#9FB0C8;     /* muted text */
  --line:rgba(255,255,255,.10);
  --line-strong:rgba(255,255,255,.18);

  --maxw:1120px;
  --radius:14px;
  --header-h:72px;
  color-scheme:dark;   /* keeps native form controls readable on dark */
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  /* Fixed page backdrop: the brand gradient stays put while the content scrolls. */
  background:var(--midnight);
  background-image:
    radial-gradient(1100px 560px at 50% -6%, rgba(127,192,238,.20), transparent 62%),
    linear-gradient(165deg, #0b1230 0%, var(--midnight) 55%, var(--blue) 135%);
  background-attachment:fixed;
  background-size:cover;
  background-repeat:no-repeat;
  color:var(--text);
  line-height:1.6;
  overflow-x:hidden;
}
img,svg{max-width:100%}
img{display:block;height:auto}
a{color:inherit;text-decoration:none}
/* Long emails/URLs must never push the layout wider than the viewport. */
.contact-quick a,.legal a,.footer a{overflow-wrap:break-word;word-break:break-word}

/* Section anchor offset so the sticky header never covers the title. */
section[id]{scroll-margin-top:calc(var(--header-h) + 16px)}

/* ---------- Nav ---------- */
.nav{
  position:sticky;top:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;padding:12px clamp(16px,4vw,40px);min-height:var(--header-h);
  background:rgba(13,21,51,.82);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.nav__brand{display:flex;align-items:center;gap:10px}
.nav__brand img{height:38px;width:auto}
.nav__brand-name{font-weight:700;font-size:1.15rem;color:var(--text);letter-spacing:.2px}
.nav__links{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.nav__links a{
  font-weight:600;font-size:.94rem;color:var(--muted);
  padding:4px 2px;transition:color .2s;
}
.nav__links a:hover{color:var(--sky-light)}
.nav__links a.is-active{color:var(--text);border-bottom:2px solid var(--sky)}
.nav__lock{display:inline-flex;align-items:center;color:var(--muted);padding:4px 2px;transition:color .2s,transform .2s}
.nav__lock:hover{color:var(--sky-light);transform:translateY(-1px)}

/* Hamburger toggle — hidden on desktop, shown at the tablet breakpoint. */
.nav__toggle{
  display:none;
  align-items:center;justify-content:center;
  width:44px;height:44px;margin:-4px 0;
  background:transparent;border:0;color:var(--text);cursor:pointer;
  border-radius:10px;
}
.nav__toggle:hover{color:var(--sky-light)}
.nav__toggle-bars,
.nav__toggle-bars::before,
.nav__toggle-bars::after{
  display:block;width:24px;height:2px;background:currentColor;border-radius:2px;
  transition:transform .2s ease,opacity .2s ease,background .2s ease;
}
.nav__toggle-bars{position:relative}
.nav__toggle-bars::before,
.nav__toggle-bars::after{content:"";position:absolute;left:0}
.nav__toggle-bars::before{top:-7px}
.nav__toggle-bars::after{top:7px}
.nav.is-open .nav__toggle-bars{background:transparent}
.nav.is-open .nav__toggle-bars::before{transform:translateY(7px) rotate(45deg)}
.nav.is-open .nav__toggle-bars::after{transform:translateY(-7px) rotate(-45deg)}

/* ---------- Buttons ----------
   One canonical button: every button on the site shares the same height,
   padding, radius and font. Variants change color only, never dimensions,
   so buttons grouped in a section can be made equal width safely. */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  height:46px;padding:0 26px;
  background:var(--blue);color:#fff;
  font-weight:600;font-size:1rem;line-height:1;
  border-radius:10px;border:1.5px solid transparent;
  transition:transform .2s,background .2s,box-shadow .2s;
}
.btn:hover{background:var(--blue-dark);transform:translateY(-2px);box-shadow:0 10px 26px rgba(87,166,224,.28)}
/* Ghost: identical box (height/padding/radius/border-width), outline only. */
.btn--ghost{
  background:transparent;color:var(--sky-light);
  border-color:var(--sky);box-shadow:none;
}
.btn--ghost:hover{background:rgba(87,166,224,.12);color:#fff}
/* Header CTA: the generic `.nav__links a` rule (higher specificity than `.btn`)
   otherwise shrinks its padding/font/color, so restore the full .btn box here.
   Width stays natural to its content — no hero min-width. */
.nav__links a.nav__cta{padding:0 26px;height:46px;font-size:1rem;color:#fff}
/* No glow in the header bar: keep the background darken, drop the shadow + lift. */
.nav__cta:hover{box-shadow:none;transform:none}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:96px 20px 88px;
  scroll-margin-top:0;
  color:#fff;
  /* Transparent: the fixed body gradient shows through here too (continuous). */
  background:transparent;
}
.hero__inner{display:flex;flex-direction:column;align-items:center;gap:22px;max-width:860px}
.hero__logo{
  width:min(300px,64vw);height:auto;
  filter:drop-shadow(0 14px 40px rgba(0,0,0,.55));
}
.hero__title{font-size:clamp(1.85rem,4.4vw,3rem);font-weight:700;line-height:1.15;text-shadow:0 2px 20px rgba(0,0,0,.4)}
.hero__subtitle{font-size:clamp(1.05rem,2.2vw,1.3rem);font-weight:400;color:rgba(232,238,247,.88);max-width:700px}
.hero__cta{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;margin-top:8px}
/* Both hero buttons are equal width: sized to the wider label, not stretched. */
.hero__cta .btn{flex:0 0 auto;min-width:300px}
.hero__cta .btn--ghost{color:#fff;border-color:rgba(255,255,255,.7)}
.hero__cta .btn--ghost:hover{background:rgba(255,255,255,.14);color:#fff}

/* ---------- Sections ---------- */
.section{max-width:var(--maxw);margin:0 auto;padding:72px 24px}
/* Transparent: let the fixed page backdrop show through (no solid band that cuts it). */
.section--alt{max-width:100%}
/* Match the 24px side padding of normal sections so --alt content (mv, valores…)
   lines up to the exact same inner width (1072) as testimonials/packages. */
.section--alt>*{max-width:var(--maxw);margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px}
.section__title{
  font-size:clamp(1.5rem,3.4vw,2.1rem);font-weight:700;color:var(--text);
  text-align:center;margin-bottom:14px;
}
.section__title::after{
  content:"";display:block;width:60px;height:4px;margin:14px auto 0;
  background:linear-gradient(90deg,var(--blue),var(--sky));border-radius:4px;
}
.section__intro{max-width:720px;margin:0 auto 34px;text-align:center;color:var(--muted);font-size:1.05rem}

/* ---------- About text ---------- */
.about{max-width:820px;margin:0 auto 40px;text-align:center}
.about p{font-size:1.06rem;color:var(--muted);margin-bottom:18px}
.about p:first-child{color:var(--text)}
.about__quote{color:var(--sky-light)!important;font-weight:700;font-size:1.2rem!important;margin:10px 0 0!important}
.about__subtitle{
  text-align:center;font-size:1.35rem;font-weight:700;color:var(--text);
  margin:12px auto 22px;   /* auto L/R so .section--alt>* block-centering isn't overridden */
}

/* ---------- Mission / Vision ---------- */
.mv{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:var(--maxw);margin:0 auto 44px}
.mv__card{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);padding:30px 28px;
}
.mv__title{
  font-size:1.35rem;font-weight:700;color:var(--sky-light);margin-bottom:14px;
  display:inline-block;border-bottom:3px solid var(--sky);padding-bottom:4px;
}
.mv__card p{color:var(--muted);font-size:1rem}

/* ---------- Unified card system ----------
   Service, testimonial and value cards share one chrome (surface, border,
   radius, padding, title/body colors). Only their inner content differs. */
.card,
.svc__cat,
.testi__card,
.valor,
.pkg__card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:26px 24px;
  box-shadow:none;                 /* flat at rest — no blue glow/backdrop */
  height:100%;                     /* fill the equal-height grid row */
  display:flex;flex-direction:column;
  transition:transform .2s,box-shadow .2s,border-color .2s;
}
.card:hover,
.svc__cat:hover,
.testi__card:hover,
.valor:hover,
.pkg__card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 30px rgba(0,0,0,.35);
  border-color:var(--sky);
}
/* Shared card title + body text colors, centered titles. */
.card__title,
.svc__cat-title,
.testi__name,
.valor__title,
.pkg__name{color:var(--text)}
.card__body,
.svc__cat-intro,
.svc__list li,
.testi__quote,
.testi__role,
.valor__text,
.pkg__list li{color:var(--muted)}

/* ---------- Values ---------- */
.valores{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:1fr;gap:16px;justify-content:center}
.valor{min-height:160px;text-align:center}
.valor__title{font-size:1.1rem;font-weight:700;margin-bottom:10px}
.valor__text{font-size:.92rem;line-height:1.5}

/* ---------- Services (always-open static cards) ---------- */
.svc{display:grid;grid-template-columns:repeat(2,1fr);grid-auto-rows:1fr;gap:20px}
.svc__cat{display:flex;flex-direction:column}
.svc__head{
  display:flex;flex-direction:column;align-items:center;text-align:center;
  gap:8px;padding-bottom:18px;
}
.svc__icon{font-size:1.9rem;line-height:1}
.svc__heading{display:flex;flex-direction:column;gap:4px;min-width:0}
.svc__cat-title{font-size:1.16rem;font-weight:700}
.svc__cat-intro{font-size:.92rem;line-height:1.4}
.svc__list{
  list-style:none;display:flex;flex-direction:column;gap:9px;
  padding-top:16px;border-top:1px solid var(--line);
}
.svc__list li{font-size:.94rem;padding-left:20px;position:relative}
.svc__list li::before{content:"\203A";position:absolute;left:2px;color:var(--sky);font-weight:700}

/* ---------- Brands (rotating marquee ribbon) ---------- */
.marquee{overflow:hidden;width:100%;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
}
.marquee__track{
  display:flex;align-items:center;gap:18px;width:max-content;
  animation:marquee-scroll 30s linear infinite;
}
.marquee:hover .marquee__track{animation-play-state:paused}
@keyframes marquee-scroll{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}
.brand{
  flex:0 0 auto;
  display:flex;align-items:center;justify-content:center;
  background:#F4F7FB;border:1px solid var(--line-strong);
  border-radius:12px;padding:20px 22px;width:180px;height:104px;
  transition:transform .2s,box-shadow .2s;
}
.brand:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(87,166,224,.28)}
.brand__logo{max-height:56px;width:auto;max-width:100%;object-fit:contain}

/* Reduced motion: stop the animation, fall back to a wrapped/scrollable row. */
@media(prefers-reduced-motion:reduce){
  .marquee{overflow-x:auto;-webkit-mask-image:none;mask-image:none}
  .marquee__track{
    animation:none;width:auto;flex-wrap:wrap;justify-content:center;gap:18px;
  }
  .brand[aria-hidden="true"]{display:none}
}

/* ---------- Testimonials (client recommendations) ---------- */
.testi{display:grid;grid-template-columns:repeat(2,1fr);grid-auto-rows:1fr;gap:20px}
.testi__card{display:flex;flex-direction:column;gap:20px}
.testi__quote{
  font-size:.98rem;line-height:1.6;font-style:italic;
  position:relative;padding-left:30px;flex:1;
}
.testi__quote::before{
  content:"\201C";position:absolute;left:0;top:-6px;
  font-size:2.6rem;line-height:1;color:var(--sky);
  font-family:Georgia,'Times New Roman',serif;font-style:normal;
}
.testi__person{display:flex;align-items:center;gap:14px;border-top:1px solid var(--line);padding-top:18px}
.testi__photo{
  width:64px;height:64px;flex:0 0 auto;border-radius:50%;
  object-fit:cover;background:var(--surface-2);
  border:2px solid var(--sky);box-shadow:0 0 0 3px rgba(87,166,224,.14);
}
.testi__meta{display:flex;flex-direction:column;gap:2px;min-width:0}
.testi__name{font-weight:700;color:var(--text);font-size:1.02rem}
.testi__role{color:var(--muted);font-size:.9rem}

/* ---------- Packages (data-driven pricing cards) ----------
   3-up desktop → 2-up tablet → 1-up phone. Cards reuse the unified card
   chrome; the popular card adds an accent ring + badge only. */
/* Flex (not grid) so a 4th+ package wraps into a centered second row instead of
   left-aligning. 3 per row on desktop; each card is exactly a third minus the gap. */
.pkg{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:20px}
/* One group per category: a centered subheading over that category's card grid.
   Stacked groups get vertical separation so categories read as distinct blocks. */
.pkg-group + .pkg-group{margin-top:44px}
.pkg-group__title{
  text-align:center;font-size:1.05rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--sky);margin:0 auto 26px;
  position:relative;padding-bottom:14px;
}
.pkg-group__title::after{
  content:"";position:absolute;left:50%;bottom:0;transform:translateX(-50%);
  width:52px;height:3px;border-radius:3px;background:linear-gradient(90deg,var(--blue),var(--sky));
}
/* One product block: a clear header (name > tagline > optional intro) above its
   own card grid, then the shared terms. Products stack with breathing room so the
   product>package hierarchy reads at a glance. */
.pkg-product + .pkg-product{margin-top:52px}
.pkg-product__head{text-align:center;max-width:720px;margin:0 auto 26px}
.pkg-product__name{font-size:1.7rem;font-weight:700;color:var(--text);line-height:1.2}
.pkg-product__tagline{color:var(--sky-light);font-size:1rem;font-weight:600;margin-top:6px}
.pkg-product__desc{color:var(--muted);font-size:1rem;line-height:1.6;margin-top:10px}
.pkg__card{position:relative;text-align:center;gap:6px;flex:0 0 calc((100% - 40px) / 3)}
.pkg__card--popular{
  border-color:var(--sky);
  box-shadow:0 0 0 1px var(--sky),0 14px 34px rgba(87,166,224,.22);
}
.pkg__card--popular:hover{box-shadow:0 0 0 1px var(--sky),0 16px 38px rgba(87,166,224,.32)}
.pkg__badge{
  position:absolute;top:-12px;left:50%;transform:translateX(-50%);
  display:inline-flex;align-items:center;white-space:nowrap;
  padding:4px 14px;border-radius:999px;
  background:linear-gradient(90deg,var(--blue),var(--sky));
  color:#fff;font-size:.76rem;font-weight:700;letter-spacing:.3px;
  box-shadow:0 6px 16px rgba(87,166,224,.4);
}
.pkg__name{font-size:1.28rem;font-weight:700;margin-top:6px}
.pkg__price{display:flex;align-items:baseline;justify-content:center;gap:6px;margin:6px 0 2px}
.pkg__amount{font-size:2.1rem;font-weight:700;color:var(--sky-light);line-height:1.1}
.pkg__cur{font-size:.86rem;font-weight:600;color:var(--muted)}
.pkg__tagline{color:var(--muted);font-size:.95rem;margin-bottom:6px}
.pkg__list{
  list-style:none;display:flex;flex-direction:column;gap:10px;text-align:left;
  margin:16px 0 22px;padding-top:16px;border-top:1px solid var(--line);flex:1;
}
.pkg__list li{font-size:.94rem;padding-left:24px;position:relative;line-height:1.5}
.pkg__list li::before{
  content:"\2713";position:absolute;left:2px;top:0;
  color:var(--sky);font-weight:700;
}
/* Pin the CTA to the card bottom so every "Contratar" lines up across cards. */
.pkg__cta{width:100%;margin-top:auto;cursor:pointer;font-family:inherit}

/* Shared terms disclosure (collapsed by default). */
/* Full width of the product block so the toggle matches the packages row. */
.pkg-terms{margin:30px auto 0}
.pkg-terms__toggle{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  width:100%;padding:14px 18px;cursor:pointer;text-align:left;
  background:var(--surface);color:var(--text);
  border:1px solid var(--line-strong);border-radius:10px;
  font-family:inherit;font-size:1rem;font-weight:600;
  transition:border-color .2s,background .2s;
}
.pkg-terms__toggle:hover{border-color:var(--sky);background:var(--surface-2)}
.pkg-terms__chev{
  flex:0 0 auto;width:10px;height:10px;
  border-right:2px solid var(--sky);border-bottom:2px solid var(--sky);
  transform:rotate(45deg);transition:transform .2s;
}
.pkg-terms__toggle[aria-expanded="true"] .pkg-terms__chev{transform:rotate(-135deg)}
.pkg-terms__panel{
  margin-top:12px;padding:22px 24px;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
}
.pkg-terms__list{display:flex;flex-direction:column;gap:14px}
.pkg-terms__item dt{color:var(--text);font-weight:700;font-size:.98rem;margin-bottom:3px}
.pkg-terms__item dd{color:var(--muted);font-size:.94rem;line-height:1.55}
.pkg-terms__rich{color:var(--muted);font-size:.94rem;line-height:1.6}
.pkg-terms__vigencia{margin-top:18px;color:var(--muted);font-size:.86rem;text-align:right}
/* Rendered rich text (sanitized HTML from the panel editor). */
.rich p{margin:0 0 10px}
.rich p:last-child{margin-bottom:0}
.rich strong,.rich b{color:var(--text);font-weight:700}
.rich a{color:var(--sky)}
.rich ul,.rich ol{margin:8px 0 10px;padding-left:22px}
.rich ul{list-style:disc}
.rich ol{list-style:decimal}
.rich li{margin-bottom:6px;line-height:1.55}
.rich h3,.rich h4{color:var(--text);margin:10px 0 6px;font-weight:700}
.rich h3{font-size:1.05rem}.rich h4{font-size:.98rem}

/* ---------- Contact ---------- */
.contacto{text-align:center}
/* Contact module: lead, quick buttons, divider and form all share ONE width so
   the form fields line up exactly with the three action buttons above them. */
.contacto__lead{color:var(--muted);max-width:720px;margin:0 auto 22px;font-size:1.08rem}
/* Availability note, centered above the action buttons. */
.contacto__avail{display:inline-flex;align-items:center;gap:8px;justify-content:center;margin:0 auto 18px;color:var(--muted);font-weight:600}

/* Quick contact actions: three equal-size buttons (icon + label), centered. */
.contact-quick{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;max-width:720px;margin:0 auto 26px}
.contact-quick__btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  flex:1 1 0;min-width:0;
  height:52px;padding:0 20px;line-height:1;
}
.contact-quick__icon{flex:0 0 auto}
.contact-quick__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Divider: centered text flanked by rules (pure CSS). */
.contacto__or{display:flex;align-items:center;gap:16px;max-width:720px;margin:0 auto 30px;color:var(--muted)}
.contacto__or::before,.contacto__or::after{content:"";flex:1;height:1px;background:var(--line-strong)}
.contacto__or span{white-space:nowrap;font-size:.95rem}

/* Form */
.form{max-width:720px;margin:0 auto;text-align:left}
.form__row{display:flex;gap:14px}
.form__row .form__field{flex:1}
.form__field{
  width:100%;margin-bottom:14px;
  background:var(--surface);color:var(--text);
  border:1px solid var(--line-strong);border-radius:10px;
  padding:12px 14px;font-family:inherit;font-size:1rem;
  transition:border-color .2s,box-shadow .2s;
}
.form__field::placeholder{color:#7f90a8}
.form__field:focus{outline:none;border-color:var(--sky);box-shadow:0 0 0 3px rgba(87,166,224,.18)}
select.form__field{cursor:pointer}
select.form__field option{background:var(--surface);color:var(--text)}
textarea.form__field{resize:vertical;min-height:130px}
.form__hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.form__submit{margin-top:6px;border:none;cursor:pointer}
.form__submit:disabled{opacity:.6;cursor:default}
.form__foot{display:flex;justify-content:center;margin-top:6px}
.form__msg{margin:14px 0 0;font-size:.95rem;min-height:1.2em;text-align:center}
.form__msg--ok{color:#5fd28a}
.form__msg--err{color:#f2836f}

/* ---------- Legal / plain pages ---------- */
.pagehead{
  text-align:center;padding:calc(var(--header-h) + 40px) 20px 40px;color:#fff;
  background:linear-gradient(165deg, #0b1230 0%, var(--midnight) 55%, var(--blue) 130%);
}
.pagehead h1{font-size:clamp(1.7rem,4vw,2.4rem);font-weight:700}
.pagehead p{color:rgba(232,238,247,.9);max-width:640px;margin:10px auto 0;font-size:1.05rem}
.legal{max-width:780px;margin:0 auto}
.legal h2{font-size:1.2rem;color:var(--sky-light);margin:26px 0 10px}
.legal p{color:var(--muted);margin-bottom:14px}
.legal ul{color:var(--muted);margin:0 0 14px;padding-left:22px;list-style:disc}
.legal li{margin-bottom:7px}
.legal strong{color:var(--text)}
.legal a{color:var(--sky-light);font-weight:600}

/* ---------- Footer ---------- */
.footer{
  text-align:center;padding:44px 24px;
  background:#0a1128;color:rgba(232,238,247,.82);
  border-top:1px solid var(--line);
}
.footer__logo{height:46px;width:auto;margin:0 auto 12px;opacity:.95}
.footer__brand{font-weight:600;color:#fff}
.footer__links{display:flex;gap:18px;justify-content:center;flex-wrap:wrap;margin:14px 0 12px}
.footer__links a{color:rgba(232,238,247,.78);font-size:.9rem;transition:color .2s}
.footer__links a:hover{color:var(--sky-light)}
.footer__legal{display:flex;gap:18px;justify-content:center;flex-wrap:wrap;margin:0 0 14px}
.footer__legal a{color:rgba(232,238,247,.6);font-size:.82rem;transition:color .2s}
.footer__legal a:hover{color:var(--sky-light)}
.footer__copy{font-size:.84rem;opacity:.7}

/* ---------- Floating contact stack (site-wide) ---------- */
.fab-stack{
  position:fixed;right:20px;bottom:20px;z-index:60;
  display:flex;flex-direction:column;gap:12px;
}
.fab{
  display:flex;align-items:center;justify-content:center;
  width:54px;height:54px;border-radius:50%;color:#fff;
  box-shadow:0 8px 22px rgba(0,0,0,.35);
  transition:transform .2s,box-shadow .2s;
}
.fab svg{display:block}
.fab:hover{transform:translateY(-3px)}
/* Floating contact FABs share ONE brand color; only WhatsApp keeps its green
   so it's identified instantly. */
.fab--wa{background:#25D366}
.fab--wa:hover{box-shadow:0 12px 28px rgba(37,211,102,.45)}
.fab--call{background:var(--blue)}
.fab--call:hover{box-shadow:0 12px 28px rgba(27,95,168,.5)}
.fab--mail{background:var(--blue)}
.fab--mail:hover{box-shadow:0 12px 28px rgba(27,95,168,.5)}
.fab--share{background:var(--blue);border:0;cursor:pointer;font:inherit}
.fab--share:hover{box-shadow:0 12px 28px rgba(27,95,168,.5)}
.fab--share:focus-visible{outline:2px solid var(--sky-light);outline-offset:2px}

/* ---------- Share modal (site-wide) ---------- */
body.is-share-open{overflow:hidden}
.share-modal{position:fixed;inset:0;z-index:120;display:flex;align-items:center;justify-content:center;padding:20px}
.share-modal[hidden]{display:none}
.share-modal__overlay{position:absolute;inset:0;background:rgba(6,11,28,.72);backdrop-filter:blur(4px)}
.share-modal__card{
  position:relative;width:100%;max-width:420px;max-height:calc(100vh - 40px);overflow-y:auto;
  background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius);
  box-shadow:0 24px 60px rgba(0,0,0,.5);padding:22px 22px 18px;
  animation:share-pop .18s ease-out;
}
@keyframes share-pop{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
.share-modal__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.share-modal__title{font-size:1.12rem;font-weight:700;color:var(--text)}
.share-modal__close{
  display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 auto;
  border:1px solid var(--line);border-radius:8px;background:var(--surface-2);color:var(--muted);cursor:pointer;
  transition:color .15s,border-color .15s,background .15s;
}
.share-modal__close:hover{color:var(--text);border-color:var(--sky);background:var(--surface)}
.share-modal__close:focus-visible{outline:2px solid var(--sky-light);outline-offset:2px}
.share-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.share-btn{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;
  min-height:80px;padding:12px 6px;font:inherit;cursor:pointer;color:var(--text);
  background:var(--surface-2);border:1px solid var(--line);border-radius:12px;
  transition:transform .15s,border-color .15s,background .15s,box-shadow .15s;
}
.share-btn:hover{transform:translateY(-2px);border-color:var(--sky);background:var(--surface)}
.share-btn:focus-visible{outline:2px solid var(--sky-light);outline-offset:2px}
.share-btn__icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;color:#fff}
.share-btn__label{font-size:.8rem;font-weight:600;color:var(--muted);text-align:center;line-height:1.2}
.share-btn:hover .share-btn__label{color:var(--text)}
.share-btn--fb   .share-btn__icon{background:#1877F2}
.share-btn--x    .share-btn__icon{background:#000;border:1px solid var(--line-strong)}
.share-btn--wa   .share-btn__icon{background:#25D366}
.share-btn--tg   .share-btn__icon{background:#2AABEE}
.share-btn--in   .share-btn__icon{background:#0A66C2}
.share-btn--ig   .share-btn__icon{background:linear-gradient(45deg,#F58529,#DD2A7B,#8134AF)}
.share-btn--copy .share-btn__icon{background:var(--blue)}
.share-btn--native .share-btn__icon{background:var(--navy)}
.share-copied{
  margin-top:14px;padding:9px 12px;border-radius:10px;text-align:center;font-size:.85rem;font-weight:600;
  color:#d7f7e4;background:rgba(37,211,102,.14);border:1px solid rgba(37,211,102,.4);
}
.share-copied[hidden]{display:none}
@media(max-width:400px){
  .share-grid{grid-template-columns:repeat(2,1fr)}
}

/* ---------- Responsive ----------
   Tablet breakpoint (<=860px): hamburger nav; services & testimonials stay
   2-up, values drop to 2-up, mission/vision stacks.
   Phone breakpoint (<=560px): everything collapses to a single column. */
@media(max-width:860px){
  /* Mobile navigation: hide inline links, show hamburger, open as a dropdown. */
  .nav__toggle{display:inline-flex}
  .nav__links{
    position:absolute;top:100%;left:0;right:0;
    flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:4px;
    padding:10px clamp(16px,4vw,40px) 16px;
    background:rgba(13,21,51,.98);
    backdrop-filter:blur(12px);
    border-bottom:1px solid var(--line);
    box-shadow:0 16px 30px rgba(0,0,0,.4);
    max-height:calc(100vh - var(--header-h));overflow-y:auto;
    display:none;
  }
  .nav.is-open .nav__links{display:flex}
  .nav__links a{
    display:flex;align-items:center;min-height:44px;
    padding:8px 8px;font-size:1rem;border-radius:8px;
  }
  .nav__links a.is-active{border-bottom:0;color:var(--text);background:rgba(87,166,224,.12)}
  .nav__cta{justify-content:center;text-align:center;margin-top:6px}
  .nav__lock{min-height:44px;padding:8px 8px}

  .valores{grid-template-columns:repeat(2,1fr)}
  .mv{grid-template-columns:1fr}
  .pkg__card{flex-basis:calc((100% - 20px) / 2)}
}
@media(max-width:560px){
  .nav{gap:10px;padding:10px 16px}
  .nav__brand-name{display:none}
  .svc{grid-template-columns:1fr}
  .testi{grid-template-columns:1fr}
  .valores{grid-template-columns:1fr}
  .pkg__card{flex-basis:100%}
  .form__row{flex-direction:column;gap:0}
  .form__field{font-size:16px}          /* prevents iOS zoom-on-focus */
  .hero{padding:64px 18px 56px}
  /* Stacked hero buttons take the full width so they stay equal. */
  .hero__cta{width:100%}
  .hero__cta .btn{flex:1 1 100%;min-width:0}
  .section{padding:52px 18px}
  .contact-quick{flex-direction:column;align-items:stretch}
  /* Column layout turns flex-basis into a height basis, so pin a fixed height
     instead of letting the 220px basis stretch the buttons vertically. */
  .contact-quick__btn{flex:0 0 auto;height:52px;max-width:none;min-width:0;width:100%}
  .fab-stack{right:14px;bottom:14px;gap:10px}
  .fab{width:48px;height:48px}
  .pagehead{padding:calc(var(--header-h) + 28px) 18px 32px}
  .legal h2{font-size:1.12rem}
}
