/* ===== Tampa Boat Wraps — base styles ===== */
:root {
  --navy: #0a2540;
  --navy-700: #0a4570;
  --blue: #0077b6;
  --aqua: #00b4d8;
  --aqua-light: #e6f6fb;
  --orange: #ff6b35;
  --ink: #1b2733;
  --muted: #5f6c7b;
  --line: #e3e9ee;
  --bg: #ffffff;
  --bg-soft: #f6f9fb;
  --max: 1200px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 14px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 12px 30px rgba(10, 37, 64, 0.10);
}

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

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: 'Manrope', 'Inter', sans-serif; color: var(--navy); margin: 0 0 .5em; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; }
h2.section-title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; text-align: center; margin-bottom: 48px; }
h2.section-title.left { text-align: left; }
h3 { font-size: 20px; font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; color: var(--muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--aqua); color: #fff; }
.btn-primary:hover { background: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.full-btn { width: 100%; justify-content: center; padding: 16px 22px; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo svg { height: 44px; width: auto; }
.primary-nav { flex: 1; }
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-link {
  background: none; border: 0; padding: 0;
  color: var(--navy);
  font-size: 15px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-link:hover { color: var(--aqua); }
.caret {
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  display: inline-block;
  margin-top: -3px;
}
.has-menu { position: relative; }
.submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .15s ease, transform .15s ease;
}
/* Invisible bridge so the cursor can cross the gap between parent
   button and submenu without triggering the close. */
.submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
.submenu a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--navy);
  border-radius: 8px;
  font-weight: 500;
}
.submenu a:hover { background: var(--aqua-light); color: var(--blue); }
.has-menu:hover .submenu,
.has-menu:focus-within .submenu { opacity: 1; pointer-events: auto; transform: translateY(0); }

.phone-btn { padding: 12px 20px; font-size: 14px; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  width: 24px; height: 2.5px; background: var(--navy); border-radius: 3px;
}

/* ===== Hero ===== */
.hero {
  padding: 64px 0 80px;
  background: linear-gradient(180deg, #f3fafd 0%, #ffffff 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-copy .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 18px;
  padding: 6px 14px;
  background: var(--aqua-light);
  border-radius: 999px;
}
.hero-copy .lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.hero-visual svg,
.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%; height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ===== Trusted By ===== */
.trusted {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--line);
}
.trusted-title {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.logo-strip {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: 48px 56px;
}
.brand-logo {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #8c9aa5;
  letter-spacing: 0.05em;
  opacity: 0.85;
  transition: opacity .2s ease, color .2s ease;
  flex-shrink: 0;
}
.brand-logo:hover { opacity: 1; color: var(--navy); }
.brand-logo-img {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(100%);
  transition: opacity .25s ease, filter .25s ease;
  flex-shrink: 0;
}
.brand-logo-img:hover { opacity: 1; filter: none; }
/* Freeman logo has lots of internal whitespace — boost it significantly */
.brand-logo-img--freeman {
  height: 180px;
  max-width: 640px;
}
/* Logos that are white-on-transparent — flip to black so they show on light bg */
.brand-logo-img--invert {
  filter: brightness(0);
  opacity: 0.55;
}
.brand-logo-img--invert:hover {
  filter: brightness(0);
  opacity: 1;
}

/* ===== Logo Marquee (auto-scrolling carousel) ===== */
.logo-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: logo-scroll 45s linear infinite;
  will-change: transform;
}
.logo-marquee:hover .logo-marquee-track {
  animation-play-state: paused;
}
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 32px)); } /* -50% - half of gap to keep continuity */
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track { animation: none; }
}

