/* =============================================
   LITTLE WHITE HOUSE MARKETING - Main Stylesheet
   ============================================= */

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #486572;
  --color-primary-dark: #3a5260;
  --color-accent-warm: #B88A72;
  --color-accent-teal: #007C82;
  --color-accent-blue: #007BFF;
  --color-dark: #50555B;
  --color-darker: #191919;
  --color-light: #F3F3F0;
  --color-white: #FFFFFF;
  --color-off-white: #FAFAF8;
  --color-border: #E0DDD8;

  --font-heading: 'Inter', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --font-script: 'Caveat', cursive;

  --container-max: 1280px;
  --container-narrow: 900px;
  --nav-height: 100px;
  --section-padding: 120px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-darker);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

.container--narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Selection --- */
::selection {
  background: var(--color-accent-teal);
  color: var(--color-white);
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 40px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s var(--ease-out);
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.08);
}

.nav--scrolled .nav__logo-img {
  filter: none;
}

.nav--scrolled .nav__link {
  color: var(--color-darker);
}

.nav--scrolled .nav__cta {
  background: var(--color-primary);
  color: var(--color-white);
}

.nav__logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.nav__logo-img {
  height: 90px;
  width: auto;
  transition: filter 0.4s ease;
}

.nav--dark .nav__logo-img {
  filter: brightness(0) invert(1);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-white);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-teal);
  transition: width 0.3s var(--ease-out);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__cta {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}

.nav__cta:hover {
  background: var(--color-accent-teal);
  border-color: var(--color-accent-teal);
  color: var(--color-white);
  transform: translateY(-1px);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-white);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nav--scrolled .nav__hamburger span {
  background: var(--color-darker);
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.nav__mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-darker);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 999;
}

.nav__mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile-menu .nav__link {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
}

.nav__mobile-menu .nav__cta {
  font-size: 1.1rem;
  padding: 14px 40px;
  margin-top: 16px;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-darker);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a2a33 0%, #2c4a56 30%, #486572 60%, #3a5260 100%);
  opacity: 1;
}

/* Animated gradient mesh */
.hero__bg-mesh {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 124, 130, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(184, 138, 114, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(0, 124, 130, 0.2) 0%, transparent 50%);
  animation: meshMove 15s ease-in-out infinite alternate;
}

@keyframes meshMove {
  0% { transform: scale(1) translate(0, 0); }
  33% { transform: scale(1.1) translate(-20px, 10px); }
  66% { transform: scale(0.95) translate(10px, -20px); }
  100% { transform: scale(1.05) translate(-10px, 15px); }
}

/* Floating particles */
.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 40px;
}

.hero__label {
  display: inline-block;
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--color-accent-warm);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero__title {
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--color-white);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero__title span {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-white) 0%, rgba(255,255,255,0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero__cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeUp 0.8s var(--ease-out) 1.2s forwards;
  opacity: 0;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(0.6); opacity: 1; }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  border: none;
  letter-spacing: 0.02em;
  text-decoration: none;
}

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

.btn--primary:hover {
  background: #006A6F;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 124, 130, 0.3);
}

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

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

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

.btn--dark:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(72, 101, 114, 0.3);
}

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

.btn--warm:hover {
  background: #a67a63;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(184, 138, 114, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn--ghost:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn i {
  font-size: 0.85em;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(3px);
}

/* =============================================
   SECTION STYLES
   ============================================= */
.section {
  padding: var(--section-padding) 0;
}

.section--light {
  background: var(--color-light);
}

.section--dark {
  background: var(--color-darker);
  color: var(--color-white);
}

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

.section--teal {
  background: linear-gradient(135deg, var(--color-accent-teal) 0%, #005f63 100%);
  color: var(--color-white);
}

.section__label {
  font-family: var(--font-script);
  font-size: 1.3rem;
  color: var(--color-accent-warm);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--color-dark);
  max-width: 600px;
  line-height: 1.7;
}

.section--dark .section__subtitle,
.section--primary .section__subtitle,
.section--teal .section__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__header .section__subtitle {
  margin: 0 auto;
}

/* =============================================
   MARQUEE / CLIENT LOGOS
   ============================================= */
.marquee-section {
  padding: 50px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, #3a5460 40%, var(--color-primary) 100%);
  position: relative;
  overflow: hidden;
}

.marquee-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(184, 138, 114, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(0, 124, 130, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.marquee-section__label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-warm);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.marquee-section__stat {
  text-align: center;
  font-family: var(--font-script);
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
}

.marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--color-primary), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--color-primary), transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: marqueeScroll 25s linear infinite;
  width: max-content;
}

.marquee__track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee__item {
  flex-shrink: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-white);
  opacity: 0.85;
  white-space: nowrap;
  transition: all 0.3s ease;
  letter-spacing: 0.06em;
}

