/* ========================================
   APA CAREBOX - MOBILE OPTIMIZED STYLES
   ======================================== */

/* CSS Variables */
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #3b82f6;
    --bg-light: #f0f7ff;
    --bg-white: #ffffff;
    --footer-bg: #111827;
    --text-dark: #1f2937;
    --text-gray: #4b5563;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

/* Container - Mobile First */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 640px) {
    .container {
        padding: 0 24px;
    }
}

/* ========================================
   COOKIE BANNER - FIXED & MOBILE OPTIMIZED
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--footer-bg);
    color: white;
    z-index: 10000;
    padding: 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-banner-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-banner-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.cookie-banner-text a {
    color: var(--primary-light);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-banner-text a:hover {
    color: white;
}

.cookie-banner-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
    min-height: 48px;
    border: none;
    cursor: pointer;
}

.cookie-btn-accept {
    background: var(--primary);
    color: white;
}

.cookie-btn-accept:hover {
    background: var(--primary-hover);
}

.cookie-btn-essential {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-essential:hover {
    background: rgba(255, 255, 255, 0.25);
}

.cookie-btn-settings {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-settings:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Cookie Banner Tablet+ */
@media (min-width: 640px) {
    .cookie-banner {
        padding: 20px 24px;
    }
    
    .cookie-banner-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }
    
    .cookie-banner-text {
        flex: 1;
    }
    
    .cookie-banner-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 10px;
    }
    
    .cookie-btn {
        width: auto;
        min-height: 44px;
        padding: 12px 24px;
    }
}

/* Cookie Modal */
.cookie-modal {
    max-width: 100% !important;
    margin: 16px;
}

@media (min-width: 640px) {
    .cookie-modal {
        max-width: 500px !important;
        margin: 0;
    }
}

.cookie-intro {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 14px;
}

.cookie-category {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.cookie-category-header h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.cookie-category-header p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.4;
}

/* Cookie Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

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

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 28px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(22px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: var(--primary);
    opacity: 0.6;
    cursor: not-allowed;
}

/* ========================================
   SOCIAL LINKS
   ======================================== */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover,
.social-link:active {
    background: var(--primary);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* ========================================
   NAVIGATION - FIXED LOGO & MOBILE OPTIMIZED
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 60px;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .navbar {
        height: 70px;
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Fixed Logo Styling */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .logo img {
        height: 48px;
        max-width: 200px;
    }
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .nav-links a {
        padding: 8px 16px;
        font-size: 15px;
        font-weight: 500;
        color: var(--text-dark);
        border-radius: var(--radius-sm);
        transition: var(--transition);
    }
    
    .nav-links a:hover {
        color: var(--primary);
        background: rgba(37, 99, 235, 0.05);
    }
    
    .nav-links a.btn-nav {
        background: var(--primary);
        color: white;
        padding: 10px 20px;
        margin-left: 8px;
    }
    
    .nav-links a.btn-nav:hover {
        background: var(--primary-hover);
    }
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: transparent;
}

.mobile-menu-btn:active {
    background: rgba(37, 99, 235, 0.1);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* ========================================
   HERO SECTION - MOBILE OPTIMIZED
   ======================================== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('../images/hero-image.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 16px 60px;
    position: relative;
}

@media (min-width: 640px) {
    .hero {
        padding: 100px 24px 80px;
    }
}

.hero-content {
    max-width: 700px;
    color: white;
    width: 100%;
}

.hero-logo-wrapper {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    padding: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
    .hero-logo-wrapper {
        width: 120px;
        height: 120px;
        padding: 14px;
        margin-bottom: 24px;
    }
}

@media (min-width: 768px) {
    .hero-logo-wrapper {
        width: 140px;
        height: 140px;
        padding: 16px;
    }
}

.hero-logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.hero-title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 10px;
    opacity: 0.95;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }
}

.hero-subtitle strong {
    font-weight: 600;
}

