/* ==========================================================================
   ConnectionCode Premium Landing Page CSS System
   Vanilla CSS - No Tailwind Dependencies
   ========================================================================== */

/* 1. Global Configuration & Variable Tokens */
:root {
    /* Color Palette - HSL Tailored (Aligned with brand Logo colors) */
    --p-blue: hsl(235, 79%, 56%);         /* Brand Indigo Blue (vibrant gradient loop) */
    --p-blue-light: hsl(235, 79%, 97%);   /* Light brand active background */
    --p-blue-hover: hsl(235, 79%, 46%);
    --p-indigo: hsl(233, 68%, 70%);       /* Brand Soft Lavender-Indigo (from "CONNECTION" text) */
    --p-indigo-light: hsl(233, 68%, 96%);
    
    /* Text & Neutral Grays */
    --t-dark: hsl(222, 47%, 11%);          /* Navy Slate #0F172A */
    --t-light: hsl(215, 16%, 47%);         /* Soft Slate #64748B */
    --t-muted: hsl(215, 16%, 65%);
    --bg-main: hsl(210, 100%, 99%);        /* Background Tint #f8faff */
    --bg-white: hsl(0, 0%, 100%);
    --border-color: hsl(210, 40%, 96%);    /* Border Tint #F1F5F9 */
    
    /* Layout & Shadows */
    --max-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.08);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--t-dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px; /* Header space */
}

/* Base Headings */
h1, h2, h3, h4 {
    font-family: 'Outfit', 'Segoe UI', system-ui, sans-serif;
    font-weight: 700;
    color: var(--t-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* 3. Reusable Layout Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 90px 0;
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--p-blue);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(0, 82, 255, 0.2);
}

.btn-primary:hover {
    background-color: var(--p-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 82, 255, 0.3);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--p-blue);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--p-blue-light);
    border-color: var(--p-blue);
}

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

.btn-outline:hover {
    background-color: var(--bg-white);
    color: var(--p-blue);
    transform: translateY(-2px);
}

/* 4. Header (Barra de Navegación) */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.header-nav.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-item {
    font-size: 15px;
    font-weight: 500;
    color: var(--t-light);
    position: relative;
    padding: 8px 0;
}

.nav-item:hover, .nav-item.active {
    color: var(--p-blue);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--p-blue);
    transition: var(--transition-smooth);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
}

/* Burger Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--t-dark);
}

/* 5. Hero Section & Floating SVGs Container */
.hero-section {
    position: relative;
    padding: 80px 0 100px 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-content h1 span {
    color: var(--p-blue);
    background: linear-gradient(135deg, var(--p-blue) 0%, #4080ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 18px;
    color: var(--t-light);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
}

/* Floating Animations Wrapper */
.hero-visual {
    position: relative;
    height: 480px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius-lg);
    background: radial-gradient(circle at 50% 50%, rgba(0, 82, 255, 0.05) 0%, transparent 70%);
}

.visual-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 100%;
    margin: auto;
}

/* Floating Object Animations & Coordinates */
.ob-flotante {
    position: absolute;
    animation: flotar 6s ease-in-out infinite;
    will-change: transform;
    filter: drop-shadow(0 10px 15px rgba(15, 23, 42, 0.08)) drop-shadow(0 0 15px rgba(0, 82, 255, 0.05));
}

@keyframes flotar {
    0%   { transform: translateY(0px) translateX(0px); }
    50%  { transform: translateY(-12px) translateX(5px); }
    100% { transform: translateY(0px) translateX(0px); }
}

/* Custom speed offsets */
#flot  { top: 220px; left: 10px; animation-duration: 5s; }      /* Banco */
#flot3 { top: 30px; left: 20px; animation-duration: 6s; }       /* Moneda Oro */
#flot4 { top: 60px; right: 20px; animation-duration: 7s; }      /* POS Machine */
#flot5 { bottom: 60px; right: 40px; animation-duration: 5.5s; }  /* Verde $ */
#flot6 { bottom: 120px; left: 30px; animation-duration: 6.5s; }  /* Billete flotante 1 */
#flot7 { bottom: 20px; right: 180px; animation-duration: 7.5s; } /* Billete flotante 2 */

/* Noise texture on the visual container */
.visual-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://www.transparenttextures.com/patterns/noise.png");
    opacity: 0.03;
    pointer-events: none;
    border-radius: var(--border-radius-lg);
}

/* 6. Open Data Section (Stats) */
.open-data-section {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.open-data-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 24px;
}

