/* Ocean Rent — estilos generales */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); }

:root {
  --azul: #1B3FD1;
  --azul-oscuro: #122C99;
  --tinta: #0E1530;
  --texto: #3D4560;
  --gris: #5A6280;
  --fondo-suave: #F4F6FC;
  --azul-claro: #DCE3FA;
  --borde: #E3E6F0;
  --logo: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--tinta); background: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--azul); }
a:hover { color: var(--azul-oscuro); }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; }

.contenedor { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.seccion { padding-top: 104px; padding-bottom: 104px; }
.fondo-suave { background: var(--fondo-suave); }
.fondo-oscuro { background: var(--tinta); color: #fff; }

/* Cabecera */
.cabecera { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--borde); }
.cabecera .contenedor { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 20px; padding-top: 16px; padding-bottom: 16px; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; color: var(--azul); }
.logo:hover { color: var(--azul); }
.logo-nombre { font-family: var(--logo); font-style: italic; font-weight: 600; font-size: 36px; letter-spacing: -0.5px; }
.logo-lema { font-size: 10px; font-weight: 600; letter-spacing: 2.4px; margin-top: 4px; }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.menu a { color: var(--tinta); text-decoration: none; }
.menu a:hover { color: var(--azul); }

.boton { display: inline-flex; align-items: center; min-height: 48px; padding: 14px 28px; border-radius: 2px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; }
.boton-principal { background: var(--azul); color: #fff; }
.boton-principal:hover { background: var(--azul-oscuro); color: #fff; }
.boton-secundario { border-color: var(--tinta); color: var(--tinta); background: transparent; }
.boton-secundario:hover { background: var(--tinta); color: #fff; }
.menu .boton { min-height: 44px; padding: 10px 22px; color: #fff; }
.menu .boton:hover { color: #fff; }

/* Tipografía */
.antetitulo { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--azul); }
.fondo-oscuro .antetitulo { color: #A9BBFF; }
h1, h2 { font-family: var(--serif); font-weight: 600; margin: 0; }
h1 { font-size: clamp(42px, 6vw, 64px); line-height: 1.05; letter-spacing: -1px; }
h1 em { color: var(--azul); }
h2 { font-size: clamp(34px, 4.2vw, 46px); line-height: 1.1; }
h3 { margin: 0; font-size: 20px; font-weight: 700; }
p { margin: 0; }
.intro { display: flex; flex-direction: column; gap: 16px; max-width: 720px; margin-bottom: 56px; }
.secundario { color: var(--texto); }

/* Portada */
.portada .contenedor { padding-top: 96px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; }
.portada-texto { display: flex; flex-direction: column; gap: 28px; }
.portada-texto .entradilla { font-size: 19px; color: var(--texto); max-width: 540px; }
.botones { display: flex; flex-wrap: wrap; gap: 14px; }

/* Fotos (sustituir los .foto-pendiente por <img>) */
.foto, .foto-pendiente { border-radius: 2px; overflow: hidden; background: var(--azul-claro); }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto-pendiente { display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: #2A3A80; font-size: 15px; font-weight: 500; }
.foto-portada { height: 460px; }

/* Ventajas */
.rejilla-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 40px; }
.ventaja { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--tinta); padding-top: 24px; }

/* Qué incluye */
.incluye .contenedor { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: start; }
.incluye-texto { display: flex; flex-direction: column; gap: 20px; }
.incluye-texto p { color: #C9D0E6; }
.lista-textil { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 8px 40px; }
.lista-textil li { border-top: 1px solid #3A4466; padding: 18px 0 6px; }
.lista-textil strong { display: block; font-size: 18px; }
.lista-textil span { color: #C9D0E6; font-size: 15px; }

/* Pasos */
.pasos { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 40px; }
.pasos li { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--borde); padding-top: 20px; }
.pasos .numero { font-family: var(--serif); font-style: italic; font-size: 48px; line-height: 1; color: var(--azul); }

/* Sectores */
.rejilla-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.sector { background: #fff; border-radius: 2px; overflow: hidden; display: flex; flex-direction: column; }
.sector .foto, .sector .foto-pendiente { height: 200px; border-radius: 0; font-size: 14px; }
.sector-texto { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.sector h3 { font-size: 22px; }

/* Contacto */
.contacto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 64px; }
.contacto-datos { display: flex; flex-direction: column; gap: 24px; }
.datos { display: flex; flex-direction: column; gap: 16px; }
.dato-etiqueta { display: block; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--gris); }
.datos a { font-weight: 600; text-decoration: none; }
.formulario { background: var(--fondo-suave); border-radius: 2px; padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.rejilla-campos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo label { font-size: 14px; font-weight: 600; }
.campo input, .campo select, .campo textarea { font: inherit; padding: 12px 14px; border: 1px solid #B9C0D6; border-radius: 2px; background: #fff; color: var(--tinta); min-height: 44px; width: 100%; }
.campo textarea { resize: vertical; }
.casilla { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--texto); }
.casilla input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--azul); }
.formulario .boton { align-self: flex-start; border: none; }
.oculto { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aviso { border-radius: 2px; padding: 16px 20px; font-weight: 500; }
.aviso-ok { background: #E3F4EA; color: #14532D; }
.aviso-error { background: #FDE8E8; color: #8A1C1C; }

/* Pie */
.pie { background: var(--tinta); color: #C9D0E6; font-size: 14px; }
.pie .contenedor { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.pie .logo { color: #fff; }
.pie .logo-nombre { font-size: 30px; }
.pie-empresa { margin-top: 14px; line-height: 1.5; }
.pie nav { display: flex; flex-wrap: wrap; gap: 20px; }
.pie a { color: #fff; }

/* Páginas legales */
.legal { max-width: 760px; margin: 0 auto; padding: 72px 32px 104px; }
.legal h1 { font-size: clamp(36px, 5vw, 48px); margin-bottom: 32px; }
.legal h2 { font-family: var(--sans); font-size: 20px; font-weight: 700; margin: 40px 0 12px; line-height: 1.3; }
.legal p, .legal li { color: var(--texto); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 12px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--borde); vertical-align: top; }
.tabla-scroll { overflow-x: auto; }

@media (max-width: 720px) {
  .contenedor { padding-left: 20px; padding-right: 20px; }
  .seccion { padding-top: 72px; padding-bottom: 72px; }
  .portada .contenedor { padding-top: 56px; padding-bottom: 72px; }
  .foto-portada { height: 280px; }
  .formulario { padding: 24px; }
  .logo-nombre { font-size: 30px; }
  .menu { gap: 6px 18px; font-size: 14px; }
  .cabecera { position: static; }
}
