/*!
Theme Name: elitehousekeeping
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: elitehousekeeping
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

elitehousekeeping is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* =====================================================
   ELITE HOUSEKEEPING — DESIGN SYSTEM
   All colors defined as CSS variables below.
   To retheme the entire site, only edit :root values.
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ─── COLOR VARIABLES ─────────────────────────────── */
:root {
  --primary:        #0d1f3c;
  --primary-light:  #162a52;
  --primary-dark:   #080f1e;
  --accent:         #1eb5bd;
  --accent-dark:    #148a92;
  --accent-light:   #d0f4f5;
  --white:          #ffffff;
  --off-white:      #f7f8fc;
  --light:          #eef1f8;
  --gray-100:       #f1f3f9;
  --gray-200:       #e2e8f0;
  --gray-400:       #94a3b8;
  --gray-600:       #64748b;
  --gray-800:       #1e293b;
  --text:           #1a202c;
  --text-light:     #64748b;
  --border:         #dde3f0;

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  /* Spacing */
  --section-py:  clamp(4rem, 8vw, 7rem);
  --container:   1280px;
  --gap:         2rem;

  /* Transitions */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --transition:  0.35s var(--ease-out);
}

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

/* ─── PRELOADER ───────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--primary-dark);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader__logo {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--white);
  text-transform: uppercase;
  display: flex;
  gap: 0.1em;
  overflow: hidden;
	font-size: 16px;
}
.preloader__logo span {
  display: inline-block;
  transform: translateY(120%);
  opacity: 0;
  animation: letterUp 0.6s var(--ease-out) forwards;
}
.preloader__logo .accent-word { color: var(--accent); font-style: italic; margin-left: 0.4em; }

.preloader__bar-wrap {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
  border-radius: 2px;
}
.preloader__bar {
  height: 100%;
  background: var(--accent);
  width: 0;
  border-radius: 2px;
  animation: barFill 1.8s var(--ease-out) 0.6s forwards;
}
.preloader__text {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  animation: fadeInUp 0.6s ease 0.4s both;
}

@keyframes letterUp {
  to { transform: translateY(0); opacity: 1; }
}
@keyframes barFill {
  to { width: 100%; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── UTILITY ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.section { padding: var(--section-py) 0; }
.section--dark  { background: var(--primary); color: var(--white); }
.section--darker { background: var(--primary-dark); color: var(--white); }
.section--light { background: var(--off-white); }
.section--gray  { background: var(--gray-100); }

.tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.tag--light { color: rgba(255,255,255,0.55); }
.tag--accent { color: var(--accent); }

.heading { font-family: var(--font-heading); line-height: 1.1; }
.heading--xl  { font-size: clamp(3rem, 7vw, 6rem); font-weight: 700; }
.heading--lg  { font-size: clamp(2.25rem, 4vw, 3.75rem); font-weight: 700; }
.heading--md  { font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 600; }
.heading--sm  { font-size: clamp(1.35rem, 2.5vw, 2rem); font-weight: 600; }
.heading--xs  { font-size: 1.25rem; font-weight: 600; }

.lead { font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--text-light); line-height: 1.75; }
.lead--light { color: rgba(255,255,255,0.6); }

.divider { width: 48px; height: 3px; background: var(--accent); margin-top: 1.5rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30,181,189,0.3);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn--outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-icon {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.2s;
}
.btn:hover .btn-icon { transform: translateX(4px); }

/* Scroll animation */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.from-left  { transform: translateX(-36px); }
.reveal.from-right { transform: translateX(36px); }
.reveal.scale-in   { transform: scale(0.94); }
.reveal.visible {
  opacity: 1;
  transform: none;
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ─── NAVBAR ──────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.4rem 0;
  transition: padding 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
  background: rgba(13,31,60,0.97);
  backdrop-filter: blur(12px);
  padding: 0.9rem 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.navbar__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.navbar__logo span { color: var(--accent); font-style: italic; }
.navbar__links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.navbar__links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
  position: relative;
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.navbar__links a:hover { color: var(--white); }
.navbar__links a:hover::after { width: 100%; }
.navbar__cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.navbar__phone {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.navbar__phone:hover { color: var(--accent); }

/* Mobile menu toggle */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar__toggle.open span:nth-child(2) { opacity: 0; }
.navbar__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.navbar__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.navbar__mobile.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
.navbar__mobile a {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.2s;
}
.navbar__mobile a:hover { color: var(--accent); }

/* ─── HERO ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://elitehousekeeping.co.uk/wp-content/uploads/2026/04/hero.png');
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  transform: scale(1.06);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,31,60,0.85) 0%, rgba(8,15,30,0.6) 100%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding-top: 7rem;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.7s ease 1.2s forwards;
}
.hero__eyebrow::before {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--accent);
}
.hero__heading {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.06;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s var(--ease-out) 1.4s forwards;
}
.hero__heading em {
  font-style: italic;
  color: var(--accent);
}
.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeInUp 0.7s ease 1.6s forwards;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  animation: fadeInUp 0.7s ease 1.8s forwards;
}
.hero__badges {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 2;
  opacity: 0;
  animation: fadeInUp 0.7s ease 2s forwards;
}
.hero__badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.75rem 1.25rem;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
}
.hero__badge-icon { font-size: 1.2rem; }
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}
.hero__scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ─── STATS BAR ───────────────────────────────────── */
.stats {
  background: var(--accent);
  padding: 3rem 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stats__item { padding: 0.5rem; }
.stats__number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stats__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 0.4rem;
}
.stats__divider {
  width: 1px;
  background: rgba(255,255,255,0.2);
  margin: 0.5rem auto 0;
  height: 0;
  transition: height 1s ease;
}

/* ─── FEATURED SERVICES (UNIQUE CINEMATIC CARDS) ─── */
.featured-services { background: var(--primary-dark); padding: var(--section-py) 0; }
.featured-services .section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.featured-services .section-header .heading { color: var(--white); }
.featured-services .section-header .lead { color: rgba(255,255,255,0.55); margin: 1rem auto 0; max-width: 560px; }

.services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  min-height: 600px;
}

/* Each card */
.svc-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #0a1525;
}
.svc-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.9s var(--ease-out), opacity 0.6s ease;
  opacity: 0.55;
}
.svc-card:hover .svc-card__img {
  transform: scale(1.08);
  opacity: 0.7;
}
.svc-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,15,30,0.97) 0%, rgba(8,15,30,0.4) 50%, rgba(8,15,30,0.1) 100%);
  transition: background 0.5s ease;
}
.svc-card:hover .svc-card__overlay {
  background: linear-gradient(to top, rgba(8,15,30,0.99) 0%, rgba(8,15,30,0.6) 60%, rgba(8,15,30,0.2) 100%);
}

