:root {
    --bg-950: #0e1013;
    --bg-900: #171a1f;
    --bg-850: #1f242b;
    --surface-700: #262c35;
    --surface-650: #2e3641;
    --text-100: #f0f3f7;
    --text-300: #ccd3dc;
    --text-500: #9fa8b5;
    --accent-400: #d9be58;
    --accent-500: #bea445;
    --line: #3a424e;
    --shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
    --radius-lg: 22px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    color: var(--text-100);
    background:
        radial-gradient(circle at 12% 10%, rgba(217, 190, 88, 0.1), transparent 38%),
        radial-gradient(circle at 84% 3%, rgba(110, 123, 141, 0.12), transparent 35%),
        linear-gradient(180deg, #111418 0%, #0d0f12 100%);
}

.shell {
    width: min(1120px, calc(100% - 2.5rem));
    margin-inline: auto;
}

.hero {
    position: relative;
    overflow: hidden;
    padding-bottom: 4rem;
    isolation: isolate;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 0;
    position: relative;
    z-index: 2;
}

.brand {
    text-decoration: none;
    color: var(--text-100);
    font-weight: 800;
    letter-spacing: 0.02em;
    font-size: 1.2rem;
}

.menu {
    display: flex;
    gap: 1rem;
}

.menu a {
    text-decoration: none;
    color: var(--text-300);
    font-weight: 500;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.menu a:hover {
    background: rgba(217, 190, 88, 0.15);
    border-color: rgba(217, 190, 88, 0.35);
    color: #f7f1d7;
}

.menu a.is-active {
    background: rgba(217, 190, 88, 0.18);
    border-color: rgba(217, 190, 88, 0.42);
    color: #f8f3dc;
}

.hero-content {
    padding: 2.4rem 0 2rem;
    position: relative;
    z-index: 1;
    animation: rise 580ms ease both;
}

.hero-compact {
    padding-bottom: 2.7rem;
}

.hero-compact .hero-content {
    padding: 1.7rem 0 1.3rem;
}

.eyebrow {
    margin: 0;
    color: var(--accent-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    font-weight: 700;
}

h1,
h2,
h3,
h4 {
    font-family: 'Fraunces', serif;
    margin: 0;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.75rem);
    margin: 0.6rem 0 1rem;
    max-width: 14ch;
}

.lead {
    max-width: 62ch;
    margin: 0 0 1.6rem;
    color: var(--text-300);
    font-size: 1.03rem;
    line-height: 1.7;
}

.btn {
    display: inline-block;
    text-decoration: none;
    color: #fffceb;
    background: linear-gradient(140deg, var(--accent-500), #9c8436);
    border: 1px solid rgba(255, 239, 184, 0.25);
    padding: 0.8rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    transition: transform 160ms ease, filter 160ms ease;
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-secondary {
    color: var(--text-100);
    background: var(--bg-850);
    border: 1px solid var(--line);
    box-shadow: none;
}

.btn-secondary:hover {
    border-color: rgba(217, 190, 88, 0.35);
    color: #f6f2df;
}

.hero-shape {
    position: absolute;
    right: -8rem;
    top: -6rem;
    width: 28rem;
    height: 28rem;
    border-radius: 100%;
    background: linear-gradient(145deg, rgba(217, 190, 88, 0.22), rgba(138, 149, 165, 0.15));
    filter: blur(0.2px);
    animation: drift 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.section {
    padding: 2rem 0 2.8rem;
}

.section h2 {
    font-size: clamp(1.6rem, 3.6vw, 2.4rem);
    margin-bottom: 1rem;
}

.section-head {
    margin-bottom: 1.2rem;
}

.section-head p {
    margin: 0;
    color: var(--text-500);
}

.page-intro {
    margin: 0.5rem 0 0.8rem;
    color: var(--text-300);
    line-height: 1.65;
}

.company-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cta-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mission-card {
    background: linear-gradient(170deg, var(--bg-850), #1c2128);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    padding: 1.1rem;
}

.mission-card p {
    margin: 0;
    line-height: 1.6;
}

.text-link {
    color: #f0d987;
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover {
    color: #f6e9b8;
}

.section-cta {
    margin-top: 1.2rem;
}

.product-type {
    margin-top: 1.8rem;
}

.product-type h3 {
    font-size: 1.45rem;
    margin-bottom: 0.8rem;
}

.empty-state {
    border: 1px dashed #5b6472;
    border-radius: var(--radius-md);
    padding: 1rem;
    background: #1c2129;
    color: var(--text-300);
}

.product-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card {
    overflow: hidden;
    background: var(--bg-900);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    animation: rise 640ms ease both;
}

.card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.card-link:hover {
    background: linear-gradient(180deg, rgba(217, 190, 88, 0.09), transparent 55%);
}

.card-link .text-link {
    display: inline-block;
    margin-top: 0.25rem;
}

.product-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.product-content {
    padding: 1rem;
}

.product-content h4 {
    font-size: 1.3rem;
}

.meta,
.desc {
    margin: 0.55rem 0;
    color: var(--text-300);
    line-height: 1.55;
}

.price {
    margin: 0.4rem 0;
    font-weight: 700;
    color: #f0d987;
}

video {
    width: 100%;
    margin-top: 0.6rem;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #000;
}

.no-video {
    margin-top: 0.65rem;
    padding: 0.75rem;
    border-radius: 10px;
    border: 1px dashed #5b6472;
    background: #1d232c;
    color: var(--text-300);
    line-height: 1.5;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.product-detail img {
    height: 100%;
    min-height: 300px;
}

.conception-mail {
    margin-top: 1.2rem;
    background: var(--bg-900);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.2rem;
}

.mail-form {
    margin-top: 0.9rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.mail-form label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-300);
}

.mail-form input,
.mail-form textarea {
    width: 100%;
    margin-top: 0.35rem;
    border: 1px solid var(--line);
    background: var(--bg-850);
    color: var(--text-100);
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    font: inherit;
}

.mail-form input:focus,
.mail-form textarea:focus {
    outline: none;
    border-color: rgba(217, 190, 88, 0.62);
    box-shadow: 0 0 0 3px rgba(217, 190, 88, 0.16);
}

.mail-form textarea {
    resize: vertical;
}

.form-hint {
    margin: 0 0 0.9rem;
    color: var(--text-500);
}

.form-hint-error {
    color: #f1a7a7;
}

.form-hint-success {
    color: #b8e2a7;
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
    justify-content: space-between;
}

.status-note {
    margin: 0;
    color: var(--text-300);
}

.admin-code-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-code-card {
    height: 100%;
}

.code-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1rem 0 0.8rem;
}

.code-pill {
    appearance: none;
    border: 1px solid rgba(217, 190, 88, 0.35);
    background: rgba(217, 190, 88, 0.12);
    color: #fff4c7;
    border-radius: 999px;
    padding: 0.7rem 0.95rem;
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.code-pill:hover {
    transform: translateY(-1px);
    background: rgba(217, 190, 88, 0.18);
    border-color: rgba(217, 190, 88, 0.5);
}

.code-pill:focus-visible {
    outline: 2px solid rgba(217, 190, 88, 0.35);
    outline-offset: 2px;
}

.mail-form button[disabled] {
    opacity: 0.75;
    cursor: not-allowed;
}

.popup {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(4, 6, 8, 0.72);
    padding: 1rem;
    z-index: 30;
}

.popup.is-visible {
    display: flex;
}

.popup-card {
    width: min(460px, 100%);
    background: var(--bg-900);
    border-radius: 14px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 1rem;
    text-align: center;
}

.popup-card p {
    margin: 0 0 0.9rem;
    color: var(--text-100);
    line-height: 1.5;
}

.footer {
    margin-top: 2rem;
    background: #0a0c10;
    color: var(--text-100);
    border-top: 1px solid #242a33;
    padding: 2.4rem 0;
}

.footer p {
    margin: 0.75rem 0 0;
    color: var(--text-300);
}

.footer .phone-link {
    color: inherit;
    font-weight: 500;
    opacity: 0.9;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-decoration-color: rgba(204, 211, 220, 0.35);
    transition: color 180ms ease, text-decoration-color 180ms ease, opacity 180ms ease;
}

.footer .phone-link:hover {
    color: var(--text-100);
    opacity: 1;
    text-decoration-color: rgba(217, 190, 88, 0.45);
}

.footer .phone-link:focus-visible {
    outline: 1px dashed rgba(217, 190, 88, 0.45);
    outline-offset: 2px;
}

.footer-links a {
    color: #8f99a8;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.88rem;
    opacity: 0.72;
    transition: opacity 180ms ease, color 180ms ease;
}

.footer-links a:hover {
    color: #b2bccb;
    opacity: 0.9;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.copy {
    font-size: 0.95rem;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes drift {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-24px, 22px);
    }
}

@media (max-width: 920px) {
    .company-grid,
    .cta-grid,
    .product-grid,
    .admin-code-grid {
        grid-template-columns: 1fr;
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

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

    .menu {
        display: none;
    }

    .hero-shape {
        right: -14rem;
    }
}

