/* ===========================
   ORCA Window Cleaning — Styles
   =========================== */

:root {
  --navy: #00132d;
  --navy-light: #0c2547;
  --navy-lighter: #123059;
  --teal: #46baa3;
  --teal-dark: #35937f;
  --teal-light: #e8f7f4;
  --white: #ffffff;
  --off-white: #f5f9f8;
  --gray-700: #3c4a4e;
  --gray-500: #6b7b7e;
  --gray-200: #e3ebea;

  --font-heading: "Poppins", sans-serif;
  --font-body: "Poppins", sans-serif;
  --font-display: "Archivo", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(0, 19, 45, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 19, 45, 0.16);

  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 {
  font-weight: 900;
}

h2 {
  font-weight: 800;
}

h4 {
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 56px 0;
}

.section--alt {
  background: var(--off-white);
}

.section--navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section--navy .eyebrow {
  color: var(--teal);
  background: rgba(70, 186, 163, 0.14);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.reviews-widget {
  max-width: 960px;
  margin: 0 auto;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.section-head p {
  color: var(--gray-500);
  font-size: 1.05rem;
}

.section--navy .section-head p {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--teal);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(70, 186, 163, 0.35);
}

.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-light);
}

.btn-block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.logo__mark {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.logo__mark img,
.logo__mark svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--white);
}

.logo__sub {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 19, 45, 0.35);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links {
  display: flex;
  gap: 28px;
}

.nav__links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--white);
  border-color: var(--teal);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__phone {
  display: none;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
}

.nav__phone svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
}

@media (min-width: 1300px) {
  .nav__phone {
    display: inline-flex;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 140% at 15% 0%, var(--navy-lighter) 0%, var(--navy) 55%);
  color: var(--white);
  overflow: hidden;
  padding: 90px 0 130px;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero--simple .container {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 780px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin-bottom: 0.4em;
}

.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
}

.hero--simple p.lead {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.hero__badges {
  margin-top: 34px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero__badges div,
.hero__badges a {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.hero__badges a:hover {
  color: var(--teal);
}

.hero__badges span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.hero__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__art .orca-badge {
  width: min(360px, 90%);
  height: auto;
}

/* ---------- Hero video: Template A (full-bleed cinematic) ---------- */
.hero--video-bleed {
  padding: 150px 0 170px;
  overflow: hidden;
}

.hero--video-bleed .hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero--video-bleed .hero__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 19, 45, 0.62) 0%, rgba(0, 19, 45, 0.55) 45%, rgba(0, 19, 45, 0.88) 100%);
  z-index: 1;
}

.hero--video-bleed .container {
  position: relative;
  z-index: 2;
  display: block;
  text-align: center;
  max-width: 760px;
}

.hero--video-bleed p.lead {
  margin-left: auto;
  margin-right: auto;
}

.hero--video-bleed .btn-row,
.hero--video-bleed .hero__badges {
  justify-content: center;
}

.hero--video-bleed .hero__badges {
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

/* ---------- Cards / Services ---------- */
.grid {
  display: grid;
  gap: 28px;
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--teal-dark);
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4em;
}

.card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 1.2em;
}

.card__link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
}

.card__link:hover svg {
  transform: translateX(3px);
}

/* ---------- Steps ---------- */
.steps {
  counter-reset: step;
}

.step {
  position: relative;
  text-align: center;
  padding: 0 12px;
}

.step__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 4px solid var(--teal-light);
}

.step h3 {
  font-size: 1.1rem;
}

.step p {
  color: var(--gray-500);
  font-size: 0.94rem;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--teal-dark), var(--teal));
  border-radius: 24px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  color: var(--navy);
}

.cta-banner h2 {
  color: var(--navy);
  margin-bottom: 6px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-banner p {
  color: rgba(0, 19, 45, 0.75);
  margin: 0;
}

.cta-banner .btn-navy:hover {
  background: #000d1e;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid p {
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-grid h4 {
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}

.footer-grid ul li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-grid ul li a:hover {
  color: var(--teal);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.footer-social a:hover {
  background: var(--teal);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a:hover {
  color: var(--teal);
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 56px;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.3em;
}

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
}

.breadcrumb a:hover {
  color: var(--teal);
}

/* ---------- Service detail blocks ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--gray-200);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block.reverse .service-block__media {
  order: 2;
}

.service-block__media {
  background: linear-gradient(135deg, var(--teal-light), var(--white));
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-block__media svg {
  width: 96px;
  height: 96px;
  color: var(--teal-dark);
}

.service-block__list li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.service-block__list svg {
  width: 20px;
  height: 20px;
  color: var(--teal-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-grid__media {
  background: var(--navy);
  border-radius: var(--radius);
  aspect-ratio: 4 / 4.4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-grid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Plans page ---------- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.plan-card--featured {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.plan-card__ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(70, 186, 163, 0.35);
  white-space: nowrap;
}

.plan-card h3 {
  font-size: 1.6rem;
  margin: 2px 0 2px;
}

.plan-card__cadence {
  color: var(--gray-500);
  font-size: 0.92rem;
  margin: 0 0 20px;
}

.plan-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.plan-card__price strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--navy);
}

.plan-card__price span {
  color: var(--gray-500);
  font-size: 0.92rem;
}

.plan-card__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex: 1;
}

.plan-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.plan-card__list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.plan-card__list li.is-yes svg {
  color: var(--teal-dark);
}

.plan-card__list li.is-no {
  color: var(--gray-500);
  text-decoration: line-through;
}

.plan-card__list li.is-no svg {
  color: #dc2626;
}

.plan-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.plan-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.plan-table th,
.plan-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.92rem;
}

.plan-table thead th {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  background: var(--teal-light);
}

.plan-table th[scope="row"] {
  text-align: left;
  font-weight: 600;
  color: var(--navy);
}

.plan-table tbody tr:last-child th,
.plan-table tbody tr:last-child td {
  border-bottom: none;
}

.plan-table td svg {
  width: 20px;
  height: 20px;
}

.plan-table .icon-yes {
  color: var(--teal-dark);
}

.plan-table .icon-no {
  color: var(--gray-200);
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  padding: 36px 30px;
}

.contact-info-card h3 {
  color: var(--white);
}

.contact-info-card ul li {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-info-card ul li svg {
  width: 22px;
  height: 22px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-card ul li strong {
  display: block;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

.contact-info-card ul li span,
.contact-info-card ul li a {
  font-size: 0.9rem;
}

.map-frame {
  margin-top: 24px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.map-frame iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-note {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 14px;
}

.rotor-embed {
  width: 100%;
  min-height: 760px;
}

.rotor-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 760px;
  border: 0;
  border-radius: var(--radius-sm);
  display: block;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p.lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__badges {
    justify-content: center;
  }

  .hero__art {
    order: -1;
  }

  .hero--video-bleed {
    padding: 110px 0 120px;
  }

  .btn-row {
    justify-content: center;
  }

  .service-block,
  .service-block.reverse,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .service-block.reverse .service-block__media {
    order: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    inset: 84px 0 auto 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 28px;
    gap: 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav__links {
    flex-direction: column;
    gap: 4px;
  }

  .nav__links a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-toggle {
    display: flex;
  }

  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }

  .grid--4 {
    grid-template-columns: 1fr;
  }

  .plan-grid {
    grid-template-columns: 1fr;
  }

  .plan-card--featured {
    transform: none;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
  }

  .rotor-embed,
  .rotor-embed iframe {
    min-height: 600px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section {
    padding: 60px 0;
  }
}
