/* ---- Fuentes de reserva ajustadas (evitan CLS mientras cargan las webfonts) ---- */
/* Métricas calculadas contra Arial con Capsize/Fontaine para que ocupen el mismo espacio que la fuente real */
@font-face {
    font-family: "Fraunces Fallback";
    src: local("Arial");
    size-adjust: 105.2039%;
    ascent-override: 92.9623%;
    descent-override: 24.2386%;
    line-gap-override: 0%;
}

@font-face {
    font-family: "Manrope Fallback";
    src: local("Arial");
    size-adjust: 103.1851%;
    ascent-override: 103.3095%;
    descent-override: 29.074%;
    line-gap-override: 0%;
}

@font-face {
    font-family: "JetBrains Mono Fallback";
    src: local("Arial");
    size-adjust: 134.5893%;
    ascent-override: 75.7861%;
    descent-override: 22.29%;
    line-gap-override: 0%;
}

:root {
    /* ---- Color tokens ---- */
    --pine-950: #10201A;
    --pine-800: #1E3A2C;
    --pine-700: #2A4B39;
    --bark-700: #6B4A32;
    --amber-500: #C98A3D;
    --amber-400: #DBA55C;
    --sage-500: #7C9473;
    --sage-300: #B7C6AC;
    --paper-050: #F5F7EF;
    --paper-100: #EDF1E4;
    --sage-100: #E1EADA;
    --ink-900: #16231A;
    --ink-600: #3E4F42;
    --line: #DCE4D3;

    /* ---- Radius scale (consolidada) ---- */
    --radius-sm: 10px;
    --radius-lg: 18px;
    --radius-full: 999px;

    /* ---- Type tokens ---- */
    --font-display: 'Fraunces', 'Fraunces Fallback', Georgia, serif;
    --font-body: 'Manrope', 'Manrope Fallback', 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'JetBrains Mono Fallback', 'Courier New', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

body {
    background: var(--paper-050);
    color: var(--ink-900);
    font-family: var(--font-body);
    line-height: 1.65;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

section {
    scroll-margin-top: 96px;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--pine-800);
    letter-spacing: -0.01em;
}

a {
    color: inherit;
}
.el-mono{
    width: 100px;
}
:focus-visible {
    outline: 3px solid var(--amber-500);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--amber-500);
    color: var(--ink-900);
    padding: 0.75rem 1.25rem;
    z-index: 1000;
    font-weight: 700;
    border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
    left: 0;
}

.hidden-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- Header ---------- */
/* ---------- Header & Menú Sofisticado ---------- */

header {
    background: var(--pine-950);
    color: var(--paper-050);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    position: sticky;
    top: 0;
    z-index: 9999; /* Bien alto para que el menú no quede detrás de nada */
    border-bottom: 1px solid rgba(245, 247, 239, 0.08);
    flex-wrap: wrap;
}
/* ---------- Botón del Header ---------- */
.header-cta {
    display: inline-block; /* Clave para que el padding y los márgenes funcionen en una etiqueta <a> */
    background-color: var(--amber-500); 
    color: var(--pine-950);
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none; /* Esto elimina la raya fea de subrayado */
    border-radius: var(--radius-full);
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap; /* Evita que el texto del botón se parta en dos líneas */
}

.header-cta:hover {
    background-color: var(--amber-400);
    transform: translateY(-2px);
}
.logo img {
    max-height: 55px; 
    width: auto;
    object-fit: contain;
}

.menu-wrapper {
    flex: 1;
    display: flex;
    justify-content: center; /* Centra los links en la compu */
    align-items: center;
    
}

/* --- ESTILO PARA COMPUTADORA --- */
nav#main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
    
}

nav#main-nav a {
    color: rgba(245, 247, 239, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    
}

nav#main-nav a:hover {
    color: var(--amber-400);
}

.book-menu-btn {
    display: none; /* Ocultamos el botón en PC */
}

@media (max-width: 760px) {
    .header-cta {
        display: none; /* Ocultar botón naranja en celulares para no amontonar */
    }
}

