/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --sky:       #8ECAE6;
  --ocean:     #219EBC;
  --midnight:  #023047;
  --gold:      #FFB703;
  --flame:     #FB8500;
  --white:     #FFFFFF;
  --off-white: #F4F9FC;
  --text-dark: #021A2B;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --sz-xs:   0.75rem;
  --sz-sm:   0.875rem;
  --sz-base: 1rem;
  --sz-lg:   1.125rem;
  --sz-xl:   1.25rem;
  --sz-2xl:  1.5rem;
  --sz-3xl:  2rem;
  --sz-4xl:  2.5rem;
  --sz-5xl:  3rem;
  --sz-hero: clamp(2.5rem, 6vw, 4.5rem);

  --radius:  8px;
  --trans:   all 0.25s ease;
  --shadow:  0 4px 24px rgba(2, 48, 71, 0.12);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Utility ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--sz-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 12px;
}
.eyebrow--center { text-align: center; }
.eyebrow--light  { color: var(--sky); }

.section-title {
  font-family: var(--font-display);
  font-size: var(--sz-4xl);
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 48px;
  line-height: 1.15;
}
.section-title--light { color: var(--white); text-align: center; }

/* ── Scroll Reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--midnight);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--sz-base);
  padding: 14px 36px;
  border-radius: 50px;
  transition: var(--trans);
  border: 2px solid transparent;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--flame);
  color: var(--white);
  outline: none;
}
.btn-submit { width: 100%; justify-content: center; padding: 16px; font-size: var(--sz-lg); }

/* ── HEADER ─────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--midnight);
  border-bottom: 1px solid var(--ocean);
  transition: var(--trans);
}
#site-header.scrolled {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(2, 48, 71, 0.85);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-sailwind { color: var(--gold); font-size: 1.25rem; }
.logo-trading  { color: var(--white); font-size: 1.25rem; }

.nav-list {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-link {
  font-size: var(--sz-sm);
  font-weight: 500;
  color: var(--off-white);
  letter-spacing: 0.04em;
  transition: var(--trans);
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--trans);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ───────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  background-color: var(--midnight);
  background-image:
    radial-gradient(ellipse at 65% 40%, rgba(33, 158, 188, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 75%, rgba(33, 158, 188, 0.10) 0%, transparent 45%),
    linear-gradient(rgba(2, 48, 71, 0.70), rgba(2, 48, 71, 0.80)),
    url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?w=1920&h=1080&fit=crop&auto=format&q=80');
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}

.hero-content {
  padding: 80px 24px 120px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--sz-hero);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--sky);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--sky);
  font-size: var(--sz-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
  animation: wave-drift 6s ease-in-out infinite alternate;
}
.hero-wave svg { width: 100%; height: 80px; }

@keyframes wave-drift {
  from { transform: translateX(-8px) scaleY(1); }
  to   { transform: translateX(8px) scaleY(1.06); }
}

/* ── ABOUT ──────────────────────────────────────────────────── */
#about {
  padding: 64px 0;
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: var(--sz-4xl);
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 24px;
  line-height: 1.15;
}

.about-text p {
  color: #2a4a5e;
  font-size: var(--sz-base);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 16px;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.stat-box {
  flex: 1;
  min-width: 120px;
  background: var(--white);
  border: 1px solid rgba(142, 202, 230, 0.4);
  border-radius: var(--radius);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  color: var(--midnight);
}
.stat-box i { color: var(--ocean); margin-bottom: 4px; font-size: 1.5rem; }
.stat-box strong { font-size: var(--sz-xl); font-weight: 700; color: var(--gold); }
.stat-box span { font-size: var(--sz-xs); font-weight: 500; color: var(--midnight); letter-spacing: 0.04em; }

/* Card Stack */
.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}

.card-stack {
  position: relative;
  width: 280px;
  height: 320px;
}

.card-stack__card {
  position: absolute;
  width: 240px;
  height: 280px;
  border-radius: 16px;
}

.card-stack__card--1 {
  background: var(--sky);
  opacity: 0.5;
  top: 30px;
  left: 40px;
  transform: rotate(8deg);
}
.card-stack__card--2 {
  background: var(--ocean);
  opacity: 0.7;
  top: 16px;
  left: 20px;
  transform: rotate(4deg);
}
.card-stack__card--3 {
  background: var(--midnight);
  border: 2px solid var(--ocean);
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  gap: 4px;
}

