/* =====================================================
   WRF Cleaning – WindowrfcCleaningPro.com
   Modern New-Age Design System
   Colors: Deep Indigo #1B1F3B | Teal #00C9A7 | Cyan #00E5FF
===================================================== */

:root {
  --primary: #1B1F3B;
  --primary-light: #2A2F52;
  --teal: #00C9A7;
  --teal-dark: #00A88A;
  --cyan: #00E5FF;
  --accent: #FF6B6B;
  --bg: #F7F9FC;
  --bg-dark: #0F1225;
  --white: #FFFFFF;
  --text: #1B1F3B;
  --text-muted: #5A607F;
  --border: #E2E8F0;
  --shadow: 0 10px 40px rgba(27, 31, 59, 0.08);
  --shadow-lg: 0 20px 60px rgba(27, 31, 59, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--teal);
  margin-bottom: 12px;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 201, 167, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 201, 167, 0.45);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: var(--primary);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

/* ========== HEADER / NAV ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary);
}

.logo-mark {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 201, 167, 0.4);
}

.logo span {
  color: var(--teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
  background: rgba(0, 201, 167, 0.08);
}

.nav-cta {
  margin-left: 12px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(160deg, #0F1225 0%, #1B1F3B 50%, #1A3A4A 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 201, 167, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat {
  text-align: left;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ========== SECTIONS ========== */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header .lead {
  margin: 0 auto;
}

/* ========== CARDS ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 201, 167, 0.3);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(0, 201, 167, 0.15), rgba(0, 229, 255, 0.15));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--teal);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========== SERVICE DETAIL ========== */
.service-hero {
  padding: 140px 0 80px;
  background: linear-gradient(160deg, #0F1225 0%, #1B1F3B 100%);
  color: var(--white);
  text-align: center;
}

.service-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.service-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.content-block.reverse {
  direction: rtl;
}

.content-block.reverse > * {
  direction: ltr;
}

.content-block img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.feature-list {
  margin-top: 24px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text-muted);
}

.feature-list li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #2A2F52 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a:hover {
  color: var(--teal);
}

/* ========== FORMS ========== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 201, 167, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* ========== LEGAL PAGES ========== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-content ul li {
  list-style: disc;
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

/* ========== FAQ ========== */
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: rgba(0, 201, 167, 0.04);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ========== PRICING ========== */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.pricing-card.featured {
  border: 2px solid var(--teal);
  transform: scale(1.03);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
}

.price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  margin: 16px 0 8px;
}

.price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features {
  text-align: left;
  margin: 28px 0;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
}

/* ========== GALLERY ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--primary-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 31, 59, 0.85), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-weight: 600;
}

/* ========== BLOG ========== */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.blog-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-card {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 201, 167, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.contact-item h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-item p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .content-block,
  .content-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    border-top: 1px solid var(--border);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    width: 100%;
    padding: 14px 16px;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-stats {
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .pricing-card.featured {
    transform: none;
  }
}

/* ========== UTILITY ========== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; }
.bg-white { background: var(--white); }
.bg-light { background: #EEF2F7; }

.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(160deg, #0F1225 0%, #1B1F3B 100%);
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
  color: var(--teal);
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 201, 167, 0.15);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
}

/* ========== COST CALCULATOR ========== */
.calculator-box {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 960px;
  margin: 0 auto;
}

.calculator-form .form-group {
  margin-bottom: 22px;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
  cursor: pointer;
}

.calculator-result {
  background: linear-gradient(160deg, #0F1225 0%, #1B1F3B 100%);
  border-radius: var(--radius);
  padding: 36px 32px;
  color: var(--white);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.result-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.result-price {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1.1;
  margin-bottom: 8px;
}

.result-note {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
}

.result-disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .calculator-box {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }
  .result-price {
    font-size: 2.6rem;
  }
}
