/* TimeJumpers Base Styles */
:root {
    --primary: #e30613;
    --primary-600: #c8102e;
    --accent: #a3b18a;
    --accent-600: #7c8b64;
    --bg: #f5f5f5;
    --text: #343a40;
    --muted: #6c757d;
    --card: #ffffff;
    --border: #e0e0e0;
    --shadow: 0 12px 24px rgba(82, 16, 25, 0.08);
    --dark: #521019;
    --beige: #f4e3c3;
    --olive: #a3b18a;

    /* Brand surfaces + gradients (for non‑white backgrounds) */
    --surface-warm: #f7efe1;       /* light beige tint */
    --surface-olive: #eef2e8;      /* light olive tint */
    --grad-warm: linear-gradient(180deg, rgba(244,227,195,0.55) 0%, rgba(244,227,195,0.18) 100%);
    --grad-olive: linear-gradient(180deg, rgba(163,177,138,0.28) 0%, rgba(163,177,138,0.12) 100%);
    --grad-brand: linear-gradient(180deg, rgba(82,16,25,0.22) 0%, rgba(65,12,21,0.18) 55%, rgba(52,9,16,0.12) 100%);
    --gold: #e6c36f;            /* warm gold for highlights */
    --gold-600: #d0aa54;        /* deeper gold */

    /* Layout scale */
    --container: 1200px;         /* max content width */
    --measure: 68ch;             /* optimal text line length */
    --section-y: 72px;           /* default vertical section padding */
    --section-y-sm: 48px;        /* compact vertical spacing */
    --hero-min: 68vh;            /* minimum hero height on large screens */
    --radius: 8px;               /* universal corner radius */
    
}

/* Geometric shapes overlay (brand colors) */
.geo-shapes { position: relative; overflow: hidden; }
.geo-shapes::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    /* primary circle */
    radial-gradient(circle at 12% 22%, rgba(227,6,19,0.22) 0 26px, transparent 27px),
    /* olive circle */
    radial-gradient(circle at 86% 78%, rgba(163,177,138,0.22) 0 22px, transparent 23px),
    /* beige square */
    conic-gradient(from 45deg, rgba(244,227,195,0.35) 0 360deg) no-repeat 72% 28%/64px 64px,
    /* primary triangle */
    conic-gradient(from 0deg, rgba(227,6,19,0.22) 0 120deg, transparent 120deg 360deg) no-repeat 32% 78%/54px 54px;
  opacity: .65;
}
.geo-shapes > .container { position: relative; z-index: 1; }
.theme-dark .geo-shapes::before { opacity: .5; }

/* Geo-shapes variants — add alongside `ornaments geo-shapes` on a section */
/* Grid: subtle brand grid lines */
.ornaments.geo-shapes.geo-grid::before {
  background:
    repeating-linear-gradient(0deg, rgba(163,177,138,0.16) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(244,227,195,0.16) 0 1px, transparent 1px 26px),
    radial-gradient(40% 35% at 12% 22%, rgba(227,6,19,0.10), transparent 60%),
    radial-gradient(36% 32% at 86% 78%, rgba(163,177,138,0.12), transparent 60%);
  opacity: .55;
  filter: none;
}
.theme-dark .ornaments.geo-shapes.geo-grid::before { opacity: .45; }

/* Dots: brand polka pattern */
.ornaments.geo-shapes.geo-dots::before {
  background:
    radial-gradient(circle, rgba(163,177,138,0.24) 1px, transparent 1.6px) 0 0/22px 22px,
    radial-gradient(circle, rgba(244,227,195,0.22) 1px, transparent 1.6px) 11px 11px/22px 22px,
    radial-gradient(40% 35% at 20% 72%, rgba(227,6,19,0.10), transparent 60%);
  opacity: .6;
}
.theme-dark .ornaments.geo-shapes.geo-dots::before { opacity: .48; }

/* Beams: angled conic beams in brand tones */
.ornaments.geo-shapes.geo-beams::before {
  background:
    conic-gradient(from 210deg at 10% 0%, rgba(227,6,19,0.16) 0 26deg, transparent 26deg 360deg),
    conic-gradient(from 120deg at 90% 100%, rgba(163,177,138,0.16) 0 22deg, transparent 22deg 360deg),
    radial-gradient(40% 35% at 52% 82%, rgba(244,227,195,0.22), transparent 60%);
  opacity: .58; filter: none;
}
.theme-dark .ornaments.geo-shapes.geo-beams::before { opacity: .5; }

/* Rings: concentric brand rings */
.ornaments.geo-shapes.geo-rings::before {
  background:
    repeating-radial-gradient(circle at 18% 20%, rgba(227,6,19,0.16) 0 3px, transparent 3px 18px),
    repeating-radial-gradient(circle at 82% 80%, rgba(163,177,138,0.14) 0 3px, transparent 3px 20px),
    radial-gradient(40% 35% at 52% 30%, rgba(244,227,195,0.22), transparent 60%);
  opacity: .6;
}
.theme-dark .ornaments.geo-shapes.geo-rings::before { opacity: .48; }

/* Diagonal stripes: very subtle texture */
.ornaments.geo-shapes.geo-diag::before {
  background:
    repeating-linear-gradient(135deg, rgba(227,6,19,0.08) 0 2px, transparent 2px 18px),
    repeating-linear-gradient(135deg, rgba(244,227,195,0.08) 9px 11px, transparent 11px 27px),
    radial-gradient(40% 35% at 78% 24%, rgba(163,177,138,0.12), transparent 60%);
  opacity: .5;
}
.theme-dark .ornaments.geo-shapes.geo-diag::before { opacity: .42; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

h1, h2, h3 { font-family: 'Playfair Display', "Source Serif 4", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; font-weight: 700; }

img { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header */
.site-header {
    background: linear-gradient(180deg, rgba(28, 22, 32, 0.95) 0%, rgba(38, 32, 42, 0.9) 100%);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(227, 6, 19, 0.22);
    box-shadow: 0 10px 24px rgba(18, 16, 20, 0.42);
    position: sticky;
    top: 0;
    z-index: 80;
    transition: background 200ms ease, box-shadow 200ms ease;
}
.site-header.scrolled {
    background: linear-gradient(180deg, rgba(24, 20, 26, 0.96) 0%, rgba(32, 26, 34, 0.92) 100%);
    border-bottom-color: rgba(244,227,195,0.35);
    box-shadow: 0 18px 36px rgba(18, 16, 20, 0.45);
}
.site-header .logo { color: #fbf6f8; }
.site-header .logo span { color: #fbf6f8; }
.site-header .logo,
.site-header .logo:hover,
.site-header .logo:focus {
    text-decoration: none; /* prevent underline on hover */
}
.site-header .logo:hover,
.site-header .logo:focus {
    color: var(--beige);
}
.site-header .logo:hover span,
.site-header .logo:focus span { color: var(--beige); }
.site-header.scrolled .logo { color: #ffffff; }
.site-header.scrolled .logo span { color: #ffffff; }
.site-header.scrolled .logo:hover,
.site-header.scrolled .logo:focus { color: var(--beige); }
.site-header.scrolled .logo:hover span,
.site-header.scrolled .logo:focus span { color: var(--beige); }
.site-header.scrolled .nav a { color: rgba(248, 244, 246, 0.88); }
.site-header.scrolled .nav a.active, .site-header.scrolled .nav a:hover { color: #ffffff; }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.logo img { width: 28px; height: 28px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15)); }
/* Header-specific logo sizing: bigger icon, smaller wordmark */
.site-header .logo img { width: 42px; height: 42px; }
.site-header .logo { gap: 8px; }
.site-header .logo span { font-size: 0.95rem; letter-spacing: 0.01em; }

/* Footer-specific logo sizing and tighter spacing */
.site-footer .logo { gap: 6px; }
.site-footer .logo img { width: 36px; height: 36px; }
.site-footer .logo span { font-size: 0.9rem; letter-spacing: 0.01em; }

.nav { display: flex; gap: 18px; align-items: center; margin-left: auto; }
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-toggle {
    padding: 10px 14px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: rgba(250, 246, 247, 0.8);
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease;
    display: inline-flex;
    align-items: center;
}
.nav-dropdown-toggle::after {
    content: '▾';
    margin-left: 6px;
    font-size: 0.75em;
}
body.rtl .nav-dropdown-toggle::after {
    margin-left: 0;
    margin-right: 6px;
}
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    display: none;
    flex-direction: column;
    background: rgba(28, 22, 32, 0.96);
    border: 1px solid rgba(244,227,195,0.18);
    border-radius: 12px;
    box-shadow: 0 18px 32px rgba(16,12,18,0.45);
    min-width: 200px;
    padding: 8px;
    z-index: 100;
}
.nav-dropdown.open .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a {
    padding: 8px 12px;
    border-radius: 8px;
    color: rgba(248,244,246,0.9);
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
    background: rgba(227,6,19,0.18);
    color: #ffffff;
}
.nav-dropdown.has-active .nav-dropdown-toggle {
    color: #ffffff;
    box-shadow: inset 0 -3px 0 rgba(227,6,19,0.7);
}
.nav-dropdown.has-active .nav-dropdown-toggle:hover,
.nav-dropdown.has-active .nav-dropdown-toggle:focus {
    box-shadow: inset 0 -3px 0 rgba(255,255,255,0.5);
}
.nav-dropdown.has-active .nav-dropdown-toggle::after {
    color: #ffffff;
}
.nav-dropdown.open .nav-dropdown-toggle {
    color: #ffffff;
}
.nav-dropdown.has-active .nav-dropdown-toggle,
.nav-dropdown.open .nav-dropdown-toggle,
.lang-btn,
.lang-btn.active,
.nav a,
.nav-dropdown-toggle {
    text-shadow: none;
}
.site-header.scrolled .nav-dropdown-toggle { color: rgba(248,244,246,0.88); }
.site-header.scrolled .nav-dropdown-menu {
    background: rgba(24,20,26,0.96);
    border-color: rgba(244,227,195,0.28);
}
.site-header.scrolled .nav-dropdown.has-active .nav-dropdown-toggle {
    box-shadow: inset 0 -3px 0 rgba(255,255,255,0.8);
}
.lang-switch { display: flex; gap: 6px; margin-left: 16px; align-items: center; }
.lang-btn {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.28);
    background: transparent;
    color: rgba(250,246,247,0.9);
    font-weight: 600;
    cursor: pointer;
    transition: color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
    box-shadow: inset 0 -2px 0 transparent; /* match nav underline behavior */
}
/* Hover: grey outline + subtle underline, no fill */
.lang-btn:hover {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255,255,255,0.45);
    box-shadow: inset 0 -2px 0 rgba(255,255,255,0.5);
}
/* Active/selected: red outline + red underline, no fill */
.lang-btn.active {
    background: transparent;
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: inset 0 -2px 0 rgba(227,6,19,0.7);
}
.lang-btn:focus-visible { outline: 2px solid rgba(227,6,19,0.35); outline-offset: 1px; }
.site-header.scrolled .lang-btn {
    border-color: rgba(255,255,255,0.35);
    color: rgba(255,255,255,0.85);
}
/* Scrolled header: keep grey hover, red active */
.site-header.scrolled .lang-btn:hover {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255,255,255,0.5);
    box-shadow: inset 0 -2px 0 rgba(255,255,255,0.8);
}
.site-header.scrolled .lang-btn.active {
    background: transparent;
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: inset 0 -2px 0 rgba(227,6,19,0.85);
}
.nav a,
.nav-dropdown-toggle {
    position: relative;
    padding: 10px 14px;
    border-radius: 999px;
    color: rgba(250, 246, 247, 0.8);
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
    font-size: 0.95rem;
    box-shadow: inset 0 -3px 0 transparent;
}
.nav a.active,
.nav a:hover {
    color: #ffffff;
    text-decoration: none;
    background: transparent;
    box-shadow: inset 0 -3px 0 rgba(227,6,19,0.7);
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus {
    color: #ffffff;
    background: transparent;
    box-shadow: inset 0 -3px 0 rgba(227,6,19,0.7);
}
.site-header.scrolled .nav a.active,
.site-header.scrolled .nav a:hover,
.site-header.scrolled .nav-dropdown-toggle:hover,
.site-header.scrolled .nav-dropdown-toggle:focus {
    color: #ffffff;
    box-shadow: inset 0 -3px 0 rgba(255,255,255,0.8);
}
.nav-toggle { display: none; background: none; border: none; font-size: 22px; color: rgba(250,246,247,0.9); transition: color 160ms ease; }
.site-header.scrolled .nav-toggle { color: #ffffff; }

/* Hero */
.hero {
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.04), rgba(244, 227, 195, 0.18));
    padding: calc(var(--section-y) + 8px) 0 var(--section-y-sm);
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: center; }
.hero h1 { font-size: 40px; line-height: 1.1; margin: 0 0 8px; }
.subtitle { color: var(--muted); margin: 0 0 12px; font-size: 18px; }
.cta-group { display: flex; gap: 12px; margin: 16px 0 10px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 16px 0 0; }
.pill-list li {
    background: #fff;
    border: 1px solid rgba(52, 58, 64, 0.12);
    border-radius: 999px;
    padding: 6px 12px;
    box-shadow: var(--shadow);
    color: var(--text);
    font-weight: 600;
}
.hero-art { text-align: right; }
.hero-copy p, .hero .subtitle { max-width: var(--measure); }
.hero-art img { max-width: 520px; width: 100%; height: auto; }

@media (min-width: 900px) and (min-height: 700px) { .hero-inner { align-items: center; } }

/* Photo hero moved to assets/css/home.css */

/* THEME: Default palette override (body.theme-warm retained for compatibility) */
.theme-warm {
    --primary: #e30613;
    --primary-600: #c8102e;
    --accent: #a3b18a;
    --accent-600: #7c8b64;
    --bg: #f5f5f5;
    --text: #343a40;
    --card: #ffffff;
    --radius: 16px;
}
.theme-warm h1, .theme-warm h2, .theme-warm h3 {
    font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 800;
}
.theme-warm .hero {
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.04), rgba(244, 227, 195, 0.18));
    padding: calc(var(--section-y) * 0.9) 0 var(--section-y-sm);
}
.theme-warm .hero h1 { font-size: clamp(32px, 4.2vw, 48px); }
.theme-warm .hero .subtitle { font-size: 18px; color: var(--muted); opacity: 0.9; }
.theme-warm .hero-inner { grid-template-columns: 1fr; }
.theme-warm .hero-art { display: none; }
.theme-warm .btn.primary { background: var(--primary); }
.theme-warm .btn.accent { background: var(--accent); }
.theme-warm .nav a.active, .theme-warm .nav a:hover { background: rgba(255,255,255,0.08); }

/* Hero kicker and benefits */
.kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; background: #fff; border: 1px solid var(--border); border-radius: 999px; color: var(--primary); font-weight: 800; letter-spacing: .02em; box-shadow: var(--shadow); margin-bottom: 12px; }
.benefits { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; padding: 0; list-style: none; }
.benefit { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 12px; box-shadow: var(--shadow); }
.benefit svg { width: 18px; height: 18px; color: var(--accent); }
.hero .cta-group { margin-top: 16px; }

/* Subtle secondary CTA */
.btn.text { background: transparent; color: var(--primary); padding: 0; font-weight: 600; }
.btn.text:hover { text-decoration: underline; transform: none; }

/* Testimonials */
.testimonials { display: grid; gap: 16px; }
.testimonial-track { position: relative; overflow: hidden; }
.testimonial { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; opacity: 0; transform: translateX(8%); transition: opacity .3s ease, transform .3s ease; }
.testimonial.active { opacity: 1; transform: translateX(0); }
.testimonial .quote { font-style: italic; }
.testimonial .author { margin-top: 10px; color: var(--muted); font-weight: 600; }
.testimonial-dots { display: flex; gap: 8px; justify-content: center; }
.testimonial-dots button { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--primary); background: transparent; cursor: pointer; }
.testimonial-dots button.active { background: var(--primary); }

