/* =========================================
   VANGUARDIA - ESTILO ARQUITECTO
   ========================================= */

:root {
    --black: #111111;
    --gray: #888888;
    --light: #f9f9f9;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.8;
    font-weight: 300;
}

h1,
h2,
h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- NAVBAR --- */
.navbar {
    padding: 40px 0;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 100;
    backdrop-filter: blur(5px);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    letter-spacing: 3px;
    font-weight: 600;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
}

.nav-links a:hover {
    color: var(--black);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- HERO --- */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-intro {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--gray);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    max-width: 800px;
    font-style: italic;
}

.scroll-line {
    width: 1px;
    height: 100px;
    background: var(--black);
    margin-top: 50px;
    animation: grow 2s infinite;
}

@keyframes grow {
    0% {
        height: 0;
    }

    100% {
        height: 100px;
    }
}

/* --- GALERÍA (MASONRY) --- */
.section-gallery {
    padding: 50px 0 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.project-item {
    position: relative;
    cursor: pointer;
}

.img-wrap {
    overflow: hidden;
    position: relative;
}

.img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    filter: grayscale(100%);
}

/* Efecto Hover: Color y Zoom */
.project-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 15px 25px;
    opacity: 0;
    transition: 0.4s;
    transform: translateY(10px);
}

.project-item:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}

.overlay h3 {
    margin: 0;
    font-size: 1.5rem;
    font-style: italic;
}

.overlay span {
    font-size: 0.8rem;
    color: var(--gray);
    font-family: 'Inter';
    text-transform: uppercase;
}

/* Tamaños especiales */
.large {
    grid-column: span 2;
    height: 600px;
}

.large img {
    height: 100%;
}

.tall {
    grid-row: span 2;
    height: 100%;
}

/* --- FILOSOFÍA --- */
.section-about {
    padding: 100px 0;
    background-color: var(--light);
}

.about-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.about-text {
    max-width: 600px;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 30px;
}

.signature {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-size: 1.2rem;
}

.about-stats {
    display: flex;
    gap: 60px;
}

.stat strong {
    display: block;
    font-size: 3rem;
    line-height: 1;
    font-family: 'Cormorant Garamond';
}

.stat span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
}

/* --- SERVICIOS --- */
.section-services {
    padding: 100px 0;
}

.services-list {
    max-width: 800px;
    margin: 0 auto;
}

.service-row {
    display: flex;
    align-items: baseline;
    gap: 30px;
    border-bottom: 1px solid #eee;
    padding: 30px 0;
    transition: 0.3s;
}

.service-row:hover {
    padding-left: 20px;
}

.num {
    font-family: 'Cormorant Garamond';
    font-size: 1.5rem;
    color: var(--gray);
    font-style: italic;
}

.service-row h3 {
    font-size: 2rem;
    flex: 1;
    margin: 0;
}

.service-row p {
    flex: 1;
    color: var(--gray);
    font-size: 0.95rem;
}

/* --- CONTACTO --- */
.section-contact {
    padding: 100px 0;
    text-align: center;
    background-color: var(--black);
    color: var(--white);
}

.section-contact h2 {
    font-size: 3.5rem;
    margin-bottom: 40px;
    font-style: italic;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
}

.c-link {
    font-size: 1.5rem;
    border-bottom: 1px solid transparent;
    display: inline-block;
    width: fit-content;
    margin: 0 auto;
}

.c-link:hover {
    border-bottom-color: var(--white);
}

.address {
    color: var(--gray);
    margin-bottom: 40px;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.socials a {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

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

/* --- FOOTER --- */
.footer {
    padding: 20px 0;
    text-align: center;
    font-size: 0.7rem;
    color: var(--gray);
    background: var(--black);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 3rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .large {
        grid-column: span 1;
        height: 300px;
    }

    .about-flex {
        flex-direction: column;
        gap: 40px;
    }

    .service-row {
        flex-direction: column;
        gap: 10px;
    }
}