/* ═══════════════════════════════════════════
   MARINE DIESEL & INDUSTRIAL — SHARED STYLES
   Replace GA_MEASUREMENT_ID with G-XXXXXXXXXX
   ═══════════════════════════════════════════ */

:root {
  --navy:     #0a1628;
  --navy-mid: #0e1f3d;
  --steel:    #1c3558;
  --ocean:    #1a4a6b;
  --cyan:     #00b4d8;
  --red:      #EF3340;
  --gold:     #c8963e;
  --white:    #f0f4f8;
  --gray:     #8fa3b8;
  --light:    #d0dde8;
  --max:      1200px;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 180, 216, .3);
}

/* ── TOP BAR ── */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 201;
  background: #060e1c;
  padding: .5rem 3rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.top-bar span, .top-bar a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .72rem;
  letter-spacing: .15em;
  color: var(--gray);
  text-transform: uppercase;
  text-decoration: none;
}
.top-bar a { color: var(--cyan); }

/* ── NAV ── */
nav {
  position: fixed;
  top: calc(2.1rem - 2px); left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem max(3rem, calc((100% - var(--max)) / 2));
  background: rgba(10,22,40,.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,180,216,.1);
  transition: padding .3s;
}
.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 90px;
  width: auto;
  display: block;

}
.footer-logo-img {
  height: 56px;
  width: auto;
  display: block;

  margin-bottom: .8rem;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--light);
  text-decoration: none;
  transition: color .2s;
  position: relative;
}
.nav-links a:hover { color: var(--cyan); }
.nav-links a.active { color: var(--cyan); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--cyan);
}
.nav-cta {
  background: var(--cyan) !important;
  color: var(--navy) !important;
  padding: .5rem 1.3rem !important;
  font-weight: 700 !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--red) !important; color: var(--navy) !important; }
.nav-cta.active::after { display: none; }

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cyan);
  transition: transform .3s, opacity .3s, background-color .3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: rgba(10,22,40,.98);
  z-index: 199;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(0,180,216,.1);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.mobile-menu a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--light);
  text-decoration: none;
  display: block;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--cyan);
  color: var(--navy);
  padding: .85rem 1.9rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover { background: var(--red); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(239,51,64,.38); }

.btn-outline {
  border: 1px solid rgba(240,244,248,.2);
  color: var(--light);
  padding: .85rem 1.9rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-gold {
  background: var(--red);
  color: var(--navy);
  padding: .85rem 1.9rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: opacity .2s, transform .15s;
}
.btn-gold:hover { opacity: .85; transform: translateY(-1px); }

/* ── SECTION COMMONS ── */
section { padding: 6.5rem 3rem; }
.inner { max-width: var(--max); margin: 0 auto; }

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .72rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label::before { content: ''; width: 28px; height: 1px; background: var(--red); }
.section-label.gold { color: var(--red); }
.section-label.gold::before { background: var(--red); }

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  letter-spacing: .04em;
  line-height: .95;
  margin-bottom: 1.4rem;
}

.divider { width: 100%; height: 1px; background: linear-gradient(90deg,transparent,rgba(0,180,216,.18),transparent); }

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  padding: 10rem 3rem 5rem;
  background: linear-gradient(160deg, var(--navy-mid) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: attr(data-word);
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14rem;
  color: rgba(255,255,255,.025);
  pointer-events: none;
  line-height: 1;
  letter-spacing: -.02em;
}
.page-hero .inner { position: relative; z-index: 1; }
.page-hero p {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.78;
  margin-top: 1rem;
}
.breadcrumb {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--cyan); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }

