/* Estilos Base - Estética Cuadrática y Formal */
:root {
    --primary: #00509d; /* Clearer Institutional Blue */
    --secondary: #d40000; /* Institutional Red */
    --black: #111111;
    --white: #FFFFFF;
    --gray-light: #F8F8F8;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --section-padding: clamp(3rem, 8vh, 5rem); /* More compact layout */
    --serif: 'Libre Baskerville', serif;
    --sans: 'Calibri Light', 'Calibri', 'Candara', 'Segoe UI', 'Optima', 'Arial', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 0 !important; /* Global removal of border-radius for quadratic aesthetic */
}

body {
    font-family: var(--sans);
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow: hidden; /* Prevents scroll while preloading */
}

body.loaded {
    overflow-y: auto;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%; /* Asegurar que no exceda el ancho en móviles */
}

h1, h2, h3, h4 {
    font-family: var(--sans);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.section-padding {
    padding: var(--section-padding) 0;
}

/* Preloader Premium */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white); /* White background */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.loader-logo {
    max-width: 350px; /* Sized up from 250px */
    filter: grayscale(1) brightness(0); /* Black logo */
    animation: fadeInScale 1s ease-out;
}

.progress-container {
    width: 300px; /* Widened from 200px */
    height: 2px;
    background: rgba(0, 0, 0, 0.05); /* Soft gray on white */
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--primary);
    transition: width 0.4s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.brand:hover {
    opacity: 0.7;
}

.main-logo-img {
    height: 45px; /* Más pequeño para ahorrar espacio */
    width: auto;
    display: block;
}

.brand h1 {
    font-size: 1.8rem;
    line-height: 1;
}

.brand span {
    font-size: 0.7rem;
    letter-spacing: 3px;
    font-weight: 700;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 3.5rem; /* Más espacio */
    align-items: center;
}

.main-nav a {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
}

.main-nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: var(--transition);
}

.main-nav a:not(.nav-cta):hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--black);
    padding: 0.5rem;
}

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(224, 186, 125, 0.3);
}

/* Hero Section */
.hero-formal {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.video-marquee-container {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(-50%);
    z-index: -2;
    overflow: hidden;
    background: var(--black);
}

.marquee-track {
    display: flex;
    width: max-content;
    height: 100%;
    animation: marquee-scroll 40s linear infinite;
    padding: 0;
}

.marquee-video {
    height: 100%;
    width: auto; /* Respect natural aspect ratio */
    object-fit: contain; /* Do not crop/zoom */
    filter: grayscale(0.2) brightness(0.8);
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* Uniform overlay for better clarity */
    z-index: 2;
}

.hero-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 10; /* Bring above overlay to make buttons interactive */
}

.hero-centered-content {
    animation: fadeInScale 1.2s ease-out;
}

.hero-logo-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem; /* Casi pegados para compensar el aire del PNG */
    animation: fadeInScale 1.2s ease-out;
}

.hero-main-logo {
    max-width: 550px; /* Even larger and more impactful */
    margin-bottom: 0.5rem; /* Closer to the buttons */
    filter: brightness(0) invert(1);
}

