/* ==========================================================
   Ajax & Bricks Construction — Modern Stylesheet v3
   ========================================================== */

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

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
  --black: #0D0D0D;
  --charcoal: #1A1A1A;
  --mid: #2E2E2E;
  --concrete: #F0EDE8;
  --off-white: #F7F5F2;
  --white: #FFFFFF;
  --orange: #E85C1A;
  --orange-dark: #cc4d12;
  --orange-light: #FF7A3D;
  --orange-glow: rgba(232,92,26,0.3);
  --steel: #8C8A86;
  --text-light: rgba(255,255,255,0.55);
  --text-lighter: rgba(255,255,255,0.35);
  --border-light: rgba(255,255,255,0.08);
  --border-dark: rgba(0,0,0,0.08);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
  --shadow-orange: 0 4px 20px rgba(232,92,26,0.3);
  --shadow-orange-lg: 0 8px 32px rgba(232,92,26,0.35);

  --glass-bg: rgba(255,255,255,0.72);
  --glass-border: rgba(255,255,255,0.18);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.06);

  --max-width: 1200px;
  --nav-height: 72px;

  --cursor-size: 8px;
  --cursor-follower-size: 40px;
  --gradient-1: linear-gradient(135deg, #E85C1A, #FF7A3D);
  --gradient-2: linear-gradient(135deg, #E85C1A 0%, #FFD700 100%);

  --bg-primary: var(--concrete);
  --bg-secondary: var(--white);
  --bg-tertiary: var(--off-white);
  --text-primary: var(--charcoal);
  --text-secondary: #444;
  --text-muted: var(--steel);
  --card-bg: var(--white);
  --card-border: var(--border-dark);
  --nav-bg: rgba(255,255,255,0.72);
  --nav-bg-scrolled: rgba(255,255,255,0.88);
  --footer-bg: var(--black);
  --hero-bg: var(--charcoal);
  --section-alt-bg: var(--concrete);
  --stat-bg: var(--charcoal);
  --stat-bg-alt: var(--orange);
  --stat-bg-mid: var(--mid);
  --grid-line: #ddd;
  --address-bg: var(--concrete);
  --ticker-fade: var(--concrete);
  --modal-overlay: rgba(0,0,0,0.6);
  --input-bg: rgba(255,255,255,0.06);
  --input-border: rgba(255,255,255,0.1);
  --input-text: var(--white);
  --input-placeholder: rgba(255,255,255,0.2);
  --label-color: rgba(255,255,255,0.5);
  --contact-text: rgba(255,255,255,0.8);
  --contact-text-muted: rgba(255,255,255,0.5);
  --footer-text: rgba(255,255,255,0.4);
  --footer-text-muted: rgba(255,255,255,0.3);
  --footer-border: rgba(255,255,255,0.06);
  --why-text: rgba(255,255,255,0.45);
  --why-border: rgba(255,255,255,0.08);
  --why-num: rgba(255,255,255,0.04);
  --hero-text: var(--text-light);
  --hero-text-lighter: var(--text-lighter);
  --btn-ghost-border: rgba(255,255,255,0.25);
  --btn-ghost-text: rgba(255,255,255,0.75);
  --testimonial-bg: var(--off-white);
  --team-bg: var(--off-white);
  --avatar-bg: var(--concrete);
  --modal-close-bg: var(--concrete);
  --modal-close-hover: #ddd;
  --modal-text: var(--steel);
  --client-pill-bg: var(--white);
  --client-pill-border: var(--border-dark);
  --project-card-border: rgba(0,0,0,0.06);
  --service-card-bg: var(--white);
  --service-grid-gap: #ccc;
  --stat-grid-gap: #ddd;
  --hero-gradient: radial-gradient(ellipse at 80% 20%, rgba(232,92,26,0.12) 0%, transparent 60%),
                   radial-gradient(ellipse at 20% 80%, rgba(232,92,26,0.06) 0%, transparent 50%);
}

/* Dark mode */
[data-theme="dark"] {
  --bg-primary: #121212;
  --bg-secondary: #1E1E1E;
  --bg-tertiary: #1A1A1A;
  --text-primary: #E0E0E0;
  --text-secondary: #B0B0B0;
  --text-muted: #888;
  --card-bg: #252525;
  --card-border: rgba(255,255,255,0.06);
  --nav-bg: rgba(18,18,18,0.82);
  --nav-bg-scrolled: rgba(18,18,18,0.94);
  --footer-bg: #0A0A0A;
  --hero-bg: #0A0A0A;
  --section-alt-bg: #181818;
  --stat-bg: #1A1A1A;
  --stat-bg-alt: var(--orange);
  --stat-bg-mid: #2A2A2A;
  --grid-line: #2A2A2A;
  --address-bg: #1A1A1A;
  --ticker-fade: #121212;
  --modal-overlay: rgba(0,0,0,0.8);
  --input-bg: rgba(255,255,255,0.04);
  --input-border: rgba(255,255,255,0.08);
  --input-text: #E0E0E0;
  --input-placeholder: rgba(255,255,255,0.15);
  --label-color: rgba(255,255,255,0.4);
  --contact-text: rgba(255,255,255,0.7);
  --contact-text-muted: rgba(255,255,255,0.4);
  --footer-text: rgba(255,255,255,0.35);
  --footer-text-muted: rgba(255,255,255,0.25);
  --footer-border: rgba(255,255,255,0.04);
  --why-text: rgba(255,255,255,0.4);
  --why-border: rgba(255,255,255,0.06);
  --why-num: rgba(255,255,255,0.03);
  --hero-text: rgba(255,255,255,0.5);
  --hero-text-lighter: rgba(255,255,255,0.3);
  --btn-ghost-border: rgba(255,255,255,0.2);
  --btn-ghost-text: rgba(255,255,255,0.65);
  --testimonial-bg: #1A1A1A;
  --team-bg: #181818;
  --avatar-bg: #2A2A2A;
  --modal-close-bg: #2A2A2A;
  --modal-close-hover: #3A3A3A;
  --modal-text: #999;
  --client-pill-bg: #252525;
  --client-pill-border: rgba(255,255,255,0.06);
  --project-card-border: rgba(255,255,255,0.04);
  --service-card-bg: #252525;
  --service-grid-gap: #333;
  --stat-grid-gap: #333;
  --glass-bg: rgba(18,18,18,0.8);
  --glass-border: rgba(255,255,255,0.06);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.3);
  --hero-gradient: radial-gradient(ellipse at 80% 20%, rgba(232,92,26,0.08) 0%, transparent 60%),
                   radial-gradient(ellipse at 20% 80%, rgba(232,92,26,0.04) 0%, transparent 50%);
}

