/* ═══════════════════════════════════════════════════════════════
   3DPRINTFAST — Global Stylesheet
   ═══════════════════════════════════════════════════════════════ */

/* ─── LOCAL FONTS ─── */
@font-face {
    font-family: 'Agipo';
    src: url('assets/fonts/agipo/agipo-regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Agipo';
    src: url('assets/fonts/agipo/agipo-bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Agipo';
    src: url('assets/fonts/agipo/agipo-light-italic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SuisseIntl';
    src: url('assets/fonts/SuisseIntl/SuisseIntl-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SuisseIntl';
    src: url('assets/fonts/SuisseIntl/SuisseIntl-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SuisseIntl';
    src: url('assets/fonts/SuisseIntl/SuisseIntl-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SuisseIntl';
    src: url('assets/fonts/SuisseIntl/SuisseIntl-Book.otf') format('opentype');
    font-weight: 450;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SuisseIntl';
    src: url('assets/fonts/SuisseIntl/SuisseIntl-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SuisseIntl';
    src: url('assets/fonts/SuisseIntl/SuisseIntl-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SuisseIntl';
    src: url('assets/fonts/SuisseIntl/SuisseIntl-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SuisseIntl';
    src: url('assets/fonts/SuisseIntl/SuisseIntl-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ─── TOKENS ─── */
:root {
    /* Palette */
    --primary: #6289EC;
    --primary-dk: #4a6fd4;
    --primary-lt: #8aaaf2;
    --sec1: #EDC564;
    /* gold */
    --sec2: #737D98;
    /* slate */
    --ter1: #EDE164;
    /* yellow-lime */
    --ter2: #64D3ED;
    /* cyan */

    --white: #ffffff;
    --off-white: #f7f8fb;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --dark: #0d0f1a;
    --dark-2: #141726;
    --dark-3: #1a1e30;

    /* Typography */
    --font: 'SuisseIntl', system-ui, -apple-system, sans-serif;
    --font-display: 'Agipo', system-ui, sans-serif;

    /* Spacing & Shape */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --nav-h: 72px;

    /* Shadows — flat, no gradient glow */
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, .07);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, .08);
    --shadow-lg: 0 20px 56px rgba(0, 0, 0, .11);

    --transition: 0.28s cubic-bezier(.25, .8, .25, 1);
    --transition-fast: 0.16s ease;
}

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

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

body {
    font-family: var(--font);
    font-weight: 400;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

/* ─── UTILITY ─── */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background: var(--off-white);
}

.bg-dark {
    background: var(--dark);
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 50px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: .02em;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--sec1);
    color: var(--gray-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-ghost {
    background: transparent;
    color: var(--gray-700);
    border: 1.5px solid var(--gray-300);
    border-radius: 50px;
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-xl {
    padding: 16px 36px;
    font-size: 0.95rem;
    letter-spacing: .04em;
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .3);
}

.btn-outline-white:hover {
    border-color: #fff;
    transform: translateY(-2px);
}

/* ─── SECTION HEADER ─── */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(98, 137, 236, .08);
    border: 1px solid rgba(98, 137, 236, .18);
    padding: 5px 14px;
    border-radius: 2px;
    margin-bottom: 18px;
}

.section-tag.light {
    color: var(--gray-800);
    background: var(--sec1);
    border-color: var(--sec1);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.05;
    color: var(--gray-800);
    margin-bottom: 18px;
    letter-spacing: -.02em;
}

.section-header.light .section-title {
    color: #fff;
}

.section-sub {
    color: var(--gray-500);
    max-width: 520px;
    margin: 0 auto;
    font-size: 0.95rem;
}

.section-sub.light {
    color: rgba(255, 255, 255, .6);
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 1000;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    display: flex;
    align-items: center;
    height: 100%;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--gray-800);
    flex-shrink: 0;
    letter-spacing: .01em;
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: .75;
}

.logo-icon {
    color: var(--primary);
    font-size: 1em;
    line-height: 1;
}

.logo-text strong {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    padding: 7px 13px;
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-500);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(98, 137, 236, .08);
}

.nav-cta {
    flex-shrink: 0;
}

a.nav-cta {
    background: var(--sec1);
    color: var(--gray-800);
    padding: 8px 20px;
    font-weight: 600;
}

a.nav-cta:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
}

.burger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.burger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    padding-top: var(--nav-h);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--white);
}

.hero-bg-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--off-white);
    clip-path: polygon(12% 0%, 100% 0%, 100% 100%, 0% 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    flex: 3;
    padding: 60px 40px 60px 5vw;
    max-width: none;
    margin-left: 0;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--sec2);
    border: 1px solid var(--gray-300);
    padding: 6px 14px;
    border-radius: 2px;
    margin-bottom: 28px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 600;
    line-height: 1.0;
    color: var(--gray-800);
    margin-bottom: 26px;
    letter-spacing: -.02em;
}

.hero-title .accent {
    color: var(--primary);
}

.hero-sub {
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: 40px;
    line-height: 1.75;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 36px;
}

.stat {
    text-align: left;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1;
}

.stat-unit {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--sec1);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-400);
    font-weight: 500;
    margin-top: 4px;
    white-space: nowrap;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--gray-200);
}

