/* ================================================================
   STYLES.CSS — Sitio institucional constructora
   ================================================================
   PALETA — para cambiar la identidad visual de la empresa,
   modificar solo las variables dentro de :root { }
   ================================================================ */

/* ================================================================
   1. CSS CUSTOM PROPERTIES (variables)
   ================================================================ */
:root {
    /* — Colores principales — */
    --c-black:       #0f0f0f;
    --c-dark:        #1a1a1a;   /* fondo secciones oscuras */
    --c-dark-mid:    #2d2d2d;   /* fondo secundario */
    --c-accent:      #f5a623;   /* PLACEHOLDER: naranja/amarillo maquinaria — reemplazar si la empresa tiene color de marca */
    --c-accent-h:    #d4891a;   /* hover del acento */
    --c-light:       #f4f3ef;   /* fondo secciones claras */
    --c-gray:        #e6e4de;   /* fondo secciones gris tierra */
    --c-white:       #ffffff;

    /* — Texto — */
    --c-text:        #1e1e1e;
    --c-text-mid:    #555555;
    --c-text-soft:   #888888;
    --c-border:      #d6d3cb;

    /* — Tipografía — */
    --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* — Espaciado — */
    --sp-xs:   0.5rem;
    --sp-sm:   1rem;
    --sp-md:   1.5rem;
    --sp-lg:   2.5rem;
    --sp-xl:   4rem;
    --sp-xxl:  6rem;

    /* — Layout — */
    --max-w:   1200px;
    --pad:     1.25rem;

    /* — Navbar — */
    --nav-h:   68px;

    /* — Radios y sombras — */
    --r-sm:    4px;
    --r-md:    8px;
    --r-lg:    16px;
    --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
    --shadow-md:  0 4px 20px rgba(0,0,0,.13);
    --shadow-lg:  0 8px 40px rgba(0,0,0,.20);

    /* — Transiciones — */
    --t-fast:  0.18s ease;
    --t-base:  0.28s ease;
    --t-slow:  0.45s ease;
}

/* ================================================================
   2. RESET & BASE
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    color: var(--c-text);
    background: var(--c-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img    { max-width: 100%; height: auto; display: block; }
a      { color: inherit; text-decoration: none; }
ul     { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

address { font-style: normal; }

/* Focus visible accesible */
*:focus-visible {
    outline: 2px solid var(--c-accent);
    outline-offset: 3px;
    border-radius: var(--r-sm);
}

/* ================================================================
   4. UTILIDADES
   ================================================================ */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad);
}

@media (max-width: 480px) {
    .container { padding: 0 0.75rem; }
}

.mt-2 { margin-top: var(--sp-md); }

/* ================================================================
   5. BOTONES
   ================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--r-sm);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background-color var(--t-base), color var(--t-base),
                transform var(--t-base), box-shadow var(--t-base),
                border-color var(--t-base);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}

@media (max-width: 480px) {
    .btn { padding: 0.75rem 0.875rem; font-size: 0.875rem; }
}

.btn--accent {
    background-color: var(--c-accent);
    color: var(--c-dark);
}
.btn--accent:hover {
    background-color: var(--c-accent-h);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245,166,35,.35);
}

.btn--primary {
    background-color: var(--c-dark);
    color: var(--c-white);
}
.btn--primary:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background-color: transparent;
    color: var(--c-white);
    border: 2px solid rgba(255,255,255,.55);
}
.btn--outline:hover {
    background-color: rgba(255,255,255,.1);
    border-color: var(--c-white);
}

.btn--full {
    width: calc(100% - 2px);
    max-width: 100%;
    box-sizing: border-box;
}

/* ================================================================
   6. SECCIONES — base común
   ================================================================ */
.section          { padding: var(--sp-xl) 0; }
.section--light   { background-color: var(--c-light); }
.section--gray    { background-color: var(--c-gray); }
.section--dark    { background-color: var(--c-dark); color: var(--c-white); }

.section__header  { text-align: center; margin-bottom: var(--sp-xl); }

.section__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: 0.375rem;
}

.section__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--c-text);
    margin-bottom: var(--sp-sm);
    letter-spacing: -.02em;
}