.hero-actions-central {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-black-pill, .btn-outline-pill {
    padding: 1rem 2.5rem;
    border-radius: 0;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem; /* Space between icon and text */
    min-width: 220px; /* Uniform width */
}

.btn-black-pill {
    background: var(--primary); 
    color: var(--white);
    border: 1px solid var(--primary);
}

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

.btn-black-pill:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.btn-outline-pill:hover {
    background: var(--white);
    color: var(--black);
}

/* Presentation Section */
.presentation-formal {
    background: var(--white);
    padding: var(--section-padding) 0;
}

.mini-container {
    max-width: 900px;
}

.presentation-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.presentation-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.lead-text {
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.pres-text p:not(.lead-text) {
    color: var(--black);
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
}

.stat-item {
    border-bottom: 1px solid #eee;
    padding: 1.5rem 0;
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--sans);
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

.direct-contact-grid {
    margin-top: 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-card-box {
    background: var(--gray-light);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.contact-card-box:hover {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-card-box i {
    font-size: 2rem;
    color: var(--primary);
}

.contact-label-tag {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #999;
    margin-bottom: 0.3rem;
}

.contact-link-main {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--black);
    text-decoration: none;
    transition: var(--transition);
}

.contact-link-main:hover {
    color: var(--primary);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Pilares */
.pilares {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 4rem 2rem;
    border-top: 1px solid #eee;
}

.pilar-item {
    text-align: center;
}

.pilar-item:last-child {
    border-right: none;
}

.pilar-num {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--med-gray);
    display: block;
    margin-bottom: 1rem;
}

.pilar-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.services-formal {
    background: var(--gray-light);
}

.section-heading {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 2.5rem; /* Slightly more compact gap */
}

.s-box {
    background: var(--white);
    padding: 3.5rem 1.5rem; /* Reduced padding for smaller footprint */
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    cursor: default; /* Clarify it's not a button */
}

.s-box:hover {
    border-bottom-color: var(--primary);
    box-shadow: 0 5px 20px rgba(0,0,0,0.03); /* Much subtler shadow */
}

.s-box:hover i {
    transform: scale(1.1); /* Slight icon scale instead of box lift */
}

.s-box i {
    font-size: 2rem; /* Slightly smaller icons */
    color: var(--primary);
    margin-bottom: 1.2rem;
    transition: var(--transition);
}

.s-box h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.s-box p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 1.5rem;
}

/* Trust Section */
.trust-formal {
    padding: var(--section-padding) 0;
}

.trust-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.trust-heading {
    text-align: left !important;
    margin-bottom: 2rem !important;
}

.trust-image {
    border: 1px solid rgba(0,0,0,0.1);
}

.trust-map-iframe {
    width: 100%;
    min-height: 500px;
    border: 0;
    display: block;
}

.trust-text {
    order: 1; /* Texto a la izquierda */
}

.trust-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.location-box {
    background: var(--gray-light);
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    border-left: 4px solid var(--primary);
}

.address-box p {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    line-height: 1.6;
}

/* Connect Section */
.connect-portfolio {
    background: var(--black);
    color: var(--white);
    padding: var(--section-padding) 0;
    text-align: center;
}

.connect-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.connect-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 4rem;
}

.c-card {
    background: rgba(255,255,255,0.05);
    padding: 3rem;
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.c-card:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.02);
}

.c-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.c-card h3 {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
}

.trust-text p {
    margin-bottom: 1.5rem;
}

.location-box-premium {
    margin-top: 2rem;
    background: #f4f4f4;
    border-left: 5px solid var(--primary);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.location-box-premium i {
    font-size: 1.5rem;
    color: var(--black);
}

.location-box-premium address {
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--black);
}

.map-actions-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-map {
    padding: 1rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: var(--transition);
}

.btn-google { background: #4285F4; }
.btn-apple { background: #000000; }

.btn-map:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
}



/* FAQ Section & Accordion */
.faq-section {
    background: var(--white);
}

.accordion-container {
    margin-top: 2rem;
    margin-bottom: 4rem; /* More space before recommendation */
}

.faq-loading {
    text-align: center;
    padding: 3rem;
    font-family: var(--sans);
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.faq-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    border-bottom: 2px solid rgba(0, 34, 68, 0.1);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.faq-category-header:hover {
    padding-left: 10px;
    border-bottom-color: var(--secondary);
}

.faq-category-title {
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--black);
    margin: 0;
}

.faq-category-icon {
    font-size: 0.7rem;
    color: var(--primary);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Estado activo de la categoría */
.faq-category-group.active .faq-category-icon {
    transform: rotate(180deg);
    color: var(--secondary);
}

.faq-category-group.active .faq-category-header {
    border-bottom-color: var(--secondary);
}

/* Contenedor de items de la categoría */
.category-items-wrapper {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    padding-bottom: 0;
}

.faq-category-group.active .category-items-wrapper {
    max-height: 2000px; /* Suficiente para las preguntas */
    opacity: 1;
    padding-bottom: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5rem;
        align-items: start;
    }
}

.faq-column {
    display: flex;
    flex-direction: column;
}

.faq-category-title {
    font-family: var(--sans);
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary);
    margin: 4rem 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 34, 68, 0.1);
    font-weight: 700;
}

.faq-category-title:first-of-type {
    margin-top: 0;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-header {
    width: 100%;
    padding: 2.5rem 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.accordion-header span {
    font-family: var(--sans);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--black);
}

.accordion-header i {
    font-size: 1rem;
    color: var(--primary);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.accordion-header:hover span, 
.accordion-header:hover i {
    color: var(--secondary);
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
    color: var(--secondary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.accordion-body {
    padding-bottom: 2.5rem;
}

.accordion-body p {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    max-width: 800px;
}

.accordion-body ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: #666;
}

.accordion-body li {
    margin-bottom: 0.5rem;
}

.faq-recommendation {
    margin-top: 6rem; /* Increased from 4rem */
    padding: 2.5rem;
    background: var(--gray-light);
    border-left: 4px solid var(--primary);
    text-align: center;
    position: relative; /* Ensure it stays in flow */
    z-index: 1;
}

.faq-recommendation p {
    font-size: 1.1rem;
    color: var(--black);
}

/* Formulario */
.formal-form {
    border: 1px solid var(--black);
    padding: 4rem;
}

.form-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

input, select, textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--med-gray);
    font-family: var(--sans);
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--black);
}

