/* ==========================================
   VARIABLES Y CONFIGURACIÓN GLOBAL
   ========================================== */
:root {
    --bg-color: #F2EFE9;
    --text-color: #333333;
    --accent-color: #735F53;
    --surface-alt: #E8E3DA;
    --border-color: rgba(115, 95, 83, 0.2);
    --transition-speed: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Mona Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================
   PRELOADER
   ========================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader--fade {
    opacity: 0;
    visibility: hidden;
}

.preloader__content {
    text-align: center;
}

.preloader__icon {
    stroke: var(--text-color);
    animation: pulseIcon 1.5s infinite ease-in-out;
    margin-bottom: 16px;
}

.preloader__text {
    display: block;
    font-size: 13px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-color);
    margin-bottom: 12px;
}

.preloader__line {
    width: 120px;
    height: 2px;
    background-color: var(--border-color);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.preloader__line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--text-color);
    animation: lineLoading 1.2s infinite linear;
}

@keyframes lineLoading {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.08); opacity: 1; }
}

/* ==========================================
   HEADER Y NAVEGACIÓN
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all var(--transition-speed) ease;
}

.header--white {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
}

.header--white .nav__link {
    color: #ffffff;
    font-size: 15px;
    opacity: 0.9;
}

.header--white .nav__link::after {
    background-color: #ffffff;
}

.header--white .header__cta {
    color: #ffffff;
    border-color: #ffffff;
    font-size: 13px;
}

.header--white .header__cta:hover {
    background-color: #ffffff;
    color: var(--text-color);
}

.header--scrolled {
    background-color: rgba(242, 239, 233, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 64px;
    border-bottom: 1px solid var(--border-color);
}

.header--scrolled .nav__link {
    color: var(--text-color);
    font-size: 14px;
}

.header--scrolled .header__cta {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.header__logo-container {
    display: inline-block;
}

.header__logo {
    height: 40px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.header__logo:hover {
    transform: scale(1.02);
}

.nav {
    display: flex;
    gap: 40px;
}

.nav__link {
    text-decoration: none;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    transition: width 0.3s ease;
}

.nav__link:hover {
    opacity: 1;
}

.nav__link:hover::after {
    width: 100%;
}

.header__cta {
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 20px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header__cta:hover {
    background-color: var(--accent-color);
    color: #ffffff;
}

/* ==========================================
   SECCIÓN 1: HERO / BANNER PRINCIPAL
   ========================================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__carousel-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 6s ease;
    transform: scale(1);
}

.hero__slide--active {
    opacity: 1;
    transform: scale(1.05);
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.5), rgba(0,0,0,0.2));
    z-index: 2;
}

.hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(115, 95, 83, 0.4);
    border: none;
    color: #fff;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: background 0.3s ease;
}

.hero__arrow:hover {
    background: var(--accent-color);
}

.hero__arrow--prev { left: 30px; }
.hero__arrow--next { right: 30px; }

.hero__content {
    position: relative;
    z-index: 3;
    padding: 0 64px;
    max-width: 900px;
    color: #fff;
    width: 45%;
}

.hero__tag-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

.hero__tag-dot {
    width: 8px;
    height: 8px;
    background-color: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80;
}

.hero__tag-text {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
}

/* ==========================================
   SECCIÓN 2: TRAYECTORIA
   ========================================== */
.trajectory {
    padding: 120px 64px;
    max-width: 1400px;
    margin: 0 auto;
}

.trajectory__header {
    max-width: 800px;
    margin-bottom: 80px;
}

.trajectory__subtitle {
    font-family: monospace;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-color);
    display: block;
    margin-bottom: 12px;
}

.trajectory__title {
    font-size: 44px;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.trajectory__intro {
    font-size: 18px;
    opacity: 0.8;
}

.trajectory__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.trajectory-card {
    background-color: var(--surface-alt);
    padding: 40px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-speed) ease;
}

.trajectory-card:hover {
    transform: translateY(-6px);
}

.trajectory-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.trajectory-card__num {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--accent-color);
}

.trajectory-card__badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    background: var(--bg-color);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.trajectory-card__title {
    font-size: 20px;
    margin-bottom: 12px;
}

