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

:root {
  --bg: #060910;
  --bg-2: #0b1220;
  --ink: #f4f7fb;
  --muted: #a8b8ce;
  --muted-2: #7e8ba3;
  --accent: #7ff0c8;
  --accent-2: #f3c477;
  --card: #0d1623;
  --card-dark: #0a101a;
  --glass: rgba(255, 255, 255, 0.05);
  --border: 1px solid rgba(255, 255, 255, 0.09);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.25);
  --radius: 18px;
  --radius-lg: 24px;
}

body {
  font-family:
    "Manrope",
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--ink);
  line-height: 1.65;
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background: #05070d; /* Fallback */
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(6, 9, 16, 0.35) 0%,
      rgba(5, 7, 12, 0.82) 75%,
      rgba(5, 7, 12, 0.9) 100%
    ),
    radial-gradient(
      160% 130% at 16% 20%,
      rgba(127, 240, 200, 0.16),
      transparent 52%
    ),
    radial-gradient(
      120% 120% at 86% 12%,
      rgba(243, 196, 119, 0.16),
      transparent 48%
    ),
    linear-gradient(135deg, #0b111b 0%, #070c14 50%, #060a11 100%),
    url("images/hero-roof.jpg") center/cover no-repeat;
  background-blend-mode: normal, screen, screen, overlay, normal;
  pointer-events: none;
  /* Mobile performance & Safari fixes */
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

::selection {
  background: rgba(141, 240, 193, 0.2);
  color: #02050a;
}

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

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
  position: relative;
  z-index: 10;
  background-color: transparent;
}

.section::after,
.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.02) 15%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.02) 85%,
    transparent 100%
  );
  box-shadow: 0 1px 15px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.narrow {
  max-width: 820px;
  margin: 0 auto 3rem;
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.8;
  text-align: center;
}

h2 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(2rem, 3vw, 2.9rem);
  margin-bottom: 1.2rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

h3 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 0.45rem;
  font-weight: 700;
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(141, 240, 193, 0.18),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 10%,
      rgba(244, 195, 107, 0.15),
      transparent 35%
    ),
    #05070d;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition:
    opacity 0.5s ease-out,
    visibility 0.5s ease-out;
}

.preloader-content {
  text-align: center;
  color: var(--ink);
}

.preloader-logo {
  height: 80px;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.28));
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Promo Banner */
.promo-banner {
  display: none;
}

/* Header */
.header {
  background: rgba(7, 11, 18, 0.82);
  backdrop-filter: blur(18px);
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.nav-container {
  width: 92%;
  max-width: 1240px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

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

.logo-text {
  color: #fff;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.5px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.logo-text span {
  color: var(--accent-2);
}

.nav {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.nav a {
  color: #e6edfa;
  text-decoration: none;
  font-weight: 600;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
  position: relative;
  padding: 0.65rem 0.95rem;
  border-radius: 14px;
}

.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0.75rem;
  bottom: 0.35rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.nav a:hover::after,
.nav a.active::after {
  opacity: 1;
  transform: translateY(0);
}

.nav a:hover,
.nav a.active {
  color: var(--accent);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 10px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(7, 12, 18, 0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.mobile-nav a {
  color: #e2e8f0;
  text-decoration: none;
  padding: 0.85rem 0.6rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

/* Hero */
.hero {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 84px);
  padding: 5.6rem 0 6.2rem;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* .hero::after handled above with .section::after */

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr;
  gap: 2.8rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  padding: 1.6rem 0 2.4rem;
  max-width: 880px;
  text-align: center;
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: #c9d7f2;
  margin-bottom: 0.8rem;
  display: inline-block;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.hero-content h2 {
  font-size: clamp(2.6rem, 4.6vw, 3.9rem);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #f5f8ff;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
}

.hero-content p {
  margin-bottom: 1.4rem;
  font-weight: 500;
  font-size: 1.08rem;
  opacity: 0.98;
  line-height: 1.75;
  color: #dfe8ff;
}

.hero-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.05rem 1.3rem;
  margin: 1.4rem 0 2rem;
  color: #e2ebfb;
  max-width: 980px;
}

.hero-checklist li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.06);
  padding: 1.05rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  font-size: 0.98rem;
}

.hero-checklist i {
  color: var(--accent-2);
  font-size: 1.05rem;
  margin-top: 0.12rem;
}

.hero-buttons {
  display: flex;
  gap: 0.95rem;
  flex-wrap: wrap;
  margin: 0 auto 1.6rem;
  justify-content: center;
  max-width: 720px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
  margin: 0.6rem 0 0;
}

.meta-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.05),
    rgba(8, 12, 18, 0.72)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.32);
}