/* Featured middle card gets accent top border */
.svc-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  z-index: 3;
}
.svc-card--featured .svc-card__badge {
  background: var(--accent);
  color: var(--white);
}

.svc-card__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 600px;
  padding: 2.5rem;
}
.svc-card__number {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  transition: color 0.5s ease;
}
.svc-card:hover .svc-card__number { color: rgba(255,255,255,0.1); }

.svc-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  width: fit-content;
  margin-top: auto;
  transition: background 0.3s, color 0.3s;
}
.svc-card:hover .svc-card__badge {
  background: var(--accent);
  color: var(--white);
}

.svc-card__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-top: 0.75rem;
}
.svc-card__desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-top: 0.85rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease-out), opacity 0.4s ease, margin 0.4s ease;
}
.svc-card:hover .svc-card__desc {
  max-height: 200px;
  opacity: 1;
  margin-top: 1rem;
}

.svc-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 1.5rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease 0.1s, opacity 0.4s ease 0.15s;
}
.svc-card:hover .svc-card__link {
  max-height: 60px;
  opacity: 1;
}
.svc-card__link svg { transition: transform 0.25s; }
.svc-card__link:hover svg { transform: translateX(5px); }

/* View All Services */
.services-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

/* ─── WHY CHOOSE US ───────────────────────────────── */
.why { background: var(--off-white); }
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why__image-wrap {
  position: relative;
}
.why__image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.why__image-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 55%;
  aspect-ratio: 1;
  border: 3px solid var(--accent);
  z-index: -1;
}
.why__badge {
  position: absolute;
  bottom: 1.5rem;
  left: -1.5rem;
  background: var(--accent);
  color: var(--white);
  padding: 1.5rem;
  text-align: center;
}
.why__badge-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.why__badge-text { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

.why__list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.why__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.why__item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(30,181,189,0.1);
  transform: translateX(4px);
}
.why__icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}
.why__item-title { font-weight: 700; font-size: 1rem; margin-bottom: 0.25rem; }
.why__item-text { font-size: 0.88rem; color: var(--text-light); line-height: 1.65; }