.hero-visual {
    flex: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 40px 3vw 40px 0;
    max-width: none;
    margin-right: 5vw;
    position: relative;
    z-index: 1;
}

.hero-img-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s cubic-bezier(.25, .8, .25, 1);
}

.hero-img {
    width: 100%;
    max-width: 416px;
    display: block;
}

.hero-img-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--white);
    border-radius: 4px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
}

.hero-img-badge-dot {
    width: 10px;
    height: 10px;
    background: var(--sec1);
    border-radius: 50%;
    animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }
}

.hero-img-badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-700);
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 36px 30px;
    transition: all var(--transition);
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--sec1);
    color: var(--gray-800);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 50px;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(98, 137, 236, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--icon-color, var(--primary));
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.service-list li::before {
    content: '—';
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

/* Laser card note */
.service-note {
    margin-top: 16px;
    padding: 0;
    background: none;
    border: none;
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1.5;
    font-style: italic;
}

.service-note strong {
    color: var(--gray-700);
}

/* ═══════════════════════════════════════════════════════════════
   PROCESS
   ═══════════════════════════════════════════════════════════════ */
.process-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--primary);
    opacity: .45;
    line-height: 1;
    margin-bottom: 16px;
}

/* Per-step accent colors */
.process-step:nth-child(1) .step-number {
    color: var(--primary);
}

.process-step:nth-child(3) .step-number {
    color: var(--sec1);
}

.process-step:nth-child(5) .step-number {
    color: var(--ter2);
}

.process-step:nth-child(7) .step-number {
    color: var(--sec2);
}

.step-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--gray-800);
}

.step-content p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.process-connector {
    width: 48px;
    flex-shrink: 0;
    height: 1px;
    background: var(--gray-200);
    margin-top: 28px;
}

/* ═══════════════════════════════════════════════════════════════
   MATERIALS TABS
   ═══════════════════════════════════════════════════════════════ */
.tab-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 9px 22px;
    border: 1.5px solid var(--gray-200);
    border-radius: 4px;
    background: none;
    font-family: var(--font);
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--gray-500);
    cursor: pointer;
    transition: all var(--transition-fast);
    letter-spacing: .02em;
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* All material tab active state → gold */
#tab-pla.active {
    background: var(--sec1);
    border-color: var(--sec1);
    color: var(--gray-800);
}

#tab-petg.active {
    background: var(--sec1);
    border-color: var(--sec1);
    color: var(--gray-800);
}

#tab-abs.active {
    background: var(--sec1);
    border-color: var(--sec1);
    color: var(--gray-800);
}

#tab-resine.active {
    background: var(--sec1);
    border-color: var(--sec1);
    color: var(--gray-800);
}

#tab-tpu.active {
    background: var(--sec1);
    border-color: var(--sec1);
    color: var(--gray-800);
}

.tab-panel {
    display: none;
    animation: fadeIn .3s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.material-info {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 44px;
}

.material-props h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--gray-800);
}

.material-props p {
    color: var(--gray-500);
    margin-bottom: 28px;
    font-size: 0.92rem;
    line-height: 1.7;
}

.props-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.prop {
    display: flex;
    align-items: center;
    gap: 16px;
}

.prop-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-500);
    width: 80px;
    flex-shrink: 0;
}

.prop-bar {
    flex: 1;
    height: 4px;
    background: var(--gray-100);
    border-radius: 2px;
    overflow: hidden;
}

.prop-fill {
    height: 100%;
    width: var(--fill, 0%);
    background: var(--fill-color, var(--primary));
    border-radius: 2px;
    transition: width 1s cubic-bezier(.25, .8, .25, 1) .3s;
}

.color-swatches {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    align-items: center;
}

.swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.swatch:hover {
    transform: scale(1.25);
}

.swatch-more {
    width: auto;
    border-radius: 2px;
    background: var(--gray-100);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    height: 24px;
}

.material-use {
    border-left: 1px solid var(--gray-100);
    padding-left: 40px;
    display: flex;
    flex-direction: column;
}

.material-use h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.material-use ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    flex: 1;
}