/* --- ESTILO PARA CELULAR / TABLET (Librito) --- */
@media (max-width: 900px) {
    .menu-wrapper {
        flex: 0;
        order: 2; /* Lo tira a la derecha */
    }

    /* Mostramos y decoramos el botón librito */
    .book-menu-btn {
        display: inline-flex;
        background: rgba(245, 247, 239, 0.08);
        border: 1px solid rgba(245, 247, 239, 0.15);
        color: var(--paper-050);
        padding: 0.6rem 1.2rem;
        border-radius: var(--radius-full);
        cursor: pointer;
        font-family: var(--font-body);
        font-weight: 600;
        font-size: 0.95rem;
        align-items: center;
        gap: 0.6rem;
        transition: all 0.3s ease;
    }

    .book-menu-btn:hover {
        background: rgba(245, 247, 239, 0.15);
        color: var(--amber-400);
    }

    /* Convertimos el menú normal en la tarjeta flotante */
    nav#main-nav {
        position: absolute;
        top: 100%;
        right: 5%;
        background: var(--pine-950);
        border: 1px solid rgba(245, 247, 239, 0.12);
        border-radius: var(--radius-lg);
        padding: 0.5rem;
        min-width: 220px;
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
        z-index: 10000;
        
        /* Estado inicial: Cerrado y oculto */
        opacity: 0;
        transform: translateY(-15px) scale(0.95);
        pointer-events: none;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: top right;
    }

    /* Clase que aplica el JavaScript para mostrarlo */
    nav#main-nav.active {
        opacity: 1;
        transform: translateY(15px) scale(1);
        pointer-events: auto;
        visibility: visible;
    }

    nav#main-nav ul {
        flex-direction: column;
        gap: 0.2rem;
    }

    nav#main-nav a {
        display: block;
        padding: 0.8rem 1.2rem;
        border-radius: var(--radius-sm);
        text-align: right;
        font-size: 1.05rem;
    }

    nav#main-nav a:hover {
        background: rgba(245, 247, 239, 0.08);
    }
}

/* ---------- Eyebrow (shared) ---------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sage-500);
}

.hero .eyebrow {
    color: var(--amber-400);
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 1px;
    background: currentColor;
    display: inline-block;
}

/* ---------- Hero ---------- */

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    padding: 5rem 5% 4.5rem;
    background: linear-gradient(rgba(16, 32, 26, 0.35), rgba(16, 32, 26, 0.92)), url('../images/gallery/3.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    
    color: var(--paper-050);
}

.hero-content {
    flex: 1 1 420px;
    min-width: 320px;
}

.hero-media {
    flex: 1 1 380px;
    min-width: 300px;
}

.hero-content h1 {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    line-height: 1.1;
    color: var(--paper-050);
    margin-bottom: 1.15rem;
}

.hero-content > p {
    font-size: 1.08rem;
    max-width: 560px;
    margin-bottom: 1.7rem;
    color: rgba(245, 247, 239, 0.82);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.6rem;
}

.cta-button,
.secondary-link {
    display: inline-block;
    padding: 0.9rem 1.4rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.98rem;
    transition: box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cta-button {
    background: var(--amber-500);
    color: var(--ink-900);
    box-shadow: 0 10px 24px rgba(201, 138, 61, 0.28);
    border: none;
}

.cta-button:hover {
    background: var(--amber-400);
    box-shadow: 0 12px 28px rgba(201, 138, 61, 0.38);
}

.secondary-link {
    color: var(--paper-050);
    border: 1px solid rgba(245, 247, 239, 0.3);
}

.secondary-link:hover {
    border-color: var(--amber-400);
    color: var(--amber-400);
}

.hero-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.hero-highlights .check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: rgba(201, 138, 61, 0.22);
    color: var(--amber-400);
    font-size: 0.72rem;
    margin-right: 0.35rem;
}

