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

html {
    scroll-behavior: smooth;
    /* Para que los enlaces internos bajen de forma fluida */
}

/* FUENTES (ASSETS LOCALES) */

@font-face {
    font-family: 'Playfair Display';
    src: url('"Assets/Fonts/PlayfairDisplay-Regular.ttf"') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('"Assets/Fonts/PlayfairDisplay-Italic.ttf"') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('"/Assets/Fonts/PlayfairDisplay-SemiBold.ttf"') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('"Assets/Fonts/PlayfairDisplay-Bold.ttf"') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* --- FAMILIA: IBM PLEX MONO --- */
@font-face {
    font-family: 'IBM Plex Mono';
    src: url('"Assets/Fonts/IBMPlexMono-Regular.ttf"') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'IBM Plex Mono';
    src: url('"Assets/Fonts/IBMPlexMono-Medium.ttf"') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'IBM Plex Mono';
    src: url('"Assets/Fonts/IBMPlexMono-SemiBold.ttf"') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* --- FAMILIA: HOUSEGRIND --- */
@font-face {
    font-family: 'Housegrind';
    src: url('Assets\Fonts\Housegrind_Personal_Use_Only.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #171717;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease;
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease, visibility 0.8s ease;
}

.fade-text {
    font-family: 'Housegrind Personal Use Only', sans-serif;
    font-size: clamp(2rem, 1rem + 3vw, 3.75rem);
    color: #F2EDE0;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }
}

/* Clase para ocultar el loader con JS */
.loader-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    /* Empuja un elemento a la izq y el otro a la der */
    align-items: flex-start;
    /* Alinea los elementos hacia arriba */

    padding: 30px 50px;
    /* Un espaciado (aire) generoso y elegante */
    z-index: 1000;
    /* Asegura que el header siempre flote por encima de las fotos */
    background-color: transparent;
    /* Mantiene la transparencia inicial */
}

.logo-link {
    color: #FFF;
    font-family: "Housegrind Personal Use Only", serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}

/* 1. Quitamos los estilos por defecto de la lista */
.nav-list {
    list-style: none;
    /* Quita los puntos de la lista */
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    /* Alinea los elementos uno abajo del otro */
    align-items: flex-end;
    /* Alinea el contenido al lado derecho del contenedor */
}

/* 2. Estilo de los botones/enlaces */
.nav-link {
    color: #FFFFFF;
    /* Color de texto blanco */
    text-decoration: none;
    /* Quita la línea azul de abajo */
    font-size: 1.2rem;
    display: block;
    /* Hace que el área clickeable sea más grande */
    padding: 10px 0;
    /* Espaciado entre botones */
    transition: 0.3s;
    /* Suaviza cambios (opcional) */
    font-size: 25px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

/* 3. Efecto al pasar el mouse (opcional pero recomendado) */
.nav-link:hover {
    opacity: 0.7;
}

/* 4. Posicionamiento en la esquina superior derecha */
.main-nav {
    position: absolute;
    /* O 'fixed' si quieres que te siga al bajar la página */
    top: 20px;
    right: 40px;
}

.Square-1 {
    position: relative;
    /* Esencial para el posicionamiento de los textos y el filtro */
    width: 100%;
    height: 100vh;
    /* Ocupa el 100% de la altura de la pantalla */
    overflow: hidden;
    /* Creamos un contexto de apilamiento para asegurarnos que la capa de color
       y el texto funcionen correctamente */
    z-index: 1;
}

.First {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cubre todo el espacio sin deformarse */
    display: block;
    /* La colocamos detrás de todo dentro del contenedor */
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
    /* Más al fondo */
}

.Square-1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(85, 132, 167, 0.26);
    z-index: -1;
}

.titulo-centro {
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.nombre {
    margin: 0;
    /* Los <h1> y <h2> traen un margen por defecto, esto lo quita para que se vean juntos */
    line-height: 1.1;
    /* Ajusta qué tan pegados quieres los textos */
    color: #F2EDE0;
    font-family: "Playfair Display";
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 30.3px;
}

.apellido {
    margin: 0;
    /* Los <h1> y <h2> traen un margen por defecto, esto lo quita para que se vean juntos */
    line-height: 1.1;
    /* Ajusta qué tan pegados quieres los textos */
    color: #F2EDE0;
    font-family: "Playfair Display";
    font-size: 100px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 3px;
}


.hero-quote {
    position: absolute;
    bottom: 70px;
    left: 40px;
    color: #F2EDE0;
    margin: 0;
    max-width: 700px;
    font-size: 46px;
    font-family: Playfair Display;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}

.Square-2 {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.Video-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

#Rectangle-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

.Logo-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.Logo-icon img {
    width: 74px;
    height: auto;
}


.text-1 {
    position: absolute;
    bottom: 60px;
    left: 40px;
    text-align: left;
    max-width: 650px;
    margin: 0;
    z-index: 2;
    color: #F2EDE0;
    font-family: "Playfair Display";
    font-size: 45px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}

.project-link {
    position: absolute;
    bottom: 70px;
    right: 40px;
    color: white;
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 1px solid white;
    transition: opacity 0.3s ease;
    z-index: 2;
    color: #F2EDE0;
    text-align: right;
    font-family: "IBM Plex Mono";
    font-size: 45px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
}

.project-link:hover {
    opacity: 0.7;
}

.section-divider {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.section-divider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.down-arrows {
    position: absolute;
    top: 50%;
    /* Lo empuja a la mitad desde arriba */
    left: 50%;
    /* Lo empuja a la mitad desde la izquierda */
    transform: translate(-50%, -50%);
    /* Lo centra perfectamente sobre su propio eje */

    z-index: 10;
    /* Asegura que esté por encima de la imagen */

    /* Flexbox para apilar las 3 flechas */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    /* Separación entre flechas */
}

/* =========================================
   LAS FLECHAS (Tu código intacto)
   ========================================= */
.arrow {
    position: relative;
    display: block;
    width: 62px;
    height: 33px;
}

.arrow::before,
.arrow::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: calc(50% - 2px);
    width: 4px;
    height: 45px;
    border-radius: 9999px;
    background-color: #ffffff;
    transform-origin: 50% calc(100% - 2px);
}

.arrow::before {
    transform: rotate(45deg);
}

.arrow::after {
    transform: rotate(-45deg);
}


@media (max-width: 768px) {
    .Section-d1 {
        height: 150px;
    }

    .square-4 {
        height: 300px;
    }
}

.video-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.4);
    z-index: -1;
}

.bottom-right-container {
    position: absolute;
    bottom: 60px;
    right: 60px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    z-index: 10;

    max-width: 700px;
    text-align: right;
}

/* Estilo para "text-2" */
.text-2 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 46px;
    font-weight: 300;
    font-style: normal;
    color: #F2EDE0;
    line-height: 140%;
    letter-spacing: 0.02em;
    max-width: 700px;
    margin: 0;
    text-align: right;
    z-index: 2;
}

.contact-link {
    display: flex;
    justify-content: center;
    align-items: center;

    font-family: 'IBM Plex Mono', monospace;
    font-size: 46px;
    font-weight: 500;
    color: #F2EDE0;
    text-decoration: none;
    letter-spacing: 0.1em;

    width: 726px;
    height: 85px;

    background: rgba(235, 184, 101, 0.20);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);

    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #ffedd0;
    border-color: #ffedd0;
    background: rgba(235, 184, 101, 0.30);
    padding-right: 10px;
}

