/*
Theme Name: DuckDeals
Theme URI: https://duckdeals.sa
Author: DuckDeals Team
Author URI: https://duckdeals.sa
Description: Premium bilingual WordPress theme for DuckDeals.sa - Saudi digital solutions agency. Features interactive canvas hero, tech partners marquee, bilingual EN/AR with RTL, booking system, service management, and full SEO optimization.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: duckdeals
Domain Path: /languages
Tags: custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, rtl-language-support, seo-friendly
*/

/* ========================================
   DUCKDEALS THEME v2.0 - COMPLETE STYLES
   ======================================== */

/* --------------------
   CSS Variables & Reset
   -------------------- */
:root {
  --midnight: #0A1929;
  --teal: #0D3B4F;
  --gold: #D4A017;
  --soft-gold: #E8C54A;
  --pale-gold: #F0D78C;
  --white: #FFFFFF;
  --light-gray: #F1F5F9;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --radius: 0.625rem;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark); background-color: var(--light-gray);
  line-height: 1.7; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}

body.rtl, html[dir="rtl"] body { font-family: 'Tajawal', 'Inter', sans-serif; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }

::selection { background-color: rgba(212, 160, 23, 0.3); color: var(--midnight); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--midnight); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

*:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* --------------------
   Typography
   -------------------- */
h1, h2, h3, h4, h5, h6 { line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }

.display-heading { font-size: clamp(2.25rem, 5vw, 4.5rem); font-weight: 900; }
.section-heading { font-size: clamp(1.75rem, 3.5vw, 3rem); font-weight: 800; }
.sub-heading { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; }

.mono-label {
  font-family: 'JetBrains Mono', monospace; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.08em;
}
body.rtl .mono-label { letter-spacing: 0; }

/* --------------------
   Layout Utilities
   -------------------- */
.container-main { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.section-padding { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 1024px) { .section-padding { padding-top: 8rem; padding-bottom: 8rem; } }

.bg-midnight { background-color: var(--midnight); }
.bg-teal { background-color: var(--teal); }
.bg-light { background-color: var(--light-gray); }
.bg-white { background-color: var(--white); }

.text-gold { color: var(--gold); }
.text-midnight { color: var(--midnight); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--white); }

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

/* --------------------
   Navigation
   -------------------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 72px; display: flex; align-items: center;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.site-nav.scrolled {
  background: rgba(10, 25, 41, 0.95); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.site-nav.transparent { background: transparent; }

.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.nav-logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.25rem; font-weight: 800; color: var(--white);
}
.nav-logo span:last-child { color: var(--gold); }

.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a {
  color: rgba(255,255,255,0.8); font-size: 0.875rem; font-weight: 500;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--gold); transition: width 0.25s ease;
}
body.rtl .nav-links a::after { left: auto; right: 0; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

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

.lang-switcher {
  display: flex; align-items: center; border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.2); overflow: hidden;
}
.lang-switcher a, .lang-switcher span {
  padding: 0.375rem 0.75rem; font-size: 0.75rem; font-weight: 600; transition: all 0.2s ease;
}
.lang-switcher a { color: rgba(255,255,255,0.7); }
.lang-switcher a:hover { color: var(--white); }
.lang-switcher span.current { background: var(--gold); color: var(--midnight); }

.nav-cta { display: none; }
.menu-toggle { display: block; background: none; border: none; color: var(--white); cursor: pointer; padding: 0.5rem; }

@media (min-width: 768px) {
  .nav-links, .nav-cta { display: flex; }
  .menu-toggle { display: none; }
}

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 1100;
  background: var(--midnight); flex-direction: column; padding: 1.5rem;
}
.mobile-menu.active { display: flex; }
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 3rem; }
.mobile-menu-close { background: none; border: none; color: var(--white); cursor: pointer; padding: 0.5rem; }
.mobile-menu-nav { display: flex; flex-direction: column; align-items: center; gap: 2rem; flex: 1; }
.mobile-menu-nav a { color: var(--white); font-size: 1.5rem; font-weight: 600; }
.mobile-menu-nav a:hover { color: var(--gold); }

/* --------------------
   Hero Section
   -------------------- */
