:root {
    /* Colors */
    --primary: #E68A00;
    --primary-dark: #cc7a00;
    --primary-light: #ffa31a;
    --bg-dark: #000000;
    --bg-dark-accent: #0a0a0a;
    --bg-gray: #f4f4f4;
    --white: #ffffff;
    --black: #000000;
    --text-main: #ffffff;
    --text-muted: #b0b0b0;
    --text-dark: #1a1a1a;

    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-dark);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

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

.section--light {
    background-color: var(--white);
    color: var(--text-dark);
}

.section--gray {
    background-color: var(--bg-gray);
    color: var(--text-dark);
}

.section__header {
    text-align: center;
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section__icon-wrap {
    width: 80px;
    height: 80px;
    background: rgba(230, 138, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    border: 1px solid rgba(230, 138, 0, 0.3);
}

.section__icon-wrap--dark {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.section__title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.section__title--dark {
    color: var(--text-dark);
}

.section__sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
}

.section__sub--dark {
    color: #666;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    gap: 0.75rem;
}

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

.btn--primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 138, 0, 0.3);
}

.btn--outline-orange {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn--outline-orange:hover {
    background: var(--primary);
    color: var(--white);
}

.btn--white {
    background-color: var(--white);
    color: var(--black);
}

.btn--white:hover {
    background-color: var(--bg-gray);
    transform: scale(1.05);
}

.btn--full {
    width: 100%;
}

/* --- HEADER --- */
.header {
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.header--scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    height: 70px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo__img {
    height: 45px;
    width: auto;
    display: block;
}

/* --- BLOG --- */
.blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-card__img-wrap {
    height: 220px;
    position: relative;
}

.blog-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card__date {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
}

.blog-card__body {
    padding: 2rem;
}

.blog-card__title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--white);
}

.blog-card__excerpt {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__link {
    color: var(--primary);
    font-weight: 700;
}

.blog-card__link:hover {
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav__link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
}

.nav__link:hover,
.nav__link.active {
    color: var(--white);
}

.nav__link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.nav__link--btn {
    background: var(--white);
    color: var(--black) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
}

.nav__link--btn::after {
    display: none;
}

.nav__link--btn:hover {
    background: var(--primary);
    color: var(--white) !important;
}

/* --- HERO --- */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
}

.hero__image-wrap {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #000 0%, #000 30%, rgba(0, 0, 0, 0) 100%);
}

.hero__content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero__text {
    max-width: 600px;
}

.hero__title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero__sub {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero__deco {
    margin-top: 4rem;
}

.hero__stripes {
    width: 150px;
    height: 100px;
    background: repeating-linear-gradient(-45deg,
            var(--primary),
            var(--primary) 20px,
            transparent 20px,
            transparent 40px);
    opacity: 0.8;
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.hero__scroll-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: scrollDot 2s infinite;
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

@keyframes scrollDot {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(50px);
        opacity: 0;
    }
}

/* --- SERVICES --- */
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: #111;
    padding: 3.5rem 2.5rem;
    border-radius: 10px;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--primary);
    border-color: var(--white);
}

.service-card__icon {
    margin-bottom: 2rem;
}

.service-card__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card__text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-card:hover .service-card__text {
    color: var(--white);
}

/* --- TEAM --- */
.team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.team-member {
    text-align: center;
}

.team-member__img {
    width: 300px;
    height: 300px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    filter: grayscale(1);
    transition: var(--transition);
    border: 5px solid var(--bg-gray);
}

.team-member:hover .team-member__img {
    filter: grayscale(0);
    transform: scale(1.05);
    border-color: var(--primary);
}