.card-stack__label {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.card-stack__sub {
  font-family: var(--font-body);
  font-size: var(--sz-sm);
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.06em;
}
.card-stack__loc {
  font-family: var(--font-body);
  font-size: var(--sz-xs);
  font-weight: 300;
  color: var(--sky);
  letter-spacing: 0.08em;
}

/* ── COMMODITIES ────────────────────────────────────────────── */
#commodities {
  padding: 64px 0;
  background: var(--white);
}

#commodities .section-title { text-align: center; }

.commodities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.commodity-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--off-white);
  box-shadow: 0 2px 12px rgba(2,48,71,0.06);
  transition: var(--trans);
}
.commodity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(2,48,71,0.14);
}

.card-bar { height: 5px; }
.card-bar--gold  { background: var(--gold); }
.card-bar--ocean { background: var(--ocean); }
.card-bar--flame { background: var(--flame); }

.card-img {
  height: 220px;
  overflow: hidden;
  background: var(--midnight);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.commodity-card:hover .card-img img { transform: scale(1.04); }

.card-body { padding: 28px 28px 32px; }
.card-icon { color: var(--midnight); margin-bottom: 16px; font-size: 2.25rem; display: block; }

.card-body h3 {
  font-family: var(--font-display);
  font-size: var(--sz-xl);
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 10px;
}
.card-body > p {
  font-size: var(--sz-sm);
  font-weight: 300;
  color: #3a5a6e;
  line-height: 1.7;
  margin-bottom: 18px;
}

.card-products {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.card-products li {
  font-size: var(--sz-sm);
  font-weight: 400;
  color: var(--midnight);
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-products .fa-circle-dot {
  color: var(--ocean);
  font-size: 0.45rem;
  flex-shrink: 0;
}

.card-markets {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--sz-xs);
  font-weight: 500;
  color: var(--ocean);
  letter-spacing: 0.03em;
  border-top: 1px solid rgba(142, 202, 230, 0.3);
  padding-top: 16px;
  margin-bottom: 0 !important;
}
.card-markets .fa-earth-americas { font-size: 0.85rem; flex-shrink: 0; }

/* ── WHY SAILWIND ───────────────────────────────────────────── */
#why {
  padding: 64px 0;
  background: var(--midnight);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 36px 28px;
  border: 1px solid rgba(142, 202, 230, 0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  transition: var(--trans);
}
.why-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--ocean);
}

.why-icon { color: var(--gold); font-size: 2rem; display: block; }

.why-item h3 {
  font-family: var(--font-display);
  font-size: var(--sz-xl);
  font-weight: 700;
  color: var(--white);
}
.why-item p {
  font-size: var(--sz-sm);
  font-weight: 300;
  color: var(--sky);
  line-height: 1.7;
  margin-bottom: 16px;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(142, 202, 230, 0.15);
  padding-top: 16px;
  margin-top: auto;
}
.why-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--sz-xs);
  font-weight: 400;
  color: rgba(142, 202, 230, 0.85);
  letter-spacing: 0.02em;
}
.why-list .fa-check {
  color: var(--gold);
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* ── CONTACT ────────────────────────────────────────────────── */
#contact {
  padding: 64px 0;
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: var(--sz-3xl);
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 32px;
  line-height: 1.2;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  font-size: var(--sz-sm);
  color: #2a4a5e;
  font-weight: 400;
}
.contact-detail i { color: var(--ocean); flex-shrink: 0; margin-top: 2px; font-size: 1rem; width: 20px; text-align: center; }
.contact-detail a { color: var(--midnight); font-weight: 500; transition: var(--trans); }
.contact-detail a:hover { color: var(--ocean); }

/* Map */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 420px;
}
.map-wrap iframe {
  flex: 1;
  width: 100%;
  min-height: 380px;
  border: none;
  display: block;
}
.map-credit {
  display: block;
  background: var(--white);
  padding: 8px 14px;
  font-size: var(--sz-xs);
  color: var(--ocean);
  text-align: right;
  transition: var(--trans);
}
.map-credit:hover { color: var(--midnight); }

/* ── FOOTER ─────────────────────────────────────────────────── */
#site-footer {
  background: var(--midnight);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .logo {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: var(--sz-sm);
  font-weight: 300;
  color: var(--sky);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 240px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}