.section__header--light .section__title,
.section__header--light .section__desc {
    color: var(--c-white);
}

.section__desc {
    font-size: 1.0625rem;
    color: var(--c-text-mid);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}
.section--dark .section__desc { color: rgba(255,255,255,.60); }

/* ================================================================
   7. ANIMACIONES FADE-IN AL SCROLL
   ================================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .55s ease, transform .55s ease;
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger para ítems de grillas */
.services__grid  > *:nth-child(2).fade-in { transition-delay: .10s; }
.services__grid  > *:nth-child(3).fade-in { transition-delay: .20s; }
.projects__grid  > *:nth-child(2).fade-in { transition-delay: .06s; }
.projects__grid  > *:nth-child(3).fade-in { transition-delay: .12s; }
.projects__grid  > *:nth-child(4).fade-in { transition-delay: .18s; }
.projects__grid  > *:nth-child(5).fade-in { transition-delay: .24s; }
.projects__grid  > *:nth-child(6).fade-in { transition-delay: .30s; }
.equipment__grid > *:nth-child(2).fade-in { transition-delay: .06s; }
.equipment__grid > *:nth-child(3).fade-in { transition-delay: .12s; }
.equipment__grid > *:nth-child(4).fade-in { transition-delay: .18s; }

/* ================================================================
   8. NAVBAR
   ================================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background-color: transparent;
    transition: background-color var(--t-base), box-shadow var(--t-base);
}

.navbar.is-scrolled {
    background-color: rgba(15,15,15,.97);
    box-shadow: 0 2px 24px rgba(0,0,0,.35);
    backdrop-filter: blur(8px);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
}

/* Logo */
.navbar__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--c-white);
    font-weight: 700;
    font-size: 1.0625rem;
    letter-spacing: -.01em;
    flex-shrink: 0;
}
.navbar__logo-mark {
    color: var(--c-accent);
    font-size: 1.2rem;
    line-height: 1;
}
.navbar__logo-text { white-space: nowrap; }
.navbar__logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    border: 2px solid var(--c-white);
    border-radius: var(--r-sm);
    padding: 2px;
}

/* Nav desktop — oculto en mobile */
.navbar__nav { display: none; }

.navbar__links {
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

.navbar__link {
    color: rgba(255,255,255,.80);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--r-sm);
    transition: color var(--t-fast), background-color var(--t-fast);
    position: relative;
}
.navbar__link::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 0.75rem; right: 0.75rem;
    height: 2px;
    background: var(--c-accent);
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform var(--t-fast);
    transform-origin: left;
}
.navbar__link:hover,
.navbar__link.is-active { color: var(--c-white); }
.navbar__link:hover::after,
.navbar__link.is-active::after { transform: scaleX(1); }

.navbar__link--cta {
    background-color: var(--c-accent);
    color: var(--c-dark) !important;
    font-weight: 600;
    margin-left: 0.5rem;
    padding: 0.5rem 1.125rem;
}
.navbar__link--cta::after { display: none; }
.navbar__link--cta:hover { background-color: var(--c-accent-h); }

/* Hamburguesa */
.navbar__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    z-index: 1001;
    flex-shrink: 0;
}
.navbar__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--c-white);
    border-radius: 2px;
    transition: transform var(--t-base), opacity var(--t-base);
}
.navbar__hamburger.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.navbar__hamburger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__hamburger.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Menú mobile desplegado */
.navbar__nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background-color: rgba(13,13,13,.98);
    padding: var(--sp-sm) var(--pad) var(--sp-md);
    border-top: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}
.navbar__nav.is-open .navbar__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}
.navbar__nav.is-open .navbar__link {
    font-size: 1.0625rem;
    padding: 0.75rem var(--sp-sm);
    border-bottom: 1px solid rgba(255,255,255,.06);
    border-radius: 0;
}
.navbar__nav.is-open .navbar__link::after { display: none; }
.navbar__nav.is-open .navbar__link--cta {
    margin-top: var(--sp-sm);
    margin-left: 0;
    border-bottom: none;
    border-radius: var(--r-sm);
    text-align: center;
}

/* Desktop: mostrar nav, ocultar hamburguesa */
@media (min-width: 768px) {
    .navbar__nav       { display: flex; }
    .navbar__hamburger { display: none; }
}

