/* ============================================================
   Ocean Plumbing Services LLC — "Oceanic Elegance" Theme
   Deep Navy #0A192F · Aqua Glow #00B4D8 · Ice White #F8FAFC
   ============================================================ */

:root {
  --navy: #0A192F;
  --navy-2: #0D2845;
  --navy-3: #0A3A56;
  --ink: #1E293B;
  --muted: #5B6B7C;
  --teal: #00B4D8;
  --teal-deep: #0096C7;
  --teal-soft: #90E0EF;
  --teal-mist: rgba(0, 180, 216, 0.12);
  --glow: rgba(0, 180, 216, 0.35);
  --ice: #F8FAFC;
  --sky-1: #EAF6FB;
  --sky-2: #E0F2FA;
  --white: #FFFFFF;
  --card: #FFFFFF;
  --line: #E2EEF5;
  --shadow-sm: 0 6px 20px -8px rgba(10, 25, 47, 0.14);
  --shadow-md: 0 18px 45px -18px rgba(10, 25, 47, 0.28);
  --shadow-lg: 0 30px 70px -25px rgba(10, 25, 47, 0.4);
  --radius: 20px;
  --radius-sm: 14px;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 78px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ice);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

.accent-serif { font-family: var(--font-serif); font-style: italic; color: var(--teal); font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
  border-radius: 2px;
}

.stars { color: #F5B301; letter-spacing: 2px; font-size: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}
.btn .ico { flex: none; }

.btn-glow {
  color: var(--navy);
  background: linear-gradient(135deg, #00B4D8 0%, #0096C7 100%);
  box-shadow: 0 10px 24px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-glow:hover, .btn-glow:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 0 5px rgba(0, 180, 216, 0.16), 0 18px 40px -12px var(--glow);
}
.btn-glow:active { transform: translateY(0); }

.btn-outline {
  color: var(--ice);
  border-color: rgba(234, 246, 251, 0.4);
  background: rgba(234, 246, 251, 0.06);
  backdrop-filter: blur(4px);
}
.btn-outline:hover, .btn-outline:focus-visible {
  transform: translateY(-2px);
  border-color: var(--teal);
  color: var(--teal-soft);
  box-shadow: 0 0 0 5px rgba(0, 180, 216, 0.12), 0 14px 32px -12px var(--glow);
}

.btn-lg { padding: 18px 34px; font-size: 16px; }
.btn-block { width: 100%; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(10, 25, 47, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 34px -18px rgba(10, 25, 47, 0.65);
}

.header-inner { display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--teal);
  background: linear-gradient(145deg, rgba(0, 180, 216, 0.16), rgba(0, 180, 216, 0.05));
  border: 1px solid rgba(0, 180, 216, 0.35);
  box-shadow: 0 4px 14px -6px var(--glow);
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-serif); font-size: 21px; font-weight: 600; color: var(--ice); letter-spacing: 0.01em; }
.brand-name em { font-style: italic; color: var(--teal); }
.brand-sub { font-size: 10px; letter-spacing: 0.34em; color: rgba(234, 246, 251, 0.6); font-weight: 600; }

.site-nav { display: flex; gap: 34px; margin-inline: auto; }
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(234, 246, 251, 0.78);
  padding: 6px 0;
  position: relative;
  transition: color 0.3s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.site-nav a:hover { color: var(--ice); }
.site-nav a:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 600px at 78% 12%, rgba(0, 180, 216, 0.18), transparent 60%),
    radial-gradient(700px 520px at 8% 88%, rgba(0, 150, 199, 0.14), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  color: var(--ice);
  padding: 96px 0 150px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(234, 246, 251, 0.05) 1px, transparent 1.5px);
  background-size: 34px 34px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 60px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5.4vw, 62px);
  font-weight: 600;
  line-height: 1.08;
  margin: 20px 0 22px;
  letter-spacing: -0.01em;
}