/* ─── THEME TRANSITION ─── */
html.theme-transitioning,
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
  transition: background 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, fill 0.5s ease, stroke 0.5s ease !important;
}

/* ─── CUSTOM SCROLLBAR ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--mid); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ─── BASE ─── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--transition), color var(--transition);
  cursor: none;
}

@media (max-width: 768px) {
  body { cursor: auto; }
}

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

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

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

/* ─── GRADIENT TEXT ─── */
.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── CUSTOM CURSOR ─── */
.cursor, .cursor-follower {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor {
  width: var(--cursor-size);
  height: var(--cursor-size);
  background: var(--orange);
  opacity: 0;
  transition: opacity 0.3s, width 0.2s, height 0.2s, background 0.2s;
}

.cursor-follower {
  width: var(--cursor-follower-size);
  height: var(--cursor-follower-size);
  border: 1.5px solid var(--orange);
  opacity: 0;
  transition: opacity 0.3s, width 0.2s, height 0.2s, transform 0.08s linear;
}

.cursor.visible, .cursor-follower.visible { opacity: 1; }

/* ─── LINE REVEAL ─── */
.line-reveal {
  display: block;
  overflow: hidden;
}

.line-reveal span {
  display: block;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.line-reveal.revealed span {
  transform: translateY(0);
  opacity: 1;
}

.line-reveal:nth-child(1) span { transition-delay: 0.1s; }
.line-reveal:nth-child(2) span { transition-delay: 0.25s; }
.line-reveal:nth-child(3) span { transition-delay: 0.4s; }

/* ─── PRELOADER ─── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient-1);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.preloader-text {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
}

/* ─── SCROLL PROGRESS ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-1);
  z-index: 9998;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(232,92,26,0.4);
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: var(--glass-shadow);
  transition: padding var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

nav.scrolled {
  padding: 0.65rem 2.5rem;
  box-shadow: var(--shadow-md);
  background: var(--nav-bg-scrolled);
  border-bottom-color: transparent;
}

.nav-logo {
  display: flex;
  align-items: center;
  transition: transform var(--transition);
}

.nav-logo:hover { transform: scale(1.03); }

.nav-logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition);
}

nav.scrolled .nav-logo img { height: 24px; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
}

nav ul a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition);
  opacity: 0.65;
  position: relative;
  padding: 0.25rem 0;
}

nav ul a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gradient-1);
  transition: width var(--transition);
  border-radius: 2px;
}

nav ul a:hover, nav ul a:focus-visible {
  color: var(--orange);
  opacity: 1;
}

nav ul a:hover::after, nav ul a:focus-visible::after, nav ul a.active::after { width: 100%; }

nav ul a.active { color: var(--orange); opacity: 1; }

nav ul a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

/* ─── THEME TOGGLE ─── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  position: relative;
  color: var(--text-primary);
  opacity: 0.7;
  transition: opacity var(--transition), color var(--transition), transform var(--transition-bounce), box-shadow var(--transition);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.theme-toggle:hover {
  opacity: 1;
  color: var(--orange);
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 0 0 3px rgba(232,92,26,0.15), var(--shadow-sm);
}

.theme-toggle:active { transform: scale(0.88); }

.theme-toggle:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.theme-toggle .theme-icons {
  position: relative;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle .sun-icon, .theme-toggle .moon-icon {
  position: absolute;
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle .sun-icon { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-toggle .moon-icon { opacity: 0; transform: rotate(90deg) scale(0.5); }

[data-theme="dark"] .theme-toggle .sun-icon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle .moon-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-toggle { color: #E0E0E0; }

@media (hover: hover) {
  .theme-toggle::after {
    content: attr(data-tip);
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: var(--charcoal);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 500;
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }

  .theme-toggle::before {
    content: '';
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    background: var(--charcoal);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
    z-index: 10;
  }

  .theme-toggle:hover::after, .theme-toggle:hover::before { opacity: 1; visibility: visible; }
  .theme-toggle:hover::after { transform: translateX(-50%) translateY(0); }
}

/* ─── HAMBURGER ─── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

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

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--hero-bg);
  background-image: var(--hero-gradient);
  display: flex;
  align-items: flex-end;
  padding: 0 3rem 5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
  z-index: 2;
  pointer-events: none;
}

/* ─── HERO BLOBS ─── */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: blobFloat 12s ease-in-out infinite;
}

.hero-blob-1 {
  width: 500px;
  height: 500px;
  background: rgba(232,92,26,0.08);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-blob-2 {
  width: 350px;
  height: 350px;
  background: rgba(255,122,61,0.06);
  bottom: 10%;
  left: -5%;
  animation-delay: -4s;
}

.hero-blob-3 {
  width: 250px;
  height: 250px;
  background: rgba(232,92,26,0.04);
  top: 40%;
  right: 30%;
  animation-delay: -8s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(20px, 30px) scale(1.02); }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--orange);
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-light);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ─── SCROLL INDICATOR ─── */
.hero-scroll-indicator {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
  animation: bounceIndicator 2.5s ease-in-out infinite;
}