/* ================================================================
   9. HERO
   ================================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;

    /*
     * PLACEHOLDER: Reemplazar esta URL por la imagen real de la empresa.
     * Imágen sugerida: foto de obra vial en proceso, maquinaria en campo,
     * o paisaje de ruta de alta calidad. Resolución mínima: 1920×1080px.
     * Formato recomendado: WebP u optimizado JPEG.
     */
    background-image: url('https://picsum.photos/seed/highway99/1920/1080');
    background-size: cover;
    background-position: center top;
}

/* Overlay degradado — no modificar sin ajustar también el texto del hero */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            100deg,
            rgba(8,8,8,.90) 0%,
            rgba(12,12,12,.72) 45%,
            rgba(18,18,18,.45) 100%
        );
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 1;
    padding-top: var(--nav-h);
    max-width: 1040px;
}

.hero__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--c-accent);
    border-left: 3px solid var(--c-accent);
    padding-left: 0.75rem;
    margin-bottom: var(--sp-sm);
    line-height: 1;
}

.hero__title {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
    margin-bottom: var(--sp-md);
}

.hero__logo-emblem {
    display: block;
    flex-shrink: 0;
    width: clamp(90px, 16vw, 170px);
    height: auto;
}

.hero__logo-text {
    font-size: clamp(2rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--c-white);
    letter-spacing: -.02em;
}

.hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255,255,255,.75);
    line-height: 1.7;
    margin-bottom: var(--sp-lg);
    max-width: 520px;
    font-weight: 400;
}
.hero__subtitle strong { color: var(--c-accent); font-weight: 700; }

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-sm);
}

/* Indicador de scroll — flecha chevron animada */
.hero__scroll-cue {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}
.hero__scroll-cue span {
    display: block;
    width: 20px;
    height: 20px;
    border-right: 2.5px solid rgba(255,255,255,.55);
    border-bottom: 2.5px solid rgba(255,255,255,.55);
    transform: rotate(45deg) translateY(-3px);
    animation: scrollChevron 1.6s ease-in-out infinite;
}
@keyframes scrollChevron {
    0%,100% { opacity: .4; transform: rotate(45deg) translateY(-5px); }
    50%      { opacity: 1;  transform: rotate(45deg) translateY(2px); }
}

/* Parallax solo en desktop (background-attachment: fixed falla en iOS) */
@media (min-width: 768px) {
    .hero { background-attachment: fixed; }
}

/* ================================================================
   10. SOBRE NOSOTROS
   ================================================================ */
.about__grid {
    display: grid;
    gap: var(--sp-xl);
}

.about__text p {
    color: var(--c-text-mid);
    line-height: 1.82;
    margin-bottom: var(--sp-sm);
    font-size: 1.0625rem;
}
.about__text p:last-of-type { margin-bottom: 0; }

/* Grid de stats: una columna, tarjetas anchas en fila */
.about__stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-sm);
    align-content: start;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    padding: var(--sp-lg) var(--sp-md);
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--c-accent);
}

.stat-card__number {
    flex: none;
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--c-accent);
    letter-spacing: -.03em;
    line-height: 1;
}

.stat-card__label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--c-text-mid);
    line-height: 1.35;
}

@media (min-width: 1024px) {
    .about__grid { grid-template-columns: 1fr 380px; align-items: start; }
}

/* ================================================================
   11. SERVICIOS
   ================================================================ */
.services__grid {
    display: grid;
    gap: var(--sp-lg);
}

.service-card {
    background-color: var(--c-dark-mid);
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.06);
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 48px rgba(0,0,0,.45);
}

.service-card__img-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.service-card__img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}
.service-card:hover .service-card__img { transform: scale(1.06); }

.service-card__body { padding: var(--sp-lg) var(--sp-md); }

.service-card__icon {
    width: 48px;
    height: 48px;
    color: var(--c-accent);
    margin-bottom: var(--sp-sm);
}

.service-card__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--c-white);
    margin-bottom: 0.625rem;
}

.service-card__desc {
    font-size: 0.9375rem;
    color: rgba(255,255,255,.60);
    line-height: 1.75;
    margin-bottom: var(--sp-sm);
}

