/* Ocean&Plus Connection — estilos del sitio */

@font-face { font-family: "Roboto V"; src: url("../fonts/roboto-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto V"; src: url("../fonts/roboto-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto V"; src: url("../fonts/roboto-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --celeste: #3A96C2;
  --celeste-claro: #71BAD7;
  --azul: #0570BB;
  --azul-oscuro: #14659B;
  --verde: #61CF70;
  --verde-hover: #52C162;
  --tinta: #001829;
  --texto: #3E4043;
  --texto-suave: #6B7177;
  --gris: #F5F5F5;
  --linea: #E3E6E9;
  --whatsapp: #25A244;
  --f: "Roboto V", "Roboto", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--tinta); scroll-behavior: smooth; }
html, body { margin: 0; }
body { font-family: var(--f); font-size: 17px; line-height: 1.7; color: var(--texto); background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--azul); outline-offset: 3px; }
[id] { scroll-margin-top: 16px; }
.wrap { max-width: 1220px; margin: 0 auto; padding: 0 40px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: var(--tinta); padding: 10px 16px; }
.skip:focus { left: 12px; top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Tipografía */
.h2 { font-size: 40px; line-height: 1.15; font-weight: 500; color: var(--celeste); letter-spacing: -0.01em; }
.label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--azul-oscuro); }
.rule { display: block; width: 44px; height: 2px; background: var(--azul-oscuro); margin: 16px 0 18px; }
.center { text-align: center; }
.center .rule { margin-left: auto; margin-right: auto; }
.intro { font-size: 18px; line-height: 1.7; color: var(--texto); max-width: 640px; }
.center .intro { margin-left: auto; margin-right: auto; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 4px; font: 600 15.5px/1 var(--f); letter-spacing: .01em; border: 1.5px solid transparent; white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn .chev { width: 8px; height: 10px; }
.btn .ic { width: 18px; height: 18px; }
.btn-sm { height: 44px; }
.btn-azul { background: var(--azul); color: #fff; }
.btn-azul:hover { background: #045E9D; }
.btn-verde { background: var(--verde); color: var(--tinta); }
.btn-verde:hover { background: var(--verde-hover); }
.btn-borde { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-borde:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Header ---------- */
.header { background: #fff; position: relative; z-index: 20; box-shadow: 0 1px 0 var(--linea); }
.header .bar { display: flex; align-items: center; height: 92px; gap: 44px; }
.logo { flex: none; }
.header .logo img { height: 50px; width: auto; }
.nav { display: flex; gap: 34px; margin-left: auto; font-size: 15.5px; font-weight: 500; color: var(--tinta); }
.nav a { position: relative; padding: 6px 0; }
.nav a:hover { color: var(--azul); }
.nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--celeste); }
.lang { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--texto-suave); }
.lang a:hover { color: var(--azul); }
.lang [aria-current] { color: var(--tinta); font-weight: 600; }
.lang i { width: 1px; height: 14px; background: var(--linea); }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--linea); border-radius: 4px; background: #fff; color: var(--tinta); cursor: pointer; padding: 0; }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.mobile-nav { border-top: 1px solid var(--linea); background: #fff; }
.mobile-nav[hidden] { display: none; }
.mobile-nav .wrap { display: grid; padding-top: 6px; padding-bottom: 24px; }
.mobile-nav .wrap > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--linea); font-size: 17px; font-weight: 500; color: var(--tinta); }
.mobile-lang { display: flex; gap: 20px; padding: 16px 0 20px; font-size: 15px; color: var(--texto-suave); }
.mobile-lang [aria-current] { color: var(--tinta); font-weight: 600; }
.mobile-nav .btn { justify-content: center; }