.hero-scroll-indicator span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-lighter);
  font-weight: 500;
}

.scroll-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, var(--orange), transparent);
}

@keyframes bounceIndicator {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── BUTTONS ─── */
.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-1);
  color: var(--white);
  background-size: 200% 200%;
  background-position: 0% 0%;
  transition: all var(--transition), background-position 0.6s ease;
}

.btn-primary:hover, .btn-primary:focus-visible {
  background-position: 100% 100%;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232,92,26,0.4);
}

.btn-primary:active { transform: translateY(0); }

.btn-primary:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.btn-arrow {
  display: inline-block;
  transition: transform var(--transition);
}

.btn-primary:hover .btn-arrow { transform: translateX(5px); }

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

.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(232,92,26,0.08);
  transform: translateY(100%);
  transition: transform var(--transition);
}

.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost:hover::before { transform: translateY(0); }

.btn-ghost:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.btn-submit {
  position: relative;
  min-width: 200px;
  justify-content: center;
}

.btn-submit.loading .btn-text { visibility: hidden; }
.btn-submit.loading .btn-loading { display: inline; }

.btn-loading { display: none; position: absolute; }

/* ─── SECTION DIVIDER ─── */
.section-divider {
  line-height: 0;
  overflow: hidden;
}

.section-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ─── SECTION COMMONS ─── */
section {
  padding: 5rem 3rem;
  scroll-margin-top: var(--nav-height);
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--orange);
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── ABOUT ─── */
.about {
  background: var(--bg-secondary);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 { margin-bottom: 1.5rem; }

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.about-address {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1.25rem;
  border-left: 3px solid var(--orange);
  background: var(--address-bg);
  transition: transform var(--transition), box-shadow var(--transition);
  border-radius: 0 4px 4px 0;
}

.about-address:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.about-address .icon { font-size: 1.2rem; flex-shrink: 0; }

.about-address p {
  font-size: 0.85rem;
  color: var(--charcoal);
  margin: 0;
  line-height: 1.6;
}

[data-theme="dark"] .about-address p { color: var(--text-primary); }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: var(--stat-grid-gap);
}

