/* ═══════════════════════════════════════════════
   takeKONTROL — enquiry page styles
   Loaded after tokens.css, base.css and chrome.css.
   ═══════════════════════════════════════════════ */

* { box-sizing: border-box; }

body, html {
            margin: 0; padding: 0;
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            color: var(--text-main); line-height: 1.6; scroll-behavior: smooth;
            background-color: var(--primary-bg);
            transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
            overflow-x: hidden;
        }

.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* Interactive Action Elements */

.btn {
            display: inline-flex; align-items: center; justify-content: center; padding: 12px 32px; text-decoration: none; 
            font-weight: 500; border-radius: 50px; transition: all var(--transition-speed) ease; cursor: pointer; 
            border: 1px solid transparent; font-size: 0.95rem; letter-spacing: 0.5px;
        }

.btn-primary:hover { background-color: var(--primary-red-hover); box-shadow: 0 4px 15px rgba(179, 32, 32, 0.4); }

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

.btn-outline-adaptive:hover { background-color: var(--text-heading); color: var(--primary-bg); }

/* Flush Corporate Global Header Navigation */

.tesla-header {
            position: fixed; top: 0; left: 0; width: 100%; display: flex; justify-content: space-between; align-items: center; 
            padding: 16px 48px; z-index: 1000; background: transparent; background-image: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
            color: #ffffff; transition: background var(--transition-speed) ease, box-shadow var(--transition-speed) ease, color var(--transition-speed) ease;
        }

.tesla-header.scrolled {
            background-color: var(--header-bg-scrolled); backdrop-filter: blur(10px); background-image: none;
            box-shadow: 0 2px 20px rgba(0,0,0,0.1); border-bottom: 1px solid var(--border-color); color: var(--nav-text-scrolled);
        }

.tesla-header .logo { display: flex; align-items: center; font-weight: 700; font-size: 1.1rem; letter-spacing: 1px; }

.tesla-header a, .tesla-header .logo, .theme-toggle, .lang-toggle { color: inherit; text-decoration: none; }

.lang-toggle { background: none; border: none; cursor: pointer; font-size: 0.85rem; font-weight: 700; padding: 6px 10px; border-radius: var(--radius-corp); letter-spacing: 0.5px; transition: background var(--transition-speed) ease; }

.theme-toggle { background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 8px; border-radius: var(--radius-corp); transition: transform 0.2s ease, background var(--transition-speed) ease; }

.cart-wrapper { position: relative; display: flex; align-items: center; cursor: pointer; padding: 8px; border-radius: var(--radius-corp); transition: background var(--transition-speed) ease; margin-left: 5px; }

.drawer-header .logo { font-weight: 700; font-size: 1.1rem; color: var(--text-heading); letter-spacing: 1px; }

/* ═══════════════════════════════════════════════
   Company enquiry page
   A black-to-red gradient stage with white cards on top of it. The
   gradient is built from two soft red glows over a near-black base,
   so it deepens back to the footer's colour at the bottom instead of
   ending in a hard seam.
   ═══════════════════════════════════════════════ */

.enq-page {
            min-height: 100vh; color: #fff;
            background:
                radial-gradient(1100px 680px at 92% 2%, rgba(205, 42, 42, 0.72), transparent 64%),
                radial-gradient(900px 640px at 2% 90%, rgba(160, 30, 30, 0.55), transparent 66%),
                linear-gradient(165deg, #050001 0%, #16040a 34%, #2e0a10 66%, #1a0508 100%);
        }

.enq-wrap { max-width: 1160px; margin: 0 auto; padding: 0 40px; }

/* Hero */

.enq-hero { padding: 172px 0 60px; }

.enq-eyebrow {
            margin: 0 0 18px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.18em;
            text-transform: uppercase; color: #ff6b6b;
        }

.enq-title {
            margin: 0 0 26px; font-size: clamp(2.2rem, 6.2vw, 4.4rem); line-height: 1.05;
            letter-spacing: -0.025em; font-weight: 800; color: #fff;
        }

.enq-title span { display: block; text-wrap: balance; }

.enq-title__accent { color: #ff4d4d; }

.enq-lede { max-width: 640px; margin: 0; font-size: 1.15rem; line-height: 1.7; color: rgba(255, 255, 255, 0.78); }

/* Three reasons, as cards with a gradient edge */

.enq-features { padding: 28px 0 56px; }

.enq-features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.enq-feature {
            position: relative; overflow: hidden; background: var(--card-bg); border-radius: 22px;
            padding: 30px 32px 32px 38px; box-shadow: 0 28px 44px -20px rgba(0, 0, 0, 0.6);
        }

.enq-feature::before {
            content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
            background: linear-gradient(180deg, #d32f2f 0%, #4a1218 100%);
        }

.enq-feature__badge {
            display: inline-flex; align-items: center; justify-content: center; min-width: 54px; height: 54px;
            padding: 0 12px; margin-bottom: 20px; border-radius: 15px; background: rgba(179, 32, 32, 0.1);
            color: var(--primary-red); font-size: 1.15rem; font-weight: 800; line-height: 1;
        }

[data-theme="dark"] .enq-feature__badge { background: rgba(211, 47, 47, 0.18); }

.enq-feature h3 { margin: 0 0 8px; font-size: 1.3rem; color: var(--text-heading); }

.enq-feature p { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--text-muted); }

/* Form */

.enq-form-section { padding: 34px 0 96px; scroll-margin-top: 90px; }

.enq-form-wrap { max-width: 960px; }

.enq-form-section h2 {
            margin: 0 0 26px; font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800;
            letter-spacing: -0.02em; color: #fff;
        }

.enq-card {
            background: var(--card-bg); border-radius: 26px; padding: 40px 42px 44px;
            box-shadow: 0 34px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);
        }

.enq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 26px; }

