/* ==========================================================
   ARQUÉTIKA — tokens (colores y tipografía originales del sitio)
   ========================================================== */
:root {
    --verde: #536942;
    --verde-texto: rgba(82, 104, 64, 0.75);
    --gris-card: #f0f0f0;
    --texto: #2a2a2a;
    --blanco: #ffffff;
    --font-body: 'Lexend', sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--texto);
    background: var(--blanco);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-body); font-weight: 600; }
p { margin: 0 0 18px; }

.wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 70px 0; }

.section-title {
    font-size: 38px;
    font-weight: 600;
    color: var(--texto);
    margin-bottom: 40px;
}

/* ==========================================================
   HEADER (transparente, superpuesto sobre el hero)
   ========================================================== */
.site-header {
    background: transparent;
    padding: 28px 0;
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 1000;
}
/* Variante sólida para páginas internas (sin foto de fondo detrás) */
.site-header--solid {
    position: sticky;
    background: var(--blanco);
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
@media (min-width: 761px) {
    .site-header--solid .main-nav a { color: var(--texto); text-shadow: none; }
    .site-header--solid .main-nav a.is-active { color: var(--texto); font-weight: 600; }
}
.btn-outline-nav.btn-outline-nav--dark { color: var(--texto); border-color: var(--texto); }
.btn-outline-nav.btn-outline-nav--dark:hover { background: var(--texto); color: #fff; }
.burger.burger--dark span { background: var(--texto); }
.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}
.brand {
    display: flex;
    align-items: center;
    justify-self: start;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
.brand img { height: 50px; width: auto; transition: opacity 0.25s ease; }
.brand img.brand-logo { height: 32px; }
.brand:hover img { opacity: 0.8; }

.nav-group {
    display: flex;
    align-items: center;
    gap: 44px;
    justify-self: center;
}

.main-nav { display: flex; align-items: center; gap: 48px; }
.main-nav a {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-shadow: 0 1px 8px rgba(0,0,0,0.35);
    transition: opacity 0.25s ease;
}
.main-nav a:hover { opacity: 0.75; }
.nav-close { display: none; }
.nav-contacto-mobile { display: none; }

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-self: end;
}

.btn-outline-nav {
    display: inline-block;
    color: #fff;
    border: 1.5px solid #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 11px 26px;
    border-radius: 100px;
    text-shadow: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.btn-outline-nav:hover { background: #fff; color: var(--texto); transform: translateY(-1px); }

.burger {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    width: 24px; height: 24px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 1001;
}
.burger span {
    width: 100%; height: 100%;
    border-radius: 50%;
    background: #fff;
}

/* ==========================================================
   PANEL DE INFORMACIÓN DE MARCA
   ========================================================== */
.info-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease;
    z-index: 1998;
}
.info-overlay.open { opacity: 1; visibility: visible; }

.info-panel {
    position: fixed;
    top: 0; right: -100%;
    width: min(42vw, 460px);
    height: 100vh;
    background: #0c0c0c;
    z-index: 1999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.4s ease;
    overflow-y: auto;
}
.info-panel.open { right: 0; }

.info-close {
    position: absolute;
    top: 28px; right: 28px;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.info-panel-content {
    text-align: center;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.info-logo { width: 220px; height: auto; margin: 0 auto 44px; }
.info-tagline {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.7;
    margin-bottom: 44px;
}
.info-contact p { margin: 0 0 8px; color: rgba(255,255,255,0.85); font-size: 15px; }
.info-contact a:hover { color: #d6281f; }
.info-address { margin-top: 20px; }
.info-address p { margin: 0; color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.6; }
.info-social { display: flex; justify-content: center; gap: 18px; margin-top: 36px; }
.contact-social { margin-top: 8px; }
.info-social a {
    color: #fff;
    width: 40px; height: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: border-color 0.25s ease, color 0.25s ease;
}
.info-social a:hover { border-color: #d6281f; color: #d6281f; }

/* ==========================================================
   PANEL DE CONTACTO (se abre desde la izquierda)
   ========================================================== */
.contact-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease;
    z-index: 1998;
}
.contact-overlay.open { opacity: 1; visibility: visible; }

.contact-panel {
    position: fixed;
    top: 0; right: -100%; left: auto;
    width: min(50vw, 560px);
    height: 100vh;
    background: #0c0c0c;
    z-index: 1999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.4s ease;
    overflow-y: auto;
}
.contact-panel.open { right: 0; }

.contact-close {
    position: absolute;
    top: 28px; right: 28px;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.contact-panel-content {
    width: 100%;
    max-width: 420px;
    padding: 60px 40px;
}
.contact-panel-title {
    color: #fff;
    font-size: 26px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 30px;
}

.contacto-form.contacto-form--dark label { color: #fff; font-weight: 600; }
.contacto-form.contacto-form--dark input,
.contacto-form.contacto-form--dark textarea {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}
.contacto-form.contacto-form--dark input::placeholder,
.contacto-form.contacto-form--dark textarea::placeholder { color: rgba(255,255,255,0.4); }
.contacto-form.contacto-form--dark input:focus,
.contacto-form.contacto-form--dark textarea:focus { border-color: #fff; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 560px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-bottom: clamp(50px, 8vh, 100px);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.8s ease;
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.3) 75%, rgba(0,0,0,0.62) 100%);
}

.hero-content {
    position: relative;
    color: #fff;
    max-width: 640px;
    text-align: left;
    width: 100%;
    margin: 0;
    padding-left: clamp(24px, 6vw, 80px);
    padding-right: 24px;
}
.hero h1 {
    font-size: clamp(32px, 4.2vw, 48px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 2px 14px rgba(0,0,0,0.45);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 14px;
}
.hero-logo-inline {
    height: 0.82em;
    width: auto;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.45));
}
.hero-subtitle {
    font-size: 19px;
    font-weight: 400;
    color: rgba(255,255,255,0.92);
    text-shadow: 0 1px 10px rgba(0,0,0,0.4);
    margin: 0;
    line-height: 1.6;
}
.btn-explorar {
    display: inline-block;
    margin-top: 28px;
    background: transparent;
    color: #fff;
    border: 1.5px solid #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 16px 38px;
    border-radius: 100px;
    transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.btn-explorar:hover {
    background: #fff;
    color: var(--texto);
    transform: translateY(-2px);
}

/* ==========================================================
   QUE HACEMOS
   ========================================================== */
.que-hacemos { background: var(--blanco); padding: 64px 0; }

.section-divider { height: 1px; background: rgba(0,0,0,0.1); }
.qh-inner { display: flex; gap: 50px; align-items: center; }

.qh-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    width: 24px;
}
.qh-tick { width: 1px; height: 14px; background: var(--texto); }
.qh-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--texto);
    white-space: nowrap;
}
.qh-line { width: 1px; flex-grow: 1; min-height: 60px; background: var(--texto); }
.qh-line--left { display: none; }

.qh-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.qh-item {
    padding: 0 28px;
    border-left: 1px solid rgba(0,0,0,0.12);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.qh-item:first-child { border-left: none; padding-left: 0; }
.qh-icon { width: 42px; height: 42px; color: var(--texto); margin: 0 auto 18px; }
.qh-item h3 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--texto);
    margin-bottom: 12px;
}
.qh-item p {
    font-size: 14px;
    color: rgba(42, 42, 36, 0.65);
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================
   PROYECTOS (preview en home)
   ========================================================== */
.proyectos-preview { background: var(--gris-card); padding-bottom: 48px; box-shadow: 0 24px 34px -28px rgba(20, 24, 16, 0.3); position: relative; z-index: 1; }

.pp-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 44px;
}

.pp-top-left { display: flex; flex-direction: column; align-items: flex-start; }

.pp-eyebrow {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--texto);
    margin-bottom: 14px;
}