/* Dedicated testimonials section */
.testimonials-section {
    background:
        radial-gradient(1000px 480px at 10% 15%, rgba(244,227,195,0.25), transparent 60%),
        radial-gradient(900px 420px at 85% 85%, rgba(163,177,138,0.18), transparent 58%),
        linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}
.theme-dark .testimonials-section {
    background:
        radial-gradient(1000px 480px at 10% 15%, rgba(244,227,195,0.12), transparent 60%),
        radial-gradient(900px 420px at 85% 85%, rgba(163,177,138,0.12), transparent 58%),
        linear-gradient(180deg, rgba(24,20,26,0.9), rgba(24,20,26,0.86));
}

/* Abstract ornaments overlay (use on sections without photos) */
.ornaments { position: relative; overflow: hidden; }
.ornaments::before {
  content: ""; position: absolute; inset: -20% -10% -15% -10%; pointer-events: none; z-index: 0;
  background:
    conic-gradient(from 210deg at 12% 8%, rgba(227,6,19,0.10), transparent 40%),
    conic-gradient(from 40deg at 86% 92%, rgba(163,177,138,0.12), transparent 35%),
    radial-gradient(40% 35% at 20% 70%, rgba(244,227,195,0.25), transparent 60%),
    radial-gradient(32% 28% at 78% 24%, rgba(244,227,195,0.18), transparent 60%);
  filter: blur(38px);
  opacity: .55;
  animation: ornaments-float 18s ease-in-out infinite alternate;
}
.ornaments > .container { position: relative; z-index: 1; }

@keyframes ornaments-float {
  0% { transform: translate(-1%, -1%) scale(1); }
  50% { transform: translate(1.5%, 1%) scale(1.03); }
  100% { transform: translate(0, 0) scale(1.02); }
}
.theme-dark.ornaments::before,
.theme-dark .ornaments::before { opacity: .45; filter: blur(42px); }

/* Ensure geometric shapes win when both ornaments + geo-shapes are used */
.ornaments.geo-shapes::before {
  /* override blurred ornaments with crisp geometric shapes in brand colors */
  background:
    radial-gradient(circle at 12% 22%, rgba(227,6,19,0.28) 0 38px, transparent 39px),
    radial-gradient(circle at 86% 78%, rgba(163,177,138,0.28) 0 34px, transparent 35px),
    conic-gradient(from 45deg, rgba(244,227,195,0.45) 0 360deg) no-repeat 72% 28%/88px 88px,
    conic-gradient(from 0deg, rgba(227,6,19,0.28) 0 120deg, transparent 120deg 360deg) no-repeat 32% 78%/70px 70px;
  opacity: .7;
  filter: none;
}

/* Testimonials — pro styling */
.testimonials-section h2 { text-align: center; margin: 0 0 16px; }
.testimonials-section h2::after { content: ""; display: block; width: 72px; height: 3px; margin: 10px auto 0; background: linear-gradient(90deg, transparent, var(--primary), transparent); border-radius: 2px; opacity: .85; }

.testimonials-section .testimonials { max-width: 900px; margin-inline: auto; }
.testimonials-section .testimonial-track { position: relative; min-height: 180px; display: grid; align-items: center; }
.testimonials-section .testimonial {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(251,251,251,0.9)),
    radial-gradient(120% 120% at 8% 0%, rgba(244,227,195,0.25), transparent 60%);
  border: 1px solid rgba(244,227,195,0.55);
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(18,16,20,0.14);
  padding: 22px 24px;
}
.theme-dark .testimonials-section .testimonial {
  background: linear-gradient(180deg, rgba(28,22,32,0.78), rgba(28,22,32,0.72));
  border-color: rgba(244,227,195,0.28);
  box-shadow: 0 20px 36px rgba(0,0,0,0.35);
}
.testimonials-section .testimonial .quote {
  font-style: normal;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--text);
  position: relative;
  padding-left: 32px;
}
.theme-dark .testimonials-section .testimonial .quote { color: rgba(248,244,246,0.92); }
.testimonials-section .testimonial .quote::before {
  content: '“';
  position: absolute; left: 6px; top: -4px;
  font-family: Georgia, 'Times New Roman', serif; font-size: 32px; line-height: 1; color: var(--primary);
}
.testimonials-section .testimonial .author {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}
.theme-dark .testimonials-section .testimonial .author { color: rgba(248,244,246,0.8); }

.testimonials-section .testimonial-dots { gap: 10px; margin-top: 14px; }
.testimonials-section .testimonial-dots button {
  width: 10px; height: 10px; border-radius: 999px; border: none; background: rgba(227,6,19,0.28); cursor: pointer;
}
.testimonials-section .testimonial-dots button.active { width: 22px; background: var(--primary); }

/* Swipe affordance on touch */
.testimonials-section .testimonial-track { cursor: grab; }
.testimonials-section .testimonial-track:active { cursor: grabbing; }

/* New variant: testimonials-pro */
.testimonials-section.testimonials-pro { --t-radius: 18px; --t-border: rgba(244,227,195,0.55); }
.testimonials-section.testimonials-pro .t-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--t-radius);
  border: 1px solid var(--t-border);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(251,251,251,0.9));
  box-shadow: 0 18px 34px rgba(18,16,20,0.14);
  padding: 18px 18px 22px;
  transform: translateY(6px);
  opacity: 0;
  transition: opacity .28s ease, transform .28s ease;
}
.testimonials-section.testimonials-pro .t-card.active { opacity: 1; transform: translateY(0); }
.testimonials-section.testimonials-pro .t-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(244,227,195,0.35), transparent 60%),
    radial-gradient(70% 60% at 100% 100%, rgba(163,177,138,0.18), transparent 60%);
  opacity: .6;
}
.testimonials-section.testimonials-pro .t-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.testimonials-section.testimonials-pro .avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--primary); box-shadow: 0 6px 14px rgba(227,6,19,0.22); }
.testimonials-section.testimonials-pro .name { font-weight: 800; color: var(--text); }
.testimonials-section.testimonials-pro .rating { color: var(--primary); letter-spacing: 2px; font-size: 14px; line-height: 1; opacity: .9; }
.testimonials-section.testimonials-pro .t-card .quote { margin-top: 6px; }
.theme-dark .testimonials-section.testimonials-pro .t-card { background: linear-gradient(180deg, rgba(28,22,32,0.78), rgba(28,22,32,0.72)); border-color: rgba(244,227,195,0.28); box-shadow: 0 20px 36px rgba(0,0,0,0.35); }
.theme-dark .testimonials-section.testimonials-pro .name { color: rgba(248,244,246,0.92); }

/* Layout variant: lane (horizontal cards) */
.testimonials-section.testimonials-lane .testimonials { max-width: none; }
.testimonials-section.testimonials-lane .testimonial-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 360px);
  gap: 16px;
  overflow-x: auto;
  padding: 6px 4px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* Layout variant: grid (all cards visible) */
.testimonials-section.testimonials-grid .testimonial-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  min-height: unset;
}
.testimonials-section.testimonials-grid .testimonial { height: 100%; }
.testimonials-section.testimonials-grid .testimonial-dots { display: none; }

/* Compact type variant (smaller text) */
.testimonials-section.testimonials-sm .testimonial .quote {
  font-size: clamp(16px, 1.4vw, 19px);
}
.testimonials-section.testimonials-sm .testimonial .author,
.testimonials-section.testimonials-sm .name { font-size: .95rem; }
.testimonials-section.testimonials-lane .testimonial { scroll-snap-align: start; min-height: 160px; }
.testimonials-section.testimonials-lane .testimonial.t-card { height: 100%; }
.testimonials-section.testimonials-lane .testimonial-dots { display: none; }
@media (min-width: 960px) {
  .testimonials-section.testimonials-lane .testimonial-track { grid-auto-columns: minmax(320px, 420px); }
}

/* Testimonials — additional variants you can switch via section class */
/* 1) Olive variant: soft olive accents */
.testimonials-section.tt-olive {
  background:
    radial-gradient(900px 420px at 14% 18%, rgba(163,177,138,0.18), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}
.theme-dark .testimonials-section.tt-olive {
  background:
    radial-gradient(900px 420px at 14% 18%, rgba(163,177,138,0.16), transparent 58%),
    linear-gradient(180deg, rgba(24,20,26,0.9), rgba(24,20,26,0.86));
}
.testimonials-section.tt-olive .testimonial { border-color: rgba(163,177,138,0.45); }
.testimonials-section.tt-olive .testimonial .quote::before { color: var(--accent); }
.testimonials-section.tt-olive .testimonial-dots button { background: rgba(163,177,138,0.28); }
.testimonials-section.tt-olive .testimonial-dots button.active { background: var(--accent); }

/* 2) Glass variant: translucent cards */
.testimonials-section.tt-glass { background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%); }
.theme-dark .testimonials-section.tt-glass { background: linear-gradient(180deg, rgba(24,20,26,0.96), rgba(24,20,26,0.9)); }
.testimonials-section.tt-glass .testimonial {
  background: rgba(255,255,255,0.28);
  border-color: rgba(244,227,195,0.45);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}