.material-use li {
    font-size: 0.9rem;
    color: var(--gray-700);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.material-use li::before {
    content: '→';
    color: var(--primary);
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ═══════════════════════════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════════════════════════ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    grid-auto-flow: dense;
    gap: 6px;
    max-width: 95%;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.span-wide {
    grid-column: span 2;
}

.gallery-item.span-tall {
    grid-row: span 2;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform .55s cubic-bezier(.25, .8, .25, 1);
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 15, 26, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: var(--sec1);
    color: var(--gray-800);
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-block;
}

/* ═══════════════════════════════════════════════════════════════
   WHY
   ═══════════════════════════════════════════════════════════════ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-card {
    text-align: left;
    padding: 32px 26px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.why-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

/* Per-card icon color accents */
.why-grid .why-card:nth-child(1) .why-icon {
    color: var(--primary);
}

.why-grid .why-card:nth-child(2) .why-icon {
    color: var(--sec1);
}

.why-grid .why-card:nth-child(3) .why-icon {
    color: var(--ter2);
}

.why-grid .why-card:nth-child(4) .why-icon {
    color: var(--sec2);
}

.why-icon {
    font-size: 1.5rem;
    margin-bottom: 16px;
    display: block;
}

.why-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--gray-800);
}

.why-card p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   QUOTE FORM
   ═══════════════════════════════════════════════════════════════ */
.quote-form {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-fieldset {
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: var(--radius-md);
    padding: 36px;
    position: relative;
    background: rgba(255, 255, 255, .03);
    transition: border-color var(--transition);
}

.form-fieldset:focus-within {
    border-color: rgba(98, 137, 236, .35);
}

.form-legend {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    padding: 0 10px;
    position: absolute;
    top: -10px;
    left: 22px;
    background: var(--dark);
}

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

.form-row.three-col {
    grid-template-columns: repeat(3, 1fr);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: .03em;
    color: rgba(255, 255, 255, .65);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 11px 15px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 4px;
    background: rgba(255, 255, 255, .05);
    color: #fff;
    font-size: 0.92rem;
    transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
    appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, .25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(98, 137, 236, .08);
    box-shadow: 0 0 0 3px rgba(98, 137, 236, .18);
}

.form-group select option {
    background: var(--dark-2);
}

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

/* Laser note inside form */
.laser-context-note {
    padding: 0 0 16px 0;
    border: none;
    background: none;
    border-radius: 0;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, .5);
    line-height: 1.6;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.laser-context-note strong {
    color: rgba(255, 255, 255, .8);
    font-weight: 600;
}

/* File drop */
.file-drop {
    position: relative;
    border: 1.5px dashed rgba(255, 255, 255, .15);
    border-radius: var(--radius-sm);
    padding: 40px 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}

.file-drop:hover,
.file-drop.drag-over {
    border-color: var(--primary);
    background: rgba(98, 137, 236, .07);
}

.file-drop input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.file-drop-content {
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.file-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
    margin-bottom: 4px;
}

.file-drop-content p {
    color: rgba(255, 255, 255, .6);
    font-size: 0.92rem;
}

.file-browse {
    color: var(--primary-lt);
    text-decoration: underline;
}

.file-formats {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .04em;
}

/* Laser toggle */
.laser-toggle {
    margin-bottom: 18px;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 13px;
    cursor: pointer;
    user-select: none;
}

.toggle-label input[type="checkbox"] {
    display: none;
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: rgba(255, 255, 255, .15);
    border-radius: 12px;
    position: relative;
    transition: background var(--transition-fast);
    flex-shrink: 0;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform var(--transition-fast);
}

input[type="checkbox"]:checked+.toggle-switch {
    background: var(--primary);
}

input[type="checkbox"]:checked+.toggle-switch::after {
    transform: translateX(20px);
}

.toggle-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, .75);
    font-weight: 500;
}

.laser-options {
    animation: fadeIn .28s ease;
}

.form-submit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.btn-submit {
    width: 100%;
    max-width: 460px;
    justify-content: center;
    font-size: 0.98rem;
    padding: 18px 36px;
    background: var(--primary);
    border-radius: 4px;
}

.btn-submit:hover {
    background: var(--sec1);
    color: var(--gray-800);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

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

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

.form-note {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, .35);
}

.form-hint {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, .45);
    font-style: italic;
    line-height: 1.6;
    margin-top: 8px;
}

/* ─── PRICE ESTIMATION BOX ─── */
.price-estimation-box {
    margin: 40px 0;
    padding: 24px 32px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-md);
    animation: fadeIn .4s ease;
}

.price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.price-header h3 {
    font-size: 1.1rem;
    color: #fff;
    margin: 0;
}

.price-badge {
    background: var(--sec1);
    color: var(--gray-800);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-details {
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, .7);
}

.price-row .price-value {
    color: #fff;
    font-weight: 500;
}

.price-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, .4);
    font-style: italic;
    line-height: 1.5;
}