.service-card__list { padding: 0; }
.service-card__list li {
    font-size: 0.875rem;
    color: rgba(255,255,255,.48);
    padding: 0.4rem 0 0.4rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,.05);
    position: relative;
}
.service-card__list li:last-child { border-bottom: none; }
.service-card__list li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 5px; height: 5px;
    background: var(--c-accent);
    border-radius: 50%;
}

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

/* ================================================================
   12. PROYECTOS
   ================================================================ */
.projects__grid {
    display: grid;
    gap: var(--sp-md);
}

.project-card {
    background: var(--c-white);
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,.06);
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.project-card__img-wrap {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.project-card__img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}
.project-card:hover .project-card__img { transform: scale(1.05); }

.project-card__badge {
    position: absolute;
    top: var(--sp-sm); left: var(--sp-sm);
    background-color: var(--c-accent);
    color: var(--c-dark);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 0.25rem 0.625rem;
    border-radius: var(--r-sm);
    white-space: nowrap;
}

.project-card__body { padding: var(--sp-md); }

.project-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 0.375rem;
    line-height: 1.35;
}

.project-card__location {
    display: block;
    font-size: 0.8125rem;
    color: var(--c-text-soft);
    margin-bottom: 0.625rem;
    font-weight: 500;
}

.project-card__desc {
    font-size: 0.875rem;
    color: var(--c-text-mid);
    line-height: 1.65;
}

@media (min-width: 640px)  { .projects__grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .projects__grid { grid-template-columns: repeat(3,1fr); } }

/* Asegurar que los grids sean responsivos en pantallas pequeñas */
@media (max-width: 639px) {
    .projects__grid { grid-template-columns: 1fr; }
}

/* ================================================================
   13. MAQUINARIA / EQUIPAMIENTO
   ================================================================ */
.equipment__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-sm);
}

@media (min-width: 480px) { .equipment__grid { grid-template-columns: repeat(2,1fr); } }

.equipment-card {
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--c-dark-mid);
    border: 1px solid rgba(255,255,255,.05);
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.equipment-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.equipment-card__img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform var(--t-slow), filter var(--t-base);
    filter: brightness(.95);
}
.equipment-card:hover .equipment-card__img {
    transform: scale(1.04);
    filter: brightness(1.05);
}

.equipment-card__label {
    display: block;
    padding: 0.625rem var(--sp-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--c-text-mid);
    background: var(--c-white);
    text-align: center;
}

@media (min-width: 640px)  { .equipment__grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .equipment__grid { grid-template-columns: repeat(4,1fr); } }

/* ================================================================
   14. CONTACTO
   ================================================================ */
.contact__grid {
    display: grid;
    gap: var(--sp-xl);
}

/* Formulario */
.contact__form-wrap {
    position: relative;
    overflow: hidden;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-row { display: grid; gap: var(--sp-sm); }

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255,255,255,.70);
}
.form-label span { color: var(--c-accent); }

.form-input {
    width: 100%;
    padding: 0.8125rem 1rem;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--r-sm);
    color: var(--c-white);
    font-size: 0.9375rem;
    font-family: var(--font);
    transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
    outline: none;
}
.form-input::placeholder { color: rgba(255,255,255,.28); font-style: italic; }
.form-input:focus {
    border-color: var(--c-accent);
    background: rgba(255,255,255,.10);
    box-shadow: 0 0 0 3px rgba(245,166,35,.20);
}
.form-input.is-error { border-color: #e57373; box-shadow: 0 0 0 3px rgba(229,115,115,.15); }

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

.form-error {
    font-size: 0.8125rem;
    color: #ef9a9a;
    min-height: 1.1rem;
}

/* Mensaje de éxito */
.form-success {
    text-align: center;
    padding: var(--sp-xl) var(--sp-md);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--r-md);
}
.form-success__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px; height: 64px;
    background: var(--c-accent);
    color: var(--c-dark);
    font-size: 1.75rem;
    font-weight: 900;
    border-radius: 50%;
    margin-bottom: var(--sp-md);
}
.form-success h3 { font-size: 1.375rem; color: var(--c-white); margin-bottom: 0.5rem; }
.form-success p  { color: rgba(255,255,255,.60); }