.enq-field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }

.enq-field--full { grid-column: 1 / -1; }

.enq-field label { font-size: 0.98rem; font-weight: 700; color: var(--text-heading); }

.enq-field input, .enq-field select, .enq-field textarea {
            width: 100%; padding: 15px 18px; border: 1px solid var(--border-color); border-radius: 15px;
            background: var(--secondary-bg); color: var(--text-main); font: inherit; font-size: 1rem;
            transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
        }

.enq-field input:focus, .enq-field select:focus, .enq-field textarea:focus {
            outline: none; border-color: var(--primary-red); background: var(--card-bg);
            box-shadow: 0 0 0 4px rgba(179, 32, 32, 0.16);
        }

.enq-field input, .enq-field select { height: 58px; }

.enq-field textarea { min-height: 138px; resize: vertical; }

.enq-field.is-invalid input, .enq-field.is-invalid select {
            border-color: #d32f2f; background: rgba(211, 47, 47, 0.06);
        }

.enq-consent { display: flex; align-items: flex-start; gap: 14px; margin: 30px 0 26px; }

.enq-consent input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--primary-red); cursor: pointer; }

.enq-consent label { font-size: 0.98rem; line-height: 1.55; color: var(--text-muted); cursor: pointer; }

.enq-consent a { color: var(--primary-red); font-weight: 600; text-decoration: underline; }

.enq-consent.is-invalid label { color: #d32f2f; }

.enq-submit {
            display: inline-flex; align-items: center; justify-content: center; padding: 17px 38px; border: 0;
            border-radius: 16px; background: linear-gradient(135deg, #d32f2f 0%, #8c1919 100%); color: #fff;
            font: inherit; font-size: 1.05rem; font-weight: 700; cursor: pointer;
            box-shadow: 0 12px 30px rgba(179, 32, 32, 0.38);
            transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
        }

.enq-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(179, 32, 32, 0.5); }

.enq-submit:disabled { opacity: 0.65; cursor: wait; transform: none; }

.enq-error {
            margin-bottom: 24px; padding: 14px 18px; border-radius: 12px; border: 1.5px solid #d32f2f;
            border-left-width: 6px; background: rgba(211, 47, 47, 0.09); color: var(--text-heading);
            font-size: 0.98rem; font-weight: 600;
        }

.enq-error[hidden], .enq-success[hidden] { display: none; }

/* Success */

.enq-success { padding: 56px 16px 40px; text-align: center; }

.enq-success h3 { margin: 0 0 12px; font-size: 1.9rem; color: var(--text-heading); }

.enq-success p { max-width: 480px; margin: 0 auto 28px; color: var(--text-muted); }

.enq-back { color: var(--primary-red); font-weight: 700; text-decoration: none; }

.enq-back:hover { text-decoration: underline; }

/* Direct contact under the form */

.enq-direct { margin-top: 34px; font-size: 0.98rem; color: rgba(255, 255, 255, 0.74); }

.enq-direct p { margin: 0 0 10px; font-size: inherit; color: inherit; }

.enq-direct ul { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 0 0 18px; padding: 0; list-style: none; }

.enq-direct a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.35); }

.enq-direct a:hover { border-bottom-color: #fff; }

/* Scroll reveal — only armed once the script is running, so the page is
   never left invisible if it fails to load. */

.enq-js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }

.enq-js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
            .enq-js .reveal { opacity: 1; transform: none; transition: none; }
        }

/* Layout Footer */

footer { background-color: var(--footer-bg); border-top: 1px solid var(--border-color); padding: 80px 0 40px; color: var(--text-muted); transition: background-color var(--transition-speed) ease; }

.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; }

@media (max-width: 992px) {
            .tesla-header { padding: 16px 24px; }
            .enq-features__grid { grid-template-columns: 1fr; }
            .enq-hero { padding-top: 150px; }
        }

@media (max-width: 768px) {
            .desktop-only, .center-nav { display: none !important; } .mobile-toggle { display: inline-flex !important; }
            .enq-wrap { padding: 0 20px; }
            .enq-hero { padding: 128px 0 40px; }
            .enq-lede { font-size: 1.05rem; }
            .enq-features { padding-bottom: 36px; }
            .enq-feature { padding: 26px 24px 26px 30px; }
            .enq-form-section { padding-bottom: 64px; }
            .enq-card { padding: 26px 20px 30px; border-radius: 22px; }
            .enq-grid { grid-template-columns: 1fr; gap: 20px; }
            .enq-submit { width: 100%; }
            .footer-grid { grid-template-columns: 1fr; gap: 40px; }
            .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
        }
