
/* =====================================
   NSC ARQUITECTURA
   IDENTIDAD VISUAL Y DISEÑO WEB
===================================== */

/* FUENTES */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* CONFIGURACIÓN GENERAL */
:root {
    --black: #080808;
    --graphite: #202020;
    --dark-gray: #454545;
    --silver: #999999;
    --light-silver: #C8C8C8;
    --white: #F5F5F5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

h1, h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.7rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 25px;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

p {
    color: var(--light-silver);
}

a {
    color: inherit;
    text-decoration: none;
}

/* ENCABEZADO */
.header {
    width: 100%;
    background: rgba(8, 8, 8, 0.95);
    border-bottom: 1px solid #292929;
    padding: 22px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: 3px;
}

.logo span {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 5px;
    color: var(--silver);
}

.navigation {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.navigation a {
    font-size: 0.85rem;
    color: var(--light-silver);
    transition: color 0.3s;
}

.navigation a:hover {
    color: white;
}

/* PORTADA PRINCIPAL */
.hero {
    min-height: 680px;
    display: flex;
    align-items: center;
    padding: 100px 8%;
    background:
        radial-gradient(ellipse at 80% 50%, #292929 0%, transparent 55%),
        linear-gradient(120deg, #080808, #171717);
}

.hero-content {
    max-width: 850px;
}

.eyebrow {
    color: var(--silver);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
    color: var(--silver);
}

.hero-description {
    max-width: 620px;
    font-size: 1.05rem;
    margin: 30px 0;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* BOTONES */
.button {
    display: inline-block;
    padding: 14px 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.button-primary {
    background: var(--light-silver);
    color: var(--black);
}

.button-primary:hover {
    background: white;
    transform: translateY(-3px);
}

.button-secondary {
    border: 1px solid var(--silver);
    color: var(--white);
}

.button-secondary:hover {
    background: var(--graphite);
}

/* PRESENTACIÓN */
.about {
    text-align: center;
    background: #101010;
}

.about .container {
    max-width: 850px;
}

.about h2 span {
    color: var(--silver);
}

.about p:last-child {
    font-size: 1.05rem;
}

/* SERVICIOS */
.services {
    background: var(--black);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 45px;
}

.service-card {
    background: var(--graphite);
    padding: 30px 25px;
    border: 1px solid #363636;
    transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--silver);
}

.service-card p {
    font-size: 0.9rem;
}

/* INMUEBLES */
.properties {
    background: #111111;
    text-align: center;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 45px;
}

.property-placeholder {
    min-height: 260px;
    background: linear-gradient(145deg, #292929, #151515);
    border: 1px solid #454545;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.property-placeholder p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
}

.property-placeholder span {
    color: var(--silver);
    font-size: 0.85rem;
}

/* PROPIETARIOS */
.owners {
    text-align: center;
    background: linear-gradient(120deg, #202020, #080808);
}

.owners .container {
    max-width: 800px;
}

.owners p:not(.eyebrow) {
    margin-bottom: 30px;
}

/* CONTACTO */
.contact {
    text-align: center;
    background: #101010;
}

.contact .container {
    max-width: 750px;
}

.contact .button {
    margin-top: 25px;
}

.location {
    margin-top: 40px;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* PIE DE PÁGINA */
.footer {
    background: #050505;
    border-top: 1px solid #292929;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    font-size: 0.8rem;
    margin: 7px 0;
}

.footer p:first-child {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 3px;
}

/* ADAPTACIÓN A TABLETS */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .navigation {
        gap: 15px;
    }
}

/* ADAPTACIÓN A CELULARES */
@media (max-width: 600px) {
    .header .container {
        flex-direction: column;
    }

    .navigation {
        justify-content: center;
        gap: 12px 18px;
    }

    .hero {
        min-height: 580px;
        padding: 80px 6%;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .button {
        text-align: center;
    }

    .services-grid,
    .properties-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 70px 0;
    }
}

/* TARJETA DE INMUEBLE */


.property-card {
    background: #202020;
    border: 1px solid #454545;
    border-radius: 12px;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 340px 1fr;
    min-height: 340px;
}

.property-image {
    width: 340px;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    display: block;
}

.property-info {
    padding: 28px 34px;
}

.property-info h3 {
    margin: 16px 0 10px;
    font-size: 25px;
}

.property-price {
    margin: 16px 0;
    font-size: 25px;
}

.property-features {
    margin: 20px 0;
    gap: 10px;
}

.property-info p {
    line-height: 1.65;
    margin: 12px 0;
    font-size: 14px;
}
.property-status {
    display: inline-block;
    color: #080808;
    background: #C8C8C8;
    padding: 7px 13px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}

.property-info h3 {
    color: #F5F5F5;
    font-size: 25px;
    margin: 18px 0 8px;
}

.property-location {
    color: #999999;
    font-size: 14px;
    margin-bottom: 18px;
}

.property-price {
    color: #C8C8C8;
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 20px;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.property-features span {
    color: #F5F5F5;
    background: #303030;
    border: 1px solid #454545;
    padding: 9px 11px;
    border-radius: 4px;
    font-size: 12px;
}

.property-info p {
    color: #C8C8C8;
    line-height: 1.7;
    font-size: 14px;
}

@media (max-width: 700px) {
   .property-card {
    grid-template-columns: 1fr;
}

.property-image {
    width: 100%;
    height: 280px;
    min-height: 280px;
}

    .property-info {
        padding: 22px;
    }
}
/* VISOR DE FOTOGRAFÍAS */

.property-image {
    cursor: zoom-in;
}

.visor-imagen {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.94);
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.visor-imagen.activo {
    display: flex;
}

.visor-imagen img {
    max-width: 95%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
}

.cerrar-visor {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 42px;
    cursor: pointer;
}

/* ENCABEZADO DEL PORTAFOLIO */

.properties-heading {
    margin-bottom: 45px;
}

.properties-heading .eyebrow {
    color: #999999;
    letter-spacing: 3px;
    font-size: 11px;
    font-weight: 600;
}

.properties-heading h2 {
    color: #F5F5F5;
    font-size: 38px;
    margin: 15px 0;
}

.properties-heading p:last-child {
    color: #999999;
    max-width: 600px;
    line-height: 1.7;
}