/* ========================================
   KOVRA Home Services — Styles
   ======================================== */

/* --- Variables --- */
:root {
  --charcoal: #0B0B0B;
  --graphite: #1E1E1E;
  --stone: #F3F1EA;
  --white: #FFFFFF;
  --amber: #F4C430;
  --amber-hover: #E0B42B;
  --text-primary: #0B0B0B;
  --text-secondary: #6B6B6B;
  --text-tertiary: #999999;
  --border: rgba(0,0,0,0.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-h: 80px;
  --container-max: 1360px;
  --px: 20px;
  --section-y: 80px;
  --header-h: 68px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
  :root { --px: 48px; --section-y: 120px; --header-h: 80px; }
}
@media (min-width: 1024px) {
  :root { --px: 64px; --section-y: 160px; }
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--px);
  padding-right: var(--px);
}

.section { padding: var(--section-y) 0; }

/* --- Typography --- */
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--text-tertiary);
}

.section-headline {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 560px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 0;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--amber);
  color: var(--charcoal);
}
.btn--primary:hover {
  background: var(--amber-hover);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn--outline:hover {
  border-color: var(--white);
}

.btn--outline-dark {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid rgba(0,0,0,0.2);
}
.btn--outline-dark:hover {
  border-color: var(--charcoal);
}

.btn--arrow::after {
  content: '\2192';
  transition: transform var(--transition);
}
.btn--arrow:hover::after {
  transform: translateX(4px);
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: all var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--px);
}

.header__logo img {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}

.header.scrolled {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}
.header.scrolled .header__logo img {
  filter: none;
}
.header.scrolled .nav__link {
  color: var(--text-primary);
}
.header.scrolled .nav__link:hover {
  color: var(--amber);
}
.header.scrolled .header__cta {
  color: var(--charcoal);
}

.nav { display: none; }

@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 36px;
  }
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.3px;
  transition: color var(--transition);
}
.nav__link:hover { color: var(--white); }

.header__cta {
  display: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1px solid var(--amber);
  background: var(--amber);
  color: var(--charcoal);
  transition: all var(--transition);
}
.header__cta:hover {
  background: var(--amber-hover);
}

@media (min-width: 1024px) {
  .header__cta { display: inline-flex; }
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 110;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}
.header.scrolled .menu-toggle span {
  background: var(--charcoal);
}
.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);
}

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}

/* Mobile Nav — Glassmorphism */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 105;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding-top: var(--header-h);
  background: rgba(11, 11, 11, 0.78);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav__link {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  transition: color var(--transition);
}
.mobile-nav__link:active {
  color: var(--amber);
}
.mobile-nav__cta {
  margin-top: 20px;
  width: 80%;
  text-align: center;
  justify-content: center;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  overflow: hidden;
  background: var(--charcoal);
}

@media (min-width: 768px) {
  .hero {
    align-items: center;
    padding-bottom: 0;
  }
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

@media (min-width: 768px) {
  .hero__image { object-position: center center; }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(11,11,11,0.88) 0%,
    rgba(11,11,11,0.72) 35%,
    rgba(11,11,11,0.35) 65%,
    rgba(11,11,11,0.15) 100%
  );
}

@media (max-width: 767px) {
  .hero__overlay {
    background: linear-gradient(
      to top,
      rgba(11,11,11,0.92) 0%,
      rgba(11,11,11,0.7) 50%,
      rgba(11,11,11,0.3) 100%
    );
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding-top: calc(var(--header-h) + 40px);
}

.hero__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(44px, 8vw, 80px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero__title .highlight {
  color: var(--amber);
}

.hero__text {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero__trust {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.5px;
}
.hero__trust span {
  margin: 0 10px;
  opacity: 0.4;
}

/* ========================================
   SERVICES
   ======================================== */
.services { background: var(--white); }

.services__header {
  margin-bottom: 64px;
}

@media (min-width: 768px) {
  .services__header {
    margin-bottom: 80px;
  }
}

.services__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .services__grid .service-card:nth-child(1) {
    grid-column: 1 / 3;
  }
  .services__grid .service-card:nth-child(6) {
    grid-column: 3 / 5;
  }
  .services__grid .service-card:nth-child(7) {
    grid-column: 1 / 3;
  }
  .services__grid .service-card:nth-child(8) {
    grid-column: 3 / 5;
  }
}

.service-card {
  display: block;
  position: relative;
  overflow: hidden;
}

.service-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--graphite);
  overflow: hidden;
}

