/* ============================================================
   SRC Cleaning Services — Main Stylesheet
   Colour palette derived from brand logo
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --blue-primary:   #3a7fc1;
  --blue-dark:      #1c3f6e;
  --blue-deeper:    #122a4a;
  --blue-light:     #e8f2fb;
  --blue-mid:       #d0e6f7;
  --white:          #ffffff;
  --off-white:      #f4f8fd;
  --text-dark:      #1e2a38;
  --text-body:      #3d4f60;
  --text-muted:     #6b7f93;
  --border:         #ccdff0;
  --shadow-sm:      0 2px 8px rgba(28,63,110,0.08);
  --shadow-md:      0 6px 24px rgba(28,63,110,0.13);
  --shadow-lg:      0 12px 40px rgba(28,63,110,0.18);
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --transition:     0.3s ease;
  --font-heading:   'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body:      'Open Sans', 'Segoe UI', Arial, sans-serif;
  --max-width:      1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--blue-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul { list-style: none; }

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

.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3rem 0; }

/* --- Section Headings --- */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: var(--blue-light);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--blue-dark);
  margin-bottom: 0.75rem;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}
.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-light));
  border-radius: 2px;
  margin: 1rem auto 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 1.2rem 0;
}
#navbar.scrolled {
  background: var(--blue-deeper);
  box-shadow: var(--shadow-md);
  padding: 0.7rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-logo img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  object-fit: cover;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo-text .brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.nav-logo-text .brand-sub {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  letter-spacing: 0.02em;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}
.nav-cta {
  background: var(--blue-primary) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 0.5rem 1.25rem !important;
}
.nav-cta:hover {
  background: var(--white) !important;
  color: var(--blue-dark) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue-deeper);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.25;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18,42,74,0.92) 0%, rgba(28,63,110,0.75) 60%, rgba(58,127,193,0.5) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}
.hero-badge svg { width: 14px; height: 14px; fill: var(--blue-primary); }
.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.hero-content h1 span { color: var(--blue-primary); }
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat .number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll svg { width: 20px; height: 20px; stroke: rgba(255,255,255,0.5); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue-primary);
  color: var(--white);
  border-color: var(--blue-primary);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  color: var(--blue-dark);
  transform: translateY(-2px);
}
.btn svg { width: 18px; height: 18px; }

/* ============================================================
   TRUST BAR
   ============================================================ */
#trust-bar {
  background: var(--blue-dark);
  padding: 1.25rem 0;
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 600;
}
.trust-item svg {
  width: 18px; height: 18px;
  stroke: var(--blue-primary);
  flex-shrink: 0;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
#services { background: var(--off-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-img .service-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--blue-primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}
.service-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-icon {
  width: 52px; height: 52px;
  background: var(--blue-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.service-icon svg { width: 26px; height: 26px; stroke: var(--blue-primary); }
.service-card-body h3 {
  font-size: 1.25rem;
  color: var(--blue-dark);
  margin-bottom: 0.75rem;
}
.service-card-body p {
  color: var(--text-body);
  font-size: 0.95rem;
  flex: 1;
}
.service-features {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-body);
}
.service-features li::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--blue-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--blue-dark);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-badge .big-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.about-badge .badge-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.about-content .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: var(--blue-light);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  color: var(--blue-dark);
  margin-bottom: 1.25rem;
}
.about-content p {
  color: var(--text-body);
  margin-bottom: 1rem;
}
.about-checks {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.about-checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-body);
}
.check-icon {
  width: 22px; height: 22px;
  background: var(--blue-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.check-icon svg { width: 12px; height: 12px; stroke: white; stroke-width: 3; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
#why-us {
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue-dark) 100%);
  color: var(--white);
}
#why-us .section-header h2 { color: var(--white); }
#why-us .section-header p  { color: rgba(255,255,255,0.7); }
#why-us .section-header .eyebrow {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
}
#why-us .divider { background: linear-gradient(90deg, rgba(255,255,255,0.6), transparent); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.why-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
  backdrop-filter: blur(4px);
}
.why-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}
.why-card-icon {
  width: 64px; height: 64px;
  background: rgba(58,127,193,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 1px solid rgba(58,127,193,0.4);
}
.why-card-icon svg { width: 28px; height: 28px; stroke: var(--blue-primary); }
.why-card h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.why-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials { background: var(--off-white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--blue-primary);
  transition: box-shadow var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}
.stars svg { width: 18px; height: 18px; fill: #f5a623; stroke: none; }
.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text-body);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  border: none;
  padding: 0;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.author-avatar {
  width: 42px; height: 42px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue-dark);
  flex-shrink: 0;
}
.author-info .name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.author-info .location {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.review-badge {
  text-align: center;
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  background: var(--blue-dark);
  border-radius: var(--radius-md);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}
.review-badge .big-pct {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
}
.review-badge p { color: rgba(255,255,255,0.8); margin: 0; font-size: 0.95rem; }

/* ============================================================
   COVERAGE AREA / MAP
   ============================================================ */
#coverage { background: var(--white); }

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.coverage-info h3 {
  font-size: 1.4rem;
  color: var(--blue-dark);
  margin-bottom: 1rem;
}
.coverage-info p { color: var(--text-body); }
.coverage-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.coverage-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-body);
}
.coverage-list li svg { width: 16px; height: 16px; stroke: var(--blue-primary); flex-shrink: 0; }
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--border);
}
.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ============================================================
   CONTACT / QUOTE SECTION
   ============================================================ */
