body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #fff;
}
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Navbar Styles */
.navbar {
    background-color: #1A2837;
    padding: 0;
    color: white;
    position: relative;
    z-index: 1000;
}
.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    z-index: 2;
    color: #F1D97B;
    padding: 0 15px;
    height: 80px;
    display: flex;
    align-items: center;
}

a.logo-text {
    margin: 0 10px;
    font-size: 24px;
    font-weight: bold;
    color: #D1AC3B;
    text-decoration: none;
}

a.logo-text:hover {
    text-decoration: none;
}

.nav-links {
    display: flex;
    height: 80px;
    z-index: 1000;
    padding-right: 17px;
}
.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    color: #F1D97B;
    text-decoration: none;
    position: relative;
    padding: 0 18px;
    background: linear-gradient(to bottom, rgba(26, 40, 55, 0.8), #1A2837);
    transition: background 0.3s, color 0.3s;
}
.nav-link:hover {
    color: #fff;
    background: linear-gradient(to bottom, rgba(241, 217, 123, 0.15), rgba(236, 204, 92, 0.08), rgba(241, 217, 123, 0.15));
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
}
.nav-link:hover::after {
    background-color: rgba(241, 217, 123, 0.5);
}
.nav-link.dropdown {
    cursor: pointer;
}
.nav-link.active {
    color: #fff;
    background: linear-gradient(to bottom, rgba(241, 217, 123, 0.2), rgba(236, 204, 92, 0.12), rgba(241, 217, 123, 0.2));
}
.nav-link.active::after {
    background-color: rgba(241, 217, 123, 0.8);
}

.nav-link.dropdown::after {
    background: none !important;
}

.nav-link.dropdown.active {
    color: #fff;
    background: linear-gradient(to bottom, rgba(241, 217, 123, 0.2), rgba(236, 204, 92, 0.12), rgba(241, 217, 123, 0.2));
}

.nav-link.dropdown.active::after {
    background-color: rgba(241, 217, 123, 0.8);
}

.dropdown-item.active {
    background-color: rgba(241, 217, 123, 0.2);
    color: #fff;
}

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    top: 100%; /* Position just below navbar */
    left: 0; /* Position by default from the left */
    background-color: #1A2837;
    width: fit-content;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 0 0 5px 5px; /* Rounded only at bottom */
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    z-index: 1002; /* Even higher z-index for dropdown menus */
}

/* Add CSS for right-aligned dropdowns */
.nav-links .nav-link.dropdown:last-child .dropdown-menu,
.nav-links .nav-link.dropdown:nth-last-child(2) .dropdown-menu {
    right: 0;
    left: auto;
}

/* Right-align text in right-aligned dropdown menus */
.nav-links .nav-link.dropdown:last-child .dropdown-menu .dropdown-item,
.nav-links .nav-link.dropdown:nth-last-child(2) .dropdown-menu .dropdown-item {
    text-align: right;
}

.nav-link.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    left: 0;
}
.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #F1D97B;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}
.dropdown-item:hover {
    background-color: #F1D97B;
    color: #1A2837;
}

/* Mobile menu button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001; /* Make toggle button above nav links */
    margin-right: 15px; /* Add some margin */
}
.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #F1D97B;
    border-radius: 3px;
    transition: all 0.3s;
}

/* Banner Styles */
.banner-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: #F0D687;
    z-index: 1; /* Lower z-index than navbar */
}

canvas#water-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    z-index: 2; /* Above container background, below content */
    display: block;
    opacity: 0.8; /* Add slight transparency to blend with the gold background */
}

/* Mobile water background adjustments */
@media (max-width: 640px) {
    .banner-container {
        height: 400px;
    }
    
    canvas#water-background {
        height: 400px;
    }
    
    .banner {
        height: 400px;
    }
}

.banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3; /* Above canvas but below navbar */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #EDDA8738;
    backdrop-filter: blur(1px);
}

.banner-content h1 {
    font-size: 38px;
}
.banner-content h1,
.banner-content h2,
.banner-content h3 {
    margin-bottom: 15px;
    max-width: 800px;
    padding: 0 20px;
    color: #1D2836;
    text-shadow: 0 0 1px #edda87;
    font-weight: bold;
}

