/* Burbank Window Cleaning - shared stylesheet */

:root {
  --navy: #10263f;
  --navy-dark: #0a1a2c;
  --sky: #2f8fd1;
  --sky-light: #eaf4fc;
  --amber: #f2a71b;
  --amber-dark: #d6900f;
  --ink: #1b2733;
  --gray: #57687a;
  --gray-light: #f4f6f8;
  --white: #ffffff;
  --border: #dfe6ec;
  --radius: 8px;
  --max-width: 1180px;
  --shadow: 0 10px 30px rgba(16, 38, 63, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
}

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

a {
  color: var(--sky);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

h1, h2, h3 {
  line-height: 1.2;
  font-weight: 800;
  margin-top: 0;
}

h2 {
  font-size: 2rem;
  color: var(--navy);
}

h3 {
  font-size: 1.25rem;
  color: var(--navy);
}

p {
  margin: 0 0 1em;
}

.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--gray-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-cta {
  background: var(--amber);
  color: var(--navy-dark);
}

.btn-cta:hover {
  background: var(--amber-dark);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Icon-badge phone pattern */
.call-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 2px solid var(--amber);
  border-radius: 999px;
  padding: 8px 18px 8px 8px;
  color: var(--navy);
  font-weight: 700;
}

.call-badge .icon-circle {
  background: var(--amber);
  color: var(--navy-dark);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.call-badge .call-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.call-badge .call-label {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--gray);
  text-transform: uppercase;
}

.call-badge .call-number {
  font-size: 1rem;
  color: var(--navy);
}

.call-badge:hover {
  text-decoration: none;
  border-color: var(--amber-dark);
}

.hero-call-badge {
  padding: 14px 30px 14px 14px;
}

.hero-call-badge .icon-circle {
  width: 52px;
  height: 52px;
}

.hero-call-badge .call-label {
  font-size: 0.8rem;
}

.hero-call-badge .call-number {
  font-size: 1.5rem;
  font-weight: 800;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.1rem;
}

.brand img {
  width: 34px;
  height: 34px;
}

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

.main-nav a {
  color: var(--navy);
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--sky);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy);
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 4px 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(100deg, rgba(10, 26, 44, 0.92) 0%, rgba(10, 26, 44, 0.8) 30%, rgba(10, 26, 44, 0.4) 55%, rgba(10, 26, 44, 0.12) 80%);
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 3;
}

.hero-inner {
  max-width: 620px;
  padding: 90px 0;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 2.75rem;
  margin-bottom: 18px;
}

.hero p.lede {
  font-size: 1.15rem;
  color: #dfe9f2;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* Placeholder photo blocks (visual pattern lives inside the SVG itself) */
.photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 220px;
}

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

.hero-photo .photo-frame {
  min-height: 100%;
  border-radius: 0;
  height: 100%;
}

/* Two column intro + form */
.intro-form {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}

.intro-col h2 {
  margin-bottom: 18px;
}

.intro-col p {
  color: var(--ink);
}

.intro-col strong {
  color: var(--navy);
}

.inline-photo {
  width: 100%;
  margin: 28px 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.inline-photo .photo-frame {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.inline-photo-float {
  float: right;
  width: 42%;
  margin: 6px 0 20px 24px;
  border-radius: var(--radius);
  overflow: hidden;
}

.inline-photo-float .photo-frame {
  aspect-ratio: 3 / 4;
  min-height: 0;
}

.service-area-list {
  margin: 0 0 1.5em;
  padding-left: 1.2em;
}

.service-area-list li {
  margin-bottom: 6px;
}

/* Quote form card */
.quote-form-card {
  background: var(--white);
  border: 2px solid var(--sky);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
}

.quote-form-banner {
  background: var(--navy);
  color: var(--white);
  padding: 18px 24px;
  font-weight: 800;
  font-size: 1.1rem;
  text-align: center;
}

.quote-form-banner span {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--amber);
  margin-top: 4px;
}

.quote-form {
  padding: 24px;
}

.quote-form label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.quote-form .form-row {
  margin-bottom: 16px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

.quote-form textarea {
  resize: vertical;
  min-height: 90px;
}

.form-status {
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-status.success {
  color: #1c7c3e;
}

.form-status.error {
  color: #c33;
}

.form-note {
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 12px;
}

/* Services section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.service-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(16, 38, 63, 0.06);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.service-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(16, 38, 63, 0.12);
  border-color: var(--sky);
}

.service-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 22px 26px 26px;
}

.service-card h3 {
  color: var(--navy);
}

.service-card p {
  color: var(--gray);
  margin-bottom: 14px;
}

.service-card .card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--sky);
  font-size: 0.95rem;
}

.service-card:hover .card-cta {
  color: var(--amber-dark);
}

/* Trust section */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.trust-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border-top: 4px solid var(--amber);
  box-shadow: 0 4px 14px rgba(16, 38, 63, 0.06);
}

.trust-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.trust-card p {
  color: var(--gray);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.faq-item h3 {
  margin-bottom: 10px;
}

.faq-item p {
  color: var(--gray);
  margin-bottom: 0;
}

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  color: #cfdcea;
  margin-bottom: 26px;
}

.cta-band .hero-actions {
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #c9d6e2;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 36px;
}

.footer-grid h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-grid a {
  color: #c9d6e2;
}

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

.footer-grid li {
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.85rem;
  text-align: center;
  color: #93a5b6;
}

/* Service page hero variant */
.page-hero {
  min-height: 420px;
}

.page-hero h1 {
  font-size: 2.3rem;
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 10px 20px 20px;
}

.mobile-nav a {
  color: var(--navy);
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

/* Mobile */
@media (max-width: 900px) {
  .site-header.nav-open .mobile-nav {
    display: flex;
  }

  .main-nav {
    display: none;
  }

  .header-actions .call-badge .call-text {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-inner {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .intro-form {
    grid-template-columns: 1fr;
  }

  .intro-col {
    order: 2;
  }

  .form-col {
    order: 1;
  }

  .quote-form-card {
    position: static;
  }

  .inline-photo-float {
    float: none;
    width: 100%;
    margin: 20px 0;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .section {
    padding: 44px 0;
  }

  h2 {
    font-size: 1.6rem;
  }
}