/* about */
.about {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    padding: 4.5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-photo {
    flex: 1 1 300px;
    min-width: 240px;
    max-width: 360px;
}

.about-photo img {
    width: 100%;
    aspect-ratio: 899 / 1599;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 45px rgba(16, 32, 26, 0.18);
}

.about-content {
    flex: 1 1 420px;
    min-width: 300px;
}

.about-role {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sage-500);
    margin-bottom: 1.1rem;
}

.about-content > p {
    color: var(--ink-600);
    margin-bottom: 1rem;
    max-width: 560px;
}

.about-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink-900);
    margin: 1.4rem 0 1.7rem;
}

.about-highlights .check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: rgba(201, 138, 61, 0.16);
    color: var(--amber-500);
    margin-right: 0.4rem;
}

.about-cta {
    display: inline-block;
    padding: 0.9rem 1.4rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--pine-800);
    border: 1px solid var(--line);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.about-cta:hover {
    border-color: var(--amber-500);
    color: var(--amber-500);
}

@media (max-width: 900px) {
    .about {
        padding-top: 3.5rem;
    }

    .about-photo {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }
}

/*finabout*/
/* ---------- WhatsApp floating button ---------- */

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
    z-index: 200;
    text-decoration: none;
    transition: box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

/* ---------- Section shells ---------- */

.services,
.before-after,
.coverage,
.process,
.gallery {
    padding: 4.5rem 5%;
}
.services{

    background-color: var(--pine-950);
}
.before-after,
.gallery {
    background: var(--paper-100);
}
 .icono-red {
    width: 60px;
    height: 60px;
    position: fixed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    transition: transform 0.2s, filter 0.2s;
    right: 2%;
    bottom: 10%;
    z-index: 1000;
  }
 .icono-red svg {
    width: 30px;
    height: 30px;
  }  
  .icono-red.wsp {
    background: #25D366; 
  }
/*
.coverage {
    background: linear-gradient(rgba(16, 32, 26, 0.82), rgba(16, 32, 26, 0.9)), url('../images/cobertura-bg.jpeg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}
*/
/* Base para móviles: todo en columna */
.coverage {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Separación entre el texto y el mapa en celular */
    background: linear-gradient(rgba(16, 32, 26, 0.82), rgba(16, 32, 26, 0.9)), url('../images/gallery/cobertura-bg.webp') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

/* El mapa por defecto ocupa todo el ancho disponible */
.coverage-map iframe {
    width: 100%;
    min-height: 300px;
    border-radius: var(--radius-lg); /* Si usás variables, si no poné ej: 12px */
    border: none;
}

/* Pantallas grandes (PC / Tablets apaisadas): Mitad y mitad */
@media (min-width: 992px) {
    .coverage {
        flex-direction: row;
        align-items: center; /* Centra el mapa y el texto verticalmente */
        justify-content: space-between;
        gap: 4rem; /* Aire generoso entre el bloque de texto y el mapa */
    }

    .coverage-content {
        flex: 1; /* Le da exactamente el 50% del espacio disponible */
    }

    .coverage-map {
        flex: 1; /* Le da el otro 50% al mapa */
    }
    
    .coverage-map iframe {
        min-height: 400px; /* Hacemos el mapa un poco más alto en PC */
    }
}
.coverage .section-heading h2 {
    color: var(--paper-050);
}

.coverage .section-heading p {
    color: rgba(245, 247, 239, 0.82);
}

.coverage .eyebrow {
    color: var(--amber-400);
}

.process {
    background: var(--paper-050);
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 2.5rem;
    text-align: center;

}
.services .section-heading .eyebrow {
    color: var(--amber-400); 
}
#servicios .section-heading h2 {
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    margin-bottom: 0.7rem;
        color: var(--paper-050);
}

#servicios .section-heading p {
    color: var(--paper-050);
}

.section-desc {
    font-size: 1.02rem;
    line-height: 1.65;
    color: rgba(245, 247, 239, 0.82);
}
/* ---------- Services ---------- */