/* ---------- Portada ---------- */
.hero { position: relative; min-height: 640px; color: #fff; background: #3a3b3d url("../img/hero.jpg") center / cover no-repeat; display: flex; flex-direction: column; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,.12) 55%, rgba(0,0,0,0) 100%); }
.hero .wrap { position: relative; width: 100%; }
.hero-text { padding: 132px 0 0; max-width: 680px; }
.hero h1 { font-size: 64px; line-height: 1.08; font-weight: 700; letter-spacing: -0.015em; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero .sub { margin-top: 24px; font-size: 20px; line-height: 1.55; color: rgba(255,255,255,.92); max-width: 560px; }
.hero .ctas { display: flex; gap: 14px; margin-top: 36px; }
.hero-foot { margin-top: auto; padding-top: 72px; }
.hero-foot .wrap { border-top: 1px solid rgba(255,255,255,.22); display: flex; justify-content: center; align-items: center; gap: 10px; padding: 22px 40px 26px; font-size: 15px; color: rgba(255,255,255,.9); }
.hero-foot svg { width: 18px; height: 18px; color: var(--celeste-claro); flex: none; }

/* Botón flotante de WhatsApp */
.wa-float { position: fixed; right: 28px; bottom: 28px; width: 60px; height: 60px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); z-index: 30; transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; color: var(--whatsapp); }

/* ---------- Quiénes somos ---------- */
.about { padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about .h2 { margin-bottom: 22px; }
.about p { max-width: 500px; }
.about .btn { margin-top: 34px; }
.about-photo { position: relative; isolation: isolate; }
.about-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; }
.about-photo::after { content: ""; position: absolute; left: -22px; bottom: -22px; width: 140px; height: 140px; border-left: 2px solid var(--celeste-claro); border-bottom: 2px solid var(--celeste-claro); z-index: -1; }

/* ---------- Servicio de broker ---------- */
.broker { padding: 40px 0 120px; }
.broker .h2 { margin-bottom: 18px; }
.broker .btn { margin-top: 30px; }
.broker-img { margin-top: 56px; border-radius: 4px; overflow: hidden; height: 420px; }
.broker-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.points { display: grid; grid-template-columns: repeat(4, 1fr); margin: -72px 36px 0; background: #fff; position: relative; border-radius: 6px; padding: 0 8px; box-shadow: 0 1px 2px rgba(0,24,41,.06), 0 18px 40px -20px rgba(0,24,41,.25); }
.point { padding: 38px 28px 36px; }
.point + .point { border-left: 1px solid var(--linea); }
.point svg { width: 34px; height: 34px; color: var(--azul); }
.point h3 { margin-top: 18px; font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--tinta); }
.point p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; }

/* ---------- Productos ---------- */
.products { padding: 0 0 120px; }
.products .h2 { margin-bottom: 18px; }
.products .btn { margin-top: 30px; }
.species { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 64px; }
.sp { text-align: center; }
.sp .circle { width: 220px; height: 220px; margin: 0 auto; border-radius: 50%; overflow: hidden; box-shadow: 0 14px 30px -14px rgba(0,24,41,.35); }
.sp .circle img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.13); }
.sp h3 { margin-top: 26px; font-size: 26px; font-weight: 500; color: var(--celeste); }
.sp a { display: inline-block; margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--azul); border-bottom: 1.5px solid currentColor; line-height: 1.4; }