.stat-box {
  background: var(--stat-bg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
  transition-delay: calc(var(--order, 0) * 0.1s);
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(to bottom, rgba(232,92,26,0.1), transparent);
  transition: height var(--transition-slow);
}

.stat-box:hover::before { height: 100%; }
.stat-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.stat-box:nth-child(2) { background: var(--stat-bg-alt); }
.stat-box:nth-child(3) { background: var(--stat-bg-mid); }
.stat-box:nth-child(4) { background: var(--stat-bg); }

.stat-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  transition: transform var(--transition);
}

.stat-box:hover .stat-number { transform: scale(1.05); }

.stat-suffix { font-size: 1.5rem; vertical-align: super; }

.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.stat-box:nth-child(2) .stat-label { color: rgba(255,255,255,0.85); }

/* ─── SERVICES ─── */
.services { background: var(--bg-tertiary); }

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.services-header h2 { max-width: 400px; }

.services-header p {
  max-width: 340px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

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

.service-card {
  background: var(--service-card-bg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: background var(--transition-slow), transform var(--transition), box-shadow var(--transition);
  transition-delay: calc(var(--order, 0) * 0.12s);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--gradient-1);
  transition: width 0.4s ease;
}

.service-card:hover {
  background: var(--charcoal);
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.service-card:hover .sc-icon-wrap {
  background: rgba(232,92,26,0.2);
  transform: scale(1.1) rotate(-5deg);
}

.service-card:hover .sc-title { color: var(--white); }
.service-card:hover .sc-items li { color: rgba(255,255,255,0.6); }
.service-card:hover::after { width: 100%; }

.service-card:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.sc-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232,92,26,0.08);
  border-radius: 12px;
  margin-bottom: 1.25rem;
  transition: background var(--transition), transform var(--transition-bounce);
}