.banner {
    position: relative;
    height: 300px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.svg-3d-btn__shadow {
    background: #1D2836;
    border-radius: 22px;
    padding: 12px 0;
    display: block;
    z-index: -1;
}

.svg-3d-btn__btn {
    background-image: linear-gradient(180deg, #F1D97B 0%, #CDA621 100%);
    border: 2px solid #1D2836;
    border-radius: 22px;
    padding: 12px;
    position: relative;
    top: -7px;
    color: #1D2836;
    font-size: 16px;
    font-weight: bold;
}

.svg-3d-btn__btn:hover {
    top: -5px;
    background-image: linear-gradient(180deg, #F1D97B 0%, #e8c144 100%);
}

.svg-3d-btn__btn.pressed,
.svg-3d-btn__btn:active {
    top: 0;
    background-image: linear-gradient(180deg, #F1D97B 0%, #e8c144 100%);
}

/* Use Cases Styles */
.use-cases {
    padding: 80px 0;
    background-color: #fff;
}
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1A2837;
}
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.use-case-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid rgba(14, 11, 35, 0.1);
}
.use-case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: #F1D97B;
}
.use-case-card:hover .use-case-image::after {
    opacity: 1;
}
.use-case-image {
    height: 200px;
    background-color: #1A2837;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.use-case-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 40, 55, 0.1), rgba(26, 40, 55, 0.6), rgba(26, 40, 55, 0.9), rgba(26, 40, 55, 1));
    z-index: 1;
}
.use-case-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #F1D97B;
    z-index: 2;
    opacity: 0;
}
.use-case-bg-video {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.use-case-bg-video[src] {
    opacity: 1;
}
@keyframes placeholder-pulse {
    0% { background-color: rgba(26, 40, 55, 0.3); }
    100% { background-color: rgba(26, 40, 55, 0.5); }
}
.use-case-content {
    padding: 25px;
}
.use-case-content h3 {
    margin-top: 0;
    color: #1A2837;
}
.use-case-content p {
    color: #333;
}

/* Bio Section Styles */
.bio-section {
    padding: 100px 0;
    background-color: #f9f7ee;
}
.bio-container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.bio-image {
    flex: 0 0 300px;
    height: 300px;
    width: 300px;
    border-radius: 50%;
    background: #F1D97B url(../img/dr-manhattan.webp) no-repeat 50% 98%;
}
.bio-content {
    flex: 1;
}
.bio-content h2 {
    color: #1A2837;
    margin-top: 0;
}
.bio-content p {
    color: #333;
}

/* Additional Section Styles */
.tools-section {
    padding: 100px 0;
    background-color: #1A2837;
    text-align: center;
    color: white;
    overflow: hidden;
    position: relative;
}
.tools-grid {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    gap: 40px;
    width: max-content;
    overflow: hidden;
    padding: 0 40px;
    transition: none;
}
.tool-block {
    flex: 0 0 320px;
    width: 320px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
    padding: 48px 20px 36px 20px;
    box-shadow: 0 2px 12px rgba(26,40,55,0.04);
    transition: box-shadow 0.2s, transform 0.2s;
    margin: 0;
}
.tool-block:hover {
    box-shadow: 0 6px 24px rgba(241,217,123,0.13);
    transform: translateY(-4px) scale(1.03);
}
.tool-logo {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 36px;
}
.tool-logo img,
.tool-logo svg {
    width: 200px;
    height: 200px;
    object-fit: contain;
}
.tool-signature {
    font-size: 2.26rem;
    color: #F1D97B;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    margin-top: 4px;
}

article.page-content {
    margin: 80px 0;
}

@media (max-width: 1200px) {
    .tool-block {
        flex: 0 0 220px;
        width: 220px;
        padding: 24px 8px 18px 8px;
    }
    .tool-logo {
        width: 120px;
        height: 120px;
        margin-bottom: 18px;
    }
    .tool-logo img,
    .tool-logo svg {
        width: 120px;
        height: 120px;
    }
    .tool-signature {
        font-size: 1.3rem;
    }
}
@media (max-width: 700px) {
    .tool-block {
        flex: 0 0 140px;
        width: 140px;
        padding: 20px 2px 20px 2px;
    }
    .tool-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 8px;
    }
    .tool-logo img,
    .tool-logo svg {
        width: 60px;
        height: 60px;
    }
    .tool-signature {
        font-size: 0.8rem;
    }
}