.pp-heading-row { display: flex; align-items: center; gap: 20px; }
.pp-title {
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 600;
    color: var(--texto);
    line-height: 1.05;
    margin: 0;
}

.pp-arrow-btn {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border: 1.5px solid var(--texto);
    border-radius: 50%;
    color: var(--texto);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.25s ease, color 0.25s ease;
}
.pp-arrow-btn:hover { background: var(--texto); color: #fff; }

.pp-top-right { max-width: 340px; }
.pp-top-right p {
    font-size: 15px;
    color: rgba(42, 42, 36, 0.65);
    line-height: 1.7;
    margin: 0 0 14px;
}
.pp-link-mas {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--texto);
    transition: gap 0.25s ease;
}
.pp-link-mas:hover { gap: 12px; }

.pp-descubre-wrap {
    display: flex;
    justify-content: center;
    margin-top: 44px;
}
.pp-link-underline {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--texto);
    border-bottom: 1.5px solid var(--texto);
    padding-bottom: 6px;
    text-align: center;
    transition: opacity 0.25s ease;
}
.pp-link-underline:hover { opacity: 0.65; }

.contacto-cta { padding: 90px 0; }
.contacto-cta .wrap { display: flex; justify-content: center; }
.contacto-cta .about-hero-actions { margin-bottom: 0; }

