/* =========================================================
   sergiomejias.com — Hoja de estilos
   Diseño: editorial dark, refinado, sin animaciones
   ========================================================= */

/* ---------- Variables ---------- */
:root {
    --bg: #0a0a0a;
    --bg-elevated: #121212;
    --bg-card: #161616;
    --border: #1f1f1f;
    --border-strong: #2a2a2a;
    --text: #f0ece5;
    --text-muted: #8a857c;
    --text-dim: #5c584f;
    --accent: #b8945c;
    --accent-dim: #8a6e44;

    --font-display: "Fraunces", "Times New Roman", serif;
    --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;

    --max-width: 1280px;
    --gutter: clamp(1.5rem, 4vw, 3rem);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 300;
    letter-spacing: 0.01em;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
}

/* ---------- Tipografía base ---------- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
}

h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--text-muted);
    max-width: 65ch;
}

p.lead {
    font-size: 1.125rem;
    color: var(--text);
    font-weight: 300;
}

.eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent);
    font-weight: 500;
    display: inline-block;
}

.serif-italic {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    color: var(--text);
}

/* ---------- Contenedores ---------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

section {
    padding: clamp(4rem, 10vw, 8rem) 0;
    border-bottom: 1px solid var(--border);
}

/* ---------- Header / Navegación ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem var(--gutter);
    max-width: var(--max-width);
    margin: 0 auto;
}

.brand {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--text);
}

.brand .dot {
    color: var(--accent);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text);
}

.nav-menu a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: var(--accent);
}

.nav-toggle {
    display: none;
    width: 28px;
    height: 28px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--text);
}

/* ---------- Botones / Enlaces destacados ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--accent);
    color: var(--text);
    background: transparent;
}

.btn:hover {
    background: var(--accent);
    color: var(--bg);
}

.btn-arrow::after {
    content: "→";
    font-size: 1rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.link-arrow:hover {
    border-bottom-color: var(--accent);
}

.link-arrow::after {
    content: "→";
}

/* =========================================================
   HOME — HERO
   ========================================================= */
