/* SAUX CEE S.L. - Estilos de la landing */

@font-face {
  font-family: "Outfit";
  font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --navy: #0b3d4a;
  --navy-2: #0a4f60;
  --teal: #0a7d96;
  --sky: #7fd0e0;
  --ink: #142a31;
  --muted: #5b6d72;
  --line: #e2eaec;
  --ease: cubic-bezier(.16,1,.3,1);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100dvh;
  background: #fff;
  color: var(--ink);
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.page {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
}

/* Columna izquierda */
.main {
  display: flex;
  flex-direction: column;
  padding: 40px clamp(24px, 5vw, 72px) 28px;
}
.logo { display: block; width: 300px; max-width: 80%; height: auto; }
.hero { margin: auto 0; padding: 64px 0; }
h1 {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -.035em;
  max-width: 11ch;
}
h1 em { font-style: normal; color: var(--teal); }
.intro { margin: 0 0 36px; color: var(--muted); font-size: 1.12rem; max-width: 36ch; }
.cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 16px 14px 24px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 1.1rem; font-weight: 500;
  text-decoration: none;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.cta .arr {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.14);
  transition: transform .3s var(--ease);
}
.cta:hover { background: var(--teal); }
.cta:hover .arr { transform: rotate(45deg); }
.cta:active { transform: scale(.98); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta.alt {
  background: transparent; color: var(--navy);
  box-shadow: inset 0 0 0 1.5px var(--line);
  padding: 14px 24px 14px 20px;
}
.cta.alt svg { color: var(--teal); }
.cta.alt:hover { background: #f1f7f8; box-shadow: inset 0 0 0 1.5px #c9dbe0; }
.address {
  display: flex; gap: 8px; align-items: flex-start;
  margin-top: 22px; color: var(--muted); font-size: .95rem; line-height: 1.5;
}
.address svg { margin-top: 2px; color: var(--teal); flex: none; }
.foot {
  display: flex; flex-direction: column; gap: 4px;
  padding-top: 18px; border-top: 1px solid var(--line);
  color: #84959a; font-size: .72rem; line-height: 1.4;
}
.foot .credit { font-size: .62rem; color: #a3b0b4; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--navy); }

/* Panel derecho */
.panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 28px;
  background:
    radial-gradient(120% 80% at 100% 0%, #0f6a80 0%, transparent 55%),
    linear-gradient(160deg, var(--navy-2), var(--navy) 70%);
  color: #e7f3f6;
  padding: clamp(36px, 4.5vw, 64px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
}
.panel .mark {
  position: absolute; z-index: -1;
  width: 120%; max-width: 760px;
  right: -28%; bottom: -24%;
  opacity: .07;
  pointer-events: none;
}
.panel h2 { margin: 0 0 22px; font-size: 1.05rem; font-weight: 500; color: var(--sky); }
.services {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.services li {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  font-size: 1rem; line-height: 1.3;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.services li:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.services svg { flex: none; color: var(--sky); }
.mission { margin: 0; font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.45; font-weight: 300; color: #fff; max-width: 30ch; }
.mission strong { font-weight: 500; color: var(--sky); }

/* Entrada suave */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); animation: in .9s var(--ease) forwards; }
  .d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; } .d3 { animation-delay: .25s; } .d4 { animation-delay: .35s; }
  @keyframes in { to { opacity: 1; transform: none; } }
}

@media (max-width: 960px) {
  .page { grid-template-columns: 1fr; padding: 12px; }
  .main { padding: 28px 12px 0; }
  .hero { padding: 48px 0 40px; }
  .foot { order: 3; }
  .panel { border-radius: 22px; }
}
@media (max-width: 960px) {
  .page { display: flex; flex-direction: column; }
  .main { display: contents; }
  .main > .top, .main > .hero { padding-left: 12px; padding-right: 12px; }
  .main > .top { padding-top: 28px; }
  .panel { order: 2; }
  .foot { order: 3; margin: 8px 12px 4px; }
}
@media (max-width: 520px) {
  .logo { width: 230px; }
  .services { grid-template-columns: 1fr; }
}
