/* Nautilus Corp — estilo general
   Paleta: azul de profundidad marina + cobre/nácar del caparazón del nautilus. */

:root {
  --fondo: #0b1d2a;
  --fondo-2: #0f2636;
  --superficie: #13303f;
  --borde: #1f4152;
  --texto: #e6eef3;
  --texto-suave: #9fb3c2;
  --cobre: #d39a62;
  --cobre-claro: #e8bb8c;
  --ancho: 1100px;
  --radio: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--fondo);
  color: var(--texto);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cobre-claro); text-decoration: none; }
a:hover { color: var(--cobre); }

.contenedor { width: min(var(--ancho), 100% - 2.5rem); margin-inline: auto; }

/* ---------- Cabecera ---------- */
.cabecera {
  position: sticky; top: 0; z-index: 10;
  background: rgb(11 29 42 / 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--borde);
}
.cabecera .contenedor {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: 68px;
}
.marca {
  display: flex; align-items: center; gap: .65rem;
  color: var(--texto); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  font-size: .95rem; white-space: nowrap;
}
.marca:hover { color: var(--texto); }
.marca img { width: 34px; height: 34px; }
.marca span { color: var(--cobre); font-weight: 400; }

.menu { display: flex; align-items: center; gap: 1.6rem; }
.menu a { color: var(--texto-suave); font-size: .95rem; }
.menu a:hover { color: var(--texto); }

.boton {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.15rem; border-radius: 999px;
  border: 1px solid var(--cobre); color: var(--cobre-claro);
  font-weight: 500; font-size: .95rem;
  transition: background .2s, color .2s;
}
.boton:hover { background: var(--cobre); color: var(--fondo); }
.boton.lleno { background: var(--cobre); color: var(--fondo); }
.boton.lleno:hover { background: var(--cobre-claro); border-color: var(--cobre-claro); }
.boton svg { width: 16px; height: 16px; }

.menu .boton { color: var(--cobre-claro); }
.menu .boton:hover { color: var(--fondo); }

/* ---------- Portada ---------- */
.portada {
  position: relative; overflow: hidden;
  padding: clamp(4rem, 12vw, 8rem) 0 clamp(4rem, 10vw, 7rem);
  background:
    radial-gradient(60rem 40rem at 85% 30%, rgb(211 154 98 / .10), transparent 60%),
    radial-gradient(50rem 35rem at 10% 100%, rgb(40 110 140 / .18), transparent 60%);
}
.portada .contenedor {
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 3rem;
}
.etiqueta {
  display: inline-block; margin-bottom: 1.2rem;
  color: var(--cobre); font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
}
.portada h1 {
  margin: 0 0 1.2rem;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem); line-height: 1.1; font-weight: 650; letter-spacing: -.02em;
}
.portada h1 em { font-style: normal; color: var(--cobre-claro); }
.portada p { margin: 0 0 2rem; color: var(--texto-suave); font-size: 1.15rem; max-width: 34rem; }
.acciones { display: flex; flex-wrap: wrap; gap: .8rem; }
.portada-logo { justify-self: center; width: min(100%, 380px); opacity: .95; }
.portada-logo img { width: 100%; height: auto; display: block; animation: flotar 9s ease-in-out infinite; }

@keyframes flotar {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .portada-logo img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Secciones ---------- */
.seccion { padding: clamp(3.5rem, 8vw, 6rem) 0; border-top: 1px solid var(--borde); }
.seccion.alterna { background: var(--fondo-2); }
.seccion h2 {
  margin: 0 0 .8rem; font-size: clamp(1.7rem, 3.5vw, 2.3rem); letter-spacing: -.01em;
}
.seccion .intro { margin: 0 0 2.5rem; color: var(--texto-suave); max-width: 42rem; font-size: 1.05rem; }

.rejilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }

.tarjeta {
  background: var(--superficie); border: 1px solid var(--borde); border-radius: var(--radio);
  padding: 1.6rem;
  transition: border-color .2s, transform .2s;
}
.tarjeta:hover { border-color: rgb(211 154 98 / .5); transform: translateY(-2px); }
.tarjeta h3 { margin: .9rem 0 .4rem; font-size: 1.1rem; }
.tarjeta p { margin: 0; color: var(--texto-suave); font-size: .97rem; }
.icono {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgb(211 154 98 / .12); color: var(--cobre);
}
.icono svg { width: 24px; height: 24px; }

.dos-columnas { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.dos-columnas p { color: var(--texto-suave); margin: 0 0 1rem; }

.pronto {
  display: inline-block; margin-top: .5rem; padding: .25rem .7rem; border-radius: 999px;
  background: rgb(159 179 194 / .12); color: var(--texto-suave); font-size: .8rem; letter-spacing: .05em;
}

.cita {
  margin: 0; padding: 1.6rem; border-left: 3px solid var(--cobre);
  background: var(--superficie); border-radius: 0 var(--radio) var(--radio) 0;
  color: var(--texto); font-size: 1.1rem;
}

/* ---------- Pie ---------- */
.pie { padding: 2.2rem 0; border-top: 1px solid var(--borde); color: var(--texto-suave); font-size: .9rem; }
.pie .contenedor { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.pie .marca { font-size: .8rem; }
.pie .marca img { width: 24px; height: 24px; }

/* ---------- Área privada ---------- */
.privada-cabecera { padding: 3.5rem 0 1rem; }
.privada-cabecera h1 { margin: 0 0 .4rem; font-size: clamp(1.8rem, 4vw, 2.4rem); }
.privada-cabecera p { margin: 0; color: var(--texto-suave); }

.proyecto { display: flex; flex-direction: column; color: var(--texto); }
.proyecto:hover { color: var(--texto); }
.proyecto .estado { margin-top: auto; padding-top: 1.2rem; display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--texto-suave); }
.punto { width: 8px; height: 8px; border-radius: 50%; background: #5fbf8f; box-shadow: 0 0 0 3px rgb(95 191 143 / .18); }
.punto.apagado { background: #6b7f8c; box-shadow: none; }
.proyecto.vacio { border-style: dashed; background: transparent; }

/* ---------- Móvil ---------- */
@media (max-width: 820px) {
  .portada .contenedor, .dos-columnas { grid-template-columns: 1fr; }
  .portada-logo { order: -1; width: 200px; }
  .menu a:not(.boton) { display: none; }
}
