/* ==========================================================================
   VIEWS — Window, Villa & Exterior Cleaning — Dubai
   Brand tokens extracted from the live views.ae GoHighLevel build.
   ========================================================================== */

:root {
  --primary: #37ca37;
  --primary-dark: #18bd5b;
  --secondary: #188bf6;
  --accent: #11a4d4;
  --navy: #0e182c;
  --navy-2: #143352;
  --slate: #5c738a;
  --bg-light: #edf0f2;
  --bg-tint: #f2f9fd;
  --white: #ffffff;
  --green-deep: #047c59;
  --radius: 12px;
  --shadow-card: 0 10px 30px rgba(14, 24, 44, 0.08);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  margin: 0 0 16px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

p { margin: 0 0 16px; color: var(--slate); }

.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.bg-light { background: var(--bg-light); }
.bg-tint { background: var(--bg-tint); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.75); }
.text-center { text-align: center; }

.lead {
  max-width: 720px;
  margin: 0 auto 40px;
  font-size: 1.125rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--primary-dark);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(24, 189, 91, 0.35);
}
.btn-primary:hover { background: #14a34e; }
.btn-outline {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}
.btn-outline:hover { background: #f0fbf3; }
.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}
.btn-secondary:hover { background: #0f74d6; }
.btn-block { width: 100%; justify-content: center; }

/* Exact per-instance CTA colors matched against the live site — the original
   GHL build never unified these into shared tokens, so each button below
   reproduces its own page's actual measured color rather than one green. */
.btn-cyan {
  background: var(--accent);
  color: var(--white);
}
.btn-cyan:hover { background: #0e8bb3; }
.btn-cyan-ring {
  background: var(--accent);
  color: var(--white);
  border-color: var(--white);
}
.btn-cyan-ring:hover { background: #0e8bb3; }
.btn-green-services {
  background: #1fad53;
  color: var(--white);
  border-color: var(--white);
}
.btn-green-services:hover { background: #17913f; }
.btn-outline-green {
  background: var(--white);
  color: #2ecc71;
  border-color: #2ecc71;
}
.btn-outline-green:hover { background: #eafaf1; }
.btn-green-about {
  background: var(--primary);
  color: var(--white);
}
.btn-green-about:hover { background: #2fb32f; }

/* Promo bar */
.promo-bar {
  background: #047c59;
  color: var(--white);
  text-align: center;
  font-size: 0.9rem;
  padding: 10px 48px 10px 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.promo-bar strong { color: #ffd166; }
.promo-bar .promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f89e1b;
  color: #026346;
  padding: 6px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}
.promo-bar .promo-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0.8;
}
.promo-bar .promo-close:hover { opacity: 1; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(14,24,44,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo img { height: 90px; width: auto; }
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-weight: 600;
  color: var(--navy);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--secondary); border-color: var(--secondary); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.icon-btn {
  width: 25px; height: 25px;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary);
  opacity: 0.9;
}
.icon-btn:hover { opacity: 1; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--navy);
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 78%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 32px;
    gap: 24px;
    transition: right 0.3s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  }
  .nav-links.open { right: 0; }
  .nav-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(14,24,44,0.5);
    z-index: 90;
  }
  .nav-overlay.open { display: block; }
}

/* Hero (inner pages) */
.page-hero {
  position: relative;
  padding: 120px 24px 90px;
  color: var(--white);
  text-align: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,51,82,0.88), rgba(24,139,246,0.55));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3rem); }
.page-hero p { color: rgba(255,255,255,0.9); font-size: 1.15rem; margin: 0; }

.page-hero-solid {
  background: var(--navy);
  padding: 90px 24px 70px;
  color: var(--white);
  text-align: center;
}
.page-hero-solid h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3rem); }
.page-hero-solid p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin: 0; }

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content .updated { color: var(--slate); margin-bottom: 28px; }
.legal-content .updated strong { color: var(--navy); }
.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 40px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(14,24,44,0.08);
}
.legal-content ul { margin: 0 0 16px; padding-left: 22px; color: var(--slate); }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--secondary); text-decoration: underline; }

/* Home hero */
.home-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroCrossfade 12s infinite;
}
.hero-bg:nth-child(1) { animation-delay: 0s; }
.hero-bg:nth-child(2) { animation-delay: 4s; }
.hero-bg:nth-child(3) { animation-delay: 8s; }
@keyframes heroCrossfade {
  0% { opacity: 0; }
  8% { opacity: 1; }
  28% { opacity: 1; }
  36% { opacity: 0; }
  100% { opacity: 0; }
}
.home-hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(10,25,44,0.92) 0%, rgba(15,60,95,0.75) 55%, rgba(17,164,212,0.55) 100%);
}
.home-hero .container { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; }
.home-hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.home-hero .badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.home-hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  max-width: 720px;
}
.home-hero .lead {
  margin: 0 0 32px;
  color: rgba(255,255,255,0.88);
  font-size: 1.15rem;
  max-width: 620px;
}
.home-hero .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.home-hero .btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.home-hero .btn-ghost:hover { background: rgba(255,255,255,0.1); }
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 0.95rem;
}
.hero-stats span { display: inline-flex; align-items: center; gap: 8px; }
.stat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Video section */
.video-section { text-align: center; }
.video-wrap {
  max-width: 900px;
  margin: 40px auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}