/* ==========================================================
   PÁGINA PROYECTOS — título de página
   ========================================================== */
.page-hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 460px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.page-hero-media { position: absolute; inset: 0; }
.phm-slide {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.8s ease;
}
.phm-slide.active { opacity: 1; }
.page-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.3) 75%, rgba(0,0,0,0.62) 100%);
}

.page-hero-content {
    position: relative;
    width: 100%;
    color: #fff;
    padding-bottom: clamp(44px, 7vh, 80px);
}
.page-hero-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 600;
    color: #fff;
    line-height: 1.05;
    margin: 0 0 16px;
    text-shadow: 0 2px 14px rgba(0,0,0,0.45);
}
.page-hero-lead {
    max-width: 560px;
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin: 0;
    text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}

/* ==========================================================
   PRESENTACIÓN (Nosotros + teaser en home)
   ========================================================== */
.presentacion { background: var(--blanco); padding: 90px 0; }
.presentacion-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.presentacion-texto p {
    color: rgba(42, 42, 36, 0.7);
    font-size: 17px;
    line-height: 1.8;
    margin: 0 0 32px;
}
.presentacion-ilustracion img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* ==========================================================
   NOSOTROS — HERO
   ========================================================== */
.about-hero { background: var(--blanco); padding: 90px 0 76px; text-align: center; }
.about-hero-inner { max-width: 760px; margin: 0 auto; }
.about-hero .pp-eyebrow { text-align: center; }
.about-hero-logo {
    display: block;
    height: clamp(44px, 7vw, 76px);
    width: auto;
    margin: 0 auto 28px;
}
.about-hero-lead {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(42, 42, 36, 0.7);
    max-width: 620px;
    margin: 0 auto 36px;
}
.about-hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.about-brands {
    max-width: 640px;
    margin: 0 auto;
    padding-top: 44px;
    border-top: 1px solid rgba(0,0,0,0.08);
    text-align: center;
}
.about-brands-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(42, 42, 36, 0.5);
    margin-bottom: 18px;
}
.about-brands-logo-solo { height: 104px; width: auto; margin: 0 auto 22px; display: block; }
.about-brands-text {
    max-width: 640px;
    margin: 0 auto;
    font-size: 15.5px;
    line-height: 1.8;
    color: rgba(42, 42, 36, 0.65);
}
.about-brands-text strong { color: var(--texto); font-weight: 600; }

/* ==========================================================
   NOSOTROS — FUNDADOR
   ========================================================== */
.founder-section { padding: 90px 0; }
.founder-card {
    background: var(--gris-card);
    border-radius: 12px;
    padding: 56px;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 56px;
    align-items: center;
}
.founder-media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-radius: 8px;
}
.founder-name { font-size: clamp(26px, 3vw, 34px); font-weight: 600; color: var(--texto); margin: 10px 0 6px; }
.founder-role {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--texto);
    margin: 0 0 24px;
}
.founder-bio { font-size: 16px; line-height: 1.8; color: rgba(42, 42, 36, 0.7); margin: 0 0 20px; }
.founder-stats {
    display: flex;
    gap: 40px;
    margin: 30px 0 6px;
    padding-top: 26px;
    border-top: 1px solid rgba(0,0,0,0.12);
}
.founder-stat { display: flex; flex-direction: column; }
.founder-stat-number { font-size: 28px; font-weight: 600; color: var(--texto); }
.founder-stat-label { font-size: 13px; color: rgba(42, 42, 36, 0.6); margin-top: 4px; }