.hero-mission {
    font-size: 0.9375rem;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .hero-mission {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

@media (min-width: 480px) {
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    width: 100%;
    min-height: 52px;
}

@media (min-width: 480px) {
    .btn {
        width: auto;
        padding: 14px 32px;
        font-size: 16px;
    }
}

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

.btn-primary:hover,
.btn-primary:active {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* ========================================
   SECTIONS - MOBILE OPTIMIZED
   ======================================== */
.section {
    padding: 60px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 80px 0;
    }
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 36px;
    padding: 0 8px;
}

@media (min-width: 640px) {
    .section-header {
        margin-bottom: 48px;
        padding: 0;
    }
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 16px;
    }
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

@media (min-width: 640px) {
    .section-subtitle {
        font-size: 1.125rem;
    }
}

/* ========================================
   PRODUCTS SECTION - MOBILE OPTIMIZED
   ======================================== */
.products-section {
    background: var(--bg-white);
    padding: 60px 0;
}

@media (min-width: 768px) {
    .products-section {
        padding: 80px 0;
    }
}

.info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .info-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        margin-bottom: 64px;
    }
}

.info-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

@media (min-width: 640px) {
    .info-card {
        padding: 28px;
        gap: 16px;
    }
}

.info-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

@media (min-width: 640px) {
    .info-card-icon {
        width: 48px;
        height: 48px;
    }
}

.info-card-icon svg {
    width: 22px;
    height: 22px;
}

@media (min-width: 640px) {
    .info-card-icon svg {
        width: 24px;
        height: 24px;
    }
}

.info-card-content h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

@media (min-width: 640px) {
    .info-card-content h3 {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }
}

.info-card-content ul {
    list-style: disc;
    padding-left: 18px;
}

.info-card-content li {
    color: var(--text-gray);
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.5;
}

@media (min-width: 640px) {
    .info-card-content li {
        font-size: 15px;
        margin-bottom: 6px;
    }
}

.products-title {
    text-align: center;
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 28px;
    color: var(--text-dark);
}

@media (min-width: 640px) {
    .products-title {
        font-size: 1.75rem;
        margin-bottom: 40px;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.product-card:hover,
.product-card:active {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    height: 180px;
    overflow: hidden;
}

@media (min-width: 640px) {
    .product-image {
        height: 200px;
    }
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-content {
    padding: 16px;
}

@media (min-width: 640px) {
    .product-content {
        padding: 20px;
    }
}

.product-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

@media (min-width: 640px) {
    .product-title {
        gap: 12px;
        margin-bottom: 12px;
    }
}

.product-icon {
    width: 32px;
    height: 32px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .product-icon {
        width: 36px;
        height: 36px;
    }
}

.product-icon svg {
    width: 18px;
    height: 18px;
}

@media (min-width: 640px) {
    .product-icon svg {
        width: 20px;
        height: 20px;
    }
}

.product-title h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

@media (min-width: 640px) {
    .product-title h3 {
        font-size: 1.125rem;
    }
}

.product-content p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .product-content p {
        font-size: 15px;
    }
}

/* ========================================
   HOW IT WORKS SECTION - MOBILE OPTIMIZED
   ======================================== */
.how-it-works {
    background: var(--bg-light);
    padding: 60px 0;
}

@media (min-width: 768px) {
    .how-it-works {
        padding: 80px 0;
    }
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

@media (min-width: 640px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 24px;
        margin-bottom: 40px;
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

.step-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px 20px 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
}

@media (min-width: 640px) {
    .step-card {
        padding: 40px 24px 32px;
    }
}

.step-card:hover,
.step-card:active {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.step-number {
    position: absolute;
    top: -16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
}

@media (min-width: 640px) {
    .step-number {
        top: -20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

.step-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary);
}

@media (min-width: 640px) {
    .step-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
    }
}

.step-icon svg {
    width: 24px;
    height: 24px;
}

@media (min-width: 640px) {
    .step-icon svg {
        width: 28px;
        height: 28px;
    }
}

.step-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

@media (min-width: 640px) {
    .step-card h3 {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }
}

.step-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .step-card p {
        font-size: 15px;
    }
}

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

.steps-cta .btn-primary {
    padding: 14px 32px;
    font-size: 16px;
}

@media (min-width: 640px) {
    .steps-cta .btn-primary {
        padding: 16px 40px;
        font-size: 17px;
    }
}

/* ========================================
   CONTACT SECTION - MOBILE OPTIMIZED
   ======================================== */
.contact-section {
    background: var(--bg-light);
    padding: 60px 0;
}

@media (min-width: 768px) {
    .contact-section {
        padding: 80px 0;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 640px) {
    .contact-info-cards {
        gap: 16px;
    }
}

.contact-info-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

@media (min-width: 640px) {
    .contact-info-card {
        padding: 20px 24px;
        gap: 16px;
    }
}

.contact-info-card:hover,
.contact-info-card:active {
    box-shadow: var(--shadow-md);
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .contact-info-icon {
        width: 48px;
        height: 48px;
    }
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
}

@media (min-width: 640px) {
    .contact-info-icon svg {
        width: 24px;
        height: 24px;
    }
}

.contact-info-card div h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 3px;
}

@media (min-width: 640px) {
    .contact-info-card div h4 {
        font-size: 15px;
        margin-bottom: 4px;
    }
}

.contact-info-card div a,
.contact-info-card div p {
    color: var(--text-gray);
    font-size: 14px;
    word-break: break-word;
}

@media (min-width: 640px) {
    .contact-info-card div a,
    .contact-info-card div p {
        font-size: 15px;
    }
}

.contact-info-card div a:hover {
    color: var(--primary);
}

.contact-form-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
}

@media (min-width: 640px) {
    .contact-form-card {
        padding: 32px;
    }
}

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

@media (min-width: 640px) {
    .form-group {
        margin-bottom: 16px;
    }
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-white);
    min-height: 52px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    min-height: 56px;
    border: none;
    cursor: pointer;
}