/* Información de contacto */
.contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--sp-lg);
}

.contact-info__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--c-white);
    margin-bottom: var(--sp-md);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.contact-info__item {
    display: flex;
    gap: var(--sp-sm);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.contact-info__item:last-child { border-bottom: none; }

.contact-info__icon {
    font-size: 1.125rem;
    flex-shrink: 0;
    width: 1.875rem;
    line-height: 1.5;
}

.contact-info__item strong {
    display: block;
    font-size: 0.75rem;
    color: var(--c-accent);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.contact-info__item p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,.65);
    line-height: 1.5;
}
.contact-info__item a {
    color: rgba(255,255,255,.65);
    transition: color var(--t-fast);
}
.contact-info__item a:hover { color: var(--c-accent); }

/* Mapa */
.contact__map {
    width: 100%;
    max-width: 100%;
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
}

.contact__map iframe {
    width: 100%;
    max-width: 100%;
    display: block;
}

@media (min-width: 640px)  { .form-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1fr 400px; } }

/* ================================================================
   15. FOOTER
   ================================================================ */
.footer {
    background: var(--c-black);
    color: rgba(255,255,255,.55);
    padding-top: var(--sp-xxl);
}

.footer__grid {
    display: grid;
    gap: var(--sp-xl);
    padding-bottom: var(--sp-xl);
    border-bottom: 1px solid rgba(255,255,255,.07);
}

/* Marca */
.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--c-white);
    font-weight: 700;
    font-size: 1.0625rem;
    margin-bottom: var(--sp-sm);
    transition: color var(--t-fast);
}
.footer__logo:hover { color: var(--c-accent); }
.footer__logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer__tagline {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255,255,255,.40);
    margin-bottom: var(--sp-md);
    max-width: 260px;
}

/* Redes sociales */
.footer__social { display: flex; gap: 0.625rem; }

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    background: rgba(255,255,255,.07);
    border-radius: 50%;
    color: rgba(255,255,255,.55);
    transition: background var(--t-fast), color var(--t-fast);
}
.footer__social-link svg { width: 17px; height: 17px; }
.footer__social-link:hover {
    background: var(--c-accent);
    color: var(--c-dark);
}

/* Columnas */
.footer__col-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .10em;
    color: var(--c-white);
    margin-bottom: var(--sp-sm);
}

.footer__col-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer__col-list li,
.footer__col-list a {
    font-size: 0.9rem;
    color: rgba(255,255,255,.45);
    transition: color var(--t-fast);
    line-height: 1.4;
}
.footer__col-list a:hover { color: var(--c-accent); }

.footer__address {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.footer__address p { font-size: 0.9rem; color: rgba(255,255,255,.45); line-height: 1.5; }
.footer__address a { color: rgba(255,255,255,.45); transition: color var(--t-fast); }
.footer__address a:hover { color: var(--c-accent); }

/* Barra inferior */
.footer__bottom {
    background: rgba(0,0,0,.30);
    padding: var(--sp-md) 0;
    margin-top: 0;
}
.footer__bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    text-align: center;
}
.footer__bottom p { font-size: 0.8rem; color: rgba(255,255,255,.28); }

.footer__credit {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,.4);
    text-decoration: none;
    transition: color .2s ease;
}
.footer__credit:hover { color: rgba(255,255,255,.7); }
.footer__credit-logo { width: 27px; height: auto; display: block; }
.footer__credit-ig { width: 14px; height: 14px; display: block; }

/* Responsive footer */
@media (min-width: 640px) {
    .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
    .footer__grid { grid-template-columns: 2fr 1fr 1.25fr 1.5fr; }
    .footer__bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ================================================================
   16. AJUSTES GENERALES RESPONSIVE
   ================================================================ */
@media (min-width: 768px) {
    .section { padding: var(--sp-xxl) 0; }
}

/* Reducir movimiento (accesibilidad) */
@media (prefers-reduced-motion: reduce) {
    .fade-in { transition: none; opacity: 1; transform: none; }
    .hero__scroll-cue span { animation: none; opacity: .6; }
    * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
