/* ==========================================
   PHOENIX PHOTOGRAPHY STUDIO
   MASTER STYLESHEET
   PART 1 — DESIGN TOKENS, RESET, BASE,
   TYPOGRAPHY & LAYOUT SYSTEM
========================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Jost:wght@300;400;500&display=swap');

/* ==========================================
   ROOT VARIABLES
========================================== */

:root {

  /* Backgrounds */
  --bg-dark: #0F0B09;
  --bg-card: #1E1510;
  --bg-light: #FBF7F0;
  --bg-cream: #F2EBE0;

  /* Terracotta */
  --accent: #C4633A;
  --accent-hover: #D98060;
  --accent-light: #E8B99A;
  --accent-dark: #8F3E20;

  /* Gold */
  --gold: #B8935A;
  --gold-light: #D4B07A;

  /* Text */
  --text-dark: #1A0F0A;
  --text-dark-secondary: #3D2B20;

  --text-light: #EDE8E1;
  --text-light-secondary: #9E9088;

  /* Borders */
  --border-dark: #2A1E18;
  --border-light: #DDD4C8;

  /* Typography */
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Jost", sans-serif;

  /* Containers */
  --container-width: 1280px;

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-soft:
    0 10px 40px rgba(0,0,0,0.08);

  --shadow-medium:
    0 15px 50px rgba(0,0,0,0.14);

  --shadow-card:
    0 12px 30px rgba(0,0,0,0.12);

  /* Transition */
  --transition:
    0.35s cubic-bezier(0.22,1,0.36,1);

  /* Section Padding */
  --section-space:
    clamp(80px,10vw,160px);

  /* Header Height */
  --header-height: 60px;

}

/* ==========================================
   RESET
========================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: var(--bg-light);
  color: var(--text-dark);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

svg {
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

section {
  position: relative;
}

::selection {
  background: var(--accent);
  color: white;
}

/* ==========================================
   ACCESSIBILITY
========================================== */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 20px;
  top: 20px;
  z-index: 9999;
  background: var(--accent);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* ==========================================
   CONTAINER SYSTEM
========================================== */

.container {
  width: min(
    calc(100% - 48px),
    var(--container-width)
  );
  margin-inline: auto;
}

.section-padding {
  padding-block: var(--section-space);
}

.bg-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.bg-card {
  background: #18120e;
  color: var(--text-light);
}

.bg-light {
  background: var(--bg-light);
}

.bg-cream {
  background: var(--bg-cream);
}

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

.grid {
  display: grid;
}

.flex {
  display: flex;
}

.hidden {
  display: none;
}

/* ==========================================
   TYPOGRAPHY SYSTEM
========================================== */

.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: 1.4rem;
  line-height: 1.25;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: inherit;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 700px;
}

.section-heading {
  margin-bottom: 48px;
}

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

.text-secondary {
  color: var(--text-light-secondary);
}

.text-dark {
  color: var(--text-dark);
}

/* ==========================================
   LOGO — Badge + Stacked Name Style
========================================== */