.about-section-head { margin-bottom: 40px; }

/* ==========================================================
   GALERÍA DE PROYECTOS (estilo tipo portafolio)
   ========================================================== */
.proyectos-galeria { background: var(--blanco); }

.pg-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 44px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 20px;
}
.pg-filter {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: rgba(42, 42, 36, 0.5);
    transition: color 0.25s ease;
}
.pg-filter:hover { color: var(--texto); }
.pg-filter.is-active { color: var(--texto); font-weight: 600; }

.pg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 28px;
}
.pg-card.is-hidden { display: none; }

.pg-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 18px 40px -24px rgba(20, 24, 16, 0.4);
}
.pg-card-bg {
    position: absolute; inset: 0;
    background: linear-gradient(145deg, #4a5a3e 0%, #333d2a 100%);
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}
.pg-card:hover .pg-card-bg { transform: scale(1.06); }

.pg-card-scrim {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,12,8,0.55) 0%, rgba(10,12,8,0) 45%);
}

.pg-card-name {
    position: absolute;
    top: 22px; left: 22px; right: 22px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.volver-wrap {
    display: flex;
    justify-content: center;
    padding: 20px 0 90px;
}

.btn-outline-dark {
    display: inline-block;
    color: var(--texto);
    border: 1.5px solid var(--texto);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 14px 34px;
    border-radius: 100px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.btn-outline-dark:hover { background: var(--texto); color: #fff; transform: translateY(-1px); }

/* ==========================================================
   DETALLE DE PROYECTO (proyecto.html)
   ========================================================== */
.proyecto-detalle { padding: 56px 0 90px; }

.pd-back {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: rgba(42, 42, 36, 0.6);
    margin-bottom: 36px;
    transition: color 0.25s ease;
}
.pd-back:hover { color: var(--texto); }

.pd-grupo {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--texto);
    margin-bottom: 10px;
}
.pd-titulo {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 600;
    color: var(--texto);
    line-height: 1.1;
    margin: 0 0 40px;
}

.pd-media {
    position: relative;
    aspect-ratio: 16/8;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 44px;
    box-shadow: 0 24px 50px -28px rgba(20, 24, 16, 0.45);
}
.pd-media-bg {
    position: absolute; inset: 0;
    background: linear-gradient(145deg, #4a5a3e 0%, #333d2a 100%);
}
.pd-media-note {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pd-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 44px;
}
.pd-gallery .pd-media { margin-bottom: 0; }
.pd-gallery-main {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 50px -28px rgba(20, 24, 16, 0.45);
}
.pd-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.pd-gallery-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}
.pd-gallery-thumb {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 18px 36px -24px rgba(20, 24, 16, 0.4);
}
.pd-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }

.pd-body {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 64px;
    align-items: start;
    margin-bottom: 56px;
}

.pd-info { display: flex; flex-direction: column; }
.pd-info-item { padding: 18px 0; border-bottom: 1px solid rgba(0,0,0,0.12); }
.pd-info-item:first-child { padding-top: 0; }
.pd-info-item:last-child { border-bottom: none; }
.pd-info-item.is-hidden { display: none; }
.pd-info-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--texto);
    margin-bottom: 6px;
}
.pd-info-item p { margin: 0; font-size: 14.5px; color: rgba(42, 42, 36, 0.65); }

.pd-descripcion p { font-size: 16px; color: rgba(42, 42, 36, 0.65); line-height: 1.8; margin: 0; }

.pd-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding-top: 44px;
    border-top: 1px solid rgba(0,0,0,0.1);
}
.pd-nav-buttons {
    display: flex;
    align-items: center;
    gap: 36px;
}
.pd-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--texto);
    transition: gap 0.25s ease, opacity 0.25s ease;
}
.pd-nav-btn:hover { gap: 14px; opacity: 0.7; }
.pd-inicio-link {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(42, 42, 36, 0.55);
    transition: color 0.25s ease;
}
.pd-inicio-link:hover { color: var(--texto); }

.pp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    transition: opacity 0.5s ease;
}
.pp-grid.fading { opacity: 0; }