.btn-submit:hover,
.btn-submit:active {
    background: var(--primary-hover);
}

.form-note {
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.5;
}

@media (min-width: 640px) {
    .form-note {
        margin-top: 16px;
        font-size: 13px;
    }
}

.form-note a {
    color: var(--primary);
    text-decoration: underline;
}

/* ========================================
   FOOTER - FIXED WITH CLICKABLE LINKS
   ======================================== */
.footer {
    background: var(--footer-bg);
    color: white;
    padding: 48px 0 24px;
}

@media (min-width: 768px) {
    .footer {
        padding: 64px 0 32px;
    }
}

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

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 48px;
    }
}

.footer-logo-wrapper {
    display: inline-flex;
    padding: 0;
    margin-bottom: 14px;
}

.footer-logo-wrapper img {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

@media (min-width: 640px) {
    .footer-logo-wrapper {
        padding: 0;
        margin-bottom: 16px;
    }
    
    .footer-logo-wrapper img {
        height: 42px;
    }
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .footer-brand p {
        font-size: 15px;
    }
}

.footer-column h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

@media (min-width: 640px) {
    .footer-column h4 {
        font-size: 16px;
        margin-bottom: 20px;
    }
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 640px) {
    .footer-column ul {
        gap: 12px;
    }
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    min-height: 32px;
}

@media (min-width: 640px) {
    .footer-column a {
        font-size: 15px;
    }
}

.footer-column a:hover {
    color: white;
}

.footer-column a svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.footer-link-btn {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    min-height: 32px;
    width: 100%;
    text-align: left;
}

@media (min-width: 640px) {
    .footer-link-btn {
        font-size: 15px;
    }
}

.footer-link-btn:hover {
    color: white;
}

.footer-link-btn svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

/* Footer Contact Links - FIXED */
.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

@media (min-width: 640px) {
    .footer-contact-item {
        font-size: 15px;
        margin-bottom: 10px;
    }
}

.footer-contact-item:hover {
    color: white;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item span {
    line-height: 1.5;
    word-break: break-word;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

@media (min-width: 640px) {
    .footer-bottom {
        padding-top: 24px;
    }
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

@media (min-width: 640px) {
    .footer-bottom p {
        font-size: 14px;
    }
}

/* ========================================
   SCROLL TO TOP - MOBILE OPTIMIZED
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    border: none;
    cursor: pointer;
}

@media (min-width: 640px) {
    .scroll-top {
        bottom: 24px;
        right: 24px;
        width: 48px;
        height: 48px;
    }
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover,
.scroll-top:active {
    background: var(--primary-hover);
}

.scroll-top svg {
    width: 18px;
    height: 18px;
}

@media (min-width: 640px) {
    .scroll-top svg {
        width: 20px;
        height: 20px;
    }
}

/* ========================================
   MOBILE MENU - MOBILE OPTIMIZED
   ======================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-white);
    z-index: 1600;
    padding: 72px 20px 24px;
    transition: var(--transition);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 400px) {
    .mobile-menu {
        width: 300px;
        padding: 80px 24px 24px;
    }
}

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

.mobile-menu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 28px;
    color: var(--text-dark);
    line-height: 1;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: transparent;
    border: none;
    cursor: pointer;
}

@media (min-width: 400px) {
    .mobile-menu-close {
        top: 20px;
        right: 20px;
        font-size: 32px;
    }
}

.mobile-menu-close:active {
    background: rgba(37, 99, 235, 0.1);
}

.mobile-menu a {
    display: block;
    padding: 14px 0;
    font-size: 17px;
    font-weight: 500;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
    min-height: 52px;
    display: flex;
    align-items: center;
}

@media (min-width: 400px) {
    .mobile-menu a {
        padding: 16px 0;
        font-size: 18px;
    }
}

.mobile-menu a:hover,
.mobile-menu a:active {
    color: var(--primary);
}

/* ========================================
   MODAL - MOBILE OPTIMIZED
   ======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 0;
}

@media (min-width: 640px) {
    .modal-overlay {
        align-items: center;
        padding: 24px;
    }
}

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

.modal {
    background: var(--bg-white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-width: 100%;
    width: 100%;
    max-height: 85vh;
    max-height: 85dvh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 640px) {
    .modal {
        border-radius: var(--radius-lg);
        max-width: 600px;
        max-height: 90vh;
        transform: scale(0.95);
    }
}

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

@media (min-width: 640px) {
    .modal-overlay.active .modal {
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: var(--bg-white);
    z-index: 1;
}

@media (min-width: 640px) {
    .modal-header {
        padding: 24px;
        position: static;
    }
}

.modal-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

@media (min-width: 640px) {
    .modal-header h2 {
        font-size: 1.5rem;
    }
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-dark);
    font-size: 22px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

@media (min-width: 640px) {
    .modal-close {
        font-size: 24px;
    }
}

.modal-close:hover,
.modal-close:active {
    background: var(--primary);
    color: white;
}

.modal-body {
    padding: 20px;
}

@media (min-width: 640px) {
    .modal-body {
        padding: 24px;
    }
}

.modal-body h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 20px 0 10px;
}

@media (min-width: 640px) {
    .modal-body h3 {
        font-size: 1.125rem;
        margin: 24px 0 12px;
    }
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 10px;
    font-size: 14px;
}

@media (min-width: 640px) {
    .modal-body p {
        margin-bottom: 12px;
        font-size: 15px;
    }
}

.modal-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    text-align: right;
    position: sticky;
    bottom: 0;
    background: var(--bg-white);
}

@media (min-width: 640px) {
    .modal-footer {
        padding: 16px 24px;
        position: static;
    }
}

.modal-btn {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
    font-size: 14px;
    min-height: 44px;
    border: none;
    cursor: pointer;
}

@media (min-width: 640px) {
    .modal-btn {
        font-size: 15px;
    }
}

.modal-btn:hover,
.modal-btn:active {
    background: var(--primary-hover);
}

/* ========================================
   NOTIFICATION - MOBILE OPTIMIZED
   ======================================== */
.notification {
    position: fixed;
    top: 80px;
    right: 16px;
    left: 16px;
    padding: 16px;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 3000;
    animation: slideIn 0.3s ease;
}

@media (min-width: 640px) {
    .notification {
        top: 90px;
        right: 20px;
        left: auto;
        padding: 16px 20px;
        max-width: 400px;
    }
}

.notification-success {
    background: #22c55e;
    color: white;
}

.notification-error {
    background: #ef4444;
    color: white;
}

.notification button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
}

.notification button:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

/* ========================================
   ACCESSIBILITY - FOCUS STATES
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Touch-friendly focus states */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Hide scrollbar but keep functionality */
.mobile-menu::-webkit-scrollbar,
.modal::-webkit-scrollbar {
    width: 6px;
}

.mobile-menu::-webkit-scrollbar-thumb,
.modal::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

/* Loading Spinner */
.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Disabled button state */
.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .cookie-banner,
    .mobile-menu-btn,
    .scroll-top,
    .modal-overlay {
        display: none !important;
    }
    
    .navbar {
        position: static;
        box-shadow: none;
    }
}