.square-4 {
    position: relative;
    width: 100%;
    height: 600px;
    background-color: #F2EDE0;
}

.lines-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 80%;
    max-width: 1000px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.line {
    width: 1px;
    height: 80%;
    background-color: #000000;
    opacity: 0.3;
}

.line.double {
    border-right: 2px solid #000000;
    background-color: transparent;
    width: 10px;
    border-left: 2px solid #000000;
    height: 80%;
}

.Square-5.contact-section {
    width: 100%;
    height: 100vh;
    background-color: #58641d;
    display: flex;
    justify-content: center;
    padding-top: 120px;
    position: relative;
    z-index: 1;
}

.contact-form-container {
    width: 100%;
    max-width: 900px;
    text-align: center;
}

.Contact-title {
    font-size: 60px;
    font-weight: 500;

    font-family: 'Playfair Display', serif;

    color: #f2ede0;

    text-align: center;

    margin-bottom: 80px;
    line-height: 1.1;
}

.contact-form {
    text-align: left;
}

.input-group {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    border: none;
    border-bottom: 1px solid #f2ede0;
    background-color: transparent;

    color: #ffffff;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 18px;
    padding: 10px 0;
    width: 100%;
    transition: border-color 0.3s ease;
    outline: none;
}

.contact-form textarea {
    resize: none;
    overflow: hidden;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom-color: #EBB865;
}

.submit-btn {
    display: block;
    margin: 60px auto 0;

    cursor: pointer;
    text-transform: none;
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: 0.1em;
    font-size: 2.18rem;
    font-weight: 500;
    color: #ffffff;
}

.glass-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 726px;
    height: 85px;

    background: rgba(190, 190, 190, 0.20);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);

    transition: all 0.3s ease;
}

.glass-btn:hover {
    color: #ffedd0;
    border-color: #ffedd0;
    background: rgba(254, 254, 253, 0.1);
    padding-right: 10px;
    ;
}

.section-divider {
    position: relative;
    width: 100%;
    height: 30vh;
    overflow: hidden;
}

.section-divider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);

    z-index: 5;
    pointer-events: none;
}