.form-success {
    background: rgba(98, 137, 236, .08);
    border: 1px solid rgba(98, 137, 236, .25);
    border-radius: var(--radius-md);
    padding: 48px;
    text-align: center;
    animation: fadeIn .4s ease;
}

.success-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-success h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.form-success p {
    color: rgba(255, 255, 255, .6);
}

/* ─── POPUP NOTIFICATION ─── */
.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, .50);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
    backdrop-filter: blur(4px);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-overlay.closing {
    opacity: 0;
    visibility: hidden;
}

.popup-card {
    position: relative;
    background: var(--dark-2);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius-md);
    padding: 48px 40px 40px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
    transform: scale(0.85);
    opacity: 0;
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), opacity .35s ease;
}

.popup-overlay.active .popup-card {
    transform: scale(1);
    opacity: 1;
}

.popup-overlay.closing .popup-card {
    transform: scale(0.85);
    opacity: 0;
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(98, 137, 236, .1);
    border: 1px solid rgba(98, 137, 236, .25);
    border-radius: 50%;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}

.popup-close svg {
    width: 16px;
    height: 16px;
}

.popup-close:hover {
    background: var(--primary);
    color: #fff;
    transform: rotate(90deg);
    border-color: var(--primary);
}

.popup-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.popup-icon.success {
    background: rgba(72, 199, 142, .12);
    border: 1.5px solid rgba(72, 199, 142, .3);
    color: #48c78e;
}

.popup-icon.error {
    background: rgba(229, 33, 59, .12);
    border: 1.5px solid rgba(229, 33, 59, .3);
    color: #e5213b;
}

.popup-title {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.popup-message {
    color: rgba(255, 255, 255, .55);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   À PROPOS
   ═══════════════════════════════════════════════════════════════ */
.about-content {
    max-width: 820px;
    margin: 60px auto 0;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--gray-500);
    margin-bottom: 20px;
    text-align: center;
}

.about-text strong {
    color: var(--gray-800);
}

.about-clients {
    margin-top: 48px;
    text-align: center;
}

.about-clients-title {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 600;
    color: var(--gray-400);
    margin-bottom: 28px;
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--gray-500);
    transition: all var(--transition);
    min-width: 140px;
}

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

/* ═══════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.2rem;
    width: 44px;
    height: 44px;
    background: rgba(98, 137, 236, .08);
    border: 1px solid rgba(98, 137, 236, .15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.6;
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-map {
    height: 300px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    flex-direction: column;
    gap: 10px;
    color: var(--gray-500);
}

.map-pin {
    font-size: 2rem;
}

.contact-map p {
    text-align: center;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, .5);
    padding: 64px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.75;
}

.footer-links h4 {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.footer-links a:hover {
    color: var(--primary-lt);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    font-size: 0.8rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a:hover {
    color: #fff;
}

/* ─── LIGHTBOX ─── */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, .9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    cursor: zoom-in;
    transition: transform .25s ease;
}

.lightbox-content video {
    cursor: default;
}

.lightbox-content img.zoomed {
    transform: scale(2.5);
    cursor: zoom-out;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 2.4rem;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease;
    z-index: 10000;
    line-height: 1;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

/* ─── FLOATING CTA ─── */
.floating-cta {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--sec1);
    color: var(--gray-800);
    border-radius: 50px;
    padding: 14px 22px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: var(--shadow-md);
    z-index: 900;
    opacity: 0;
    transform: translateY(16px);
    transition: all var(--transition);
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.floating-cta:hover {
    background: #d4ae50;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1060px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-left: 0;
        padding: 80px 28px 40px;
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        margin-right: 0;
        max-width: 480px;
    }

    .hero-bg-shape {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-h: 60px;
    }

    .section {
        padding: 70px 0;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .burger {
        display: flex;
    }

    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, .98);
        backdrop-filter: blur(12px);
        padding: 20px 28px;
        gap: 4px;
        box-shadow: var(--shadow-md);
        z-index: 999;
        animation: slideDown .22s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links.mobile-open .nav-link {
        padding: 13px 0;
        font-size: 1rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .process-connector {
        width: 1px;
        height: 36px;
        margin-top: 0;
    }

    .process-step {
        max-width: 380px;
    }

    .material-info {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .material-use {
        border-left: none;
        border-top: 1px solid var(--gray-100);
        padding-left: 0;
        padding-top: 24px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
        gap: 4px;
    }

    .gallery-item.span-wide {
        grid-column: span 1;
    }

    .why-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }

    .form-row,
    .form-row.three-col {
        grid-template-columns: 1fr;
    }

    .form-fieldset {
        padding: 26px 18px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-map {
        height: 220px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .floating-cta {
        bottom: 18px;
        right: 18px;
    }
}

@media (max-width: 440px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}