/* ============================================
   REHOBOTH WATER WORKS LTD — BRAND STYLESHEET
   Colors extracted from logo:
   Navy   #0D1B4B  Royal #1458A8  Sky #29A9E1
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0D1B4B;
  --royal:      #1458A8;
  --sky:        #29A9E1;
  --ice:        #6DD5F5;
  --white:      #FFFFFF;
  --off-white:  #F4F8FC;
  --mid-gray:   #6B7A99;
  --dark-text:  #0D1B4B;
  --shadow-sm:  0 2px 12px rgba(13,27,75,0.08);
  --shadow-md:  0 8px 32px rgba(13,27,75,0.14);
  --shadow-lg:  0 20px 60px rgba(13,27,75,0.18);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY SCALE ── */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
p  { font-size: 1.05rem; color: #3A4A6B; line-height: 1.8; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
  display: block;
  margin-bottom: 0.75rem;
}

/* ── UTILITIES ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section   { padding: 96px 0; }
.section-alt { background: var(--off-white); }
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-white p { color: rgba(255,255,255,0.82) !important; }

.section-header { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p  { font-size: 1.1rem; }

/* ── BUTTON SYSTEM ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: none; text-decoration: none;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--royal); color: var(--white); box-shadow: 0 4px 20px rgba(20,88,168,0.35); }
.btn-primary:hover { background: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(13,27,75,0.38); }
.btn-outline  { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); transform: translateY(-2px); }
.btn-sky { background: var(--sky); color: var(--white); box-shadow: 0 4px 20px rgba(41,169,225,0.4); }
.btn-sky:hover { background: #1E94CC; transform: translateY(-2px); }

/* ── NAVBAR ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(13,27,75,0.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: var(--shadow-md);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.nav-logo img { height: 52px; width: auto; filter: brightness(0) invert(1); }
.nav-logo-text { color: var(--white); }
.nav-logo-text strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; }
.nav-logo-text span  { font-size: 0.68rem; opacity: 0.7; letter-spacing: 0.05em; }

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.88); text-decoration: none;
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em;
  position: relative; padding-bottom: 4px;
  transition: color 0.25s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 100%;
  height: 2px; background: var(--sky); transition: right 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { right: 0; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 10px 22px; font-size: 0.88rem; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: var(--transition); }

/* ── HERO ── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--navy);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(13,27,75,0.92) 0%, rgba(20,88,168,0.75) 60%, rgba(41,169,225,0.4) 100%),
    url('https://images.unsplash.com/photo-1571902943202-507ec2618e8f?w=1800&auto=format&fit=crop') center/cover no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--white));
}

/* Animated water ripple */
.hero-ripple {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-ripple::before, .hero-ripple::after {
  content: ''; position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(41,169,225,0.18);
  animation: ripple 6s ease-out infinite;
}
.hero-ripple::before { width: 600px; height: 600px; right: -150px; top: 50%; transform: translateY(-50%); }
.hero-ripple::after  { width: 900px; height: 900px; right: -300px; top: 50%; transform: translateY(-50%); animation-delay: 1.5s; }
@keyframes ripple { 0%,100% { opacity: 0.3; transform: translateY(-50%) scale(1); } 50% { opacity: 0.1; transform: translateY(-50%) scale(1.06); } }

.hero-content {
  position: relative; z-index: 2;
  max-width: 760px; padding: 120px 0 80px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(41,169,225,0.2); border: 1px solid rgba(41,169,225,0.4);
  color: var(--ice); border-radius: 50px; padding: 7px 18px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-badge::before { content: '●'; color: var(--sky); font-size: 0.5rem; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-content h1 { color: var(--white); margin-bottom: 24px; }
.hero-content h1 span { color: var(--sky); }
.hero-content p { font-size: 1.15rem; color: rgba(255,255,255,0.78); max-width: 560px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 48px; margin-top: 60px;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 900; color: var(--white);
}
.hero-stat-num span { color: var(--sky); }
.hero-stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* ── TRUST STRIP ── */
.trust-strip {
  background: var(--navy); padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.trust-strip-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.7); font-size: 0.88rem; font-weight: 500;
}
.trust-icon { color: var(--sky); font-size: 1.1rem; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-image-stack { position: relative; }
.about-img-main {
  width: 100%; height: 480px; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.about-img-inset {
  position: absolute; bottom: -30px; right: -30px;
  width: 200px; height: 160px; object-fit: cover;
  border-radius: var(--radius); border: 5px solid var(--white);
  box-shadow: var(--shadow-md);
}
.about-badge-float {
  position: absolute; top: -20px; left: -20px;
  background: var(--royal); color: var(--white);
  border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow-md); text-align: center;
}
.about-badge-float strong { font-family: 'Playfair Display', serif; font-size: 1.8rem; display: block; }
.about-badge-float span  { font-size: 0.75rem; opacity: 0.85; }

.about-content h2 { margin-bottom: 20px; }
.about-content p  { margin-bottom: 16px; }
.about-content .btn { margin-top: 12px; }

.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.about-point {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px; background: var(--off-white); border-radius: 10px;
  border-left: 3px solid var(--sky);
}
.about-point-icon { color: var(--royal); font-size: 1.3rem; margin-top: 2px; flex-shrink: 0; }
.about-point h4 { font-size: 0.95rem; margin-bottom: 2px; }
.about-point p  { font-size: 0.82rem; margin: 0; }

/* ── SERVICES ── */
.services-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.tab-btn {
  padding: 10px 24px; border-radius: 50px; border: 2px solid #E0E8F4;
  background: transparent; color: var(--mid-gray); font-weight: 600; font-size: 0.88rem;
  cursor: pointer; transition: var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  background: var(--royal); border-color: var(--royal); color: var(--white);
}

.service-panel { display: none; }
.service-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.service-text h2 { margin-bottom: 16px; }
.service-text p  { margin-bottom: 14px; }

.service-keywords {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0;
}
.kw-tag {
  background: rgba(41,169,225,0.1); color: var(--royal);
  border: 1px solid rgba(41,169,225,0.25);
  border-radius: 50px; padding: 4px 14px; font-size: 0.78rem; font-weight: 600;
}

.service-features { list-style: none; margin: 20px 0 28px; }
.service-features li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid #EEF2F8;
  font-size: 0.95rem;
}
.service-features li::before { content: '✓'; color: var(--sky); font-weight: 700; flex-shrink: 0; }

.service-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.service-gallery-img {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  position: relative;
}
.service-gallery-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.service-gallery-img:hover img { transform: scale(1.06); }
.service-gallery-img:first-child { grid-column: span 2; aspect-ratio: 16/9; }

/* ── FAQ (per service) ── */
.faq-section { margin-top: 32px; }
.faq-item { border-bottom: 1px solid #EEF2F8; }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 18px 0; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600;
  color: var(--navy); display: flex; justify-content: space-between; align-items: center;
}
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--sky); transition: transform 0.3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a p { padding: 0 0 18px; font-size: 0.95rem; }

/* ── GALLERY ── */
.gallery-filters { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 8px 22px; border-radius: 50px; border: 2px solid #E0E8F4;
  background: transparent; color: var(--mid-gray); font-weight: 600; font-size: 0.85rem;
  cursor: pointer; transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover { background: var(--royal); border-color: var(--royal); color: var(--white); }

.gallery-grid {
  columns: 4 220px; gap: 14px;
}
.gallery-item {
  break-inside: avoid; margin-bottom: 14px;
  border-radius: var(--radius); overflow: hidden; position: relative;
  cursor: pointer;
}
.gallery-item img { width: 100%; display: block; transition: transform 0.4s; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,27,75,0.88) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.35s;
  display: flex; align-items: flex-end; padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay span { color: var(--white); font-weight: 600; font-size: 0.9rem; }

/* ── STATS BAND ── */
.stats-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--royal) 100%);
  padding: 72px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 900; color: var(--white);
}
.stat-number span { color: var(--sky); }
.stat-label { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-top: 6px; }