/* ── TICKER ── */
.ticker { background: var(--red); padding: .55rem 0; overflow: hidden; white-space: nowrap; }
.ticker-inner { display: inline-flex; animation: ticker 38s linear infinite; }
.ticker-item { font-family: 'Barlow Condensed', sans-serif; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); padding: 0 2.5rem; }
.ticker-dot { color: var(--navy); opacity: .3; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── FUNNEL FORM ── */
.funnel-wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 5rem;
  align-items: start;
}
.funnel-card {
  background: rgba(14,31,61,.7);
  border: 1px solid rgba(0,180,216,.15);
  padding: 2.5rem;
  backdrop-filter: blur(8px);
}
.funnel-card.gold-border { border-color: rgba(239,51,64,.22); }
.funnel-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  letter-spacing: .06em;
  margin-bottom: .3rem;
}
.funnel-card-sub { font-size: .82rem; color: var(--gray); margin-bottom: 2rem; line-height: 1.5; }
.funnel-form { display: flex; flex-direction: column; gap: .8rem; }
.is-hidden { display: none !important; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.f-group { display: flex; flex-direction: column; gap: .32rem; }
.f-group label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gray);
}
.f-group input, .f-group select, .f-group textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--white);
  padding: .72rem .9rem;
  font-family: 'Barlow', sans-serif;
  font-size: .87rem;
  font-weight: 300;
  outline: none;
  width: 100%;
  transition: border-color .2s, background .2s;
}
.f-group input:focus, .f-group select:focus, .f-group textarea:focus {
  border-color: var(--cyan);
  background: rgba(0,180,216,.04);
}
.f-group.gold input:focus, .f-group.gold select:focus, .f-group.gold textarea:focus {
  border-color: var(--red);
  background: rgba(239,51,64,.04);
}
.f-group select option { background: var(--navy); }
.f-group textarea { resize: vertical; min-height: 95px; }
.funnel-privacy { font-size: .7rem; color: rgba(143,163,184,.5); text-align: center; margin-top: .4rem; line-height: 1.5; }
.success-msg {
  display: none;
  background: rgba(0,180,216,.07);
  border: 1px solid rgba(0,180,216,.25);
  padding: 2rem;
  text-align: center;
}
.success-msg h4 { font-family: 'Bebas Neue', sans-serif; font-size: 1.7rem; letter-spacing: .06em; color: var(--cyan); margin-bottom: .6rem; }
.success-msg p { font-size: .88rem; color: var(--light); line-height: 1.65; }
.success-msg a { color: var(--cyan); }

/* Trust list */
.trust-list { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: .85rem; }
.trust-list li {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--light);
}
.trust-icon {
  width: 34px; height: 34px;
  background: rgba(0,180,216,.08);
  border: 1px solid rgba(0,180,216,.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .82rem;
}
.trust-icon.gold { background: rgba(239,51,64,.08); border-color: rgba(239,51,64,.2); }

/* ── FOOTER ── */
footer {
  background: linear-gradient(180deg, rgba(239,51,64,.055) 0%, #060e1c 18%, #060e1c 100%);
  padding: 2.5rem 3rem;
  border-top: 2px solid #EF3340;
}
.footer-flag {
  display: block;
  margin-top: 1.4rem;
  width: 140px;
  height: auto;
  opacity: .82;
  box-shadow: 0 2px 12px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.08);
  transition: opacity .3s;
}
.footer-flag:hover { opacity: 1; }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.footer-brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: .1em;
  margin-bottom: .8rem;
}
.footer-brand-name span { color: var(--cyan); }
.footer-tagline { font-size: .8rem; color: rgba(143,163,184,.5); line-height: 1.65; max-width: 240px; }
.footer-col-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-links a {
  font-size: .82rem;
  color: var(--gray);
  text-decoration: none;
  transition: color .2s;
}
/* ── FAQ SECTION ── */
.faq-section { background: var(--navy-mid); padding: 5rem 3rem; border-top: 1px solid rgba(0,180,216,.08); }
.faq-list { margin-top: 3rem; display: flex; flex-direction: column; gap: .5rem; max-width: 860px; }
.faq-item { border: 1px solid rgba(0,180,216,.12); background: rgba(10,22,40,.5); transition: border-color .3s; }
.faq-item[open] { border-color: rgba(0,180,216,.3); }
.faq-q {
  list-style: none;
  padding: 1.3rem 1.8rem;
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .98rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; font-family: 'Barlow', sans-serif; font-size: 1.3rem; font-weight: 300; color: var(--cyan); flex-shrink: 0; line-height: 1; }
.faq-item[open] .faq-q::after { content: '−'; }
.faq-a { padding: 0 1.8rem 1.4rem; font-size: .88rem; line-height: 1.85; color: var(--gray); border-top: 1px solid rgba(0,180,216,.07); padding-top: 1rem; }
@media(max-width:768px) { .faq-section { padding: 3.5rem 1.5rem; } .faq-q { font-size: .9rem; padding: 1.1rem 1.3rem; } .faq-a { padding: 0 1.3rem 1.2rem; padding-top: .9rem; } }

.footer-links a:hover { color: var(--white); }
.footer-contact-item { font-size: .82rem; color: var(--gray); line-height: 1.7; }
.footer-contact-item a { color: var(--cyan); text-decoration: none; }
.footer-bottom {
  max-width: var(--max);
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .74rem;
  color: rgba(143,163,184,.35);
}
.footer-bottom-keywords { font-size: .66rem; opacity: .5; }
.footer-yanmar-badge {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .38rem;
}
.footer-yanmar-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .58rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gray);
  opacity: .4;
}
.footer-yanmar-logo {
  height: 18px;
  width: auto;
  display: block;
  opacity: .65;
  transition: opacity .3s;
}
.footer-yanmar-logo:hover { opacity: 1; }

