/* =========================
   RESET / BAZĂ
========================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f4ee;
    color: #1f2933;
    line-height: 1.6;
}

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

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

.container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    line-height: 1.2;
}

.section {
    padding: 56px 0;
}

/* =========================
   BUTTONS
========================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 700;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-primary {
    background: #b98952;
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    background: #a3743f;
}

.btn-secondary {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #1f2933;
}

/* =========================
   HEADER PREMIUM
========================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.transparent {
    background: transparent;
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(223, 215, 202, 0.85);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand-premium {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #274c3b, #3f6a56);
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(39, 76, 59, 0.22);
    transition: all 0.3s ease;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 24px;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.brand-text span {
    margin-top: 4px;
    font-size: 14px;
    transition: color 0.3s ease;
}

/* header transparent */
.site-header.transparent .brand-text strong,
.site-header.transparent .brand-text span,
.site-header.transparent .main-nav a {
    color: #ffffff;
}

.site-header.transparent .brand-mark {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.site-header.transparent .main-nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.site-header.transparent .main-nav a.active {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

/* header la scroll */
.site-header.scrolled .brand-text strong {
    color: #1f2933;
}

.site-header.scrolled .brand-text span {
    color: #6b7280;
}

.site-header.scrolled .brand-mark {
    background: linear-gradient(135deg, #274c3b, #3f6a56);
    color: #ffffff;
}

.site-header.scrolled .main-nav a {
    color: #4b5563;
}

.site-header.scrolled .main-nav a:hover {
    color: #274c3b;
    background: rgba(39, 76, 59, 0.08);
}

.site-header.scrolled .main-nav a.active {
    color: #ffffff;
    background: linear-gradient(135deg, #274c3b, #355f4b);
    box-shadow: 0 10px 20px rgba(39, 76, 59, 0.18);
}

.main-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.25s ease;
}

/* =========================
   HERO PREMIUM
========================= */
.hero-premium {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: url('/assets/img/hero.jpg') center/cover no-repeat;
}

.small-hero {
    min-height: 60vh;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.52),
        rgba(0, 0, 0, 0.66)
    );
}

.hero-content-premium {
    position: relative;
    color: #ffffff;
    max-width: 800px;
    padding-top: 90px;
    padding-bottom: 30px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content-premium h1 {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content-premium p {
    font-size: 18px;
    color: #e5e7eb;
    margin-bottom: 30px;
    max-width: 720px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* imagini hero pagini */
.hero-anunturi {
    background: url('/assets/img/anunturi.jpg') center/cover no-repeat;
}

.hero-proiecte {
    background: url('/assets/img/proiecte.jpg') center/cover no-repeat;
}

.hero-contact {
    background: url('/assets/img/contact.jpg') center/cover no-repeat;
}

/* dacă folosești imagine separată la despre */
.small-hero.hero-despre {
    background: url('/assets/img/despre.jpg') center/cover no-repeat;
}

/* =========================
   SECTIUNI GENERALE
========================= */
.section-heading {
    margin-bottom: 26px;
    max-width: 760px;
}

.section-heading p {
    margin: 12px 0 0;
    color: #5f6b76;
}

/* =========================
   CARDURI / GRID
========================= */
.cards-3,
.two-col {
    display: grid;
    gap: 22px;
}

.cards-3 {
    grid-template-columns: repeat(3, 1fr);
}

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

.card,
.quick-box,
.hero-content,
.hero-panel {
    background: #ffffff;
    border: 1px solid #dfd7ca;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card {
    padding: 30px;
}

.card p {
    margin: 12px 0 0;
    color: #5f6b76;
}

/* =========================
   HOMEPAGE CLASIC / VECHI
========================= */
.hero {
    padding: 50px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: stretch;
}

.hero-content {
    padding: 50px;
}

.hero-panel {
    padding: 20px;
}

.eyebrow {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #e8f0eb;
    color: #274c3b;
    font-size: 14px;
    font-weight: 700;
}

h1 {
    margin-top: 20px;
    font-size: 52px;
}

.lead {
    margin-top: 20px;
    color: #5f6b76;
    font-size: 18px;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-image {
    min-height: 300px;
    border-radius: 20px;
    background:
        linear-gradient(rgba(39, 76, 59, 0.2), rgba(39, 76, 59, 0.2)),
        url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
}

.quick-box {
    margin-top: 18px;
    padding: 24px;
}

.quick-box h3 {
    margin-bottom: 14px;
}

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

.quick-grid a {
    padding: 14px;
    border: 1px solid #dfd7ca;
    border-radius: 14px;
    background: #faf8f3;
    font-weight: 700;
}

/* =========================
   FOOTER
========================= */

.site-footer {
    background: #1f2933;
    color: #ffffff;
    margin-top: 60px;
}

.footer-grid-premium {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 60px 0;
}

.footer-col h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.footer-col h3 {
    margin-bottom: 14px;
    font-size: 18px;
}

.footer-lead {
    color: #cbd5df;
    line-height: 1.8;
    margin-bottom: 14px;
}

.footer-small {
    font-size: 14px;
    color: #9aa6b2;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
    color: #cbd5df;
}

.footer-links a {
    color: #cbd5df;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-col p {
    margin: 6px 0;
    color: #cbd5df;
}

/* bottom */
.footer-bottom-premium {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.footer-bottom-inner {
    font-size: 14px;
    color: #9aa6b2;
}

/* responsive */
@media (max-width: 1000px) {
    .footer-grid-premium {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .footer-grid-premium {
        grid-template-columns: 1fr;
    }
}

/* =========================
   CONTACT PREMIUM
========================= */
.contact-premium-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 36px;
    align-items: start;
}

.contact-side {
    display: grid;
    gap: 28px;
}

.premium-form-card {
    padding: 52px;
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(185, 137, 82, 0.10), transparent 24%),
        radial-gradient(circle at bottom left, rgba(39, 76, 59, 0.07), transparent 24%),
        #ffffff;
    border: 1px solid #e6ded0;
    box-shadow: 0 24px 70px rgba(31, 41, 51, 0.08);
}

.form-card-top {
    margin-bottom: 34px;
}

.form-kicker {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(39, 76, 59, 0.08);
    color: #274c3b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.premium-form-card h2 {
    margin-top: 18px;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.1;
    color: #1f2933;
}

.premium-form-card .form-intro {
    margin-top: 16px;
    max-width: 700px;
    color: #5f6b76;
    font-size: 17px;
    line-height: 1.8;
}

.premium-contact-form {
    display: grid;
    gap: 28px;
}

.premium-contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.premium-contact-form .form-group {
    display: grid;
    gap: 12px;
}

.premium-contact-form label {
    font-size: 14px;
    font-weight: 700;
    color: #1f2933;
    letter-spacing: 0.01em;
}

.input-wrap,
.textarea-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 17px;
    opacity: 0.75;
    pointer-events: none;
}

.premium-contact-form input,
.premium-contact-form textarea {
    width: 100%;
    border: 1px solid #ddd4c7;
    background: #fcfbf8;
    color: #1f2933;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 20px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.premium-contact-form input {
    height: 64px;
    padding: 0 20px 0 54px;
}

.premium-contact-form textarea {
    min-height: 240px;
    padding: 20px 22px;
    resize: vertical;
}

.premium-contact-form input::placeholder,
.premium-contact-form textarea::placeholder {
    color: #94a0aa;
}

.premium-contact-form input:focus,
.premium-contact-form textarea:focus {
    border-color: #b98952;
    background: #ffffff;
    box-shadow: 0 0 0 6px rgba(185, 137, 82, 0.12);
}

.form-bottom {
    margin-top: 4px;
    padding-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.form-note {
    margin: 0;
    max-width: 560px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.8;
}

.premium-submit-btn {
    min-width: 240px;
    min-height: 58px;
    padding: 0 26px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #274c3b, #355f4b);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 18px 34px rgba(39, 76, 59, 0.22);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.premium-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 38px rgba(39, 76, 59, 0.28);
}

.premium-submit-btn:active {
    transform: translateY(0);
}

.alert {
    padding: 18px 20px;
    border-radius: 18px;
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 14px;
}

.alert-success {
    background: #e8f4ec;
    color: #1f6b3b;
    border: 1px solid #b9dec4;
}

.alert-error {
    background: #fdeceb;
    color: #9b2f2f;
    border: 1px solid #f3c0bc;
}

.premium-side-card {
    padding: 34px;
    border-radius: 30px;
    border: 1px solid #e6ded0;
    box-shadow: 0 18px 50px rgba(31, 41, 51, 0.06);
    background: #ffffff;
}

.side-kicker {
    display: inline-flex;
    padding: 9px 15px;
    border-radius: 999px;
    background: rgba(185, 137, 82, 0.12);
    color: #8a6234;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.premium-side-card h2 {
    margin-bottom: 16px;
    font-size: 28px;
    line-height: 1.2;
}

.premium-side-card p {
    color: #5f6b76;
    line-height: 1.8;
    font-size: 16px;
}

.map-embed {
    overflow: hidden;
    border-radius: 22px;
    min-height: 460px;
    margin-top: 18px;
    border: 1px solid #e6ded0;
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 460px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
    .contact-premium-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .cards-3,
    .two-col,
    .hero-grid,
    .footer-main,
    .premium-contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .header-inner {
        min-height: auto;
        padding: 14px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        width: 100%;
        gap: 8px;
    }

    .main-nav a {
        min-height: 42px;
        padding: 0 14px;
    }

    h1 {
        font-size: 36px;
    }

    .hero-content {
        padding: 30px;
    }

    .premium-form-card {
        padding: 36px;
    }

    .premium-side-card {
        padding: 28px;
    }

    .premium-form-card h2 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .main-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .main-nav a {
        width: 100%;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 20px;
    }

    .brand-text strong {
        font-size: 20px;
    }

    .brand-text span {
        font-size: 13px;
    }

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

    .hero-content,
    .hero-panel,
    .card,
    .quick-box {
        padding: 20px;
    }

    .premium-form-card,
    .premium-side-card {
        padding: 24px;
        border-radius: 24px;
    }

    .premium-contact-form {
        gap: 22px;
    }

    .premium-contact-form input {
        height: 58px;
    }

    .premium-contact-form textarea {
        min-height: 200px;
    }

    .form-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .premium-submit-btn {
        width: 100%;
        min-width: 100%;
    }

    .map-embed,
    .map-embed iframe {
        height: 320px;
        min-height: 320px;
    }
}

/* ULTRA FOOTER */
.ultra-footer {
    position: relative;
    background: linear-gradient(180deg, #1f2933, #111827);
    color: #ffffff;
    margin-top: 80px;
    overflow: hidden;
}

/* glow subtil */
.ultra-footer::before {
    content: "";
    position: absolute;
    top: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(185,137,82,0.2), transparent);
    filter: blur(60px);
}

/* linie sus */
.footer-top-line {
    height: 2px;
    background: linear-gradient(to right, transparent, #b98952, transparent);
    opacity: 0.6;
}

/* grid */
.footer-grid-ultra {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 50px;
    padding: 70px 0;
}

/* titluri */
.footer-col h2 {
    font-size: 30px;
    margin-bottom: 16px;
}

.footer-col h3 {
    margin-bottom: 16px;
    font-size: 18px;
    color: #e5e7eb;
}

/* text */
.footer-lead {
    color: #cbd5df;
    line-height: 1.8;
    margin-bottom: 16px;
}

.footer-operator {
    font-size: 14px;
    color: #9aa6b2;
}

/* links */
.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

/* link hover premium */
.footer-links a {
    color: #cbd5df;
    position: relative;
    transition: 0.3s;
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: #b98952;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-links a:hover::after {
    width: 100%;
}

/* contact */
.footer-contact li {
    color: #cbd5df;
}

/* date legale */
.footer-col p {
    margin: 6px 0;
    color: #cbd5df;
}

/* divider */
.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
}

/* bottom */
.footer-bottom-ultra {
    padding: 24px 0;
    text-align: center;
    font-size: 14px;
    color: #9aa6b2;
}

/* responsive */
@media (max-width: 1000px) {
    .footer-grid-ultra {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .footer-grid-ultra {
        grid-template-columns: 1fr;
    }
}

.hero-legal {
    background: url('/assets/img/legal.jpg') center/cover no-repeat;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 40px;
    border: 1px solid #e3dccf;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.legal-card h2 {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 22px;
}

.legal-card p {
    color: #5f6b76;
    line-height: 1.8;
}

.hero-legal {
    background: url('/assets/img/legal.jpg') center/cover no-repeat;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 40px;
    border: 1px solid #e3dccf;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.legal-card h2 {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 22px;
}

.legal-card p,
.legal-card li {
    color: #5f6b76;
    line-height: 1.8;
}

.legal-card ul {
    padding-left: 20px;
}

/* =========================
   COOKIE BANNER PREMIUM
========================= */
.cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 1400;
    transition: all 0.3s ease;
}

.cookie-banner.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    pointer-events: none;
}

.cookie-banner-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 26px 28px;
    border-radius: 24px;
    background: rgba(17, 24, 39, 0.96);
    color: #ffffff;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.cookie-banner-text h3 {
    margin-top: 14px;
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 1.2;
}

.cookie-banner-text p {
    margin: 0;
    max-width: 760px;
    color: #d1d5db;
    line-height: 1.8;
    font-size: 15px;
}

.cookie-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(185, 137, 82, 0.18);
    color: #f4d7b0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn,
.cookie-link {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.cookie-link {
    color: #ffffff;
    opacity: 0.9;
}

.cookie-link:hover {
    opacity: 1;
}

.cookie-btn {
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
}

.cookie-btn-light {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.cookie-btn-light:hover {
    background: rgba(255, 255, 255, 0.14);
}

.cookie-btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.cookie-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

.cookie-btn-primary {
    background: linear-gradient(135deg, #b98952, #a3743f);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(185, 137, 82, 0.22);
}

.cookie-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(185, 137, 82, 0.28);
}

/* modal */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.cookie-modal.active {
    display: flex;
}

.cookie-modal-box {
    width: min(720px, 100%);
    background: #ffffff;
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
    border: 1px solid #e7dfd2;
}

.cookie-modal-top h3 {
    margin-top: 14px;
    margin-bottom: 12px;
    font-size: 30px;
    line-height: 1.15;
    color: #1f2933;
}

.cookie-modal-top p {
    margin: 0;
    color: #5f6b76;
    line-height: 1.8;
}

.cookie-options {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    border: 1px solid #e3dccf;
    border-radius: 20px;
    background: #fcfbf8;
}

.cookie-option strong {
    display: block;
    margin-bottom: 6px;
    color: #1f2933;
}

.cookie-option p {
    margin: 0;
    color: #5f6b76;
    line-height: 1.7;
    font-size: 14px;
}

.cookie-switch {
    position: relative;
    width: 56px;
    height: 32px;
    display: inline-block;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-switch span {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: #d1d5db;
    border-radius: 999px;
    transition: 0.25s ease;
}

.cookie-switch span::before {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    left: 4px;
    top: 4px;
    border-radius: 50%;
    background: #ffffff;
    transition: 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cookie-switch input:checked + span {
    background: #274c3b;
}

.cookie-switch input:checked + span::before {
    transform: translateX(24px);
}

.cookie-switch.disabled span {
    cursor: not-allowed;
    background: #bfc7cf;
}

.cookie-modal-actions {
    margin-top: 28px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .cookie-banner-inner {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .cookie-banner-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .cookie-banner {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .cookie-banner-inner {
        padding: 22px;
        border-radius: 20px;
    }

    .cookie-modal {
        padding: 14px;
    }

    .cookie-modal-box {
        padding: 24px;
        border-radius: 22px;
    }

    .cookie-option {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-modal-actions,
    .cookie-banner-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-btn,
    .cookie-link {
        width: 100%;
    }
}
.hero-legal {
    background: url('/assets/img/legal.jpg') center/cover no-repeat;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 40px;
    border: 1px solid #e3dccf;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.legal-card h2 {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 22px;
}

.legal-card p,
.legal-card li {
    color: #5f6b76;
    line-height: 1.8;
}

.legal-card ul {
    padding-left: 20px;
}