.hero-section {
  position: relative; width: 100%; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--midnight);
}
.hero-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 0%, transparent 50%, rgba(10,25,41,0.4) 100%);
}
.hero-content { position: relative; z-index: 10; text-align: center; padding: 0 1rem; }
.hero-tagline { display: inline-block; color: rgba(212, 160, 23, 0.8); margin-bottom: 1.5rem; }
.hero-heading {
  color: var(--white); text-shadow: 0 2px 30px rgba(10,25,41,0.6);
  margin-bottom: 1.5rem; max-width: 900px; margin-left: auto; margin-right: auto;
}
.hero-subheading {
  color: rgba(255,255,255,0.7); font-size: 1.125rem;
  max-width: 700px; margin: 0 auto 2.5rem; line-height: 1.7;
}
.hero-buttons { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-bottom: 4rem; }
@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; justify-content: center; }
}
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; }
.trust-badge {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 9999px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: rgba(255,255,255,0.7);
}
.trust-badge .dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.trust-badge .dot.green { background: #4ade80; }
.trust-badge .dot.gold { background: var(--gold); }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 10; animation: pulse 2s ease-in-out infinite; }
.hero-scroll svg { width: 24px; height: 24px; color: rgba(255,255,255,0.4); }

/* --------------------
   Buttons
   -------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2.5rem; border-radius: 9999px; font-weight: 600; font-size: 1rem;
  transition: all 0.2s ease; cursor: pointer; border: none; gap: 0.5rem;
}
.btn-primary { background: var(--gold); color: var(--midnight); }
.btn-primary:hover { filter: brightness(1.1); box-shadow: 0 4px 20px rgba(212,160,23,0.3); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.btn-large { padding: 1.25rem 3rem; font-size: 1.125rem; }

/* --------------------
   Glass Panel
   -------------------- */
.glass-panel {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 16px;
}

/* --------------------
   Stats Section
   -------------------- */
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }

.stat-item { text-align: center; }
.stat-number {
  display: flex; align-items: baseline; justify-content: center; gap: 0.25rem;
  font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 900; color: var(--gold); line-height: 1;
}
.stat-suffix { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 900; color: var(--gold); }
.stat-label { margin-top: 0.75rem; color: var(--text-muted); font-size: 0.875rem; font-weight: 500; }

/* --------------------
   Services Section
   -------------------- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid.services-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  padding: 1.5rem; border-radius: 16px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover {
  border-color: rgba(212,160,23,0.4);
  box-shadow: 0 4px 20px rgba(212,160,23,0.15);
  transform: translateY(-4px);
}
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(212,160,23,0.1);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.service-icon svg { width: 24px; height: 24px; color: var(--gold); }
.service-card h3 { color: var(--white); font-size: 1.125rem; margin-bottom: 0.5rem; font-weight: 700; }
.service-card p { color: rgba(255,255,255,0.5); font-size: 0.875rem; line-height: 1.6; }

/* Services Page */
.filter-tabs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 3rem; }
.filter-tab {
  padding: 0.5rem 1.25rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500;
  cursor: pointer; border: 1px solid rgba(71,85,105,0.2); background: transparent;
  color: var(--text-dark); transition: all 0.2s ease;
}
.filter-tab:hover { background: rgba(255,255,255,0.8); }
.filter-tab.active { background: var(--gold); color: var(--midnight); border-color: var(--gold); }

.services-page-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .services-page-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-page-grid { grid-template-columns: repeat(3, 1fr); } }

.service-page-card {
  background: var(--white); border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-page-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.12); transform: translateY(-2px); }