#contact {
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue-dark) 100%);
}
#contact .section-header h2 { color: var(--white); }
#contact .section-header p  { color: rgba(255,255,255,0.7); }
#contact .section-header .eyebrow {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
}
#contact .divider { background: linear-gradient(90deg, rgba(255,255,255,0.6), transparent); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}
.contact-info { color: var(--white); }
.contact-info h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.15);
}
.contact-item-icon svg { width: 20px; height: 20px; stroke: var(--blue-primary); }
.contact-item-text .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.15rem;
}
.contact-item-text a,
.contact-item-text span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}
.contact-item-text a:hover { color: var(--blue-primary); }
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}
.social-link {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
  transition: background var(--transition);
}
.social-link:hover { background: var(--blue-primary); color: var(--white); }
.social-link svg { width: 20px; height: 20px; fill: currentColor; }

/* Quote Form */
.quote-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.quote-form-wrap h3 {
  font-size: 1.3rem;
  color: var(--blue-dark);
  margin-bottom: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.form-group label .req { color: var(--blue-primary); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(58,127,193,0.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233a7fc1' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 1rem 2rem; }
.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}
.form-note svg { width: 12px; height: 12px; stroke: var(--text-muted); vertical-align: middle; }
#form-message {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
}
#form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  display: block;
}
#form-message.error {
  background: #fce4ec;
  color: #c62828;
  border: 1px solid #ef9a9a;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--blue-deeper);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}
.footer-contact-item svg { width: 15px; height: 15px; stroke: var(--blue-primary); flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.6); }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: rgba(255,255,255,0.8); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--blue-deeper);
  border-top: 2px solid var(--blue-primary);
  padding: 1.25rem 1.5rem;
  display: none;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
#cookie-banner.visible { display: block; }
.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-text {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  flex: 1;
}
.cookie-text a { color: var(--blue-primary); }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--blue-primary);
  color: var(--white);
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-cookie-accept:hover { background: var(--white); color: var(--blue-dark); }
.btn-cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-cookie-decline:hover { color: var(--white); border-color: rgba(255,255,255,0.6); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 46px; height: 46px;
  background: var(--blue-primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  pointer-events: none;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#back-to-top:hover { background: var(--blue-dark); }
#back-to-top svg { width: 20px; height: 20px; stroke: white; }

/* ============================================================
   ANIMATIONS / SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-badge { right: 1rem; }
  .coverage-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--blue-deeper);
    padding: 6rem 2rem 2rem;
    gap: 0.5rem;
    z-index: 999;
    overflow-y: auto;
  }
  .nav-links.open a {
    font-size: 1.2rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
  }
  .nav-toggle { z-index: 1001; }
  .hero-stats { gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-pad { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .about-badge { position: static; margin-top: 1rem; display: inline-flex; gap: 1rem; }
  .cookie-inner { flex-direction: column; }
  .cookie-actions { width: 100%; justify-content: center; }
}

/* ============================================================
   PRIVACY POLICY PAGE
   ============================================================ */
.policy-page { padding: 8rem 0 5rem; }
.policy-page h1 { font-size: 2.2rem; color: var(--blue-dark); margin-bottom: 0.5rem; }
.policy-page .last-updated { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 2.5rem; }
.policy-page h2 { font-size: 1.3rem; color: var(--blue-dark); margin: 2rem 0 0.75rem; }
.policy-page p, .policy-page li { color: var(--text-body); line-height: 1.8; }
.policy-page ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }

/* ============================================================
   ERROR PAGES (404 / 403)
   ============================================================ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue-dark) 100%);
  text-align: center;
  padding: 2rem;
}
.error-content { max-width: 500px; }
.error-code {
  font-family: var(--font-heading);
  font-size: 7rem;
  font-weight: 800;
  color: rgba(255,255,255,0.15);
  line-height: 1;
  margin-bottom: 0;
}
.error-content img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}
.error-content h1 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.error-content p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
}

/* ============================================================
   UTILITY HELPERS (replaces all inline style="" attributes)
   ============================================================ */

/* Replaces style="margin-top:1.5rem;" on coverage CTA button */
.mt-1-5 { margin-top: 1.5rem; }

/* Replaces style="border:0;" on Google Maps iframe */
.map-container iframe { border: 0; }

/* Replaces style="display:none;" on honeypot field */
.honeypot { display: none; }

/* Replaces style="border-top:none;padding-top:0;" on privacy footer */
.footer-bottom--flush { border-top: none; padding-top: 0; }

/* Admin panel utility classes (replaces inline styles in index.php) */
.overflow-x-auto   { overflow-x: auto; }
.ws-nowrap         { white-space: nowrap; }
.text-muted-small  { font-size: 0.82rem; color: #888; }
.form-inline       { display: inline; }
.admin-clear-link  {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  color: #888;
  text-decoration: none;
}


/* ============================================================
   GUARANTEE SECTION
   ============================================================ */
.guarantee-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-deeper) 100%);
  color: #fff;
}

