/* ==========================================================
   COBERLAB — ONE PAGE RESPONSIVE
   Color principal: #033397
   Tipografía principal: Nexa Heavy
   ========================================================== */

/* Si tenés Nexa Heavy en formato web, descomentá:
@font-face {
  font-family: "Nexa Heavy";
  src: url("fonts/NexaHeavy.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
*/

:root {
  --blue: #033397;
  --blue-dark: #021f5f;
  --blue-soft: #0a4cc7;
  --navy: #061329;
  --ink: #101828;
  --muted: #657084;
  --light: #f5f8fd;
  --white: #ffffff;
  --line: #dce4f1;
  --shadow: 0 20px 55px rgba(3, 51, 151, .12);
  --radius: 22px;
  --display: "Nexa Heavy", Arial Black, Arial, sans-serif;
  --body: Arial, Helvetica, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

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

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(3,51,151,.08);
}

.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand img {
  width: 260px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  transition: color .2s ease, transform .2s ease;
}

.main-nav a:hover { color: var(--blue); transform: translateY(-1px); }

.nav-cta {
  color: var(--white) !important;
  background: var(--blue);
  padding: 13px 20px;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 25%, rgba(25,106,255,.28), transparent 25%),
    linear-gradient(135deg, #031c55 0%, #033397 58%, #075be0 100%);
  color: var(--white);
}

.hero-bg-shape {
  position: absolute;
  width: 650px;
  height: 650px;
  right: -180px;
  bottom: -320px;
  border: 90px solid rgba(255,255,255,.06);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 80px;
  padding-block: 80px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}

.hero .eyebrow,
.process-section .eyebrow,
.contact-section .eyebrow,
.plans-section .eyebrow {
  color: #9fc3ff;
}

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.035em;
}

h1 {
  max-width: 800px;
  font-size: clamp(44px, 5.6vw, 76px);
}

h1 span { color: #8bb7ff; }

.hero-lead {
  margin-top: 28px;
  max-width: 720px;
  font-size: 21px;
  font-weight: 700;
}

.hero-copy > p:not(.hero-lead) {
  max-width: 700px;
  margin-top: 12px;
  color: #dbe8ff;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 16px 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.16); }

.btn span { font-size: 20px; }

.btn-primary {
  color: var(--white);
  background: #0b62ee;
  box-shadow: 0 12px 35px rgba(0,0,0,.18);
}

.btn-white {
  color: var(--blue);
  background: var(--white);
}

.hero-card {
  min-height: 330px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 35px;
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
  backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-end;
  padding: 34px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.18);
}

.shield-glow {
  position: absolute;
  width: 220px;
  height: 260px;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 48% 48% 55% 55%;
  background: linear-gradient(160deg, rgba(255,255,255,.22), rgba(121,177,255,.08));
  border: 2px solid rgba(255,255,255,.22);
}

.hero-card-content { position: relative; z-index: 2; }

.mini-shield {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--white);
  color: var(--blue);
  font-weight: 900;
}

