:root {
  --navy: #0a1c38;
  --navy2: #12294a;
  --navy-deep: #071730;
  --gold: #c8963a;
  --gold-light: #e2b769;
  --cream: #f7f5f0;
  --ink: #1a2436;
  --line: #e4ddd0;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Work Sans', Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
}

html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body { margin: 0; padding: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); margin: 0; }

/* language toggle: default to English visible, Spanish hidden */
[data-lang="es"] { display: none; }
html[lang="es"] [data-lang="en"] { display: none; }
html[lang="es"] [data-lang="es"] { display: inline; }

.section { padding: 150px 64px; background: var(--cream); }
.section-inner { max-width: 1180px; margin: 0 auto; }
.eyebrow { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 0.16em; margin: 0 0 14px 0; text-transform: uppercase; }
.eyebrow.light { color: var(--gold-light); }
h2 { font-size: 38px; color: var(--navy); font-weight: 700; margin: 0 0 20px 0; }
h2.light { color: #fff; }
.lead { color: #4a5468; font-size: 16px; line-height: 1.75; max-width: 680px; margin-bottom: 36px; }
.lead.light { color: rgba(255,255,255,0.82); max-width: 620px; margin-bottom: 24px; }
.body-text { font-size: 16px; line-height: 1.8; color: var(--ink); margin: 0 0 18px 0; }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, 0.4); border-bottom: 2px solid var(--gold); transition: background 0.3s ease; }
.site-header.scrolled { background: rgba(10, 28, 56, 0.9); backdrop-filter: blur(6px); }
.header-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 84px; padding: 0 64px; }
.logo-link { display: flex; align-items: center; height: 100%; }
.logo-img { height: 58px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav a { font-size: 14px; font-weight: 500; color: var(--cream); white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.lang-btn { border: 1px solid var(--cream); background: transparent; color: var(--cream); font-family: var(--sans); font-weight: 600; font-size: 13px; padding: 8px 12px; border-radius: 3px; cursor: pointer; letter-spacing: 0.05em; }
.header-cta { display: inline-block; background: var(--gold); color: var(--navy); font-weight: 600; font-size: 14px; padding: 12px 22px; border-radius: 3px; }
.header-cta:hover { color: #fff; opacity: 0.9; }
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: none; cursor: pointer; padding: 0; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 0 auto; }

.mobile-menu { display: none; flex-direction: column; padding: 24px 28px; gap: 4px; position: fixed; top: 84px; left: 0; right: 0; bottom: 0; z-index: 49; background: var(--cream); overflow-y: auto; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 20px; font-weight: 500; color: var(--navy); padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); }
.lang-btn.mobile { margin-top: 20px; width: fit-content; }

/* hero */
.hero { position: relative; min-height: 80vh; display: flex; align-items: center; background-image: url(../images/hero-ship.jpg); background-size: cover; background-position: center; background-attachment: fixed; margin-top: -86px; }
/*.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,28,56,0.9) 0%, rgba(10,28,56,0.7) 45%, rgba(10,28,56,0.4) 100%); }*/
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(2, 9, 19, 0.9) 0%, rgba(6, 18, 37, 0.7) 45%, rgba(4, 19, 41, 0.4) 100%); }
.hero-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 84px 64px 0; width: 100%; display: flex; justify-content: center; }
.hero-content { max-width: 640px; text-align: center; }
.kicker { color: var(--gold); font-size: 14px; font-weight: 600; letter-spacing: 0.16em; margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: 62px; line-height: 1.12; font-weight: 700; margin: 0 0 22px 0; }
.hero-sub { color: rgba(255,255,255,0.88); font-size: 17px; line-height: 1.7; margin: 0 auto 36px; max-width: 560px; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.btn { font-weight: 700; font-size: 15px; padding: 16px 28px; border-radius: 3px; display: inline-block; transition: transform 0.25s var(--ease), background 0.25s var(--ease); border: none; cursor: pointer; font-family: var(--sans); }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-3px); }
.btn-secondary { border: 1px solid rgba(255,255,255,0.6); color: #fff; background: transparent; font-weight: 600; padding: 15px 28px; }
.btn-secondary:hover { background: rgba(255,255,255,0.12); color: #fff; transform: translateY(-3px); }

/* cards */
.grid { display: grid; gap: 28px; margin-top: 12px; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 32px 28px; }
.card-num { font-family: var(--serif); color: var(--gold); font-size: 22px; font-weight: 700; display: block; margin-bottom: 14px; }
.card h3 { font-size: 21px; color: var(--navy); font-weight: 700; margin: 0 0 10px 0; }
.card p { font-size: 15px; line-height: 1.7; color: #4a5468; margin: 0; }

.hover-card { transform: translateY(0) scale(1); box-shadow: none; transition: transform 0.4s var(--ease-bounce), box-shadow 0.3s ease, border-color 0.3s ease; }
.hover-card:hover { transform: translateY(-10px) scale(1.03); box-shadow: 0 22px 44px rgba(10,28,56,0.16); border-color: var(--gold); }

/* approach */
.approach-section { position: relative; padding: 150px 64px; overflow: hidden; }
.approach-bg { position: absolute; top: -15%; left: 0; right: 0; height: 130%; background-image: url(../images/tugboat-harbor.jpg); background-size: cover; background-position: center; will-change: transform; }
/*.approach-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,23,48,0.92) 0%, rgba(10,28,56,0.88) 100%); }*/
.approach-overlay { position: absolute; inset: 0; background: rgba(1, 5, 17, 0.8); }
.approach-inner { position: relative; z-index: 1; }
.approach-grid { grid-template-columns: repeat(3, 1fr); }
.approach-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); border-radius: 6px; padding: 30px 26px; transform: translateY(0) scale(1); transition: transform 0.4s var(--ease-bounce), background 0.3s ease, border-color 0.3s ease; }
.approach-card:hover { background: rgba(255,255,255,0.12); border-color: var(--gold); transform: translateY(-10px) scale(1.03); }
.approach-card h3 { font-size: 20px; color: #fff; font-weight: 700; margin: 0 0 10px 0; }
.approach-card p { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.78); margin: 0; }

/* registries */
.registries-section { padding: 150px 64px; background: var(--navy); overflow: hidden; }
.registries-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.registries-img-col img { width: 100%; height: 340px; object-fit: cover; border-radius: 6px; }
.chips-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { border: 1px solid var(--gold-light); color: #fff; font-size: 14px; font-weight: 500; padding: 10px 20px; border-radius: 999px; background: rgba(255,255,255,0.04); display: inline-block; transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease; }
.chip:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }

/* why */
.why-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; margin-top: 12px; }
.why-img-col img { width: 100%; height: 460px; object-fit: cover; border-radius: 6px; }
.why-grid { grid-template-columns: repeat(2, 1fr); }
.why-mark { display: block; width: 34px; height: 3px; background: var(--gold); margin-bottom: 16px; }
.why-title { font-family: var(--serif); font-size: 18px; color: var(--navy); font-weight: 700; margin: 0 0 8px 0; line-height: 1.3; }
.why-desc { font-size: 14px; line-height: 1.65; color: #4a5468; margin: 0; }

/* cta band */
.cta-band { background: var(--gold); }
.cta-band-inner { max-width: 1180px; margin: 0 auto; padding: 52px 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band-text { font-family: var(--serif); font-size: 28px; color: var(--navy); font-weight: 700; margin: 0; }
.btn-cta-band { background: var(--navy); color: #fff; white-space: nowrap; }
.btn-cta-band:hover { background: var(--navy2); color: #fff; transform: translateY(-3px); }

/* about */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-col img { width: 100%; height: 380px; object-fit: cover; border-radius: 6px; }
.values-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.value-badge { font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: 0.08em; border: 1px solid var(--gold); border-radius: 999px; padding: 8px 16px; }

/* industries */
.industries-section { padding: 150px 64px; background: #efece3; overflow: hidden; }
.industries-grid { grid-template-columns: repeat(4, 1fr); }

/* contact */
.contact-section { padding: 150px 64px; background: var(--navy); overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; margin-top: 8px; }
.contact-lead { color: rgba(255,255,255,0.85); font-size: 16px; line-height: 1.7; margin-bottom: 28px; }
.contact-row { margin-bottom: 20px; }
.contact-label { display: block; color: var(--gold-light); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; margin-bottom: 6px; text-transform: uppercase; }
.contact-value { color: #fff; font-size: 15px; line-height: 1.6; margin: 0; }
.contact-link { color: #fff; font-size: 15px; font-weight: 500; }
.contact-link:hover { color: var(--gold-light); }

.btn-whatsapp { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; background: #25d366; color: var(--navy); transition: transform 0.25s var(--ease); }
.btn-whatsapp:hover { color: var(--navy); transform: translateY(-3px); }
.wa-icon { width: 17px; height: 13px; background: #fff; border-radius: 3px; position: relative; display: inline-block; }
.wa-icon-tail { position: absolute; left: 3px; bottom: -4px; width: 0; height: 0; border-style: solid; border-width: 4px 4px 0 0; border-color: #fff transparent transparent transparent; }
.contact-form { display: flex; flex-direction: column; gap: 16px; background: #fff; padding: 36px; border-radius: 6px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--navy); letter-spacing: 0.04em; }
.contact-form input, .contact-form select, .contact-form textarea { border: 1px solid var(--line); border-radius: 3px; padding: 12px 14px; font-size: 15px; font-family: var(--sans); color: var(--ink); }
.contact-form textarea { resize: vertical; }
.btn-form-submit { margin-top: 6px; background: var(--navy); color: #fff; }
.btn-form-submit:hover { background: var(--navy2); color: #fff; transform: translateY(-3px); }

/* footer */
.site-footer { background: var(--navy-deep); padding: 72px 64px 0; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-logo { height: 120px; width: auto; object-fit: contain; object-position: left top; }
.footer-tagline { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.7; max-width: 320px; margin: 0; }
.footer-heading { color: #fff; font-family: var(--serif); font-size: 17px; font-weight: 700; margin: 0 0 4px 0; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { max-width: 1180px; margin: 0 auto; padding: 24px 0; }
.footer-bottom p { color: rgba(255,255,255,0.45); font-size: 13px; margin: 0; }

/* back to top */
.back-to-top { position: fixed; right: 28px; bottom: 28px; z-index: 60; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--gold); border: 1px solid var(--gold-light); font-size: 20px; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(10,28,56,0.3); transition: transform 0.25s var(--ease), background 0.25s var(--ease); }
.back-to-top.visible { display: flex; }
.back-to-top:hover { transform: translateY(-4px); background: var(--navy2); }

/* floating whatsapp button */
.float-whatsapp { position: fixed; left: 28px; bottom: 28px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px rgba(37,211,102,0.18), 0 8px 24px rgba(0,0,0,0.25); transition: transform 0.25s var(--ease); }
.float-whatsapp:hover { transform: translateY(-4px) scale(1.05); }
.float-whatsapp svg { width: 30px; height: 30px; fill: #fff; }

/* ---- responsive ---- */
@media (max-width: 1140px) {
  .main-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .services-grid, .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: 1fr; }
  .registries-layout, .why-layout, .about-inner, .contact-grid { grid-template-columns: 1fr; }
  .why-img-col { order: 0; }
  .why-text-col { order: 1; }
  .about-img-col { order: 1; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .section, .industries-section, .registries-section, .contact-section, .approach-section { padding: 110px 40px; }
}

@media (max-width: 560px) {
  .header-inner { height: 64px; padding: 0 20px; }
  .logo-img { height: 42px; }
  .mobile-menu { top: 64px; }
  .hero { margin-top: -64px; }
  .hero-inner { padding-top: 64px; }
  .section, .approach-section, .registries-section, .industries-section, .contact-section { padding: 72px 20px; }
  .cta-band-inner { padding: 40px 20px; }
  h2 { font-size: 28px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 15px; }
  .services-grid, .industries-grid, .why-grid { grid-template-columns: 1fr; }
  .registries-img-col img, .why-img-col img { height: 220px; }
  .about-img-col img { height: 240px; }
  .back-to-top, .btn { font-size: 14px; }
  .footer-inner { grid-template-columns: 1fr; }
  .site-footer { padding: 48px 20px 0; }
  .footer-logo { height: 130px; }
  .float-whatsapp { width: 52px; height: 52px; left: 16px; bottom: 16px; }
  .float-whatsapp svg { width: 26px; height: 26px; }
  .back-to-top { right: 16px; bottom: 16px; }
}