.logo {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

/* Monogram badge — dark square with gold P */
.logo-badge {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;

  background: var(--bg-card);
  border: 1px solid rgba(184, 147, 90, 0.45);
  border-radius: 8px;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: border-color var(--transition);
}

.logo-badge::after {
  /* Gold accent diagonal stroke behind the H */
  content: "";
  position: absolute;
  right: 6px;
  bottom: 5px;
  width: 10px;
  height: 1.5px;
  background: var(--gold);
  transform: rotate(-35deg);
  opacity: 0.85;
}

.logo-badge-letter {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: -0.01em;
  line-height: 1;
}

.logo:hover .logo-badge {
  border-color: var(--gold);
}

/* Right side — name + tagline stacked */
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-wordmark {
  font-family: var(--font-heading);
  font-size: 1.0rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  line-height: 1;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}

/* When header is scrolled, use darker text so it reads on cream bg */
.site-header.scrolled .logo-wordmark {
  color: var(--text-light);
}

/* Footer logo variant — on dark bg by default */
.footer-logo .logo-wordmark {
  color: var(--text-light);
}

/* Remove old elements that are no longer used */
.logo-line { display: none; }


/* ==========================================
   IMAGE PLACEHOLDERS
========================================== */

.image-placeholder {
  background:
  linear-gradient(
    135deg,
    #1E1510 0%,
    #2A1E18 50%,
    rgba(196,99,58,0.08) 100%
  );

  min-height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

/* ==========================================
   SECTION SPACING HELPERS
========================================== */

.mb-16 { margin-bottom:16px; }
.mb-24 { margin-bottom:24px; }
.mb-32 { margin-bottom:32px; }
.mb-40 { margin-bottom:40px; }
.mb-48 { margin-bottom:48px; }

.mt-16 { margin-top:16px; }
.mt-24 { margin-top:24px; }
.mt-32 { margin-top:32px; }
.mt-40 { margin-top:40px; }
.mt-48 { margin-top:48px; }

/* ==========================================
   REVEAL ANIMATION BASE
========================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s cubic-bezier(0.22,1,0.36,1),
    transform 0.7s cubic-bezier(0.22,1,0.36,1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* ==========================================
   PART 2
   HEADER • NAVIGATION • BUTTONS • HEROES
   CARDS • SERVICES • GALLERY
========================================== */

/* ==========================================
   HEADER
========================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;

  /* Constant height — never changes on scroll */
  height: var(--header-height);
  z-index: 1000;

  /* Only background transitions, not size */
  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    backdrop-filter 0.4s ease;

  /* Default: fully transparent (home page initial state) */
  background: transparent;
  border-bottom: 1px solid transparent;
  color: var(--text-light);
}

/* Scrolled state — triggered by JS on home page after scroll */
.site-header.scrolled {
  background: rgba(15, 11, 9, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Solid state — applied immediately on all pages except home */
.site-header.site-header--solid {
  background: rgba(15, 11, 9, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}


.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================
   NAVIGATION
========================================== */

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 400;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 1rem;
  /* Compact size specifically for navbar */
  min-height: 36px !important;
  padding: 0 18px !important;
  font-size: 0.85rem !important;
}

/* ==========================================
   MOBILE MENU
========================================== */

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  padding: 0;
  color: #FFF;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFF;
  margin: 5px auto;
  transition: var(--transition);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(90vw, 380px);
  height: 100vh;
  background: var(--bg-dark);
  color: var(--text-light);
  z-index: 1200;
  padding: 120px 40px;
  transition: var(--transition);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  transition: var(--transition);
  z-index: 10;
}

.mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-light);
  transform: rotate(90deg);
}


.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav a {
  font-size: 1.1rem;
  transition: var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--accent);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1100;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================
   BUTTONS
========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 44px;
  padding: 0 22px;

  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;

  transition: var(--transition);
}

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

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

.btn-outline {
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-dark-outline {
  border: 1px solid var(--border-light);
  color: var(--text-dark);
}

.btn-dark-outline:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--accent);
  font-weight: 500;
}

.text-link:hover {
  gap: 12px;
}

/* ==========================================
   HERO SECTION
========================================== */

.hero {
  position: relative;
  min-height: 100vh;

  display: flex;
  align-items: center;

  /* Push content below the fixed header */
  padding-top: var(--header-height);

  overflow: hidden;
}

.hero-short {
  min-height: 100vh;
}

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

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  animation: kenburns 20s linear infinite alternate;
}

/* Video hero background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;

  /* Ensure video sits behind overlay */
  z-index: 0;

  /* No pointer events so the page stays interactive */
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  /* Richer gradient over video for text legibility */
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.35) 50%,
      rgba(0, 0, 0, 0.18) 100%
    ),
    linear-gradient(
      to right,
      rgba(15, 11, 9, 0.55) 0%,
      transparent 60%
    );
}

.hero-content {
  position: relative;
  z-index: 2;

  /* Full-width layout with a comfortable reading cap */
  max-width: 640px;
  width: 100%;
  color: white;
}