.lede { font-size: clamp(17px, 2vw, 20px); color: rgba(234, 246, 251, 0.82); font-weight: 300; max-width: 540px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 34px 0 26px; }

.hero-stars { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(234, 246, 251, 0.85); }
.hero-stars strong { color: var(--ice); }

.hero-visual { position: relative; }
.hero-frame {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(0, 180, 216, 0.4);
  box-shadow: var(--shadow-lg), 0 0 60px -20px var(--glow);
  transform: rotate(1.2deg);
}
.hero-frame img { width: 100%; height: auto; transform: rotate(-1.2deg) scale(1.06); }

.hero-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 16px;
  animation: float 5s ease-in-out infinite;
}
.badge-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--teal);
  background: var(--teal-mist);
  border: 1px solid rgba(0, 180, 216, 0.4);
  flex: none;
}
.badge-text { display: flex; flex-direction: column; line-height: 1.3; }
.badge-text strong { font-size: 14.5px; color: var(--ink); }
.badge-text span { font-size: 12.5px; color: var(--muted); }

.card-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-md);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
  pointer-events: none;
}
.wave-divider svg { width: 100%; height: 80px; display: block; }

/* ---------- Trust strip ---------- */
.trust-strip { padding: 56px 0 8px; position: relative; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px 24px;
  border-radius: var(--radius-sm);
  background: linear-gradient(150deg, var(--white), var(--sky-1));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.trust-ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--teal-deep);
  background: linear-gradient(145deg, var(--teal-mist), rgba(0, 180, 216, 0.04));
  border: 1px solid rgba(0, 180, 216, 0.3);
  flex: none;
}
.trust-item span:last-child { display: flex; flex-direction: column; line-height: 1.3; font-size: 13px; color: var(--muted); }
.trust-item strong { font-size: 15px; color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }

.section-head { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow::before { display: none; }
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin: 16px 0 14px;
}
.section-head p { color: var(--muted); font-weight: 300; font-size: 17.5px; }

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 180, 216, 0.4);
  box-shadow: var(--shadow-md), 0 0 0 4px rgba(0, 180, 216, 0.07);
}

/* ---------- Why choose ---------- */
.why { background: linear-gradient(180deg, var(--ice) 0%, var(--sky-1) 100%); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.why-grid .card { padding: 38px 30px; position: relative; overflow: hidden; }
.why-grid .card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--teal-soft));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.why-grid .card:hover::after { opacity: 1; }

.card-ico {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: linear-gradient(145deg, #BEEBFA, #E0F2FA);
  border: 1px solid rgba(0, 180, 216, 0.35);
  margin-bottom: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.why-grid h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.why-grid p { color: var(--muted); font-weight: 300; font-size: 15.5px; }

.craft-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 34px; }
.craft { overflow: hidden; border-radius: var(--radius); }
.craft img { width: 100%; height: auto; transition: transform 0.7s var(--ease); }
.craft:hover img { transform: scale(1.045); }
.craft figcaption {
  padding: 16px 24px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--navy);
  background: var(--white);
  border-top: 1px solid var(--line);
}

/* ---------- Reviews ---------- */
.reviews {
  background:
    radial-gradient(800px 500px at 50% 0%, rgba(0, 180, 216, 0.1), transparent 65%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--ice);
}
.reviews .section-head h2 { color: var(--ice); }
.reviews .section-head p { color: rgba(234, 246, 251, 0.75); }