.marquee__item:hover {
  opacity: 1;
  color: var(--color-accent-warm);
}

.marquee__item img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.marquee__item:hover img {
  filter: brightness(0) invert(1);
  opacity: 1;
}

.marquee__divider {
  flex-shrink: 0;
  color: var(--color-accent-warm);
  font-size: 0.55rem;
  opacity: 0.6;
}

/* =============================================
   SERVICES GRID (Home)
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  position: relative;
  padding: 48px 36px;
  background: var(--color-white);
  border-radius: 20px;
  border: 1px solid var(--color-border);
  transition: all 0.4s var(--ease-out);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent-teal), var(--color-primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-accent-teal), var(--color-primary));
}

.service-card__title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--color-darker);
}

.service-card__desc {
  font-size: 0.95rem;
  color: var(--color-dark);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent-teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.service-card__link:hover {
  gap: 12px;
}

/* =============================================
   ABOUT / INTRO SECTION (Home)
   ============================================= */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-split__image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.intro-split__image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.intro-split__image:hover img {
  transform: scale(1.03);
}

.intro-split__accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 20px;
  background: var(--color-accent-warm);
  opacity: 0.2;
  z-index: -1;
}

.intro-split__text .section__label {
  font-family: var(--font-script);
  font-size: 1.3rem;
  color: var(--color-accent-warm);
  margin-bottom: 12px;
}

.intro-split__text .section__title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 20px;
}

.intro-split__text p {
  font-size: 1.05rem;
  color: var(--color-dark);
  line-height: 1.8;
  margin-bottom: 16px;
}

.intro-split__text .btn {
  margin-top: 16px;
}

/* =============================================
   WORK / PORTFOLIO GRID
   ============================================= */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.work-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  group: work;
}

.work-card__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.work-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(25, 25, 25, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.work-card:hover .work-card__overlay {
  opacity: 1;
}

.work-card:hover .work-card__image {
  transform: scale(1.08);
}

.work-card__tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-teal);
  margin-bottom: 6px;
}

.work-card__title {
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 8px;
}

.work-card__excerpt {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* Featured work card - larger */
.work-card--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.work-card--featured .work-card__image {
  aspect-ratio: auto;
  height: 100%;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-slider {
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.testimonials__track {
  display: flex;
  transition: transform 0.6s var(--ease-out);
}

.testimonial-card {
  flex: 0 0 100%;
  min-width: 100%;
  text-align: center;
  padding: 40px;
}

.testimonial-card__quote {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 32px;
  color: var(--color-white);
  position: relative;
}

.testimonial-card__quote::before {
  content: '\201C';
  font-size: 5rem;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-accent-warm);
  opacity: 0.4;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card__author {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent-warm);
}

.testimonial-card__company {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.testimonials__dot--active {
  background: var(--color-accent-warm);
  transform: scale(1.2);
}

/* =============================================
   STATS COUNTER
   ============================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat__number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-accent-teal);
  line-height: 1;
  margin-bottom: 8px;
}

.section--dark .stat__number {
  color: var(--color-accent-warm);
}

.stat__label {
  font-size: 0.95rem;
  color: var(--color-dark);
  font-weight: 500;
}

.section--dark .stat__label {
  color: rgba(255,255,255,0.7);
}

/* =============================================
   TEAM
   ============================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

.team-card {
  text-align: center;
}

.team-card__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 16px;
}

.team-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.team-card:hover .team-card__image-wrap img {
  transform: scale(1.05);
}

.team-card__name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 0.85rem;
  color: var(--color-dark);
}

/* =============================================
   BLOG GRID
   ============================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.4s var(--ease-out);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.blog-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.blog-card__content {
  padding: 28px;
}

.blog-card__meta {
  font-size: 0.8rem;
  color: var(--color-dark);
  margin-bottom: 12px;
  display: flex;
  gap: 16px;
}

.blog-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card__title {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--color-dark);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent-teal);
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  text-align: center;
  padding: 100px 40px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-teal) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner__title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-white);
  margin-bottom: 16px;
  position: relative;
}

.cta-banner__text {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-accent-teal), var(--color-primary));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info__text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info__text p {
  font-size: 0.95rem;
  color: var(--color-dark);
}

.contact-info__text a {
  color: var(--color-accent-teal);
}

.contact-info__text a:hover {
  text-decoration: underline;
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}

.contact-socials a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.contact-socials a:hover {
  background: var(--color-accent-teal);
  color: var(--color-white);
  transform: translateY(-3px);
}

.contact-form {
  background: var(--color-white);
  border-radius: 20px;
  padding: 48px;
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-darker);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-darker);
  background: var(--color-off-white);
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent-teal);
  box-shadow: 0 0 0 3px rgba(0, 124, 130, 0.1);
  background: var(--color-white);
}

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

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

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--color-darker);
  color: var(--color-white);
  padding: 80px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 20px;
  max-width: 340px;
}

.footer__logo {
  height: 60px;
  filter: brightness(0) invert(1);
}

.footer__heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  color: var(--color-accent-warm);
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: var(--color-white);
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  font-size: 1rem;
}

.footer__social a:hover {
  background: var(--color-accent-teal);
  color: var(--color-white);
  transform: translateY(-3px);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.4);
}

.footer__bottom a:hover {
  color: var(--color-white);
}

/* =============================================
   PAGE HERO (Sub-pages)
   ============================================= */
.page-hero {
  position: relative;
  padding: 180px 0 100px;
  background: linear-gradient(135deg, var(--color-darker) 0%, var(--color-primary) 100%);
  overflow: hidden;
}

.page-hero__bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    radial-gradient(circle at 25% 25%, var(--color-white) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, var(--color-white) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-hero__label {
  font-family: var(--font-script);
  font-size: 1.3rem;
  color: var(--color-accent-warm);
  margin-bottom: 12px;
}

.page-hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--color-white);
  margin-bottom: 20px;
}

.page-hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =============================================
   PACKAGES / PRICING
   ============================================= */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.package-card {
  background: var(--color-white);
  border-radius: 20px;
  padding: 48px 36px;
  border: 1px solid var(--color-border);
  transition: all 0.4s var(--ease-out);
  position: relative;
}

.package-card--featured {
  border-color: var(--color-accent-teal);
  box-shadow: 0 20px 60px rgba(0, 124, 130, 0.1);
  transform: scale(1.02);
}

.package-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent-teal);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.package-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.package-card--featured:hover {
  transform: scale(1.02) translateY(-6px);
}

.package-card__name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.package-card__desc {
  font-size: 0.95rem;
  color: var(--color-dark);
  line-height: 1.6;
  margin-bottom: 28px;
}

.package-card__features {
  margin-bottom: 32px;
}

.package-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.package-card__features li i {
  color: var(--color-accent-teal);
  margin-top: 4px;
  flex-shrink: 0;
}

.package-card .btn {
  width: 100%;
  justify-content: center;
}

/* =============================================
   VALUES GRID
   ============================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  padding: 36px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.value-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.value-card__icon {
  font-size: 1.5rem;
  color: var(--color-accent-warm);
  margin-bottom: 16px;
}

.value-card__title {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--color-white);
}

.value-card__text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* =============================================
   REVEAL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal--left {
  transform: translateX(-40px);
}

.reveal--right {
  transform: translateX(40px);
}

.reveal--scale {
  transform: scale(0.95);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* =============================================
   SERVICES PAGE SPECIFIC
   ============================================= */
.services-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-detail-card {
  padding: 40px;
  border-radius: 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: all 0.3s var(--ease-out);
}

.service-detail-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}