.service-page-card .card-image { height: 200px; overflow: hidden; position: relative; }
.service-page-card .card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-page-card:hover .card-image img { transform: scale(1.05); }
.service-page-card .card-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,25,41,0.4), transparent);
}
.service-page-card .card-icon {
  position: absolute; bottom: 12px; left: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(212,160,23,0.2); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
}
body.rtl .service-page-card .card-icon { left: auto; right: 12px; }
.service-page-card .card-icon svg { width: 18px; height: 18px; color: var(--gold); }
.service-page-card .card-body { padding: 1.25rem; }
.service-page-card h3 { font-size: 1rem; color: var(--text-dark); margin-bottom: 0.375rem; font-weight: 600; }
.service-page-card p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.6; }

/* --------------------
   Why Section
   -------------------- */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 1024px) { .why-grid { grid-template-columns: 5fr 7fr; gap: 5rem; } }

.reason-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem; border-radius: 12px; transition: all 0.25s ease;
}
.reason-item:hover { background: rgba(255,255,255,0.6); }
.reason-number {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.875rem; color: var(--midnight);
}
.reason-item h3 { font-size: 1rem; color: var(--text-dark); margin-bottom: 0.25rem; font-weight: 600; }
.reason-item p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* --------------------
   Partners Section
   -------------------- */
@import url('css/partners.css');

/* --------------------
   Carousel Section
   -------------------- */
.carousel-section { padding: 4rem 0; overflow: hidden; }
.carousel-track { display: flex; gap: 1.5rem; animation: scroll-left 40s linear infinite; width: max-content; }
body.rtl .carousel-track { animation: scroll-right 40s linear infinite; }
.carousel-track:hover { animation-play-state: paused; }
.carousel-item { flex-shrink: 0; width: clamp(180px, 20vw, 240px); text-align: center; }
.carousel-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; box-shadow: 0 4px 16px rgba(0,0,0,0.1); margin-bottom: 0.75rem; }
.carousel-item span { font-size: 0.8125rem; font-weight: 500; color: var(--text-dark); }

@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scroll-right { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* --------------------
   CTA Section
   -------------------- */

/* --------------------
   Page Hero
   -------------------- */
.page-hero { background: var(--midnight); padding-top: 8rem; padding-bottom: 5rem; min-height: 50vh; display: flex; align-items: center; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.125rem; max-width: 700px; }
.page-hero .breadcrumb { color: rgba(212,160,23,0.7); margin-bottom: 1rem; display: block; }

/* --------------------
   About Page
   -------------------- */
.about-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 3fr 2fr !important; } }

.mvv-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .mvv-grid { grid-template-columns: repeat(3, 1fr); } }

.mvv-card { padding: 1.5rem; border-radius: 16px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(10px); }
.mvv-card h3 { color: var(--gold); font-size: 1.25rem; margin-bottom: 1rem; }
.mvv-card p { color: rgba(255,255,255,0.7); font-size: 0.875rem; line-height: 1.7; }
.mvv-card ul { list-style: none; padding: 0; }
.mvv-card ul li { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.7); font-size: 0.875rem; padding: 0.375rem 0; }
.mvv-card ul li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.approach-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .approach-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .approach-grid { grid-template-columns: repeat(5, 1fr); } }

.approach-step { text-align: center; position: relative; }
.step-circle {
  width: 48px; height: 48px; border-radius: 50%; background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; font-weight: 700; color: var(--midnight); position: relative; z-index: 2;
}
.approach-step h3 { font-size: 1rem; color: var(--text-dark); margin-bottom: 0.5rem; font-weight: 600; }
.approach-step p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.6; }

.why-cards-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .why-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-cards-grid { grid-template-columns: repeat(3, 1fr); } }

.why-card { padding: 1.5rem; border-radius: 16px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(10px); transition: all 0.3s ease; }
.why-card:hover { border-color: rgba(212,160,23,0.4); transform: translateY(-4px); }
.why-card svg { width: 32px; height: 32px; color: var(--gold); margin-bottom: 1rem; }
.why-card h3 { color: var(--white); font-size: 1.125rem; margin-bottom: 0.5rem; font-weight: 600; }
.why-card p { color: rgba(255,255,255,0.5); font-size: 0.875rem; line-height: 1.6; }