/* Lighter, glassmorphic label badge specifically for hero sections */
.hero-content .label {
  background: rgba(15, 11, 9, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(196, 99, 58, 0.45);
  padding: 6px 16px;
  border-radius: 999px;
  color: var(--accent-light);
  margin-bottom: 24px;
}

/* Reduced hero h1 — cinematic but not overwhelming */
.hero-content h1 {
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-light);
}

/* Tighter lead paragraph in hero */
.hero-content .lead {
  font-size: 1.05rem;
  max-width: 480px;
}

.hero-content p {
  margin-top: 24px;
  color: rgba(255,255,255,0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;

  transform: translateX(-50%);
  z-index: 5;
}

.hero-scroll-line {
  width: 1px;
  height: 70px;
  background: rgba(255,255,255,0.5);

  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0% {
    opacity: .2;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: .2;
    transform: translateY(10px);
  }
}

@keyframes kenburns {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}

/* Accessibility: pause video motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    animation: none;
  }

  .hero-background img {
    animation: none;
  }
}

/* Mobile: ensure video covers correctly on portrait screens */
@media (max-width: 768px) {
  .hero-video {
    object-position: center center;
  }
}

/* ==========================================
   ABOUT TEASER
========================================== */

.about-grid {
  display: grid;
  gap: 60px;
  align-items: stretch;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  width: 100%;
}

@media (min-width: 768px) {
  .about-image {
    height: 100%;
    aspect-ratio: auto;
  }
}

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

.about-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 40px;
}

.about-stat {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  text-align: center;
}

.about-stat strong {
  display: block;
  font-size: 2rem;
  font-family: var(--font-heading);
}

/* ==========================================
   SERVICE CARDS
========================================== */

.services-grid {
  display: grid;
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  color: var(--text-light);

  border-radius: var(--radius-lg);
  padding: 32px;

  border-top: 3px solid var(--accent);

  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);

  border-top-color: var(--accent-hover);

  box-shadow:
  0 25px 60px rgba(0,0,0,0.25);
}

.service-card h3 {
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-light-secondary);
  margin-bottom: 24px;
}

.service-card a {
  color: var(--accent);
  font-weight: 500;
}

/* ==========================================
   SERVICE DETAIL PAGE
========================================== */

.service-section {
  padding-block: 100px;
}

.service-layout {
  display: grid;
  gap: 60px;
  align-items: center;
}

.service-image {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

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

.service-list {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
}

.service-price {
  margin-top: 28px;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--accent);
}

/* ==========================================
   GALLERY
========================================== */

/* ==========================================
   PORTFOLIO GALLERY — EDITORIAL MASONRY
========================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 16px;
  width: 100%;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--bg-card);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Bento Grid Size Classes (Mobile Fallback) */
.gallery-item.size-standard {
  grid-column: span 1;
  grid-row: span 1;
}
.gallery-item.size-tall {
  grid-column: span 1;
  grid-row: span 2;
}
.gallery-item.size-wide {
  grid-column: span 1;
  grid-row: span 1;
}
.gallery-item.size-large {
  grid-column: span 1;
  grid-row: span 2;
}

/* Glassmorphic Overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(
    to top,
    rgba(15, 11, 9, 0.85) 0%,
    rgba(15, 11, 9, 0.4) 40%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Category label */