.divider-bg {
    width: 100%;
    height: 100%;
}

.divider-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.JV-down-logo {
    position: absolute;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;

    font-family: 'Housegrind Personal Use Only', sans-serif;
    font-size: 3.75rem;
    color: #ffffff;

    text-align: center;
    width: 100%;
    margin: 0;
}

.site-footer {
    position: relative;
    width: 100%;
    height: 20vh;
    background-color: #F2EDE0;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}


.footer-logo {
    height: 200px;
    width: auto;
    z-index: 2;
}

.footer-links {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 40px;
    z-index: 2;
}

.footer-links a {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.4rem;
    color: #040406;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #C76E4E;
}

.links-left {

    right: calc(50% + 100px);
}

.links-right {
    left: calc(50% + 100px);
}

.copyright {
    position: absolute;
    bottom: 20px;
    right: 40px;

    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.2rem;
    color: #040406;
    margin: 0;
}

/* =========================================
   ABOUT SECTION
   ========================================= */

.Square-1a {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.Video-1a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.text-container-about {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);

    display: flex;
    flex-direction: column;
    z-index: 10;
}

.text-1a,
.text-2a,
.text-3a {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    color: #ffffff;
    line-height: 1.1;
    margin: 0;
    font-weight: 300;
}

.text-1a {
    align-self: flex-start;
}

.text-2a {
    align-self: center;
    font-style: italic;
    margin-left: 20px;
}

.text-3a {
    align-self: flex-end;
    padding-left: 100px;
}

#Rectangle-2a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

.about-me {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 10%;
    overflow: hidden;
}

.Or-re {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.black-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.about-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
}

.Julio-por {
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-text-block p {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(0.938rem, 5vh, 1.875rem);
    line-height: 1.6;
    color: #F2EDE0;
    margin-bottom: 25px;
}

/* =========================================
   PROJECTS SECTION
   ========================================= */

.text-container-projects {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 10;

    /* Usamos flex para que las palabras se alineen horizontalmente */
    display: flex;
    align-items: baseline;
    /* Alinea las palabras por su base */
    gap: 15px;
    /* Espacio entre palabras */
}

/* Estilo Base para el título */
.text-1p,
.text-2p,
.text-3p {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 6vw, 5rem);
    color: #ffffff;
    margin: 0;
}

/* 1. PORTRAITS con línea blanca debajo */
.text-1p {
    font-weight: 400;
    border-bottom: 2px solid #ffffff;
    /* La línea blanca arquitectónica */
    padding-bottom: .5px;
    /* Espacio entre el texto y la línea */
}

/* 2. OF en Italic */
.text-2p {
    font-style: italic;
    font-weight: 300;
    font-family: 'Playfair Display', serif;
    /* Opcional: una serif más fina para el italic */
}

/* 3. SPACE (Normal) */
.text-3p {
    font-weight: 400;
}

/* Ajuste del rectángulo de fondo (Overlay) */
#Rectangle-2p {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Cambiado a 100% para cubrir el video */
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
    background-color: rgba(0, 0, 0, 0.3);
    /* Un filtro sutil para que el texto resalte */
    opacity: 1;
    /* Cambiado a 1 para que sea visible */
}

.Section-divider-1p {
    position: relative;
    width: 100%;
    height: 60vh;
    /* Altura de la sección */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 60px;
}

/* La imagen de concreto de fondo */
.projects-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* El rectángulo de opacidad negra que pediste */
.black-overlay-p {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Ajusta el 0.5 para más o menos contraste */
    z-index: 1;
}

/* Envolvente del texto */
/* Envolvente del texto con Grid */
.content-wrapper-p {
    position: relative;
    z-index: 2;
    display: grid;
    /* La primera columna (título) es más pequeña, la segunda (párrafo) es más ancha */
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    /* Espacio entre el título y el párrafo */
    align-items: start;
    /* Alinea ambos al inicio superior */
    max-width: 1100px;
    /* Un poco más ancho para que quepan bien lado a lado */
    padding: 0 40px;
}

.title-1p {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    color: #ffffff;
    margin: 0;
    font-weight: 400;
    text-align: left;
    /* Aseguramos que el título mire a la izquierda */
}

.text-4p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    /* Ajustamos un poco el tamaño para que fluya mejor */
    color: #ffffff;
    line-height: 1.5;
    font-weight: 300;
    text-align: left;
    /* El párrafo también alineado a la izquierda */
    letter-spacing: 0.01em;
}

