/* ========================================
   COMPONENTS CSS - Shared styles for all pages
   ======================================== */

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 0.75rem 0;
    transition: padding 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

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

/* --- Nav Logo --- */
.nav-logo a,
.nav-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.nav-logo-link:hover {
    opacity: 0.85;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.02em;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--secondary, #64748b);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-top: 1px;
}

/* --- Nav Menu --- */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-link {
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: #f6ad55;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #f6ad55, #ed8936);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: #1e293b;
    font-weight: 600;
}

/* --- Nav Actions --- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- Nav Phone --- */
.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-phone:hover {
    color: #f6ad55;
}

.nav-phone-icon {
    flex-shrink: 0;
}

.phone-desktop {
    font-size: 0.95rem;
    margin-right: 0.75rem;
}

.mobile-phone-icon {
    display: none !important;
    font-size: 1.3rem;
    margin-right: 0.25rem;
}

/* --- Nav Social Icons --- */
.nav-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-social-icon:focus-visible {
    outline: 2px solid #f6ad55;
    outline-offset: 2px;
}

.nav-social-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.nav-whatsapp {
    color: #25D366;
}

.nav-whatsapp:hover {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
}

.nav-telegram {
    color: #0088cc;
}

.nav-telegram:hover {
    background-color: #0088cc;
    border-color: #0088cc;
    color: white;
}

/* --- Calculate Button --- */
.btn-calculate-nav {
    background: linear-gradient(135deg, #f6ad55, #ed8936);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.btn-calculate-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(246, 173, 85, 0.35);
}

.btn-calculate-nav:focus-visible {
    outline: 2px solid #f6ad55;
    outline-offset: 2px;
}

/* --- Burger Menu --- */
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.nav-burger:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.nav-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1e293b;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: white;
    padding: 24px;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}

.mobile-menu-overlay.active .mobile-menu-content {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #64748b;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-menu-close:hover {
    background-color: #f1f5f9;
    color: #1e293b;
}

.mobile-menu-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-nav a {
    color: #1e293b;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-menu-nav a:hover {
    background-color: #f8fafc;
    color: #f6ad55;
}

.mobile-menu-social-svg {
    margin-right: 10px;
    flex-shrink: 0;
}

