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

:root {
    --color-primary: #1a1a2e;
    --color-primary-light: #16213e;
    --color-accent: #c9a84c;
    --color-accent-dark: #b8943f;
    --color-accent-light: #d4b96a;
    --color-text: #2d2d2d;
    --color-text-light: #6b7280;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f7f4;
    --color-bg-dark: #0f0f1a;
    --color-border: #e5e5e5;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --container: 1200px;
    --header-height: 80px;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-primary);
}
.btn--primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.35);
}

.btn--outline {
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
}
.btn--outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

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

.btn--large {
    padding: 18px 40px;
    font-size: 1.05rem;
}

/* ===== SECTION TAGS & TITLES ===== */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition);
}

.header--scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: #fff;
    transition: var(--transition);
}
.logo-text strong {
    font-weight: 700;
}
.header--scrolled .logo-text {
    color: var(--color-primary);
}
.logo-text--light {
    color: rgba(255,255,255,0.9);
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    border-radius: 50px;
    transition: var(--transition);
}
.nav__link:hover {
    color: #fff;
}
.header--scrolled .nav__link {
    color: var(--color-text-light);
}
.header--scrolled .nav__link:hover {
    color: var(--color-primary);
}

.nav__link--cta {
    background: var(--color-accent);
    color: var(--color-primary) !important;
    font-weight: 600;
    padding: 10px 24px;
}
.nav__link--cta:hover {
    background: var(--color-accent-dark);
    transform: translateY(-1px);
}

.header__menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}
.header__menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
    border-radius: 2px;
}
.header--scrolled .header__menu-btn span {
    background: var(--color-primary);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, #0a1628 100%);
}
.hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(201,168,76,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.1) 0%, transparent 50%);
}
.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 120px 0 80px;
}

.hero__subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-accent);
    margin-bottom: 24px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero__description {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}
.hero__scroll span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.4);
}
.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ===== STATS ===== */
.stats {
    background: var(--color-primary);
    padding: 48px 0;
    position: relative;
}
.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-accent), transparent);
}

.stats__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat__number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
}
.stat__plus {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-accent);
}
.stat__label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

/* ===== ABOUT ===== */
.about {
    padding: 120px 0;
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__image {
    position: relative;
}

.about__image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--color-bg-alt), #ede9e0);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.about__image-placeholder svg {
    width: 60%;
    opacity: 0.6;
}

.about__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    border: 2px solid var(--color-accent);
    border-radius: var(--radius);
    z-index: -1;
    opacity: 0.3;
}

.about__text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about__values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

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

.value__icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}
.value__icon svg {
    width: 22px;
    height: 22px;
}

.value__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 2px;
}
.value__desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ===== SERVICES ===== */
.services {
    padding: 120px 0;
    background: var(--color-bg-alt);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--color-bg);
    border-radius: var(--radius);
    padding: 40px;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    color: var(--color-accent);
    margin-bottom: 20px;
}
.service-card__icon svg {
    width: 100%;
    height: 100%;
}

.service-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.service-card__desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===== PRODUCTS ===== */
.products {
    padding: 120px 0;
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card__image {
    height: 220px;
    background: var(--color-bg-alt);
    position: relative;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__content {
    padding: 24px;
}
.product-card__content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}
.product-card__content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ===== CTA ===== */
.cta {
    background: var(--color-primary);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 60%);
}

.cta__inner {
    position: relative;
    z-index: 1;
}

.cta__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #fff;
    margin-bottom: 16px;
}

.cta__desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 32px;
}

/* ===== CONTACT ===== */
.contact {
    padding: 120px 0;
    background: var(--color-bg-alt);
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact__text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact__methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

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

.contact__method-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}
.contact__method-icon svg {
    width: 22px;
    height: 22px;
}

.contact__method-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
}

.contact__method-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: var(--transition);
}
.contact__method-value:hover {
    color: var(--color-accent);
}

.contact__note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    background: rgba(201,168,76,0.08);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-accent);
}
.contact__note svg {
    color: var(--color-accent);
    min-width: 20px;
    margin-top: 2px;
}
.contact__note p {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* Contact Form */
.contact__form-wrapper {
    background: var(--color-bg);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
}

.contact__form-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-bg);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #bbb;
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Form feedback */
.form-success {
    text-align: center;
    padding: 40px 20px;
    color: var(--color-primary);
}
.form-success svg {
    color: #22c55e;
    margin-bottom: 16px;
}
.form-success h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}
.form-success p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.form-error {
    color: #dc2626;
    font-size: 0.85rem;
    margin-bottom: 12px;
    padding: 10px 14px;
    background: #fef2f2;
    border-radius: var(--radius-sm);
    border: 1px solid #fecaca;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-bg-dark);
    padding: 60px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer__tagline {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin-top: 12px;
    max-width: 300px;
    line-height: 1.6;
}

.footer__links h4,
.footer__contact h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.footer__links a,
.footer__contact a {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    padding: 4px 0;
    transition: var(--transition);
}
.footer__links a:hover,
.footer__contact a:hover {
    color: var(--color-accent);
    transform: translateX(4px);
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
}
.footer__bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    text-align: center;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about__inner {
        gap: 48px;
    }
    .services__grid {
        gap: 20px;
    }
    .products__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .header__menu-btn {
        display: flex;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    }

    .header__nav.open {
        right: 0;
    }

    .header__nav .nav__link {
        color: rgba(255,255,255,0.8);
        font-size: 1.1rem;
        padding: 12px 24px;
    }

    .header__menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .header__menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .header__menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero__scroll { display: none; }

    .stats__inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .about__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about__image {
        max-width: 400px;
        margin: 0 auto;
    }

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

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

    .contact__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero__content {
        padding: 100px 0 60px;
    }

    .hero__actions {
        flex-direction: column;
    }
    .hero__actions .btn {
        text-align: center;
        justify-content: center;
    }

    .stats__inner {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stat__number {
        font-size: 2rem;
    }

    .service-card {
        padding: 28px;
    }

    .contact__form-wrapper {
        padding: 24px;
    }

    .about, .services, .products, .contact {
        padding: 80px 0;
    }
}