/* Develop Section Styles */
.develop-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* matches use-cases and bio-section */
    position: relative;
    overflow: hidden;
    min-height: 300px;
    /* Subtle diagonal line pattern, very light gold */
    background-image: url('data:image/svg+xml;utf8,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><line x1="0" y1="16" x2="16" y2="0" stroke="%23F1D97B" stroke-width="1" opacity="0.08"/></svg>');
    background-repeat: repeat;
    background-size: 16px 16px;
}

.develop-section .container {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(26,40,55,0.06);
    margin: 0 auto;
    padding: 60px 20px 70px 20px;
    text-align: center;
}

.develop-title {
    font-size: 2.1rem;
    color: #1A2837;
    font-weight: bold;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}

.develop-offer {
    font-size: 1.35rem;
    color: #1A2837;
    font-weight: 500;
    margin-bottom: 38px;
    line-height: 1.7;
}

.develop-description {
    background: #f8f9fa;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(26,40,55,0.04);
    padding: 32px 28px;
    color: #333;
    font-size: 1.13rem;
    line-height: 1.8;
    border-left: 4px solid #F1D97B;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .stats-container {
        flex-wrap: wrap;
    }
    .stat-item {
        flex: 0 0 45%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .navbar-content {
        height: 80px;
        align-items: center;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
        margin-right: 15px;
        padding-right: 9px;
    }

    /* Mobile sidebar styling */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        max-width: 350px;
        background: linear-gradient(145deg, #1A2837 0%, #141e29 100%);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 90px 0 30px 15px;
        gap: 0;
        transition: right 0.3s ease-in-out;
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    /* Mobile menu item styling */
    .nav-link {
        width: 100%;
        height: auto;
        padding: 15px 25px;
        background: none;
        border-bottom: 1px solid rgba(241, 217, 123, 0.1);
        justify-content: flex-start;
        font-size: 16px;
        display: flex;
        align-items: center;
        transition: background 0.2s ease;
    }

    .nav-link:hover {
        background: none;
    }

    .nav-link:hover::after {
        background-color: unset;
    }

    /* Mobile dropdown styling */
    .nav-link.dropdown {
        position: relative;
        flex-direction: column;
        align-items: flex-start;
    }

    /* Dropdown indicator */
    .nav-link.dropdown::after {
        content: '+';
        position: absolute;
        right: 25px;
        top: 15px;
        font-size: 18px;
    }

    .nav-link.dropdown.active::after {
        content: '-';
    }

    /* Submenu styling */
    .dropdown-menu {
        position: static;
        width: 100%;
        margin: 5px 0 0 0;
        padding: 5px 0;
        background-color: transparent;
        border-radius: 0;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
        box-shadow: none;
    }

    .nav-links .nav-link.dropdown:last-child .dropdown-menu .dropdown-item,
    .nav-links .nav-link.dropdown:nth-last-child(2) .dropdown-menu .dropdown-item {
        text-align: left;
    }

    .nav-link.dropdown.active .dropdown-menu {
        display: block;
        margin-bottom: -15px;
    }

    .nav-link.dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
        left: 0;
    }

    .dropdown-item {
        padding: 12px 25px 12px 12px;
        color: #F1D97B;
        font-size: 15px;
        transition: all 0.2s;
        position: relative;
    }

    .dropdown-item:hover {
        background-color: transparent;
        color: #fff;
        text-decoration: underline;
    }

    /* Animation for menu toggle */
    .menu-toggle span {
        transition: all 0.3s cubic-bezier(.68,-0.55,.27,1.55);
    }

    /* Other mobile styles */
    .bio-container {
        flex-direction: column;
        text-align: center;
    }

    .bio-image {
        margin-bottom: 30px;
    }

    .banner-content h1 {
        font-size: 30px;
        padding: 0 30px;
    }

    .banner-content p {
        font-size: 16px;
        padding: 0 30px;
    }

    .develop-section .container, .develop-section .develop-content {
        padding: 28px 8px;
    }
    .develop-description {
        padding: 18px 8px;
    }
}