.service-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Fuerza exactamente 2 columnas en PC */
    gap: 1.5rem;
    max-width: 900px; /* Un poco más angosto para que las letras no queden tan estiradas */
    margin: 0 auto;
}

@media (max-width: 768px) {
    .service-cards {
        grid-template-columns: 1fr; /* En celulares pasa a 1 sola columna */
    }
}
.card {
    background: var(--paper-050);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 30px rgba(16, 32, 26, 0.05);
    padding: 1.8rem 1.6rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    border-color: var(--sage-500);
    box-shadow: 0 14px 32px rgba(16, 32, 26, 0.08);
}

.card-icon {
    width: 40px;
    height: 40px;
    color: var(--amber-500);
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.card p {
    color: var(--ink-600);
    font-size: 0.96rem;
}

/* ---------- Before / after ---------- */

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.before-after-grid img {
    border-radius: var(--radius-lg);
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
}

.ba-label {
    text-align: center;
    margin-top: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ba-before {
    color: var(--ink-600);
}

.ba-after {
    color: var(--amber-500);
}

/* ---------- Coverage ---------- */

.coverage-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: 800px;
    margin: 0 auto;
}

.coverage-list li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--pine-800);
}

.coverage-list svg {
    color: var(--amber-500);
    flex-shrink: 0;
}

.coverage-note {
    max-width: 1100px;
    margin: 1.25rem auto 0;
    padding: 0.9rem 1.1rem;
    background: #ffffff;
    border: 1px dashed var(--sage-300);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--ink-600);
    text-align: center;
}

.coverage-map {
    max-width: 1100px;
    margin: 1.75rem auto 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(16, 32, 26, 0.08);
}

.coverage-map iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 7;
    border: 0;
}

@media (max-width: 600px) {
    .coverage-map iframe {
        aspect-ratio: 4 / 3;
    }
}

/* ---------- Process ---------- */

.process-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.process-steps li {
    border-top: 2px solid var(--sage-300);
    padding-top: 0.5rem;
}

.step-number {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--amber-500);
    margin-bottom: 0.9rem;
}

.process-steps h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.process-steps p {
    color: var(--ink-600);
    font-size: 0.95rem;
}

/* ---------- Feature photo (franja entre Proceso y Galería) ---------- */

/* ---------- Feature photo (franja entre Proceso y Galería) ---------- */

/* ---------- Feature photo (Ajustado para PC y Mobile) ---------- */

.feature-photo {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-width: 1200px; /* Limita el ancho máximo en pantallas grandes */
    margin: 3rem auto; /* Centra la foto y le da aire arriba y abajo */
    border-radius: var(--radius-lg); /* Le da bordes redondeados prolijos en PC */
}

.feature-photo img {
    width: 100%;
    height: clamp(280px, 35vw, 420px); /* Altura controlada para que no sea un "muro" gigante */
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
}

.feature-photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 2.5rem 6% 1.75rem;
    background: linear-gradient(to top, rgba(16, 32, 26, 0.95) 15%, rgba(16, 32, 26, 0.6) 70%, transparent 100%);
    color: var(--paper-050);
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    line-height: 1.4;
    text-align: center;
}

/* En celulares la hacemos de ancho completo (edge-to-edge) sin bordes redondeados ni márgenes laterales */
@media (max-width: 768px) {
    .feature-photo {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
    }
}

/* ---------- Gallery ---------- */

/* ---------- Carrusel Profesional (Swiper) ---------- */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0 6px !important;
}
.gallery-category {
    max-width: 1100px;
    margin: 0 auto 3rem;
    position: relative;
    overflow: hidden; /* Evita desbordes extraños */
}

.gallery-category h3 {
    font-size: 1.05rem;
    font-family: var(--font-mono);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sage-500);
    margin-bottom: 1.1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--line);
}