@media (min-width: 640px) {
  .service-card__image {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 1024px) {
  .service-card:nth-child(1) .service-card__image,
  .service-card:nth-child(6) .service-card__image,
  .service-card:nth-child(7) .service-card__image,
  .service-card:nth-child(8) .service-card__image {
    aspect-ratio: 16 / 9;
  }
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card__image img {
  transform: scale(1.04);
}

.service-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card__placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.15;
}

.service-card__body {
  padding: 20px 0 8px;
}

.service-card__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.service-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.5px;
  transition: color var(--transition);
}
.service-card__link::after {
  content: '\2192';
  transition: transform var(--transition);
}
.service-card:hover .service-card__link {
  color: var(--amber-hover);
}
.service-card:hover .service-card__link::after {
  transform: translateX(4px);
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-it-works {
  background: var(--stone);
}

.how-it-works__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

@media (min-width: 768px) {
  .how-it-works__header {
    margin-bottom: 72px;
  }
}

.how-it-works__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

@media (min-width: 768px) {
  .how-it-works__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }
}

.step {
  position: relative;
}

.step__number {
  font-size: clamp(64px, 8vw, 88px);
  font-weight: 800;
  line-height: 1;
  color: var(--amber);
  opacity: 0.35;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.step__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 44px;
    right: -24px;
    width: 1px;
    height: 60%;
    background: rgba(0,0,0,0.08);
  }
}

/* ========================================
   VALUE PROPOSITION
   ======================================== */
.value-prop {
  background: var(--white);
  overflow: hidden;
}

.value-prop__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .value-prop__inner {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
}

.value-prop__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--graphite);
}

@media (min-width: 1024px) {
  .value-prop__image {
    aspect-ratio: auto;
    height: 100%;
    min-height: 600px;
    margin-left: calc(var(--px) * -1);
  }
}

.value-prop__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.value-prop__content {
  padding: 0 var(--px);
}

@media (min-width: 1024px) {
  .value-prop__content {
    padding: 80px 0 80px 80px;
  }
}

.value-prop__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 40px;
}

.value-prop__category {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.value-prop__category::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--amber);
  flex-shrink: 0;
}

/* ========================================
   FEATURED SERVICE
   ======================================== */
.featured {
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
}

.featured__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .featured__inner {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
}

.featured__content {
  order: 2;
}

@media (min-width: 1024px) {
  .featured__content {
    order: 1;
    padding-right: 80px;
  }
}

.featured__content .eyebrow {
  color: var(--amber);
}

.featured__content .section-headline {
  color: var(--white);
}

.featured__content .section-text {
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
}

.featured__image {
  order: 1;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .featured__image {
    order: 2;
    aspect-ratio: auto;
    height: 100%;
    min-height: 560px;
    margin-right: calc(var(--px) * -1);
  }
}

.featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   RESULTS
   ======================================== */
.results { background: var(--stone); }

.results__header {
  margin-bottom: 56px;
}

@media (min-width: 768px) {
  .results__header { margin-bottom: 72px; }
}

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

@media (min-width: 640px) {
  .results__gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.results__item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--graphite);
}

.results__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.results__item:hover img {
  transform: scale(1.03);
}

/* ========================================
   SERVICE AREA
   ======================================== */
.service-area {
  background: var(--white);
  text-align: center;
}

.service-area__content {
  max-width: 900px;
  margin: 0 auto;
}

.service-area .section-text {
  margin: 0 auto 48px;
}

.service-area__zones {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: left;
}

@media (min-width: 768px) {
  .service-area__zones {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
}

.service-area__zone-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.service-area__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-area__list li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ========================================
   FINAL CTA
   ======================================== */
.final-cta {
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  background: var(--amber);
}

.final-cta__content {
  max-width: 640px;
  margin: 0 auto;
}

.final-cta .section-headline {
  color: var(--white);
  margin-bottom: 20px;
}

.final-cta .section-text {
  color: rgba(255,255,255,0.55);
  margin: 0 auto 40px;
}

.final-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  padding: 72px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-bottom: 64px;
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
  }
}

.footer__brand-col .footer__logo {
  margin-bottom: 20px;
}
.footer__brand-col .footer__logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer__brand-col p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer__heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}

.footer__links li { margin-bottom: 12px; }
.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.footer__copy {
  font-size: 13px;
}

.footer__locale {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ========================================
   UTILITIES
   ======================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Testimonials - hidden, ready for future use */
.testimonials { display: none; }