.sc-icon { font-size: 1.5rem; line-height: 1; }

.sc-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  transition: color var(--transition);
}

.sc-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sc-items li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
  transition: color var(--transition);
  line-height: 1.5;
}

.sc-items li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 0.7rem;
}

/* ─── PROJECTS ─── */
.projects { background: var(--bg-secondary); }

.projects-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 480px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--card-bg);
  border: 1px solid var(--project-card-border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  transition-delay: calc(var(--order, 0) * 0.1s);
  border-radius: 12px;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.project-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--charcoal), var(--mid));
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  z-index: 1;
}

.project-placeholder {
  transition: transform var(--transition-slow);
  z-index: 2;
}

.project-card:hover .project-placeholder { transform: scale(1.15); }

.project-icon { font-size: 3rem; opacity: 0.6; }

.project-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 3;
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(232,92,26,0.85);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.project-info { padding: 1.5rem; }

.project-info h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.project-info p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ─── CTA BANNER ─── */
.cta-banner {
  background: var(--charcoal);
  text-align: center;
  padding: 5rem 3rem;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(232,92,26,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-content .btn-primary {
  font-size: 0.8rem;
  padding: 1rem 2.5rem;
}

/* ─── TEAM ─── */
.team { background: var(--team-bg); }

.team-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 500px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  transition-delay: calc(var(--order, 0) * 0.1s);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.team-card:hover::before { transform: scaleX(1); }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.team-photo {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
}

.team-avatar {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--card-border);
  transition: border-color var(--transition), transform var(--transition-bounce);
}

.team-card:hover .team-avatar-ring {
  border-color: var(--orange);
  transform: scale(1.05);
}

.team-info h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.team-role {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.team-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── WHY US ─── */
.why {
  background: var(--charcoal);
  color: var(--white);
}

.why .section-label { color: var(--orange); }

.why h2 {
  color: var(--white);
  margin-bottom: 3rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.why-item {
  padding: 2rem;
  border: 1px solid var(--why-border);
  position: relative;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  transition-delay: calc(var(--order, 0) * 0.08s);
}

.why-item:hover {
  border-color: rgba(232,92,26,0.3);
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.why-item::before {
  content: attr(data-num);
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 900;
  color: var(--why-num);
  line-height: 1;
  transition: color var(--transition);
}

.why-item:hover::before { color: rgba(232,92,26,0.1); }

.why-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--orange);
  margin-bottom: 1.25rem;
  transition: transform var(--transition-bounce), box-shadow var(--transition);
}

.why-item:hover .why-dot {
  transform: scale(1.6);
  box-shadow: 0 0 16px rgba(232,92,26,0.5);
}

.why-item h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--white);
}

.why-item p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--why-text);
}

/* ─── CLIENTS ─── */
.clients {
  background: var(--bg-tertiary);
  padding: 5rem 3rem;
}

.clients h2 { margin-bottom: 0.5rem; }

.clients-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.clients-ticker-wrap {
  overflow: hidden;
  position: relative;
}

.clients-ticker-wrap::before, .clients-ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.clients-ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-tertiary), transparent);
}

.clients-ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-tertiary), transparent);
}

.clients-ticker {
  display: flex;
  gap: 0;
  animation: ticker 22s linear infinite;
  width: max-content;
}

.clients-ticker:hover { animation-play-state: paused; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.client-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  margin: 0 0.6rem;
  background: var(--client-pill-bg);
  border: 1px solid var(--client-pill-border);
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  border-radius: 100px;
}

.client-pill:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.client-pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ─── TESTIMONIALS ─── */
.testimonials {
  background: var(--testimonial-bg);
  text-align: center;
}

.testimonials-inner {
  max-width: 700px;
  margin: 0 auto;
}

.testimonials .section-label { justify-content: center; }

.testimonial-carousel {
  position: relative;
  min-height: 200px;
}

.testimonial-slide {
  display: none;
  animation: fadeSlideIn 0.5s ease forwards;
}

