:root {
  --bg: #f5f7f7;
  --surface: #ffffff;
  --surface-soft: #eaf2f2;
  --ink: #102226;
  --muted: #65767b;
  --brand: #0f4f5b;
  --brand-2: #2c7f86;
  --gold: #d6a14a;
  --line: rgba(16, 34, 38, 0.12);
  --shadow: 0 24px 80px rgba(15, 79, 91, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 18px 0 auto 0;
  z-index: 50;
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 60px rgba(15, 79, 91, 0.12);
  transition: all 220ms ease;
}
.site-header.is-scrolled {
  inset-block-start: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 44px rgba(15, 79, 91, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand img { width: 84px; height: auto; object-fit: contain; }
.brand span { white-space: nowrap; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.94rem;
  font-weight: 700;
  color: rgba(16, 34, 38, 0.78);
}
.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}
.site-nav a:hover { background: var(--surface-soft); color: var(--brand); }
.site-nav .nav-cta { background: var(--brand); color: white; }
.site-nav .nav-cta:hover { background: var(--brand-2); color: white; }

.nav-toggle {
  display: none;
  border: 0;
  background: var(--brand);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  place-items: center;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: white;
  margin: 3px auto;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: 140px 0 82px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 20%, rgba(214, 161, 74, 0.24), transparent 30%),
    linear-gradient(135deg, #f7fbfb 0%, #e7f0f0 48%, #dbecec 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: linear-gradient(120deg, rgba(15, 79, 91, 0.2), rgba(15, 79, 91, 0.02)), url("images/FondoColores2.png");
  background-size: cover;
  background-position: center;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -210px;
  bottom: -230px;
  border-radius: 50%;
  background: rgba(44, 127, 134, 0.16);
  filter: blur(4px);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 56px;
  align-items: center;
  z-index: 1;
}
.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--brand-2);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.77rem;
}
h1,
h2,
h3 { line-height: 1.08; margin: 0; letter-spacing: -0.045em; }
h1 { font-size: clamp(3.1rem, 7vw, 6.8rem); max-width: 820px; }
h2 { font-size: clamp(2.1rem, 4.6vw, 4rem); }
h3 { font-size: 1.35rem; }
p { color: var(--muted); margin: 0; }
.hero-text {
  margin-block: 24px 32px;
  max-width: 620px;
  font-size: clamp(1.06rem, 2vw, 1.25rem);
}
.hero-actions,
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: white; box-shadow: 0 14px 35px rgba(15, 79, 91, 0.24); }
.btn-primary:hover { background: var(--brand-2); }
.btn-secondary { background: rgba(255, 255, 255, 0.78); border: 1px solid rgba(15, 79, 91, 0.18); color: var(--brand); }
.btn-light { background: white; color: var(--brand); margin-top: 26px; }
.btn.full { width: 100%; }

.hero-card {
  border-radius: var(--radius-xl);
  padding: 14px;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.ship-photo {
  min-height: 370px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(16,34,38,0.08), rgba(16,34,38,0.28)),
    url("images/barco 4.JPG");
  background-size: cover;
  background-position: center;
}
.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.quick-stats div {
  padding: 18px 14px;
  border-radius: 18px;
  background: #f7fbfb;
  border: 1px solid var(--line);
}
.quick-stats strong { display: block; color: var(--brand); font-size: 1.5rem; line-height: 1; }
.quick-stats span { display: block; margin-top: 8px; color: var(--muted); font-size: 0.8rem; line-height: 1.3; }

.section { padding: 96px 0; }
.section-intro { background: white; }
.split {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}
.split p { margin-top: 20px; max-width: 870px; font-size: 1.13rem; }
.section-heading { max-width: 820px; margin-bottom: 42px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading p:not(.eyebrow) { margin-top: 16px; font-size: 1.08rem; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  min-height: 320px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(15,79,91,0.08);
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -65px;
  top: -65px;
  border-radius: 50%;
  background: rgba(214, 161, 74, 0.18);
}
.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 64px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--brand);
  font-weight: 900;
}
.service-card p { margin-top: 16px; }

.section-dark {
  color: white;
  background:
    radial-gradient(circle at 18% 12%, rgba(214,161,74,0.22), transparent 26%),
    linear-gradient(135deg, #0b3038 0%, #0f4f5b 52%, #073039 100%);
}
.section-dark p,
.section-dark .eyebrow { color: rgba(255,255,255,0.76); }
.section-dark .eyebrow { color: #e6bd72; }
.commodities-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 54px;
  align-items: center;
}
.commodities-grid p { margin-top: 18px; font-size: 1.08rem; }
.commodity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.commodity-list span {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: white;
  font-weight: 800;
}

.footprint { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: start; }
.timeline {
  position: relative;
  display: grid;
  gap: 16px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  padding: 26px 26px 26px 68px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 38px rgba(15,79,91,0.07);
}
.timeline-item span {
  position: absolute;
  left: 12px;
  top: 28px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  outline: 8px solid #f4eadb;
}
.timeline-item p { margin-top: 10px; }

.contact-section { padding-top: 30px; }
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 34px;
  align-items: center;
  padding: 44px;
  border-radius: var(--radius-xl);
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-card p:not(.eyebrow) { margin-top: 16px; max-width: 680px; font-size: 1.08rem; }
.contact-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: #f4f8f8;
}
.contact-panel a,
.contact-panel address {
  display: block;
  margin: 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: white;
  border: 1px solid var(--line);
  font-style: normal;
}
.contact-panel small { display: block; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }
.contact-panel strong { display: block; margin-top: 4px; color: var(--ink); }

.footer {
  padding: 34px 0;
  color: rgba(255,255,255,0.78);
  background: #0a242a;
}
.footer strong { color: white; font-size: 1.1rem; }
.footer p { margin-top: 6px; color: rgba(255,255,255,0.62); }
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-links a { color: rgba(255,255,255,0.72); font-weight: 800; }
.footer-links a:hover { color: white; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 620ms ease, transform 620ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-header { border-radius: 24px; align-items: flex-start; flex-wrap: wrap; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 12px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { width: 100%; }
  .hero-grid,
  .split,
  .cards-grid,
  .commodities-grid,
  .footprint,
  .contact-card { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 128px; }
  .cards-grid { gap: 16px; }
  .service-card { min-height: 260px; }
  .contact-card { padding: 28px; }
  .quick-stats { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header { width: min(calc(100% - 24px), var(--container)); inset-block-start: 12px; }
  .brand img { width: 68px; }
  .brand span { font-size: 0.95rem; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
  .hero { padding-bottom: 58px; }
  .section { padding: 68px 0; }
  .ship-photo { min-height: 280px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .service-card { padding: 26px; }
  .card-number { margin-bottom: 44px; }
  .contact-card { padding: 20px; border-radius: 24px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}