/* ===== Services ===== */
.services { padding: 96px 0; background: var(--bg-soft); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  display: block;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-img {
  aspect-ratio: 16 / 9;
  display: flex; align-items: center; justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .35s ease;
}
.service-img svg { width: 60%; height: auto; }
.service-card:hover .service-img { transform: scale(1.04); }
.service-body {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 24px;
}
.service-body h3 { margin: 0; font-size: 18px; }
.service-body .arrow {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--aqua-light);
  color: var(--aqua);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.service-card:hover .arrow { background: var(--aqua); color: #fff; transform: translateX(4px); }

/* ===== Process ===== */
.process { padding: 96px 0; }
.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 48px;
}
.process-step {
  text-align: center;
  padding: 16px;
}
.step-icon { display: inline-flex; margin-bottom: 18px; }
.step-icon svg { width: 72px; height: 72px; }
.process-step h4 { font-size: 20px; margin-bottom: 10px; }
.process-step p { color: var(--muted); font-size: 15px; max-width: 280px; margin-left: auto; margin-right: auto; }
.step-line { padding-top: 50px; }
.step-line svg { width: 140px; height: 20px; }
.process-ctas {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* ===== About / Why ===== */
.about {
  padding: 96px 0;
  background: var(--bg-soft);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual svg,
.about-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%; height: auto;
  display: block;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.about-lead { font-size: 17px; margin-bottom: 32px; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}
.why-item { }
.why-icon { margin-bottom: 14px; }
.why-icon svg { width: 56px; height: 56px; }
.why-item h4 { font-size: 17px; margin-bottom: 6px; }
.why-item p { font-size: 14.5px; margin: 0; }

/* ===== FAQ ===== */
.faq { padding: 96px 0; }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 24px;
  margin-bottom: 14px;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--aqua); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-arrow {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--aqua-light);
  color: var(--aqua);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px;
  transition: transform .2s ease, background .2s ease, color .2s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-arrow { transform: rotate(90deg); background: var(--aqua); color: #fff; }
.faq-item p { padding-bottom: 20px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ===== Contact ===== */
.contact {
  padding: 96px 0;
  background: linear-gradient(180deg, #f3fafd 0%, #e6f6fb 100%);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.contact-info h3 {
  font-size: 32px;
  margin-bottom: 12px;
}
.contact-lead { font-size: 16px; margin-bottom: 32px; max-width: 380px; }
.contact-items {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 22px;
}
.contact-items li {
  display: flex; gap: 16px; align-items: center;
}
.contact-ico {
  width: 56px; height: 56px;
  background: #fff;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.contact-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 2px;
}
.contact-value {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
}

.contact-form {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  gap: 6px;
  margin-bottom: 16px;
}
.contact-form label.full { width: 100%; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #f9fbfc;
  font-weight: 400;
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--aqua);
  background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.form-success {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  background: #d1f4e0;
  color: #0a6b3b;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  color: #cdd6df;
  padding: 56px 0 28px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand svg { height: 50px; width: auto; margin-bottom: 12px; }
.footer-tag { color: #95a5b5; max-width: 320px; font-size: 14px; margin: 0; }
.footer-contact {
  display: flex; flex-direction: column; gap: 8px;
  font-family: 'Manrope', sans-serif; font-weight: 600;
}
.footer-contact a { color: #fff; }
.footer-contact a:hover { color: var(--aqua); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding-top: 24px;
  font-size: 13px;
  color: #95a5b5;
}
.footer-legal { display: flex; align-items: center; gap: 10px; }
.footer-legal a:hover { color: var(--aqua); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .step-line { display: none; }
}
@media (max-width: 760px) {
  .primary-nav, .phone-btn { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .nav-wrap { gap: 16px; }

  .primary-nav.open {
    display: block;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 16px 24px;
  }
  .primary-nav.open ul { flex-direction: column; align-items: flex-start; gap: 14px; }
  .primary-nav.open .submenu {
    position: static; opacity: 1; pointer-events: auto; transform: none;
    box-shadow: none; border: 0; padding: 6px 0 0 12px; min-width: 0;
  }

  .form-row { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 56px; }
  .services, .process, .about, .faq, .contact { padding: 64px 0; }
}