.rating-summary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(0, 180, 216, 0.12);
  border: 1px solid rgba(0, 180, 216, 0.35);
  font-size: 14px;
  color: rgba(234, 246, 251, 0.85);
}
.rating-summary strong { color: var(--ice); }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.review-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(234, 246, 251, 0.16);
  border-radius: var(--radius);
  padding: 40px 32px 30px;
  backdrop-filter: blur(8px);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.review-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 180, 216, 0.55);
  box-shadow: 0 22px 50px -20px rgba(0, 0, 0, 0.5), 0 0 34px -14px var(--glow);
}
.quote-mark {
  position: absolute;
  top: 4px;
  right: 24px;
  font-family: var(--font-serif);
  font-size: 84px;
  line-height: 1;
  color: var(--teal);
  opacity: 0.35;
}
.review-body { font-family: var(--font-serif); font-size: 18.5px; line-height: 1.55; font-weight: 400; font-style: italic; color: var(--ice); margin-bottom: 28px; }
.review-meta { display: flex; flex-direction: column; gap: 10px; }
.reviewer { font-size: 14.5px; font-weight: 600; color: rgba(234, 246, 251, 0.85); letter-spacing: 0.01em; }

/* ---------- Booking ---------- */
.booking { background: linear-gradient(180deg, var(--sky-2) 0%, var(--ice) 100%); }

.booking-panel {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  padding: 58px 56px;
  overflow: hidden;
  position: relative;
}
.booking-panel::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.14), transparent 70%);
  pointer-events: none;
}

.booking h2 { font-family: var(--font-serif); font-size: clamp(30px, 3.4vw, 42px); color: var(--navy); font-weight: 600; margin: 16px 0 16px; }
.booking-copy p { color: var(--muted); font-weight: 300; margin-bottom: 28px; max-width: 420px; }

.hours-list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.hours-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink); }
.hours-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-mist);
  flex: none;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 34px;
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--ice), var(--sky-1));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.field input, .field select {
  font-family: var(--font-sans);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #D7E6EF;
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input::placeholder { color: #94A8B8; }
.field input:focus, .field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-mist);
}
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2300B4D8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }

.form-note { font-size: 12.5px; color: var(--muted); text-align: center; }

.form-success {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.4);
  color: var(--ink);
  animation: pop 0.4s var(--ease);
}
.form-success[hidden] { display: none; }
.success-ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--teal);
  flex: none;
}
.form-success strong { display: block; font-size: 15px; }
.form-success span { font-size: 13px; color: var(--muted); }
.form-success a { color: var(--teal-deep); font-weight: 600; }

@keyframes pop {
  from { opacity: 0; transform: scale(0.94) translateY(6px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---------- Footer ---------- */
.site-footer {
  background:
    radial-gradient(900px 480px at 85% 0%, rgba(0, 180, 216, 0.12), transparent 60%),
    var(--navy);
  color: rgba(234, 246, 251, 0.78);
  padding: 76px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 0.9fr 0.9fr;
  gap: 44px;
  padding-bottom: 56px;
}
.footer-brand p { margin-top: 22px; font-weight: 300; font-size: 15px; max-width: 320px; }

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ice);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; font-weight: 300; }
.footer-col a { transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--teal); }
.footer-col strong { color: var(--ice); font-weight: 600; }

.cta-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ice); font-weight: 600; font-size: 16px; }
.cta-link .ico { color: var(--teal); }

.badge-247 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ice);
  background: rgba(0, 180, 216, 0.12);
  border: 1px solid rgba(0, 180, 216, 0.4);
}
.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  position: relative;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.footer-bottom { border-top: 1px solid rgba(234, 246, 251, 0.1); padding: 24px 0; }
.footer-bottom p { font-size: 13px; color: rgba(234, 246, 251, 0.5); text-align: center; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 620px; margin-inline: auto; }
  .why-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .reviews-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-panel { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .site-nav { display: none; }
  .header-inner { justify-content: space-between; gap: 14px; }
  .btn-header { padding: 11px 16px; font-size: 13px; }
  .brand-name { font-size: 19px; }
  .hero { padding: 64px 0 120px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .craft-row { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .booking-panel { padding: 36px 24px; }
  .booking-form { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .wave-divider svg { height: 46px; }
  .hero-badge { left: 12px; right: 12px; bottom: 12px; }
}

@media (max-width: 420px) {
  .btn-header .ico { display: none; }
  .trust-item { padding: 18px 20px; }
  .why-grid .card { padding: 30px 24px; }
}