/* ---------- Nuestro compromiso ---------- */
.commit { background: var(--gris); padding: 100px 0; }
.commit-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.commit .h2 { margin-bottom: 30px; }
.quote-card { margin: 0; background: #fff; border-radius: 6px; padding: 52px 56px 48px; text-align: center; box-shadow: 0 1px 2px rgba(0,24,41,.05), 0 12px 32px -18px rgba(0,24,41,.18); }
.quote-card .qi { width: 44px; height: 44px; margin: 0 auto 22px; border-radius: 50%; background: var(--azul); display: grid; place-items: center; }
.quote-card .qi svg { width: 20px; height: 20px; color: #fff; }
.quote-card p { font-size: 19px; line-height: 1.7; color: var(--texto); font-style: italic; }

/* ---------- Clientes ---------- */
.clients { padding: 100px 0 110px; }
.clients h2 { font-size: 36px; font-weight: 500; letter-spacing: .14em; color: var(--tinta); }
.logos { display: grid; grid-template-columns: repeat(7, 1fr); gap: 24px; align-items: center; margin: 56px 0 0; padding: 0; list-style: none; }
.logos li { height: 96px; display: grid; place-items: center; }
.logos img { max-height: 84px; max-width: 100%; width: auto; mix-blend-mode: multiply; }
.logos .l-cove { max-height: 80px; }
.logos .l-wide { max-height: 34px; }
.logos .l-sanagustin { max-height: 60px; }
.logos .l-sigma { max-height: 28px; }
.logos .l-text { max-height: 20px; width: 150px; object-fit: contain; }

/* ---------- Cierre ---------- */
.closing { position: relative; color: #fff; background: #4a4243 url("../img/cierre.jpg") center / cover no-repeat; padding: 96px 0 104px; }
.closing::before { content: ""; position: absolute; inset: 0; background: rgba(0,24,41,.42); }
.closing .wrap { position: relative; }
.closing .rule { background: var(--celeste-claro); }
.closing h2 { font-size: 36px; font-weight: 500; }
.closing p { margin: 20px auto 0; max-width: 760px; font-size: 17.5px; line-height: 1.75; color: rgba(255,255,255,.92); }

/* ---------- Pie de página ---------- */
.footer { background: var(--tinta); color: rgba(255,255,255,.72); padding: 64px 0 36px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 4fr 3fr 4fr; gap: 56px; }
.footer .logo img { height: 44px; width: auto; }
.footer .blurb { margin-top: 18px; max-width: 320px; line-height: 1.6; }
.footer h2 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { color: #fff; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--celeste-claro); }
.footer .btn { margin-top: 18px; height: 44px; }
.footer .btn:hover { color: var(--tinta); }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: rgba(255,255,255,.55); }
.legal [aria-current] { color: rgba(255,255,255,.85); }

/* ---------- Tablet ---------- */
@media (min-width: 761px) and (max-width: 1000px) {
  .h2 { font-size: 36px; }
  .header .bar { height: 84px; gap: 16px; }
  .header .logo img { height: 46px; }
  .nav, .lang { display: none; }
  .header .bar > .btn { margin-left: auto; }
  .menu-btn { display: inline-flex; }
  .mobile-nav .btn { display: none; }
  .hero { min-height: 600px; }
  .hero-text { padding-top: 110px; }
  .hero h1 { font-size: 54px; }
  .about { padding: 96px 0; }
  .about-grid { gap: 48px; }
  .broker { padding-bottom: 96px; }
  .broker-img { height: 340px; }
  .points { grid-template-columns: 1fr 1fr; margin: -64px 24px 0; padding: 0; }
  .point, .point + .point { padding: 32px 32px 30px; border-left: 0; }
  .point:nth-child(2n) { border-left: 1px solid var(--linea); }
  .point:nth-child(n+3) { border-top: 1px solid var(--linea); }
  .products { padding-bottom: 96px; }
  .species { gap: 24px; margin-top: 56px; }
  .sp .circle { width: 184px; height: 184px; }
  .sp h3 { font-size: 24px; }
  .commit { padding: 88px 0; }
  .commit-grid { grid-template-columns: 1fr; gap: 36px; }
  .clients { padding: 88px 0 96px; }
  .logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 0; margin-top: 48px; }
  .logos li { width: 25%; height: 100px; padding: 0 16px; }
  .logos .l-text { width: 140px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px 48px; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}

/* ---------- Teléfono ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .h2 { font-size: 30px; }
  .header .bar { height: 72px; gap: 12px; }
  .header .logo img { height: 38px; }
  .nav, .lang, .header .bar > .btn { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .hero { min-height: 640px; background-image: url("../img/hero-movil.jpg"); background-position: center; }
  .hero::before { background: linear-gradient(180deg, rgba(0,24,41,.45), rgba(0,24,41,.35)); }
  .hero-text { padding-top: 84px; }
  .hero h1 { font-size: 40px; }
  .hero .sub { font-size: 17px; }
  .hero .ctas { flex-direction: column; align-items: stretch; }
  .hero .ctas .btn { justify-content: center; }
  .hero-foot { padding-top: 56px; }
  .hero-foot .wrap { padding: 18px 20px 22px; font-size: 14px; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .about { padding: 72px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo::after { left: -12px; bottom: -12px; width: 90px; height: 90px; }
  .broker { padding: 16px 0 72px; }
  .broker-img { height: 220px; margin-top: 40px; }
  .points { grid-template-columns: 1fr; margin: -40px 12px 0; padding: 4px 20px 26px; }
  .point, .point + .point { padding: 22px 0 0; border-left: 0; display: grid; grid-template-columns: 34px 1fr; column-gap: 16px; }
  .point svg { grid-row: span 2; }
  .point h3 { margin-top: 0; }
  .point p { margin-top: 4px; }
  .products { padding-bottom: 72px; }
  .species { grid-template-columns: 1fr; gap: 44px; margin-top: 48px; }
  .sp .circle { width: 190px; height: 190px; }
  .commit { padding: 72px 0; }
  .commit-grid { grid-template-columns: 1fr; gap: 36px; }
  .quote-card { padding: 36px 26px; }
  .quote-card p { font-size: 17px; }
  .clients { padding: 72px 0; }
  .clients h2 { font-size: 28px; }
  .logos { grid-template-columns: repeat(2, 1fr); gap: 12px 24px; margin-top: 36px; }
  .logos li:last-child { grid-column: 1 / -1; }
  .closing { padding: 72px 0; }
  .closing h2 { font-size: 28px; }
  .closing p { font-size: 16px; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .legal { flex-direction: column; gap: 6px; }
}

@media (min-width: 1001px) {
  .mobile-nav { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .wa-float { transition: none; }
}
