/* Crystal Clear Window Revival — one-page marketing site */
:root {
  --navy: #0a1f44;
  --navy-deep: #061530;
  --royal: #1e6fff;
  --royal-bright: #3d8bff;
  --royal-soft: #e8f1ff;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --slate: #4a5568;
  --slate-light: #718096;
  --border: #dce3ef;
  --success: #0d7a4f;
  --error: #c53030;
  --shadow: 0 8px 28px rgba(10, 31, 68, 0.12);
  --shadow-sm: 0 2px 10px rgba(10, 31, 68, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --max: 1100px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

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

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

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

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--royal-bright);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  height: 52px;
  width: auto;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav a:hover {
  color: var(--royal);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--royal);
  color: var(--white);
  border-color: var(--royal);
}

.btn-primary:hover {
  background: #1557d6;
  border-color: #1557d6;
  color: var(--white);
}

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

.btn-secondary:hover {
  background: var(--royal-soft);
  color: var(--navy);
}

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

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn-call {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  padding-inline: 1.1rem;
}

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

.btn-lg {
  min-height: 54px;
  padding-inline: 1.5rem;
  font-size: 1.05rem;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  color: var(--navy);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem 1rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--navy);
  font-weight: 600;
  padding: 0.85rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
}

.mobile-nav a:hover {
  background: var(--royal-soft);
}

/* —— Hero —— */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #12306a 100%);
  color: var(--white);
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(30, 111, 255, 0.35), transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(61, 139, 255, 0.2), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-visual {
  display: none;
  justify-content: center;
}

.hero-logo-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  max-width: 320px;
}

.hero-logo-card img {
  width: 100%;
}

/* Sparkle accent SVG */
.sparkle-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  opacity: 0.9;
}

/* —— Sections —— */
.section {
  padding: 4rem 0;
}

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

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

.section-head .eyebrow {
  display: inline-block;
  color: var(--royal);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  letter-spacing: -0.02em;
  color: var(--navy);
}

.section-head p {
  margin: 0;
  color: var(--slate);
  font-size: 1.05rem;
}

/* —— Services —— */
.services-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s, border-color 0.15s;
}

.service-card:hover {
  box-shadow: var(--shadow);
  border-color: #b8cdf0;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--royal-soft);
  color: var(--royal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--navy);
}

.service-card p {
  margin: 0;
  color: var(--slate);
  font-size: 0.98rem;
}

.services-note {
  text-align: center;
  margin-top: 1.75rem;
  color: var(--slate);
  font-size: 0.95rem;
}

.services-note strong {
  color: var(--navy);
}

/* —— Why us —— */
.why-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.5rem 1.35rem;
  border-left: 4px solid var(--royal);
  box-shadow: var(--shadow-sm);
}

.why-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.why-card p {
  margin: 0;
  color: var(--slate);
}

/* —— Holiday strip —— */
.holiday {
  background: linear-gradient(135deg, var(--navy) 0%, #163a7a 50%, #1a4a9e 100%);
  color: var(--white);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.holiday::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -60px;
  right: -40px;
}

.holiday-inner {
  position: relative;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.holiday .eyebrow {
  color: #9ec5ff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.holiday h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

.holiday p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 38rem;
  font-size: 1.05rem;
}

.holiday-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.holiday-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 1rem;
}

.holiday-list li svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: #9ec5ff;
}

.holiday-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* —— Area —— */
.area-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.area-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.area-extra {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--slate);
}

/* —— Forms —— */
.form-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  max-width: 640px;
  margin-inline: auto;
}

.form-row {
  margin-bottom: 1.1rem;
}

.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.form-row .hint {
  font-weight: 400;
  color: var(--slate-light);
  font-size: 0.85rem;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.15s;
}

.form-row textarea {
  min-height: 110px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--royal);
}

.form-row input.error,
.form-row textarea.error {
  border-color: var(--error);
}

.field-error {
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 0.3rem;
  display: none;
}

.field-error.show {
  display: block;
}

.checks {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  cursor: pointer;
}

.check input {
  width: 20px;
  height: 20px;
  accent-color: var(--royal);
  flex-shrink: 0;
}

.privacy {
  font-size: 0.88rem;
  color: var(--slate-light);
  margin: 0 0 1.25rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.form-status {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  display: none;
}

.form-status.success {
  display: block;
  background: #e6f7ef;
  color: var(--success);
  border: 1px solid #b7e4cd;
}

.form-status.error {
  display: block;
  background: #fde8e8;
  color: var(--error);
  border: 1px solid #f5c2c2;
}

.form-hidden {
  display: none !important;
}

/* —— Contact —— */
.contact-wrap {
  display: grid;
  gap: 2rem;
}

.contact-info {
  text-align: center;
}

.contact-info h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
}

.contact-info p {
  margin: 0 0 1rem;
  color: var(--slate);
}

.phone-big {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.phone-big:hover {
  color: var(--royal);
  text-decoration: none;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}

/* —— Footer —— */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0;
  text-align: center;
}

.footer-logo {
  margin: 0 auto 1rem;
  max-width: 200px;
}

.footer-logo img {
  width: 100%;
  border-radius: 8px;
}

.site-footer a {
  color: #9ec5ff;
}

.site-footer .phone {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.site-footer .phone:hover {
  color: #9ec5ff;
}

.footer-meta {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

/* —— Responsive —— */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }

  .nav {
    display: flex;
  }

  .hero {
    padding: 5rem 0 5.5rem;
  }

  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }

  .hero-visual {
    display: flex;
  }

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

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

  .holiday-inner {
    grid-template-columns: 1.4fr 1fr;
  }

  .contact-wrap {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .contact-info {
    text-align: left;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}
