/**
 * INBIT AG - Stiluri CSS
 * Design corporate responsive mobile-first
 */

:root {
    --primary-color: #004b8d;
    --secondary-color: #f2f2f2;
    --accent-color: #ffb100;
    --text-color: #333;
    --text-light: #666;
    --border-color: #ddd;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --success: #4caf50;
    --error: #f44336;
}

/* Reset si base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 28px;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 28px rgba(15, 36, 56, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(15, 36, 56, 0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    gap: 28px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    max-width: 100%;
    height: auto;
}

.main-menu {
    margin-left: auto;
}

.main-menu ul {
    display: flex;
    list-style: none;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.main-menu a {
    color: #17324a;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    transition: color 0.25s, background 0.25s, border-color 0.25s, transform 0.25s;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 16px;
    border: 1px solid rgba(23, 50, 74, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
}

.main-menu a:hover {
    color: var(--primary-color);
    background: rgba(0, 75, 141, 0.08);
    border-color: rgba(0, 75, 141, 0.28);
    transform: translateY(-1px);
}

/* Dropdown menu */
.menu-dropdown {
    position: relative;
}

.menu-dropdown-header {
    display: inline-flex;
    align-items: center;
}

.dropdown-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: inherit;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dropdown-arrow {
    font-size: 0.7em;
    transition: transform 0.3s;
}

.menu-dropdown:hover .dropdown-arrow,
.menu-dropdown.active .dropdown-arrow,
.dropdown-toggle-btn.rotated .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(15, 36, 56, 0.15);
    border-radius: 8px;
    min-width: 270px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    margin-top: 10px;
    padding: 10px 0;
    z-index: 1000;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(22, 49, 73, 0.08);
}

.menu-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: none;
}

.dropdown-menu a {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    border-bottom: none;
    font-size: 0.92rem;
    color: #163149;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: rgba(0, 75, 141, 0.06);
    color: var(--primary-color);
    padding-left: 24px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(23, 50, 74, 0.14);
    border-radius: 12px;
    cursor: pointer;
    padding: 10px 9px;
    box-shadow: 0 8px 24px rgba(15, 36, 56, 0.08);
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #17324a;
    transition: all 0.3s;
    border-radius: 999px;
}

/* Main content */
.site-main {
    min-height: calc(100vh - 200px);
}

/* Homepage */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-home {
    min-height: calc(100vh - 84px);
    display: flex;
    align-items: center;
    padding: 90px 0 86px;
    color: var(--white);
    background: #0f2438;
}

.hero-video-home {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(0, 35, 68, 0.9) 0%, rgba(0, 48, 93, 0.78) 42%, rgba(4, 17, 31, 0.45) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.42) 100%);
    z-index: 1;
}