.mobile-menu-telegram {
    display: flex;
    align-items: center;
    margin-top: 24px;
    padding: 16px;
    background: linear-gradient(135deg, #0088cc, #0077b5);
    color: white !important;
    text-decoration: none;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    flex-wrap: wrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-menu-telegram:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.mobile-menu-telegram-sub {
    display: block;
    width: 100%;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 6px;
}

.mobile-menu-cta {
    display: block;
    margin-top: 12px;
    padding: 14px;
    background: linear-gradient(135deg, #f6ad55, #ed8936);
    color: white !important;
    text-decoration: none;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-menu-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(246, 173, 85, 0.3);
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    color: #94a3b8;
    padding: 60px 0 30px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

.footer-description {
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

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

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

.footer ul a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer ul a:hover {
    color: #f6ad55;
    transform: translateX(2px);
}

.footer ul a:focus-visible {
    outline: 2px solid #f6ad55;
    outline-offset: 2px;
    border-radius: 2px;
}

/* --- Footer Contact Icons --- */
.footer-contact-icon {
    flex-shrink: 0;
    vertical-align: middle;
}

/* --- Footer Phone Note --- */
.footer-phone-note {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 2px;
    padding-left: 20px;
}

/* --- Footer Social Links --- */
.footer-social-link {
    transition: color 0.2s ease !important;
}

.footer-social-telegram:hover {
    color: #0088cc !important;
}

.footer-social-whatsapp {
    color: #94a3b8 !important;
}

.footer-social-whatsapp:hover {
    color: #25D366 !important;
}

/* --- Footer Bottom --- */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

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

.footer-links a:focus-visible {
    outline: 2px solid #f6ad55;
    outline-offset: 2px;
}

/* ========== ORDER MODAL ========== */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    animation: modalFadeIn 0.25s ease forwards;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    padding: 32px;
    max-width: 480px;
    width: 90%;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(20px);
    animation: modalSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 16px;
    top: 12px;
    font-size: 28px;
    cursor: pointer;
    color: #94a3b8;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
    line-height: 1;
}

.modal-close:hover {
    background-color: #f1f5f9;
    color: #475569;
}

.modal-title {
    margin-bottom: 24px;
    color: #1e293b;
    font-size: 1.35rem;
    font-weight: 700;
}

.modal-input {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    color: #1e293b;
    background: #fafbfc;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-input::placeholder {
    color: #94a3b8;
}

.modal-input:focus {
    outline: none;
    border-color: #f6ad55;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(246, 173, 85, 0.12);
}

.modal-textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #f6ad55, #ed8936);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 48px;
}

.modal-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(246, 173, 85, 0.35);
}

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

.modal-submit:focus-visible {
    outline: 2px solid #f6ad55;
    outline-offset: 2px;
}

.modal-privacy {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 14px;
    text-align: center;
    line-height: 1.5;
}

.modal-privacy-link {
    color: #f6ad55;
    text-decoration: none;
    transition: color 0.2s ease;
}

.modal-privacy-link:hover {
    color: #ed8936;
    text-decoration: underline;
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
    position: fixed;
    bottom: 80px;
    left: 10px;
    right: auto;
    background: white;
    padding: 14px 18px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9990;
    max-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.cookie-banner.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

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

.cookie-content p {
    margin: 0;
    font-size: 13px;
    color: #475569;
    flex: 1;
    min-width: 150px;
    line-height: 1.4;
}

.cookie-accept {
    background: linear-gradient(135deg, #f6ad55, #ed8936);
    color: white;
    border: none;
    padding: 8px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    min-height: 36px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cookie-accept:hover {
    transform: scale(1.03);
    box-shadow: 0 2px 8px rgba(246, 173, 85, 0.3);
}

.cookie-accept:focus-visible {
    outline: 2px solid #f6ad55;
    outline-offset: 2px;
}

/* ========== PRICING TABLE ========== */
.pricing-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

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

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 10px;
}

.title-icon {
    margin-right: 10px;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 40px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.price-card {
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.price-card.popular {
    border: 2px solid #f6ad55;
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f6ad55, #ed8936);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.price-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.price-weight {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 10px;
}

.price-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f6ad55;
    margin-bottom: 10px;
}

.price-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 15px;
}

.price-btn {
    display: inline-block;
    background: linear-gradient(135deg, #f6ad55, #ed8936);
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(246, 173, 85, 0.3);
}

.price-btn:focus-visible {
    outline: 2px solid #f6ad55;
    outline-offset: 2px;
}

.pricing-note {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

.pricing-note a {
    color: #f6ad55;
}

/* ========== RESPONSIVE ========== */

/* Medium screens: 769px - 1100px */
@media (min-width: 769px) and (max-width: 1100px) {
    .nav-menu {
        display: none !important;
    }
    .nav-burger {
        display: flex !important;
    }
    .phone-desktop {
        display: none !important;
    }
    .mobile-phone-icon {
        display: block !important;
    }
    .btn-calculate-nav {
        display: none !important;
    }
}

/* Large screens: 1101px - 1300px */
@media (min-width: 1101px) and (max-width: 1300px) {
    .nav-menu {
        gap: 0.8rem;
    }
    .nav-link {
        font-size: 0.85rem;
    }
    .phone-desktop {
        font-size: 0.85rem;
        margin-right: 0.5rem;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .nav-burger {
        display: flex;
    }
    .phone-desktop {
        display: none !important;
    }
    .btn-calculate-nav {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

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

    .modal-content {
        padding: 24px;
        width: 92%;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

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

    .price-card {
        padding: 20px 15px;
    }

    .modal-content {
        padding: 20px;
        width: 95%;
        border-radius: 12px;
    }

    .modal-title {
        font-size: 1.2rem;
    }
}

/* ========== CALCULATOR SECTION ========== */
.calculator-section {
    padding: 60px 0;
    background: white;
}

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

.calculator-wrapper {
    background: #f8fafc;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

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

    .calculator-wrapper {
        padding: 12px;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .calculator-section .container {
        padding: 0 0.5rem;
    }

    .calculator-wrapper {
        padding: 8px;
        border-radius: 12px;
    }
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #475569;
    font-size: 0.9rem;
}

.form-input {
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    color: #1e293b;
    background: #fafbfc;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #f6ad55;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(246, 173, 85, 0.12);
}

.form-input[readonly] {
    background: #e2e8f0;
    cursor: not-allowed;
}

.btn-calculate {
    background: linear-gradient(135deg, #f6ad55, #ed8936);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 52px;
}

.btn-calculate:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(246, 173, 85, 0.35);
}

.btn-calculate:focus-visible {
    outline: 2px solid #f6ad55;
    outline-offset: 2px;
}

.calculator-result {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px dashed #e2e8f0;
    text-align: center;
}

.result-price {
    margin-bottom: 20px;
}

.result-label {
    display: block;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.result-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
}

.btn-order-now {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-order-now:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.btn-order-now:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

/* ========== FEATURES SECTION ========== */
.features-section {
    padding: 60px 0;
    background: white;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.feature-card {
    background: #f8fafc;
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #1e293b;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: #64748b;
    font-size: 0.9rem;
}

/* ========== SEO CONTENT ========== */
.seo-content-section {
    padding: 60px 0;
    background: #f8fafc;
}

.seo-content-section .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.seo-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.seo-content h2, .seo-content h3 {
    color: #1e293b;
    margin-top: 30px;
    margin-bottom: 15px;
}

.seo-content h2:first-child {
    margin-top: 0;
}

.seo-content p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 15px;
}

.seo-content ul, .seo-content ol {
    color: #475569;
    padding-left: 25px;
    margin-bottom: 15px;
}

.seo-content li {
    margin-bottom: 8px;
}

/* ========== RELATED ROUTES ========== */
.related-routes-section {
    padding: 60px 0;
    background: white;
}

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

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.related-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    transition: all 0.25s ease;
}

.related-card:hover {
    background: linear-gradient(135deg, #f6ad55, #ed8936);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(246, 173, 85, 0.3);
}

.related-arrow {
    color: #f6ad55;
    transition: color 0.25s ease;
}

.related-card:hover .related-arrow {
    color: white;
}

/* ========== RESPONSIVE ADDITIONS ========== */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

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

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

    .seo-content {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .result-value {
        font-size: 2rem;
    }
}


/* ========================================
   NAVBAR FIX - Responsive fixes
   (merged from navbar-fix.css)
   ======================================== */

/* Better spacing for nav container - ensure flex layout */
.nav-container {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 1rem 2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1.5rem !important;
}

/* Optimize nav-menu spacing - ensure horizontal layout (DESKTOP ONLY) */
.nav-menu {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    gap: 2rem !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    flex: 1 !important;
    justify-content: center !important;
}

/* Fix vertical alignment of menu items */
.nav-menu li {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-link {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.5rem 0 !important;
}

/* Ensure nav-logo stays compact and in flex */
.nav-logo {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.75rem !important;
    cursor: pointer;
    transition: var(--transition-base);
    flex-shrink: 0 !important;
}

/* Ensure nav-actions stays compact and in flex */
.nav-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1.5rem !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
}

/* Better logo text sizing */
.logo-text {
    font-family: var(--font-display);
    font-size: 1.35rem !important;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap !important;
}

/* Better button sizing */
.btn-calculate-nav {
    padding: 0.65rem 1.5rem !important;
    background: var(--gradient-primary);
    color: var(--white) !important;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem !important;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: 0 4px 15px rgba(30, 41, 59, 0.3);
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

/* Medium screens (tablets) */
@media (max-width: 992px) {
    .nav-container {
        padding: 1rem 1.5rem !important;
    }

    .nav-menu {
        gap: 1.5rem !important;
    }

    .nav-link {
        font-size: 0.9rem !important;
    }

    .logo-text {
        font-size: 1.2rem !important;
    }

    .logo-icon {
        width: 36px !important;
        height: 36px !important;
    }
}

/* Small tablets and large phones */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.75rem 1rem !important;
    }

    /* CRITICAL: Hide desktop menu completely on mobile */
    .nav-menu {
        display: none !important;
    }

    /* Hide calculate button on mobile - it's in the menu */
    .btn-calculate-nav {
        display: none !important;
    }

    .logo-text {
        font-size: 1.1rem !important;
    }

    .logo-icon {
        width: 32px !important;
        height: 32px !important;
    }

    /* Show burger menu */
    .nav-burger {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 44px !important;
        height: 44px !important;
        padding: 8px !important;
        gap: 5px !important;
        cursor: pointer;
        background: transparent !important;
    }

    /* Style burger lines - thicker for better visibility */
    .nav-burger span {
        display: block !important;
        width: 26px !important;
        height: 3px !important;
        min-height: 3px !important;
        background: #0f172a !important;
        border-radius: 2px !important;
        transition: transform 0.25s ease, opacity 0.25s ease !important;
        margin: 0 !important;
    }

    /* Show phone icon + burger in nav-actions */
    .nav-actions {
        gap: 0.75rem !important;
        align-items: center !important;
    }

    /* Hide text phone number on mobile, show icon */
    .phone-desktop {
        display: none !important;
    }

    /* Show mobile phone icon as green call button */
    .mobile-phone-icon {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #22c55e;
        border-radius: 50%;
        color: white;
        transition: background 0.2s ease;
    }

    .mobile-phone-icon:hover {
        background: #16a34a;
    }

    .mobile-phone-icon svg {
        stroke: white;
        width: 20px;
        height: 20px;
    }

    .nav-social-icon {
        display: none !important;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .nav-container {
        padding: 0.75rem 0.75rem !important;
    }

    .logo-text {
        font-size: 1rem !important;
    }

    .logo-icon {
        width: 28px !important;
        height: 28px !important;
    }

}

/* Ensure smooth transitions */
.navbar,
.nav-container,
.nav-logo,
.nav-menu,
.nav-actions,
.btn-calculate-nav {
    transition: all 0.3s ease;
}


/* ========================================
   MOBILE COOKIE FIX
   (merged from mobile-cookie-fix.css)
   ======================================== */

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 75px !important;
        left: 10px !important;
        right: auto !important;
        max-width: calc(100% - 80px) !important;
        border-radius: 10px !important;
        padding: 0.75rem 1rem !important;
    }

    .cookie-banner.visible {
        transform: translateY(0) !important;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .cookie-text p {
        font-size: 0.7rem !important;
        margin-bottom: 0;
        line-height: 1.3;
    }

    .cookie-actions {
        width: 100%;
        justify-content: flex-start;
        gap: 0.5rem;
    }

    .btn-cookie-accept,
    .btn-cookie-decline {
        padding: 0.4rem 0.75rem !important;
        font-size: 0.7rem !important;
        flex: none;
    }
}

@media (max-width: 375px) {
    .cookie-banner {
        bottom: 70px !important;
        padding: 0.625rem 0.75rem !important;
        max-width: calc(100% - 70px) !important;
    }

    .cookie-text p {
        font-size: 0.65rem !important;
    }

    .btn-cookie-accept,
    .btn-cookie-decline {
        padding: 0.35rem 0.6rem !important;
        font-size: 0.65rem !important;
    }
}

@supports (padding: env(safe-area-inset-bottom)) {
    @media (max-width: 768px) {
        .cookie-banner {
            bottom: calc(75px + env(safe-area-inset-bottom)) !important;
        }
    }
}


/* ========================================
   LOGO UNIFIED STYLES
   (merged from logo-unified.css)
   ======================================== */

/* Logo container */
.logo-container,
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo-container:hover,
.nav-logo:hover {
    opacity: 0.85;
}

/* SVG logo - adaptive sizes */
.logo-icon {
    width: 48px;
    height: 32px;
    display: block;
    flex-shrink: 0;
}

/* Logo text */
.logo-text {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

/* Light background variant */
.logo-container.light .logo-text,
.nav-logo .logo-text {
    color: #0f172a;
}

/* Dark background variant */
.logo-container.dark .logo-text {
    color: white;
}

/* Logo responsive - tablets */
@media (max-width: 768px) {
    .logo-icon {
        width: 42px !important;
        height: 28px !important;
    }

    .logo-text {
        font-size: 1.125rem !important;
        font-weight: 700 !important;
    }
}

/* Logo responsive - mobile */
@media (max-width: 480px) {
    .logo-container,
    .nav-logo {
        gap: 10px !important;
    }

    .logo-icon {
        width: 45px !important;
        height: 30px !important;
    }

    .logo-text {
        font-size: 1.125rem !important;
        font-weight: 700 !important;
    }
}

/* Logo in navbar */
.navbar .logo-icon {
    width: 48px;
    height: 32px;
}

/* Logo in footer */
.footer .logo-icon {
    width: 60px;
    height: 40px;
}

.footer .logo-text {
    font-size: 1.5rem;
}

/* Logo on loading screen */
.loading-screen .logo-icon {
    width: 80px;
    height: 53px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Inline SVG styles (backward compat) */
.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-icon #logo-cargo-gradient stop:first-child {
    stop-color: #64748b;
}

.logo-icon #logo-cargo-gradient stop:last-child {
    stop-color: #475569;
}

.logo-icon #logo-cabin-gradient stop:first-child {
    stop-color: #334155;
}

.logo-icon #logo-cabin-gradient stop:last-child {
    stop-color: #1e293b;
}