/* ─── VIDEO ───────────────────────────────────────── */
.video-section { background: var(--primary); padding: var(--section-py) 0; }
.video-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.video-section__bullets { margin: 2rem 0; display: flex; flex-direction: column; gap: 0.85rem; }
.video-section__bullet {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}
.video-section__bullet::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.video-thumb {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--accent);
  transform: translate(12px, 12px);
  pointer-events: none;
  z-index: 0;
}
.video-thumb__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-out), opacity 0.4s;
}
.video-thumb:hover .video-thumb__img { transform: scale(1.04); }
.video-thumb__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,31,60,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.4s;
  z-index: 1;
}
.video-thumb:hover .video-thumb__overlay { background: rgba(13,31,60,0.35); }
.video-thumb__play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.video-thumb__play::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(30,181,189,0.3);
  animation: pulse 2s ease-in-out infinite;
}
.video-thumb:hover .video-thumb__play {
  transform: scale(1.12);
  box-shadow: 0 0 40px rgba(30,181,189,0.5);
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0; transform: scale(1.5); }
}
.video-thumb__caption {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.video-modal.open { opacity: 1; pointer-events: auto; }
.video-modal__inner {
  position: relative;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16/9;
  transform: scale(0.9);
  transition: transform 0.35s var(--ease-out);
}
.video-modal.open .video-modal__inner { transform: scale(1); }
.video-modal__inner iframe { width: 100%; height: 100%; border: 0; }
.video-modal__close {
  position: absolute;
  top: -3rem;
  right: 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}
.video-modal__close:hover { color: var(--accent); }

/* ─── PRINCIPLES ──────────────────────────────────── */
.principles { background: var(--gray-100); }
.principles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  margin-top: 3.5rem;
  background: var(--border);
}
.principle-card {
  background: var(--white);
  padding: 2.5rem;
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.principle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: var(--accent);
  transition: height 0.3s ease;
}
.principle-card:hover::before { height: 3px; }
.principle-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-3px); }
.principle-card__num {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(13,31,60,0.06);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color 0.3s;
}
.principle-card:hover .principle-card__num { color: rgba(30,181,189,0.12); }
.principle-card__icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background 0.3s;
}
.principle-card:hover .principle-card__icon { background: var(--accent); color: var(--white); }
.principle-card__title { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.6rem; }
.principle-card__text { font-size: 0.87rem; color: var(--text-light); line-height: 1.7; }

