/* ========================================
   LOCAL MARKETING PARAGUAY - COMBINED CSS
   Extracted from: index.html, asuncion.html, local-seo.html
   PIXEL PERFECT reproduction of all original styles
   ======================================== */

/* ========================================
   BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #0ea5e9;
    --accent: #10b981;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: white;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Anchor offset for fixed header */
section[id], footer[id] {
    scroll-margin-top: 100px;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 100vw;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.375rem;
    padding-left: 0;
    margin-left: 0;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary);
}

/* Service page specific nav link styles */
.nav > a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav > a:hover, .nav > a.active {
    color: var(--primary);
}

/* Services Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.nav-dropdown:hover > a {
    color: var(--primary);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0.75rem;
    background: white;
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    min-width: 220px;
    z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0.5rem;
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    color: var(--dark) !important;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--gray-light);
    transition: all 0.3s;
    text-decoration: none;
}

.nav-dropdown-menu a:last-child {
    border-bottom: none;
}

.nav-dropdown-menu a:hover {
    background: var(--light);
    color: var(--primary) !important;
}

.nav-dropdown-menu a i {
    width: 20px;
    color: var(--primary);
}

/* Language Selector */
.lang-selector {
    position: relative;
    margin-left: 1rem;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--light);
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    transition: all 0.3s;
}

.lang-btn:hover {
    border-color: var(--primary);
}

.lang-btn img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    min-width: 160px;
    z-index: 1001;
}

.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--dark);
    font-size: 0.9rem;
    transition: background 0.3s;
}

.lang-option:hover {
    background: var(--light);
}

.lang-option.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.lang-option img {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    position: relative;
    z-index: 1002;
}

/* WhatsApp CTA Button */
.whatsapp-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    margin-left: 1rem;
}

.whatsapp-cta:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-cta i {
    font-size: 1.1rem;
}

/* ========================================
   HERO - HOME PAGE (min-height: 70vh)
   ======================================== */
.hero {
    min-height: 70vh;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(14, 165, 233, 0.85)),
                url('https://images.unsplash.com/photo-1548345680-f5475ea5df84?auto=format&fit=crop&w=1920') center/cover;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 3rem;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    max-width: 650px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ========================================
   HERO - CITY PAGE (padding: 8rem, text-align center)
   ======================================== */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.5);
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

/* ========================================
   PAGE HERO - SERVICE PAGES (local-seo.html)
   ======================================== */
.page-hero {
    padding: 10rem 2rem 6rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(14, 165, 233, 0.9)),
                url('https://images.unsplash.com/photo-1573804633927-bfcbcd909acd?auto=format&fit=crop&w=1920') center/cover;
    text-align: center;
    color: white;
}

.page-hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-hero .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.page-hero .breadcrumb a {
    color: white;
    text-decoration: none;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   SERVICES CARDS - HOME PAGE
   ======================================== */
.services-cards {
    padding: 4rem 2rem;
    background: var(--light);
}

.services-cards-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: -6rem;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    color: inherit;
}

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

.service-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.75rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Carousel Indicators - Hidden on Desktop */
.carousel-indicators { display: none; }
.services-carousel-indicators { display: none; }

/* ========================================
   ABOUT SECTION - HOME PAGE
   ======================================== */