.gallery-overlay span {
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform: translateY(10px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Tiny terracotta dot before label */
.gallery-overlay span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Glassmorphic expand icon in the top-right corner */
.gallery-overlay::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM10 7v3m0 0v3m0-3h3m-3 0H7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: center;
  opacity: 0;
  transform: scale(0.8) translate(-10px, 10px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

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

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

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

.gallery-item:hover .gallery-overlay::after {
  opacity: 1;
  transform: scale(1) translate(0, 0);
}

/* Filtering Animations */
.gallery-item.filtering-out {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item.filtering-in {
  animation: fadeInScale 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}



/* ==========================================
   PORTFOLIO FILTER BAR
========================================== */

.filter-bar {
  position: sticky;
  top: var(--header-height);
  z-index: 100;

  background: rgba(251,247,240,0.95);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid var(--border-light);

  padding: 16px 0;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.filter-btn {
  background: transparent;
  color: var(--text-dark);
  padding: 10px 18px;
  border-radius: 999px;

  transition: var(--transition);
}

.filter-btn.active {
  color: var(--accent);
  background: rgba(196,99,58,0.08);
}

/* ==========================================
   PROCESS SECTION — PREMIUM REDESIGN
========================================== */

.process-section {
  background: var(--bg-dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

/* Subtle grain overlay */
.process-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(196,99,58,0.06) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 100% 100%, 200px 200px;
  pointer-events: none;
  z-index: 0;
}

.process-section .container {
  position: relative;
  z-index: 1;
}

/* Title */
.process-title {
  color: var(--text-light);
  margin-bottom: 16px;
}

.process-subtitle {
  color: var(--text-light-secondary);
  margin-inline: auto;
  margin-bottom: 0;
}

/* Timeline wrapper */
.process-timeline {
  position: relative;
  margin-top: 48px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Connector line — hidden */
.process-connector {
  display: none !important;
}

/* Individual step card */
.process-step {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  padding: 28px 18px 32px;

  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.055);
  border-radius: var(--radius-md);

  cursor: default;
  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
}

.process-step:hover {
  background: rgba(196,99,58,0.07);
  border-color: rgba(196,99,58,0.3);
  transform: translateY(-6px);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.4),
    0 0 0 1px rgba(196,99,58,0.15) inset;
}

/* Icon container */
.process-step-icon {
  position: relative;
  width: 66px;
  height: 66px;
  margin-bottom: 18px;
  flex-shrink: 0;

  /* Center the SVG icon */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Outer pulsing ring */
.process-step-icon::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(196,99,58,0.18);
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.process-step:hover .process-step-icon::before {
  border-color: rgba(196,99,58,0.55);
  transform: scale(1.08);
}

/* Inner filled circle */
.process-step-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(196,99,58,0.1);
  border: 1px solid rgba(196,99,58,0.2);
  transition: background 0.4s ease;
}

.process-step:hover .process-step-icon::after {
  background: rgba(196,99,58,0.18);
}

/* Step number badge — top-right */
.process-step-number {
  position: absolute;
  top: -3px;
  right: -3px;
  z-index: 3;

  width: 22px;
  height: 22px;

  border-radius: 50%;
  background: var(--accent);
  color: white;

  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 0 10px rgba(196,99,58,0.5);
}

/* SVG icon inside the circle */
.process-icon {
  position: relative;
  z-index: 2;
  width: 26px;
  height: 26px;
  flex-shrink: 0;

  color: var(--accent-light);
  transition: color 0.4s ease, transform 0.4s ease;
}

.process-step:hover .process-icon {
  color: var(--accent);
  transform: scale(1.12);
}

/* Step text */
.process-step-content h3 {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.process-step:hover .process-step-content h3 {
  color: white;
}

.process-step-content p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-light-secondary);
}

/* Stagger pulse animation for step numbers */
.process-step:nth-child(2) .process-step-number { animation-delay: 0.1s; }
.process-step:nth-child(3) .process-step-number { animation-delay: 0.2s; }
.process-step:nth-child(4) .process-step-number { animation-delay: 0.3s; }
.process-step:nth-child(5) .process-step-number { animation-delay: 0.4s; }
.process-step:nth-child(6) .process-step-number { animation-delay: 0.5s; }

/* Legacy classes — kept for compatibility */
.process-grid {
  display: grid;
  gap: 24px;
}

.process-card {
  text-align: center;
  padding: 32px;
}

.process-number {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(196,99,58,0.08);
  color: var(--accent);
  font-size: 1.4rem;
  font-family: var(--font-heading);
}

/* ==========================================
   PART 3
   TESTIMONIALS • FAQ • CONTACT
   FOOTER • LIGHTBOX • WHATSAPP
   RESPONSIVE SYSTEM
========================================== */

.testimonials-grid {
  display: grid;
  gap: 24px;
}

.testimonial-card {
  position: relative;

  background: var(--bg-card);
  color: var(--text-light);

  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;

  overflow: hidden;
  cursor: default;

  /* Lift + shadow transition */
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.38s ease;
}

/* Hover: lift card + glowing terracotta shadow */
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 50px rgba(196, 99, 58, 0.22),
    0 6px 20px rgba(0, 0, 0, 0.35);
  border-color: rgba(196, 99, 58, 0.20);
}

.testimonial-quote {
  position: absolute;
  top: -10px;
  left: 20px;

  font-size: 8rem;
  line-height: 1;

  color: rgba(196, 99, 58, 0.12);

  font-family: var(--font-heading);

  /* Animate: move up + brighten on hover */
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.38s ease;
  will-change: transform;
}

/* Hover: quote slides up and brightens */
.testimonial-card:hover .testimonial-quote {
  transform: translateY(-10px);
  color: rgba(196, 99, 58, 0.32);
}

.testimonial-text {
  position: relative;
  z-index: 2;

  margin-bottom: 24px;
}

.testimonial-author {
  font-weight: 500;
}

.testimonial-meta {
  color: var(--text-light-secondary);
  font-size: 0.95rem;
}

.stars {
  margin-top: 12px;
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 1rem;

  /* Animate star brightness */
  transition:
    color 0.3s ease,
    text-shadow 0.3s ease,
    letter-spacing 0.3s ease;
}

/* Hover: stars glow bright gold */
.testimonial-card:hover .stars {
  color: #FFD166;
  letter-spacing: 3px;
  text-shadow:
    0 0 8px rgba(255, 209, 102, 0.6),
    0 0 20px rgba(255, 209, 102, 0.25);
}

/* Google reviews CTA row */
.reviews-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
}

.btn-google-reviews {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.04);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.btn-google-reviews:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  color: white;
}

/* Google G icon */
.btn-google-reviews .google-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Star rating badge beside button */
.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.85rem;
  color: var(--text-light-secondary);
}

