/* Harborline Exterior Care — a traditional, trustworthy exterior-cleaning site.
   Signature element: a layered ocean-wave SVG divider (defined once in index.html
   as <use> shapes) sits at the top of every section, its two crests filled from
   that section's own --sec colour so each wave "rises" out of the row above.
   Type: Fraunces (an old-style serif) for headings, Inter for body — reading as
   established and hand-run rather than start-up slick. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #0d2440;
  --navy-2: #14345c;
  --ink: #1c2b3a;
  --slate: #52657a;
  --cream: #f7f4ee;
  --band: #eef2f4;
  --line: rgba(13, 36, 64, 0.12);
  --brass: #b3893f;
  --brass-d: #98722e;
  --sea: #2f7ea8;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 22px 48px rgba(13, 36, 64, 0.14);
  --shadow-sm: 0 10px 26px rgba(13, 36, 64, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; color: var(--navy); line-height: 1.12; font-weight: 600; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 4px; font-weight: 600; font-size: 15px;
  letter-spacing: .01em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--brass); color: #fff; box-shadow: 0 12px 24px rgba(179,137,63,.32); }
.btn-primary:hover { background: var(--brass-d); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.btn-outline:hover { border-color: #fff; transform: translateY(-2px); }

/* ---------- eyebrow ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-d); margin-bottom: 16px; }
.eyebrow.center { justify-content: center; width: 100%; }
.eyebrow.light { color: var(--brass); }
.eyebrow .rule { width: 34px; height: 1px; background: currentColor; opacity: .6; }

/* ---------- wave divider (signature) ---------- */
.section, .strip, .reviews, .finalcta { position: relative; }
.wave-cap { position: absolute; top: 0; left: 0; width: 100%; height: 62px; transform: translateY(-99%); z-index: 3; pointer-events: none; display: block; }
.wave-cap .front { fill: var(--sec); }
.wave-cap .back { fill: var(--sec); opacity: .45; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(247,244,238,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand .crest { width: 40px; height: 40px; flex: 0 0 auto; color: var(--brass); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.bname { font-family: 'Fraunces', serif; font-weight: 600; font-size: 22px; color: var(--navy); }
.btag { font-size: 10px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--slate); margin-top: 3px; }
.brand.light .bname { color: #fff; } .brand.light .crest { color: var(--brass); } .brand.light .btag { color: #90a6c0; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink); position: relative; padding: 4px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--brass); transition: width .25s ease; }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: 15px; }
.nav-phone svg { width: 16px; height: 16px; color: var(--brass); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 6px; background: none; cursor: pointer; align-items: center; justify-content: center; color: var(--navy); }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero { padding: 74px 0 108px; background:
  radial-gradient(120% 90% at 85% -10%, rgba(47,126,168,.10), transparent 60%),
  var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 600; }
.hero .lede { font-size: 18.5px; color: var(--slate); margin: 22px 0 30px; max-width: 32em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-assur { list-style: none; display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-assur li { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--ink); }
.hero-assur svg { width: 19px; height: 19px; color: var(--brass); flex: 0 0 auto; }

.hero-media { position: relative; }
.hero-frame { position: relative; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5/6; border: 1px solid var(--line); }
.hero-frame::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.5); pointer-events: none; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-plate { position: absolute; left: -22px; bottom: 40px; background: var(--navy); color: #fff; padding: 18px 22px; border-radius: 6px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px; }
.hero-plate .plate-num { font-family: 'Fraunces', serif; font-size: 46px; font-weight: 600; color: var(--brass); line-height: 1; }
.hero-plate .plate-txt { font-size: 13px; line-height: 1.4; color: #cdd8e6; }

/* ---------- trust strip ---------- */
.strip { background: var(--navy); color: #dbe4ef; padding: 30px 0; }
.strip-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 26px; }
.strip-item { font-size: 14.5px; letter-spacing: .01em; }
.strip-item b { color: #fff; font-weight: 600; }
.strip .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brass); flex: 0 0 auto; }

/* ---------- generic section ---------- */
.section { background: var(--sec); padding: 92px 0; }
.head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.head h2 { font-size: clamp(28px, 4vw, 42px); }
.head p { color: var(--slate); font-size: 17px; margin-top: 14px; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-img { height: 172px; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc:hover .svc-img img { transform: scale(1.05); }
.svc-body { padding: 24px 24px 26px; }
.svc-body h3 { font-size: 21px; margin-bottom: 8px; }
.svc-body p { color: var(--slate); font-size: 14.5px; }

/* ---------- before/after ---------- */
.ba { position: relative; max-width: 900px; margin: 0 auto; aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); user-select: none; touch-action: none; border: 6px solid #fff; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .before { filter: grayscale(.7) brightness(.82) contrast(.95); }
.ba .after { clip-path: inset(0 0 0 50%); }
.ba .lbl { position: absolute; bottom: 16px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(13,36,64,.7); padding: 6px 13px; border-radius: 3px; }
.ba .lbl.b { left: 16px; } .ba .lbl.a { right: 16px; background: var(--brass); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); }
.ba .knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: 0 6px 16px rgba(13,36,64,.32); display: grid; place-items: center; color: var(--navy); }
.ba .knob svg { width: 20px; height: 20px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 26px auto 0; }
.thumbs figure { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.thumbs img { width: 100%; height: 160px; object-fit: cover; }
.thumbs figcaption { padding: 12px 16px; font-size: 13.5px; font-weight: 600; color: var(--navy); text-align: center; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 58px; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); border: 6px solid #fff; }
.about-stamp { position: absolute; right: -18px; top: 32px; width: 92px; height: 92px; border-radius: 50%; background: var(--brass); color: #fff; display: grid; place-items: center; text-align: center; box-shadow: var(--shadow); border: 3px solid #fff; }
.about-stamp span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.about-stamp b { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 600; line-height: 1; }
.about-copy h2 { font-size: clamp(27px, 3.6vw, 38px); }
.about-copy > p { color: var(--slate); font-size: 16.5px; margin-top: 16px; }
.about-points { margin: 26px 0 22px; display: grid; gap: 18px; }
.point { display: flex; gap: 16px; align-items: flex-start; }
.point .pn { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; color: var(--brass); flex: 0 0 auto; padding-top: 2px; }
.point h4 { font-size: 17px; margin-bottom: 3px; }
.point p { font-size: 14.5px; color: var(--slate); }
.signature { display: inline-block; font-family: 'Fraunces', serif; font-style: italic; font-size: 20px; color: var(--navy); border-bottom: 1px solid var(--brass); padding-bottom: 2px; }

/* ---------- process ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: none; }
.step { text-align: center; position: relative; padding-top: 8px; }
.step .num { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--brass); color: var(--navy); font-family: 'Fraunces', serif; font-size: 24px; font-weight: 600; box-shadow: var(--shadow-sm); }
.step h4 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--slate); }

/* ---------- reviews ---------- */
.reviews { background: var(--navy); color: #dbe4ef; padding: 92px 0; }
.reviews .head h2 { color: #fff; }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rev { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 30px; }
.rev .stars { color: var(--brass); letter-spacing: 3px; font-size: 16px; margin-bottom: 14px; }
.rev p { font-family: 'Fraunces', serif; font-size: 18px; line-height: 1.55; color: #eaf0f7; font-style: italic; }
.rev footer { margin-top: 20px; }
.rev footer b { display: block; color: #fff; font-family: 'Inter', sans-serif; font-size: 15px; }
.rev footer span { font-size: 13px; color: #90a6c0; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.faq-intro h2 { font-size: clamp(26px, 3.4vw, 36px); }
.faq-intro > p { color: var(--slate); font-size: 16px; margin: 14px 0 24px; }
.faq-intro a { color: var(--brass-d); font-weight: 600; }
.faq-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; }
.faq-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s; }
.faq-list details[open] { box-shadow: var(--shadow-sm); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 22px; font-family: 'Fraunces', serif; font-weight: 600; font-size: 17px; color: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .chev { flex: 0 0 auto; width: 22px; height: 22px; position: relative; }
.faq-list .chev::before, .faq-list .chev::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--brass); transform: translate(-50%,-50%); transition: transform .25s; }
.faq-list .chev::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-list details[open] .chev::after { transform: translate(-50%,-50%) rotate(0); }
.faq-list details p { padding: 0 22px 22px; color: var(--slate); font-size: 15px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(28px, 3.8vw, 40px); }
.contact-copy > p { color: var(--slate); font-size: 16.5px; margin: 14px 0 28px; }
.contact-list { list-style: none; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 15px; }
.contact-list svg { width: 20px; height: 20px; color: var(--brass); flex: 0 0 auto; }
.contact-list small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.contact-list b { font-size: 16px; color: var(--navy); }
.form { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 32px; display: grid; gap: 16px; }
.form label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea { width: 100%; margin-top: 6px; padding: 13px 15px; border-radius: 5px; border: 1.5px solid var(--line); font-size: 14.5px; color: var(--ink); background: #fbfaf7; outline: none; transition: border-color .2s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--brass); }
.form textarea { resize: vertical; min-height: 96px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { width: 100%; margin-top: 4px; }

/* ---------- final CTA ---------- */
.finalcta { background: var(--navy); color: #fff; text-align: center; padding: 92px 0; }
.finalcta h2 { color: #fff; font-size: clamp(30px, 4.4vw, 48px); }
.finalcta p { color: #cdd8e6; font-size: 18px; margin: 16px auto 30px; max-width: 34em; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { background: #0a1c33; color: #90a6c0; padding: 68px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.fbrand p { font-size: 14.5px; margin-top: 18px; max-width: 26em; }
.fcol h5 { color: #fff; font-family: 'Fraunces', serif; font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.fcol a, .fcol span { display: block; font-size: 14px; color: #90a6c0; padding: 5px 0; transition: color .2s; }
.fcol a:hover { color: var(--brass); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; font-size: 13px; color: #647d9a; flex-wrap: wrap; gap: 10px; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start; background: var(--cream); padding: 16px 24px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .hero-grid, .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { order: -1; max-width: 460px; }
  .svc-grid, .rev-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .svc-grid, .rev-grid, .thumbs, .frow, .steps, .strip-row { grid-template-columns: 1fr; }
  .strip .dot { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-plate { left: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* mobile-opt-targeted */
@media (max-width: 768px){ .nav-right .btn{display:none!important;} }
