/* ========================================
   MOBILE HERO SECTION OPTIMIZATION
   ======================================== */

@media (max-width: 768px) {
  /* Hero Section Mobile - Design Premium */
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 100px 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Gradient più scuro e professionale come desktop */
    background: linear-gradient(160deg, #17382B 0%, #1F4D3A 50%, #144033 100%);
    position: relative;
    overflow: hidden;
  }

  /* Effetto glow animato sullo sfondo */
  .hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(230, 168, 23, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(46, 107, 82, 0.1) 0%, transparent 40%);
    animation: heroGlow 8s ease-in-out infinite alternate;
    pointer-events: none;
  }

  @keyframes heroGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-5%, 5%) scale(1.1); }
  }

  /* Overlay decorativo */
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    clip-path: none;
    background: 
      linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.4) 100%),
      url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><defs><linearGradient id="g" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23e6a817;stop-opacity:0.05"/><stop offset="100%" style="stop-color:%233498db;stop-opacity:0.03"/></linearGradient></defs><polygon fill="url(%23g)" points="0,100 100,0 100,100"/></svg>') no-repeat bottom right;
    background-size: 100% 100%, 60% 60%;
    opacity: 1;
  }

  /* Contenuto Hero */
  .hero-content {
    max-width: 100%;
    margin: 0;
    padding: 0 24px;
    position: relative;
    z-index: 10;
  }

  /* Titolo principale con effetto gradient */
  .hero-title {
    margin-bottom: 16px;
  }

  .hero-title-highlight {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(135deg, #e6a817 0%, #f4c542 50%, #e6a817 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    text-shadow: none;
  }

  @keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
  }

  /* Sottotitolo */
  .hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
  }

  /* Testo descrittivo - ridotto per mobile */
  .hero-text {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 28px;
    line-height: 1.7;
    max-width: 100%;
  }

  .hero-text br {
    display: none;
  }

  .hero-text strong {
    color: #ffffff;
    font-weight: 600;
  }

  /* Bottoni Hero - Design premium */
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    border-radius: 14px;
    font-size: 1rem;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
  }

  .hero-buttons .btn:active::before {
    left: 100%;
  }

  /* Bottone primario - CTA principale */
  .hero-buttons .btn-primary {
    background: linear-gradient(135deg, #e6a817 0%, #f4c542 100%);
    color: #0f172a;
    border: none;
    box-shadow: 0 4px 20px rgba(230, 168, 23, 0.4),
                0 0 0 1px rgba(230, 168, 23, 0.2);
  }

  .hero-buttons .btn-primary:active {
    transform: scale(0.98);
    box-shadow: 0 2px 10px rgba(230, 168, 23, 0.3);
  }

  /* Bottone secondario */
  .hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
  }

  .hero-buttons .btn-secondary:active {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0.98);
  }

  .hero-buttons .btn i {
    font-size: 1.25rem;
  }

  .hero-buttons .btn span {
    text-align: center;
    align-items: center;
  }

  .hero-buttons .btn span strong {
    font-size: 1rem;
    font-weight: 700;
  }

  .hero-buttons .btn span small {
    font-size: 0.75rem;
    opacity: 0.85;
    margin-top: 2px;
  }

  /* Icona lampadina decorativa per mobile */
  .hero-image {
    display: block !important;
    position: absolute;
    right: -20px;
    bottom: 20px;
    top: auto;
    transform: none;
    opacity: 0.08;
    z-index: 1;
    pointer-events: none;
  }

  .hero-bulb {
    height: 180px;
    width: auto;
    filter: brightness(2) saturate(0);
    -webkit-box-reflect: none;
  }
}