.hero-home-shell {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-copy {
    max-width: 840px;
    text-align: left;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.82rem;
    font-weight: 700;
}

.section-eyebrow::before {
    content: '';
    width: 46px;
    height: 2px;
    background: currentColor;
}

.hero-copy h1 {
    font-size: clamp(3.2rem, 6vw, 5.8rem);
    line-height: 0.96;
    margin-bottom: 26px;
    max-width: 840px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.16rem;
    max-width: 720px;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffc633 100%);
    color: var(--text-color);
    box-shadow: 0 4px 16px rgba(255, 177, 0, 0.3);
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffc633 0%, var(--accent-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 177, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-secondary-dark {
    color: var(--text-color);
    border-color: var(--text-color);
}

.btn-secondary-dark:hover {
    background: var(--text-color);
    color: var(--white);
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-large {
    padding: 15px 30px;
    font-size: 18px;
}

.home-section {
    padding: 90px 0;
}

.home-intro {
    padding-top: 70px;
}

.wide-section {
    max-width: 1320px;
}

.split-intro,
.sectors-grid {
    display: grid;
    gap: 44px;
}

.split-intro {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
}

.intro-heading h2,
.section-heading h2,
.proof-copy h2,
.final-cta h2 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1.02;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.intro-copy,
.section-heading,
.proof-copy {
    max-width: none;
}

.intro-copy p,
.section-heading p,
.proof-copy p,
.sector-list p {
    font-size: 1.08rem;
}

.service-overview {
    background:
        linear-gradient(135deg, rgba(0, 75, 141, 0.97) 0%, rgba(0, 51, 102, 0.98) 100%);
    color: var(--white);
}

.service-overview .section-heading h2,
.service-overview .section-heading p,
.service-strip h3,
.service-strip p,
.service-strip a {
    color: var(--white);
}

.service-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.service-strip {
    padding: 34px 34px 38px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.service-strip span {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--accent-color);
    font-weight: 800;
    letter-spacing: 0.16em;
}

.service-strip h3 {
    font-size: 2rem;
    margin-bottom: 14px;
}

.service-strip a {
    display: inline-block;
    margin-top: 18px;
    font-weight: 700;
    text-decoration: none;
}

.operational-proof {
    background:
        linear-gradient(135deg, rgba(242, 242, 242, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.proof-heading {
    max-width: 920px;
    margin-bottom: 30px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.metric-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 75, 141, 0.12);
}

.highlight-number {
    display: block;
    color: var(--primary-color);
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 10px;
    font-weight: 800;
}

.highlight-text {
    font-size: 2.5rem;
    letter-spacing: -0.03em;
}

.highlight-label {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.5;
}

.sectors-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
}

.sector-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.sector-list > div {
    background: rgba(255, 255, 255, 0.95);
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 75, 141, 0.08);
}

.sector-list h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.final-cta-section {
    padding-top: 30px;
}

.final-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 75, 141, 0.98) 0%, rgba(0, 51, 102, 0.98) 100%);
    color: var(--white);
    padding: 54px 42px;
    border-radius: 24px;
    box-shadow: 0 10px 36px rgba(0, 75, 141, 0.2);
}

.final-cta .section-eyebrow {
    color: rgba(255, 255, 255, 0.78);
}

.final-cta h2 {
    color: var(--white);
}

.final-cta p {
    color: rgba(255, 255, 255, 0.92);
    max-width: 840px;
    margin: 0 auto 0;
}

.final-cta .hero-buttons {
    justify-content: center;
    margin-top: 28px;
}

.final-cta .btn-secondary-dark {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.06);
}

.final-cta .btn-secondary-dark:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

/* Page content */
.page-content {
    padding: 60px 20px;
    min-height: 500px;
}

.page-content:not(.shop-filters) {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 242, 242, 0.95) 100%);
}

.page-content h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.page-body {
    max-width: 900px;
    margin: 0 auto 40px;
}

.page-body p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.page-cta {
    text-align: center;
}

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 75, 141, 0.12);
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(0, 75, 141, 0.25);
    background: rgba(255, 255, 255, 1);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Shop */
.shop-filters {
    margin-bottom: 30px;
}

.filter-group {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group label {
    font-weight: 600;
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 75, 141, 0.12);
    transition: all 0.3s;
    border: 1px solid rgba(242, 242, 242, 0.8);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 75, 141, 0.25);
}

.product-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e8e8e8 100%);
    overflow: hidden;
    position: relative;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 75, 141, 0.05) 0%, rgba(255, 177, 0, 0.05) 100%);
    z-index: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    position: relative;
    z-index: 0;
}

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

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.product-card h3 {
    color: var(--primary-color);
    margin: 10px 0;
}

.product-short-desc {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

/* Product detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.product-placeholder-large {
    height: 400px;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.product-description {
    margin: 20px 0;
}

/* Forms */
.form-group,
.contact-form,
.order-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
    cursor: pointer;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid var(--success);
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid var(--error);
}

.alert ul {
    margin: 10px 0 0 20px;
}

/* Footer */
.site-footer {
    background: var(--text-color);
    color: var(--white);
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    flex: 1;
    min-width: 250px;
}

.footer-copyright p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-copyright a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-copyright a:hover {
    color: var(--white);
}

