:root {
    --primary-color: #F7955E;
    --primary-hover: #D27F50;
    --secondary-color: #2D4E68;
    --secondary-dark: #243E53;
    --secondary-mid: #365a79;
    --light-tint: #FFF0E6;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

header {
    background: #fff;
    border-bottom: 3px solid #F7955E;
    padding: 1rem 0;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    position: relative;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

body.menu-open {
    overflow: hidden;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo img {
    height: 90px;
    width: auto;
}

.main-nav > ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F7955E;
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: #2D4E68;
}

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

.phone-button {
    background: #F7955E;
    color: #243E53;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(247, 149, 94, 0.3);
}

.phone-button:hover {
    background: #F7955E;
    color: #243E53;
    box-shadow: 0 4px 16px rgba(247, 149, 94, 0.5);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu-toggle:focus {
    outline: 2px solid #F7955E;
    outline-offset: 4px;
}

.has-submenu {
    position: relative;
}

.submenu {
    display: none;
    list-style: none;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 250px;
    flex-direction: column;
}

.has-submenu:hover .submenu,
.has-submenu.submenu-open .submenu {
    display: flex;
}

.submenu li {
    border-bottom: 1px solid #f0f0f0;
}

.submenu li:last-child {
    border-bottom: none;
}

.submenu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.submenu a:hover {
    background: #f8f9fa;
    color: #243E53;
    padding-left: 2rem;
}

.submenu a::after {
    display: none;
}

.main-nav a:focus {
    outline: 2px solid #F7955E;
    outline-offset: 4px;
}

@media (min-width: 993px) {
    .submenu {
        position: absolute;
        top: 100%;
        left: 0;
        margin-top: 0.5rem;
        z-index: 100;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .has-submenu:last-child .submenu {
        right: 0;
        left: auto;
    }
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        padding-top: 80px;
        z-index: 999;
    }
    
    .main-nav.active {
        transform: translateX(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .main-nav > ul > li {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .main-nav a {
        display: block;
        padding: 1rem 2rem;
    }
    
    .main-nav a::after {
        display: none;
    }
    
    .submenu {
        position: static;
        display: none;
        background: #f8f9fa;
        border: none;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
        padding: 0;
    }
    
    .has-submenu.submenu-open .submenu {
        display: flex;
    }
    
    .submenu li {
        border-bottom: 1px solid #e8e8e8;
    }
    
    .submenu a {
        padding: 0.75rem 2rem 0.75rem 3rem;
        font-size: 0.95rem;
    }
    
    .submenu a:hover {
        background: #fff;
        color: #243E53;
        padding-left: 3.5rem;
    }
    
    .header-cta {
        margin-left: auto;
    }
}

main {
    min-height: 60vh;
}

.hero {
    position: relative;
    background: linear-gradient(135deg, #2D4E68 0%, #243E53 100%);
    color: #fff;
    padding: 7rem 2rem;
    text-align: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border-radius: 0 0 24px 24px;
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 78, 104, 0.92) 0%, rgba(36, 62, 83, 0.88) 100%);
    z-index: 1;
    border-radius: 0 0 24px 24px;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    font-weight: 400;
    opacity: 0.95;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.section {
    background: #fff;
    margin: 2rem 0;
    padding: 3rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.section:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.section h2 {
    color: #2D4E68;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    border-bottom: 3px solid #f8f9fa;
    padding-bottom: 0.75rem;
}

.section h3 {
    color: #2D4E68;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 600;
}

.section ul {
    margin: 1.5rem 0 1.5rem 2rem;
    line-height: 1.9;
}

.section li {
    margin-bottom: 0.75rem;
    position: relative;
}

.section li::marker {
    color: #F7955E;
}

.section p {
    margin-bottom: 1.25rem;
    line-height: 1.9;
    color: #444;
}

.section a:not(.cta-button) {
    color: #2D4E68;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.section a:hover {
    color: #243E53;
    border-bottom-color: #243E53;
}

.section img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cta-button {
    display: inline-block;
    background: #F7955E;
    color: #243E53;
    padding: 1.3rem 3rem;
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1.15rem;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(247, 149, 94, 0.35);
    border: none;
    cursor: pointer;
    min-width: 280px;
}

.cta-button:hover {
    background: #F7955E;
    color: #243E53;
    box-shadow: 0 8px 28px rgba(247, 149, 94, 0.6);
    transform: translateY(-3px) scale(1.02);
}

.hero .cta-button {
    background: #F7955E;
    color: #243E53;
    border: 2px solid #F7955E;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero .cta-button:hover {
    background: #f8f9fa;
    color: #243E53;
    border-color: #F7955E;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    border-top: 4px solid #F7955E;
}

.card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

.card h3 {
    color: #2D4E68;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: #555;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 4px solid #F7955E;
}

.feature-item:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateX(5px);
}

.feature-item strong {
    color: #2D4E68;
    font-size: 1.1rem;
}

.highlight-box {
    background: #FFF0E6;
    border-left: 5px solid #F7955E;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.highlight-box h3 {
    color: #243E53;
    margin-top: 0;
}

footer {
    background: linear-gradient(135deg, #2D4E68 0%, #243E53 100%);
    color: #fff;
    padding: 4rem 2rem 1.5rem;
    margin-top: 4rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: #ecf0f1;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #365a79;
    color: #bdc3c7;
}

@media (max-width: 968px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        gap: 0;
        padding: 0 1.5rem;
    }
    
    .logo {
        flex: 1;
    }
    
    .logo img {
        height: 70px;
    }
    
    .mobile-menu-toggle {
        margin-left: auto;
    }
    
    .header-cta {
        display: none;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .hero {
        padding: 5rem 1.5rem;
        border-radius: 0 0 20px 20px;
    }
    
    .hero::before {
        border-radius: 0 0 20px 20px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero p {
        font-size: 1.15rem;
        margin-bottom: 2rem;
    }
    
    .hero .cta-button {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        padding: 1.4rem 2rem;
        font-size: 1.1rem;
    }
    
    .section {
        padding: 2rem 1.5rem;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .section h3 {
        font-size: 1.4rem;
    }
    
    .card-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 60px;
    }
    
    .hero {
        padding: 4rem 1.25rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 1.25rem;
    }
    
    .hero p {
        font-size: 1.05rem;
    }
    
    .cta-button {
        padding: 1.2rem 1.5rem;
        font-size: 1.05rem;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(45, 78, 104, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-banner-text {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.cookie-banner-link {
    color: #F7955E;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.cookie-banner-link:hover {
    color: #fff;
}

.cookie-banner-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.cookie-btn-accept {
    background: #F7955E;
    color: #243E53;
    box-shadow: 0 2px 8px rgba(247, 149, 94, 0.3);
}

.cookie-btn-accept:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 149, 94, 0.4);
}

.cookie-btn-decline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        padding: 1.25rem 1.5rem;
        gap: 1.25rem;
        align-items: stretch;
    }
    
    .cookie-banner-text {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .cookie-banner-content {
        padding: 1rem 1.25rem;
        gap: 1rem;
    }
    
    .cookie-banner-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .cookie-btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.9rem;
    }
}