.service-detail-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-accent-teal), var(--color-primary));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.service-detail-card__title {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-detail-card__text {
  font-size: 0.95rem;
  color: var(--color-dark);
  line-height: 1.7;
}

/* =============================================
   PROCESS STEPS
   ============================================= */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-teal), var(--color-primary));
  opacity: 0.3;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-teal), var(--color-primary));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.process-step__title {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.process-step__text {
  font-size: 0.9rem;
  color: var(--color-dark);
  line-height: 1.6;
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out);
  z-index: 998;
  border: none;
  font-size: 1.1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-accent-teal);
  transform: translateY(-3px);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card--featured { grid-column: span 2; grid-row: span 1; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
    --nav-height: 70px;
  }

  .container, .container--narrow { padding: 0 24px; }
  .nav { padding: 0 24px; }

  .nav__logo-img { height: 45px; }
  .nav__menu { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile-menu { display: flex; }

  .intro-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro-split__image { order: -1; }

  .services-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card--featured { grid-column: span 1; }
  .blog-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .packages-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .values-grid { grid-template-columns: 1fr; }
  .services-detail { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }

  .hero__title { font-size: clamp(2.2rem, 8vw, 3.5rem); }

  .contact-form { padding: 28px; }

  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  .package-card--featured { transform: none; }
  .package-card--featured:hover { transform: translateY(-6px); }

  /* Show work card overlay text by default on mobile (no hover available) */
  .work-card__overlay {
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .hero__cta-group { flex-direction: column; align-items: center; }
  .hero__cta-group .btn { width: 100%; justify-content: center; }
  .stats { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   LOADING / PAGE TRANSITION
   ============================================= */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--color-darker);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.page-loader__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--color-accent-teal);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =============================================
   CURSOR GLOW (Desktop only)
   ============================================= */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,124,130,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
  .cursor-glow { display: none; }
}

/* =============================================
   MISC UTILITIES
   ============================================= */
.text-center { text-align: center; }
.text-accent { color: var(--color-accent-teal); }
.text-warm { color: var(--color-accent-warm); }
.text-script { font-family: var(--font-script); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
