/* ============================================
   FrameLab Studio — Aesthetic Minimalism DA
   Extracted from: Green Beige Perfume Presentation
   Palette: sage green, warm cream, caramel tan
   ============================================ */

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

:root {
  /* === DA Colors === */
  --bg: #fff5ea;
  --bg-elevated: #fff9f1;
  --bg-card: rgba(78, 95, 67, 0.04);
  --bg-card-hover: rgba(78, 95, 67, 0.08);
  --bg-dark: #344a28;
  --bg-dark-deep: #263820;
  --surface: #f5ead9;
  --surface-alt: #ede0cf;
  --text: #2e3d25;
  --text-secondary: #4a5a3c;
  --text-muted: #6b7a60;
  --text-light: #fff5ea;
  --border: rgba(46, 61, 37, 0.14);
  --border-hover: rgba(46, 61, 37, 0.32);
  --accent: #4e5f43;
  --tan: #c1a98d;
  --tan-light: #d1bca1;
  --tan-dark: #8a6530;
  --gold: #a0783c;
  --gold-light: rgba(160, 120, 60, 0.12);
  --gold-hover: #8a6228;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 100px;
  --font-heading: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Nunito', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-accent: 'Poppins', 'Nunito', sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
  --transition: 400ms var(--ease);
  --transition-fast: 250ms var(--ease);
  --container: 1440px;
  --section-py: clamp(80px, 10vh, 140px);
  --nav-h: 72px;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.78;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: var(--font-body); }

::selection {
  background: rgba(78, 95, 67, 0.2);
  color: var(--text);
}

/* --- Layout --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px)  { .container { padding: 0 40px; } }
@media (min-width: 1024px) { .container { padding: 0 64px; } }
@media (min-width: 1440px) { .container { padding: 0 80px; } }
@media (min-width: 1920px) { .container { padding: 0 96px; } }

/* --- Skip Link --- */
.skip-to-content {
  position: absolute; top: -100%; left: 16px;
  padding: 12px 24px; background: var(--bg-dark); color: var(--text-light);
  border-radius: var(--radius-sm); z-index: 100001; font-size: 14px; font-weight: 600;
  transition: top 0.3s;
}
.skip-to-content:focus { top: 16px; }

/* --- Noscript --- */
.noscript-notice {
  position: fixed; inset: 0; z-index: 100001; background: var(--bg);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px;
}
.noscript-notice p { font-size: 18px; color: var(--text-secondary); max-width: 500px; line-height: 1.7; }
.noscript-notice strong { display: block; font-size: 24px; color: var(--text); margin-bottom: 16px; }

/* --- Loading Screen --- */
.loader {
  position: fixed; inset: 0; background: var(--bg); z-index: 100000;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 24px;
  transition: opacity 0.8s var(--ease-out), visibility 0.8s var(--ease-out);
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  font-family: var(--font-heading); font-size: 28px; font-weight: 600;
  letter-spacing: 0.02em; color: var(--text); animation: loaderPulse 2s ease-in-out infinite;
}
.loader-bar { width: 120px; height: 1px; background: var(--border); overflow: hidden; }
.loader-bar-inner { width: 0%; height: 100%; background: var(--tan); animation: loaderProgress 1.8s var(--ease) forwards; }

@keyframes loaderPulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
@keyframes loaderProgress { 0% { width: 0; } 100% { width: 100%; } }

/* ================================
   NAVIGATION
   ================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(255, 245, 234, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--border);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-heading); font-weight: 700;
  letter-spacing: 0.01em; color: var(--text);
  text-decoration: none;
}
.nav-logo svg { flex-shrink: 0; color: var(--text); }
.nav-logo-texts {
  display: flex; flex-direction: column; line-height: 1.15;
}
.nav-logo-name {
  font-family: var(--font-heading); font-size: 20px; font-weight: 700;
  letter-spacing: 0.01em; color: var(--text);
}
.nav-logo-sub {
  font-family: var(--font-accent); font-size: 9px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted);
}
.footer .nav-logo { color: var(--text-light); }
.footer .nav-logo svg { color: var(--text-light); }
.footer .nav-logo-name { color: var(--text-light); }
.footer .nav-logo-sub { color: rgba(255, 245, 234, 0.45); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-family: var(--font-accent); font-size: 15px; font-weight: 400;
  color: var(--text-secondary); transition: color var(--transition-fast); letter-spacing: 0.01em;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-cta {
  padding: 10px 20px !important; background: var(--gold) !important;
  color: var(--text-light) !important; border-radius: var(--radius-pill) !important;
  font-size: 13px !important; font-weight: 500 !important;
  transition: all var(--transition-fast) !important;
}
.nav-cta:hover { background: var(--gold-hover) !important; transform: translateY(-1px) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--text); transition: all 0.3s ease; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* ================================
   BUTTONS
   ================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-pill);
  font-family: var(--font-accent); font-size: 15px; font-weight: 500;
  letter-spacing: 0.02em; transition: all var(--transition-fast);
  border: none; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--text-light); }
.btn-primary:hover {
  background: var(--gold-hover); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(160, 120, 60, 0.28);
}
.btn-secondary { background: transparent; color: var(--text); border: 1.5px solid var(--border-hover); }
.btn-secondary:hover { border-color: var(--text); background: rgba(78, 95, 67, 0.04); }
.btn-lg { padding: 18px 40px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-icon { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover .btn-icon { transform: translateX(3px); }

/* ================================
   OVERLINE & SECTION HEADERS
   ================================ */
.overline {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-accent);
  font-size: 12px; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--tan-dark); margin-bottom: 16px;
}
.overline::before {
  content: '</>';
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 10px; letter-spacing: 0;
  color: var(--gold); opacity: 0.8;
  text-transform: none;
}
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center p { margin-left: auto; margin-right: auto; }
.section-header.center::before {
  content: '';
  display: block;
  width: 36px; height: 2px;
  background: var(--gold);
  margin: 0 auto 20px;
  border-radius: 2px;
  opacity: 0.75;
}
.section-title {
  font-family: var(--font-heading); font-size: clamp(36px, 5vw, 56px);
  font-weight: 600; letter-spacing: -0.01em; line-height: 1.15;
  color: var(--text); margin-bottom: 16px;
}
.section-desc { font-size: 18px; color: var(--text-secondary); max-width: 580px; line-height: 1.85; }