.testimonial-slide.active { display: block; }

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

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 1.5rem;
}

.testimonial-stars svg { width: 20px; height: 20px; }

.testimonial-slide blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-slide cite {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.testimonial-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--text-muted);
  opacity: 0.3;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.testimonial-btn.active {
  background: var(--orange);
  opacity: 1;
  transform: scale(1.4);
  box-shadow: 0 0 8px rgba(232,92,26,0.4);
}

.testimonial-btn:hover { background: var(--orange-light); opacity: 0.8; }

.testimonial-btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ─── CONTACT ─── */
.contact {
  background: var(--charcoal);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  min-height: 60vh;
  position: relative;
  overflow: hidden;
}

.contact-bg-shape {
  position: absolute;
  top: -50%;
  right: 40%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,92,26,0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-left {
  padding: 5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.contact-left .section-label { color: var(--orange); }

.contact-left h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-left > p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2rem;
}

/* ─── CONTACT FORM ─── */
.contact-form { margin-bottom: 2.5rem; }

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--label-color);
}

.required { color: var(--orange); }

.form-group input, .form-group textarea {
  padding: 0.75rem 1rem;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--input-text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  outline: none;
  border-radius: 8px;
}

.form-group input::placeholder, .form-group textarea::placeholder { color: var(--input-placeholder); }

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--orange);
  background: rgba(232,92,26,0.05);
  box-shadow: 0 0 0 3px rgba(232,92,26,0.1);
}

.form-group input.error, .form-group textarea.error { border-color: #ff4444; }

.form-error {
  font-size: 0.75rem;
  color: #ff4444;
  min-height: 1.2em;
  display: block;
}

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

/* ─── CONTACT DETAILS ─── */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-map {
  margin-top: 1.5rem;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-map:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.2); }

.contact-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
  filter: var(--map-filter, none);
}

[data-theme="dark"] .contact-map iframe {
  --map-filter: invert(0.9) hue-rotate(180deg) saturate(0.5);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-info .label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.contact-info a, .contact-info span {
  font-size: 0.9rem;
  color: var(--contact-text);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-info a:hover, .contact-info a:focus-visible { color: var(--orange); }

.contact-info a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ─── CONTACT RIGHT ─── */
.contact-right {
  background: var(--orange);
  padding: 5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.contact-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.04) 20px,
    transparent 20px,
    transparent 40px
  );
}

.contact-right blockquote {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.contact-right cite {
  position: relative;
  z-index: 1;
  display: block;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ─── FOOTER ─── */
footer {
  background: var(--footer-bg);
  color: var(--white);
  position: relative;
}

.footer-top {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 5rem 3rem 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition);
}

.footer-logo:hover img { opacity: 0.8; }

.footer-desc {
  font-size: 0.82rem;
  color: var(--footer-text);
  line-height: 1.7;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--footer-border);
  border-radius: 50%;
  color: var(--footer-text);
  transition: all var(--transition);
}

.social-link:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(232,92,26,0.1);
  transform: translateY(-2px);
}

.footer-content h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--footer-text);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--orange);
  transform: translateX(4px);
  display: inline-block;
}

.footer-contact p {
  font-size: 0.85rem;
  color: var(--footer-text);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-contact a { color: var(--footer-text); transition: color var(--transition); }
.footer-contact a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid var(--footer-border);
  padding: 1.5rem 3rem;
  text-align: center;
}

.footer-bottom .copyright {
  font-size: 0.75rem;
  color: var(--footer-text-muted);
  letter-spacing: 0.05em;
}

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 44px;
  height: 44px;
  background: var(--gradient-1);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  box-shadow: var(--shadow-orange);
  border-radius: 12px;
}

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

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-orange-lg);
  border-radius: 50%;
}

.back-to-top:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* ─── WHATSAPP FLOATING BUTTON ─── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 5rem;
  z-index: 999;
  width: 50px;
  height: 50px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,0.3);
  transition: transform var(--transition-bounce), box-shadow var(--transition);
}

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