.footer-eu-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-eu-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.footer-eu-info a {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer-eu-info a:hover {
    color: var(--white);
}

.footer-menu ul {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-menu a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: var(--accent-color);
}

.footer-anpc {
    text-align: center;
    padding-top: 20px;
}

.anpc-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.anpc-buttons a {
    display: inline-block;
    transition: transform 0.3s;
    text-decoration: none;
}

.anpc-buttons a:hover {
    transform: translateY(-3px);
}

.anpc-buttons img {
    width: 200px;
    height: auto;
    margin: 5px;
    border-radius: 8px;
    transition: opacity 0.3s;
}

.anpc-buttons a:hover img {
    opacity: 0.9;
}

/* Responsive - Mobile First */
@media (max-width: 1024px) {
    .split-intro,
    .sectors-grid {
        grid-template-columns: 1fr;
    }

    .sector-list,
    .service-columns {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .hero-home {
        min-height: auto;
        padding: 78px 0 64px;
    }

    .hero-copy h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.02rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .site-header {
        background: #ffffff;
    }
    
    .main-menu {
        position: absolute;
        top: 100%;
        left: 15px;
        right: 15px;
        background: #ffffff;
        box-shadow: none;
        border: none;
        border-radius: 16px;
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.3s ease, opacity 0.2s ease, visibility 0.2s ease;
    }
    
    .main-menu.active {
        max-height: 850px;
        overflow-y: auto;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        margin-top: 8px;
        border: 1px solid rgba(23, 50, 74, 0.12);
        box-shadow: 0 16px 38px rgba(15, 36, 56, 0.18);
    }
    
    .main-menu ul {
        flex-direction: column;
        padding: 14px;
        gap: 8px;
        align-items: stretch;
    }
    
    .main-menu li {
        border-bottom: none;
    }
    
    .main-menu a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        padding: 12px 18px;
        background: rgba(15, 36, 56, 0.03);
        border: 1px solid rgba(23, 50, 74, 0.08);
    }
    
    /* Mobile dropdown */
    .menu-dropdown {
        position: static;
        display: flex;
        flex-direction: column;
    }

    .menu-dropdown-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(15, 36, 56, 0.03);
        border: 1px solid rgba(23, 50, 74, 0.08);
        border-radius: 12px;
        overflow: hidden;
    }

    .menu-dropdown-header .menu-parent-link {
        flex: 1;
        border: none;
        background: transparent;
        padding: 12px 18px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .dropdown-toggle-btn {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        border-left: 1px solid rgba(23, 50, 74, 0.08);
        color: #17324a;
        cursor: pointer;
        padding: 0;
        font-size: 1.15rem;
    }

    .dropdown-toggle-btn:active {
        background: rgba(0, 75, 141, 0.1);
    }

    .menu-dropdown.active .dropdown-arrow,
    .dropdown-toggle-btn.rotated .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        background: rgba(0, 75, 141, 0.02);
        border: 1px solid rgba(0, 75, 141, 0.08);
        border-radius: 10px;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        gap: 6px;
        transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease, margin 0.25s ease;
    }

    .menu-dropdown.active .dropdown-menu {
        max-height: 800px;
        opacity: 1;
        visibility: visible;
        padding: 10px;
        margin-top: 6px;
    }

    .dropdown-menu li {
        border-bottom: none;
        list-style: none;
    }

    .dropdown-menu a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 11px 14px;
        background: #ffffff;
        border: 1px solid rgba(0, 75, 141, 0.08);
        border-radius: 8px;
        font-size: 0.92rem;
        color: #163149;
        font-weight: 600;
        text-decoration: none;
        box-shadow: 0 1px 3px rgba(0, 75, 141, 0.04);
        transition: all 0.2s ease;
    }

    .dropdown-menu a i {
        font-size: 1.15rem;
        color: var(--primary-color);
        display: inline-flex;
    }

    .dropdown-menu a:hover,
    .dropdown-menu a:active {
        background: #004b8d;
        color: #ffffff;
        border-color: #004b8d;
    }

    .dropdown-menu a:hover i,
    .dropdown-menu a:active i {
        color: #f58220;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid,
    .highlights-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-menu ul {
        justify-content: center;
    }
    
    .anpc-buttons {
        flex-direction: column;
    }
    
    .anpc-buttons img {
        width: 180px;
    }

}

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

    .hero-copy h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }

    .home-section {
        padding: 70px 0;
    }

    .section-eyebrow {
        letter-spacing: 0.12em;
        font-size: 0.74rem;
    }

    .highlights-grid,
    .sector-list {
        grid-template-columns: 1fr;
    }

    .service-strip,
    .metric-item,
    .sector-list > div,
    .final-cta {
        padding: 22px;
    }
}