.pp-card {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    display: block;
    box-shadow: 0 18px 40px -22px rgba(20, 24, 16, 0.45);
}
.pp-card-bg {
    position: absolute; inset: 0;
    background: linear-gradient(145deg, #4a5a3e 0%, #333d2a 100%);
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}
.pp-card:hover .pp-card-bg { transform: scale(1.04); }

.pp-card-scrim {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,12,8,0.1) 0%, rgba(10,12,8,0.55) 100%);
    transition: opacity 0.4s ease;
}
.pp-card:hover .pp-card-scrim { opacity: 0; }

.pp-card-name {
    position: absolute;
    left: 22px; right: 22px; bottom: 20px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.pp-card:hover .pp-card-name { opacity: 0; transform: translateY(8px); }

/* ==========================================================
   DISEÑO Y CREATIVIDAD / TECNOLOGÍA (tarjetas)
   ========================================================== */
.about-section { background: var(--blanco); }
.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.about-card {
    background: var(--gris-card);
    border-radius: 8px;
    padding: 44px;
    display: flex;
    flex-direction: column;
}
.about-card-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--texto);
    margin: 0 0 18px;
}
.about-card p {
    color: rgba(42, 42, 36, 0.65);
    font-size: 15.5px;
    line-height: 1.75;
    margin: 0 0 32px;
    flex-grow: 1;
}

.about-card-stats {
    display: flex;
    border-top: 1px solid rgba(0,0,0,0.12);
    padding-top: 26px;
}
.about-card-stat {
    flex: 1;
    padding: 0 22px;
    border-left: 1px solid rgba(0,0,0,0.35);
}
.about-card-stat:first-child { border-left: none; padding-left: 0; }
.about-stat-number {
    display: block;
    font-size: 30px;
    font-weight: 600;
    color: var(--texto);
    margin-bottom: 6px;
}
.about-stat-label {
    display: block;
    font-size: 13.5px;
    color: rgba(42, 42, 36, 0.6);
    line-height: 1.4;
}

/* ==========================================================
   OBRAS
   ========================================================== */
.obras-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.obra-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 908 / 540;
}
.obra-item img { width: 100%; height: 100%; object-fit: cover; }
.obra-item::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(20,24,16,0);
    transition: background 0.3s ease;
}
.obra-item:hover::after { background: rgba(20,24,16,0.25); }
.obra-icon {
    position: absolute;
    left: 16px; bottom: 14px;
    color: #fff;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.obra-item:hover .obra-icon { opacity: 1; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0;
    background: rgba(12,14,9,0.94);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 4px; }
.lightbox-close, .lightbox-nav {
    position: absolute;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,0.22); }
.lightbox-close { top: 24px; right: 24px; width: 44px; height: 44px; font-size: 24px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 16px; }
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }

/* ==========================================================
   SERVICIOS
   ========================================================== */
.servicios-section { background: var(--gris-card); padding: 90px 0; }

.servicios-head { margin-bottom: 56px; }
.servicios-eyebrow {
    font-size: clamp(34px, 4.5vw, 52px);
    font-weight: 600;
    color: var(--texto);
    line-height: 1;
    margin: 0;
}
.servicios-rule { display: block; width: 64px; height: 3px; background: var(--texto); margin-top: 22px; }

.servicios-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    gap: 48px;
}
.servicios-step h3 { font-size: 22px; font-weight: 600; color: var(--texto); margin: 0 0 24px; }

.servicio-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.servicio-point {
    background: #fff;
    border-radius: 14px;
    padding: 22px 20px;
    box-shadow: 0 10px 24px -16px rgba(20, 24, 16, 0.25);
}
.servicio-point-icon {
    display: block;
    width: 30px;
    height: 30px;
    color: var(--texto);
    margin-bottom: 14px;
}
.servicio-point-icon svg { width: 100%; height: 100%; }
.servicio-point p {
    font-size: 14px;
    color: rgba(42, 42, 36, 0.7);
    line-height: 1.55;
    margin: 0;
}
.servicio-point p strong { color: var(--texto); font-weight: 600; }

.servicios-connector {
    display: block;
    width: 1px;
    align-self: stretch;
    margin-top: 8px;
    background: rgba(0,0,0,0.35);
}