/* Extra small devices */
@media (max-width: 380px) {
  .hero-title-highlight {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-text {
    font-size: 0.9rem;
  }

  .hero-buttons {
    max-width: 280px;
  }

  .hero-buttons .btn {
    padding: 14px 20px;
  }
}

/* Landscape mode optimization */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 80px 20px 30px;
  }

  .hero-content {
    padding: 0 40px;
  }

  .hero-title-highlight {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .hero-text {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .hero-buttons {
    flex-direction: row;
    max-width: 100%;
    justify-content: center;
  }

  .hero-buttons .btn {
    width: auto;
    flex: 0 1 auto;
    padding: 12px 20px;
  }
}

/* General mobile container adjustments */
@media (max-width: 480px) {
  body {
    padding: 0;
  }
  
  .container {
    padding: 0 16px;
  }
}

/* ========================================
   NAVBAR MOBILE - Design Premium
   ======================================== */
@media (max-width: 1024px) {
  .navbar {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
  }

  .nav-container {
    padding: 12px 16px;
  }

  .nav-logo {
    font-size: 1.15rem;
  }

  .nav-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    transition: all 0.3s ease;
  }

  .nav-toggle:active {
    transform: scale(0.95);
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  }

  .nav-toggle i {
    font-size: 1.25rem;
    color: #1F4D3A;
  }

  /* Menu mobile slide-in premium */
  .nav-menu {
    display: flex;
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    padding: 100px 24px 40px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 8px;
    overflow-y: auto;
    z-index: 1001;
  }

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

  .nav-link {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: #334155;
    border-radius: 12px;
    background: transparent;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .nav-link:hover,
  .nav-link.active {
    background: linear-gradient(135deg, rgba(31, 77, 58, 0.08) 0%, rgba(31, 77, 58, 0.04) 100%);
    color: #1F4D3A;
    transform: translateX(4px);
  }

  .nav-link.active {
    background: linear-gradient(135deg, #1F4D3A 0%, #17382B 100%);
    color: #ffffff;
    font-weight: 600;
  }

  .nav-cta {
    width: 100%;
    margin-top: 16px;
    padding: 18px 24px;
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #e6a817 0%, #f4c542 100%);
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(230, 168, 23, 0.3);
  }

  .nav-cta:active {
    transform: scale(0.98);
  }

  /* Overlay scuro quando menu aperto */
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
}

/* ========================================
   FEATURES SECTION MOBILE
   ======================================== */
@media (max-width: 768px) {
  .features {
    padding: 60px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  }

  .section-header {
    margin-bottom: 40px;
    padding: 0 8px;
  }

  .section-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #1F4D3A 0%, #2E6B52 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .section-header p {
    font-size: 0.95rem;
    color: #64748b;
    margin-top: 12px;
  }

  .features-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 4px;
  }

  .feature-card {
    padding: 28px 24px;
    border-radius: 20px;
    border: none;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06),
                0 0 0 1px rgba(0, 0, 0, 0.03);
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
  }

  .feature-card:active {
    transform: scale(0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  }

  .feature-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    margin-bottom: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #1F4D3A 0%, #17382B 100%);
  }

  .feature-icon i {
    font-size: 1.25rem;
  }

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

  .feature-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
  }
}

/* ========================================
   INFO SECTION MOBILE
   ======================================== */
@media (max-width: 768px) {
  .info-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  }

  .info-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .info-badge {
    font-size: 0.7rem;
    padding: 6px 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, rgba(230, 168, 23, 0.2) 0%, rgba(230, 168, 23, 0.1) 100%);
    color: #c98f0a;
  }

  .info-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.25;
    color: #1e293b;
  }

  .info-content > p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.75;
  }

  .info-list {
    margin: 24px 0;
  }

  .info-list li {
    padding: 12px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

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

  .info-list li i {
    font-size: 1.1rem;
    color: #27ae60;
  }

  .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 1rem;
    border-radius: 14px;
    border-width: 2px;
  }

  /* Stats cards premium */
  .info-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 24px 16px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08),
                0 0 0 1px rgba(0, 0, 0, 0.03);
  }

  .stat-item {
    text-align: center;
    padding: 12px 8px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fafc 0%, transparent 100%);
  }

  .stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1F4D3A 0%, #2E6B52 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #64748b;
    margin-top: 4px;
  }
}

/* ========================================
   COMPANIES SECTION MOBILE
   ======================================== */
@media (max-width: 768px) {
  .companies-section {
    padding: 60px 0;
    background: #ffffff;
  }

  .companies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 32px;
  }

  .company-card {
    padding: 20px 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid transparent;
    transition: all 0.3s ease;
  }

  .company-card:active {
    transform: scale(0.97);
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  }

  .company-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
  }

  .company-info {
    font-size: 0.75rem;
    color: #64748b;
  }

  .companies-cta {
    padding: 0 8px;
  }

  .companies-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    border-radius: 14px;
    font-size: 1rem;
    gap: 10px;
  }
}

/* ========================================
   CTA SECTION MOBILE
   ======================================== */
@media (max-width: 768px) {
  .cta-section {
    padding: 60px 0;
    /* Gradient più scuro e professionale */
    background: linear-gradient(160deg, #17382B 0%, #1F4D3A 50%, #144033 100%);
    position: relative;
    overflow: hidden;
  }

  .cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(230, 168, 23, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
  }

  .cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
  }

  .cta-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.25;
  }

  .cta-content p {
    font-size: 0.95rem;
    color: #94a3b8;
    margin-bottom: 28px;
    line-height: 1.6;
  }

  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    border-radius: 14px;
    font-size: 1rem;
    gap: 10px;
  }

  .cta-buttons .btn-light {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #1F4D3A;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
  }

  .cta-buttons .btn-outline-light {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
}