.reviews-badge strong {
  color: var(--text-light);
  font-weight: 600;
}

.reviews-badge .badge-stars {
  color: #FFD166;
  letter-spacing: 1px;
  font-size: 0.85rem;
}


/* ==========================================
   FAQ ACCORDION
========================================== */

.faq-list {
  max-width: 900px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background: transparent;

  text-align: left;

  padding: 28px 0;
}

.faq-question h3 {
  font-size: 1.15rem;
}

.faq-icon {
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;

  transition:
  max-height 0.45s ease;
}

.faq-answer-content {
  padding-bottom: 24px;
  color: var(--text-dark-secondary);
}

.contact-grid {
  display: grid;
  gap: 60px;
  align-items: start;
}

/* ==========================================
   CONTACT FORM
========================================== */

.contact-form {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);

  padding: 40px;
  border-radius: var(--radius-xl);

  box-shadow: var(--shadow-medium);
  color: var(--text-light);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 767px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

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

.contact-form .form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light-secondary);
}

.contact-form .form-control {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-light);
  transition: var(--transition);
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

textarea.form-control {
  min-height: 160px;
  resize: vertical;
  padding-top: 16px;
}

.contact-form .form-control:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

.contact-form select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='rgba(255,255,255,0.6)' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  padding-right: 45px;
}

.contact-form select.form-control option {
  background: var(--bg-card);
  color: var(--text-light);
}

.contact-form input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
  opacity: 0.6;
}

.btn-submit-enquiry {
  width: 100%;
  min-height: 54px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: var(--transition);
  border: none;
  margin-top: 10px;
  cursor: pointer;
}

.btn-submit-enquiry:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(196, 99, 58, 0.25);
}

.form-note {
  margin-top: 14px;
  color: var(--text-light-secondary);
  font-size: .95rem;
}

.honeypot {
  display: none;
}

/* ==========================================
   CONTACT INFO
   ========================================== */

.support-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 36px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-medium);
}