.servicio-bildek {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}
.servicio-bildek img { width: 220px; height: auto; max-width: 100%; }

.servicios-bildek-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--texto);
    transition: gap 0.25s ease;
}
.servicios-bildek-link:hover { gap: 12px; }

/* ==========================================================
   CONTACTO
   ========================================================== */
.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 680px;
    margin: 0 auto 36px;
}
.contacto-form label {
    font-size: 14px;
    color: var(--texto);
    margin-top: 14px;
}
.contacto-form input, .contacto-form textarea {
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 3px;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--texto);
    resize: vertical;
}
.contacto-form input:focus, .contacto-form textarea:focus {
    outline: none;
    border-color: var(--texto);
}
.btn-enviar {
    margin-top: 22px;
    background: #fff;
    color: var(--texto);
    border: none;
    padding: 14px 20px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}
.btn-enviar:hover { background: var(--gris-card); transform: translateY(-1px); }

.map-frame {
    max-width: 760px;
    margin: 0 auto 36px;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(0,0,0,0.08);
    max-width: 1140px;
    margin: 0 auto;
}
.info-item { background: #fff; padding: 22px 26px; }
.info-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--texto);
    margin-bottom: 8px;
}
.info-item a, .info-item p { display: block; color: var(--texto); font-size: 14.5px; margin: 0; }
.info-item a:hover { color: var(--texto); }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer { background: #000; padding: 56px 0 40px; }
.footer-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "logo   info"
        "rights social";
    align-items: center;
    row-gap: 22px;
    column-gap: 40px;
}

.footer-logo { grid-area: logo; height: 24px; width: auto; justify-self: start; }
.footer-rights { grid-area: rights; margin: 0; color: rgba(255,255,255,0.32); font-size: 13px; text-align: left; align-self: end; }

