/*
Theme Name: Poseidon Logística
Theme URI: https://corposeidon.com/
Author: Poseidon
Description: Tema corporativo multipágina para Poseidon Logística Integral.
Version: 1.2.4
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: poseidon-logistica
*/

:root {
  --navy: #021c2d;
  --navy2: #07334c;
  --gold: #d7a52c;
  --gold2: #f0c65b;
  --white: #fff;
  --mist: #eef3f5;
  --ink: #10283a;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
}
a {
  text-decoration: none;
  color: inherit;
}
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 158px;
  padding: 0 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(2, 28, 45, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(215, 165, 44, 0.25);
}
.logo {
  display: flex;
  align-items: center;
  gap: 18px;
  color: white;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.logo img {
  width: 142px;
  height: 142px;
  object-fit: contain;
}
.logo small {
  display: block;
  color: var(--gold2);
  font-size: 12px;
  letter-spacing: 0.24em;
  margin-top: 5px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #d9e4e9;
  font-size: 14px;
}
.nav a:hover,
.nav a.on {
  color: var(--gold2);
}
.quote {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 13px 19px;
  font-weight: 850;
}
.hero {
  min-height: 720px;
  display: grid;
  align-items: center;
  padding: 90px 7vw;
  background:
    linear-gradient(
      90deg,
      rgba(2, 28, 45, 0.56),
      rgba(2, 28, 45, 0.2) 48%,
      rgba(2, 28, 45, 0)
    ),
    url("hero-camion-poseidon.png") center/cover;
}
.hero > div {
  max-width: 690px;
}
.kicker {
  color: var(--gold2);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero-kicker {
  color: #f5d477;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 1.55vw, 22px);
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: none;
  -webkit-text-stroke: 0.7px rgba(255, 255, 255, 0.95);
  paint-order: stroke fill;
  text-shadow: 0 2px 10px rgba(2, 28, 45, 0.75);
}
.hero h1,
.pagehero h1 {
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: white;
  margin: 20px 0 24px;
}
.hero h1 span,
.pagehero h1 span,
h2 span {
  color: var(--gold2);
}
.hero p,
.pagehero p {
  color: #d8e4e9;
  font-size: 20px;
  line-height: 1.6;
  max-width: 610px;
}
.actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 850;
}
.btn.ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.65);
}
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
  color: white;
  padding: 0 7vw;
}
.origin-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  color: #f4f8fa;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.origin-note b,
.origin-note small {
  display: block;
}
.origin-note b {
  color: var(--gold2);
  font-size: 13px;
}
.origin-note small {
  margin-top: 5px;
  color: white;
  font-size: 16px;
  letter-spacing: 0.06em;
}
.origin-note span {
  width: 42px;
  height: 2px;
  background: var(--gold2);
}
.trust div {
  padding: 28px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.trust b {
  display: block;
  color: var(--gold2);
  font-size: 33px;
}
.trust span {
  color: #b9cbd4;
  font-size: 13px;
}
.section {
  padding: 105px 7vw;
}
.section.alt {
  background: var(--mist);
}
.section.dark {
  background: var(--navy);
  color: white;
}
.head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 42px;
}
.head h2 {
  font-size: clamp(36px, 4.5vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 10px 0;
}
.head p {
  max-width: 520px;
  line-height: 1.7;
  color: #617685;
}
.dark .head p {
  color: #b9cbd4;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  color: white;
  display: flex;
  align-items: end;
  padding: 30px;
  background-position: center;
  background-size: cover;
}
.service:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(2, 28, 45, 0.62),
    rgba(2, 28, 45, 0) 68%
  );
}
.service > * {
  position: relative;
}
.service h3 {
  font-size: 29px;
  margin: 0 0 10px;
}
.service p {
  color: #d4e0e6;
  line-height: 1.55;
}
.service a {
  color: var(--gold2);
  font-weight: 800;
}
.s1 {
  background-image: url("bg-bodega-interior.png");
}
.s2 {
  background-image: url("transporte-puerto.png");
}
.s3 {
  background-image: url("transporte-aeropuerto-cronos.png");
}
.feature {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 610px;
}
.feature-img {
  background: url("wp-home-hero.png") center/cover;
  transition: transform 0.52s cubic-bezier(.65,0,.35,1);
}
.feature-copy {
  background: var(--navy);
  color: white;
  padding: 80px 7vw 80px 65px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-copy h2 {
  font-size: 52px;
  margin: 14px 0;
}
.feature-copy p {
  color: #bfd0d8;
  line-height: 1.75;
}
.center-spotlight [data-center-kicker],
.center-spotlight .feature-copy h2,
.center-spotlight .feature-copy p,
.center-spotlight .checks,
.center-spotlight [data-center-link] {
  transition: transform 0.52s cubic-bezier(.65,0,.35,1);
}
.center-spotlight {
  overflow: hidden;
  background: var(--navy);
}
.center-spotlight.slide-out .feature-img,
.center-spotlight.slide-out [data-center-kicker],
.center-spotlight.slide-out .feature-copy h2,
.center-spotlight.slide-out .feature-copy p,
.center-spotlight.slide-out .checks,
.center-spotlight.slide-out [data-center-link] {
  transform: translateX(-110%);
}
.center-spotlight.slide-in .feature-img,
.center-spotlight.slide-in [data-center-kicker],
.center-spotlight.slide-in .feature-copy h2,
.center-spotlight.slide-in .feature-copy p,
.center-spotlight.slide-in .checks,
.center-spotlight.slide-in [data-center-link] {
  transform: translateX(110%);
}
.center-spotlight.no-transition .feature-img,
.center-spotlight.no-transition [data-center-kicker],
.center-spotlight.no-transition .feature-copy h2,
.center-spotlight.no-transition .feature-copy p,
.center-spotlight.no-transition .checks,
.center-spotlight.no-transition [data-center-link] {
  transition: none;
}
.center-progress {
  height: 3px;
  margin: 2px 0 24px;
  overflow: hidden;
  background: rgba(255,255,255,.15);
}
.center-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold2);
  transform-origin: left;
  animation: center-timer 7s linear infinite;
}
.center-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.center-controls {
  display: flex;
  gap: 10px;
}
.center-controls button {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: transparent;
  color: white;
  font: 700 24px/1 Arial,sans-serif;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.center-controls button:hover,
.center-controls button:focus-visible {
  background: var(--gold2);
  border-color: var(--gold2);
  color: var(--navy);
  transform: translateY(-2px);
}
.center-controls button:active {
  transform: translateY(0) scale(.94);
}
@keyframes center-timer {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0;
}
.checks div {
  border-top: 1px solid rgba(215, 165, 44, 0.55);
  padding-top: 14px;
  color: #eaf0f3;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  border-top: 3px solid var(--gold);
  padding: 28px 0;
}
.step b {
  font-size: 52px;
  color: #d9e1e5;
}
.step h3 {
  font-size: 23px;
}
.step p {
  color: #617685;
  line-height: 1.6;
}
.cta {
  padding: 90px 7vw;
  background:
    linear-gradient(90deg, rgba(2, 28, 45, 0.56), rgba(2, 28, 45, 0.04)),
    url("wp-enea-hero.png") center/cover;
  color: white;
}
.cta h2 {
  font-size: clamp(38px, 5vw, 66px);
  max-width: 760px;
  margin: 12px 0;
}
.footer {
  background: #01141f;
  color: #b7c7cf;
  padding: 55px 7vw;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}
.footer strong {
  color: white;
}
.footer a {
  display: block;
  margin: 10px 0;
}
.pagehero {
  min-height: 560px;
  padding: 90px 7vw;
  display: flex;
  align-items: end;
  background-position: center;
  background-size: cover;
}
.pagehero > div {
  max-width: 720px;
}
.service-points {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.service-points li {
  padding: 12px 16px;
  color: white;
  font-weight: 750;
  background: rgba(2, 28, 45, 0.68);
  border-left: 3px solid var(--gold2);
  backdrop-filter: blur(8px);
}
.ph-centers {
  background-image:
    linear-gradient(90deg, rgba(2, 28, 45, 0.56), rgba(2, 28, 45, 0)),
    url("wp-quilicura-hero.png");
}
.ph-services {
  background-image:
    linear-gradient(90deg, rgba(2, 28, 45, 0.56), rgba(2, 28, 45, 0)),
    url("bg-bodega-interior.png");
}
.services-overview {
  padding-top: 78px;
}
.distribution-block {
  padding-top: 20px;
}
.distribution-block .service-grid {
  margin-top: 38px;
}
.distribution-block .center-card {
  min-height: 440px;
}
.centers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.center-card {
  min-height: 520px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: end;
  padding: 34px;
  color: white;
  position: relative;
}
.center-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(2, 28, 45, 0.64),
    rgba(2, 28, 45, 0) 68%
  );
}
.center-card > div {
  position: relative;
}
.center-card h2 {
  font-size: 38px;
  margin: 0 0 8px;
}
.center-card p {
  color: #d5e1e6;
}
.cargo-options .center-card {
  min-height: 0;
  aspect-ratio: 16 / 9;
  background-position: center;
}
.quil {
  background-image: url("wp-quilicura-hero.png");
}
.enea {
  background-image: url("wp-enea-hero.png");
}
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
}
.form {
  display: grid;
  gap: 14px;
}
.form input,
.form textarea,
.form select {
  padding: 17px;
  border: 1px solid #c9d5da;
  font: inherit;
  background: white;
}
.form textarea {
  min-height: 150px;
}
@media (max-width: 900px) {
  .nav a:not(.quote) {
    display: none;
  }
  .hero {
    min-height: 650px;
  }
  .trust,
  .service-grid,
  .steps,
  .centers,
  .contact-wrap,
  .footer {
    grid-template-columns: 1fr 1fr;
  }
  .feature {
    grid-template-columns: 1fr;
  }
  .feature-img {
    min-height: 430px;
  }
}
@media (max-width: 620px) {
  .top {
    height: 96px;
    padding: 0 5vw;
  }
  .logo img {
    width: 88px;
    height: 88px;
  }
  .logo div {
    display: none;
  }
  .nav {
    gap: 8px;
  }
  .quote {
    padding: 12px;
  }
  .hero,
  .pagehero {
    padding: 70px 6vw;
  }
  .hero h1,
  .pagehero h1 {
    font-size: 46px;
  }
  .trust,
  .service-grid,
  .steps,
  .centers,
  .contact-wrap,
  .footer {
    grid-template-columns: 1fr;
  }
  .head {
    display: block;
  }
  .section {
    padding: 75px 6vw;
  }
  .feature-copy {
    padding: 65px 6vw;
  }
  .checks {
    grid-template-columns: 1fr;
  }
  .actions {
    flex-direction: column;
  }
}
.trust.is-marquee {
  display: block;
  padding: 0;
  overflow: hidden;
  position: relative;
  border-block: 1px solid rgba(215, 165, 44, 0.2);
}
.trust.is-marquee:before,
.trust.is-marquee:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 9vw;
  z-index: 3;
  pointer-events: none;
}
.trust.is-marquee:before {
  left: 0;
  background: linear-gradient(90deg, var(--navy), transparent);
}
.trust.is-marquee:after {
  right: 0;
  background: linear-gradient(-90deg, var(--navy), transparent);
}
.trust-track {
  display: flex;
  width: max-content;
  animation: poseidon-marquee 26s linear infinite;
  will-change: transform;
}
.trust.is-marquee:hover .trust-track {
  animation-play-state: paused;
}
.trust-track > div {
  width: 310px;
  flex: none;
  padding: 28px 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
@keyframes poseidon-marquee {
  to {
    transform: translateX(-50%);
  }
}
.btn {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.btn:before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -55%;
  width: 35%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 0.55s ease;
}
.btn:hover {
  transform: translateY(-3px);
  background: var(--gold2);
  box-shadow: 0 14px 32px rgba(215, 165, 44, 0.28);
}
.btn:hover:before {
  left: 125%;
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
.nav a {
  position: relative;
}
.nav a:not(.quote):after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--gold);
  transition: right 0.25s ease;
}
.nav a:not(.quote):hover:after,
.nav a.on:not(.quote):after {
  right: 0;
}
.service,
.center-card {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.service:hover,
.center-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(2, 28, 45, 0.28);
}
.service:after,
.center-card:after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
  pointer-events: none;
}
.service:hover:after,
.center-card:hover:after {
  border-color: rgba(240, 198, 91, 0.8);
}
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .trust-track {
    animation: none;
  }
  .btn,
  .service,
  .center-card,
  .reveal {
    transition: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}