.hero-card strong { display: block; font-size: 23px; font-family: var(--display); }
.hero-card-content > span { display: block; margin-top: 5px; color: #dbe8ff; }

.banner-section {
  padding: 28px 0;
  background: #eef3fb;
}

.banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.banner-placeholder {
  min-height: 190px;
  border: 0px dashed #a9bad8;
  border-radius: 18px;
  background: #e3eaf5;
  display: grid;
  place-items: center;
  align-content: center;
  color: #7183a0;
  text-align: center;
}

.banner-placeholder span {
  font-family: var(--display);
  font-size: 24px;
}

.banner-placeholder small { margin-top: 4px; }

.section { padding: 110px 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}

.align-center { align-items: center; }

h2 { font-size: clamp(38px, 4vw, 58px); }

.section-copy { font-size: 18px; color: var(--muted); }
.section-copy p + p { margin-top: 22px; }

.highlight {
  color: var(--blue);
  font-weight: 900;
  font-size: 21px;
}

.services-section { background: var(--light); }

.section-heading { max-width: 850px; margin-bottom: 40px; }
.section-heading p { margin-top: 18px; color: var(--muted); font-size: 18px; }

.intro-box {
  max-width: 920px;
  margin-bottom: 50px;
  padding: 28px 32px;
  border-left: 5px solid var(--blue);
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 0 18px 18px 0;
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  padding: 30px;
  min-height: 300px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 35px rgba(3,51,151,.05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-number {
  position: absolute;
  top: 24px;
  right: 26px;
  color: #c4d0e3;
  font-size: 12px;
  font-weight: 900;
}

.icon { font-size: 34px; margin-bottom: 22px; }
.service-card h3 { font-size: 25px; }
.service-card p { margin-top: 12px; color: var(--muted); }

.process-section {
  background: var(--navy);
  color: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 55px;
}

.process-card {
  padding: 30px 24px;
  min-height: 280px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background: rgba(255,255,255,.045);
}

.process-card > span {
  color: #76a9ff;
  font-family: var(--display);
  font-size: 38px;
}

.process-card h3 { margin-top: 35px; font-size: 23px; }
.process-card p { margin-top: 12px; color: #aebbd1; }

.differential { background: var(--white); }

.big-line {
  font-family: var(--display);
  font-size: 25px;
  color: var(--blue);
  font-weight: 900;
}

.formula {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 25px 0;
}

.formula span {
  padding: 9px 15px;
  background: #edf3ff;
  color: var(--blue);
  border-radius: 999px;
  font-weight: 900;
}

.formula b { color: var(--blue); }

.risks-section { background: #f4f7fc; }

.risk-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.risk-list div {
  padding: 25px 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 20px;
}

.risk-list span {
  display: inline-block;
  min-width: 42px;
  color: #8aa0c4;
  font-family: var(--body);
  font-size: 12px;
}

.plans-section { background: var(--blue); color: var(--white); }

.plan-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.plan-box p { color: #d6e5ff; font-size: 17px; }
.plan-box p + p { margin-top: 18px; }

.plan-highlight {
  font-family: var(--display);
  font-size: 22px !important;
  color: var(--white) !important;
}

.closing { text-align: center; }
.closing-inner { max-width: 900px; }

.closing h2 { margin-bottom: 24px; }
.closing h2 span { color: var(--blue); }
.closing p { max-width: 760px; margin: 13px auto; color: var(--muted); font-size: 18px; }
.closing-bold { color: var(--blue) !important; font-family: var(--display); font-size: 23px !important; }

.contact-section {
  padding: 100px 0;
  color: var(--white);
  background: linear-gradient(135deg, #021c56, var(--blue));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 80px;
  align-items: center;
}

.contact-copy h2 { font-size: clamp(40px, 5vw, 64px); }
.contact-copy > p { max-width: 650px; margin-top: 22px; color: #dbe8ff; font-size: 18px; }

.contact-details {
  padding: 15px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background: rgba(255,255,255,.07);
}

.contact-details a {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.contact-details a:last-child { border-bottom: 0; }
.contact-details a > span { font-size: 25px; }
.contact-details small { display: block; color: #9fc3ff; }
.contact-details strong { display: block; font-size: 18px; }

footer {
  background: #020d24;
  color: #b7c5dc;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner img {
  width: 220px;
  background: white;
  border-radius: 8px;
}

.footer-inner p { text-align: right; font-size: 13px; }
.footer-inner strong { color: white; font-family: var(--display); }

/* ===================== RESPONSIVE ===================== */

@media (max-width: 1000px) {
  .main-nav { gap: 16px; }
  .hero-grid { gap: 45px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .container { width: min(100% - 32px, 680px); }

  .site-header { min-height: 72px; }
  .nav-wrap { min-height: 72px; }
  .brand img { width: 205px; }

  .menu-toggle { display: block; position: relative; z-index: 1002; }

  .main-nav {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100dvh - 72px);
    max-height: calc(100dvh - 72px);
    background: rgba(255,255,255,.99);
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 24px 24px 40px;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 1001;
  }

  .main-nav.is-open { transform: translateX(0); }

  .main-nav a {
    padding: 17px 8px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav .nav-cta {
    margin-top: 18px;
    text-align: center;
    border: 0;
  }

  .hero { min-height: auto; }
  .hero-grid,
  .two-col,
  .plan-box,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero-grid { padding-block: 65px 75px; }
  .hero-card { min-height: 300px; }

  .banners { grid-template-columns: 1fr; }
  .banner-placeholder { min-height: 150px; }

  .section { padding: 78px 0; }

  .service-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { min-height: auto; }

  .risk-list { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner p { text-align: left; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 28px); }

  h1 { font-size: 39px; }
  h2 { font-size: 35px; }

  .hero-lead { font-size: 18px; }

  .hero-card {
    min-height: 250px;
    padding: 24px;
  }

  .shield-glow {
    width: 170px;
    height: 195px;
  }

  .service-card { min-height: auto; padding: 25px; }

  .formula { display: grid; justify-content: stretch; }
  .formula span { text-align: center; }
  .formula b { text-align: center; }

  .contact-details a { padding: 16px 10px; }
}


/* FIX MENU MOBILE: todos los enlaces quedan visibles mediante scroll */
@media (max-width: 800px) {
  .main-nav.is-open {
    visibility: visible;
    pointer-events: auto;
  }
  .main-nav a {
    flex: 0 0 auto;
    min-height: 54px;
  }
  .main-nav .nav-cta {
    flex: 0 0 auto;
    margin-bottom: 10px;
  }
}