/* ── MOBILE STICKY CTA BAR ── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 250;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -4px 20px rgba(0,0,0,.4);
}
@media(max-width:960px) {
  .mobile-cta-bar { display: grid; }
  body { padding-bottom: 54px; }
}
.mobile-cta-call {
  background: var(--cyan);
  color: var(--navy);
  padding: 1rem;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  transition: background .2s;
}
.mobile-cta-call:hover { background: var(--red); color: var(--white); }
.mobile-cta-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 1rem;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  transition: background .2s;
}
.mobile-cta-whatsapp:hover { background: #1da851; }

/* ── COOKIE CONSENT ── */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 280;
  background: rgba(6,14,28,.97);
  border: 1px solid rgba(0,180,216,.22);
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-banner-text {
  font-size: .8rem;
  line-height: 1.55;
  color: var(--light);
  max-width: 760px;
}
.cookie-banner-actions {
  display: flex;
  gap: .6rem;
  flex-shrink: 0;
}
.cookie-btn {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.03);
  color: var(--light);
  padding: .62rem .95rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}
.cookie-btn-accept {
  background: var(--cyan);
  color: var(--navy);
  border-color: var(--cyan);
  font-weight: 700;
}
.cookie-btn-decline:hover { border-color: var(--white); color: var(--white); }
.cookie-btn-accept:hover { background: var(--red); border-color: var(--red); color: var(--white); }

/* ── PHOTO SHOWCASE ── */
.photo-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  height: 320px;
  overflow: hidden;
}
.photo-showcase.single {
  grid-template-columns: 1fr;
}
.photo-showcase img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: brightness(.85) saturate(.85);
  transition: filter .5s;
}
.photo-showcase img:nth-child(2) {
  align-self: end;
}
.photo-showcase img:hover { filter: brightness(.95) saturate(1); }
@media(max-width:600px) {
  .photo-showcase { grid-template-columns: 1fr; height: auto; overflow: visible; }
  .photo-showcase img { height: 240px; }
  .photo-showcase img:nth-child(2) { align-self: auto; }
}

/* ── TESTIMONIAL ── */
.testimonial-section { background: var(--navy-mid); padding: 5rem 0; }
.testimonial-inner { max-width: 820px; margin: 0 auto; text-align: center; padding: 0 1.5rem; }
.testimonial-quote { font-size: 1.15rem; line-height: 1.95; color: var(--light); font-style: italic; margin-bottom: 2.5rem; position: relative; padding: 0 1rem; }
.testimonial-quote::before { content: '\201C'; font-size: 6rem; color: var(--cyan); opacity: .18; position: absolute; top: -2.8rem; left: 0; font-style: normal; line-height: 1; pointer-events: none; }
.testimonial-author { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: .3rem; }
.testimonial-vessel { color: var(--gray); font-size: .82rem; }
.testimonial-stats { display: flex; gap: 3rem; justify-content: center; margin-top: 3.5rem; flex-wrap: wrap; }
.testimonial-stat { text-align: center; }
.testimonial-stat-num { font-size: 2.4rem; font-weight: 800; color: var(--cyan); line-height: 1; }
.testimonial-stat-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gray); margin-top: .35rem; }
@media(max-width:600px) {
  .testimonial-stats { gap: 1.5rem; }
  .testimonial-stat-num { font-size: 1.9rem; }
  .testimonial-quote { font-size: 1rem; }
}

/* ── WAVE ANIMATION ── */
@keyframes waveScroll { 0%{transform:translateX(-50%) skewX(-2deg);}50%{transform:translateX(0%) skewX(2deg);}100%{transform:translateX(-50%) skewX(-2deg);} }
@keyframes fadeUp { from{opacity:0;transform:translateY(38px);}to{opacity:1;transform:translateY(0);} }

/* ── RESPONSIVE ── */
@media(max-width:960px) {
  .top-bar { display: none; }
  nav { padding: 1rem 1.5rem; top: 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  section { padding: 5rem 1.5rem; }
  .page-hero { padding: 8rem 1.5rem 4rem; }
  .page-hero::before { font-size: 7rem; }
  .funnel-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .f-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .cookie-banner {
    bottom: 58px;
    left: .7rem;
    right: .7rem;
    flex-direction: column;
    align-items: flex-start;
    padding: .9rem;
  }
  .cookie-banner-actions { width: 100%; }
  .cookie-btn { flex: 1; }
}
@media(max-width:600px) {
  .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