.support-card h3 {
  font-size: 1.35rem;
  font-family: var(--font-heading);
  color: var(--text-light);
  margin-bottom: 16px;
}

.support-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-light-secondary);
  margin-bottom: 24px;
}

.btn-whatsapp-direct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  background: #25D366;
  color: white;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: var(--transition);
}

.btn-whatsapp-direct:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
}

.whatsapp-btn-icon {
  width: 18px;
  height: 18px;
}

.coordinates-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
  margin-bottom: 32px;
}

.coordinate-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-light-secondary);
}

.coordinate-item span,
.coordinate-item a {
  padding-top: 1px;
  line-height: 1.4;
}

.coordinate-item a:hover {
  color: var(--accent);
}

.coordinate-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.map-wrapper {
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-wrapper iframe {
  width: 100%;
  height: 280px;
  border: 0;
}

/* ==========================================
   STATS SECTION
========================================== */

.stats-grid {
  display: grid;
  gap: 24px;
}

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

.stat-number {
  font-size: clamp(2.5rem,5vw,4.5rem);
  font-family: var(--font-heading);
  color: var(--accent);
}

.stat-label {
  margin-top: 8px;
  color: var(--text-dark-secondary);
}

/* ==========================================
   LIGHTBOX
========================================== */

.lightbox {
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.95);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  transition: var(--transition);

  z-index: 3000;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  width: min(92vw,1200px);
}

.lightbox-image {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;

  width: 52px;
  height: 52px;

  border-radius: 50%;

  background: rgba(255,255,255,0.1);
  color: white;

  font-size: 1.5rem;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 60px;
  height: 60px;

  border-radius: 50%;

  background: rgba(255,255,255,0.1);
  color: white;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-caption {
  text-align: center;
  color: white;
  margin-top: 20px;
}

/* ==========================================
   FINAL CALL TO ACTION (CTA)
========================================== */

.final-cta {
  background: var(--bg-card);
  color: var(--text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
}

/* Add a subtle glowing terracotta radial gradient */
.final-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196, 99, 58, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.final-cta .container {
  position: relative;
  z-index: 2;
}

.final-cta .lead {
  margin-inline: auto;
  text-align: center;
}

.final-cta .hero-actions {
  justify-content: center;
}

/* ==========================================
   FOOTER
========================================== */

.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);

  padding-top: 80px;
}

.footer-grid {
  display: grid;
  gap: 40px;
}

.footer-column h4 {
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-light-secondary);
}

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

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 42px;
  height: 42px;

  border-radius: 50%;

  display: grid;
  place-items: center;

  background: rgba(255,255,255,0.06);
}

.social-links a:hover {
  background: var(--accent);
}

.footer-bottom {
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  text-align: center;
  color: var(--text-light-secondary);
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

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

/* ─────────────────────────────────────────
   FLOATING WHATSAPP BUTTON
───────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 88px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
  flex-shrink: 0;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: #25D366;
  animation: wa-pulse 2.2s ease-out infinite;
  z-index: -1;
}

@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  100% { transform: scale(1.75); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: #1a1a1a;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.78rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  letter-spacing: 0.03em;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #1a1a1a;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

@media (min-width: 768px) {
  .whatsapp-float {
    bottom: 32px;
    right: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float::before { animation: none; }
  .whatsapp-float { transition: none; }
}

/* ─────────────────────────────────────────
   FORM SUCCESS STATE
───────────────────────────────────────── */
.form-success {
  padding: 3rem 1.5rem;
  text-align: center;
  display: none;
}

.form-success.visible {
  display: block;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  color: #C4633A;
}

.form-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 1rem;
  font-weight: 400;
}