.open-data-logo {
    height: 48px;
    margin-bottom: 24px;
}

.open-data-section p {
    font-size: 18px;
    color: var(--t-light);
    max-width: 720px;
    margin: 0 auto 48px auto;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    background-color: var(--bg-main);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
    border-color: var(--p-indigo);
}

.stat-item .number {
    font-size: 48px;
    font-weight: 800;
    color: var(--p-indigo);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item .label {
    font-size: 15px;
    font-weight: 600;
    color: var(--t-dark);
}

/* 7. Countries and Bank List (Tabs) */
.countries-section {
    background-color: var(--bg-white);
}

.countries-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 48px;
    margin-top: 40px;
}

/* Country Selector Links */
.tabs-navigation {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tab-link {
    cursor: pointer;
    padding: 16px 20px !important;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    border-right: 4px solid transparent;
    background: transparent;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
}

.tab-link:hover {
    background-color: var(--bg-main);
}

.tab-link.active-country {
    background-color: var(--p-blue-light);
    border: 1px solid rgba(0, 82, 255, 0.08);
    border-right-color: var(--p-blue);
}

.country-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.country-item img {
    width: 28px;
    height: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    object-fit: cover;
}

.country-item span {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--t-dark);
    font-size: 16px;
}

/* Tab Contents Display */
.tab-content {
    display: none;
    animation: fadeInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-content.is-active {
    display: block !important;
}

.detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.detail-header h2 {
    font-size: 28px;
    color: var(--t-dark);
}

.detail-header img {
    width: 48px;
    height: auto;
    border-radius: 6px;
}

.type {
    font-weight: 800;
    color: var(--p-blue);
    text-transform: uppercase;
    margin: 32px 0 16px 0;
    display: block;
    border-bottom: 2px solid var(--p-blue-light);
    padding-bottom: 8px;
    font-size: 12px;
    letter-spacing: 1.5px;
}

.bank-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.bank-list li {
    padding: 14px 18px;
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.bank-list li:hover {
    border-color: var(--t-muted);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.bank-list li strong {
    display: block;
    color: var(--t-dark);
    font-size: 15px;
    margin-bottom: 4px;
}

.bank-list li span {
    color: var(--t-light);
    font-size: 13px;
    line-height: 1.4;
    display: block;
}

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

/* 8. Security Section */
.security-section {
    background-color: var(--t-dark);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.security-section h2, .security-section h3 {
    color: var(--bg-white);
}

.security-header {
    max-width: 800px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.security-header .title-badge {
    background-color: rgba(0, 82, 255, 0.2);
    color: #4080ff;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 20px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
}

.security-header h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.security-header p {
    font-size: 17px;
    color: var(--t-muted);
    line-height: 1.7;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.security-grid-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.security-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    transition: var(--transition-smooth);
}

.security-card:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--p-blue);
    transform: translateY(-4px);
}

.security-icon-wrapper {
    margin-bottom: 24px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 82, 255, 0.1);
}

.security-icon-wrapper img {
    width: 32px;
    height: 32px;
}

.security-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.security-card p {
    font-size: 14.5px;
    color: var(--t-muted);
    line-height: 1.6;
}

/* 9. Feature Strategic Cards Grid */
.features-section {
    background-color: var(--bg-main);
}

.features-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px auto;
}

.features-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.features-header p {
    color: var(--t-light);
    font-size: 17px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 48px 32px;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 82, 255, 0.15);
}

.feature-icon {
    font-size: 44px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--t-dark);
}

.feature-card p {
    font-size: 15px;
    color: var(--t-light);
    line-height: 1.6;
    margin: 0;
}

/* 10. Blog Grid Section */
.blog-section {
    background-color: var(--bg-white);
}

.blog-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
}

.blog-header h2 {
    font-size: 36px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 82, 255, 0.1);
}

.blog-card svg {
    width: 100%;
    height: 200px;
    display: block;
    object-fit: cover;
}

.blog-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-title {
    font-family: 'Outfit', sans-serif;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--t-dark);
    line-height: 1.35;
}

.blog-text {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--t-light);
}

/* SVG Animations in Blog Cards */
@keyframes masterPulse {
    0%, 100% { transform: scale(1); opacity: 0.35; }
    50% { transform: scale(1.3); opacity: 0.8; }
}

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