.footer-info { grid-area: info; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; justify-self: end; }
.footer-social { grid-area: social; justify-self: end; align-self: end; }
.footer-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}
.footer-info-icon { color: rgba(255,255,255,0.55); flex-shrink: 0; }
.footer-info-item p { margin: 0; color: rgba(255,255,255,0.85); font-size: 13.5px; line-height: 1.6; max-width: 230px; }
.footer-info-item p a { color: rgba(255,255,255,0.85); }
.footer-info-item p a:hover { color: #fff; }

.footer-social { display: flex; align-items: center; gap: 16px; }
.footer-social a { color: rgba(255,255,255,0.75); transition: color 0.25s ease; }
.footer-social a:hover { color: #fff; }

/* ==========================================================
   WHATSAPP FLOAT
   ========================================================== */
.whatsapp-float {
    position: fixed;
    bottom: clamp(14px, 3vw, 24px);
    right: clamp(14px, 3vw, 24px);
    width: clamp(38px, 8vw, 50px);
    height: clamp(38px, 8vw, 50px);
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px -6px rgba(0,0,0,0.4);
    z-index: 900;
}
.whatsapp-float svg { width: 55%; height: 55%; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 760px) {
    .section { padding: 48px 0; }
    .section-title { font-size: 30px; }
    .hero h1 { font-size: 36px; }
    .hero-subtitle { font-size: 16px; }
    .brand img { height: 40px; }
    .brand img.brand-logo { height: 24px; }
    .site-footer { padding: 44px 0 32px; }
    .footer-inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "logo"
            "info"
            "social"
            "rights";
        justify-items: center;
        text-align: center;
        row-gap: 28px;
    }
    .footer-logo { justify-self: center; }
    .footer-info { align-items: center; gap: 16px; width: 100%; justify-self: center; }
    .footer-info-item { text-align: left; }
    .footer-social { justify-self: center; }
    .footer-rights { text-align: center; align-self: auto; }

    .pp-top { flex-direction: column; align-items: flex-start; gap: 24px; }
    .pp-top-right { max-width: 100%; }
    .pp-grid { grid-template-columns: 1fr; gap: 18px; }
    .proyectos-preview { padding-bottom: 40px; }

    .page-hero { height: 100vh; height: 100svh; min-height: 380px; }
    .page-hero-content { padding-bottom: 36px; }
    .page-hero-lead { max-width: 300px; }
    .presentacion { padding: 60px 0; }
    .presentacion-inner { grid-template-columns: 1fr; gap: 40px; }
    .presentacion-ilustracion { order: -1; }
    .about-hero { padding: 56px 0 48px; }
    .about-hero-actions { flex-direction: column; align-items: stretch; margin-bottom: 48px; }
    .about-brands { padding-top: 32px; }
    .founder-section { padding: 56px 0; }
    .founder-card { grid-template-columns: 1fr; gap: 32px; padding: 32px 26px; }
    .founder-media img { aspect-ratio: 4/3; object-position: top center; }
    .founder-stats { gap: 28px; }
    .proyecto-detalle { padding: 40px 0 60px; }
    .pd-media { aspect-ratio: 4/5; }
    .pd-gallery-main { aspect-ratio: 4/3; }
    .pd-gallery-row { grid-template-columns: 1fr; }
    .pd-body { grid-template-columns: 1fr; gap: 36px; }
    .pd-nav-buttons { width: 100%; justify-content: center; gap: 24px; }
    .pd-nav-btn { font-size: 12px; }
    .pg-filters { gap: 20px; overflow-x: auto; white-space: nowrap; padding-bottom: 16px; margin-bottom: 30px; }
    .pg-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
    .pg-card-name { font-size: 14px; top: 14px; left: 14px; right: 14px; }
    .pp-card { aspect-ratio: 16/11; }

    .que-hacemos { padding: 44px 0; }
    .qh-inner { flex-direction: column; align-items: center; gap: 24px; }
    .qh-label { flex-direction: row; width: 100%; justify-content: center; gap: 14px; }
    .qh-tick { display: none; }
    .qh-text { writing-mode: horizontal-tb; transform: none; }
    .qh-line, .qh-line--left { display: block; width: auto; flex-grow: 1; max-width: 70px; height: 1px; min-height: 0; background: rgba(0,0,0,0.3); }
    .qh-grid { grid-template-columns: 1fr; width: 100%; gap: 0; row-gap: 0; }
    .qh-item {
        border-left: none;
        padding: 0 0 28px;
        margin-bottom: 28px;
        border-bottom: 1px solid rgba(0,0,0,0.12);
    }
    .qh-item:first-child { padding-left: 0; }
    .qh-item:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
    .about-cards { grid-template-columns: 1fr; gap: 20px; }
    .about-card { padding: 32px 26px; }
    .obras-grid { grid-template-columns: 1fr; }
    .servicios-section { padding: 56px 0; }
    .servicios-head { margin-bottom: 40px; }
    .servicios-steps { grid-template-columns: 1fr; gap: 40px; }
    .servicios-connector { width: 100%; height: 1px; align-self: auto; margin-top: 0; background: rgba(0,0,0,0.35); }
    .servicio-points { grid-template-columns: 1fr 1fr; gap: 12px; }
    .servicio-point { padding: 18px 16px; }
    .info-row { grid-template-columns: 1fr; }

    .main-nav {
        position: fixed;
        top: 0; right: -100%;
        left: auto;
        transform: none;
        height: 100vh;
        width: min(78vw, 300px);
        background: rgba(20, 24, 16, 0.55);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-left: 1px solid rgba(255,255,255,0.18);
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        gap: 0;
        padding: 40px;
        transition: right 0.35s ease;
        box-shadow: -20px 0 50px rgba(0,0,0,0.25);
    }
    .main-nav.open { right: 0; }
    .main-nav a {
        color: #fff;
        text-shadow: none;
        font-size: 19px;
        padding: 18px 2px;
        border-bottom: 1px solid rgba(255,255,255,0.18);
    }
    .main-nav a:last-of-type { border-bottom: none; }
    .nav-contacto-mobile { display: block; }
    .btn-outline-nav { display: none; }
    .nav-close {
        display: block;
        position: absolute;
        top: 18px; right: 18px;
        width: 38px; height: 38px;
        background: rgba(255,255,255,0.12);
        border: 1px solid rgba(255,255,255,0.25);
        border-radius: 50%;
        color: #fff;
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
    }
    .burger { display: grid; }

    .info-panel { width: 100%; }
    .info-logo { width: 170px; }
    .contact-panel { width: 100%; }
    .contact-panel-content { padding: 50px 28px; }
}