/* ===================================================
   ACCESSIBILITATE (WCAG 2.1 AA) & ELEMENTE SEMANTICE
   =================================================== */

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: #f58220;
    color: #ffffff;
    padding: 12px 20px;
    font-weight: 700;
    z-index: 100000;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #ffffff;
}

/* Focus styles vizibile pentru tastatură */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #f58220 !important;
    outline-offset: 2px !important;
}

/* ===================================================
   FOOTER NOU & MODERN - STRUCTURĂ GRID ACCESIBILĂ
   =================================================== */

.site-footer {
    background: #07192f;
    color: #cbd5e1;
    padding: 70px 0 25px;
    border-top: 3px solid #f58220;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr;
    gap: 40px;
    margin-bottom: 50px;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-col-about .footer-logo {
    margin-bottom: 16px;
}

.footer-col-about .footer-tagline {
    color: #f58220;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-legal-data p {
    margin-bottom: 6px;
    font-size: 0.88rem;
    color: #94a3b8;
}

.footer-legal-data a {
    color: #e2e8f0;
    text-decoration: none;
}

.footer-legal-data a:hover {
    color: #f58220;
    text-decoration: underline;
}

.footer-title {
    color: #ffffff;
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: #f58220;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.footer-links a:hover {
    color: #f58220;
    padding-left: 4px;
}

.footer-cookie-link {
    background: rgba(245, 130, 32, 0.12);
    border: 1px solid rgba(245, 130, 32, 0.35);
    padding: 6px 12px;
    border-radius: 6px;
    color: #ffb100 !important;
    display: inline-block;
    margin-top: 6px;
    font-weight: 600;
    font-size: 0.88rem;
}

.footer-cookie-link:hover {
    background: #f58220;
    color: #ffffff !important;
}

.footer-anpc-desc {
    font-size: 0.88rem;
    color: #94a3b8;
    margin-bottom: 16px;
}

.anpc-badges-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.anpc-badge-link {
    display: inline-block;
    transition: transform 0.2s;
    border-radius: 6px;
    overflow: hidden;
}

.anpc-badge-link:hover {
    transform: translateY(-2px);
}

.anpc-badge-link img {
    display: block;
    max-width: 100%;
    height: auto;
}

.eu-disclaimer {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 10px;
    line-height: 1.4;
}

.eu-disclaimer a {
    color: #94a3b8;
    text-decoration: underline;
}

.eu-slogan-wrapper {
    margin-top: 12px;
}

.eu-slogan-link {
    display: inline-block;
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-width: 100%;
}

.eu-slogan-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.88rem;
    color: #94a3b8;
}

.footer-bottom-copy p {
    margin: 0;
    line-height: 1.5;
}

.developer-credits {
    font-size: 0.84rem;
    color: #94a3b8;
    margin-top: 4px;
}

.developer-credits a {
    color: #f58220;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s, text-decoration 0.2s;
}

.developer-credits a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom-meta a {
    color: #94a3b8;
    text-decoration: none;
}

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

@media (max-width: 768px) {
    .site-footer {
        padding-bottom: 100px !important;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-bottom: 15px;
    }
}

/* ===================================================
   STILURI PAGINI LEGALE, GDPR & RETRAGERE
   =================================================== */

.legal-page-section {
    padding: 60px 0 90px;
    background: #ffffff;
}

.legal-document {
    color: #1e293b;
    font-size: 1.02rem;
    line-height: 1.75;
}

.legal-block {
    margin-bottom: 45px;
    padding-bottom: 35px;
    border-bottom: 1px solid #e2e8f0;
}