.video-wrap video { width: 100%; display: block; }
.video-wrap .mute-btn {
  position: absolute;
  bottom: 16px; right: 16px;
  background: rgba(14,24,44,0.7);
  color: var(--white);
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Grid layouts */
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* Service cards (home) */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(14,24,44,0.05);
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--bg-tint);
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary);
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.service-card p { margin: 0; }

/* Services page cards (with photo) */
.svc-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(14,24,44,0.05);
  display: flex;
  flex-direction: column;
}
.svc-card .svc-photo {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.svc-card .svc-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,24,44,0.15), rgba(14,24,44,0.55));
}
.svc-card .svc-icon {
  position: absolute;
  bottom: 16px; left: 16px;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary);
  z-index: 1;
  font-size: 1.2rem;
}
.svc-card .svc-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.svc-card .svc-note {
  color: var(--secondary);
  font-style: italic;
  font-size: 0.9rem;
  margin: 8px 0 20px;
}
.svc-card .btn { margin-top: auto; }

/* Before/after slider */
.ba-slider {
  max-width: 560px;
  margin: 40px auto 0;
  position: relative;
}
.ba-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 4px solid var(--white);
  outline: 1px solid rgba(14,24,44,0.08);
}
.ba-frame img { width: 100%; height: 360px; object-fit: cover; display: none; }
.ba-frame img.active { display: block; }
.ba-tag {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(17,164,212,0.85);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 2;
}
.ba-frame .before-img { position: relative; }
.ba-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  z-index: 3;
}
.ba-arrow.prev { left: -18px; }
.ba-arrow.next { right: -18px; }
.ba-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.ba-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(14,24,44,0.2); cursor: pointer; padding: 0; }
.ba-dots button.active { background: var(--secondary); width: 22px; border-radius: 4px; }

/* Gallery */
.gallery-carousel {
  position: relative;
  max-width: 1100px;
  margin: 40px auto 0;
  overflow: hidden;
}
.gallery-track {
  display: flex;
  transition: transform 0.6s ease;
}
.gallery-track img {
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
  margin-right: 20px;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  z-index: 2;
  font-size: 1.2rem;
  color: var(--navy);
}
.gallery-arrow.prev { left: 8px; }
.gallery-arrow.next { right: 8px; }
.gallery-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.gallery-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: none;
  background: rgba(14,24,44,0.2); cursor: pointer; padding: 0;
}
.gallery-dots button.active { background: var(--secondary); width: 22px; border-radius: 4px; }

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px;
  border: 1px solid rgba(14,24,44,0.05);
}
.stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card p { color: var(--navy); font-size: 0.95rem; }
.testimonial-author { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.testimonial-author img { width: 24px; height: 24px; }
.testimonial-author .name { font-weight: 700; font-size: 0.9rem; }
.testimonial-author .date { color: var(--slate); font-size: 0.8rem; }

/* Partner logos */
.partners-row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.partners-row img {
  height: 90px;
  width: 130px;
  object-fit: contain;
  border-radius: 8px;
}

/* Values / feature cards */
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(14,24,44,0.05);
}
.value-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--bg-tint);
  color: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

/* Checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; }
.checklist li::before {
  content: "✓";
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
}

/* VIEWS letters */
.letters-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
@media (max-width: 720px) { .letters-row { grid-template-columns: repeat(2, 1fr); } }
.letter-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px 16px;
  text-align: center;
  border: 1px solid rgba(14,24,44,0.05);
}
.letter-card .letter { font-size: 2.4rem; font-weight: 800; color: var(--secondary); margin-bottom: 8px; }
.letter-card .word { font-weight: 700; }

/* Areas pills */
.areas-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.area-pill {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
}

/* Two-col image/text */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-card); }

/* Quote gradient section */
.quote-section {
  background: linear-gradient(135deg, var(--navy-2), var(--accent));
  color: var(--white);
  text-align: center;
}
.quote-section h2 { color: var(--white); }
.quote-section p { color: rgba(255,255,255,0.85); }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.8); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo img { height: 80px; margin-bottom: 16px; background: var(--white); padding: 6px; border-radius: 8px; }
.footer-grid h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-links a:hover { color: var(--secondary); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--secondary); }
.footer-contact p { color: rgba(255,255,255,0.75); display: flex; gap: 10px; align-items: flex-start; }
.footer-google-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.9rem;
}
.footer-google-rating:hover { color: var(--white); }
.footer-google-rating .stars { color: #f5a623; letter-spacing: 1px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}
.footer-bottom a:hover { color: var(--secondary); }

/* Contact page */
.contact-info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 22px;
  border: 1px solid rgba(14,24,44,0.05);
  margin-bottom: 18px;
}
.contact-info-card .ci-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-info-card h4 { margin: 0 0 6px; }
.contact-info-card p { margin: 0; }

.quote-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 36px;
  border: 1px solid rgba(14,24,44,0.05);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 0.95rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(14,24,44,0.15);
  font-family: var(--font);
  font-size: 0.95rem;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-hint { font-size: 0.8rem; color: var(--slate); margin-top: 6px; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }

/* 404 */
.error-page { text-align: center; padding: 140px 24px 100px; }
.error-page .code { font-size: 6rem; font-weight: 800; color: var(--secondary); margin: 0; }
.error-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; }
}