.meta-card i {
  font-size: 1.3rem;
  color: var(--accent-2);
}

.meta-title {
  color: #f8fbff;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.meta-sub {
  color: var(--muted);
  font-size: 0.96rem;
  margin-top: 0.1rem;
}

/* CTA Button */
.cta-btn {
  background: linear-gradient(120deg, #7ff0c8, #f3c477);
  color: #05111a;
  padding: 0.95rem 2.2rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    opacity 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  display: inline-block;
  box-shadow: 0 16px 44px rgba(127, 240, 200, 0.28);
  text-align: center;
  width: auto;
  min-width: 160px;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

.cta-btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 22px 60px rgba(243, 196, 119, 0.45);
}

.cta-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(255, 255, 255, 0.24),
    transparent 45%
  );
  opacity: 0.55;
  pointer-events: none;
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(244, 195, 107, 0.45);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(244, 195, 107, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(244, 195, 107, 0);
  }
}

.outline-btn {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.24);
  width: auto;
  box-shadow: none;
}

.outline-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.call-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  box-shadow: none;
}

.ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transform: translateY(-1px);
}

/* Modal (shared) */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1001;
  background-color: rgba(2, 4, 8, 0.7);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-content {
  background: #0f1a24;
  margin: auto;
  padding: 2.5rem;
  border-radius: 22px;
  width: 90%;
  max-width: 640px;
  max-height: 82vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.3s ease;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ink);
  background:
    radial-gradient(
      120% 120% at 16% 18%,
      rgba(141, 240, 193, 0.04),
      transparent 35%
    ),
    #0f1a24;
}

.large-modal {
  max-width: 900px;
  max-height: 88vh;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-modal {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 2rem;
  cursor: pointer;
  color: #d8e6ff;
  background: none;
  border: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.close-modal:hover {
  color: var(--accent);
  transform: scale(1.05);
}

.modal h3 {
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.modal-subtext {
  font-size: 0.97rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.modal img {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  object-fit: cover;
}

.modal-content ul {
  padding-left: 1.1rem;
  margin: 0.4rem 0 0;
}

.modal-content li {
  margin-bottom: 0.45rem;
  color: var(--muted);
}

/* Quick Quote Form */
#quickQuoteForm {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

#quickQuoteForm label {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: -0.5rem;
  display: block;
}

#quickQuoteForm select,
#quickQuoteForm input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05); /* Match dark theme */
  border: 1px solid rgba(255, 255, 255, 0.15); /* More subtle border */
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s ease;
}

#quickQuoteForm select:focus,
#quickQuoteForm input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(141, 240, 193, 0.12);
  background: rgba(255, 255, 255, 0.08); /* Slightly lighter on focus */
}

/* Custom dropdown arrow for select elements */
#quickQuoteForm select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23a7b9d3" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

#quickQuoteForm button[type="submit"] {
  margin-top: 0.5rem;
  width: 100%; /* Keep the calculate button full width in modal context */
}

#estimateResult {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(141, 240, 193, 0.1);
  border: 1px solid rgba(141, 240, 193, 0.2);
  color: var(--ink);
  text-align: center;
}

#estimateResult strong {
  display: block;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

#estimateResult span {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Badges & Why Us */
.badges-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.8rem 0 0.5rem;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #f7fbff;
  font-weight: 600;
  background: linear-gradient(
    130deg,
    rgba(141, 240, 193, 0.14),
    rgba(255, 255, 255, 0.05)
  );
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.badge i {
  font-size: 1.4rem;
  color: var(--accent-2);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 2.4rem;
}

.why-card {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.02),
    rgba(13, 22, 35, 0.92)
  );
  padding: 2.2rem 1.9rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    border-color 0.2s ease;
}

.why-card i {
  font-size: 2.6rem;
  color: var(--accent);
}

.why-card p {
  color: var(--muted);
}

/* .why-card:hover removed for non-interactive elements */

/* Tips */
.tips-section {
  background: transparent;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.4rem;
}