/* Ajuste para dispositivos móviles (uno debajo del otro) */
@media (max-width: 850px) {
    .content-wrapper-p {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* El Logo-icon en la esquina superior derecha */
.Logo-icon {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 3;
    opacity: 0.6;
    /* Un poco transparente para que no robe cámara */
}

.Logo-icon img {
    width: 40px;
    /* Tamaño pequeño y elegante */
    height: auto;
}

/* =========================================
   CONTENEDOR DE LA IMAGEN (Aquí controlamos el aire y la línea)
   ========================================= */
.project-imgs {
    width: 100%;
    padding: 60px 5% 80px 5%;
    border-bottom: 2px solid rgba(26, 26, 26, 0.2);
    box-sizing: border-box;
    background-color: #F2EDE0;
}

.portfolio-sheet {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   DISEÑO RESPONSIVE (PANTALLAS MÓVILES - MAX 768PX)
   Todo lo que esté aquí adentro SOLO se aplicará en celulares y tablets pequeñas
   ========================================================================== */
@media (max-width: 768px) {

    /* 1. NAVEGACIÓN Y HEADER */
    .main-header {
        padding: 20px;
        /* Reducimos el aire exterior */
        flex-direction: column;
        /* Apilamos el logo arriba y el menú abajo */
        align-items: center;
        background-color: rgba(23, 23, 23, 0.8);
        /* Fondo oscuro para que se lea siempre */
        backdrop-filter: blur(10px);
    }

    .main-nav {
        position: relative;
        /* Quitamos el absolute para que no flote encima de las cosas */
        top: 0;
        right: 0;
        margin-top: 15px;
    }

    .nav-list {
        flex-direction: row;
        /* Ponemos los links uno al lado del otro en móvil */
        gap: 20px;
        align-items: center;
    }

    .nav-link {
        font-size: 16px;
        /* Texto más pequeño para el menú */
        padding: 5px 0;
    }

    /* 2. TEXTOS HEROICOS (HOME Y ABOUT) */
    .nombre {
        font-size: 20px;
        letter-spacing: 15px;
        /* Reducimos el espaciado extremo */
    }

    .apellido {
        font-size: 50px;
        /* Reducimos a la mitad para que quepa en pantalla */
        letter-spacing: 2px;
    }

    .hero-quote,
    .text-1,
    .text-2 {
        font-size: 24px;
        /* Textos descriptivos más pequeños */
        left: 20px;
        /* Menos margen a la izquierda */
        right: 20px;
        width: auto;
    }

    .project-link {
        font-size: 20px;
        bottom: 40px;
        right: 20px;
    }

    /* 3. ARREGLO DE ANCHOS FIJOS (BOTONES) */
    .contact-link,
    .glass-btn {
        width: 100%;
        /* Ahora ocupan el ancho disponible */
        max-width: 90%;
        /* Evita que toquen los bordes de la pantalla */
        font-size: 20px;
        height: 60px;
    }

    .bottom-right-container {
        right: 20px;
        bottom: 40px;
        align-items: center;
        /* Centramos el contenido en móvil */
        text-align: center;
    }

    /* 4. FOOTER (APILAR ELEMENTOS) */
    .site-footer {
        height: auto;
        /* Dejamos que crezca según el contenido */
        flex-direction: column;
        /* Apilamos todo verticalmente */
        padding: 40px 20px;
        gap: 30px;
    }

    .footer-logo {
        height: 80px;
        /* Logo más pequeño en móvil */
        order: -1;
        /* Forzamos a que el logo suba hasta arriba del footer */
    }

    /* Matamos el truco del calc() porque en móvil necesitamos flujo normal */
    .footer-links {
        position: relative;
        top: 0;
        transform: none;
        flex-direction: column;
        /* Instagram y LinkedIn uno sobre otro */
        gap: 15px;
        align-items: center;
    }

    .links-left,
    .links-right {
        right: auto;
        left: auto;
    }

    .copyright {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
    }

    /* FORMULARIO DE CONTACTO RESPONSIVE */
    .contact-grid-form {
        grid-template-columns: 1fr;
        /* Pasa de 2 columnas a 1 */
        gap: 0;
    }

    .contact-grid-form .grid-submit {
        align-self: center;
        /* Centramos el botón en celular */
        width: 100%;
        /* El botón ocupa todo el ancho de la pantalla */
        margin-top: 20px;
    }

    .contact-location-pin {
        font-size: 16px;
    }

    .Square-5.contact-section {
        width: 100%;
        min-height: 100vh;
        height: auto;
        padding-bottom: 80px;

        background-color: #58641d;
        display: flex;
        justify-content: center;
        padding-top: 120px;
        position: relative;
        z-index: 1;
    }

    .Contact-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    /* 6. LOGO FLOTANTE DE LA ESQUINA */
    .Logo-icon {
        top: 100px;
        /* Lo bajamos un poco para que no choque con el header móvil */
    }
}

.contact-location-pin {
    color: #F2EDE0;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 20px;
    font-weight: 300;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* Separación entre el icono y el texto */
    margin-top: 60px;
}

.contact-location-pin i {
    font-size: 26px;
    /* Hacemos el icono de Phosphor ligeramente más grande */
}