/* ================================
   HERO
   ================================ */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: flex-start;
  text-align: left; padding: 120px 0 80px; position: relative; overflow: hidden;
  background: var(--bg);
}
.hero::before {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(193, 169, 141, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -10%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(78, 95, 67, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
/* Hero 2-col layout */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  position: relative; z-index: 1;
}
.hero-content { max-width: none; margin: 0; }
.hero-desc { margin-left: 0; margin-right: 0; }
.hero-actions { justify-content: flex-start; }
.hero-stats { justify-content: flex-start; }
/* Hero visuel - 3D Canvas */
.hero-visual {
  position: relative;
  display: flex; align-items: stretch;
  min-height: 480px;
  height: 100%;
}
.hero-visual-canvas {
  width: 100%;
  height: 100%;
  min-height: 480px;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.hero-visual-canvas canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border: 1px solid var(--border-hover);
  border-radius: var(--radius-pill); font-family: var(--font-accent);
  font-size: 13px; font-weight: 400; color: var(--text-secondary);
  margin-bottom: 32px; background: rgba(255, 255, 255, 0.5);
}
.hero-badge-dot {
  width: 6px; height: 6px; background: var(--bg-dark);
  border-radius: 50%; animation: pulse 2.5s ease infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 {
  font-family: var(--font-heading); font-size: clamp(44px, 8vw, 80px);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.08;
  margin-bottom: 28px; color: var(--text);
}
.hero h1 em { font-style: italic; color: var(--tan-dark); }
.hero-desc {
  font-size: clamp(17px, 2.5vw, 20px); color: var(--text-secondary);
  line-height: 1.7; max-width: 540px; margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex; justify-content: center; gap: 64px;
  margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--border);
}
.hero-stat h3 {
  font-family: var(--font-heading); font-size: clamp(32px, 4vw, 48px);
  font-weight: 700; letter-spacing: -0.02em; color: var(--text);
}
.hero-stat p { font-size: 13px; color: var(--text-muted); margin-top: 4px; letter-spacing: 0.02em; }

/* ================================
   MARQUEE
   ================================ */
.marquee {
  overflow: hidden; padding: 28px 0;
  border-top: 1.5px solid var(--border-hover); border-bottom: 1.5px solid var(--border-hover);
  background: var(--surface);
}
.marquee-inner { display: flex; gap: 48px; animation: marquee 30s linear infinite; white-space: nowrap; }
.marquee-item {
  font-family: var(--font-heading); font-size: clamp(22px, 3vw, 40px);
  font-weight: 500; color: var(--text); opacity: 0.65;
  flex-shrink: 0; letter-spacing: 0.02em;
}
.marquee-item span { margin-left: 48px; color: var(--gold); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ================================
   SERVICES CARDS
   ================================ */
.services-section { padding: var(--section-py) 0; background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.service-card {
  background: rgba(255, 255, 255, 0.6); padding: 40px 28px;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  transition: all var(--transition); position: relative;
}
.service-card:hover {
  background: rgba(255, 255, 255, 0.8); border-color: var(--border-hover);
  transform: translateY(-4px); box-shadow: 0 12px 32px rgba(78, 95, 67, 0.08);
}
.service-icon {
  width: 48px; height: 48px; margin-bottom: 24px; color: var(--tan-dark);
  background: rgba(193, 169, 141, 0.12); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.service-card:hover .service-icon { background: rgba(193, 169, 141, 0.2); color: var(--bg-dark); }
.service-card h3 {
  font-family: var(--font-heading); font-size: 21px; font-weight: 600;
  margin-bottom: 10px; color: var(--text);
}
.service-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; }
.service-card .learn-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--tan-dark);
  margin-top: 20px; transition: color var(--transition-fast), gap 0.3s var(--ease);
}
.service-card:hover .learn-more { color: var(--bg-dark); gap: 10px; }

/* ================================
   PRICING CARDS (Services page)
   ================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.pricing-card {
  background: rgba(255, 255, 255, 0.6); padding: 48px 36px;
  display: flex; flex-direction: column; position: relative;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(78, 95, 67, 0.08); }
.pricing-card.popular { background: var(--bg-dark); color: var(--text-light); border-color: var(--bg-dark); }
.pricing-card.popular p, .pricing-card.popular .service-features li { color: rgba(255, 245, 234, 0.7); }
.popular-badge {
  position: absolute; top: 20px; right: 20px;
  padding: 4px 12px; background: var(--tan); color: var(--bg-dark-deep);
  border-radius: var(--radius-pill); font-size: 11px; font-weight: 600;
}
.pricing-card h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.pricing-card > p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 24px; }
.price { font-family: var(--font-heading); font-size: 40px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.price small { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.service-features { margin: 24px 0 32px; flex: 1; }
.service-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-secondary); padding: 7px 0; }
.service-features li svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--tan-dark); }

/* ================================
   PORTFOLIO GRID
   ================================ */
.portfolio-section { padding: var(--section-py) 0; background: var(--bg-dark); }
.portfolio-section .section-title { color: var(--text-light); }
.portfolio-section .overline { color: var(--tan); }
.portfolio-section .section-desc { color: rgba(255, 245, 234, 0.7); }
.portfolio-section .btn-secondary {
  color: var(--text-light);
  border-color: rgba(255, 245, 234, 0.3);
}
.portfolio-section .btn-secondary:hover {
  border-color: rgba(255, 245, 234, 0.7);
  background: rgba(255, 245, 234, 0.08);
}
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 64px; }
.portfolio-item {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 16 / 10; background: var(--bg-dark);
  cursor: pointer; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.portfolio-item:hover { transform: scale(1.02); box-shadow: 0 20px 48px rgba(78, 95, 67, 0.15); }
.portfolio-visual {
  width: 100%; height: 100%; display: flex; align-items: center;
  justify-content: center; transition: transform 0.6s var(--ease);
}
.portfolio-item:hover .portfolio-visual { transform: scale(1.05); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(62, 81, 55, 0.9) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px; opacity: 0; transition: opacity 0.5s var(--ease);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h3 {
  font-family: var(--font-heading); font-size: 22px; font-weight: 600;
  margin-bottom: 4px; color: var(--text-light);
}
.portfolio-overlay p { font-size: 13px; color: rgba(255, 245, 234, 0.7); }
.portfolio-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-light); margin-top: 12px;
  transition: gap 0.3s var(--ease);
}
.portfolio-link:hover { gap: 10px; }
.portfolio-full-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.portfolio-full-grid .portfolio-item:nth-child(3) { grid-column: 1 / -1; aspect-ratio: 21 / 9; }

/* ================================
   WHY / ABOUT CARDS
   ================================ */
.why-section { padding: var(--section-py) 0; background: var(--surface); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 64px; }
.why-card {
  background: rgba(255, 255, 255, 0.5); padding: 40px 28px; text-align: center;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  transition: all var(--transition);
}
.why-card:hover {
  background: rgba(255, 255, 255, 0.8); transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(78, 95, 67, 0.08);
}
.why-icon {
  width: 56px; height: 56px; margin: 0 auto 20px; color: var(--tan-dark);
  background: rgba(193, 169, 141, 0.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.why-card:hover .why-icon { background: rgba(193, 169, 141, 0.25); color: var(--bg-dark); }
.why-card h3 { font-family: var(--font-heading); font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.why-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.78; }

/* ================================
   TESTIMONIALS
   ================================ */
.testimonials-section { padding: var(--section-py) 0; background: var(--bg-dark); color: var(--text-light); }
.testimonials-section .overline { color: var(--tan); }
.testimonials-section .section-title { color: var(--text-light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.testimonial-card {
  background: rgba(255, 245, 234, 0.06); padding: 40px 32px;
  border-radius: var(--radius-lg); border: 1px solid rgba(255, 245, 234, 0.1);
  transition: all var(--transition);
}
.testimonial-card:hover {
  background: rgba(255, 245, 234, 0.1); border-color: rgba(255, 245, 234, 0.18);
  transform: translateY(-4px);
}
.testimonial-quote {
  font-family: var(--font-heading); font-size: 48px; color: var(--tan);
  line-height: 1; margin-bottom: 16px; opacity: 0.6;
}
.testimonial-text { font-size: 16px; line-height: 1.85; color: rgba(255, 245, 234, 0.8); margin-bottom: 28px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(193, 169, 141, 0.2); border: 1px solid rgba(255, 245, 234, 0.15);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 13px; color: var(--tan);
}
.testimonial-info h4 { font-size: 14px; font-weight: 500; color: var(--text-light); }
.testimonial-info p { font-size: 12px; color: rgba(255, 245, 234, 0.5); }

/* ================================
   CTA SECTION
   ================================ */
.cta-section { padding: var(--section-py) 0; background: var(--bg); }
.cta-box {
  background: var(--surface); border-radius: var(--radius-xl);
  padding: clamp(64px, 8vw, 100px); text-align: center;
  position: relative; overflow: hidden;
}
/* Déco SVG : grille de points */
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1.5' fill='%234e5f43' fill-opacity='0.07'/%3E%3C/svg%3E");
  background-size: 24px 24px;
  pointer-events: none; z-index: 0;
}
/* Déco SVG : bracket code coin supérieur droit */
.cta-box::after {
  content: '</>';
  position: absolute; top: 32px; right: 40px;
  font-family: 'Courier New', monospace;
  font-size: 28px; font-weight: 700;
  color: var(--gold); opacity: 0.18;
  pointer-events: none; z-index: 0;
  letter-spacing: -0.02em;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box .section-title { margin-bottom: 16px; }
.cta-box .section-desc { margin: 0 auto 40px; }

/* ================================
   FOOTER
   ================================ */
.footer { padding: 80px 0 40px; background: var(--bg-dark); color: var(--text-light); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer-brand p { font-size: 14px; color: rgba(255, 245, 234, 0.6); line-height: 1.8; margin-top: 16px; max-width: 280px; }
.footer-socials { display: flex; gap: 8px; margin-top: 20px; }
.footer-social-link {
  width: 36px; height: 36px; border: 1px solid rgba(255, 245, 234, 0.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: rgba(255, 245, 234, 0.5); transition: all var(--transition-fast);
}
.footer-social-link:hover { border-color: var(--tan); color: var(--tan); background: rgba(193, 169, 141, 0.1); }
.footer-column h4 {
  font-family: var(--font-heading); font-size: 16px; font-weight: 600;
  margin-bottom: 20px; color: var(--text-light); letter-spacing: 0.02em;
}
.footer-column a { display: block; color: rgba(255, 245, 234, 0.55); font-size: 15px; padding: 6px 0; transition: color var(--transition-fast); }
.footer-column a:hover { color: var(--text-light); }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid rgba(255, 245, 234, 0.1);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 13px; color: rgba(255, 245, 234, 0.4); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: rgba(255, 245, 234, 0.4); transition: color var(--transition-fast); }
.footer-legal a:hover { color: var(--text-light); }

/* ================================
   ABOUT PAGE
   ================================ */
.page-hero { padding: 160px 0 80px; text-align: center; background: var(--bg); position: relative; overflow: hidden; }
.page-hero::before {
  content: '';
  position: absolute; top: 30%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(160, 120, 60, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .overline::before { content: none; }
.page-hero .section-title { font-size: clamp(40px, 6vw, 64px); }
.page-hero .section-desc { margin-left: auto; margin-right: auto; }

.about-section { padding: var(--section-py) 0; }
.about-section.is-dark { background: var(--bg-dark); }
.about-section.is-dark .section-title { color: var(--text-light); }
.about-section.is-dark .overline { color: var(--tan); }
.about-section.is-dark .section-desc { color: rgba(255, 245, 234, 0.7); }
.about-section.is-dark .value-card {
  background: rgba(255, 245, 234, 0.06);
  border-color: rgba(255, 245, 234, 0.1);
}
.about-section.is-dark .value-card:hover {
  background: rgba(255, 245, 234, 0.1);
  border-color: rgba(255, 245, 234, 0.2);
}
.about-section.is-dark .value-card h3 { color: var(--text-light); }
.about-section.is-dark .value-card p { color: rgba(255, 245, 234, 0.65); }
.about-section.is-dark .value-number { color: var(--tan); opacity: 0.35; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text h2 { font-family: var(--font-heading); font-size: clamp(28px, 4vw, 44px); font-weight: 600; line-height: 1.15; margin-bottom: 24px; }
.about-text p { font-size: 17px; color: var(--text-secondary); line-height: 1.85; margin-bottom: 16px; }

/* --- Terminal / Code Block décoratif --- */
.about-visual-deco {
  margin-top: 40px;
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 245, 234, 0.08);
  box-shadow: 0 16px 48px rgba(62, 81, 55, 0.18);
}
.terminal-bar {
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.2);
  display: flex; align-items: center; gap: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.tb-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.tb-dot-1 { background: #ff5f57; }
.tb-dot-2 { background: #febc2e; }
.tb-dot-3 { background: #28c840; }
.tb-filename {
  font-size: 11px;
  color: rgba(255, 245, 234, 0.3);
  font-family: 'Courier New', monospace;
  margin-left: 6px;
  letter-spacing: 0.02em;
}
.terminal-body {
  padding: 24px 24px 28px;
  display: flex; flex-direction: column; gap: 5px;
}
.term-line {
  font-family: 'Courier New', monospace;
  font-size: 13px; line-height: 1.7;
  color: rgba(255, 245, 234, 0.65);
  display: block;
  white-space: pre;
}
.term-kw { color: var(--gold); }
.term-key { color: var(--tan); }
.term-str { color: rgba(193, 235, 180, 0.6); }
.term-num { color: var(--gold); }
.term-comment { color: rgba(255, 245, 234, 0.28); font-style: italic; }
.term-cursor {
  display: inline-block; width: 8px; height: 14px;
  background: var(--tan); vertical-align: middle;
  animation: blink 1.2s step-end infinite; margin-left: 2px;
}
@keyframes blink { 50% { opacity: 0; } }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.value-card {
  background: rgba(255, 255, 255, 0.5); padding: 48px 32px; text-align: center;
  border-radius: var(--radius-lg); border: 1px solid var(--border); transition: all var(--transition);
}
.value-card:hover { background: rgba(255, 255, 255, 0.8); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(78, 95, 67, 0.08); }
.value-number { font-family: var(--font-heading); font-size: 56px; font-weight: 700; color: var(--tan); opacity: 0.3; line-height: 1; margin-bottom: 20px; }
.value-card h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.value-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.78; }

.stats-section { padding: var(--section-py) 0; background: var(--surface); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-item h3 { font-family: var(--font-heading); font-size: clamp(40px, 5vw, 56px); font-weight: 700; color: var(--text); }
.stat-item p { font-size: 14px; color: var(--text-secondary); margin-top: 6px; }

.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.philosophy-text { font-size: 16px; color: var(--text-secondary); line-height: 1.8; margin-top: 20px; }
.philosophy-cards { display: flex; flex-direction: column; gap: 16px; }
.philosophy-card {
  padding: 28px; background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: all var(--transition);
}
.philosophy-card:hover {
  border-color: var(--border-hover); background: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(78, 95, 67, 0.06);
}
.philosophy-card h3 { font-family: var(--font-heading); font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.philosophy-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.78; }

/* ================================
   CONTACT PAGE
   ================================ */
.contact-section { padding: var(--section-py) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 64px; }
.contact-info { display: flex; flex-direction: column; gap: 36px; }
.contact-info-item { display: flex; gap: 16px; }
.contact-info-icon {
  width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--tan-dark); background: rgba(193, 169, 141, 0.08);
}
.contact-info-item h4 { font-family: var(--font-heading); font-size: 18px; font-weight: 600; margin-bottom: 3px; }
.contact-info-item p, .contact-info-item a { font-size: 15px; color: var(--text-secondary); transition: color var(--transition-fast); }
.contact-info-item a:hover { color: var(--text); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--text-secondary); letter-spacing: 0.02em; }
.form-group input, .form-group select, .form-group textarea {
  padding: 14px 18px; background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); font-size: 14px;
  transition: border-color var(--transition-fast), background var(--transition-fast); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--tan); background: rgba(255, 255, 255, 0.9);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238a977f' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.form-group select option { background: var(--bg); color: var(--text); }

.contact-map { margin-top: 80px; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border); height: 360px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: sepia(0.3) hue-rotate(60deg) saturate(0.6) brightness(1.05); }

.calendly-section {
  margin-top: 64px; padding: 40px; background: var(--surface);
  border-radius: var(--radius-lg); text-align: center;
}
.calendly-section h3 { font-family: var(--font-heading); font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.calendly-section p { font-size: 15px; color: var(--text-secondary); margin-bottom: 24px; }

/* ================================
   BLOG PAGE
   ================================ */
.blog-section { padding: var(--section-py) 0; }
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; margin-top: 48px; }
.blog-featured {
  background: rgba(255, 255, 255, 0.5); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px;
  transition: all var(--transition);
}
.blog-featured:hover { border-color: var(--border-hover); box-shadow: 0 8px 24px rgba(78, 95, 67, 0.06); }
.blog-featured-visual {
  height: 280px; display: flex; align-items: center; justify-content: center;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.blog-featured-content { padding: 32px; }
.blog-tag {
  display: inline-block; padding: 4px 12px; background: rgba(193, 169, 141, 0.15);
  border-radius: var(--radius-pill); font-size: 11px; font-weight: 500;
  color: var(--tan-dark); margin-bottom: 12px; letter-spacing: 0.04em; text-transform: uppercase;
}
.blog-featured-content h2 { font-family: var(--font-heading); font-size: 26px; font-weight: 600; margin-bottom: 12px; line-height: 1.3; }
.blog-featured-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.blog-meta { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--text-muted); }

.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.blog-card {
  background: rgba(255, 255, 255, 0.5); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: all var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(78, 95, 67, 0.06); }
.blog-card-visual {
  height: 160px; display: flex; align-items: center; justify-content: center;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.blog-card-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-content h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.blog-card-content p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; flex: 1; }

.blog-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-card { background: rgba(255, 255, 255, 0.5); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.sidebar-card h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.sidebar-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.sidebar-input { display: flex; gap: 8px; }
.sidebar-input input {
  flex: 1; padding: 10px 14px; background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-size: 13px; outline: none;
}
.sidebar-input input:focus { border-color: var(--tan); }
.tags-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tags-cloud a {
  padding: 4px 12px; background: rgba(193, 169, 141, 0.1);
  border-radius: var(--radius-pill); font-size: 12px; color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.tags-cloud a:hover { background: rgba(193, 169, 141, 0.25); color: var(--text); }

/* ================================
   SERVICES PAGE
   ================================ */
.services-hero { padding-top: 160px; padding-bottom: var(--section-py); text-align: center; }
.services-hero .section-title { font-size: clamp(40px, 6vw, 64px); }
.pricing-section { padding: var(--section-py) 0; }
.maintenance-section { padding: var(--section-py) 0; background: var(--surface); }
.maintenance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }

.process-section { padding: var(--section-py) 0; }
.process-timeline { position: relative; margin-top: 64px; }
.process-timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: var(--border); transform: translateX(-50%);
}
.process-step { display: flex; align-items: center; gap: 64px; margin-bottom: 48px; position: relative; }
.process-step:nth-child(even) { flex-direction: row-reverse; }
.process-step-content {
  flex: 1; padding: 32px; background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.process-step-content:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(78, 95, 67, 0.06); }
.process-step-number {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; background: var(--bg-dark); border: 2px solid var(--bg);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px; color: var(--text-light); z-index: 1;
}
.process-step-content h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.process-step-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

.portfolio-hero { padding-top: 160px; padding-bottom: 48px; text-align: center; }

/* ================================
   CASE STUDY MODAL
   ================================ */
.case-study-modal {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(62, 81, 55, 0.6); backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.4s var(--ease);
}
.case-study-modal.active { opacity: 1; visibility: visible; }
.case-study-content {
  max-width: 720px; width: 90%; max-height: 80vh; overflow-y: auto;
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 56px; background: var(--bg);
  transform: translateY(20px) scale(0.98); transition: transform 0.4s var(--ease);
}
.case-study-modal.active .case-study-content { transform: translateY(0) scale(1); }
.case-study-close {
  position: absolute; top: 24px; right: 24px;
  background: rgba(255, 245, 234, 0.15); border: 1px solid rgba(255, 245, 234, 0.2);
  border-radius: 50%; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 20px; cursor: pointer;
  transition: all var(--transition-fast);
}
.case-study-close:hover { background: rgba(255, 245, 234, 0.25); }

/* ================================
   FORM FEEDBACK
   ================================ */
.form-feedback-msg { margin-top: 12px; padding: 12px 16px; border-radius: var(--radius); font-size: 14px; line-height: 1.6; }
.form-feedback-msg.success { background: rgba(78, 95, 67, 0.08); border: 1px solid rgba(78, 95, 67, 0.2); color: var(--bg-dark); }
.form-feedback-msg.error { background: rgba(180, 80, 60, 0.06); border: 1px solid rgba(180, 80, 60, 0.15); color: #a04030; }
.form-feedback-msg.error a { color: #a04030; text-decoration: underline; }

/* ================================
   BOOKING MODAL
   ================================ */
.booking-modal {
  position: fixed; inset: 0; z-index: 10001;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.booking-modal[hidden] { display: none !important; }
.booking-overlay { position: absolute; inset: 0; background: rgba(62, 81, 55, 0.5); backdrop-filter: blur(8px); }
.booking-content {
  position: relative; z-index: 1; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  max-width: 540px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 40px;
  scrollbar-width: thin; scrollbar-color: var(--tan-light) transparent;
}
.booking-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(78, 95, 67, 0.06); border: 1px solid var(--border);
  border-radius: 50%; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-secondary); transition: all var(--transition-fast);
}
.booking-close:hover { border-color: var(--border-hover); color: var(--text); background: rgba(78, 95, 67, 0.12); }
.booking-header { margin-bottom: 28px; padding-right: 40px; }
.booking-header h2 { font-family: var(--font-heading); font-size: 26px; font-weight: 600; margin-bottom: 4px; }
.booking-header p { font-size: 14px; color: var(--text-secondary); }
.booking-block { margin-bottom: 28px; }
.booking-label { font-size: 12px; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.booking-dates { display: flex; flex-wrap: wrap; gap: 6px; }
.date-chip {
  padding: 8px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: transparent;
  color: var(--text-secondary); font-size: 13px; font-family: var(--font-body);
  cursor: pointer; transition: all var(--transition-fast);
}
.date-chip:hover { border-color: var(--border-hover); color: var(--text); }
.date-chip.selected { background: var(--bg-dark); border-color: var(--bg-dark); color: var(--text-light); font-weight: 500; }
.booking-time-groups { display: flex; flex-direction: column; gap: 14px; }
.booking-time-group { display: flex; flex-direction: column; gap: 8px; }
.time-period { font-size: 11px; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.booking-slots { display: flex; flex-wrap: wrap; gap: 6px; }
.time-slot {
  padding: 8px 18px; border-radius: var(--radius);
  border: 1px solid var(--border); background: transparent;
  color: var(--text-secondary); font-size: 14px; font-family: var(--font-body);
  cursor: pointer; transition: all var(--transition-fast);
}
.time-slot:hover { border-color: var(--border-hover); color: var(--text); }
.time-slot.selected { background: var(--bg-dark); border-color: var(--bg-dark); color: var(--text-light); font-weight: 500; }
.booking-summary-bar {
  padding: 12px 16px; background: rgba(193, 169, 141, 0.1);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 14px; font-weight: 500; color: var(--text-secondary); margin-bottom: 20px;
}
.booking-info-form { display: flex; flex-direction: column; gap: 0; }

/* ================================
   COOKIE BANNER
   ================================ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99998;
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 16px 0; transform: translateY(100%);
  transition: transform 0.4s var(--ease);
  box-shadow: 0 -4px 24px rgba(78, 95, 67, 0.06);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cookie-text { font-size: 13px; color: var(--text-secondary); flex: 1; min-width: 280px; }
.cookie-text a { color: var(--text); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 8px; }
.cookie-buttons .btn { padding: 8px 18px; font-size: 13px; }

/* ================================
   REVEAL ANIMATIONS
   ================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal-right.active { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.95); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal-scale.active { opacity: 1; transform: scale(1); }
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }

/* ================================
   404 PAGE
   ================================ */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--bg); }
.error-page h1 { font-family: var(--font-heading); font-size: 140px; font-weight: 700; color: var(--tan); opacity: 0.2; line-height: 1; margin-bottom: 16px; }
.error-page h2 { font-family: var(--font-heading); font-size: 28px; font-weight: 600; margin-bottom: 12px; }
.error-page p { font-size: 16px; color: var(--text-secondary); margin-bottom: 32px; }

/* ================================
   LEGAL PAGES
   ================================ */
.legal-section { padding: 160px 0; }
.legal-section .container { max-width: 720px; }
.legal-section h1 { font-family: var(--font-heading); font-size: clamp(32px, 4vw, 48px); font-weight: 600; margin-bottom: 40px; }
.legal-section h2 { font-family: var(--font-heading); font-size: 24px; font-weight: 600; margin-top: 40px; margin-bottom: 16px; }
.legal-section p, .legal-section li { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 12px; }
.legal-section ul { padding-left: 20px; }
.legal-section ul li { list-style: disc; padding-left: 4px; }
.legal-section a { color: var(--tan-dark); text-decoration: underline; }

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .maintenance-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-stats { gap: 40px; }
  .about-grid { gap: 48px; }
  .philosophy-grid { gap: 48px; }
  .blog-layout { grid-template-columns: 1fr; }
  .hero-layout { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { display: none; }
  .hero { text-align: center; justify-content: center; }
  .hero-content { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
    background: var(--bg); flex-direction: column; justify-content: center;
    gap: 24px; transition: right 0.4s var(--ease); z-index: 999;
  }
  .nav-links.active { right: 0; }
  .nav-links a { font-family: var(--font-heading); font-size: 24px; color: var(--text-secondary); }
  .nav-toggle { display: flex; z-index: 1001; }

  .services-grid, .why-grid, .pricing-grid, .maintenance-grid,
  .testimonials-grid, .values-grid, .portfolio-grid, .portfolio-full-grid,
  .blog-grid { grid-template-columns: 1fr; }

  .portfolio-full-grid .portfolio-item:nth-child(3) { grid-column: 1; aspect-ratio: 16 / 10; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-stats { flex-direction: column; gap: 20px; text-align: left; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero { text-align: left; }
  .hero-content { text-align: left; }
  .hero-desc { margin-left: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { flex-direction: column; gap: 8px; }
  .case-study-content { padding: 32px 24px; }
  .process-timeline::before { left: 20px; }
  .process-step, .process-step:nth-child(even) { flex-direction: column; padding-left: 56px; gap: 0; }
  .process-step-number { left: 20px; top: 0; }
  .process-step-content { width: 100%; }
  .cookie-banner .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 36px; }
  .section-title { font-size: 30px; }
  .stats-grid { grid-template-columns: 1fr; }
  .booking-content { padding: 24px 20px; }
  .hero-stats { margin-top: 48px; }
}

/* =============================================
   AMÉLIORATIONS VISUELLES — UI/UX Enhancement
   ============================================= */

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

/* --- Scrollbar personnalisé --- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--tan-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--tan); }
html { scrollbar-width: thin; scrollbar-color: var(--tan-light) transparent; }

/* --- Focus ring accessible (WCAG 2.1 AA) --- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* --- Grain / Noise overlay — texture premium subtile --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* --- Hero h1 em — texte en dégradé doré --- */
.hero h1 em {
  background: linear-gradient(135deg, var(--tan-dark) 0%, var(--gold) 55%, #bf7828 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Hero — dot grid pattern subtil --- */
.hero {
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1.2' fill='%234e5f43' fill-opacity='0.045'/%3E%3C/svg%3E");
  background-size: 24px 24px;
}

/* --- Hero stat h3 — dégradé --- */
.hero-stat h3 {
  background: linear-gradient(135deg, var(--text) 10%, var(--tan-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Hero badge — glow pulsant étendu --- */
.hero-badge-dot {
  box-shadow: 0 0 0 0 rgba(78, 95, 67, 0.4);
  animation: pulse 2.5s ease infinite, badge-ring 2.5s ease infinite;
}
@keyframes badge-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(78, 95, 67, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(78, 95, 67, 0); }
}

/* --- Marquee — pause au survol --- */
.marquee:hover .marquee-inner { animation-play-state: paused; }

/* --- Why section — dot grid --- */
.why-section {
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1.2' fill='%234e5f43' fill-opacity='0.04'/%3E%3C/svg%3E");
  background-size: 24px 24px;
}

/* --- Stats section — dot grid --- */
.stats-section {
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1.2' fill='%234e5f43' fill-opacity='0.04'/%3E%3C/svg%3E");
  background-size: 24px 24px;
}
.stat-item h3 {
  background: linear-gradient(135deg, var(--text) 10%, var(--tan-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Why card icon — rotation au survol --- */
.why-icon { transition: transform var(--transition), background var(--transition), color var(--transition); }
.why-card:hover .why-icon { transform: scale(1.1) rotate(-6deg); }

/* --- Service card — bordure dégradé au survol --- */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(160, 120, 60, 0.5) 0%, rgba(78, 95, 67, 0.0) 50%, rgba(193, 169, 141, 0.35) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.service-card:hover::after { opacity: 1; }

/* --- Bouton primaire — glow amélioré --- */
.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(160, 120, 60, 0.42), 0 2px 8px rgba(160, 120, 60, 0.22);
}

/* --- Nav — underline animé au survol / actif --- */
.nav-links a { position: relative; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-fast);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta::after { display: none !important; }

/* Nav logo — hover color */
.nav-logo-name { transition: color var(--transition-fast); }
.nav-logo:hover .nav-logo-name { color: var(--tan-dark); }

/* --- Testimonials section — dot grid --- */
.testimonials-section {
  background-color: var(--bg-dark);
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1.2' fill='%23fff5ea' fill-opacity='0.025'/%3E%3C/svg%3E");
  background-size: 24px 24px;
}

/* --- Testimonial quote — dégradé doré --- */
.testimonial-quote {
  font-size: 64px;
  background: linear-gradient(135deg, var(--tan) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 1;
}

/* --- Portfolio section — dot grid --- */
.portfolio-section {
  background-color: var(--bg-dark);
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1.2' fill='%23fff5ea' fill-opacity='0.02'/%3E%3C/svg%3E");
  background-size: 24px 24px;
}

/* --- Section header center — ligne dégradé élargie --- */
.section-header.center::before {
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 1;
}

/* --- Value number — dégradé doré --- */
.value-number {
  background: linear-gradient(135deg, var(--tan) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.45;
}

/* --- CTA Box — fond dégradé subtil --- */
.cta-box {
  background: linear-gradient(145deg, var(--surface) 0%, var(--surface-alt) 60%, var(--surface) 100%);
}

/* --- Footer — séparateur gradient en haut --- */
.footer { position: relative; }
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(193, 169, 141, 0.35) 25%, rgba(160, 120, 60, 0.65) 50%, rgba(193, 169, 141, 0.35) 75%, transparent 100%);
}

/* --- Process step number — glow subtil --- */
.process-step-number {
  box-shadow: 0 4px 16px rgba(52, 74, 40, 0.4);
}

/* --- About dark section — dot grid --- */
.about-section.is-dark {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1.2' fill='%23fff5ea' fill-opacity='0.025'/%3E%3C/svg%3E");
  background-size: 24px 24px;
}

/* --- Overline — espacement lettres raffiné --- */
.overline { letter-spacing: 0.18em; }

/* --- Loader bar — couleur dorée --- */
.loader-bar-inner { background: linear-gradient(90deg, var(--tan), var(--gold)); }

/* =====================================================
   TASTE SKILL — Premium Design Upgrade
   design-taste-frontend  : DESIGN_VARIANCE=8 | MOTION_INTENSITY=6 | VISUAL_DENSITY=4
   redesign-existing-projects : fix anti-patterns
   high-end-visual-design     : Awwwards-tier output
   ===================================================== */

/* --- Premium bezier curves --- */
:root {
  --ease-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-heavy: cubic-bezier(0.32, 0.72, 0, 1);
}

/* --- text-wrap: balance — prevent orphans (redesign-skill) --- */
.section-title, .hero h1, h1, h2 { text-wrap: balance; }

/* --- Tabular nums for statistics (taste-skill: VISUAL_DENSITY data) --- */
[data-count], .stat-item h3, .hero-stat h3 {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* --- Overline: pill eyebrow badge (high-end-visual-design §4C Eyebrow Tags) --- */
.overline {
  background: rgba(193, 169, 141, 0.12);
  border: 1px solid rgba(193, 169, 141, 0.28);
  padding: 5px 14px;
  border-radius: 100px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.testimonials-section .overline,
.portfolio-section .overline,
.about-section.is-dark .overline {
  background: rgba(193, 169, 141, 0.15);
  border-color: rgba(193, 169, 141, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* --- Hero h1 em: couleur seule — NO gradient text on large headers (taste-skill §7) --- */
.hero h1 em {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: var(--tan-dark);
  background-clip: initial;
  color: var(--tan-dark);
}

/* --- Floating pill navbar (high-end-visual-design §5A: Fluid Island Nav) --- */
/* Base container: always a smooth transition target */
.navbar .container {
  border-radius: 0;
  border: 1px solid transparent;
  transition:
    background 0.6s var(--ease-heavy),
    box-shadow 0.6s var(--ease-heavy),
    border-color 0.5s var(--ease-heavy),
    border-radius 0.5s var(--ease-heavy),
    padding-top 0.4s var(--ease-heavy),
    padding-bottom 0.4s var(--ease-heavy),
    max-width 0.6s var(--ease-heavy);
  background: transparent;
}
/* When scrolled: navbar loses its own bg, pill is the container */
.navbar.scrolled {
  background: transparent !important;
  border-bottom-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.navbar.scrolled .container {
  max-width: min(1200px, calc(100vw - 40px));
  border-radius: 100px;
  background: rgba(255, 245, 234, 0.92);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-color: var(--border);
  box-shadow:
    0 8px 40px rgba(46, 61, 37, 0.1),
    0 2px 8px rgba(46, 61, 37, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  padding-top: 8px;
  padding-bottom: 8px;
}
@media (max-width: 768px) {
  .navbar.scrolled .container {
    border-radius: 20px;
    max-width: calc(100vw - 24px);
  }
}

/* --- Services grid: premier card plus large — asymétrique (taste-skill §3: DESIGN_VARIANCE=8) --- */
@media (min-width: 1025px) {
  .services-grid { grid-template-columns: 1.65fr 1fr 1fr 1fr; }
}

/* --- Why grid: légère asymétrie --- */
@media (min-width: 1025px) {
  .why-grid { grid-template-columns: 1fr 1.35fr 1fr 1fr; }
}

/* --- Testimonials: stagger Y-offset — brise la ligne égale (taste-skill §7: anti 3-col equal) --- */
@media (min-width: 769px) {
  .testimonials-grid { align-items: start; }
  .testimonial-card:nth-child(2) { margin-top: 40px; }
}

/* --- Premium tinted hue shadows (redesign-skill: "Tint shadows to background hue") --- */
.service-card {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 2px 6px rgba(78, 95, 67, 0.04);
}
.service-card:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 40px rgba(78, 95, 67, 0.13),
    0 4px 12px rgba(78, 95, 67, 0.08);
}
.why-card {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 2px 6px rgba(78, 95, 67, 0.04);
}
.why-card:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 40px rgba(78, 95, 67, 0.12);
}
.pricing-card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 2px 8px rgba(78, 95, 67, 0.05);
}
.pricing-card:hover {
  box-shadow: 0 16px 48px rgba(78, 95, 67, 0.12), 0 4px 12px rgba(78, 95, 67, 0.07);
}
.pricing-card.popular {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 56px rgba(36, 51, 22, 0.35),
    0 4px 16px rgba(36, 51, 22, 0.2);
}
.value-card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 2px 6px rgba(78, 95, 67, 0.04);
}
.value-card:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 40px rgba(78, 95, 67, 0.1);
}
.philosophy-card { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7); }
.philosophy-card:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 28px rgba(78, 95, 67, 0.09);
}

/* --- CTA box: inset highlight (high-end-visual-design §4A double-bezel) --- */
.cta-box {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(78, 95, 67, 0.05),
    0 2px 8px rgba(78, 95, 67, 0.03);
}

/* --- Portfolio overlay: directional gradient (premium depth) --- */
.portfolio-overlay {
  background: linear-gradient(
    160deg,
    transparent 25%,
    rgba(36, 51, 22, 0.72) 65%,
    rgba(36, 51, 22, 0.96) 100%
  );
}

/* --- Blur entry animations (high-end-visual-design §5C Scroll Interpolation) --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    filter: blur(3px);
    transition:
      opacity  0.9s var(--ease-expo),
      transform 0.9s var(--ease-expo),
      filter   0.9s var(--ease-expo);
  }
  .reveal.active,
  .reveal-left.active,
  .reveal-right.active,
  .reveal-scale.active { filter: blur(0px); }

  /* Stagger: les stagger-* héritent du délai mais profitent du même timing premium */
  .stagger-1 { transition-delay: 0.08s; }
  .stagger-2 { transition-delay: 0.16s; }
  .stagger-3 { transition-delay: 0.24s; }
  .stagger-4 { transition-delay: 0.32s; }
}

/* --- Button: tactile press feedback (redesign-skill §Interactivity + taste-skill §3 Rule 5) --- */
.btn:active {
  transform: translateY(1px) scale(0.98) !important;
  transition-duration: 80ms !important;
}

/* --- Premium transition timing on all interactive elements (taste-skill §4) --- */
.btn,
.service-card,
.why-card,
.testimonial-card,
.pricing-card,
.portfolio-item,
.philosophy-card,
.value-card { transition-timing-function: var(--ease-expo); }

/* --- Section header: more macro whitespace at large viewports (high-end §4C) --- */
@media (min-width: 1440px) {
  .section-header { margin-bottom: 80px; }
}

/* =====================================================
   VISUAL UPGRADE — 3D, Animations, SVG, Particles
   Full immersive experience — PC + Mobile
   ===================================================== */

/* --- Cursor Glow Follower --- */
.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 120, 60, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s var(--ease-expo);
  will-change: transform;
  mix-blend-mode: normal;
}
@media (max-width: 768px) { .cursor-glow { display: none; } }
@media (hover: none) { .cursor-glow { display: none; } }

/* --- Scroll Progress SVG Line --- */
.scroll-progress-line {
  position: fixed;
  right: 16px;
  top: 0;
  width: 40px;
  height: 100vh;
  z-index: 8;
  pointer-events: none;
  opacity: 0.5;
}
@media (max-width: 1024px) { .scroll-progress-line { display: none; } }

/* --- Hero 3D Scene Container --- */
.hero-3d-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
.hero-3d-scene canvas {
  width: 100% !important;
  height: 100% !important;
}
@media (max-width: 768px) {
  .hero-3d-scene { opacity: 0.3; }
}

/* --- Mesh Gradient Animated Background --- */
.mesh-gradient-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  will-change: transform;
}
.mesh-blob-1 {
  width: 500px;
  height: 500px;
  top: -10%;
  right: -5%;
  background: radial-gradient(circle, #c1a98d 0%, transparent 70%);
  animation: meshFloat1 18s ease-in-out infinite;
}
.mesh-blob-2 {
  width: 400px;
  height: 400px;
  bottom: -10%;
  left: -5%;
  background: radial-gradient(circle, #4e5f43 0%, transparent 70%);
  animation: meshFloat2 22s ease-in-out infinite;
}
.mesh-blob-3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 40%;
  background: radial-gradient(circle, #a0783c 0%, transparent 70%);
  animation: meshFloat3 15s ease-in-out infinite;
}
@keyframes meshFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, 30px) scale(1.08); }
  66% { transform: translate(20px, -20px) scale(0.95); }
}
@keyframes meshFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -25px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.92); }
}
@keyframes meshFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-20px, -30px) scale(1.1); }
  66% { transform: translate(30px, 20px) scale(0.88); }
}
@media (max-width: 768px) {
  .mesh-blob-1 { width: 300px; height: 300px; opacity: 0.12; }
  .mesh-blob-2 { width: 250px; height: 250px; opacity: 0.1; }
  .mesh-blob-3 { width: 200px; height: 200px; opacity: 0.08; }
}



/* --- Service Cards: Spotlight Border Effect --- */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card .card-spotlight {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 120, 60, 0.12) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease-expo);
  transform: translate(-50%, -50%);
  z-index: 0;
}
.service-card:hover .card-spotlight { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }

/* --- Parallax Tilt Effect (applied via JS) --- */
[data-tilt] {
  transform-style: preserve-3d;
  perspective: 1200px;
  transition: transform 0.5s var(--ease-expo);
}
[data-tilt]:hover { z-index: 2; }
[data-tilt] > * {
  transform: translateZ(20px);
}

/* --- Portfolio Items: Image Parallax on Hover --- */
.portfolio-item {
  overflow: hidden;
  transform-style: preserve-3d;
}
.portfolio-visual img {
  transition: transform 0.8s var(--ease-expo), filter 0.6s var(--ease-expo);
}
.portfolio-item:hover .portfolio-visual img {
  transform: scale(1.08);
  filter: none;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
}

/* --- Testimonial Cards: Subtle Glow on Hover --- */
.testimonial-card {
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(193, 169, 141, 0.05), transparent, rgba(160, 120, 60, 0.04), transparent);
  opacity: 0;
  transition: opacity 0.6s var(--ease-expo);
  pointer-events: none;
  animation: rotateConic 8s linear infinite paused;
}
.testimonial-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}
@keyframes rotateConic { 100% { transform: rotate(360deg); } }

/* --- Why Cards: Icon Float Animation --- */
.why-icon svg {
  transition: transform 0.5s var(--ease-expo);
}
.why-card:hover .why-icon svg {
  transform: translateY(-3px);
}

/* --- Marquee: Scroll Speed React --- */
.marquee-inner {
  transition: animation-duration 0.5s;
}

/* --- CTA Section: Animated Border Gradient --- */
.cta-box {
  position: relative;
  overflow: hidden;
}
.cta-box::after {
  content: '</>';
  position: absolute;
  top: 32px;
  right: 40px;
  font-family: 'Courier New', monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.02em;
  animation: ctaCodeFloat 4s ease-in-out infinite;
}
@keyframes ctaCodeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(2deg); }
}