/* Contenedor principal de Swiper */
.swiper {
    width: 100%;
    padding: 1rem 0 3.5rem; /* El 0 a los lados permite que las fotos cortadas toquen los bordes de la pantalla */
}
/*
.swiper-slide {
    width: 280px; 
    height: auto;
    background: var(--paper-050);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
*/
.swiper-slide {
    height: auto;
    background: var(--paper-050);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* En monitores de notebook o PC, la tarjeta crece solo hasta 360px */
@media (min-width: 768px) {
    .swiper-slide {
        width: 360px; 
    }
}

.swiper-slide:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(16, 32, 26, 0.1);
}

.swiper-slide img {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.swiper-slide:hover img {
    transform: scale(1.04);
}
.swiper-slide figcaption {
    padding: 1rem 1.2rem 1.2rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--pine-800);
}

/* Flechas y Paginación */
.swiper-button-next, .swiper-button-prev {
    color: var(--pine-800) !important;
    background: var(--paper-050);
    width: 46px !important;
    height: 46px !important;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    margin-top: -30px;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.2rem !important;
    font-weight: bold;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--amber-500);
    color: var(--ink-900) !important;
    transform: scale(1.08);
}

.swiper-pagination-bullet-active {
    background: var(--amber-500) !important;
}

@media (max-width: 768px) {
    .swiper-button-next, .swiper-button-prev {
        display: none !important;
    }
}
/* ---------- Footer / contact ---------- */

footer {
    background: var(--pine-950);
    color: var(--paper-050);
    padding: 4.5rem 5% 1.75rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto 2.5rem;
}
.contact-copy{
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between; 
    gap: 4rem;
}
.contact-copy h2 {
    color: var(--paper-050);
    font-size: clamp(1.6rem, 3vw, 2rem);
    margin-bottom: 0.9rem;
}

.contact-copy p {
    color: rgba(245, 247, 239, 0.82);
    margin-bottom: 1.4rem;
}

.contact-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.6rem;
}

.contact-points li {
    padding-left: 1.4rem;
    position: relative;
    font-size: 0.93rem;
    color: rgba(245, 247, 239, 0.9);
}

.contact-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--amber-500);
}

.contact-info {
    background: var(--pine-800);
    border-left: 3px solid var(--amber-500);
    border-radius: var(--radius-sm);
    padding: 1.1rem 1.2rem;
}

.contact-info p {
    font-size: 0.95rem;
    margin: 0.2rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-icon {
    flex-shrink: 0;
    color: var(--amber-400);
}

.contact-info a {
    color: var(--amber-400);
    text-decoration: none;
    font-weight: 700;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ---------- Formulario de Contacto ---------- */

#contacto-form {
    display: flex;
    flex-direction: column;
    width:100%;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto; /* Centra el formulario si está en un contenedor más grande */
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.form-group label {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--paper-050); /* Cambialo a var(--paper-050) si el fondo del contacto es oscuro */
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper-050); 
    color: var(--pine-950);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto al hacer clic en el campo (Foco) */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--amber-500);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2); /* Resplandor naranja suave */
}

.form-group textarea {
    resize: vertical; /* Permite agrandar el campo solo hacia abajo */
    min-height: 120px;
}

/* Botón de Enviar */
.btn-primary {
    background: var(--amber-500);
    color: var(--pine-950);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    align-self: flex-start; /* En PC el botón ocupa solo lo necesario a la izquierda */
    margin-top: 0.5rem;
}

.btn-primary:hover {
    background: var(--amber-400);
    transform: translateY(-2px);
}

/* Adaptación para Celulares */
@media (max-width: 768px) {
    .btn-primary {
        align-self: stretch; /* En celu el botón ocupa todo el ancho, es más fácil de tocar */
        text-align: center;
    }
}

.copyright {
    max-width: 1100px;
    margin: 0 auto;
    font-size: 0.85rem;
    opacity: 0.65;
    border-top: 1px solid rgba(245, 247, 239, 0.14);
    padding-top: 1.2rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .hero {
        padding-top: 3.5rem;
    }

    .hero-media {
        order: -1;
    }
}

@media (max-width: 768px) {
    nav ul {
        gap: 1rem;
    }
}