:root {
  --brand-blue: #003366;
  --whatsapp-green: #25d366;
  --mid-blue: #0d4b85;
  --light-blue: #e8f1fa;
  --slate: #1f2933;
  --muted: #6b7a90;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(0, 51, 102, 0.18);
}

body {
  font-family: "Source Sans 3", sans-serif;
  color: var(--slate);
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  color: var(--brand-blue);
}

.service-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 6rem 5vw 4rem;
  background: linear-gradient(115deg, rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.7)),
    var(--hero-image, url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80"))
      center/cover no-repeat;
  color: var(--white);
  position: relative;
}

body.page-bird-nets {
  --hero-image: url("assets/services/birds%20net%20for%20balcony.png");
}

body.page-safety-nets {
  --hero-image: url("assets/services/balcony%20safety%20net%20banner.png");
}

body.page-invisible-grills {
  --hero-image: url("assets/services/invisibale%20Grills%20banner.png");
}

body.page-bird-spikes {
  --hero-image: url("assets/services/Birds%20Spike/Building%20Perimeter%20Protection.png");
}

body.page-cloth-hangers {
  --hero-image: url("assets/services/cloth-hangers/Professional%20Installation.png");
}

body.page-about {
  --hero-image: url("assets/services/Our%20Installation%20Process.png");
}

body.page-contact {
  --hero-image: url("assets/services/invisibale%20Grills%20banner.png");
}

.service-hero h1,
.service-hero p,
.hero-kicker {
  color: var(--white);
}

.service-hero-content {
  max-width: 640px;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-actions .btn {
  border-radius: 999px;
}

.hero-actions .btn.whatsapp {
  background: var(--whatsapp-green);
  border-color: var(--whatsapp-green);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

section {
  padding: 4.5rem 5vw;
}

.importance-grid,
.types-grid,
.materials-grid {
  display: grid;
  gap: 1.5rem;
}

.importance-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.importance-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.importance-card .icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--light-blue);
  color: var(--brand-blue);
  font-weight: 700;
  margin-bottom: 1rem;
}

.types-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.type-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  padding-bottom: 1rem;
}

.type-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.materials {
  background: var(--light-blue);
}

.materials-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.materials-card {
  background: var(--white);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.materials-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.materials-card li {
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(0, 51, 102, 0.2);
}

.check-list li::before {
  content: "✓";
  margin-right: 0.5rem;
  color: var(--brand-blue);
}

.process-steps {
  background: linear-gradient(135deg, var(--brand-blue), var(--mid-blue));
  color: var(--white);
}

.process-steps h2,
.process-steps p {
  color: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.step {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 1rem 1.5rem;
  text-align: center;
  font-weight: 600;
}

.offers {
  padding: 0 5vw 4.5rem;
}

.offers-card {
  background: var(--brand-blue);
  color: var(--white);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.offers-card h2,
.offers-card p {
  color: var(--white);
}

.area-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.area-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(0, 74, 173, 0.12);
  box-shadow: 0 10px 18px rgba(10, 30, 60, 0.08);
  display: grid;
  min-height: 90px;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(10, 30, 60, 0.14);
}

.area-title {
  padding: 12px 14px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-blue);
}

.faq {
  margin-top: 2.5rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 51, 102, 0.2);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-blue);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--muted);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-icon {
  transition: transform 0.3s ease;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--brand-blue);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .service-hero {
    padding-top: 7rem;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .offers-card {
    padding: 2.5rem 1.5rem;
  }
}