.team-member__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member__info h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.team-member__role {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* --- PORTFOLIO --- */
.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.portfolio-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.portfolio-card__img-wrap {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.portfolio-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover img {
    transform: scale(1.1);
}

.portfolio-card__overlay {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
}

.portfolio-card__category {
    background: var(--primary);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.portfolio-card__body {
    padding: 2rem;
}

.portfolio-card__body h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.portfolio-card__body p {
    color: #666;
}

/* --- CTA BAND --- */
.cta-band {
    background: var(--primary);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-band__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.cta-band__left {
    max-width: 600px;
}

.cta-band__icon {
    margin-bottom: 1rem;
}

.cta-band__title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-band__text {
    font-size: 1.2rem;
    opacity: 0.9;
}

.cta-band__deco {
    position: absolute;
    opacity: 0.3;
}

.cta-band__deco--stripes {
    right: -50px;
    top: -50px;
    width: 300px;
    height: 300px;
    background: repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.2),
            rgba(255, 255, 255, 0.2) 20px,
            transparent 20px,
            transparent 40px);
}

/* --- BLOG EMPTY --- */
.blog__empty {
    background: var(--white);
    padding: 6rem 2rem;
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blog__empty-icon {
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.blog__empty-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.blog__empty-text {
    color: #666;
    font-size: 1.1rem;
    max-width: 500px;
}

/* --- CONTACT --- */
.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact__info-item {
    display: flex;
    gap: 1.5rem;
}

.contact__info-icon {
    width: 50px;
    height: 50px;
    background: rgba(230, 138, 0, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact__info-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact__info-item p {
    color: var(--text-muted);
}

.contact__socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.contact__form-wrap {
    background: #0a0a0a;
    padding: 3.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form .form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form__group input,
.form__group textarea {
    width: 100%;
    background: #111;
    border: 1px solid #222;
    padding: 1.25rem;
    border-radius: 10px;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form__group input:focus,
.form__group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #151515;
}

.hidden-field {
    display: none !important;
    visibility: hidden !important;
}

.captcha-input-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #111;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #222;
    margin-top: 0.5rem;
}

.captcha-label {
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.captcha-input {
    max-width: 100px !important;
    padding: 0.5rem 1rem !important;
}


.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alert--success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.alert--error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

/* --- FOOTER --- */
.footer {
    background: #000;
    padding: 6rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer__brand .logo {
    margin-bottom: 1.5rem;
}

.footer__tagline {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.footer__newsletter h4 {
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    background: #111;
    border: 1px solid #222;
    padding: 0.8rem 1rem;
    border-radius: 5px 0 0 5px;
    color: white;
}

.newsletter-form button {
    background: var(--primary);
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 5px 5px 0;
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.footer__links h4,
.footer__contact h4 {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: var(--white);
}

.footer__links ul li {
    margin-bottom: 1rem;
}

.footer__links ul li a {
    color: var(--text-muted);
}

.footer__links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer__contact p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

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

.footer__social-col .footer__follow {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer__socials {
    display: flex;
    gap: 0.75rem;
}

.footer__bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: #444;
}

/* --- UTILITIES --- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1002;
    background: none;
    border: none;
    padding: 10px;
    margin: -10px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

.hamburger.active span {
    background: var(--white);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 3.5rem;
    }

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

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

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

@media (max-width: 768px) {
    .section {
        padding: 5rem 0;
    }

    .section__title {
        font-size: 2.5rem;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #000;
        flex-direction: column;
        justify-content: center;
        transition: 0.5s ease;
        padding: 4rem;
        z-index: 1001;
    }

    .nav.open {
        right: 0;
    }

    .hero__image-wrap {
        width: 100%;
    }

    .hero__overlay {
        background: rgba(0, 0, 0, 0.6);
    }

    .hero__text {
        text-align: center;
        margin: 0 auto;
    }

    .hero__sub {
        margin: 0 auto 3rem;
    }

    .cta-band__content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .contact__form-wrap {
        padding: 2rem;
    }

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

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

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Glassmorphism Classes */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Reviews Marquee Section */
.reviews-marquee {
    background-color: var(--bg-dark);
    overflow: hidden;
    padding: 8rem 0;
}

.marquee-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    padding: 40px 0;
}

.marquee-content {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: marquee-scroll 60s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.review-card {
    width: 400px; /* Fixed width for consistent marquee */
    flex-shrink: 0;
    padding: 30px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.review-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.review-author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}
.review-author-name {
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary-light);
    font-size: 1rem;
}
.review-stars {
    color: #ffcc00; /* Gold for stars */
    font-size: 0.8rem;
    display: flex;
    gap: 3px;
    margin-top: 4px;
}
.review-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    font-style: italic;
    font-weight: 300;
}
.text-left { text-align: left; }
/* Machine Marquee Styles */
.machines-section {
    background-color: #000;
    overflow: hidden;
    padding: 6rem 0;
}

.machine-card {
    width: 250px;
    flex-shrink: 0;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: var(--transition);
}

.machine-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.machine-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 2rem;
    background: white; /* Matches the user screenshot theme */
    padding: 10px;
}

.machine-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 10px;
}
/* --- NEWSLETTER BLOCK (BLOG PAGE) --- */
.newsletter-block {
    background: #0a0a0a;
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.newsletter-block__inner {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-block__title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.newsletter-block__text {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.15rem;
    line-height: 1.6;
}

.newsletter-form-full {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: #111;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.newsletter-form-full__row {
    display: flex;
    gap: 0;
}

.newsletter-form-full input[type="email"] {
    flex: 1;
    background: #000;
    border: 1px solid #333;
    padding: 1.25rem 1.5rem;
    border-radius: 12px 0 0 12px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
}

.newsletter-form-full input[type="email"]:focus {
    border-color: var(--primary);
    outline: none;
}

.newsletter-form-full button {
    background: var(--primary);
    border: none;
    padding: 0 2.5rem;
    border-radius: 0 12px 12px 0;
    color: white;
    font-weight: 800;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-form-full button:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: none;
}

.newsletter-form-full button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.newsletter-form-full__consent {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.newsletter-form-full__consent input[type="checkbox"] {
    margin-top: 0.3rem;
    cursor: pointer;
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.newsletter-form-full__consent-link {
    color: var(--primary);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
}

.newsletter-form-full__consent-link:hover {
    color: var(--white);
}

/* --- MODAL --- */
#consentModal.modal {
    display: none !important;
}

#consentModal.modal.open {
    display: flex !important;
}

.modal {
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal__content {
    background: #111;
    width: 100%;
    max-width: 650px;
    padding: 4rem;
    border-radius: 30px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal__close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.modal__close:hover {
    background: var(--primary);
    color: var(--white);
}

.modal h3 {
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.2;
}

.modal__body {
    font-size: 1rem;
    line-height: 1.8;
    color: #bbb;
    max-height: 50vh;
    overflow-y: auto;
    padding-right: 1.5rem;
}

.modal__body::-webkit-scrollbar {
    width: 6px;
}

.modal__body::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

.modal__body p {
    margin-bottom: 1.5rem;
}

.modal__body strong {
    color: var(--white);
    display: block;
    margin-top: 1rem;
}

/* --- BLOG HERO --- */
.blog-hero {
    padding: 15rem 0 8rem;
    background: radial-gradient(circle at top right, #111, #000);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero__title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.blog-hero__sub {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.blog-hero .hero__scroll-indicator {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 5rem;
}

/* --- BLOG GRID --- */
.blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: #111;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.blog-card__img-wrap {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.blog-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.blog-card:hover .blog-card__img-wrap img {
    transform: scale(1.1);
}

.blog-card__date {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 800;
    border-top-right-radius: 10px;
}

.blog-card__body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    color: var(--white);
}

.blog-card__excerpt {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    flex-grow: 1;
}

.blog-card__link {
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card__link:hover {
    color: var(--white);
    transform: translateX(5px);
}