.about {
    padding: 6rem 2rem;
    background: white;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-content h2 span {
    color: var(--primary);
}

.about-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-feature i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* ========================================
   STATS SECTION - HOME PAGE (gradient bg)
   ======================================== */
.stats {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
}

/* ========================================
   STATS - CITY PAGE (white bg, stat-cards)
   ======================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--light);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ========================================
   SERVICES GRID - HOME PAGE
   ======================================== */
.services {
    padding: 6rem 2rem;
    background: white;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-item {
    background: var(--light);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

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

.service-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-item-content {
    padding: 1.5rem;
}

.service-item-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.service-item-content p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 0.3s;
}

.service-item:hover .service-link {
    gap: 0.75rem;
}

/* ========================================
   SERVICES - CITY PAGE (different card styling)
   ======================================== */
.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.service-features li i {
    color: var(--secondary);
    font-size: 0.85rem;
}

/* ========================================
   ABOUT CITY SECTION - CITY PAGE
   ======================================== */
.about-city {
    padding: 5rem 2rem;
    background: white;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--gray-light);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.highlight-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.highlight-text span {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ========================================
   WHAT-IS SECTION - SERVICE PAGE (local-seo.html)
   ======================================== */
.what-is {
    padding: 6rem 2rem;
    background: white;
}

.what-is-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.what-is-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.what-is-content h2 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.what-is-content p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.what-is-image {
    position: relative;
}

.what-is-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.what-is-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    z-index: -1;
}

/* ========================================
   BENEFITS SECTION - SERVICE PAGE (local-seo.html)
   ======================================== */
.benefits {
    padding: 6rem 2rem;
    background: var(--light);
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.benefit-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   STATS BANNER - SERVICE PAGE (local-seo.html)
   ======================================== */
.stats-banner {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.stats-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq {
    padding: 5rem 2rem;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq .section-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.faq .section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--light);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--gray-light);
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.3s;
    gap: 1rem;
}

.faq-question:hover {
    background: rgba(99, 102, 241, 0.05);
}

.faq-question span {
    flex: 1;
    line-height: 1.5;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.faq-item.active .faq-question {
    background: rgba(99, 102, 241, 0.05);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ========================================
   CTA SECTION - HOME/SERVICE PAGE VARIANT (dark bg)
   ======================================== */
.cta {
    padding: 6rem 2rem;
    background: var(--dark);
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
}

.cta p {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-cta.btn-whatsapp {
    background: #25D366;
}

.btn-cta.btn-whatsapp:hover {
    background: #128C7E;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

/* CTA - City page variant (gradient bg) */
.cta-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #25D366;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark);
    padding: 4rem 2rem 2rem;
    color: white;
}

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

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
}

.tags-cloud {
    margin-top: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tags-cloud h3 {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    margin: 0;
    transition: all 0.3s;
}

.tags-cloud h3:hover {
    color: rgba(255,255,255,0.8);
    background: rgba(99, 102, 241, 0.3);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ========================================
   MOBILE MENU, OVERLAY & NAVIGATION
   ======================================== */

/* Z-INDEX HIERARCHY:
   - Overlay: 1050
   - Mobile Menu: 1100
   - Header: 1000
   - Dropdowns: 1001
   - Content: 1-10
*/

/* Mobile Menu Button (enhanced with padding/border-radius) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.mobile-menu-btn:hover {
    background: var(--light);
}

.mobile-menu-btn.active i::before {
    content: "\f00d";
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    padding: 80px 0 2rem 0;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    z-index: 1100;
    overflow-y: auto;
    transition: right 0.3s ease;
}

.mobile-nav.active {
    display: block;
    right: 0;
}

.mobile-nav-header {
    padding: 0 1.5rem 1rem;
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 1rem;
}

.mobile-nav-header .logo {
    font-size: 1.25rem;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 1rem;
    border-bottom: 1px solid var(--gray-light);
    transition: all 0.3s;
}

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

.mobile-nav a i {
    width: 24px;
    color: var(--primary);
}

/* Mobile Services Submenu */
.mobile-nav-section {
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-nav .service-link {
    padding-left: 2.5rem;
    font-size: 0.95rem;
}

/* Mobile Language Selector */
.mobile-lang-selector {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--gray-light);
    margin-top: 1rem;
}

.mobile-lang-selector span {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.mobile-lang-options {
    display: flex;
    gap: 0.5rem;
}

.mobile-lang-options a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s;
}

.mobile-lang-options a:hover,
.mobile-lang-options a.active {
    border-color: var(--primary);
    background: var(--light);
    color: var(--primary);
}

.mobile-lang-options a img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

/* ========================================
   MOBILE RESPONSIVE - TABLET (1024px)
   ======================================== */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-container { grid-template-columns: repeat(2, 1fr); }
    .packages-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
    .package-card.featured { transform: none; }
    .package-card.featured:hover { transform: translateY(-10px); }
}

/* ========================================
   MOBILE RESPONSIVE - CITY PAGE GRID BREAKPOINTS (768px)
   ======================================== */
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-container { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .cities-grid { grid-template-columns: repeat(2, 1fr); }
    .border-container { grid-template-columns: 1fr; }
    .triple-container { grid-template-columns: 1fr; }
    .tourism-container { grid-template-columns: 1fr; }
}

/* ========================================
   MOBILE RESPONSIVE - MAIN MOBILE (768px)
   ======================================== */
@media (max-width: 768px) {
    /* Header Mobile */
    .header {
        padding: 0.75rem 0;
    }

    .header-container {
        padding: 0 1rem 0 0;
    }

    .logo {
        font-size: 1rem;
        gap: 0.5rem;
    }

    .logo-icon svg {
        width: 46px;
        height: 46px;
    }

    .nav {
        display: none;
    }

    .whatsapp-cta {
        display: flex;
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        margin-left: auto;
        margin-right: 0.75rem;
    }

    .whatsapp-cta span {
        display: none;
    }

    .whatsapp-cta i {
        font-size: 1.2rem;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-nav {
        display: block;
    }

    /* Hero Mobile - Home Page */
    .hero-content {
        text-align: center;
    }

    .hero-content .btn-primary {
        display: inline-flex;
        justify-content: center;
    }

    .hero h1 {
        font-size: 1.875rem;
    }

    /* Hero Mobile - City Page */
    .hero {
        padding: 7rem 1.5rem 3rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Page Hero Mobile - Service Page */
    .page-hero {
        padding: 7rem 1.5rem 4rem;
    }

    .page-hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .page-hero .breadcrumb {
        font-size: 0.85rem;
        flex-wrap: wrap;
    }

    /* Sections Mobile */
    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* What Is Section Mobile - Service Page */
    .what-is {
        padding: 4rem 0 3rem 0;
    }

    .what-is-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .what-is-image {
        order: -1;
        width: calc(100% - 20px);
        margin: 0 10px;
    }

    .what-is-image img {
        width: 100%;
        border-radius: 20px;
    }

    .what-is-content {
        padding: 0 1.5rem;
    }

    .what-is-content h2 {
        font-size: 1.75rem;
        text-align: center;
    }

    .what-is-content p {
        font-size: 1rem;
        text-align: center;
    }

    /* What Is GMB Mobile */
    .what-is-gmb {
        padding: 4rem 1.5rem;
    }

    .what-is-gmb-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .gmb-profile-mockup {
        order: -1;
        max-width: 350px;
        margin: 0 auto;
    }

    .what-is-gmb-content h2 {
        font-size: 1.75rem;
        text-align: center;
    }

    .what-is-gmb-content p {
        font-size: 1rem;
    }

    /* Features Mobile */
    .features {
        padding: 4rem 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    /* Benefits Mobile - Service Page */
    .benefits {
        padding: 4rem 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefit-card {
        padding: 2rem 1.5rem;
    }

    /* Optimization Steps Mobile */
    .optimization {
        padding: 4rem 1.5rem;
    }

    .optimization-step {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .optimization-step:nth-child(even) {
        direction: ltr;
    }

    .step-image {
        order: -1;
    }

    .step-image img {
        height: 250px;
    }

    .step-content {
        padding: 0;
    }

    .step-content h3 {
        font-size: 1.5rem;
    }

    /* Stats Mobile - Home Page */
    .stats {
        padding: 3rem 1.5rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Stats Mobile - City Page */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-card h3 {
        font-size: 2.5rem;
    }

    .stat-card p {
        font-size: 0.9rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.125rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    /* Stats Banner Mobile - Service Page */
    .stats-banner {
        padding: 3rem 1.5rem;
    }

    .stats-banner-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .stat-item p {
        font-size: 0.95rem;
    }

    /* Services Mobile - City Page */
    .services {
        padding: 3rem 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.125rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    /* About City Mobile */
    .about-city {
        padding: 3rem 1.5rem;
    }

    .about-container {
        gap: 2rem;
    }

    .about-image img {
        height: 250px;
    }

    .about-content h2 {
        font-size: 1.75rem;
    }

    .about-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Cities Grid Mobile */
    .cities {
        padding: 3rem 1.5rem;
    }

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

    /* Packages Mobile */
    .packages {
        padding: 4rem 1.5rem;
    }

    .packages-grid {
        max-width: 100%;
    }

    .package-card {
        padding: 2rem 1.5rem;
    }

    /* FAQ Mobile */
    .faq {
        padding: 4rem 1.5rem;
    }

    .faq-question {
        padding: 1.25rem;
        font-size: 0.95rem;
    }

    .faq-answer-content {
        padding: 0 1.25rem 1.25rem;
        font-size: 0.95rem;
    }

    /* CTA Mobile */
    .cta {
        padding: 4rem 1.5rem;
    }

    .cta-container {
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
    }

    .cta h2 {
        font-size: 1.5rem;
    }

    .cta p {
        font-size: 1rem;
    }

    .btn-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    /* CTA Mobile - City Page */
    .cta-whatsapp {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    /* ========================================
       ABOUT SECTION - MOBILE ONLY (HOME)
       ======================================== */
    .about {
        padding: 0 0 3rem 0;
    }

    .about-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .about-image {
        order: -1;
        width: calc(100% - 20px);
        margin: 0 10px;
    }

    .about-image img {
        width: 100%;
        border-radius: 20px;
    }

    .about-content {
        padding: 0 1.5rem;
    }

    .about-content h2 {
        font-size: 1.75rem;
        text-align: center;
    }

    .about-content p {
        font-size: 1rem;
        text-align: center;
    }

    .about-features {
        justify-content: center;
    }

    /* ========================================
       SERVICE CARDS CAROUSEL - MOBILE ONLY (HOME)
       ======================================== */
    .services-cards {
        padding: 4rem 0 2rem;
    }

    .services-cards-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        margin-top: -6rem;
        padding: 0 10px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .services-cards-container::-webkit-scrollbar {
        display: none;
    }

    .service-card {
        flex: 0 0 calc(100vw - 20px);
        width: calc(100vw - 20px);
        min-width: calc(100vw - 20px);
        scroll-snap-align: center;
        margin: 0;
        border-radius: 20px;
        padding: 2.5rem 2rem;
    }

    /* Carousel Indicators */
    .carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 1.5rem;
        padding-bottom: 1rem;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--gray-light);
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
    }

    .carousel-dot.active {
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        transform: scale(1.2);
    }

    /* ========================================
       SERVICES GRID CAROUSEL - MOBILE ONLY (HOME)
       ======================================== */
    .services {
        padding: 4rem 0;
    }

    .services-container {
        padding: 0;
    }

    .services-container .section-header {
        padding: 0 1.5rem;
    }

    .services-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        padding: 0 10px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .services-grid::-webkit-scrollbar {
        display: none;
    }

    .service-item {
        flex: 0 0 calc(100vw - 20px);
        width: calc(100vw - 20px);
        min-width: calc(100vw - 20px);
        scroll-snap-align: center;
        margin: 0;
        border-radius: 20px;
    }

    .service-item img {
        height: 200px;
    }

    /* Services Grid Carousel Indicators */
    .services-carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 1.5rem;
        padding-bottom: 1rem;
    }

    .services-carousel-indicators .carousel-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--gray-light);
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
    }

    .services-carousel-indicators .carousel-dot.active {
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        transform: scale(1.2);
    }

    /* Triple Frontera Mobile - City Page */
    .triple-frontera {
        padding: 3rem 1.5rem;
    }

    .triple-container {
        gap: 2rem;
    }

    .triple-image img {
        height: 250px;
    }

    .triple-content h2 {
        font-size: 1.75rem;
    }

    /* Tourism Mobile - City Page */
    .tourism {
        padding: 3rem 1.5rem;
    }

    .tourism-container {
        gap: 2rem;
    }

    .tourism-image img {
        height: 250px;
    }

    .tourism-content h2 {
        font-size: 1.75rem;
    }

    /* Border Section Mobile - City Page */
    .border-section {
        padding: 3rem 1.5rem;
    }

    .border-card {
        padding: 1.5rem;
    }

    .border-city {
        font-size: 1.5rem;
    }

    /* Footer Mobile */
    .footer {
        padding: 3rem 1.5rem 1.5rem;
    }

    /* Footer Mobile - City Page specific sizes */
    .social-icons {
        gap: 0.75rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .tags-cloud {
        gap: 0.4rem;
    }

    .tags-cloud h3 {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}

/* ========================================
   MOBILE RESPONSIVE - SMALL MOBILE (480px)
   ======================================== */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .page-hero h1 {
        font-size: 1.75rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

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

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

    .stat-card h3 {
        font-size: 3rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .gmb-actions {
        flex-direction: column;
    }

    .gmb-action {
        width: 100%;
    }

    .mobile-lang-options {
        flex-direction: column;
    }

    .mobile-lang-options a {
        justify-content: flex-start;
        padding-left: 1rem;
    }
}