.legal-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-block h3 {
    color: #0b2545;
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-block ul,
.legal-block ol {
    margin: 16px 0 16px 24px;
}

.legal-block li {
    margin-bottom: 10px;
}

.company-card-info {
    background: #f8fafc;
    border-left: 4px solid #0b2545;
    padding: 20px 24px;
    border-radius: 0 10px 10px 0;
    margin: 18px 0;
}

.company-card-info p {
    margin-bottom: 6px;
}

.company-card-info p:last-child {
    margin-bottom: 0;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
    margin: 24px 0;
}

.right-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 20px;
    transition: all 0.2s;
}

.right-card:hover {
    border-color: #f58220;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.04);
}

.right-card h4 {
    color: #0b2545;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.right-card p {
    font-size: 0.92rem;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}

.anspdcp-card {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 20px;
    margin-top: 16px;
}

.table-responsive {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    text-align: left;
}

.legal-table th {
    background: #0b2545;
    color: #ffffff;
    padding: 14px 16px;
    font-weight: 700;
}

.legal-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-table tr:nth-child(even) {
    background: #f8fafc;
}

.legal-table code {
    background: #e2e8f0;
    color: #0b2545;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.cookie-interactive-box {
    background: linear-gradient(135deg, #0b2545 0%, #17324a 100%);
    color: #ffffff;
    border-radius: 14px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 25px rgba(11, 37, 69, 0.15);
}

.cookie-interactive-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-interactive-box h3 {
    color: #ffffff;
    margin-bottom: 6px;
    font-size: 1.35rem;
}

.cookie-interactive-box p {
    color: #cbd5e1;
    margin: 0;
}

.cta-legal-box {
    background: #fffbf0;
    border: 2px solid #ffb100;
    border-radius: 10px;
    padding: 24px;
    margin: 20px 0;
    text-align: center;
}

.anpc-info-box {
    background: #f0f7ff;
    border-left: 4px solid #2563eb;
    padding: 18px 22px;
    border-radius: 0 8px 8px 0;
    margin-top: 15px;
}

/* Formular Retragere */
.withdrawal-form-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-top: 30px;
}

@media (max-width: 640px) {
    .withdrawal-form-wrapper {
        padding: 24px 18px;
    }
}

.form-section-title {
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0b2545;
}

.form-section-title:first-child {
    margin-top: 0;
}

.form-section-title h3 {
    color: #0b2545;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.form-row-2 > * {
    flex: 1;
}

@media (max-width: 640px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

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

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0b2545;
    font-size: 0.95rem;
}

.form-group label span.required {
    color: #e11d48;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #1e293b;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: #f58220;
    box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.2);
    outline: none;
}

.consent-checkbox {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 16px 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
}

.checkbox-label {
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.5;
}

.legal-success-box {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 30px;
    border-radius: 12px;
    background: #f0fdf4;
    border: 2px solid #22c55e;
    color: #15803d;
}

.legal-success-box .success-icon {
    font-size: 3rem;
    color: #22c55e;
    line-height: 1;
}

.badge-reg {
    background: #15803d;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.05em;
    font-size: 1.1em;
}

/* ===================================================
   PORTOFOLIU PROIECTE DE REFERINȚĂ & CARDURI CONEXE
   =================================================== */
.related-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 28px;
    margin-top: 24px;
}

.related-project-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 18px rgba(11, 37, 69, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.related-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(11, 37, 69, 0.12);
}

.related-project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #0b2545;
}

.related-project-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.related-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.74rem;
    font-weight: 700;
    background: #e0f2fe;
    color: #0369a1;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.related-project-body h4 {
    font-size: 1.12rem;
    color: #0b2545;
    margin-bottom: 8px;
    line-height: 1.4;
    font-weight: 800;
}

.related-project-body p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 16px;
    flex: 1;
}

.link-arrow {
    font-size: 0.88rem;
    font-weight: 700;
    color: #f58220;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.link-arrow:hover {
    text-decoration: none;
    color: #0b2545;
    gap: 10px;
}