@media (max-width: 576px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    .stat-item {
        flex: 0 0 100%;
    }
    .section-title {
        font-size: 28px;
    }
    .banner-content {
        /* Keep the full width/height from parent styles */
    }

    .banner-content h1 {
        font-size: 26px;
        padding: 0 20px;
    }

    .banner-content p {
        font-size: 15px;
        padding: 0 20px;
    }
}

/* Menu toggle animation */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Footer styles */
.footer {
    background-color: #1A2837;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Northern lights effect */
.footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(125deg,
    rgba(32, 85, 185, 0.15),
    rgba(66, 211, 170, 0.15),
    rgba(138, 43, 226, 0.15),
    rgba(32, 85, 185, 0.15));
    background-size: 400% 400%;
    animation: northernLights 30s ease infinite;
    z-index: 1;
    opacity: 0.4;
}

@keyframes northernLights {
    0% {
        background-position: 0 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

.footer-content {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(100px);
}

/* Footer grid layout */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 40px 0;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.footer-logo-text {
    margin-right: 10px;
    font-size: 22px;
    font-weight: bold;
    color: #D1AC3B;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 25px 0;
    line-height: 1.6;
}

.footer-heading {
    color: #F1D97B;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: #F1D97B;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
    position: relative;
}

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

.footer-links a::before {
    content: '›';
    margin-right: 8px;
    opacity: 0;
    transform: translateX(-5px);
    display: inline-block;
    transition: all 0.3s;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-links a.active {
    color: #fff;
    font-weight: bold;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact svg {
    margin-right: 10px;
    color: #F1D97B;
    flex-shrink: 0;
}

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

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    padding-right: 40px;
}

.legal-links {
    display: flex;
    gap: 20px;
    padding-right: 130px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: #F1D97B;
}

/* Desktop/wide screen */
@media screen and (min-width: 1024px) {
    .footer {
        min-height: 350px;
    }

    .footer-content {
        max-width: 1200px;
        padding: 40px 20px;
    }
}

/* Tablet */
@media screen and (max-width: 1023px) and (min-width: 577px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer {
        height: auto;
        min-height: 500px;
    }

    .footer-content {
        padding: 30px 20px;
    }
}

/* Mobile */
@media screen and (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer {
        min-height: 700px;
    }

    .footer-content {
        padding: 30px 15px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .legal-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* LOGO */

/* Scale down logo2 element to half size */
#logo2 {
    transform: scale(1);
    transform-origin: center;
}

.svg-container:hover::after {
    opacity: 1;
}

/* Add subtle gold accents */
a {
    color: #1A2837;
    transition: color 0.3s;
}

a:hover {
    color: #F1D97B;
}

button,
input[type="submit"],
input[type="button"] {
    background-color: #1A2837;
    color: #F1D97B;
    border: 2px solid #F1D97B;
    transition: all 0.3s;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background-color: #F1D97B;
    color: #1A2837;
}

.image-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #F1D97B;
    font-size: 18px;
    font-weight: bold;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
    transition: all 0.3s ease;
    margin: 0;
    padding-right: 50px;
}

.use-case-card:hover .image-title {
    transform: translateY(-5px);
    opacity: 1;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #1A2837;
    color: #F1D97B;
    border: 2px solid #F1D97B;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #F1D97B;
    color: #1A2837;
    transform: translateY(-5px);
}

@media (max-width: 576px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }

    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* Cookie Consent Popup Styles */
.cookie-consent {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
}
.cookie-consent__content {
    background: #fff;
    color: #1A2837;
    border-radius: 14px;
    box-shadow: 0 0 10px 10px rgba(26,40,55,0.13);
    padding: 22px 24px 18px 24px;
    margin: 0 10px 18px 10px;
    max-width: 420px;
    width: 100%;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    pointer-events: auto;
}
.cookie-consent__content a {
    color: #CDA621;
    text-decoration: underline;
}
.cookie-consent__actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}
.cookie-btn {
    padding: 8px 20px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.cookie-btn--accept {
    background: #F1D97B;
    color: #1A2837;
}
.cookie-btn--accept:hover {
    background: #CDA621;
    color: #fff;
}
.cookie-btn--decline {
    background: #eee;
    color: #1A2837;
}
.cookie-btn--decline:hover {
    background: #D1AC3B;
    color: #fff;
}
@media (max-width: 576px) {
    .cookie-consent__content {
        border-radius: 0;
        margin: 0;
        max-width: 100vw;
        padding: 18px 10px 14px 10px;
        font-size: 15px;
    }
}

.svg-3d-btn {
    background: none;
    border: none;
    padding: 0;
    margin-top: 18px;
    cursor: pointer;
    outline: none;
    display: inline-block;
    transition: transform 0.12s cubic-bezier(.4,0,.2,1), box-shadow 0.12s;
    border-radius: 24px;
    box-shadow: none;
}
.svg-3d-btn:focus-visible {
    outline: 2px solid #CDA621;
    outline-offset: 2px;
}
.svg-3d-btn:active {
    transform: scale(0.97) translateY(1px);
    box-shadow: 0 2px 8px rgba(26,40,55,0.10);
}
.svg-3d-btn svg {
    display: block;
}
@media (max-width: 576px) {
    .svg-3d-btn svg {
        width: 100%;
        height: auto;
        max-width: 98vw;
    }
}

.phone-modal {
    position: fixed;
    z-index: 10000;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.phone-modal__backdrop {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26, 40, 55, 0.65);
    z-index: 1;
}
.phone-modal__content {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(26,40,55,0.18);
    padding: 38px 32px 32px 32px;
    min-width: 320px;
    max-width: 95vw;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.phone-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #1A2837;
    cursor: pointer;
    z-index: 3;
    padding: 0 8px 4px;
    line-height: 1;
    border-radius: 6px;
    transition: background 0.2s;
}
.phone-modal__close:hover {
    background: #F1D97B;
    color: #1A2837;
}
.phone-modal__title {
    margin: 0 0 18px 0;
    color: #1A2837;
    font-size: 1.5rem;
    text-align: center;
}
.phone-modal__form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.phone-modal__label {
    color: #1A2837;
    font-size: 1rem;
    margin-bottom: -10px;
}
.phone-modal__input {
    padding: 12px 14px;
    border-radius: 8px;
    border: 1.5px solid #CDA621;
    font-size: 1.1rem;
    outline: none;
    transition: border 0.2s;
}
.phone-modal__input:focus {
    border-color: #F1D97B;
}
.phone-modal__input--error {
    border-color: #e74c3c !important;
    background: #fff6f6;
}

.phone-modal__textarea {
    width: 100%;
    margin-bottom: 15px;
    box-sizing: border-box;
    min-height: 80px; /* Give textarea some initial height */
    resize: vertical; /* Allow vertical resize */
    font-family: inherit; /* Inherit font from modal */
    padding: 12px 14px;
    border-radius: 8px;
    border: 1.5px solid #CDA621;
    font-size: 1.1rem;
    outline: none;
    transition: border 0.2s;
}
.phone-modal__textarea:focus {
    border-color: #F1D97B;
    box-shadow: 0 0 0 0.2rem rgba(241, 217, 123, 0.25);
}

#altcha {
    margin-top: -10px;
}
#altcha > .altcha {
    border: none;
    font-size: 1.1rem;
    outline: none;
    transition: border 0.2s;
    max-width: 180px;
}

#altcha > .altcha > .altcha-footer {
    display: none;
}

#altcha > .altcha .altcha-logo {
    display: none;
}

.phone-modal__error {
    color: #e74c3c;
    font-size: 0.98rem;
    margin-bottom: -10px;
    min-height: 18px;
    text-align: left;
    padding-left: 2px;
}
.phone-modal__submit {
    background: linear-gradient(180deg, #F1D97B 0%, #CDA621 100%);
    color: #1A2837;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.phone-modal__submit:hover {
    background: #CDA621;
    color: #fff;
}
.phone-modal__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.phone-modal__submit--success {
    background: #4BB543;
    color: #fff;
}
@media (max-width: 576px) {
    .phone-modal__content {
        min-width: 0;
        padding: 22px 8px 18px 8px;
        max-width: 98vw;
    }
}