/* Isometric */
.isometric-section { background: var(--light-gray); position: relative; overflow: hidden; height: 120vh; }
.isometric-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.iso-text { position: absolute; font-weight: 900; text-transform: uppercase; line-height: 0.75; font-size: clamp(4rem, 15vw, 14rem); font-family: 'Inter', sans-serif; }
.iso-text-left { transform: rotateX(60deg) rotateZ(-45deg) translateX(-15%); transform-style: preserve-3d; }
.iso-text-right { transform: rotateX(60deg) rotateZ(45deg) translateX(15%); transform-style: preserve-3d; }
.iso-layer { margin: 0; height: 0.72em; background: linear-gradient(180deg, #D4A017 0%, #0D3B4F 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* --------------------
   Contact & Booking
   -------------------- */
@import url('css/booking.css');

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 3fr 2fr; gap: 4rem; } }

.contact-form-card { background: var(--white); border-radius: 16px; padding: 2rem; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
@media (min-width: 640px) { .contact-form-card { padding: 2.5rem; } }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.875rem 1rem; border-radius: 8px;
  border: 1px solid rgba(71,85,105,0.2); background: var(--white); color: var(--text-dark);
  font-size: 0.9375rem; transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,160,23,0.15); outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(71,85,105,0.5); }

.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-submit { width: 100%; margin-top: 0.5rem; }

.contact-success { text-align: center; padding: 3rem 1rem; }
.contact-success-icon { width: 64px; height: 64px; border-radius: 50%; background: #dcfce7; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.contact-success-icon svg { width: 32px; height: 32px; color: #16a34a; }
.contact-success h3 { font-size: 1.25rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.contact-success p { color: var(--text-muted); }

.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-detail-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem; border-radius: 12px; background: rgba(255,255,255,0.6); transition: background 0.2s ease; }
.contact-detail-item:hover { background: var(--white); }
.contact-detail-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(212,160,23,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail-icon svg { width: 20px; height: 20px; color: var(--gold); }
.contact-detail-label { font-family: 'JetBrains Mono', monospace; font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); opacity: 0.7; display: block; margin-bottom: 0.25rem; }
.contact-detail-value { font-size: 0.875rem; font-weight: 500; color: var(--text-dark); }

.trust-badge-card { padding: 1.25rem; border-radius: 12px; background: rgba(10,25,41,0.85); border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(12px); }
.trust-badge-card a { display: inline-flex; align-items: center; gap: 0.25rem; color: var(--gold); font-size: 0.875rem; }
.trust-badge-card a:hover { color: var(--soft-gold); }
.trust-badge-card a svg { width: 14px; height: 14px; }

/* --------------------
   Footer
   -------------------- */
.site-footer { background: var(--midnight); border-top: 1px solid rgba(255,255,255,0.05); }
.footer-inner { padding: 3rem 0; }
@media (min-width: 1024px) { .footer-inner { padding: 4rem 0; } }
.footer-top { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .footer-top { flex-direction: row; justify-content: space-between; } }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.125rem; font-weight: 800; color: var(--white); }
.footer-logo span:last-child { color: var(--gold); }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem; }
.footer-nav a { font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.6); position: relative; transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--gold); }
.footer-licenses { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: rgba(212,160,23,0.8); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); margin-top: 2rem; padding-top: 2rem; text-align: center; }
.footer-bottom p { font-size: 0.875rem; color: rgba(255,255,255,0.4); }

/* --------------------
   404 Page
   -------------------- */