.guarantee-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.guarantee-icon {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guarantee-icon svg {
  width: 52px;
  height: 52px;
  stroke: #fff;
}

.guarantee-content h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.guarantee-statement {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.guarantee-content p {
  opacity: 0.88;
  margin-bottom: 1.5rem;
}

.guarantee-section .btn-primary {
  background: #fff;
  color: var(--blue-dark);
  border-color: #fff;
}

.guarantee-section .btn-primary:hover {
  background: var(--blue-primary);
  color: #fff;
  border-color: var(--blue-primary);
}

@media (max-width: 640px) {
  .guarantee-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}

/* ============================================================
   WHATSAPP BUTTON & FLOATING BUTTON
   ============================================================ */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: #25D366;
  color: #fff;
  border: 2px solid #25D366;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  padding: 0.75rem 1.1rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.whatsapp-float:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

.whatsapp-float-label {
  white-space: nowrap;
}

@media (max-width: 480px) {
  .whatsapp-float-label { display: none; }
  .whatsapp-float {
    padding: 0.85rem;
    border-radius: 50%;
  }
}

/* ============================================================
   COVERAGE LIST — TOWN GRID
   ============================================================ */
.coverage-list--towns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 1rem;
  margin-bottom: 1.5rem;
}

.coverage-list--towns li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  padding: 0.2rem 0;
}

.coverage-list--towns li svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: var(--blue-primary);
}

@media (max-width: 480px) {
  .coverage-list--towns { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE HERO (inner pages like FAQ, service pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue-dark) 100%);
  color: #fff;
  padding: 7rem 0 3.5rem;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb { margin-bottom: 1rem; }

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
}

.breadcrumb ol li:not(:last-child)::after {
  content: '›';
  margin-left: 0.5rem;
  opacity: 0.6;
}

.breadcrumb a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
}

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

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item:hover { box-shadow: var(--shadow-md); }

.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-primary);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  gap: 1rem;
  transition: color var(--transition), background var(--transition);
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c3f6e' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.3s ease;
}

details[open] .faq-question::after { transform: rotate(180deg); }

details[open] .faq-question {
  color: var(--blue-primary);
  background: var(--blue-light);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-body);
  line-height: 1.75;
}

.faq-answer p + p { margin-top: 0.75rem; }

.faq-answer ul {
  margin: 0.75rem 0 0.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  list-style: disc;
}

.faq-answer a { color: var(--blue-primary); text-decoration: underline; }
.faq-answer a:hover { color: var(--blue-dark); }

/* FAQ CTA section */
.faq-cta {
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue-dark) 100%);
}

.faq-cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.faq-cta-inner h2 { color: #fff; margin-bottom: 0.75rem; }
.faq-cta-inner p  { color: rgba(255,255,255,0.88); margin-bottom: 2rem; }
.faq-cta-inner a  { color: #fff; }

.faq-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.faq-cta .btn-primary {
  background: #fff;
  color: var(--blue-dark);
  border-color: #fff;
}

.faq-cta .btn-primary:hover {
  background: var(--blue-primary);
  color: #fff;
  border-color: var(--blue-primary);
}

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--blue-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 9999;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus { top: 0; }

/* Map attribution credit line */
.map-credit {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  text-align: right;
}

.map-credit a {
  color: var(--text-muted);
  text-decoration: underline;
}

/* ── Map consent placeholder ── */
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  height: 450px;
  background: #f0f4f8;
  border: 2px dashed #c5d5e8;
  border-radius: var(--radius);
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
}

.map-placeholder svg {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
  opacity: 0.5;
}

.map-placeholder p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Hide the iframe by default until consent is given */
#osm-iframe:not([src]) {
  display: none;
}

/* ── Cookie banner updated layout ── */
.cookie-text strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.cookie-text p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
}
