/* ========================================
   White Dove Cleaning — Stylesheet
   ======================================== */

:root {
  --white: #ffffff;
  --ivory: #faf9f6;
  --cream: #f5f0eb;
  --warm-gray: #e8e2dc;
  --dove: #c4b8a9;
  --text: #2c2c2c;
  --text-light: #6b6560;
  --gold: #816924;
  --gold-light: #b8963e;
  --gold-dark: #6b5620;
  --shadow: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  font-weight: 600;
}

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

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(129, 105, 36, 0.3);
}

.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);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius);
}

.btn-full {
  width: 100%;
}

/* ---- Header ---- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  object-fit: cover;
  transition: var(--transition);
}

.logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--white);
  transition: color var(--transition);
}

.scrolled .logo-text {
  color: var(--text);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav a:hover::after {
  width: 100%;
}

.scrolled .nav a {
  color: var(--text-light);
}

.scrolled .nav a:hover {
  color: var(--text);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
}

.scrolled .phone-link {
  color: var(--text);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

.scrolled .menu-toggle span {
  background: var(--text);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #2c2926 0%, #3d3630 40%, #4a3f36 70%, #3a3530 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(129,105,36,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(129,105,36,0.3), transparent);
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 120px 0 80px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  color: #d4b76a;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-badges span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
}

/* ---- Section Styles ---- */

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
  color: var(--text);
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
}

/* ---- Services ---- */

.services {
  padding: 100px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---- What's Included ---- */

.included {
  padding: 100px 0;
  background: var(--ivory);
}

.included-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.included-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}

.included-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 24px;
}

.included-list {
  list-style: none;
  margin-bottom: 28px;
}

.included-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-light);
  font-size: 0.95rem;
}

.included-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ---- Why Us ---- */

.why-us {
  padding: 100px 0;
  background: var(--ivory);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.why-item {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

.why-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.why-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dove);
  margin-bottom: 12px;
}

.why-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.why-item p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---- About ---- */

.about {
  padding: 100px 0;
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
}

.about-inner.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.about-mission {
  margin-top: 20px;
  padding: 20px 24px;
  background: var(--ivory);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
}

.about-mission h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--gold-dark);
}

.about-mission p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.about-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-text .btn {
  margin-top: 12px;
}

/* ---- Testimonials ---- */

.testimonials {
  padding: 100px 0;
  background: var(--ivory);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.stars {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
}

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

/* ---- Service Areas ---- */

.areas {
  padding: 80px 0;
  background: var(--white);
}

.areas-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.areas-list a,
.areas-list span {
  padding: 10px 24px;
  background: var(--ivory);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  border: 1px solid var(--warm-gray);
  transition: all var(--transition);
  text-decoration: none;
}

.areas-list a:hover,
.areas-list span:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* ---- Quote Form ---- */

.quote {
  padding: 100px 0;
  background: var(--ivory);
}

.quote-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.quote-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 16px;
}

.quote-text > p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.quote-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 500;
}

.quote-contact-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

.quote-contact-item a:hover {
  color: var(--gold);
}

.quote-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--warm-gray);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(129, 105, 36, 0.3);
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

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

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 12px;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
  color: var(--gold-dark);
}

.form-success svg {
  margin: 0 auto 16px;
  color: var(--gold);
}

.form-success h3 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.form-success p {
  color: var(--text-light);
}

/* ---- Contact Bar ---- */

.contact {
  padding: 60px 0;
  background: var(--white);
  border-top: 1px solid var(--warm-gray);
}

.contact-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

.contact-item a:hover {
  color: var(--gold);
}

/* ---- Footer ---- */

.footer {
  padding: 48px 0 32px;
  background: #2c2c2c;
  color: rgba(255,255,255,0.7);
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  margin-bottom: 8px;
}

.footer-logo-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.7);
}

.footer-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.85);
}

.footer-logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.footer-brand p {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 24px 0;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .contact-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right var(--transition);
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  }

  .nav.open {
    right: 0;
  }

  .nav a {
    color: var(--text) !important;
    font-size: 1.1rem;
  }

  .header-right {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-content {
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    text-align: center;
  }

  .hero-badges {
    flex-direction: column;
    gap: 8px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .included-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .quote-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .quote-form {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }
}

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

  .areas-list a,
  .areas-list span {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

/* ---- Animations ---- */

.service-card,
.why-item,
.testimonial-card,
.about-inner {
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow var(--transition);
}

.service-card:nth-child(2),
.why-item:nth-child(2),
.testimonial-card:nth-child(2) {
  transition-delay: 0.1s;
}

.service-card:nth-child(3),
.why-item:nth-child(3),
.testimonial-card:nth-child(3) {
  transition-delay: 0.2s;
}

.service-card:nth-child(4),
.why-item:nth-child(4) {
  transition-delay: 0.3s;
}

.service-card:nth-child(5) {
  transition-delay: 0.15s;
}

.service-card:nth-child(6) {
  transition-delay: 0.25s;
}

/* ---- Skip Link (ADA/WCAG 2.4.1) ---- */

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--gold);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
  font-size: 0.9rem;
}

.skip-link:focus {
  top: 12px;
}

/* ---- Global Focus Styles (WCAG 2.4.7) ---- */

a:focus-visible,
button:focus-visible,
select:focus-visible,
[role="dialog"]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---- Cookie Consent Banner ---- */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2c2c2c;
  color: rgba(255,255,255,0.9);
  padding: 20px 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  box-shadow: 0 -2px 20px rgba(0,0,0,0.2);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  max-width: 600px;
  line-height: 1.5;
  margin: 0;
}

.cookie-banner a {
  color: var(--gold-light);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn-outline-dark {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.4);
}

.btn-outline-dark:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

/* ---- Consent Checkbox ---- */

.form-consent {
  margin-bottom: 20px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--gold);
}

.consent-label a {
  color: var(--gold);
  text-decoration: underline;
}

/* ---- Privacy Policy ---- */

.privacy {
  padding: 80px 0;
  background: var(--white);
}

.privacy-content {
  max-width: 720px;
  margin: 0 auto;
}

.privacy-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.privacy-content h3 {
  font-size: 1.1rem;
  margin: 28px 0 8px;
  color: var(--text);
}

.privacy-content a {
  color: var(--gold);
  text-decoration: underline;
}

/* ---- Reduced Motion (WCAG 2.3.3) ---- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .service-card,
  .why-item,
  .testimonial-card,
  .about-inner {
    opacity: 1;
    transform: none;
  }
}