/* ── WHY CHOOSE US ── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-card {
  padding: 36px 28px; background: var(--white);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  border: 1px solid #EEF2F8;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.why-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--royal), var(--sky));
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-card:hover::before { transform: scaleX(1); }
.why-icon {
  width: 56px; height: 56px; background: linear-gradient(135deg, var(--royal), var(--sky));
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--white); margin-bottom: 20px;
}
.why-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.why-card p  { font-size: 0.92rem; }

/* ── BLOG ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid #EEF2F8;
  transition: var(--transition); background: var(--white);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 24px; }
.blog-meta { display: flex; align-items: center; gap: 10px; font-size: 0.78rem; color: var(--mid-gray); margin-bottom: 10px; }
.blog-tag { background: rgba(41,169,225,0.1); color: var(--royal); padding: 3px 10px; border-radius: 50px; font-weight: 600; }
.blog-card-body h3 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.4; }
.blog-card-body p  { font-size: 0.88rem; }
.read-more { display: inline-flex; align-items: center; gap: 6px; color: var(--royal); font-weight: 600; font-size: 0.88rem; margin-top: 14px; text-decoration: none; }
.read-more:hover { gap: 10px; color: var(--sky); }

/* ── LOCATION ── */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); height: 400px; }
.map-embed iframe { width: 100%; height: 100%; border: none; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid #EEF2F8;
}
.contact-icon {
  width: 44px; height: 44px; background: linear-gradient(135deg, var(--royal), var(--sky));
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--white); flex-shrink: 0;
}
.contact-card h4 { font-size: 0.85rem; color: var(--mid-gray); font-weight: 500; margin-bottom: 4px; }
.contact-card p  { font-size: 0.95rem; font-weight: 600; color: var(--navy); margin: 0; }
.contact-card a  { color: var(--royal); text-decoration: none; }
.contact-card a:hover { color: var(--sky); }