.btn-black-full {
    width: 100%;
    background: var(--black);
    color: var(--white);
    padding: 1.5rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    margin-top: 1rem;
}

/* Connect Section Polish */
.connect-portfolio {
    background: #111111; /* Unified dark background */
    padding: 3rem 0;
    text-align: center;
}

.connected-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.connect-title {
    font-size: 1.1rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 2.5rem; /* Tighter spacing */
    color: var(--med-gray);
    font-weight: 400;
    position: relative;
}

.connect-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: #E0BA7D;
}

.connect-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem; /* Menos espacio */
}

.c-card {
    background: #181818; /* Slightly lighter for contrast on #111 */
    padding: 3.5rem 2rem; 
    border: 1px solid #252525;
    color: var(--white);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-decoration: none;
}

.c-card:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-8px);
}

.c-card i {
    font-size: 2.2rem; /* Larger icon for visual weight */
}

.c-card h3 {
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
}

.small-socials {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.small-socials a {
    color: var(--med-gray);
    font-size: 1.2rem;
    transition: var(--transition);
}

.small-socials a:hover {
    color: var(--white);
}

/* Footer */
.main-footer {
    padding: 3rem 0;
    background: #111111; /* Seamlessly unified */
    color: #888;
    border-top: 1px solid rgba(255,255,255,0.02);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Balanced columns as per screenshot */
    gap: 4rem; /* More generous spacing */
    align-items: center; /* Vertical centering */
}

.footer-logo {
    height: 40px;
    margin-bottom: 1.5rem;
    filter: grayscale(1) invert(1);
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center; /* Exact centering for the numbers */
}

.f-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.f-item a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-social {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end; /* Push to the far right */
}

.footer-social a {
    color: #888;
    font-size: 1.4rem;
    transition: var(--transition);
}

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

/* --- RESPONSIVE OPTIMIZATION --- */

/* Tablet (up to 1024px) */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Mobile & Small Tablets (up to 768px) */
@media (max-width: 768px) {
    /* Header & Nav */
    .menu-toggle { display: block; }
    .main-nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        display: none;
        padding: 2rem;
        border-bottom: 1px solid #eee;
        z-index: 1000;
    }
    .main-nav.active { display: block; }
    .main-nav ul { 
        flex-direction: column; 
        text-align: center; 
        gap: 2rem;
    }

    /* Hero Section */
    .hero-main-logo {
        max-width: 85%; /* Scalable for all mobile widths */
        margin-bottom: 1rem;
    }
    .hero-actions-central {
        flex-direction: column;
        width: 100%;
        padding: 0 2rem;
    }
    .hero-actions-central .btn-black-pill, 
    .hero-actions-central .btn-outline-pill {
        width: 100%;
    }

    /* Grids & Layouts */
    .presentation-grid, 
    .trust-flex, 
    .footer-grid, 
    .direct-contact-grid, 
    .connect-cards,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pilares { 
        grid-template-columns: 1fr; 
        gap: 3rem; 
    }

    /* Presentation */
    .presentation-title { font-size: 1.8rem; }
    .section-heading { font-size: 1.8rem; }
    .s-box { padding: 3rem 1.5rem; }

    /* Trust & Location */
    .location-box-premium {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    .map-actions-new {
        grid-template-columns: 1fr; /* Stacked buttons for easy tapping */
    }
    .trust-image iframe {
        min-height: 350px;
    }

    /* Footer */
    .footer-info { align-items: center; text-align: center; }
    .footer-contact { align-items: center; margin: 2rem 0; }
    .footer-social { justify-content: center; }

    /* Typography Polish */
    .lead-text { font-size: 1.1rem; }

    /* FAQ Section polish */
    .faq-category-title { margin-top: 2rem; font-size: 0.75rem; letter-spacing: 2px; }
    .accordion-header span { font-size: 1rem; }
    .faq-recommendation { margin-top: 3rem; padding: 1.5rem; }
    .faq-recommendation p { font-size: 1rem; }

    /* Trust Map */
    .trust-image iframe { min-height: 300px; }
}

/* Extra Small Devices (up to 480px) */
@media (max-width: 480px) {
    .presentation-title, .section-heading { font-size: 1.6rem; }
    .hero-main-logo { max-width: 90%; }
    .container { padding: 0 1rem; } /* Reduced from 1.5rem */
}

/* Vertical/Exaggerated Small Devices (up to 320px) */
@media (max-width: 320px) {
    .container { padding: 0 0.8rem; }
    .section-heading { font-size: 1.4rem; }
    .footer-grid { gap: 1.5rem; }
    .f-item { font-size: 0.8rem; }
    .footer-info p { font-size: 0.7rem; }
    .c-card { padding: 2rem 1rem; }
}