/* ========================================
   FOOTER MOBILE
   ======================================== */
@media (max-width: 768px) {
  .footer {
    padding: 50px 0 24px;
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  }

  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: center;
    margin-bottom: 40px;
  }

  .footer-logo {
    justify-content: center;
    font-size: 1.25rem;
  }

  .footer-col p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.7;
  }

  .footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
  }

  .footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #e6a817, #f4c542);
    border-radius: 1px;
  }

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

  .footer-col ul li a {
    font-size: 0.9rem;
    color: #94a3b8;
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
    transition: all 0.2s ease;
  }

  .footer-col ul li a:hover {
    background: rgba(230, 168, 23, 0.1);
    color: #e6a817;
  }

  .footer-disclaimer {
    margin-top: 32px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border-left: 3px solid #e6a817;
  }

  .footer-disclaimer p {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.6;
    text-align: left;
  }

  .footer-links-bottom {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
  }

  .footer-links-bottom a {
    font-size: 0.85rem;
    color: #64748b;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
  }

  .footer-links-bottom a:hover {
    color: #e6a817;
    background: rgba(230, 168, 23, 0.1);
  }

  .footer-links-bottom .separator {
    display: none;
  }

  .footer-bottom {
    padding-top: 20px;
  }

  .footer-bottom p {
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.5;
  }
}

/* ========================================
   FIXED ELEMENTS MOBILE
   ======================================== */
@media (max-width: 768px) {
  /* Back to top button */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #e6a817 0%, #f4c542 100%);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(230, 168, 23, 0.35);
  }

  .back-to-top:active {
    transform: scale(0.95);
  }

  /* Fixed call button */
  .fixed-call-btn {
    bottom: 80px;
    right: 20px;
    width: 56px;
    height: 56px;
    font-size: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
    box-shadow: 0 4px 20px rgba(39, 174, 96, 0.4);
  }

  .fixed-call-btn:active {
    transform: scale(0.95);
  }
}

/* ========================================
   PAGE HEADER MOBILE
   ======================================== */
@media (max-width: 768px) {
  .page-header {
    padding: 110px 0 50px;
    /* Gradient più scuro e professionale */
    background: linear-gradient(160deg, #17382B 0%, #1F4D3A 50%, #144033 100%);
    position: relative;
    overflow: hidden;
  }

  .page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(230, 168, 23, 0.1) 0%, transparent 50%);
    pointer-events: none;
  }

  .page-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    position: relative;
    z-index: 1;
  }

  .page-header p {
    font-size: 0.95rem;
    color: #94a3b8;
    margin-top: 12px;
    position: relative;
    z-index: 1;
    padding: 0 16px;
  }

  .page-content {
    padding: 50px 0;
  }
}

/* ========================================
   POPUP MOBILE
   ======================================== */
@media (max-width: 768px) {
  .popup-overlay {
    padding: 16px;
    align-items: flex-end;
  }

  .popup-container {
    max-height: 90vh;
    border-radius: 24px 24px 0 0;
    margin: 0;
  }

  .popup-close {
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border-radius: 10px;
  }

  .popup-content {
    padding: 24px 20px 40px;
  }

  .popup-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1F4D3A;
    padding-right: 50px;
  }

  .popup-subtitle {
    font-size: 0.9rem;
    color: #64748b;
  }
}

/* ========================================
   FAQ SECTION MOBILE
   ======================================== */