/* ── CONTACT FORM ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: span 2; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea {
  padding: 14px 18px; border: 2px solid #E0E8F4;
  border-radius: 10px; font-family: 'Inter', sans-serif; font-size: 0.95rem;
  color: var(--navy); background: var(--white);
  transition: border-color 0.25s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--sky);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error { color: #E53E3E; font-size: 0.8rem; display: none; }
.form-group.error input, .form-group.error select, .form-group.error textarea { border-color: #E53E3E; }
.form-group.error .form-error { display: block; }
.form-success {
  display: none; text-align: center; padding: 32px;
  background: rgba(41,169,225,0.08); border-radius: var(--radius);
  border: 1px solid rgba(41,169,225,0.3);
}
.form-success h3 { color: var(--royal); margin-bottom: 8px; }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--royal) 0%, var(--sky) 100%);
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p  { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 540px; margin: 0 auto 36px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn-white { background: var(--white); color: var(--royal); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.2); }

/* ── FOOTER ── */
footer {
  background: var(--navy); color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}
.footer-brand img { height: 60px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; }
.footer-col h4 { color: var(--white); font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.9rem; transition: color 0.25s; }
.footer-col ul li a:hover { color: var(--sky); }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 0.9rem; text-decoration: none;
  transition: var(--transition);
}
.social-btn:hover { background: var(--sky); border-color: var(--sky); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0; display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.85rem; margin: 0; }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: var(--transition);
  animation: wa-bounce 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.6); }
@keyframes wa-bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }
.whatsapp-tooltip {
  position: absolute; right: 70px; white-space: nowrap;
  background: var(--navy); color: var(--white);
  padding: 8px 14px; border-radius: 8px; font-size: 0.82rem; font-weight: 600;
  opacity: 0; transform: translateX(10px); transition: var(--transition); pointer-events: none;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left  { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }

/* ── BACK TO TOP ── */
#back-to-top {
  position: fixed; bottom: 96px; right: 28px; z-index: 998;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--royal); color: var(--white); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.1rem;
  opacity: 0; transform: translateY(20px); transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
#back-to-top.visible { opacity: 1; transform: none; }
#back-to-top:hover { background: var(--navy); }

/* ── MOBILE NAV ── */
@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; bottom: 0;
    width: 280px; background: var(--navy);
    flex-direction: column; gap: 0; padding: 80px 32px 32px;
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
    box-shadow: -8px 0 32px rgba(0,0,0,0.3);
  }
  .nav-links.open { right: 0; }
  .nav-links a { padding: 16px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-grid    { grid-template-columns: 1fr; gap: 40px; }
  .about-img-inset, .about-badge-float { display: none; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .service-panel.active { grid-template-columns: 1fr; }
  .why-grid    { grid-template-columns: 1fr 1fr; }
  .blog-grid   { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .hero-stats  { gap: 28px; }
  .form-grid   { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .gallery-grid { columns: 2 160px; }
  .about-points { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .why-grid    { grid-template-columns: 1fr; }
  .stats-grid  { grid-template-columns: 1fr 1fr; }
  .service-gallery { grid-template-columns: 1fr; }
  .service-gallery-img:first-child { grid-column: span 1; }
  .hero-actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