.tip-card {
  background:
    radial-gradient(
      140% 140% at 14% 18%,
      rgba(127, 240, 200, 0.04),
      transparent 45%
    ),
    #0f1a24;
  padding: 2rem 1.7rem;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

.tip-card i {
  color: var(--accent);
  font-size: 1.5rem;
}

.tip-card p {
  color: var(--muted);
}

/* .tip-card:hover removed for non-interactive elements */

/* FAQ */
.faq-section {
  background: transparent;
}

.faq {
  max-width: 900px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03),
    rgba(8, 14, 20, 0.9)
  );
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35);
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.25rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  transition:
    background 0.2s ease,
    color 0.2s ease;
  letter-spacing: -0.01em;
}

.faq-header:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

.faq-icon {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
  color: var(--muted);
  width: 28px;
  text-align: center;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.25rem;
  color: var(--muted);
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease;
}

.faq-content p {
  padding: 0 0 0.75rem;
  line-height: 1.65;
}

.faq-content[style*="px"] {
  opacity: 1;
  pointer-events: auto;
  padding: 0 1.25rem 0.9rem;
}

/* Services */
.services {
  background: transparent;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.6rem;
  margin-top: 2rem;
}

.service-card {
  background: linear-gradient(
    170deg,
    rgba(255, 255, 255, 0.02),
    rgba(11, 18, 28, 0.9)
  );
  padding: 1.8rem 1.7rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    border-color 0.2s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(141, 240, 193, 0.12),
    rgba(244, 195, 107, 0.12)
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card i {
  font-size: 2.6rem;
  color: var(--accent);
}

.service-card p {
  color: var(--muted);
}

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

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.35);
  border-color: rgba(141, 240, 193, 0.24);
  opacity: 1;
}

.service-card:focus-visible {
  outline: 3px solid rgba(127, 240, 200, 0.75);
  outline-offset: 4px;
}

.service-card:hover::before {
  opacity: 1;
}

/* Reviews */
.reviews {
  background: transparent;
}

.reviews-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}

.review-form-container,
.reviews-container {
  min-height: 460px;
  display: flex;
}

.review-form {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background:
    radial-gradient(
      130% 120% at 12% 18%,
      rgba(127, 240, 200, 0.04),
      transparent 40%
    ),
    #0f1a24;
  padding: 2.3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  flex: 1;
  border: var(--border);
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

.review-form:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

.review-form h3 {
  margin-bottom: 0.25rem;
  color: var(--accent);
}

.review-form .form-group {
  text-align: left;
}

.review-form label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 600;
  color: var(--ink);
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  background: #0a1118;
  color: var(--ink);
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(141, 240, 193, 0.15);
}

.review-form textarea {
  resize: vertical;
  min-height: 120px;
}

.review-form button {
  margin-top: auto;
  width: 100%;
}

.reviews-container {
  background:
    radial-gradient(
      130% 120% at 12% 18%,
      rgba(127, 240, 200, 0.04),
      transparent 40%
    ),
    #0f1a24;
  border-radius: var(--radius-lg);
  padding: 2.3rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  flex: 1;
  transition:
    box-shadow 0.25s ease,
    transform 0.2s ease;
  border: var(--border);
}

.reviews-container:hover {
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
  transform: translateY(-3px);
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}

.reviews-header h3 {
  color: var(--ink);
}

.average-rating {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.97rem;
  text-align: right;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-height: none;
  overflow: visible;
  padding-right: 0;
  flex: 1;
}

.reviews-list::-webkit-scrollbar {
  width: 6px;
}

.reviews-list::-webkit-scrollbar-track {
  background: #111a24;
  border-radius: 3px;
}

.reviews-list::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

.review-card {
  background: #0a1118;
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.review-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #041019;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.review-meta h4 {
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 0.12rem;
}

.review-meta small {
  color: #9ab2d2;
  font-size: 0.82rem;
}

.rating {
  font-size: 1.05rem;
  color: var(--accent-2);
}

.review-text {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.6;
}

.review-text::before {
  content: '"';
  font-size: 1.1rem;
  color: var(--accent);
  margin-right: 0.2rem;
}

.review-text::after {
  content: '"';
  font-size: 1.1rem;
  color: var(--accent);
  margin-left: 0.2rem;
}

.view-all-btn {
  margin-top: auto;
  width: 100%;
}