.hero {
    padding: clamp(4rem, 8vw, 7rem) 0 clamp(4rem, 8vw, 7rem);
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: var(--text-dim);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.hero-meta .divider {
    width: 40px;
    height: 1px;
    background: var(--border-strong);
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero h1 .accent {
    color: var(--accent);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 50ch;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-image {
    position: relative;
    aspect-ratio: 4 / 5;
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* filter: grayscale(20%) contrast(1.02); */
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    /*background: linear-gradient(180deg, transparent 60%, rgba(10,10,10,0.4) 100%);*/
    pointer-events: none;
}


/* Etiqueta colocada sobre la foto */
.hero-tag {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    font-size: 0.75rem;
    color: var(--text);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

/* ---------- Stats bar ---------- */
.stats {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    padding: 0 1rem;
    border-right: 1px solid var(--border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    color: var(--text);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-number .plus {
    color: var(--accent);
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

/* ---------- Section headers ---------- */
.section-header {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: end;
}

.section-header .eyebrow {
    margin-bottom: 1rem;
}

.section-header h2 {
    margin-bottom: 0;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.0625rem;
}

/* ---------- Servicios ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service {
    padding: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    position: relative;
    min-height: 360px;
    display: flex;
    flex-direction: column;
}

.service-number {
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--accent);
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.service h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.service p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
}

/* ---------- Clientes / Proyectos ---------- */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    align-items: center;
    padding: 2rem 0;
}

.client-logo {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid var(--border);
    background: var(--bg-card);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* ---------- Quote / Filosofía ---------- */
.quote-section {
    text-align: center;
    padding: clamp(5rem, 12vw, 9rem) 0;
}

.quote-section .quote-mark {
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--accent);
    line-height: 0.5;
    margin-bottom: 2rem;
    display: block;
}

.quote-section blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 300;
    line-height: 1.25;
    color: var(--text);
    max-width: 28ch;
    margin: 0 auto 2rem;
    font-style: italic;
    letter-spacing: -0.01em;
}

.quote-section .attribution {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* =========================================================
   BIOGRAFÍA
   ========================================================= */
.page-header {
    padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 5vw, 5rem);
    border-bottom: 1px solid var(--border);
}

.page-header .eyebrow {
    margin-bottom: 1.5rem;
}

.page-header h1 {
    max-width: 16ch;
    margin-bottom: 1.5rem;
}

.page-header .lead {
    max-width: 50ch;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.bio-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: clamp(2rem, 6vw, 6rem);
    align-items: start;
}

.bio-image {
    position: sticky;
    top: 100px;
    aspect-ratio: 3 / 4;
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
}

.bio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(15%);
}

.bio-content > * + * {
    margin-top: 1.5rem;
}

.bio-content h3 {
    margin-top: 3rem;
    color: var(--accent);
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: var(--font-body);
    font-weight: 500;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.bio-content h3:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.bio-content p {
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 60ch;
    font-size: 1rem;
}

.bio-content strong {
    color: var(--text);
    font-weight: 500;
}

.skills-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.skills-list li {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border-strong);
    font-size: 0.8125rem;
    color: var(--text);
    letter-spacing: 0.05em;
}

/* ---------- Timeline ---------- */
.timeline {
    list-style: none;
    border-left: 1px solid var(--border-strong);
    padding-left: 2rem;
    margin-top: 2rem;
}

.timeline li {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline li:last-child {
    padding-bottom: 0;
}

.timeline li::before {
    content: "";
    position: absolute;
    left: -2.4rem;
    top: 0.5rem;
    width: 9px;
    height: 9px;
    background: var(--accent);
    border-radius: 50%;
}

.timeline .year {
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

.timeline .role {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.timeline p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* =========================================================
   PROYECTOS
   ========================================================= */
.project-group {
    margin-bottom: 5rem;
}

.project-group:last-child {
    margin-bottom: 0;
}

.group-title {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.group-title h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.group-title .count {
    font-size: 0.875rem;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-left: auto;
}

.projects-list {
    display: grid;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.project {
    display: grid;
    grid-template-columns: 80px 1.5fr 2fr 1fr auto;
    gap: 2rem;
    padding: 2rem;
    background: var(--bg);
    align-items: center;
}

.project:hover {
    background: var(--bg-elevated);
}

.project-number {
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--accent);
    letter-spacing: 0.15em;
}

.project-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text);
    line-height: 1.2;
}

.project-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.project-tech {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.project-link {
    color: var(--accent);
    font-size: 1.5rem;
    border: 1px solid var(--border-strong);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-link:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

/* =========================================================
   CONTACTO
   ========================================================= */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2rem, 6vw, 6rem);
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.0625rem;
}

.contact-details {
    list-style: none;
    margin-bottom: 3rem;
}

.contact-details li {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-details .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-dim);
}

.contact-details .value {
    color: var(--text);
    font-size: 1.0625rem;
    font-family: var(--font-display);
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-social a {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.contact-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ---------- Formulario ---------- */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: clamp(2rem, 4vw, 3rem);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-dim);
    margin-bottom: 0.75rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-strong);
    padding: 0.75rem 0;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--accent);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form button[type="submit"] {
    margin-top: 1rem;
    width: 100%;
    padding: 1.25rem;
    background: var(--accent);
    color: var(--bg);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid var(--accent);
}

.contact-form button[type="submit"]:hover {
    background: transparent;
    color: var(--accent);
}

/* =========================================================
   MENCIONES — Lista editorial
   ========================================================= */
.media-section {
    margin-bottom: 5rem;
}

.media-section:last-child {
    margin-bottom: 0;
}

.media-section-header {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.media-section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.media-section-header .count {
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-left: auto;
}

.media-list {
    list-style: none;
}

.media-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 2rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.media-item:hover {
    background: rgba(255, 255, 255, 0.015);
}

.media-item .num {
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--accent);
    letter-spacing: 0.1em;
}

.media-item .content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.media-item .source {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-dim);
    font-weight: 500;
}

.media-item .title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.4;
    font-weight: 400;
}

.media-item:hover .title {
    color: var(--accent);
}

.media-item .arrow {
    font-size: 1.25rem;
    color: var(--text-dim);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.media-item:hover .arrow {
    border-color: var(--accent);
    color: var(--accent);
}

/* =========================================================
   ENTREVISTAS — Vídeos y galería
   ========================================================= */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.video-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    color: inherit;
}

.video-card:hover {
    border-color: var(--accent-dim);
}

.video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(15%) brightness(0.85);
}

.video-card:hover .video-thumb img {
    filter: grayscale(0%) brightness(1);
}

.video-thumb::after {
    content: "▶";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid var(--accent);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    padding-left: 4px;
}

.video-card:hover .video-thumb::after {
    background: var(--accent);
    color: var(--bg);
}

.video-info {
    padding: 1.5rem 1.75rem;
}

.video-info .meta {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}

.video-info h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    line-height: 1.35;
    color: var(--text);
    font-weight: 400;
}

/* Galería de fotos */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(25%) brightness(0.92);
}

.gallery-item:hover {
    border-color: var(--accent-dim);
}

.gallery-item:hover img {
    filter: grayscale(0%) brightness(1);
}

/* Responsive para entrevistas y menciones */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .media-item {
        grid-template-columns: 40px 1fr auto;
        gap: 1rem;
        padding: 1.25rem 0;
    }
    .media-item .arrow {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

@media (max-width: 465px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    background: var(--bg);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .brand {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    max-width: 32ch;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.footer-col a:hover {
    color: var(--text);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
    .hero-grid,
    .bio-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .section-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1rem;
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .bio-image {
        position: relative;
        top: 0;
        max-width: 420px;
        margin: 0 auto;
    }

    .project {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem 1.5rem;
    }

    .project-number {
        order: -1;
    }

    .project-link {
        margin-top: 0.5rem;
    }
}

@media (max-width: 860px) {
    .nav-menu {
        position: fixed;
        top: 73px;
        right: 0;
        bottom: 0;
        width: 100%;
        background: var(--bg-elevated);
        flex-direction: column;
        align-items: flex-start;
        padding: 3rem var(--gutter);
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.25s ease;
        border-left: 1px solid var(--border);
    }

    .nav-menu.is-open {
        transform: translateX(0);
    }

    .nav-menu a {
        font-size: 1.25rem;
        font-family: var(--font-display);
    }

    .nav-toggle {
        display: flex;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .group-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .group-title .count {
        margin-left: 0;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        justify-content: center;
    }
}



/*AÑADIDO*/
.hero-image img,
.bio-image img,
.video-thumb img,
.gallery-item img {
    filter: none;
}
.hero-image::after { display: none; }