/* --- Animated SVG Draw Lines (hero & decorations) --- */
.svg-draw-line {
  stroke-linecap: round;
}

/* --- Kinetic Marquee Enhancement --- */
.marquee {
  position: relative;
}
.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--surface), transparent);
}
.marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--surface), transparent);
}

/* --- Loading Screen Enhancement --- */
.loader {
  background: var(--bg);
}
.loader-logo {
  font-size: 32px;
  letter-spacing: 0.05em;
}
.loader::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 120, 60, 0.08) 0%, transparent 70%);
  animation: loaderGlow 2.5s ease-in-out infinite;
}
@keyframes loaderGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 1; }
}

/* --- Text Scramble Effect --- */
[data-text-scramble] {
  position: relative;
}

/* --- Magnetic Button Visual Feedback --- */
[data-magnetic] {
  transition: transform 0.3s var(--ease-expo);
  will-change: transform;
}

/* --- Particle Dots (added via JS) --- */
.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--tan);
  opacity: 0;
  pointer-events: none;
  animation: particleFade 4s ease-in-out infinite;
}
@keyframes particleFade {
  0%, 100% { opacity: 0; transform: translateY(0) scale(1); }
  30% { opacity: 0.5; }
  50% { opacity: 0.7; transform: translateY(-20px) scale(1.2); }
  70% { opacity: 0.4; }
}