.social-link {
  color: var(--sky);
  transition: var(--trans);
  font-size: 1.25rem;
}
.social-link:hover { color: var(--gold); }

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-size: var(--sz-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: var(--sz-sm);
  font-weight: 300;
  color: var(--sky);
  transition: var(--trans);
}
.footer-links a:hover { color: var(--gold); }

.footer-contact p {
  font-size: var(--sz-sm);
  font-weight: 300;
  color: var(--sky);
  line-height: 1.7;
  margin-bottom: 8px;
}
.footer-contact a { color: var(--sky); transition: var(--trans); }
.footer-contact a:hover { color: var(--gold); }

.footer-bar {
  border-top: 1px solid rgba(142, 202, 230, 0.15);
  padding: 20px 0;
  font-size: var(--sz-xs);
  font-weight: 300;
  color: var(--sky);
  letter-spacing: 0.03em;
}
.footer-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal-links a {
  color: rgba(142, 202, 230, 0.65);
  transition: var(--trans);
}
.footer-legal-links a:hover { color: var(--gold); }

/* ── RESPONSIVE — 768px ─────────────────────────────────────── */
@media (min-width: 768px) {
  #about    { padding: 96px 0; }
  #commodities { padding: 96px 0; }
  #why      { padding: 96px 0; }
  #contact  { padding: 96px 0; }
  #site-footer { padding-top: 96px; }

  .about-grid { grid-template-columns: 1fr 1fr; }
  .commodities-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

/* ── RESPONSIVE — 1200px ────────────────────────────────────── */
@media (min-width: 1200px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .container { padding: 0 40px; }
}

/* ── MOBILE NAV ─────────────────────────────────────────────── */
@media (max-width: 767px) {
  .hamburger { display: flex; }

  #main-nav {
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--midnight);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  #main-nav.open { transform: translateX(0); }

  .nav-list {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  .nav-link {
    font-size: var(--sz-xl);
    font-weight: 400;
  }

  form {
    grid-template-columns: 1fr;
  }

  .footer-bar-inner { justify-content: center; }
  .footer-legal-links { justify-content: center; }
}

/* ── INNER PAGES ────────────────────────────────────────────── */
.inner-banner {
  background: var(--midnight);
  background-image:
    radial-gradient(ellipse at 70% 50%, rgba(33, 158, 188, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse at 15% 80%, rgba(33, 158, 188, 0.08) 0%, transparent 50%);
  padding: 130px 0 72px;
  text-align: center;
}
.inner-banner .eyebrow { color: var(--sky); }
.inner-banner h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.1;
}
.inner-banner .banner-sub {
  color: rgba(142, 202, 230, 0.8);
  font-size: var(--sz-base);
  font-weight: 300;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

.legal-body {
  padding: 72px 0 96px;
  background: var(--white);
}
.legal-body .container { max-width: 820px; }

.legal-meta {
  background: var(--off-white);
  border: 1px solid rgba(142, 202, 230, 0.35);
  border-radius: var(--radius);
  padding: 18px 24px;
  margin-bottom: 52px;
  font-size: var(--sz-sm);
  color: #3a5a6e;
  line-height: 1.6;
}
.legal-meta strong { color: var(--midnight); }

.legal-section { margin-bottom: 52px; }
.legal-section h2 {
  font-family: var(--font-display);
  font-size: var(--sz-2xl);
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(142, 202, 230, 0.3);
  line-height: 1.2;
}
.legal-section h3 {
  font-family: var(--font-body);
  font-size: var(--sz-lg);
  font-weight: 600;
  color: var(--midnight);
  margin: 24px 0 10px;
}
.legal-section p {
  font-size: var(--sz-base);
  font-weight: 400;
  color: #2a4a5e;
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-section ul,
.legal-section ol {
  padding-left: 22px;
  margin-bottom: 14px;
}
.legal-section ul { list-style: disc; }
.legal-section ol { list-style: decimal; }
.legal-section li {
  font-size: var(--sz-base);
  color: #2a4a5e;
  line-height: 1.8;
  margin-bottom: 6px;
}
.legal-section a { color: var(--ocean); transition: var(--trans); }
.legal-section a:hover { color: var(--midnight); }