.error-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 1rem; }
.error-404 h1 { font-size: clamp(6rem, 15vw, 12rem); font-weight: 900; background: linear-gradient(135deg, var(--gold) 0%, var(--soft-gold) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.error-404 h2 { font-size: 1.5rem; color: var(--text-dark); margin: 1rem 0 0.5rem; }
.error-404 p { color: var(--text-muted); margin-bottom: 2rem; }

/* --------------------
   Animations
   -------------------- */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }

.stagger-children .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.stagger-children .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* --------------------
   Responsive
   -------------------- */
@media (max-width: 767px) {
  .site-nav { height: 60px; }
  .nav-logo { font-size: 1rem; }
  .nav-logo svg { width: 24px; height: 24px; }
  .lang-switcher a, .lang-switcher span { padding: 0.25rem 0.5rem; font-size: 0.65rem; }
  .hero-heading { font-size: clamp(1.75rem, 8vw, 2.5rem) !important; line-height: 1.15 !important; }
  .hero-subheading { font-size: 0.9375rem !important; padding: 0 0.5rem; }
  .hero-buttons { gap: 0.75rem !important; }
  .btn { padding: 0.75rem 1.75rem; font-size: 0.875rem; }
  .trust-badge { padding: 0.375rem 0.75rem; font-size: 0.625rem; }
  .section-padding { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .section-heading { font-size: clamp(1.5rem, 5vw, 2rem) !important; }
  .page-hero { padding-top: 6rem; padding-bottom: 3rem; min-height: 40vh; }
  .page-hero h1 { font-size: clamp(2rem, 6vw, 2.5rem) !important; }
  .stat-number { font-size: 2.5rem !important; }
  .stat-suffix { font-size: 1.5rem !important; }
  .stats-grid { gap: 2rem; }
  .services-grid.services-grid-4 { grid-template-columns: 1fr !important; }
  .service-card { padding: 1.25rem; }
  .why-grid { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
  .carousel-section { padding: 2.5rem 0; }
  .carousel-item { width: 140px !important; }
  .about-grid { grid-template-columns: 1fr !important; }
  .mvv-grid { grid-template-columns: 1fr !important; }
  .approach-grid { grid-template-columns: 1fr !important; gap: 1.5rem; }
  .approach-step { display: flex; align-items: center; text-align: left; gap: 1rem; }
  .approach-step .step-circle { margin: 0; flex-shrink: 0; }
  .approach-step h3 { margin-bottom: 0.25rem; }
  .why-cards-grid { grid-template-columns: 1fr !important; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 2rem; }
  .filter-tabs { gap: 0.375rem; margin-bottom: 1.5rem; }
  .filter-tab { padding: 0.375rem 0.875rem; font-size: 0.75rem; }
  .services-page-grid { grid-template-columns: 1fr !important; }
  .iso-text { font-size: clamp(3rem, 18vw, 8rem) !important; }
  .footer-top { gap: 1.5rem; }
  .footer-nav { gap: 1rem; }
  .mobile-menu-nav a { font-size: 1.25rem; }
  .form-group input, .form-group select, .form-group textarea { font-size: 16px !important; }
  .nav-cta { display: none !important; }
}

@media (max-width: 380px) {
  .hero-heading { font-size: 1.5rem !important; }
  .hero-subheading { font-size: 0.8125rem !important; }
  .btn { padding: 0.625rem 1.25rem; font-size: 0.8125rem; }
  .hero-buttons { flex-direction: column; width: 100%; padding: 0 1rem; }
  .hero-buttons .btn { width: 100%; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .services-grid.services-grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
  .why-grid { grid-template-columns: 1fr !important; }
  .mvv-grid { grid-template-columns: 1fr !important; }
  .approach-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .why-cards-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .services-page-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .about-grid { grid-template-columns: 1fr !important; }
  .contact-grid { grid-template-columns: 1fr !important; }
  .section-padding { padding-top: 4rem; padding-bottom: 4rem; }
}

/* --------------------
   Admin Bar Fix
   -------------------- */
.admin-bar .site-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-nav { top: 46px; } }

/* --------------------
   Accessibility
   -------------------- */
.screen-reader-text {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
}

/* --------------------
   Print Styles
   -------------------- */
@media print {
  .site-nav, .hero-canvas, .hero-scroll, .mobile-menu,
  .partners-marquee, .carousel-section { display: none !important; }
  .hero-section { min-height: auto; padding: 3rem 0; }
}

/* --------------------
   Reduced Motion
   -------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .animate-on-scroll { opacity: 1; transform: none; }
  .carousel-track, .partners-track { animation: none !important; }
}