.trajectory-card__desc {
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.trajectory-card__list {
    list-style: none;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.trajectory-card__list li {
    font-size: 13px;
    opacity: 0.8;
    padding: 4px 0;
    position: relative;
    padding-left: 14px;
}

.trajectory-card__list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* ==========================================
   SECCIÓN 3: PORTAFOLIO / PROYECTOS
   ========================================== */
.portfolio {
    padding: 100px 64px;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio__header {
    margin-bottom: 50px;
}

.portfolio__title-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 16px;
}

.portfolio__main-title {
    font-size: 40px;
    letter-spacing: -0.02em;
}

.portfolio__filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.portfolio__filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.portfolio__filter-btn--active,
.portfolio__filter-btn:hover {
    background: var(--accent-color);
    color: #ffffff;
    border-color: var(--accent-color);
}

.portfolio__subtitle {
    font-size: 16px;
    opacity: 0.8;
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.project-card {
    background: var(--surface-alt);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.project-card__carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.project-card__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card__slide--active {
    opacity: 1;
}

.project-card__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(115, 95, 83, 0.6);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 2;
}

.project-card__arrow:hover {
    background: var(--accent-color);
}

.project-card__arrow--prev { left: 16px; }
.project-card__arrow--next { right: 16px; }

.project-card__content {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-card__desc {
    font-size: 18px;
    font-weight: 500;
}

.project-card__btn {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.project-card__btn:hover {
    background: var(--accent-color);
    color: #ffffff;
}

/* ==========================================
   SECCIÓN 4: BLOG & NOTICIAS
   ========================================== */
.blog {
    padding: 100px 64px;
    max-width: 1400px;
    margin: 0 auto;
}

.blog__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.blog__title {
    font-size: 40px;
    letter-spacing: -0.02em;
}

.blog__header-btn {
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 2px;
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--surface-alt);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.blog-card__img-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__img-wrap img {
    transform: scale(1.05);
}

.blog-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card__date {
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    opacity: 0.6;
    margin-bottom: 10px;
}

.blog-card__title {
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card__link {
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================
   SECCIÓN 5: SOBRE NOSOTROS
   ========================================== */
.about {
    padding: 120px 64px;
    max-width: 1400px;
    margin: 0 auto;
    background-color: var(--surface-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about__container {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 60px;
    align-items: center;
}

.about__title {
    font-size: 40px;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.about__p {
    font-size: 16px;
    opacity: 0.85;
    line-height: 1.7;
}

.about__p--mt {
    margin-top: 16px;
}

.about__read-more {
    margin-top: 24px;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.about__read-more:hover {
    background: var(--accent-color);
    color: #ffffff;
}

.about__extended {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-in-out;
}

.about__extended--active {
    max-height: 500px;
    margin-top: 24px;
}

.about__mission-block h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.about__mission-block p {
    font-size: 15px;
    opacity: 0.8;
}

.about__mission-block--mt {
    margin-top: 20px;
}

.about__image-col {
    position: relative;
}

.about__img-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

.about__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.about__slide--active {
    opacity: 1;
}

.about__caption {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.about__caption span {
    opacity: 0.6;
}

/* ==========================================
   SECCIÓN 6: CLIENTES
   ========================================== */
.clients {
    padding: 80px 64px;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    background-color: var(--bg-color);
}

.clients__header {
    text-align: left;
    margin-bottom: 40px;
}

.clients__title {
    font-size: 40px;
    letter-spacing: -0.02em;
    color: var(--text-color);
    opacity: 1;
}

.clients__track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scrollClients 25s linear infinite;
    align-items: center;
}

.clients__item {
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.clients__item:hover {
    opacity: 1;
}

.clients__item img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
}

@keyframes scrollClients {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================
   SECCIÓN INSTAGRAM
   ========================================== */
.instagram-feed {
    padding: 100px 64px;
    max-width: 1400px;
    margin: 0 auto;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
}

.instagram-feed__header {
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.instagram-feed__subtitle {
    font-family: monospace;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-color);
    display: block;
    margin-bottom: 8px;
}

.instagram-feed__title {
    font-size: 42px;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

.instagram-feed__btn {
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 12px 24px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    background-color: transparent;
    transition: all var(--transition-speed) ease;
    border-radius: 2px;
    display: inline-block;
}

.instagram-feed__btn:hover {
    background-color: var(--accent-color);
    color: #ffffff;
}

.instagram-placeholder-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.insta-box {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f1f5f9;
}

.insta-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(20%);
}

.insta-box:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* ==========================================
   SECCIÓN 7: CONTACTO / CTA
   ========================================== */
.contact {
    position: relative;
    padding: 140px 64px;
    background-color: var(--text-color);
    color: var(--bg-color);
    text-align: center;
    overflow: hidden;
}

.contact__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.contact__title {
    font-size: 48px;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
    line-height: 1.2;
}

.contact__btn {
    display: inline-block;
    text-decoration: none;
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 16px 36px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact__btn:hover {
    transform: scale(1.03);
    background-color: #5d4c41;
}

.contact__shape {
    position: absolute;
    border: 1px solid rgba(242, 239, 233, 0.1);
    pointer-events: none;
}

.contact__shape--circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    top: -100px;
    left: -100px;
}

.contact__shape--square {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
    transform: rotate(45deg);
}

.contact__shape--line {
    width: 150px;
    height: 1px;
    background: rgba(242, 239, 233, 0.2);
    top: 50%;
    right: 10%;
}

/* ==========================================
   MODAL DE PROYECTOS
   ========================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal--active {
    opacity: 1;
    visibility: visible;
}

.modal__container {
    background: var(--bg-color);
    width: 90%;
    max-width: 900px;
    padding: 40px;
    border-radius: 8px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-color);
    line-height: 1;
}

.modal__header-info {
    margin-bottom: 20px;
}

.modal__cat {
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.modal__title {
    font-size: 28px;
    margin-top: 4px;
}

.modal__main-image-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--surface-alt);
}

.modal__main-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal__thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.modal__thumb {
    width: 90px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.modal__thumb--active,
.modal__thumb:hover {
    opacity: 1;
    border-color: var(--accent-color);
}

.modal__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background-color: var(--surface-alt);
    padding: 100px 64px 40px;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.footer__bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
}

.footer__shape {
    position: absolute;
    border: 1px solid var(--text-color);
}

.footer__shape--1 { width: 400px; height: 400px; border-radius: 50%; top: -200px; right: -100px; }
.footer__shape--2 { width: 250px; height: 250px; bottom: 50px; left: -50px; transform: rotate(30deg); }
.footer__shape--3 { width: 150px; height: 150px; top: 40%; left: 40%; border-radius: 50%; }

.footer__top-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.footer__col h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: var(--text-color);
}

.footer__col p, 
.footer__col a {
    display: block;
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.75;
    text-decoration: none;
    margin-bottom: 8px;
    transition: opacity 0.3s ease;
}

.footer__col a:hover {
    opacity: 1;
}

.footer__mt-sm {
    margin-top: 16px;
}

.footer__reclaim-desc {
    font-size: 12px;
    margin-bottom: 12px;
}

.footer__reclaim-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-weight: 500;
}

.footer__bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    font-size: 13px;
    opacity: 0.7;
    position: relative;
    z-index: 2;
}

.footer__subtext {
    margin-top: 4px;
    font-size: 12px;
}

.footer__right-note {
    text-align: right;
    font-size: 12px;
}

/* ==========================================
   RESPONSIVE DESIGN GENERAL
   ========================================== */
@media (max-width: 1024px) {
    .header, .header--scrolled { padding: 20px 30px; }
    .nav { display: none; }
    .hero__content { width: 70%; padding: 0 30px; }
    .trajectory, .portfolio, .blog, .about, .clients, .instagram-feed, .contact, .footer { padding-left: 30px; padding-right: 30px; }
    .trajectory__grid, .blog__grid, .footer__top-grid { grid-template-columns: repeat(2, 1fr); }
    .about__container { grid-template-columns: 1fr; }
}

/* ==========================================
   AJUSTES MÓVILES SOLICITADOS (MAX-WIDTH: 768PX)
   ========================================== */
@media (max-width: 768px) {
    /* Logo en versión móvil a 25px */
    .header__logo {
        height: 25px !important;
    }

    /* Ajustes generales de secciones móviles */
    .hero__content { width: 90%; }
    .trajectory__grid, .portfolio__grid, .blog__grid, .footer__top-grid { grid-template-columns: 1fr; }
    .footer__bottom-flex { flex-direction: column; align-items: flex-start; gap: 20px; }
    .footer__right-note { text-align: left; }
    .contact__title { font-size: 32px; }

    /* Tamaño de títulos/subtítulos solicitados a 28px en móvil */
    .portfolio__main-title,
    .trajectory__title,
    .blog__title,
    .about__title,
    .clients__title,
    .instagram-feed__title {
        font-size: 28px !important;
        line-height: 1.25 !important;
    }

    /* Instagram Feed en móvil: Título y Botón debajo */
    .instagram-feed__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .instagram-feed__btn {
        margin-top: 8px;
        align-self: flex-start;
    }

    /* Grid de Instagram a 2 columnas en móvil */
    .instagram-placeholder-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}