/* =========================================================
   Iron Hook Towing Co. — local site styles
   Palette: graphite / steel / amber
   ========================================================= */

:root {
  --bg:         #0d1117;
  --bg-2:       #121821;
  --bg-3:       #18202a;
  --panel:      #1d2733;
  --steel:      #223040;
  --band:       #141d27;
  --accent:     #f2a007;
  --accent-2:   #ffb733;
  --accent-ink: #15100a;
  --text:       #eef2f6;
  --muted:      #94a3b3;
  --line:       rgba(255, 255, 255, .10);
  --maxw:       1180px;
  --head-h:     92px;
  --font:       "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius:     3px;
  --shadow:     0 18px 40px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; line-height: 1.15; letter-spacing: -.015em; }
h1 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; }
h2 { font-size: clamp(25px, 3vw, 38px); }
h3 { font-size: clamp(18px, 1.5vw, 22px); }
p { margin: 0 0 1.1em; }

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

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--accent-2); color: var(--accent-ink); text-decoration: none; }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, .3);
  padding: 14px 27px;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; color: #fff; }

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 14px 27px;
}
.btn--outline:hover { background: var(--accent); color: var(--accent-ink); }

/* ---------- logo ---------- */

.logo { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.logo:hover { text-decoration: none; }
.logo__mark {
  width: 40px; height: 40px; flex: none;
  border: 2px solid var(--accent);
  border-radius: 3px;
  display: grid; place-items: center;
}
.logo__mark svg { width: 24px; height: 24px; }
.logo__text { display: block; }
.logo__main {
  display: block;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  text-transform: uppercase;
}
.logo__sub {
  display: block;
  margin-top: 4px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .34em;
  color: var(--accent);
  text-transform: uppercase;
}

/* ---------- top bar ---------- */

.topbar {
  background: #080b10;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 40px; flex-wrap: wrap;
}
.topbar strong { color: #cbd6e2; font-weight: 600; }
.topbar a { color: var(--accent-2); font-weight: 700; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10, 14, 19, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: var(--head-h);
}

.nav { display: flex; align-items: center; gap: 24px; }
.nav a {
  color: #d5dde6;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] {
  color: #fff; border-bottom-color: var(--accent); text-decoration: none;
}

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { color: #fff; font-size: 19px; font-weight: 700; white-space: nowrap; }
.header-phone:hover { color: var(--accent-2); text-decoration: none; }

.burger { display: none; width: 46px; height: 40px; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { display: block; height: 2px; margin: 7px 0; background: #fff; transition: transform .25s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; background: #0a0e13; border-bottom: 1px solid var(--line); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 16, .95) 0%, rgba(8, 11, 16, .86) 42%, rgba(8, 11, 16, .35) 100%),
    linear-gradient(0deg, rgba(8, 11, 16, .9) 0%, rgba(8, 11, 16, 0) 55%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 92px; padding-bottom: 92px; }
.hero__inner { max-width: 780px; }
.hero__rule { width: 62px; height: 3px; background: var(--accent); margin-bottom: 24px; }
.hero__sub {
  font-size: clamp(16px, 1.7vw, 20px);
  color: #c3cedb;
  margin-bottom: 30px;
  max-width: 640px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.badges { display: flex; flex-wrap: wrap; gap: 26px; margin: 36px 0 0; padding: 0; }
.badges li {
  list-style: none;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #aebbc9;
  padding-left: 20px; position: relative;
}
.badges li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; background: var(--accent);
}

/* inner page hero */
.hero--page .wrap { padding-top: 56px; padding-bottom: 56px; }
.hero--page h1 { font-size: clamp(27px, 3.4vw, 42px); }
.crumbs { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent-2); }

/* ---------- service cards ---------- */

.cards { background: var(--bg-2); padding: 0 0 6px; }
.cards__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: -60px; position: relative; z-index: 5;
}
.card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(242, 160, 7, .55); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: #0f151c; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { color: #fff; }
.card__body p { color: var(--muted); font-size: 15.5px; }
.card__link {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  color: var(--accent); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .1em;
}
.card__link .arrow {
  width: 30px; height: 30px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 2px; color: var(--accent);
}
.card__link:hover { color: var(--accent-2); text-decoration: none; }
.card:hover .card__link .arrow { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------- sections ---------- */

.section { padding: 80px 0; }
.section--alt { background: var(--bg-2); }
.section--dark { background: #0a0e13; }
.section__head { max-width: 760px; margin-bottom: 36px; }
.lead { font-size: 18.5px; color: #cbd6e2; }
.muted { color: var(--muted); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.media-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.checks { list-style: none; margin: 0 0 22px; padding: 0; }
.checks li { position: relative; padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line); font-size: 16px; }
.checks li:last-child { border-bottom: 0; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 20px;
  width: 8px; height: 8px; background: var(--accent);
}

/* ---------- service band ---------- */

.band { background: var(--band); padding: 60px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.band ul { list-style: none; margin: 0; padding: 0; }
.band li {
  padding: 12px 0 12px 26px; position: relative;
  font-size: clamp(15px, 1.3vw, 17.5px); font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.band li::before {
  content: ""; position: absolute; left: 0; top: 21px;
  width: 8px; height: 8px; background: var(--accent);
}

/* ---------- stats ---------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 48px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--bg-3); padding: 26px 24px; }
.stat b { display: block; font-size: 33px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.stat span { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* ---------- steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.step { padding: 26px 24px; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); }
.step b {
  display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 16px;
  border: 1px solid var(--accent); color: var(--accent);
  border-radius: 2px; font-size: 16px; font-weight: 800;
}
.step h3 { font-size: 18px; color: #fff; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- cta band with photo ---------- */

.cta-band { position: relative; overflow: hidden; }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 11, 16, .95) 25%, rgba(8, 11, 16, .6) 100%); }
.cta-band .wrap { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 72px; }
.cta-band h2 { max-width: 700px; }

/* ---------- reviews ---------- */

.reviews { background: var(--bg-2); padding: 78px 0; }
.reviews__head { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.reviews__head h2 { margin: 0; }
.reviews__head p { margin: 0; color: var(--muted); font-size: 17px; }

.slider { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-3); }
.slide { display: none; padding: 46px 74px; text-align: center; }
.slide.is-active { display: block; }
.stars { color: var(--accent); letter-spacing: 5px; font-size: 17px; margin-bottom: 16px; }
.slide blockquote { margin: 0 0 18px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; color: #e6ecf2; font-weight: 300; }
.slide cite { font-style: normal; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

.slider__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line); color: #fff;
  font-size: 18px; cursor: pointer; border-radius: 2px;
}
.slider__nav:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.slider__nav--prev { left: 14px; }
.slider__nav--next { right: 14px; }
.dots { display: flex; justify-content: center; gap: 8px; padding: 22px 0 24px; }
.dots button { width: 26px; height: 3px; padding: 0; border: 0; background: rgba(255, 255, 255, .22); cursor: pointer; }
.dots button.is-active { background: var(--accent); }

.rating-summary {
  display: flex; align-items: center; gap: 30px; flex-wrap: wrap;
  padding: 26px 28px; margin-bottom: 34px;
  background: var(--bg-3); border: 1px solid var(--line); border-left: 3px solid var(--accent);
}
.rating-summary b { font-size: 44px; font-weight: 800; line-height: 1; color: #fff; }

/* ---------- blog ---------- */

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column;
}
.post__meta { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 12px; }
.post h3 { font-size: 19px; color: #fff; }
.post p { color: var(--muted); font-size: 15.5px; }
.post > a { margin-top: auto; font-weight: 700; text-transform: uppercase; font-size: 12.5px; letter-spacing: .1em; color: var(--accent); }

.article {
  background: var(--bg-3); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: var(--radius); padding: 34px; margin-bottom: 24px;
}
.article h3 { color: #fff; }
.article h4 { color: var(--accent); font-size: 16px; letter-spacing: .02em; margin-top: 24px; }

/* ---------- contact ---------- */

.areas { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 8px; list-style: none; }
.areas li {
  padding: 8px 15px; background: var(--bg-3); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: #c7d2de;
}

.map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #0f151c; }
.map svg,
.map iframe { display: block; width: 100%; height: 300px; border: 0; }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list b { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.contact-list span { font-size: 16.5px; color: var(--text); }

/* ---------- form ---------- */

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.field input, .field select, .field textarea {
  padding: 13px 14px; background: #0b1016; border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--text); font: inherit; font-size: 16px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242, 160, 7, .18);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); margin: 0; }
.form-ok {
  grid-column: 1 / -1; padding: 14px 16px;
  border: 1px solid var(--accent); background: rgba(242, 160, 7, .1);
  font-weight: 600; font-size: 15px;
}
[hidden] { display: none !important; }

/* ---------- footer ---------- */

.site-footer { background: #080b10; padding: 60px 0 118px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 34px; }
.site-footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 5px 0; }
.site-footer a { color: #a9b6c4; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.site-footer p { color: var(--muted); font-size: 15px; }
.footer__bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: #6f7d8c; font-size: 13.5px;
}
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 2px; color: #c7d2de; font-size: 15px;
}
.social a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); text-decoration: none; }

/* ---------- sticky cta ---------- */

.sticky-cta {
  position: fixed; right: 0; bottom: 0; z-index: 70;
  display: flex; align-items: stretch;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, .5);
}
.sticky-cta__brand {
  display: flex; align-items: center; padding: 0 20px;
  background: #0b1016; border: 1px solid var(--line); border-right: 0;
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff;
}
.sticky-cta__btn {
  border: 0; cursor: pointer; padding: 17px 28px;
  background: var(--accent); color: var(--accent-ink);
  font: inherit; font-weight: 800; font-size: 13.5px;
  letter-spacing: .1em; text-transform: uppercase;
}
.sticky-cta__btn:hover { background: var(--accent-2); }

/* ---------- modal ---------- */

.modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 20px;
  background: rgba(4, 6, 9, .82); backdrop-filter: blur(4px);
}
.modal__box {
  width: min(720px, 100%); max-height: 88vh; overflow: auto;
  background: var(--bg-2); border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: var(--radius); padding: 32px 34px 34px;
}
.modal__close {
  float: right; margin: -8px -8px 0 0; width: 36px; height: 36px;
  background: none; border: 1px solid var(--line); border-radius: 2px;
  color: #fff; font-size: 18px; cursor: pointer;
}
.modal__close:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .cards__grid, .posts, .steps { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --head-h: 76px; }
  .burger { display: block; }
  .header-phone { font-size: 16px; }
  .nav {
    position: fixed; top: var(--head-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 24px; background: #0a0e13;
    border-bottom: 1px solid var(--line);
    transform: translateY(-150%); transition: transform .28s ease;
    max-height: calc(100vh - var(--head-h)); overflow: auto;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .cards__grid, .posts, .steps, .grid-2, .band__grid { grid-template-columns: 1fr; }
  .cards__grid { margin-top: -34px; }
  .slide { padding: 34px 22px; }
  .slider__nav { display: none; }
  .form { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 60px; padding-bottom: 64px; }
  .section { padding: 58px 0; }
}

@media (max-width: 560px) {
  .footer__grid, .stats { grid-template-columns: 1fr; }
  .logo__main { font-size: 19px; }
  .header-phone .tel-label { display: none; }
  .sticky-cta__brand { display: none; }
  .modal__box { padding: 24px 20px 28px; }
  .badges { gap: 12px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