@media (max-width: 768px) {
  .faq-categories {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 20px;
    margin-bottom: 32px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .faq-categories::-webkit-scrollbar {
    display: none;
  }

  .faq-category-link {
    white-space: nowrap;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .faq-section {
    margin-bottom: 40px;
  }

  .faq-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    gap: 10px;
    margin-bottom: 20px;
  }

  .faq-section h2 i {
    font-size: 1.1rem;
  }

  .faq-item {
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .faq-question {
    padding: 18px 20px;
  }

  .faq-question span {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    padding-right: 24px;
  }

  .faq-answer {
    padding: 20px;
    background: #f8fafc;
  }

  .faq-answer p {
    font-size: 0.9rem;
    line-height: 1.7;
  }
}

/* ========================================
   CONTENT PAGES MOBILE
   ======================================== */
@media (max-width: 768px) {
  .content-grid,
  .content-article {
    padding: 0 4px;
  }

  .content-main h2,
  .content-article h2 {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
  }

  .content-main h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 32px 0 16px;
  }

  .content-main p,
  .content-article p {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  /* Alert box */
  .alert-box {
    padding: 18px;
    border-radius: 14px;
    gap: 14px;
  }

  .alert-box i {
    font-size: 1.25rem;
  }

  /* Values grid */
  .values-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .value-card {
    padding: 24px 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    text-align: left;
  }

  .value-card i {
    font-size: 2rem;
    margin-bottom: 0;
    color: #e6a817;
  }

  .value-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
  }

  .value-card p {
    font-size: 0.85rem;
  }

  /* Timeline */
  .timeline {
    padding-left: 24px;
  }

  .timeline-item::before {
    left: -27px;
    width: 12px;
    height: 12px;
  }

  .timeline-date {
    font-size: 0.85rem;
  }

  .timeline-content {
    font-size: 0.9rem;
  }

  /* Info cards */
  .info-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .info-card {
    padding: 20px;
    border-radius: 14px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .info-card h4 {
    justify-content: flex-start;
    font-size: 1rem;
  }

  .info-card p {
    font-size: 0.85rem;
  }

  /* VS Comparison */
  .vs-comparison {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .vs-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }

  .vs-header {
    padding: 18px 20px;
  }

  .vs-header i {
    font-size: 1.5rem;
  }

  .vs-header h2 {
    font-size: 1.1rem;
  }

  .vs-body {
    padding: 20px;
  }

  .vs-body h4 {
    font-size: 0.75rem;
  }

  .vs-body ul li {
    font-size: 0.9rem;
    padding: 6px 0;
  }

  .vs-divider {
    display: flex;
    justify-content: center;
    padding: 0;
  }

  .vs-divider span {
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
  }

  /* Comparison table */
  .comparison-table {
    border-radius: 14px;
    overflow: hidden;
  }

  .comparison-cell {
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  /* Recommendation box */
  .recommendation-box {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .recommendation-box h2 {
    font-size: 1.15rem;
    gap: 10px;
  }

  .recommendation-box p {
    font-size: 0.9rem;
  }

  .recommendation-box ul li {
    font-size: 0.9rem;
  }

  /* Intro box */
  .intro-box {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .intro-box h2 {
    font-size: 1.15rem;
  }

  .intro-box p {
    font-size: 0.9rem;
  }

  /* Tips section */
  .tips-section {
    padding: 28px 24px;
    border-radius: 18px;
  }

  .tips-section h2 {
    font-size: 1.15rem;
    gap: 10px;
  }

  .tips-list li {
    font-size: 0.9rem;
    padding: 8px 0;
  }

  /* Check list */
  .check-list li {
    font-size: 0.9rem;
    padding: 10px 0;
  }

  /* Numbered list */
  .numbered-list li {
    font-size: 0.9rem;
  }

  .numbered-list li::before {
    min-width: 26px;
    height: 26px;
    font-size: 0.8rem;
  }

  /* Feature list */
  .feature-list li {
    font-size: 0.9rem;
  }
}

/* ========================================
   COOKIE ELEMENTS MOBILE
   ======================================== */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 20px 16px;
    border-radius: 20px 20px 0 0;
  }

  .cookie-banner-content {
    gap: 20px;
  }

  .cookie-banner-text h3 {
    font-size: 1rem;
    font-weight: 700;
  }

  .cookie-banner-text p {
    font-size: 0.85rem;
    line-height: 1.55;
  }

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

  .cookie-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.95rem;
    border-radius: 12px;
  }

  .cookie-settings-modal {
    padding: 0;
    align-items: flex-end;
  }

  .cookie-settings-content {
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
  }

  .cookie-settings-header {
    padding: 20px;
    border-radius: 20px 20px 0 0;
  }

  .cookie-settings-header h2 {
    font-size: 1.15rem;
  }

  .cookie-settings-body {
    padding: 20px;
  }

  .cookie-category {
    padding: 16px 0;
  }

  .cookie-category-header h3 {
    font-size: 0.95rem;
  }

  .cookie-category p {
    font-size: 0.85rem;
  }

  .cookie-settings-actions {
    padding: 20px;
    flex-direction: column;
    gap: 10px;
  }

  .cookie-settings-actions .cookie-btn {
    width: 100%;
  }
}

/* ========================================
   UTILITY CLASSES MOBILE
   ======================================== */
@media (max-width: 768px) {
  /* Smooth scrolling fix for iOS */
  html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
  }

  /* Better tap targets */
  a, button {
    -webkit-tap-highlight-color: transparent;
  }

  /* Safe area support for notched devices */
  .navbar {
    padding-top: env(safe-area-inset-top);
  }

  .footer-bottom {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .fixed-call-btn,
  .back-to-top {
    margin-bottom: env(safe-area-inset-bottom);
  }
}