.whatsapp-float:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* ─── MODAL / POPUP ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--modal-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-overlay.visible { opacity: 1; visibility: visible; }

.modal-content {
  background: var(--card-bg);
  max-width: 420px;
  width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
}

.modal-overlay.visible .modal-content { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--modal-close-bg);
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  transition: background var(--transition), color var(--transition);
  border-radius: 50%;
}

.modal-close:hover { background: var(--modal-close-hover); color: var(--orange); }

.modal-close:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.modal-icon {
  margin-bottom: 1.25rem;
  display: inline-flex;
  animation: modalPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}

@keyframes modalPop {
  from { transform: scale(0) rotate(-30deg); }
  to { transform: scale(1) rotate(0deg); }
}

.modal-content h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.modal-content p {
  font-size: 0.9rem;
  color: var(--modal-text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.modal-btn {
  min-width: 140px;
  justify-content: center;
  cursor: pointer;
}

/* ─── RESPONSIVE - TABLET ─── */
@media (max-width: 1024px) {
  .footer-content { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --nav-height: 64px; }

  nav { padding: 0.8rem 1.5rem; }
  nav.scrolled { padding: 0.6rem 1.5rem; }
  nav ul { gap: 1.25rem; }
  section { padding: 4rem 1.5rem; }
  .hero { padding: 7rem 1.5rem 4rem; }
  .cta-banner { padding: 4rem 1.5rem; }

  .about { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact-right { min-height: 240px; padding: 3rem 1.5rem; }
  .contact-left { padding: 3rem 1.5rem; }

  .form-row { grid-template-columns: 1fr; }
  .hero-scroll-indicator { display: none; }

  .footer-content { grid-template-columns: 1fr 1fr; padding: 3rem 1.5rem 2rem; }
  .footer-bottom { padding: 1.25rem 1.5rem; }
  .whatsapp-float { right: 1.5rem; bottom: 1.5rem; }
  .back-to-top { right: 1.5rem; bottom: 4.5rem; }
  .cursor, .cursor-follower { display: none; }
  body { cursor: auto; }
}

/* ─── RESPONSIVE - MOBILE ─── */
@media (max-width: 600px) {
  .nav-toggle { display: flex; }

  .theme-toggle {
    width: 36px;
    height: 36px;
    padding: 0.4rem;
    margin-right: 0.25rem;
  }

  .theme-toggle .theme-icons { width: 16px; height: 16px; }

  .theme-toggle .sun-icon, .theme-toggle .moon-icon { width: 16px; height: 16px; }

  nav ul {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-secondary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
  }

  nav ul.open { opacity: 1; visibility: visible; }

  nav ul a {
    font-size: 1.2rem;
    opacity: 1;
  }

  nav ul a::after { display: none; }

  .team-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr; }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-logo { display: flex; justify-content: center; }
  .footer-social { justify-content: center; }

  .contact-right blockquote { font-size: 1.5rem; }

  section { padding: 4rem 1.25rem; }
}

@media (max-width: 380px) {
  .theme-toggle {
    width: 32px;
    height: 32px;
    padding: 0.3rem;
    margin-right: 0.15rem;
  }

  .theme-toggle .theme-icons { width: 14px; height: 14px; }
  .theme-toggle .sun-icon, .theme-toggle .moon-icon { width: 14px; height: 14px; }
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .clients-ticker { animation: none; }
  .hero-blob { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .line-reveal span { transform: none; opacity: 1; }
  .cursor, .cursor-follower { display: none; }
  body { cursor: auto; }
  .hero-content { opacity: 1; }
  .preloader { display: none; }
  .hero-scroll-indicator { animation: none; }
  .stat-box:hover { transform: none; }
  .service-card:hover { transform: none; }
  .project-card:hover { transform: none; }
  .why-item:hover { transform: none; }
  .team-card:hover { transform: none; }
  .client-pill:hover { transform: none; }
}