.form-success p {
  line-height: 1.8;
  font-size: 0.95rem;
  opacity: 0.75;
  max-width: 440px;
  margin: 0 auto 2rem;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (min-width:768px) {

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

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

  /* Gallery: Bento Grid tablet layout */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 24px;
  }

  .gallery-item.size-standard {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery-item.size-tall {
    grid-column: span 1;
    grid-row: span 2;
  }
  .gallery-item.size-wide {
    grid-column: span 2;
    grid-row: span 1;
  }
  .gallery-item.size-large {
    grid-column: span 2;
    grid-row: span 2;
  }

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

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

@media (min-width:768px) {

  /* process timeline: 2 columns on tablet */
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (min-width:1024px) {

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

  /* Gallery: Bento Grid desktop layout */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
    gap: 28px;
  }

  .gallery-item.size-standard {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery-item.size-tall {
    grid-column: span 1;
    grid-row: span 2;
  }
  .gallery-item.size-wide {
    grid-column: span 2;
    grid-row: span 1;
  }
  .gallery-item.size-large {
    grid-column: span 2;
    grid-row: span 2;
  }

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

  .stats-grid {
    grid-template-columns: repeat(4,1fr);
  }

  .process-grid {
    grid-template-columns: repeat(6,1fr);
  }

  /* process timeline: 3 columns on desktop */
  .process-timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns:
    1.5fr
    1fr
    1fr
    1fr.2r; /* invalid grid unit from original template - resolved below */
  }
  
  .footer-grid {
    grid-template-columns:
    1.5fr
    1fr
    1fr
    1.2fr;
  }
}

@media (min-width:1280px) {

  /* process timeline: full 6-column row on large screens + show connector */
  .process-timeline {
    grid-template-columns: repeat(6, 1fr);
  }

  .process-connector {
    display: block;
  }

  .process-step {
    padding: 44px 20px 48px;
  }

}

@media (max-width:1023px) {

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
  }
}

@media (max-width:767px) {

  .container {
    width: calc(100% - 32px);
  }

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

  .btn {
    width: 100%;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .contact-form,
  .contact-card {
    padding: 28px;
  }
}

/* ==========================================
   BEFORE / AFTER IMAGE SLIDER
========================================== */

.comparison-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-width: 960px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
  --clip-percent: 50%; /* Custom variable updated by JS */
}

.comparison-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.comparison-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Before (Raw) is on top and gets clipped from the right */
.img-before {
  z-index: 2;
  /* Clip the right side. e.g. if --clip-percent is 50%, show only left 50% */
  clip-path: inset(0 var(--clip-percent) 0 0);
}

/* Before/After Slider — Filter Differentiation */
/* RAW side — flat, desaturated, underexposed */
.img-before img {
  filter: saturate(0.3) contrast(0.8) brightness(0.85) sepia(0.15);
  transition: filter 0ms;
}

/* RETOUCHED side — warm, rich, cinematic */
.img-after img {
  filter: saturate(1.4) contrast(1.1) brightness(1.06) hue-rotate(-6deg);
  transition: filter 0ms;
}

.img-after {
  z-index: 1;
}

/* Label badges */
.comparison-label {
  position: absolute;
  bottom: 20px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 5;
  pointer-events: none;
  font-family: var(--font-body);
}

.label-before {
  left: 20px;
  background: rgba(15, 11, 9, 0.75);
  color: var(--text-light-secondary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.label-after {
  right: 20px;
  background: var(--accent);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(196, 99, 58, 0.3);
}

/* Vertical Slider Line */
.comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  /* Sync handle position with the clip border.
     Since --clip-percent represents the clipped right side, the left position is 100% - clip-percent. */
  left: calc(100% - var(--clip-percent));
  width: 2px;
  background: white;
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Slider Drag Button */
.comparison-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: white;
  border: 3px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
  cursor: grab;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.comparison-handle-button:active {
  cursor: grabbing;
  background: var(--accent-hover);
  transform: translate(-50%, -50%) scale(1.1);
}

.comparison-hint {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .comparison-container {
    aspect-ratio: 4 / 3; /* Taller crop on mobile */
  }
  .comparison-label {
    bottom: 12px;
    padding: 6px 12px;
    font-size: 0.65rem;
  }
  .label-before {
    left: 12px;
  }
  .label-after {
    right: 12px;
  }
  .comparison-handle-button {
    width: 38px;
    height: 38px;
  }
}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}