/* --- Portfolio Image Hover Effect: Color Reveal --- */
.portfolio-visual {
  position: relative;
  overflow: hidden;
}
.portfolio-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(78, 95, 67, 0.15) 0%, transparent 60%);
  transition: opacity 0.6s var(--ease-expo);
  pointer-events: none;
}
.portfolio-item:hover .portfolio-visual::after {
  opacity: 0;
}

/* --- Section Divider: Animated Wave --- */
.section-wave {
  position: relative;
  height: 60px;
  overflow: hidden;
  margin-top: -1px;
}
.section-wave svg {
  position: absolute;
  bottom: 0;
  width: 200%;
  height: 100%;
  animation: waveScroll 12s linear infinite;
}
@keyframes waveScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Nav CTA: Pill with inner icon --- */
.nav-cta {
  position: relative !important;
  overflow: hidden !important;
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-expo);
}
.nav-cta:hover::before {
  transform: translateX(100%);
}

/* --- Footer: Parallax subtle --- */
.footer-social-link {
  transition: all 0.4s var(--ease-expo) !important;
}
.footer-social-link:hover {
  transform: translateY(-3px) scale(1.08) !important;
}

/* --- Why Section: Stagger offset for visual interest --- */
@media (min-width: 769px) {
  .why-card:nth-child(2) { margin-top: 24px; }
  .why-card:nth-child(4) { margin-top: 24px; }
}

/* --- Hero: Enhanced z-index layering --- */
.hero { position: relative; z-index: 0; }
.hero .container { position: relative; z-index: 2; }

/* --- Smooth page transition --- */
body {
  animation: pageEnter 0.8s var(--ease-expo) both;
}
@keyframes pageEnter {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* --- Process Timeline: Animated progress dots --- */
.process-step-number {
  transition: all 0.5s var(--ease-expo);
}
.process-step:hover .process-step-number {
  transform: translateX(-50%) scale(1.12);
  box-shadow: 0 6px 24px rgba(52, 74, 40, 0.5), 0 0 0 4px rgba(78, 95, 67, 0.15);
}