.scrollable-reviews {
  max-height: 65vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.scrollable-reviews .review-card {
  margin-bottom: 1rem;
}

.no-reviews {
  text-align: center;
  color: #9ab2d2;
  font-size: 0.95rem;
}

/* Contact */
.contact {
  background: transparent;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1080px;
  margin: 0 auto;
}

.contact-form-container {
  background:
    radial-gradient(
      140% 120% at 16% 18%,
      rgba(127, 240, 200, 0.04),
      transparent 40%
    ),
    #0f1a24;
  padding: 2.4rem;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  border: var(--border);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.contact-form .form-group {
  text-align: left;
}

.contact-form label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 600;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  font-family: inherit;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  background: #0a1118;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(141, 240, 193, 0.18);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info-container {
  display: flex;
  flex-direction: column;
  gap: 1.7rem;
  background:
    radial-gradient(
      140% 120% at 16% 18%,
      rgba(127, 240, 200, 0.04),
      transparent 40%
    ),
    #0f1a24;
  padding: 2.4rem;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  border: var(--border);
}

.contact-info-container h3 {
  color: var(--accent-2);
  margin-bottom: 0.75rem;
  text-align: left;
}

.service-areas {
  list-style: none;
  text-align: left;
}

.service-areas li {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.service-areas li i {
  color: var(--accent-2);
  font-size: 0.9rem;
}

.promise-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.65rem;
  text-align: left;
}

.promise-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.promise-list i {
  color: var(--accent);
  margin-top: 0.15rem;
}

.contact-note {
  font-size: 0.9rem;
  color: #9ab2d2;
  text-align: left;
}

.contact-note a {
  color: var(--accent);
}

/* Floating CTA */
.floating-call {
  position: fixed;
  bottom: 20px;
  right: 22px;
  background: linear-gradient(130deg, #8df0c1, #f4c36b);
  color: #041019;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(244, 195, 107, 0.32);
  transition: all 0.2s ease;
  z-index: 99;
}

.floating-call:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 24px 55px rgba(141, 240, 193, 0.35);
}

/* Footer */
.footer {
  background: transparent;
  position: relative;
  z-index: 10;
  color: #e2e8f0;
  padding: 3.4rem 0 1.4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--accent-2);
  margin-bottom: 0.8rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.footer-section a {
  color: #e2e8f0;
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.footer-section a:hover {
  color: var(--accent);
  opacity: 0.85;
}

.office-info p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
}

.office-info i {
  color: var(--accent-2);
  width: 20px;
}

.newsletter-form {
  display: flex;
  margin-top: 1rem;
  gap: 0.6rem;
}

.newsletter-form input {
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  flex: 1;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.newsletter-form button {
  padding: 0.75rem 1.2rem;
  background: #f4c36b;
  color: #041019;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
}

.newsletter-form button:hover {
  background: #f1b655;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  color: var(--muted);
}

.footer-credit {
  color: var(--accent);
  font-weight: 600;
}

.social-links {
  margin-top: 1rem;
}

.social-links a {
  color: #e2e8f0;
  font-size: 1.4rem;
  margin: 0 0.4rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.social-links a:hover {
  color: var(--accent-2);
  transform: translateY(-2px);
}

/* Fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(26px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding: 4.2rem 0 3.6rem;
  }

  .hero-content {
    max-width: 100%;
    padding-inline: 0.5rem;
  }

  .hero-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .section::after {
    inset-inline: 5%;
  }

  .hero-content {
    text-align: left;
  }

  .hero-content h2 {
    font-size: 2.2rem;
    line-height: 1.18;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    max-width: 520px;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-checklist {
    grid-template-columns: 1fr;
  }

  .reviews-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .floating-call {
    bottom: 16px;
    right: 16px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    width: 92%;
    max-width: 100%;
  }

  .hero {
    padding: 2.8rem 0 2.6rem;
    min-height: auto;
  }

  .hero-content {
    padding: 0.4rem 0 0.8rem;
  }

  .hero-content h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1rem;
  }

  .hero-checklist {
    gap: 0.65rem;
    margin: 1rem 0 1.25rem;
  }

  .hero-checklist li {
    padding: 0.82rem 0.9rem;
    font-size: 0.92rem;
  }

  .cta-btn,
  .outline-btn {
    width: 100%;
  }

  .section {
    padding: 3.4rem 0;
  }

  .contact-form-container,
  .contact-info-container {
    padding: 1.35rem;
    border-radius: 16px;
  }

  .contact-form {
    gap: 0.9rem;
  }

  .contact-form label {
    margin-bottom: 0.3rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 0.82rem 0.9rem;
  }

  .contact-form textarea {
    min-height: 96px;
  }

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

  .eyebrow {
    white-space: normal;
    text-align: left;
    font-size: 0.72rem;
    padding: 0.4rem 0.8rem;
  }

}