/* ─── HOW IT WORKS ────────────────────────────────── */
.how { background: var(--primary-dark); padding: var(--section-py) 0; }
.how__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
  position: relative;
}
.how__steps::before {
  content: '';
  position: absolute;
  top: 2.25rem;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
}
.how__step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.how__step-num {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  border: 1.5px solid rgba(30,181,189,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(30,181,189,0.05);
  transition: background 0.3s, border-color 0.3s;
}
.how__step:hover .how__step-num {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.how__step-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.how__step-text { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ─── CTA SECTION ─────────────────────────────────── */
.cta-section {
  background: var(--accent);
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: 'ELITE';
  position: absolute;
  font-family: var(--font-heading);
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}
.cta-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.cta-section .heading { color: var(--white); }
.cta-section .lead { color: rgba(255,255,255,0.75); max-width: 560px; }
.cta-section__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 1.5rem; }
.btn--white { background: var(--white); color: var(--accent); border-color: var(--white); }
.btn--white:hover { background: var(--primary); color: var(--white); border-color: var(--primary); transform: translateY(-2px); }

/* ─── TESTIMONIALS ────────────────────────────────── */
.testimonials { background: var(--white); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.testimonial-card {
  background: var(--off-white);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
}
.testimonial-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(30,181,189,0.08);
  transform: translateY(-4px);
}
.testimonial-card__stars { color: var(--accent); font-size: 0.9rem; letter-spacing: 0.05em; margin-bottom: 1rem; }
.testimonial-card__text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-card__author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial-card__name { font-weight: 700; font-size: 0.9rem; }
.testimonial-card__role { font-size: 0.78rem; color: var(--text-light); }

/* ─── SERVICE AREAS ───────────────────────────────── */
.areas { background: var(--gray-100); }
.areas__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1px;
  margin-top: 3rem;
  background: var(--border);
}
.area-chip {
  background: var(--white);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
}
.area-chip::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.area-chip:hover { background: var(--accent); color: var(--white); }
.area-chip:hover::before { background: var(--white); }

/* ─── FAQ ─────────────────────────────────────────── */
.faq { background: var(--white); }
.faq__list { max-width: 800px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 1px; background: var(--border); }
.faq-item { background: var(--white); }
.faq-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}
.faq-item__btn:hover, .faq-item.open .faq-item__btn { color: var(--accent); }
.faq-item__icon {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}
.faq-item.open .faq-item__icon { transform: rotate(45deg); background: var(--accent); color: var(--white); border-color: var(--accent); }
.faq-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out);
}
.faq-item.open .faq-item__body { max-height: 300px; }
.faq-item__text {
  padding: 0 2rem 1.5rem;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ─── CONTACT ─────────────────────────────────────── */
.contact { background: var(--primary); padding: var(--section-py) 0; }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact__info { color: var(--white); }
.contact__details { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}
.contact__detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(30,181,189,0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact__detail-title { font-weight: 600; color: var(--white); margin-bottom: 0.2rem; font-size: 0.85rem; }

.contact__form {
  background: var(--white);
  padding: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  background: var(--off-white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  resize: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30,181,189,0.1);
}
.form-group textarea { min-height: 130px; }

/* ─── FOOTER ──────────────────────────────────────── */
.footer { background: var(--primary-dark); color: var(--white); padding: 4rem 0 1.5rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer__logo span { color: var(--accent); font-style: italic; }
.footer__tagline { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 260px; }
.footer__heading { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.2rem; }
.footer__links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__links a { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer__links a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer__socials { display: flex; gap: 0.75rem; }
.footer__social {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer__social:hover { border-color: var(--accent); color: var(--white); background: var(--accent); }

/* ─── SECTION HEADER (REUSABLE) ──────────────────── */
.section-header { margin-bottom: 3.5rem; }
.section-header--center { text-align: center; }
.section-header .lead { margin-top: 1rem; max-width: 560px; }
.section-header--center .lead { margin-left: auto; margin-right: auto; }

/* ─── SERVICES PAGE SPECIFIC ─────────────────────── */
.page-hero {
  background: var(--primary-dark);
  padding: 10rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero__content { position: relative; z-index: 1; }
.page-hero__nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.5rem; }
.page-hero__nav a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.45rem 1rem;
  transition: color 0.2s, border-color 0.2s;
}
.page-hero__nav a:hover { color: var(--accent); border-color: var(--accent); }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  z-index: 9999;
  width: 0;
  transition: width 0.1s linear;
}

.svc-detail { padding: var(--section-py) 0; }
.svc-detail:nth-child(even) { background: var(--off-white); }
.svc-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.svc-detail:nth-child(even) .svc-detail__img-wrap { order: 2; }
.svc-detail:nth-child(even) .svc-detail__content  { order: 1; }
.svc-detail__img-wrap { position: relative; }
.svc-detail__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
border-radius: 20px;
}
.svc-detail__num {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
}
.svc-detail__icon {
  width: 56px;
  height: 56px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  color: var(--white);
}
.svc-detail__inclusions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 1.75rem 0;
}
.svc-detail__item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}
.svc-detail__item::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.45em;
}

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .why__grid { gap: 3rem; }
  .video-section__grid { gap: 3rem; }
  .svc-detail__grid { gap: 3rem; }
}

@media (max-width: 900px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .services-cards { grid-template-columns: 1fr; min-height: auto; }
  .svc-card__inner { min-height: 480px; }
  .svc-card__desc { max-height: 200px; opacity: 1; margin-top: 1rem; }
  .svc-card__link { max-height: 60px; opacity: 1; }
  .principles__grid { grid-template-columns: repeat(2, 1fr); }
  .how__steps { grid-template-columns: repeat(2, 1fr); }
  .how__steps::before { display: none; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .svc-detail__grid { grid-template-columns: 1fr; }
  .svc-detail:nth-child(even) .svc-detail__img-wrap { order: 0; }
  .svc-detail:nth-child(even) .svc-detail__content  { order: 0; }
}

@media (max-width: 768px) {
  .navbar__links, .navbar__cta { display: none; }
  .navbar__toggle { display: flex; }
  .why__grid { grid-template-columns: 1fr; }
  .video-section__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__badges { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .svc-detail__inclusions { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .principles__grid { grid-template-columns: 1fr; }
  .how__steps { grid-template-columns: 1fr; }
  .areas__grid { grid-template-columns: repeat(2, 1fr); }
}