.theme-dark .testimonials-section.tt-glass .testimonial { background: rgba(28,22,32,0.35); border-color: rgba(244,227,195,0.32); }
.testimonials-section.tt-glass .testimonial .quote { color: #24262a; }
.theme-dark .testimonials-section.tt-glass .testimonial .quote { color: rgba(248,244,246,0.92); }

/* 3) Contrast strip: darker section, light cards */
.testimonials-section.tt-contrast {
  background:
    linear-gradient(180deg, rgba(28,16,18,0.85) 0%, rgba(28,16,18,0.75) 100%),
    radial-gradient(900px 480px at 85% 80%, rgba(244,227,195,0.12), transparent 58%);
}
.testimonials-section.tt-contrast .testimonial {
  background: #ffffff;
  border-color: rgba(52,58,64,0.12);
}
.testimonials-section.tt-contrast .testimonial .quote { color: #2b2f33; }
.testimonials-section.tt-contrast .testimonial .author { color: #5f6b76; }
.testimonials-section.tt-contrast .testimonial-dots button { background: rgba(227,6,19,0.3); }
.testimonials-section.tt-contrast .testimonial-dots button.active { background: var(--primary); }

/* Journey steps */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.journey .step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); text-align: center; }
.journey .step img { width: 40px; height: 40px; margin-bottom: 8px; }
.journey .step h3 { font-size: 18px; margin: 0 0 6px; }

/* WhatsApp CTA */
.whats-cta { background: #e9f8f0; border: 1px solid #cceedd; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: flex; align-items: center; gap: 12px; }
.whats-cta img { width: 28px; height: 28px; }
.whats-cta a { font-weight: 700; color: #0b8f4a; }

/* THEME: Dark variant aligned with Tunisian palette */
.theme-dark {
    --primary: #e30613;
    --accent: #a3b18a;
    --bg: #1c1620;
    --text: #f5f1f3;
    --muted: #d6cfd4;
    --card: rgba(255,255,255,0.05);
    --border: rgba(255,255,255,0.14);
    --radius: 8px;
}
.theme-dark body { background: var(--bg); }
.theme-dark .site-header { background: rgba(4,21,44,0.88); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(227,6,19,0.28); }
.theme-dark .nav a { color: rgba(248,250,252,0.75); }
.theme-dark .nav a.active, .theme-dark .nav a:hover { background: rgba(227,6,19,0.16); color: #ffffff; }
.theme-dark .hero {
    background: radial-gradient(85% 65% at 18% 0%, rgba(227,6,19,0.28), transparent 60%),
                            linear-gradient(180deg, rgba(4,21,44,0.95) 0%, rgba(4,21,44,0.88) 100%);
    padding: var(--section-y) 0 var(--section-y);
}
.theme-dark h1, .theme-dark h2, .theme-dark h3 {
    font-family: 'Poppins', Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    letter-spacing: -0.01em;
}
.theme-dark .features li,
.theme-dark .form,
.theme-dark .logo-card,
.theme-dark .timeline .step,
.theme-dark .stat { background: var(--card); border-color: var(--border); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.theme-dark .strip.alt { background: rgba(255,255,255,0.02); }
.theme-dark .applicants-section {
    background:
        radial-gradient(900px 420px at 12% 18%, rgba(163,177,138,0.16), transparent 58%),
        radial-gradient(800px 380px at 88% 82%, rgba(244,227,195,0.22), transparent 56%),
        linear-gradient(0deg, rgba(16,18,24,0.74), rgba(16,18,24,0.74)),
        url('../img/applicants-bg.jpg'),
        url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.theme-dark .btn.primary { background: var(--accent); box-shadow: 0 0 0 0 rgba(227,6,19,0.5); }
.theme-dark .btn.primary:hover { box-shadow: 0 0 0 6px rgba(227,6,19,0.22); }
.theme-dark .btn.accent { background: var(--primary); }
.theme-dark .pill-tabs { display: inline-flex; gap: 8px; padding: 6px; background: rgba(255,255,255,0.08); border: 1px solid var(--border); border-radius: 999px; }
.theme-dark .pill-tabs a { padding: 8px 14px; border-radius: 999px; color: rgba(248,250,252,0.7); font-weight: 700; text-decoration: none; }
.theme-dark .pill-tabs a.active, .theme-dark .pill-tabs a:hover { background: rgba(227,6,19,0.22); color: #ffffff; }
.theme-dark .stats .num { color: var(--accent); }
.theme-dark .footer-nav a, .theme-dark .footer-contact a { color: rgba(229,235,245,0.88); }

/* Sections */
.strip { padding: var(--section-y) 0; background: #ffffff; }
.strip.alt { background: var(--bg); }
.strip.bg-warm { background: var(--grad-warm), #ffffff; }
.strip.bg-olive { background: var(--grad-olive), #ffffff; }
.strip.bg-brand { background: var(--grad-brand), #ffffff; }
.strip.alt.stats-section {
    /* Soft, harmonious tint for stats area (original) */
    background:
        radial-gradient(1200px 600px at 15% 20%, rgba(244,227,195,0.35), transparent 60%),
        radial-gradient(900px 500px at 85% 80%, rgba(163,177,138,0.22), transparent 58%),
        linear-gradient(180deg, #fbfbfb 0%, #f7f8f5 100%);
}
.stats-section > .container { margin-bottom: 12px; }
.stats-section h2 { text-align: center; margin: 0 0 16px; }
.stats-section h2::after { content: ""; display: block; width: 72px; height: 3px; margin: 10px auto 0; background: linear-gradient(90deg, transparent, var(--primary), transparent); border-radius: 2px; opacity: .85; }
.strip.alt.stats-section .container { position: relative; }
.strip.alt.stats-section .container::before { content: none; }
.strip.trust { background: var(--beige); }
/* Companies section background image */
.strip.trust.companies-section {
    background:
        /* Dark → light vertical overlay (top darker, bottom lighter) */
        linear-gradient(180deg, rgba(28,16,18,0.88) 0%, rgba(28,16,18,0.56) 58%, rgba(28,16,18,0.18) 100%),
        /* Soft brand tints for depth */
        radial-gradient(circle at 50% 12%, rgba(227,6,19,0.06), transparent 65%),
        radial-gradient(circle at 22% 18%, rgba(244,227,195,0.08), transparent 60%),
        radial-gradient(circle at 78% 82%, rgba(163,177,138,0.07), transparent 60%),
        url('../img/Unternehmen_bg.jpg');
    /* Ensure full coverage without letterboxing */
    position: relative;
    overflow: hidden;
    background-size: auto, auto, auto, auto, cover;
    background-position: center, center, center, center, center;
    background-repeat: no-repeat;
}
.companies-section .company-copy h2 {
    color: var(--beige);
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 0 6px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.22);
}
.companies-section .company-copy p {
    color: rgba(250,250,252,0.92);
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.5;
    margin: 0 0 10px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
/* Stack feature cards vertically in companies section */
.companies-section .features { grid-template-columns: 1fr; gap: 16px; }
/* Dark tiles in companies section */
.companies-section .features li { background: linear-gradient(180deg, rgba(24,20,26,0.78), rgba(24,20,26,0.72)); border-color: rgba(244,227,195,0.24); color: rgba(248,244,246,0.92); }
.companies-section .features li:hover { box-shadow: 0 16px 32px rgba(0,0,0,0.35); border-color: rgba(244,227,195,0.38); }
.companies-section .features h3 { color: var(--beige); }
.companies-section .features p { color: rgba(248,244,246,0.9); }
.theme-dark .strip.trust.companies-section {
    background:
        /* Dark → light in dark mode (still mostly dark) */
        linear-gradient(180deg, rgba(18,14,18,0.96) 0%, rgba(18,14,18,0.88) 58%, rgba(18,14,18,0.62) 100%),
        radial-gradient(circle at 50% 12%, rgba(227,6,19,0.10), transparent 65%),
        radial-gradient(circle at 22% 18%, rgba(244,227,195,0.10), transparent 60%),
        radial-gradient(circle at 78% 82%, rgba(163,177,138,0.10), transparent 60%),
        url('../img/Unternehmen_bg.jpg');
    position: relative;
    overflow: hidden;
    background-size: auto, auto, auto, auto, cover;
    background-position: center, center, center, center, center;
    background-repeat: no-repeat;
}
/* Applicants section background image (overrides .strip.alt) */
.strip.alt.applicants-section {
    background:
        /* Slightly darker, neutral (near-black) overlay */
        linear-gradient(180deg, rgba(12,12,14,0.42) 0%, rgba(12,12,14,0.36) 55%, rgba(12,12,14,0.30) 100%),
        /* Softer brand tints to avoid color cast */
        radial-gradient(circle at 50% 12%, rgba(227,6,19,0.06), transparent 65%),
        radial-gradient(circle at 18% 24%, rgba(244,227,195,0.08), transparent 58%),
        radial-gradient(circle at 78% 82%, rgba(163,177,138,0.07), transparent 62%),
        url('../img/applicants-bg.jpg'),
        url('../img/hero.jpg');
    /* 4 gradients + main photo (cover) + fallback (cover) */
    position: relative;
    overflow: hidden;
    background-size: auto, auto, auto, auto, cover, cover;
    background-position: center, center, center, center, center, center;
    background-repeat: no-repeat;
}
/* Dark theme override */
.theme-dark .strip.alt.applicants-section {
    background:
        linear-gradient(180deg, rgba(24,20,26,0.85) 0%, rgba(24,20,26,0.80) 100%),
        radial-gradient(circle at 50% 12%, rgba(227,6,19,0.18), transparent 65%),
        radial-gradient(circle at 18% 24%, rgba(244,227,195,0.20), transparent 58%),
        radial-gradient(circle at 78% 82%, rgba(163,177,138,0.18), transparent 62%),
        url('../img/applicants-bg.jpg'),
        url('../img/hero.jpg');
    position: relative;
    overflow: hidden;
    background-size: auto, auto, auto, auto, cover, cover;
    background-position: center, center, center, center, center, center;
    background-repeat: no-repeat;
}
/* Companies section polish */
.company-grid { align-items: center; }
.company-copy > h2 { margin: 0 0 8px; }
.company-copy > p { margin: 0 0 12px; max-width: 60ch; }
.assurances { list-style: none; padding: 0; margin: 10px 0 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.assurances li {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(52,58,64,0.12);
    color: var(--dark);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 6px 14px rgba(18,16,20,0.08);
}
.company-visual {
    min-height: 280px;
    border-radius: 16px;
    background:
        radial-gradient(600px 300px at 20% 20%, rgba(227,6,19,0.08), transparent 60%),
        radial-gradient(500px 280px at 80% 80%, rgba(163,177,138,0.16), transparent 60%),
        url('../img/hero-bridge.svg') center/contain no-repeat,
        linear-gradient(135deg, #fff, #f9faf7);
    border: 1px solid rgba(52,58,64,0.12);
    box-shadow: var(--shadow);
}
@media (max-width: 900px) {
    .company-grid { grid-template-columns: 1fr; gap: 16px; }
    .company-visual { min-height: 200px; }
}


.applicants-grid { align-items: center; }
.applicants-visual {
    min-height: 260px;
    border-radius: 16px;

    border: 1px solid rgba(52,58,64,0.12);
    box-shadow: var(--shadow);
}
@media (max-width: 900px) {
    .applicants-grid { grid-template-columns: 1fr; gap: 16px; }
    .applicants-visual { min-height: 200px; }
}
/* Improve contrast of heading and intro on darker photo overlay */
.applicants-section .applicants-copy h2 {
    color: var(--beige);
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.15;
    margin: 0 0 6px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.22);
}
.applicants-section .applicants-copy p {
    color: rgba(250,250,252,0.92);
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
/* Applicants heading block */
.applicants-section .applicants-head {
    display: inline-block;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(24,20,26,0.48);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(244,227,195,0.22);
    box-shadow: 0 12px 28px rgba(0,0,0,0.28);
    margin: 0 0 12px;
}
.applicants-section .applicants-head h2 {
    margin: 0 0 6px;
    font-size: clamp(28px, 4.4vw, 46px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.applicants-section .applicants-head p {
    margin: 0;
    font-size: clamp(16px, 1.3vw, 20px);
    line-height: 1.5;
    max-width: 62ch;
}
/* Variant: warm capsule (lighter, brand-tinted) */
.applicants-section .applicants-head.head-warm {
    background:
      linear-gradient(180deg, rgba(244,227,195,0.55) 0%, rgba(244,227,195,0.32) 100%),
      radial-gradient(120% 120% at 10% 10%, rgba(227,6,19,0.08), transparent 60%);
    border-color: rgba(244,227,195,0.55);
    backdrop-filter: blur(4px) saturate(110%);
    -webkit-backdrop-filter: blur(4px) saturate(110%);
}
.applicants-section .applicants-head.head-warm h2,
.applicants-section .applicants-head.head-warm p {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.28);
}
.applicants-section .applicants-head.head-warm h2::after {
    content: "";
    display: block;
    width: 84px; height: 4px; margin-top: 8px;
    background: linear-gradient(90deg, var(--beige), var(--accent));
    border-radius: 2px;
}
@media (max-width: 900px) {
  .applicants-section .applicants-head { padding: 12px 14px; border-radius: 14px; }
  .applicants-section .applicants-head h2 { font-size: clamp(24px, 6vw, 34px); }
}
/* Reorder applicants grid: visual left on desktop, below on mobile */
.grid.two.applicants-grid {
    grid-template-columns: 1.2fr 1fr;
    grid-template-areas: 'visual copy';
}
.applicants-visual { grid-area: visual; }
.applicants-copy { grid-area: copy; }
@media (max-width: 900px) {
    .grid.two.applicants-grid {
        grid-template-columns: 1fr;
        grid-template-areas: 'copy' 'visual';
    }
}
/* Denser feature layout inside applicants */
.applicants-section .features { grid-template-columns: 1fr; }
@media (max-width: 560px) {
    .applicants-section .features { grid-template-columns: 1fr; }
}
/* Align CTA left inside applicants copy */
.applicants-copy .center { text-align: left; }

/* (carousel styles removed per feedback) */

/* Applicants timeline styling + animations */
.applicants-section .features:not(.carousel) { position: relative; gap: 14px; }
.applicants-section .features:not(.carousel)::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 16px;
    bottom: 16px;
    width: 2px;
    background: rgba(227,6,19,0.28); /* red baseline behind markers */
}
.applicants-section .features:not(.carousel)::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 16px;
    width: 2px;
    height: calc(100% - 32px);
    background: linear-gradient(180deg, rgba(227,6,19,0.95), rgba(227,6,19,0.45));
    transform-origin: top;
    transform: scaleY(0);
}
.applicants-section .features:not(.carousel).revealed::after { animation: line-fill 700ms ease-out forwards; }
@keyframes line-fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.applicants-section .features:not(.carousel) li {
    padding: 14px 14px 14px 54px;
    min-height: auto;
    overflow: hidden;
}
.applicants-section .features:not(.carousel) li::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 3px rgba(227,6,19,0.15), 0 8px 16px rgba(227,6,19,0.24);
}
.applicants-section .features:not(.carousel) li::after { display: none; }

@keyframes feat-reveal-x { from { opacity: 0; transform: translateX(-10px) scale(.98); } to { opacity: 1; transform: translateX(0) scale(1); } }
.applicants-section .features:not(.carousel) li { opacity: 0; transform: translateX(-10px) scale(.98); }
.applicants-section .features:not(.carousel).revealed li { animation: feat-reveal-x 520ms cubic-bezier(.2,.6,.2,1) both; }
.applicants-section .features:not(.carousel).revealed li:nth-child(1) { animation-delay: 40ms; }
.applicants-section .features:not(.carousel).revealed li:nth-child(2) { animation-delay: 120ms; }
.applicants-section .features:not(.carousel).revealed li:nth-child(3) { animation-delay: 200ms; }

/* Marker pop for each step */
@keyframes marker-pop { 0% { transform: scale(.6); opacity: .2; } 60% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }
.applicants-section .features:not(.carousel).revealed li::before { animation: marker-pop 400ms ease-out both; }
.applicants-section .features:not(.carousel).revealed li:nth-child(1)::before { animation-delay: 120ms; }
.applicants-section .features:not(.carousel).revealed li:nth-child(2)::before { animation-delay: 200ms; }
.applicants-section .features:not(.carousel).revealed li:nth-child(3)::before { animation-delay: 280ms; }

/* CTA shine */
.applicants-section .btn.accent { position: relative; overflow: hidden; }
.applicants-section .btn.accent::after {
    content: '';
    position: absolute;
    top: 0; left: -150%;
    width: 120%; height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.0), rgba(255,255,255,0.35), rgba(255,255,255,0.0));
    transform: skewX(-20deg);
    animation: btn-shine 2.4s ease-in-out 1.2s infinite;
}
@keyframes btn-shine { 0% { left: -150%; } 60% { left: 150%; } 100% { left: 150%; } }

/* Applicants visual floating shapes + tilt */
.applicants-visual { position: relative; overflow: hidden; transition: transform .2s ease; will-change: transform; }
.applicants-visual::before,
.applicants-visual::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(18px);
    opacity: 0.6;
    pointer-events: none;
}
.applicants-visual::before {
    width: 120px; height: 120px;
    top: -20px; left: -20px;
    background: radial-gradient(circle, rgba(227,6,19,0.35), transparent 60%);
    animation: drift1 12s ease-in-out infinite alternate;
}
.applicants-visual::after {
    width: 160px; height: 160px;
    bottom: -30px; right: -30px;
    background: radial-gradient(circle, rgba(163,177,138,0.35), transparent 60%);
    animation: drift2 14s ease-in-out infinite alternate;
}
@keyframes drift1 { from { transform: translate(0,0); } to { transform: translate(30px, 20px); } }
@keyframes drift2 { from { transform: translate(0,0); } to { transform: translate(-20px, -30px); } }

.applicants-visual .grid-overlay {
    position: absolute; inset: 0; pointer-events: none;
    background:
        repeating-linear-gradient(90deg, rgba(52,58,64,0.05), rgba(52,58,64,0.05) 1px, transparent 1px, transparent 24px),
        repeating-linear-gradient(0deg, rgba(52,58,64,0.05), rgba(52,58,64,0.05) 1px, transparent 1px, transparent 24px);
    opacity: .35;
    mix-blend-mode: multiply;
}
.applicants-visual:hover .route-path { animation-duration: 1.6s; }
.applicants-visual:hover .route-glow { animation-duration: 2s; }

.applicants-visual .route-glow {
    stroke: rgba(227,6,19,0.22);
    stroke-width: 6;
    stroke-linecap: round;
    filter: blur(2px);
    stroke-dasharray: 10 14;
    animation: route-dash 3s linear infinite;
}
.applicants-visual .route-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.applicants-visual .route-path {
    stroke: rgba(227,6,19,0.55);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 6 10;
    animation: route-dash 2.4s linear infinite;
}
@keyframes route-dash { to { stroke-dashoffset: -64; } }
.applicants-visual .plane-dot { fill: var(--primary); filter: drop-shadow(0 6px 12px rgba(227,6,19,0.35)); }
.applicants-visual .plane path { fill: var(--primary); filter: drop-shadow(0 8px 14px rgba(227,6,19,0.35)); }


/* Assurances chips: ticks + entrance */
.assurances li { position: relative; padding-left: 28px; }
.assurances li::before {
    content: '✓';
    position: absolute;
    left: 10px; top: 50%; transform: translateY(-50%);
    color: var(--primary);
    font-weight: 900;
}
@keyframes chip-pop { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.assurances li { opacity: 0; transform: translateY(6px) scale(.98); }
.assurances.revealed li { animation: chip-pop 420ms ease-out both; }
.assurances.revealed li:nth-child(1) { animation-delay: 40ms; }
.assurances.revealed li:nth-child(2) { animation-delay: 120ms; }
.assurances.revealed li:nth-child(3) { animation-delay: 200ms; }

/* CTA pulse ring when revealed */
.applicants-section .btn.accent::before {
    content: '';
    position: absolute; inset: -6px; border-radius: 999px;
    background: radial-gradient(circle, rgba(227,6,19,0.22), transparent 60%);
    opacity: 0; transform: scale(.9);
}
.applicants-section .btn.accent.revealed::before { animation: cta-pulse 900ms ease-out 400ms 1 forwards; }
@keyframes cta-pulse { 0% { opacity: 0; transform: scale(.85); } 50% { opacity: .7; transform: scale(1.05); } 100% { opacity: 0; transform: scale(1.2); } }
.center { text-align: center; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; list-style: none; margin: 28px 0; }
.features li {
    background: var(--card);
    border: 1px solid rgba(52, 58, 64, 0.12);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.features li:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(82,16,25,0.18);
    border-color: rgba(227,6,19,0.32);
}
.features h3 { margin: 0 0 6px; font-size: 18px; color: var(--accent); }
.features p { margin: 0; color: var(--text); opacity: .9; }

/* Feature icons */
.features .feat-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 10px;
    background: linear-gradient(135deg, rgba(227,6,19,0.12), rgba(163,177,138,0.16)); color: var(--primary);
    box-shadow: inset 0 0 0 1px rgba(227,6,19,0.18);
}
.features .feat-icon svg { width: 22px; height: 22px; }

/* Darker cards just for applicants section */
.applicants-section .features li {
    background: linear-gradient(180deg, rgba(24,20,26,0.78), rgba(24,20,26,0.74));
    border-color: rgba(244,227,195,0.24);
    color: rgba(248,244,246,0.92);
}
.applicants-section .features li:hover {
    box-shadow: 0 16px 32px rgba(0,0,0,0.35);
    border-color: rgba(244,227,195,0.38);
}
.applicants-section .features h3 { color: var(--beige); }
.applicants-section .features p { color: rgba(248,244,246,0.9); }

/* Reveal animation */
@keyframes feat-reveal { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.features li { opacity: 0; transform: translateY(10px) scale(.98); }
.features.revealed li { animation: feat-reveal 480ms cubic-bezier(.2,.6,.2,1) both; }
.features.revealed li:nth-child(1) { animation-delay: 40ms; }
.features.revealed li:nth-child(2) { animation-delay: 120ms; }
.features.revealed li:nth-child(3) { animation-delay: 200ms; }

@media (max-width: 900px) {
    .features { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .features li { opacity: 1; transform: none; }
    .features.revealed li { animation: none; }
}

.page-hero { padding: var(--section-y) 0 var(--section-y-sm); background: linear-gradient(135deg, rgba(244,227,195,0.22), rgba(163,177,138,0.12)); border-bottom: 1px solid rgba(244,227,195,0.45); }
.page-hero.small { padding: 28px 0; }

/* About page polish */
.page-hero.about {
  /* Semi-transparent dark glaze + brand tints over photo */
  background:
    linear-gradient(180deg, rgba(24,20,26,0.9) 0%, rgba(24,20,26,0.65) 100%),
    radial-gradient(900px 420px at 14% 18%, rgba(244,227,195,0.22), transparent 58%),
    radial-gradient(900px 420px at 86% 82%, rgba(163,177,138,0.14), transparent 58%),
    url('../img/Uber_bg.jpg');
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}
.theme-dark .page-hero.about {
  background:
    linear-gradient(180deg, rgba(24,20,26,0.94) 0%, rgba(24,20,26,0.90) 100%),
    radial-gradient(900px 420px at 14% 18%, rgba(244,227,195,0.18), transparent 58%),
    radial-gradient(900px 420px at 86% 82%, rgba(163,177,138,0.16), transparent 58%),
    url('../img/Uber_bg.jpg');
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
  border-bottom-color: rgba(244,227,195,0.28);
}
.page-hero.about h1 { margin: 0 0 8px; font-size: clamp(30px, 5vw, 44px); color: #f8fafc; text-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.page-hero.about h1::after { content: ""; display: block; width: 84px; height: 4px; margin-top: 10px; background: linear-gradient(90deg, var(--beige), var(--accent)); border-radius: 2px; opacity: .95; }
.page-hero.about p { max-width: 70ch; color: rgba(255,255,255,0.92); text-shadow: 0 1px 6px rgba(0,0,0,0.28); }

/* Value pills enhancement */
.pill-list .pill, .pill-list li {
  background: #fff;
  border: 1px solid rgba(244,227,195,0.65);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  color: #2f3439;
  box-shadow: 0 8px 20px rgba(18,16,20,0.06), inset 0 1px 0 rgba(255,255,255,0.6);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.pill-list li:hover {
  transform: translateY(-2px);
  border-color: rgba(244,227,195,0.85);
  box-shadow: 0 14px 28px rgba(18,16,20,0.10), inset 0 1px 0 rgba(255,255,255,0.7);
}

/* About content cards */
.about-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.about-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(244,227,195,0.6);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 10px 22px rgba(18,16,20,0.06), 0 26px 60px rgba(18,16,20,0.06);
}
.about-card::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: -14px; height: 24px; border-radius: 16px;
  background: radial-gradient(80% 70% at 50% 0%, rgba(18,16,20,0.12), transparent 70%);
  filter: blur(6px); z-index: -1;
}
.about-card h3 { margin: 0 0 10px; font-size: clamp(20px, 2.2vw, 26px); }
.theme-dark .about-card { background: rgba(28,22,32,0.78); border-color: rgba(244,227,195,0.28); box-shadow: 0 16px 32px rgba(0,0,0,0.35); }
@media (max-width: 900px) { .about-cards { grid-template-columns: 1fr; } }

/* Companies hero */
.companies-hero {
  background:
    linear-gradient(180deg, rgba(24,20,26,0.9) 0%, rgba(24,20,26,0.65) 100%),
    url('../img/Für Unternehmen_bg.jpg');
  background-size: cover;
  background-position: top center; /* photo pinned to top */
  background-repeat: no-repeat;
  border-bottom-color: rgba(244,227,195,0.45);
  /* Taller visual band */
  padding: calc(var(--section-y) * 1.6) 0 var(--section-y-sm);
  height: 46vh;
}
.companies-hero h1 { margin: 0 0 12px; font-size: clamp(36px, 5vw, 54px); color: #f7f9fc; text-shadow: 0 2px 10px rgba(0,0,0,0.35); letter-spacing: -0.01em; }
.companies-hero h1::after { content: ""; display: block; width: 84px; height: 4px; margin-top: 10px; background: linear-gradient(90deg, var(--beige), var(--accent)); border-radius: 2px; opacity: .95; }
.companies-hero p { max-width: 70ch; color: rgba(255,255,255,0.92); text-shadow: 0 1px 6px rgba(0,0,0,0.28); }

/* Workers hero */
.workers-hero {
  background:
    linear-gradient(180deg, rgba(24,20,26,0.9) 0%, rgba(24,20,26,0.65) 100%),
    url('../img/ Für Fachkräfte_bg.jpg');
  background-size: cover;
  background-position: top left;
  background-repeat: no-repeat;
  border-bottom-color: rgba(244,227,195,0.45);
  padding: calc(var(--section-y) * 1.6) 0 var(--section-y-sm);
  height: 46vh;
}
.workers-hero h1 { margin: 0 0 12px; font-size: clamp(32px, 5vw, 50px); color: #f7f9fc; text-shadow: 0 2px 10px rgba(0,0,0,0.35); letter-spacing: -0.01em; max-width: 24ch; }
.workers-hero h1::after { content: ""; display: block; width: 84px; height: 4px; margin-top: 10px; background: linear-gradient(90deg, var(--beige), var(--accent)); border-radius: 2px; opacity: .95; }
.workers-hero p { max-width: 70ch; color: rgba(255,255,255,0.92); text-shadow: 0 1px 6px rgba(0,0,0,0.28); }

/* Pro form styling for companies page */
.form-pro {
  --fp-border: rgba(244,227,195,0.65);
  --fp-bg: linear-gradient(180deg, #ffffff, #fbfbfb);
  background: var(--fp-bg);
  border-color: var(--fp-border);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(18,16,20,0.08);
  padding: 20px;
}
.form-pro .grid.two { gap: 16px; align-items: start; }
.form-pro .field label { font-weight: 700; color: #2f3439; }
.form-pro .field input {
  border-radius: 12px;
  border-color: rgba(52,58,64,0.16);
  background: #fff;
}
.form-pro .field input::placeholder { color: rgba(52,58,64,0.5); }
.form-pro .field input:focus { outline: 2px solid rgba(227,6,19,0.18); border-color: rgba(227,6,19,0.35); box-shadow: 0 0 0 4px rgba(227,6,19,0.06); }
.form-pro .actions { margin-top: 14px; }
.form-pro .btn.primary { box-shadow: 0 16px 32px rgba(227,6,19,0.22); }
.form-pro .btn.primary:hover { box-shadow: 0 18px 36px rgba(200,16,46,0.26); }
.form-pro .form-note { color: #6c747b; }

@media (max-width: 900px) {
  .companies-hero { padding: var(--section-y-sm) 0; }
  .form-pro { padding: 16px; }
}

/* Required marker and validity feedback */
.form .field label.required::after { content: ' *'; color: var(--primary); font-weight: 800; }
.form .field input:required:invalid,
.form .field textarea:required:invalid,
.form .field select:required:invalid {
  border-color: rgba(227,6,19,0.45);
}
.form .field input:required:valid,
.form .field textarea:required:valid,
.form .field select:required:valid {
  border-color: rgba(163,177,138,0.55);
}

/* ——— Optional form variants you can mix via classes ——— */
/* 1) Compact layout: tighter paddings and gaps */
.form-compact { padding: 14px; border-radius: 14px; }
.form-compact .grid.two { gap: 10px; }
.form-compact .field input,
.form-compact .field textarea,
.form-compact .field select { padding: 8px 10px; border-radius: 10px; }
.form-compact .actions { margin-top: 8px; gap: 8px; }

/* 2) Glass look: translucent card */
.form-glass {
  background: rgba(255,255,255,0.28);
  border-color: rgba(244,227,195,0.55);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  box-shadow: 0 18px 42px rgba(18,16,20,0.12);
}
.theme-dark .form-glass { background: rgba(28,22,32,0.5); border-color: rgba(244,227,195,0.3); }

/* 3) Outline: minimal container, stronger field borders */
.form-outline { background: transparent; box-shadow: none; border-color: rgba(52,58,64,0.18); }
.form-outline .field input,
.form-outline .field textarea,
.form-outline .field select { border-color: rgba(52,58,64,0.28); background: #fff; }

/* 4) Brand gradient header bar */
.form-head { position: relative; padding-top: 10px; }
.form-head::before { content: ""; position: absolute; left: -20px; right: -20px; top: -20px; height: 6px; border-top-left-radius: 18px; border-top-right-radius: 18px; background: linear-gradient(90deg, var(--beige), var(--accent)); }

/* 5) Steps-like labels (1., 2., …) */
.form-steps { counter-reset: step; }
.form-steps .field label { position: relative; padding-left: 28px; }
.form-steps .field label::before {
  counter-increment: step;
  content: counter(step) ".";
  position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 800;
}

/* 6) Pill inputs (rounded) */
.form-pill .field input,
.form-pill .field select { border-radius: 999px; padding: 12px 16px; }
.form-pill .field textarea { border-radius: 14px; }

/* 7) Soft separators between rows */
.form-separated .grid.two { row-gap: 18px; }
.form-separated .grid.two > .field { position: relative; }
.form-separated .grid.two > .field:nth-child(n+3)::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 1px; background: rgba(244,227,195,0.55); }

/* 8) Brand card: subtle pattern + emphasized border */
.form-brand {
  position: relative;
  background:
    radial-gradient(120% 120% at -10% -20%, rgba(244,227,195,0.22), transparent 60%),
    radial-gradient(120% 120% at 120% 120%, rgba(163,177,138,0.14), transparent 60%),
    var(--fp-bg, linear-gradient(180deg, #ffffff, #fbfbfb));
  border: 1px solid rgba(244,227,195,0.75);
  box-shadow: 0 18px 42px rgba(18,16,20,0.1);
}
.theme-dark .form-brand { border-color: rgba(244,227,195,0.35); }

/* 9) Side bar: vertical gradient stripe on the left */
.form-side { position: relative; overflow: hidden; }
.form-side::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px;
  background: linear-gradient(180deg, var(--beige), var(--accent));
}
.form-side { padding-left: 24px; }
@media (max-width: 560px) { .form-side { padding-left: 16px; } .form-side::before { width: 6px; } }

/* 10) Elevated hover: subtle lift on hover */
.form-elevated { transition: box-shadow .18s ease, transform .18s ease; }
.form-elevated:hover { transform: translateY(-2px); box-shadow: 0 22px 56px rgba(18,16,20,0.14); }

/* 11) Muted background: soft gray card */
.form-muted { background: linear-gradient(180deg, #fbfbfc, #f6f7f9); border-color: rgba(52,58,64,0.12); }

/* 12) Badge in corner */
.form-badge { position: relative; }
.form-badge::after {
  content: attr(data-badge);
  position: absolute; right: 14px; top: 10px;
  background: var(--primary); color: #fff; font-weight: 800; font-size: .75rem;
  padding: 4px 8px; border-radius: 999px; box-shadow: 0 8px 18px rgba(227,6,19,0.22);
}

/* 13) Three-column layout on wide screens */
.form-grid-3 .grid.two { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .form-grid-3 .grid.two { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .form-grid-3 .grid.two { grid-template-columns: 1fr; } }

/* 14) Icons inside fields (left) */
.field.with-icon-left { position: relative; }
.field.with-icon-left::before {
  /* Disabled: switch to background icons on inputs to avoid overflow */
  content: none;
}
.field.with-icon-left input,
.field.with-icon-left select,
.field.with-icon-left textarea { padding-left: 42px; line-height: 1.2; }
/* Example icon presets (consistent stroke icons) */
.icon-company::before { content: none; }
/* New icon set rendered inside inputs via background to keep within borders */
.icon-mail input, .icon-mail textarea, .icon-mail select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A7F85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M16 12v1a3 3 0 1 0 6 0v-1a10 10 0 1 0-3.92 7.94'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: 14px center !important; background-size: 20px !important; padding-left: 46px !important;
}
.icon-user input, .icon-user textarea, .icon-user select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A7F85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M5.5 21a8.5 8.5 0 0 1 17 0'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: 14px center !important; background-size: 20px !important; padding-left: 46px !important;
}

/* Form head typography */
.form-head h3,
.form-head .form-head-title { margin: 0 0 8px; font-size: 1.05rem; font-weight: 800; color: #2f3439; }
.form-head p { margin: 0 0 8px; color: #6c747b; }

/* Accent top bar variant */
.form-accent { position: relative; }
.form-accent::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-top-left-radius: 18px; border-top-right-radius: 18px;
  background: linear-gradient(90deg, var(--beige), var(--accent));
}
.form-accent .actions { align-items: center; gap: 10px; }
.form-accent .actions .btn { padding-inline: 16px; }

/* Further polish: focus, messages, selects, mobile */
.form .field:focus-within label { color: var(--primary); }
.form .field input::placeholder,
.form .field textarea::placeholder { color: rgba(52,58,64,0.45); }
.form .form-success {
  display: inline-block;
  background: rgba(163,177,138,0.14);
  border: 1px solid rgba(163,177,138,0.5);
  border-radius: 10px;
  padding: 8px 12px;
}
/* Ensure success message is hidden until form is sent */
.form:not(.sent) .form-success { display: none !important; }
.form .error-text { color: #b3261e; font-weight: 600; font-size: .9rem; margin-top: 6px; }

/* Custom select arrow */
.form .field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Button behavior on small screens */
@media (max-width: 560px) {
  .form .actions { flex-wrap: wrap; }
  .form .actions .btn { width: 100%; justify-content: center; }
}

/* Modern form interactions: floating labels, focus glow, ripple */
.form-modern .field { position: relative; }
.form-modern .field label {
  position: absolute;
  left: 14px; top: 10px;
  background: transparent;
  padding: 0 6px;
  color: rgba(52,58,64,0.65);
  pointer-events: none;
  transform-origin: left top;
  transform: translateY(0) scale(1);
  transition: transform .16s ease, color .16s ease, background .16s ease;
}
.form-modern .field input { padding: 16px 12px 12px; }
.form-modern .field input:focus + label,
.form-modern .field input:not(:placeholder-shown) + label {
  transform: translateY(-16px) scale(.86);
  color: var(--primary);
  background: #fff;
}
.form-modern .field:focus-within::after {
  content: ""; position: absolute; inset: -2px; border-radius: 14px;
  box-shadow: 0 0 0 2px rgba(227,6,19,0.18), 0 0 0 6px rgba(227,6,19,0.06);
  pointer-events: none; transition: box-shadow .16s ease;
}

/* Button ripple */
.form-modern .btn.primary { position: relative; overflow: hidden; }
.form-modern .btn.primary .ripple {
  position: absolute; border-radius: 50%; transform: scale(0);
  background: rgba(255,255,255,0.55); pointer-events: none;
  animation: ripple 600ms ease-out forwards;
}
@keyframes ripple { to { transform: scale(10); opacity: 0; } }

/* Enter reveal */
.form-modern { opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.form-modern.is-visible { opacity: 1; transform: translateY(0); }

/* ——— Optional variants you can toggle via classes ——— */
/* Pills: solid brand tint */
.pill-list.pills-solid li {
  background: linear-gradient(180deg, rgba(244,227,195,0.65), #fff);
  border-color: rgba(230,195,111,0.65);
}
.pill-list.pills-solid li:hover { border-color: rgba(230,195,111,0.9); }

/* Pills: minimal outline */
.pill-list.pills-outline li {
  background: transparent;
  border-color: rgba(52,58,64,0.18);
  box-shadow: none;
}
.pill-list.pills-outline li:hover { border-color: rgba(52,58,64,0.35); box-shadow: 0 8px 18px rgba(18,16,20,0.08); }

/* Cards: contrast header bar */
.about-cards.cards-contrast .about-card { padding-top: 26px; }
.about-cards.cards-contrast .about-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, var(--beige), var(--accent)); border-top-left-radius: 18px; border-top-right-radius: 18px;
}

/* Cards: subtle gradient body */
.about-cards.cards-gradient .about-card {
  background: linear-gradient(180deg, #ffffff, #fbfbfb);
}
.theme-dark .about-cards.cards-gradient .about-card {
  background: linear-gradient(180deg, rgba(28,22,32,0.82), rgba(28,22,32,0.74));
}

/* Cards: glass style */
.about-cards.cards-glass .about-card {
  background: rgba(255,255,255,0.28);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border-color: rgba(244,227,195,0.5);
}
.theme-dark .about-cards.cards-glass .about-card { background: rgba(28,22,32,0.5); border-color: rgba(244,227,195,0.28); }

/* Cards: split tone (alternating) */
.about-cards.cards-split .about-card:nth-child(odd) { background: #fff; }
.about-cards.cards-split .about-card:nth-child(even) { background: #fdfaf2; }
.theme-dark .about-cards.cards-split .about-card:nth-child(even) { background: rgba(28,22,32,0.72); }

.grid.two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; border-radius: 999px; padding: 12px 20px; border: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn.primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(227,6,19,0.22); }
.btn.primary:hover { background: var(--primary-600); box-shadow: 0 12px 26px rgba(200,16,46,0.3); }
.btn.accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(163,177,138,0.24); }
.btn.accent:hover { background: var(--accent-600); box-shadow: 0 12px 26px rgba(124,139,100,0.28); }

/* Forms */
.form { background: var(--card); border: 1px solid rgba(52,58,64,0.12); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field input, .field textarea, .field select { padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font: inherit; background: #fff; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid rgba(227,6,19,0.2); border-color: rgba(227,6,19,0.35); }
.actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.form-note { color: var(--muted); margin: 0; }
.form-success { margin-top: 10px; color: var(--accent-600); font-weight: 600; }

/* Map */
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(227, 6, 19, 0.18); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 280px; display: block; }
.contact-map iframe { height: 320px; }

/* Contact extras */
.contact-card { background: #fff; border: 1px solid rgba(244,227,195,0.55); border-radius: 14px; padding: 12px 14px; box-shadow: 0 10px 22px rgba(18,16,20,0.08); margin: 0 0 12px; }
.contact-card a { color: var(--primary); font-weight: 700; }

/* Contact actions: modern buttons with icons */
.contact-actions { display: grid; gap: 10px; margin: 10px 0 0; }
.contact-action { display: flex; align-items: center; gap: 12px; }
.contact-action .label { min-width: 92px; color: #5a6168; font-weight: 700; line-height: 1; display: flex; align-items: center; }
.contact-action .btn.text { 
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(52,58,64,0.18); 
  border-radius: 999px; 
  height: 36px; 
  padding: 0 14px; 
  color: #2f3439; 
  background: #fff; 
  box-shadow: 0 6px 14px rgba(18,16,20,0.06);
  line-height: 1; vertical-align: middle;
}
.contact-action .btn.text:hover { border-color: rgba(52,58,64,0.35); box-shadow: 0 10px 20px rgba(18,16,20,0.1); }
.contact-action .btn.text::before {
  content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 8px; opacity: .9; background-size: 16px; background-repeat: no-repeat; background-position: center; filter: none;
}
/* Use updated line-style icons to match fields */
.contact-action.phone .btn.text::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A7F85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.86 19.86 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.86 19.86 0 0 1 2.1 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.89.32 1.76.59 2.6a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.48-1.16a2 2 0 0 1 2.11-.45c.84.27 1.71.47 2.6.59A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.contact-action.whatsapp .btn.text::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath fill='%2325D366' d='M20.52 3.48A11.9 11.9 0 0 0 12.02 0C5.39 0 .02 5.37.02 12c0 2.12.56 4.16 1.63 5.98L0 24l6.2-1.62A11.96 11.96 0 0 0 12.02 24c6.63 0 12-5.37 12-12 0-3.2-1.25-6.21-3.5-8.52zM12.02 22a9.96 9.96 0 0 1-5.07-1.39l-.36-.21-3.68.96.98-3.58-.24-.37A9.97 9.97 0 1 1 22 12c0 5.52-4.48 10-9.98 10zm5.58-7.46c-.29-.14-1.71-.84-1.97-.94-.26-.1-.45-.14-.64.14-.19.28-.73.94-.89 1.12-.16.18-.33.2-.6.07-.27-.14-1.13-.42-2.16-1.3-.8-.71-1.34-1.59-1.5-1.86-.16-.27-.02-.41.12-.55.12-.12.27-.31.4-.47.13-.16.18-.27.27-.45.09-.18.05-.33-.03-.47-.08-.14-.64-1.55-.88-2.13-.23-.56-.46-.49-.63-.5l-.54-.01c-.19 0-.5.07-.76.34-.26.27-.99.97-.99 2.37 0 1.4 1.01 2.76 1.15 2.95.14.19 2 3.07 4.84 4.29.68.3 1.21.48 1.62.61.68.22 1.3.19 1.8.12.55-.09 1.67-.68 1.9-1.33.23-.65.23-1.2.16-1.31-.07-.11-.24-.18-.53-.32z'/%3E%3C/svg%3E"); }
.contact-action.email .btn.text::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A7F85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M16 12a4 4 0 1 1-2.5-3.7'/%3E%3Cpath d='M16 12v1a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.1 7.2'/%3E%3C/svg%3E"); }

/* Footer — modernized */
.site-footer {
  background: linear-gradient(180deg, #3a0e16, #2a0a10 65%);
  color: #f0f4f8;
  margin-top: var(--section-y-sm);
  border-top: 1px solid rgba(230,195,111,0.25);
}
.footer-inner {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 22px; padding: 34px 0;
}
.footer-inner > div:first-child p { color: #e9e3d7; opacity: .9; }
.footer-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-nav a { color: #f7f0f2; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-contact p { margin: 6px 0; }
.footer-contact a, .footer-contact .btn.text { color: #f4e3c3; font-weight: 700; text-decoration: none; }
.footer-contact .btn.text { border: none; background: none; padding: 0; box-shadow: none; }
.footer-contact .btn.text:hover { text-decoration: underline; }
.site-footer .logo span { color: #fefefe; }
.site-footer .logo img { filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35)); }
.legal {
  text-align: center; padding: 12px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.18);
  color: #cbd6df; font-size: 14px;
}
/* Footer responsiveness */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 16px; }
  .footer-nav { grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 6px 14px; }
}

/* Responsive enhancements (global) */
@media (max-width: 1200px) {
  .container { padding-left: 18px; padding-right: 18px; }
}
@media (max-width: 900px) {
  .grid.two { grid-template-columns: 1fr; }
  .hero .cta-group { flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .header-inner { height: 64px; }
  .form .actions { flex-direction: column; align-items: stretch; }
  .form .actions .btn { width: 100%; justify-content: center; }
  .contact-actions { gap: 8px; }
  .contact-action .label { min-width: 84px; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(28px, 7vw, 36px); }
  .subtitle { font-size: 16px; }
  .pill-list li { padding: 6px 10px; }
  .contact-action .btn.text { height: 34px; padding: 0 12px; }
}
@media (max-width: 380px) {
  .lang-switch { gap: 4px; }
  .nav-toggle { font-size: 20px; }
  .contact-action .label { min-width: 72px; }
}

/* Utilities */
.legal-text h2, .legal-text h3 { margin-top: 18px; }
.note { color: var(--muted); font-size: 14px; }

/* Final override to ensure inline field icons render (placed after base input backgrounds) */
.icon-user input,
.icon-user textarea,
.icon-user select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A7F85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M5.5 21a8.5 8.5 0 0 1 17 0'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: 14px center !important;
  background-size: 20px !important;
  padding-left: 46px !important;
}
.icon-mail input,
.icon-mail textarea,
.icon-mail select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A7F85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M16 12v1a3 3 0 1 0 6 0v-1a10 10 0 1 0-3.92 7.94'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: 14px center !important;
  background-size: 20px !important;
  padding-left: 46px !important;
}

/* Card variants you can add on any card element */
.card-warm { background: var(--grad-warm), #fff; border: 1px solid rgba(244,227,195,0.5); }
.card-olive { background: var(--grad-olive), #fff; border: 1px solid rgba(163,177,138,0.45); }
.card-brand { background: var(--grad-brand), #fff; border: 1px solid rgba(227,6,19,0.18); }

@media (prefers-color-scheme: dark) {
  .strip.bg-warm { background: linear-gradient(180deg, rgba(24,20,26,0.86) 0%, rgba(24,20,26,0.78) 100%), var(--grad-warm); }
  .strip.bg-olive { background: linear-gradient(180deg, rgba(24,20,26,0.86) 0%, rgba(24,20,26,0.78) 100%), var(--grad-olive); }
  .strip.bg-brand { background: linear-gradient(180deg, rgba(24,20,26,0.9) 0%, rgba(24,20,26,0.82) 100%), var(--grad-brand); }
  .card-warm { background: linear-gradient(180deg, rgba(28,22,32,0.82), rgba(28,22,32,0.74)), var(--grad-warm); }
  .card-olive { background: linear-gradient(180deg, rgba(28,22,32,0.82), rgba(28,22,32,0.74)), var(--grad-olive); }
  .card-brand { background: linear-gradient(180deg, rgba(28,22,32,0.82), rgba(28,22,32,0.74)), var(--grad-brand); }
}

body.rtl .hero-copy.hero-pro,
body.rtl .page-hero .container,
body.rtl .legal-text,
body.rtl .footer-inner { text-align: right; }
body.rtl .cta-group { justify-content: flex-start; }
body.rtl .grid.two { direction: rtl; }
body.rtl .grid.two > div { text-align: right; }
body.rtl .features { direction: rtl; }
body.rtl .features li { text-align: right; }
body.rtl .timeline { direction: rtl; }
body.rtl .timeline .step { text-align: right; }
body.rtl .hero-bullets { direction: rtl; }
body.rtl .hero-bullets li { text-align: right; }
body.rtl .lang-switch { direction: ltr; }
body.rtl .lang-switch { justify-content: flex-end; }
body.rtl .footer-nav,
body.rtl .footer-contact { direction: rtl; }
body.rtl .nav-dropdown-menu { right: auto; left: 0; }
body.rtl .nav-dropdown-menu a { text-align: right; }

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; text-align: left; }
    .hero { padding: var(--section-y-sm) 0 var(--section-y-sm); }
    .features { grid-template-columns: 1fr; }
    .grid.two { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .header-inner { flex-wrap: wrap; gap: 12px; }
    .lang-switch { order: 2; margin-left: 0; }
    .nav-toggle { order: 3; }
    .nav { display: none; position: fixed; top: 72px; right: 16px; z-index: 1200; background: linear-gradient(180deg, rgba(28,22,32,0.98), rgba(35,28,38,0.94)); box-shadow: 0 20px 40px rgba(16,12,18,0.45); padding: 12px; border: 1px solid rgba(244,227,195,0.18); border-radius: 16px; flex-direction: column; width: min(92vw, 320px); gap: 10px; margin-left: 0; }
    .nav.show { display: flex; }
    .nav a { color: rgba(248, 244, 246, 0.9); width: 100%; }
    .nav a::after { display: none; }
    .nav-dropdown { width: 100%; }
    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        color: rgba(248,244,246,0.9);
        border: 1px solid rgba(244,227,195,0.18);
    }
    .nav-dropdown-menu {
        position: absolute; /* float over, do not push siblings */
        top: calc(100% + 8px);
        left: 0;
        background: rgba(35,28,38,0.96);
        border: 1px solid rgba(244,227,195,0.22);
        box-shadow: 0 16px 32px rgba(16,12,18,0.5);
        width: 100%;
        display: none;
        padding: 10px;
        flex-direction: column;
        gap: 8px;
        z-index: 1300;
        border-radius: 14px;
    }
    .nav-dropdown.open .nav-dropdown-menu { display: flex; }
    .nav-dropdown-menu a {
        width: 100%;
        display: block;
        padding: 12px 14px;
        border-radius: 12px;
    }
    .nav-dropdown-menu a:hover,
    .nav-dropdown-menu a.active {
        background: rgba(255,255,255,0.06);
    }
    .nav-toggle { display: inline-block; }
    .journey { grid-template-columns: 1fr; }
}

/* Typography rhythm */
h1, h2, h3 { line-height: 1.2; }
h2 { margin: 0 0 8px; }
p { margin: 0.5rem 0 0; }

/* Corporate Trust components */
.divider { height: 1px; background: var(--border); margin: var(--section-y-sm) 0; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.stat {
    background: #fff;
    border: 1px solid rgba(52,58,64,0.12);
    border-radius: var(--radius);
    padding: 20px 18px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
    opacity: 1;
    transform: none;
}
.stat:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(18,16,20,0.16); border-color: rgba(227,6,19,0.18); }
.stat .icon { width: 32px; height: 32px; margin: 0 auto 8px; color: var(--accent); opacity: 0.9; }
.stat .num {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial;
    font-size: 34px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.2px;
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
}
.stat .num .unit {
    font-family: inherit;
    font-size: 0.6em;
    color: var(--text);
    opacity: 0.7;
    font-weight: 700;
}
.stat .label { color: var(--muted); margin-top: 6px; font-weight: 400; }

/* Pro look for stats: refined, brand-harmonized */
.stats.stats-pro { --stat-radius: 18px; --stat-border: rgba(244,227,195,0.55); --stat-bg: #ffffff; }
.theme-dark .stats.stats-pro { --stat-border: rgba(244,227,195,0.28); --stat-bg: rgba(28,22,32,0.7); }
.stats.stats-pro .stat {
    border-radius: var(--stat-radius);
    border-color: var(--stat-border);
    background:
      linear-gradient(180deg, rgba(230,195,111,0.22) 0%, rgba(230,195,111,0.12) 100%),
      linear-gradient(180deg, rgba(244,227,195,0.9) 0%, rgba(255,255,255,0.96) 100%);
    box-shadow: 0 16px 30px rgba(18,16,20,0.12);
}
.stats.stats-pro .stat::before { display: none; }
.stats.stats-pro .stat .icon { background: radial-gradient(circle at 35% 35%, rgba(244,227,195,0.9), rgba(244,227,195,0.55)); color: var(--dark); }
.theme-dark .stats.stats-pro .stat { backdrop-filter: saturate(120%) blur(4px); }

.stats.stats-pro .stat .num { font-size: 38px; }
.stats.stats-pro .stat .num .value { color: var(--gold-600); }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .stats.stats-pro .stat .num .value {
    background: linear-gradient(90deg, var(--gold), var(--gold-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

/* Ensure numbers never disappear (solid gold fallback overrides if needed) */
.stats.stats-pro .stat .num { color: var(--gold-600); }
.stats.stats-pro .stat .num .value {
  color: var(--gold-600) !important;
  -webkit-text-fill-color: var(--gold-600) !important;
  background: none !important;
}
.stats.stats-pro .stat .num .unit { color: #7b6b4a; opacity: .85; }
.theme-dark .stats.stats-pro .stat .num .unit { color: rgba(248,244,246,0.85); opacity: .8; }
.stats.stats-pro .stat .label { color: #7a715f; font-weight: 600; }
.theme-dark .stats.stats-pro .stat .label { color: rgba(248,244,246,0.8); }

/* Subtle separators for wide screens */
@media (min-width: 901px) {
  .stats.stats-pro .stat:not(:last-child)::after {
    content: ""; position: absolute; top: 16px; bottom: 16px; right: -10px; width: 1px;
    background: linear-gradient(180deg, rgba(163,177,138,0.0), rgba(163,177,138,0.35), rgba(163,177,138,0.0));
  }
}

/* Scroll reveal for stats */
@keyframes stat-reveal {
    0% { opacity: 0; transform: translateY(12px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.stats.revealed .stat { animation: stat-reveal 520ms cubic-bezier(.2,.6,.2,1) both; }
.stats:not(.revealed) .stat { opacity: 0; transform: translateY(12px) scale(0.98); }
.stats.revealed .stat:nth-child(1) { animation-delay: 60ms; }
.stats.revealed .stat:nth-child(2) { animation-delay: 140ms; }
.stats.revealed .stat:nth-child(3) { animation-delay: 220ms; }

/* Icon micro-interaction */
.stat:hover .icon { transform: translateY(-2px); transition: transform 160ms ease; }

@media (prefers-reduced-motion: reduce) {
    .stat { opacity: 1; transform: none; }
    .stats.revealed .stat { animation: none; }
}

@media (max-width: 900px) {
    .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .stats { grid-template-columns: 1fr; }
}

.logo-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: center; }
.logo-card { background: #fff; border: 1px solid rgba(52,58,64,0.12); border-radius: var(--radius); padding: 14px; display: flex; align-items: center; justify-content: center; height: 72px; box-shadow: var(--shadow); }
.logo-card img { max-height: 40px; opacity: .85; filter: grayscale(100%); }
.logo-card:hover img { opacity: 1; filter: none; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.timeline { position: relative; }
.timeline .step { background: var(--card); border: 1px solid rgba(52,58,64,0.12); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); position: relative; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; text-align: left; }
.timeline .step:hover { border-color: rgba(227,6,19,0.28); box-shadow: 0 12px 26px rgba(18,16,20,0.2); transform: translateY(-3px); }
.timeline .step:hover img { transform: scale(1.05); }
.timeline .step:focus-within { outline: 2px solid rgba(227,6,19,0.35); }
.timeline .step img { width: 44px; height: 44px; border-radius: 50%; padding: 8px; background: radial-gradient(circle at 35% 35%, rgba(244,227,195,0.65), rgba(244,227,195,0.35)); box-shadow: 0 6px 14px rgba(18,16,20,0.12); margin-bottom: 10px; transition: transform .15s ease; }
.theme-dark .timeline .step img { background: radial-gradient(circle at 35% 35%, rgba(244,227,195,0.35), rgba(244,227,195,0.18)); box-shadow: 0 8px 18px rgba(0,0,0,0.35); }
.timeline .step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -12px;
    left: -12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-600));
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(227,6,19,0.28);
}
.timeline h3 { margin: 0 0 6px; font-size: 18px; color: var(--accent); }
.timeline p { margin: 0; color: var(--text); opacity: .92; }

/* Section polish for timeline */
.timeline-section h2 { text-align: center; margin-bottom: 14px; }
.timeline-section h2::after { content: ""; display: block; width: 72px; height: 3px; margin: 10px auto 0; background: linear-gradient(90deg, transparent, var(--primary), transparent); border-radius: 2px; opacity: .85; }
.timeline-section .container { position: relative; }
.timeline-section .container::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 1px; background: linear-gradient(90deg, rgba(163,177,138,0), rgba(163,177,138,0.35), rgba(163,177,138,0)); opacity: .6; }

/* Harmonized background for timeline section (brand palette) */
.timeline-section {
  background:
    linear-gradient(180deg, rgba(244,227,195,0.55) 0%, rgba(244,227,195,0.25) 28%, rgba(251,251,251,0.0) 60%),
    radial-gradient(900px 480px at 14% 18%, rgba(163,177,138,0.18), transparent 60%),
    radial-gradient(900px 520px at 86% 82%, rgba(227,6,19,0.08), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}
.theme-dark .timeline-section {
  background:
    linear-gradient(180deg, rgba(24,20,26,0.85) 0%, rgba(24,20,26,0.78) 32%, rgba(24,20,26,0.70) 100%),
    radial-gradient(900px 480px at 14% 18%, rgba(163,177,138,0.16), transparent 60%),
    radial-gradient(900px 520px at 86% 82%, rgba(227,6,19,0.12), transparent 62%),
    linear-gradient(180deg, rgba(24,20,26,1) 0%, rgba(24,20,26,0.96) 100%);
}

/* Cool mesh background variant */
.timeline-section.tl-cool { position: relative; overflow: hidden; }
.timeline-section.tl-cool::before {
  content: "";
  position: absolute; inset: -20% -10% -15% -10%;
  background:
    radial-gradient(40% 35% at 12% 18%, rgba(227,6,19,0.18), transparent 60%),
    radial-gradient(36% 32% at 82% 20%, rgba(163,177,138,0.22), transparent 60%),
    radial-gradient(50% 45% at 48% 86%, rgba(244,227,195,0.28), transparent 60%);
  filter: blur(36px);
  opacity: .42;
  transform: translate3d(0,0,0);
  animation: mesh-drift 14s ease-in-out infinite alternate;
  z-index: 0;
}
.timeline-section.tl-cool::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(120% 60% at 50% 0%, rgba(255,255,255,0.65), transparent 70%),
              radial-gradient(120% 60% at 50% 100%, rgba(255,255,255,0.55), transparent 70%);
}
.timeline-section.tl-cool .container { position: relative; z-index: 1; }

@keyframes mesh-drift {
  0%   { transform: translate(-2%, -1%) scale(1) rotate(0deg); }
  50%  { transform: translate(2%, 1%) scale(1.05) rotate(1.5deg); }
  100% { transform: translate(0%, 0%) scale(1.02) rotate(-1deg); }
}

.theme-dark .timeline-section.tl-cool::before {
  opacity: .5;
  filter: blur(46px);
}
.theme-dark .timeline-section.tl-cool::after {
  background: radial-gradient(120% 60% at 50% 0%, rgba(0,0,0,0.22), transparent 70%),
              radial-gradient(120% 60% at 50% 100%, rgba(0,0,0,0.18), transparent 70%);
}

@media (prefers-reduced-motion: reduce) {
  .timeline-section.tl-cool::before { animation: none; }
}

/* Cylinder spin intro animation for timeline */
.timeline-section .timeline { perspective: 1000px; transform-style: preserve-3d; }
.timeline-section .timeline.cyl-anim { --cyl-shift: clamp(90px, 12vw, 220px); }
.timeline-section .timeline.cyl-anim .step {
  animation: cyl-step 1.6s ease-in-out both;
  will-change: transform, opacity;
}
.timeline-section .timeline.cyl-anim .step:nth-child(1) { --x: var(--cyl-shift); animation-delay: 0s; }
.timeline-section .timeline.cyl-anim .step:nth-child(2) { --x: calc(var(--cyl-shift) * 0.5); animation-delay: .03s; }
.timeline-section .timeline.cyl-anim .step:nth-child(3) { --x: calc(var(--cyl-shift) * -0.5); animation-delay: .06s; }
.timeline-section .timeline.cyl-anim .step:nth-child(4) { --x: calc(var(--cyl-shift) * -1); animation-delay: .09s; }

@keyframes cyl-step {
  0%   { transform: translateX(0) translateZ(0) rotateY(0); opacity: 0; }
  20%  { transform: translateX(var(--x,0)) translateZ(120px) rotateY(0); opacity: 1; }
  80%  { transform: translateX(var(--x,0)) translateZ(120px) rotateY(1080deg); opacity: 1; }
  100% { transform: translateX(0) translateZ(0) rotateY(1080deg); opacity: 1; }
}

@media (max-width: 560px) {
  .timeline-section .timeline.cyl-anim { --cyl-shift: clamp(60px, 18vw, 180px); }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-section .timeline.cyl-anim .step { animation: none; opacity: 1; transform: none; }
}

/* Timeline theme variants (apply on <section class="strip timeline-section ...">) */
/* 1) Olive variant */
.timeline-section.tl-olive {
  background:
    linear-gradient(180deg, rgba(163,177,138,0.28) 0%, rgba(244,227,195,0.18) 48%, rgba(251,251,251,0) 100%),
    radial-gradient(900px 460px at 12% 20%, rgba(163,177,138,0.22), transparent 58%),
    radial-gradient(900px 500px at 88% 80%, rgba(244,227,195,0.18), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}
.theme-dark .timeline-section.tl-olive {
  background:
    linear-gradient(180deg, rgba(24,20,26,0.86) 0%, rgba(24,20,26,0.78) 100%),
    radial-gradient(900px 460px at 12% 20%, rgba(163,177,138,0.18), transparent 58%),
    radial-gradient(900px 500px at 88% 80%, rgba(244,227,195,0.14), transparent 60%),
    linear-gradient(180deg, rgba(24,20,26,1) 0%, rgba(24,20,26,0.96) 100%);
}
.timeline-section.tl-olive .timeline .step { border-color: rgba(163,177,138,0.4); }
.timeline-section.tl-olive .timeline h3 { color: var(--accent); }
.timeline-section.tl-olive .timeline .step img { background: radial-gradient(circle at 35% 35%, rgba(163,177,138,0.6), rgba(163,177,138,0.3)); }
.timeline-section.tl-olive .timeline .step::after { background: linear-gradient(90deg, rgba(163,177,138,0.45), rgba(244,227,195,0.35)) !important; }

/* 2) Warm (primary‑tinted) variant */
.timeline-section.tl-warm {
  background:
    linear-gradient(180deg, rgba(82,16,25,0.24) 0%, rgba(65,12,21,0.18) 55%, rgba(52,9,16,0.12) 100%),
    radial-gradient(900px 460px at 18% 16%, rgba(227,6,19,0.08), transparent 60%),
    radial-gradient(900px 500px at 80% 84%, rgba(244,227,195,0.15), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}
.theme-dark .timeline-section.tl-warm {
  background:
    linear-gradient(180deg, rgba(24,20,26,0.9) 0%, rgba(24,20,26,0.84) 100%),
    radial-gradient(900px 460px at 18% 16%, rgba(227,6,19,0.12), transparent 60%),
    radial-gradient(900px 500px at 80% 84%, rgba(244,227,195,0.12), transparent 60%),
    linear-gradient(180deg, rgba(24,20,26,1) 0%, rgba(24,20,26,0.96) 100%);
}
.timeline-section.tl-warm .timeline .step { border-color: rgba(227,6,19,0.28); }
.timeline-section.tl-warm .timeline h3 { color: var(--primary); }
.timeline-section.tl-warm .timeline .step img { background: radial-gradient(circle at 35% 35%, rgba(244,227,195,0.7), rgba(227,6,19,0.18)); }
.timeline-section.tl-warm .timeline .step::after { background: linear-gradient(90deg, rgba(227,6,19,0.45), rgba(244,227,195,0.35)) !important; }

/* 3) Glass variant (subtle translucency) */
.timeline-section.tl-glass {
  background:
    radial-gradient(1000px 500px at 14% 18%, rgba(244,227,195,0.18), transparent 60%),
    radial-gradient(900px 520px at 86% 82%, rgba(163,177,138,0.16), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}
.timeline-section.tl-glass .timeline .step {
  background: rgba(255,255,255,0.6);
  border-color: rgba(244,227,195,0.45);
}
@supports (backdrop-filter: blur(6px)) or (-webkit-backdrop-filter: blur(6px)) {
  .timeline-section.tl-glass .timeline .step { backdrop-filter: blur(8px) saturate(120%); -webkit-backdrop-filter: blur(8px) saturate(120%); background: rgba(255,255,255,0.35); }
}
.theme-dark .timeline-section.tl-glass .timeline .step { background: rgba(28,22,32,0.45); border-color: rgba(244,227,195,0.28); }
@supports (backdrop-filter: blur(6px)) or (-webkit-backdrop-filter: blur(6px)) {
  .theme-dark .timeline-section.tl-glass .timeline .step { backdrop-filter: blur(8px) saturate(120%); -webkit-backdrop-filter: blur(8px) saturate(120%); background: rgba(28,22,32,0.35); }
}
.timeline-section.tl-glass .timeline .step::after { background: linear-gradient(90deg, rgba(244,227,195,0.45), rgba(163,177,138,0.35)) !important; }

/* 4) Plain minimal variant */
.timeline-section.tl-plain { background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%); }
.theme-dark .timeline-section.tl-plain { background: linear-gradient(180deg, rgba(24,20,26,1) 0%, rgba(24,20,26,0.96) 100%); }
.timeline-section.tl-plain .timeline .step { background: #fff; border-color: rgba(52,58,64,0.12); box-shadow: var(--shadow); }
.theme-dark .timeline-section.tl-plain .timeline .step { background: var(--card); border-color: var(--border); }

/* 5) Olive-soft: very light, airy */
.timeline-section.tl-olive-soft {
  background:
    linear-gradient(180deg, rgba(163,177,138,0.14) 0%, rgba(244,227,195,0.10) 100%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}
.theme-dark .timeline-section.tl-olive-soft {
  background:
    linear-gradient(180deg, rgba(24,20,26,0.9) 0%, rgba(24,20,26,0.84) 100%),
    radial-gradient(900px 480px at 14% 18%, rgba(163,177,138,0.14), transparent 60%),
    linear-gradient(180deg, rgba(24,20,26,1) 0%, rgba(24,20,26,0.96) 100%);
}

/* 6) Brand-hero: echoes hero palette */
.timeline-section.tl-brand-hero {
  background:
    linear-gradient(180deg, rgba(82,16,25,0.28) 0%, rgba(65,12,21,0.22) 55%, rgba(52,9,16,0.16) 100%),
    radial-gradient(circle at 50% 12%, rgba(227,6,19,0.08), transparent 65%),
    radial-gradient(circle at 18% 24%, rgba(244,227,195,0.12), transparent 58%),
    radial-gradient(circle at 78% 82%, rgba(163,177,138,0.10), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}
.theme-dark .timeline-section.tl-brand-hero {
  background:
    linear-gradient(180deg, rgba(24,20,26,0.9) 0%, rgba(24,20,26,0.84) 100%),
    radial-gradient(circle at 50% 12%, rgba(227,6,19,0.12), transparent 65%),
    radial-gradient(circle at 18% 24%, rgba(244,227,195,0.14), transparent 58%),
    radial-gradient(circle at 78% 82%, rgba(163,177,138,0.12), transparent 62%),
    linear-gradient(180deg, rgba(24,20,26,1) 0%, rgba(24,20,26,0.96) 100%);
}

/* 7) Diagonal split: beige -> olive */
.timeline-section.tl-diagonal {
  background:
    linear-gradient(135deg, rgba(244,227,195,0.45) 0%, rgba(244,227,195,0.28) 45%, rgba(163,177,138,0.22) 55%, rgba(163,177,138,0.10) 100%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}
.theme-dark .timeline-section.tl-diagonal {
  background:
    linear-gradient(135deg, rgba(82,16,25,0.18) 0%, rgba(65,12,21,0.16) 45%, rgba(24,20,26,0.78) 55%, rgba(24,20,26,0.86) 100%),
    linear-gradient(180deg, rgba(24,20,26,1) 0%, rgba(24,20,26,0.96) 100%);
}

/* 8) Noise paper: subtle texture */
.timeline-section.tl-noise { position: relative; }
.timeline-section.tl-noise { background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%); }
.timeline-section.tl-noise::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.018) 0 1px, transparent 1px 2px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.012) 0 1px, transparent 1px 2px);
  mix-blend-mode: multiply; opacity: .5;
}
.theme-dark .timeline-section.tl-noise { background: linear-gradient(180deg, rgba(24,20,26,1) 0%, rgba(24,20,26,0.96) 100%); }
.theme-dark .timeline-section.tl-noise::after { opacity: .25; }

/* 9) Brand-solid: no white base, fully opaque brand-tinted gradient */
.timeline-section.tl-brand-solid {
  background:
    linear-gradient(180deg, rgba(28,16,18,0.92) 0%, rgba(28,16,18,0.84) 55%, rgba(28,16,18,0.78) 100%),
    radial-gradient(900px 520px at 20% 15%, rgba(227,6,19,0.10), transparent 60%),
    radial-gradient(900px 520px at 82% 85%, rgba(163,177,138,0.12), transparent 60%);
}
.theme-dark .timeline-section.tl-brand-solid {
  background:
    linear-gradient(180deg, rgba(18,14,18,0.96) 0%, rgba(18,14,18,0.90) 60%, rgba(18,14,18,0.82) 100%),
    radial-gradient(900px 520px at 20% 15%, rgba(227,6,19,0.12), transparent 60%),
    radial-gradient(900px 520px at 82% 85%, rgba(163,177,138,0.14), transparent 60%);
}

/* 10) Olive-solid: no white base, soft olive tint */
.timeline-section.tl-olive-solid {
  background:
    linear-gradient(180deg, rgba(46,56,44,0.92) 0%, rgba(46,56,44,0.84) 55%, rgba(46,56,44,0.76) 100%), /* deep olive-neutral */
    radial-gradient(900px 520px at 18% 16%, rgba(163,177,138,0.20), transparent 60%),
    radial-gradient(900px 520px at 82% 86%, rgba(244,227,195,0.18), transparent 60%);
}

/* 12) Dots pattern (subtle) */
.timeline-section.tl-dots { position: relative; background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%); }
.timeline-section.tl-dots::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle, rgba(163,177,138,0.12) 1px, transparent 1.5px) 0 0/18px 18px,
    radial-gradient(circle, rgba(244,227,195,0.10) 1px, transparent 1.5px) 9px 9px/18px 18px;
  opacity: .6;
}
.theme-dark .timeline-section.tl-dots { background: linear-gradient(180deg, rgba(24,20,26,1) 0%, rgba(24,20,26,0.96) 100%); }
.theme-dark .timeline-section.tl-dots::after { opacity: .35; }

/* 13) Soft stripes */
.timeline-section.tl-stripes {
  background:
    linear-gradient(180deg, rgba(244,227,195,0.30) 0%, rgba(163,177,138,0.18) 100%),
    repeating-linear-gradient(135deg, rgba(163,177,138,0.10) 0 12px, rgba(244,227,195,0.10) 12px 24px, transparent 24px 36px),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}
.theme-dark .timeline-section.tl-stripes {
  background:
    linear-gradient(180deg, rgba(24,20,26,0.9) 0%, rgba(24,20,26,0.84) 100%),
    repeating-linear-gradient(135deg, rgba(163,177,138,0.16) 0 12px, rgba(244,227,195,0.14) 12px 24px, transparent 24px 36px),
    linear-gradient(180deg, rgba(24,20,26,1) 0%, rgba(24,20,26,0.96) 100%);
}

/* 11) Beams (conic accents) */
.timeline-section.tl-beams {
  background:
    linear-gradient(180deg, rgba(244,227,195,0.42) 0%, rgba(163,177,138,0.22) 100%),
    conic-gradient(from 250deg at 12% 0%, rgba(227,6,19,0.12) 0 22deg, transparent 22deg 360deg),
    conic-gradient(from 120deg at 88% 100%, rgba(163,177,138,0.16) 0 20deg, transparent 20deg 360deg),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}
.theme-dark .timeline-section.tl-beams {
  background:
    linear-gradient(180deg, rgba(24,20,26,0.9) 0%, rgba(24,20,26,0.84) 100%),
    conic-gradient(from 250deg at 12% 0%, rgba(227,6,19,0.18) 0 22deg, transparent 22deg 360deg),
    conic-gradient(from 120deg at 88% 100%, rgba(163,177,138,0.18) 0 20deg, transparent 20deg 360deg),
    linear-gradient(180deg, rgba(24,20,26,1) 0%, rgba(24,20,26,0.96) 100%);
}
.theme-dark .timeline-section.tl-olive-solid {
  background:
    linear-gradient(180deg, rgba(24,28,24,0.96) 0%, rgba(24,28,24,0.90) 60%, rgba(24,28,24,0.82) 100%),
    radial-gradient(900px 520px at 18% 16%, rgba(163,177,138,0.22), transparent 60%),
    radial-gradient(900px 520px at 82% 86%, rgba(244,227,195,0.18), transparent 60%);
}

/* Timeline section – refreshed card, text and no numeric badges */
.timeline-section .timeline .step {
  /* Darker variant card */
  background: linear-gradient(180deg, rgba(28,22,32,0.90) 0%, rgba(28,22,32,0.78) 100%);
  border: 1px solid rgba(244,227,195,0.28);
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(18,16,20,0.24), inset 0 3px 0 rgba(227,6,19,0.28);
}
.theme-dark .timeline-section .timeline .step {
  background: linear-gradient(180deg, rgba(24,20,26,0.92) 0%, rgba(24,20,26,0.82) 100%);
  border-color: rgba(244,227,195,0.32);
  box-shadow: 0 14px 28px rgba(0,0,0,0.38), inset 0 3px 0 rgba(227,6,19,0.35);
}
.timeline-section .timeline .step::before { display: none; content: none; }

.timeline-section .timeline h3 { color: var(--beige); letter-spacing: .01em; }
.timeline-section .timeline p { color: rgba(248,244,246,0.92); }
.theme-dark .timeline-section .timeline p { color: rgba(248,244,246,0.92); }

/* Icon capsule tint for this section */
.timeline-section .timeline .step img {
  background: radial-gradient(circle at 35% 35%, rgba(244,227,195,0.55), rgba(163,177,138,0.28));
  box-shadow: 0 10px 20px rgba(0,0,0,0.28);
}
.theme-dark .timeline-section .timeline .step img {
  background: radial-gradient(circle at 35% 35%, rgba(244,227,195,0.42), rgba(163,177,138,0.24));
  box-shadow: 0 12px 24px rgba(0,0,0,0.42);
}

/* Dark connectors for darker cards */
.timeline-section .timeline .step::after { background: linear-gradient(90deg, rgba(244,227,195,0.45), rgba(163,177,138,0.35)) !important; }

/* Connectors between steps (brand-colored) */
@media (min-width: 901px) {
  /* 4 columns layout */
  .timeline .step { --conn-w: 26px; }
  .timeline .step:not(:nth-child(4n))::after { content: ""; position: absolute; top: 34px; right: calc(-1 * var(--conn-w) / 2); width: var(--conn-w); height: 2px; background: linear-gradient(90deg, rgba(227,6,19,0.35), rgba(163,177,138,0.35)); border-radius: 2px; }
}
@media (max-width: 900px) and (min-width: 561px) {
  /* 2 columns layout */
  .timeline .step { --conn-w: 20px; }
  .timeline .step:not(:nth-child(2n))::after { content: ""; position: absolute; top: 34px; right: calc(-1 * var(--conn-w) / 2); width: var(--conn-w); height: 2px; background: linear-gradient(90deg, rgba(227,6,19,0.35), rgba(163,177,138,0.35)); border-radius: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .timeline .step:hover { transform: none; }
  .timeline .step:hover img { transform: none; }
}

/* Timeline reveal animation + responsiveness */
@keyframes tl-reveal { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.timeline .step { opacity: 0; transform: translateY(10px) scale(.98); }
.timeline.revealed .step { animation: tl-reveal 460ms cubic-bezier(.2,.6,.2,1) both; }
.timeline.revealed .step:nth-child(1) { animation-delay: 40ms; }
.timeline.revealed .step:nth-child(2) { animation-delay: 120ms; }
.timeline.revealed .step:nth-child(3) { animation-delay: 200ms; }
.timeline.revealed .step:nth-child(4) { animation-delay: 280ms; }

/* Smooth soft-in variant (used instead of cylinder) */
@keyframes tl-soft-in {
  0%   { opacity: 0; transform: translateY(18px) scale(.96); filter: blur(6px); }
  60%  { opacity: 1; transform: translateY(-2px) scale(1.01); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.timeline.soft-anim .step { animation: tl-soft-in 700ms cubic-bezier(.2,.6,.2,1) both; }
.timeline.soft-anim .step:nth-child(1) { animation-delay: 40ms; }
.timeline.soft-anim .step:nth-child(2) { animation-delay: 120ms; }
.timeline.soft-anim .step:nth-child(3) { animation-delay: 200ms; }
.timeline.soft-anim .step:nth-child(4) { animation-delay: 280ms; }

/* Neutralize cylinder animation if present */
.timeline-section .timeline.cyl-anim .step { animation: none !important; transform: none !important; opacity: 1 !important; filter: none !important; }

@media (max-width: 900px) {
    .timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .timeline { grid-template-columns: 1fr; }
}
.partners-section { position: relative; }
.partners-section h2.center { position: relative; }
.partners-section h2.center::after {
    content: "";
    display: block;
    width: 72px;
    height: 3px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 2px;
    opacity: .8;
}
.partners-subtitle { color: var(--muted); margin-bottom: 18px; font-size: 0.95rem; }

/* Partners background photo */
.partners-section {
    background-image:
        linear-gradient(0deg, rgba(255,255,255,0.9), rgba(255,255,255,0.9)),
        url('https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?q=80&w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.partners-section .container { position: relative; z-index: 1; }
@media (prefers-color-scheme: dark) {
    .partners-section {
        background-image:
            linear-gradient(0deg, rgba(16,18,24,0.78), rgba(16,18,24,0.78)),
            url('https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?q=80&w=1600&auto=format&fit=crop');
    }
}

/* Partners: no-photo variant (brand gradients only) */
.partners-section.no-photo {
    background:
        linear-gradient(180deg, rgba(244,227,195,0.45) 0%, rgba(163,177,138,0.22) 100%),
        linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}
@media (prefers-color-scheme: dark) {
  .partners-section.no-photo {
    /* Remove darkening in dark scheme too: keep light, brand-tinted background */
    background:
        radial-gradient(900px 420px at 12% 18%, rgba(244,227,195,0.22), transparent 60%),
        radial-gradient(900px 420px at 88% 82%, rgba(163,177,138,0.18), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
  }
}

/* Infinite marquee-style logo scroller */
.logo-scroller { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track {
    display: flex;
    gap: 16px;
    align-items: center;
    width: max-content;
    animation: logos-scroll 28s linear infinite;
}
.logo-scroller:hover .logo-track { animation-play-state: paused; }

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

/* Card polish */
.logo-track .logo-card { height: 72px; min-width: 160px; padding: 16px 18px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.logo-track .logo-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(18,16,20,0.16); border-color: rgba(227,6,19,0.18); }
.logo-track .logo-card img {
    max-height: 40px;
    width: auto;
    opacity: .85;
    filter: grayscale(100%);
    border-radius: 0;
    object-fit: contain;
    transition: filter .18s ease, opacity .18s ease;
}
.logo-track .logo-card:hover img { opacity: 1; filter: none; }

@media (max-width: 720px) {
    .logo-track .logo-card { min-width: 130px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
    .logo-track { animation: none; }
    .logo-scroller { mask-image: none; }
}
/* Contact hero */
.contact-hero {
  background:
    linear-gradient(180deg, rgba(24,20,26,0.9) 0%, rgba(24,20,26,0.65) 100%),
    url('../img/Kontakt.jpg');
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  border-bottom-color: rgba(244,227,195,0.45);
  height: 38vh;
}
.contact-hero .container { max-width: var(--container); }
.contact-hero h1 { margin: 0 0 12px; font-size: clamp(32px, 5vw, 50px); color: #f7f9fc; text-shadow: 0 2px 10px rgba(0,0,0,0.35); letter-spacing: -0.01em; max-width: 24ch; }
.contact-hero h1::after { content: ""; display: block; width: 84px; height: 4px; margin-top: 10px; background: linear-gradient(90deg, var(--beige), var(--accent)); border-radius: 2px; opacity: .95; }
.contact-hero p { max-width: 70ch; color: rgba(255,255,255,0.92); text-shadow: 0 1px 6px rgba(0,0,0,0.28); }

/* Legal page hero */
.legal-hero {
  background:
    linear-gradient(180deg, rgba(24,20,26,0.9) 0%, rgba(24,20,26,0.65) 100%),
    url('../img/Impressum & Datenschutz.jpg');
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(244,227,195,0.45);
  height: 30vh;
}
.legal-hero h1 { margin: 0 0 12px; font-size: clamp(36px, 5vw, 54px); color: #f7f9fc; text-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.legal-hero h1::after { content: ""; display: block; width: 84px; height: 4px; margin-top: 10px; background: linear-gradient(90deg, var(--beige), var(--accent)); border-radius: 2px; opacity: .95; }
.legal-hero p { margin: 0; max-width: 70ch; color: rgba(255,255,255,0.92); text-shadow: 0 1px 6px rgba(0,0,0,0.28); }

/* Legal content card */
.legal-text { background: #fff; border: 1px solid rgba(244,227,195,0.55); border-radius: 14px; padding: 18px 20px; box-shadow: 0 12px 26px rgba(18,16,20,0.08); }
.legal-text h2 { font-size: clamp(22px, 3vw, 28px); margin: 12px 0 8px; border-left: 4px solid var(--accent); padding-left: 10px; }
.legal-text h3 { font-size: clamp(18px, 2.4vw, 22px); margin: 14px 0 6px; }
.legal-text p, .legal-text li { color: #50565c; line-height: 1.65; }
.legal-text ul { padding-left: 20px; margin: 6px 0 10px; }
.legal-text a { color: var(--primary); font-weight: 700; }
/* Inline button links inside legal text */
.legal-text .btn.text { border: none; background: none; padding: 0; box-shadow: none; color: var(--primary); font-weight: 700; }
.legal-text .btn.text:hover { text-decoration: underline; transform: none; }
/* Key-value alignment for paragraphs like "Firma: ..." */
.legal-text p > strong { display: inline-block; min-width: 200px; color: #2f3439; }
@media (max-width: 560px) { .legal-text p > strong { min-width: 140px; } }
/* Soft section separators */
.legal-text h2 + p,
.legal-text h3 + p { margin-top: 4px; }
.legal-text .section-divider { height: 1px; background: rgba(244,227,195,0.55); margin: 14px 0; border-radius: 1px; }
/* Note/callout box */
.legal-text .note { background: rgba(244,227,195,0.2); border: 1px solid rgba(244,227,195,0.6); border-left: 4px solid var(--accent); padding: 10px 12px; border-radius: 10px; color: #5a6168; }