@keyframes characterGlow {
    0%, 100% { fill: #8D8DC2; filter: drop-shadow(0 0 0 #00F2FF); }
    50% { fill: #b0b0dc; filter: drop-shadow(0 0 6px #00F2FF); }
}

.sync-core {
    animation: masterPulse 1.8s ease-in-out infinite;
    transform-origin: 450px 250px;
}

.orbit-system {
    animation: orbitalSpin 12s linear infinite;
    transform-origin: 450px 250px;
}

.character-unit {
    animation: characterGlow 2s ease-in-out infinite;
}

.sync-line {
    stroke: #00F2FF;
    stroke-width: 1.5;
    opacity: 0.15;
}

/* 11. Technology & Efficiency Flow Section */
.tech-efficiency-section {
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.tech-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.tech-content h2 {
    font-size: 36px;
    margin-bottom: 24px;
    line-height: 1.25;
}

.tech-content p {
    font-size: 16px;
    color: var(--t-light);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Data Flow Diagram SVG styling & animations */
.tech-visual-container {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.data-line {
    stroke-dasharray: 6 6;
    animation: dataFlow 4s linear infinite;
}

@keyframes dataFlow {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -120; }
}

.dot {
    animation: pulse 2s ease-in-out infinite;
    transform-origin: center;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 1; }
}

/* 12. Control Total Section */
.control-total-section {
    background-color: var(--bg-white);
}

.control-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.control-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.control-card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.control-card h3 {
    font-size: 22px;
    color: var(--t-dark);
}

.control-card p {
    font-size: 15px;
    color: var(--t-light);
    line-height: 1.6;
}

/* 13. Footer Section (Pie de Página) */
.footer-section {
    background-color: var(--t-dark);
    color: var(--bg-white);
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-section h2, .footer-section h3 {
    color: var(--bg-white);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
}

.footer-logo-col p {
    color: var(--t-muted);
    font-size: 14px;
    line-height: 1.6;
}

.footer-col h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--t-muted);
    font-size: 14px;
}

.footer-links li svg {
    width: 16px;
    height: 16px;
    fill: var(--p-blue);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-links a:hover {
    color: var(--bg-white);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.social-item svg {
    width: 18px;
    height: 18px;
    fill: var(--t-muted);
    transition: var(--transition-smooth);
}

.social-item:hover {
    background-color: var(--p-blue);
    border-color: var(--p-blue);
}

.social-item:hover svg {
    fill: var(--bg-white);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    color: var(--t-muted);
}

/* 14. Responsive Layout System (Media Queries) */

/* Large Tablets & Desktop Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .hero-content p {
        margin: 0 auto 40px auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-visual {
        height: 380px;
    }
    
    /* Scale SVGs correctly on tablet */
    .ob-flotante svg {
        transform: scale(0.85);
    }
    
    #flot  { top: 180px; left: 30px; }
    #flot3 { top: 10px; left: 30px; }
    #flot4 { top: 10px; right: 30px; }
    #flot5 { bottom: 40px; right: 40px; }
    #flot6 { bottom: 90px; left: 30px; }
    #flot7 { bottom: 10px; right: 150px; }

    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    .countries-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .tabs-navigation {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tab-link {
        border-right: none;
        border-bottom: 4px solid transparent;
        margin-bottom: 0 !important;
    }
    
    .tab-link.active-country {
        border-bottom-color: var(--p-blue);
    }
    
    .security-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    .security-grid-bottom {
        grid-template-columns: 1fr 1fr;
        max-width: 100%;
    }
    
    .features-grid, .blog-grid, .control-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .tech-visual-container {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* Small Tablets & Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .header-nav {
        height: 70px;
    }
    
    /* Hide Nav Links and show mobile menu toggle if needed */
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 15px;
    }
    
    .hero-visual {
        height: 280px;
    }
    
    /* Scale SVGs down for mobile */
    .ob-flotante svg {
        transform: scale(0.68);
    }
    
    #flot  { top: 120px; left: 10px; }
    #flot3 { top: 0px; left: 10px; }
    #flot4 { top: 0px; right: 10px; }
    #flot5 { bottom: 20px; right: 20px; }
    #flot6 { bottom: 60px; left: 10px; }
    #flot7 { bottom: 0px; right: 90px; }

    .open-data-container {
        padding: 40px 16px;
    }
    
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .stat-item .number {
        font-size: 36px;
    }
    
    .detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .detail-header h2 {
        font-size: 24px;
    }
    
    .bank-list {
        grid-template-columns: 1fr;
    }
    
    .security-header h2, .features-header h2, .blog-header h2, .tech-content h2 {
        font-size: 28px;
    }
    
    .security-grid, .security-grid-bottom, .features-grid, .blog-grid, .control-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
