/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100%;
}

/* Typography */
.t-400 { font-weight: 400; }
.t-500 { font-weight: 500; }
.t-600 { font-weight: 600; }

/* Layout */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    contain: layout paint; /* reduce reflow durante animaciones */
}

.section--tall {
    padding: 6rem 2rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.header__logo {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.logo-text {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__link {
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: opacity 0.2s ease;
}

.nav__link:hover {
    opacity: 0.7;
}

/* Buttons */
.btn {
    display: inline-block;
    position: relative;
    padding: 0.75rem 2rem;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.025em;
    border-radius: 4px;
    transition: transform 0.2s ease;
    overflow: hidden;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn__text {
    position: relative;
    z-index: 2;
}

.btn__hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.btn:hover .btn__hover {
    opacity: 1;
}

/* Landing Section */
.landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    padding-top: clamp(16rem, 30vh, 40rem);
}

.landing__title {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-top: 8rem;
    margin-bottom: 2.5rem;
}

.title-line {
    display: block;
}

/* Prevent text reflow/flicker on return to top */
.landing__title .title-line { will-change: auto; }
.landing { will-change: auto; }

.landing__body {
    max-width: 750px;
    margin: 0 auto;
}

.landing__tagline {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.02em;
    color: #FFB829;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.landing__description {
    font-size: 1.5rem;
    line-height: 1.5;
    letter-spacing: -0.02em;
    font-weight: 200;
    margin-bottom: 2rem;
}

.landing__cta {
    margin-top: 2rem;
}

/* Scroll cue */
.scroll-cue {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 2.5rem;
    opacity: 0.85;
    user-select: none;
}

.scroll-cue__text {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
}

.scroll-cue__chevron {
    width: 12px;
    height: 12px;
    border-right: 2px solid #FFB829;
    border-bottom: 2px solid #FFB829;
    transform: rotate(45deg);
    animation: scroll-cue 1.6s infinite;
}

.scroll-cue__chevron:nth-child(2) { animation-delay: 0.15s; }
.scroll-cue__chevron:nth-child(3) { animation-delay: 0.3s; }

@keyframes scroll-cue {
    0% { opacity: 0; transform: translateY(-4px) rotate(45deg); }
    40% { opacity: 1; transform: translateY(0) rotate(45deg); }
    100% { opacity: 0; transform: translateY(6px) rotate(45deg); }
}

/* Introduction Section */
.introduction {
    text-align: center;
    max-width: 900px;
    scroll-margin-top: 96px; /* evita cortes al navegar */
}

.introduction__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.introduction__body {
    font-size: 1.5rem;
    line-height: 1.5;
    letter-spacing: -0.02em;
    font-weight: 200;
}

/* Manifesto Sections */
.manifesto-intro {
    max-width: 1200px;
    margin: 0 auto;
    scroll-margin-top: 96px;
}

.manifesto-text {
    font-size: clamp(1.25rem, 3.5vw, 2.5rem);
    line-height: 1.4;
    letter-spacing: -0.02em;
    font-weight: 400;
    margin-bottom: 2rem;
    will-change: transform, opacity; /* evita janks durante reveal */
}

.manifesto {
    max-width: 900px;
    margin: 0 auto;
}

.manifesto__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.manifesto__body p {
    font-size: 1.5rem;
    line-height: 1.5;
    letter-spacing: -0.02em;
    font-weight: 200;
    margin-bottom: 1.5rem;
}

.manifesto__body em {
    font-style: italic;
}

.manifesto__body a {
    color: #fff;
    text-decoration: underline;
}

/* Two-Column Manifesto Layout */
.manifesto__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    align-items: start;
}

.manifesto__content {
    max-width: 100%;
}

.manifesto-intro .manifesto__body {
    text-align: left;
}

/* Case Study Styles */
.case-study {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 184, 41, 0.2);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.case-study:hover {
    border-color: rgba(255, 184, 41, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 184, 41, 0.1);
}

.case-study__image {
    position: relative;
    text-align: center;
    margin-bottom: 1.5rem;
}

.case-study__photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FFB829;
    box-shadow: 0 8px 20px rgba(255, 184, 41, 0.3);
}

.case-study__badge {
    position: absolute;
    top: -10px;
    right: 50%;
    transform: translateX(50%);
    background: linear-gradient(135deg, #FFB829 0%, #FF8A00 100%);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-study__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFB829;
    margin-bottom: 0.5rem;
    text-align: center;
}

.case-study__company {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.case-study__text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.case-study__results {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(255, 184, 41, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 184, 41, 0.1);
}

.result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.result-item:hover {
    background: rgba(255, 184, 41, 0.1);
    transform: translateX(5px);
}

.result-number {
    font-size: 2rem;
    font-weight: 800;
    color: #FFB829;
    min-width: 60px;
    text-align: center;
}

.result-text {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.4;
}

.case-study__quote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    font-style: italic;
    border-left: 3px solid #FFB829;
    padding-left: 1rem;
    margin-top: 1.5rem;
}

/* Case Study Responsive Design */
@media (max-width: 1024px) {
    .manifesto__container {
        grid-template-columns: 1fr;
        gap: 2rem; /* menos espacio vertical en mobile */
    }
    
    .manifesto-intro .manifesto__body {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .manifesto__container {
        padding: 1rem;
        gap: 2rem;
    }
    
    .case-study {
        padding: 1.5rem;
    }
    
    .case-study__photo {
        width: 100px;
        height: 100px;
    }
    
    .case-study__results {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .result-number {
        font-size: 1.5rem;
        min-width: 50px;
    }
}

/* Team Section */
.team {
    text-align: center;
}

.team__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.2;
    margin-top: 2rem !important;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFB829 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.team-slider {
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.team-card {
    max-width: 400px;
    margin: 0 auto;
}

.team-card__image-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
}

.team-card__image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #926AFF, #FFB829);
}

.team-card__role {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #926AFF;
    display: block;
    margin-bottom: 1rem;
}

.team-card__name {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.team-card__social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.team-card__social-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: opacity 0.2s ease;
}

.team-card__social-link:hover {
    opacity: 0.7;
}

.team__hiring-title {
    font-size: clamp(2rem, 4vw, 2.25rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.team__hiring-body p {
    font-size: 1.25rem;
    line-height: 1.5;
    letter-spacing: -0.03em;
    font-weight: 400;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.team__hiring-body a {
    color: #fff;
    text-decoration: underline;
}

/* Investors */
.investors {
    margin-top: 4rem;
}

.investors__title {
    font-size: clamp(3rem, 6vw, 6.5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.investors__body p {
    font-size: 1.25rem;
    line-height: 1.5;
    letter-spacing: -0.03em;
    font-weight: 400;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.investors__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.investor__name {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.investor__description {
    font-size: 1rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
    font-weight: 400;
    color: #999;
}

/* Footer */
.footer {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.footer__cta {
    margin-bottom: 4rem;
}

.footer__bar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.875rem;
    color: #999;
}

.footer__nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer__nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: opacity 0.2s ease;
}

.footer__nav a:hover {
    opacity: 0.7;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social a {
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: opacity 0.2s ease;
}

.footer__social a:hover {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section {
        padding: 2rem 1rem;
    }
    
    .header__inner {
        padding: 1rem;
    }
    
    .nav__list {
        display: none; /* Hide nav on mobile for simplicity */
    }
    
    .landing {
        padding-top: 6rem;
    }
    
    .landing__description {
        font-size: 1.25rem;
    }
    
    .landing__tagline {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.75rem;
    }
    
    .manifesto-text {
        font-size: 1.25rem;
        line-height: 1.5;
    }
    
    .manifesto__body p {
        font-size: 1.25rem;
    }
    
    .team__hiring-body p {
        font-size: 1.125rem;
    }
    
    .investors__body p {
        font-size: 1.125rem;
    }
    
    .investors__list {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer__bar {
        text-align: center;
    }
    
    .footer__nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer__copyright {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
    }
    
    .landing__tagline {
        font-size: 0.875rem;
    }
    
    .manifesto-text {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .introduction__body {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .team-card__role {
        font-size: 0.875rem;
    }
    
    .team-card__social-link {
        font-size: 0.75rem;
    }
    
    .footer__nav a,
    .footer__social a {
        font-size: 0.75rem;
    }
}

/* Responsive typography refinements (mobile-first scaling) */
@media (max-width: 768px) {
  .pains__title,
  .cases__title,
  .work__title,
  .contact__title,
  .footer__title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
  }
  
  .team__title {
    margin-top: 2rem !important;
  }

  .u-lede,
  .pattern__line,
  .pains__story p { /* narrativa y párrafos destacados */
    font-size: clamp(1.05rem, 4.2vw, 1.35rem);
    line-height: 1.5;
  }

  .pains__h3 { /* frases clave de la historia */
    font-size: clamp(1.1rem, 4.6vw, 1.4rem);
    line-height: 1.4;
  }

  .team-profile__heading { /* encabezado de perfil */
    font-size: clamp(1.15rem, 4.8vw, 1.5rem);
  }
}

@media (max-width: 480px) {
  .u-lede,
  .pattern__line,
  .pains__story p {
    font-size: clamp(1rem, 4.6vw, 1.25rem);
  }
}

/* Restored layout components to match current HTML structure */

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #FFB829;
    color: #000;
    padding: 8px 12px;
    border-radius: 4px;
    z-index: 10000;
}
.skip-link:focus-visible { top: 8px; }

/* Cases grid */
.cases__head { text-align: center; margin-bottom: 1.25rem; }
.cases__title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 400; }
.cases__subtitle { color: #999999; }
.cases__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 1rem;
}
.case-card { border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; background: rgba(255,255,255,0.02); padding: 1.5rem; }
.case-card__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.case-card__title { font-size: 1.25rem; font-weight: 600; }
.case-card__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
@media (max-width: 1024px) { .cases__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .cases__grid { grid-template-columns: 1fr; } }

/* Pains section */
.pains__title { text-align: center; font-size: clamp(2rem, 5vw, 3rem); font-weight: 400; margin-bottom: 1.5rem; }
.pains__story { max-width: 820px; margin: 0 auto 1.25rem; display: grid; gap: 1rem; color: #fff; text-align: center; }
.pains__story p { margin: 0; font-weight: 200; letter-spacing: -0.02em; }
.pains__h3 { font-size: clamp(1.5rem, 2.2vw, 1.6rem); font-weight: 400; text-align: center; margin: .25rem 0; line-height: 1.4; }

/* Unify emphasis styling inside the story: match hero description style */


/* Utility: hero lede text (same as .landing__description) */
.u-lede { font: 200 1.5rem/1.5 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; letter-spacing: -0.02em; color: #fff; }

/* Pattern + Calculator */
.pattern { text-align: center; }
.pattern__title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 400; margin-bottom: 1rem; }
.pattern__line { font-size: 1.5rem; line-height: 1.5; letter-spacing: -0.02em; font-weight: 200; color: #fff; margin: 0.4rem 0; text-align: center; position: relative; z-index: 2; }
.pattern__hint { margin-top: .25rem; font: 200 1.1rem/1.5 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; letter-spacing: -0.02em; color: #cccccc; }
.pattern__hint-link { color: #FFB829; text-decoration: none; border-bottom: 1px solid rgba(255,184,41,0.6); padding-bottom: 2px; }
.pattern__hint-link:hover { color: #ffd071; border-bottom-color: #ffd071; }

.calc__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 1.5rem; align-items: stretch; margin-top: 1.25rem; }
.calc__form { display: grid; gap: .75rem; align-content: start; }
.calc__label { display: grid; gap: .35rem; color: #cccccc; }
.calc__input { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; padding: .6rem .75rem; color: #fff; text-align: center; font-variant-numeric: tabular-nums; }
.calc__results { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 1rem 2rem 1rem 1rem; display: grid; gap: .75rem; align-content: space-between; height: 100%; }
.calc__row { display: grid; grid-template-columns: 0.85fr minmax(6ch, 9ch) auto; gap: .75rem; align-items: center; color: #cccccc; }
.calc__row strong { color: #fff; font-size: 1.35rem; text-align: center; }
.calc__row--cost strong { color: #FFB829; font-weight: 700; }
.calc__cta { text-align: center; margin-top: .5rem; }
@media (max-width: 900px) { .calc__grid { grid-template-columns: 1fr; } }

/* Work section */
.work__title { text-align: center; font-size: clamp(2rem, 5vw, 3rem); font-weight: 400; margin-top: 2rem; margin-bottom: 1.5rem; position: relative; z-index: 2; }
.work__grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; align-items: start; position: relative; z-index: 2; }
.work__steps { list-style: none; padding: 0; margin: 0 auto 1.75rem; display: grid; gap: 1.1rem; max-width: 860px; }
.step { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: .9rem 1rem; color: #cccccc; width: 100%; margin: 0 auto; }
.step strong { color: #fff; }
.step__num { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-right: .5rem; border-radius: 999px; background: rgba(255,184,41,.15); color: #FFB829; font-weight: 700; }
.work__closing { text-align: center; margin-top: 2rem; color: #cccccc; position: relative; z-index: 2; }

/* Extra breathing room for the work section */
.section.work { 
  padding-bottom: 4rem; 
  position: relative;
}

/* Glassmorphism overlay for work section */
.section.work::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(98%, 1600px);
  height: calc(100% - 3rem);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 184, 41, 0.2);
  border-radius: 24px;
  z-index: 1;
  pointer-events: none;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Blog carousel */
.blog__carousel { position: relative; max-width: 1200px; margin: 0 auto 4rem; padding: 2rem 0; }
.blog__viewport { overflow: hidden; min-height: 500px; padding-top: 1rem; }
.blog__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(320px, 1fr); gap: 2rem; scroll-behavior: smooth; }
.blog__nav { display: none; }
.blog__nav[disabled] { opacity: .4; cursor: default; }

/* Team slider */
.team-slider { display: grid; gap: 1rem; }
.team-slider__viewport { overflow: hidden; }
.team-slider__track { 
    display: grid; 
    grid-auto-flow: column; 
    grid-auto-columns: 100%; 
    scroll-behavior: smooth;
}
.team-slide { 
    display: grid; 
    justify-items: center; 
    width: 100%;
}
.team-slider__controls { display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: center; justify-items: center; max-width: 480px; margin: 0 auto; }
.team-slider__btn { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: #fff; width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; cursor: pointer; }
.team-slider__btn--next { background: rgba(255,184,41,0.15); border-color: rgba(255,184,41,0.6); color: #FFB829; }
.team-slider__btn--next:hover { background: rgba(255,184,41,0.25); }
.team-slider__btn[disabled]{ opacity: .4; cursor: default; }
.team-slider__dots { display: flex; gap: 8px; }
.team-slider__dots::before { content: ''; display: block; width: 36px; height: 6px; border-radius: 8px; background: rgba(255,255,255,0.25); }

/* Contact note */
.contact__note { margin-top: 1rem; color: #CCCCCC; }

/* Blog modal system */
.blog-card__read-btn {
    background: transparent;
    border: 1px solid rgba(255,184,41,0.6);
    color: #FFB829;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}
.blog-card__read-btn:hover {
    background: rgba(255,184,41,0.1);
    border-color: #FFB829;
}

.blog-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.blog-modal[aria-hidden="false"] {
    display: flex;
}

.blog-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
}

.blog-modal__content {
    position: relative;
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.blog-modal__header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.blog-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.blog-modal__meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #999;
}

.blog-modal__category {
    background: rgba(255,184,41,0.2);
    color: #FFB829;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
}

.blog-modal__title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    margin: 0;
}

.blog-modal__body {
    padding: 1.5rem 2rem 2rem;
    color: #cccccc;
    line-height: 1.6;
}

.blog-modal__body p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Estilos específicos para contenido del blog generado por IA */
.blog-modal__body .blog-intro {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #fff;
    line-height: 1.5;
}

.blog-modal__body .blog-quote {
    border-left: 3px solid #FFB829;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    background: rgba(255, 184, 41, 0.05);
    padding: 1rem 1rem 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
}

.blog-modal__body .blog-quote cite {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #FFB829;
    font-style: normal;
}

.blog-modal__body .blog-list li {
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
}

.blog-modal__body .example-highlight {
    background: rgba(255, 184, 41, 0.1);
    border-left: 4px solid #FFB829;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.blog-modal__body .example-highlight p {
    margin-bottom: 0;
    font-style: italic;
}

.blog-modal__body .example-highlight strong {
    color: #FFB829;
    font-style: normal;
}

.blog-modal__body .blog-cta-final {
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    text-align: center;
    border: 1px solid rgba(255, 184, 41, 0.3);
}

.blog-modal__body .cta-question {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #fff;
}

.blog-modal__body .cta-action {
    font-size: 1rem;
    margin-bottom: 0;
}

.blog-modal__body .cta-link {
    color: #FFB829;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.blog-modal__body .cta-link:hover {
    border-bottom-color: #FFB829;
}

.blog-modal__body h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid rgba(255, 184, 41, 0.3);
    padding-bottom: 0.5rem;
}

.blog-modal__body h3:first-of-type {
    margin-top: 1rem;
}

.blog-modal__cta {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(255,184,41,0.05);
    border: 1px solid rgba(255,184,41,0.2);
    border-radius: 12px;
}

.blog-modal__cta--final {
    background: rgba(255,184,41,0.08);
    border-color: rgba(255,184,41,0.3);
}

@media (max-width: 768px) {
    .blog-modal__content { margin: 0.5rem; max-height: 95vh; }
    .blog-modal__header { padding: 1.5rem 1.5rem 1rem; }
    .blog-modal__body { padding: 1rem 1.5rem 1.5rem; }
}

/* Blog Library Modal */
.blog-library__content {
    position: relative;
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.blog-library__header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    text-align: center;
}

.blog-library__title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.5rem 0;
}

.blog-library__subtitle {
    color: #999;
    margin: 0;
}

.blog-library__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.blog-library__item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.blog-library__item:hover {
    border-color: rgba(255,184,41,0.3);
    transform: translateY(-2px);
}

.blog-library__item--coming {
    opacity: 0.6;
    border-style: dashed;
}

.blog-library__meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    color: #999;
}

.blog-library__category {
    background: rgba(255,184,41,0.2);
    color: #FFB829;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-weight: 600;
}

.blog-library__item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.blog-library__excerpt {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.4;
    margin: 0 0 1rem 0;
}

.blog-library__read {
    background: transparent;
    border: 1px solid rgba(255,184,41,0.5);
    color: #FFB829;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    width: 100%;
}

.blog-library__read:hover {
    background: rgba(255,184,41,0.1);
}

.blog-library__cta {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,184,41,0.03);
}

@media (max-width: 768px) {
    .blog-library__content { margin: 0.5rem; }
    .blog-library__grid { grid-template-columns: 1fr; gap: 1rem; padding: 1rem; }
}

/* Intersection-based animations: one-time only */
.pre-animate { opacity: 0; transform: translateY(30px); }

.animate-in {
    animation: slideInUp 0.6s ease-out forwards;
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Center CTA in cases */
.cases__cta { text-align: center; margin-top: 1rem; }

/* Team profile two-column layout */
.team-profile { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; max-width: 1100px; margin: 0 auto; text-align: left; width: 100%; }
.team-profile__about { color: #cccccc; display: grid; gap: 0.75rem; }
.team-profile__heading { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; color: #fff; margin-bottom: .5rem; }
.team-profile__list { margin: .25rem 0 .5rem 1.25rem; display: grid; gap: .25rem; }
.team-profile__photo { display: grid; justify-items: center; }
.team-profile__image-wrap { width: 420px; height: 520px; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.08); }
.team-profile__image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.team-profile__callout { background: linear-gradient(135deg, rgba(255,184,41,0.12), rgba(255,184,41,0.06)); border-left: 4px solid #FFB829; padding: .65rem .85rem; border-radius: 8px; color: #fff; }
.team-profile__quote { font-style: italic; color: #FFB829; text-align: center; margin-top: 1rem; font-weight: 500; }
.team-profile__meta { display: none; }

@media (max-width: 900px) {
  .team-profile { grid-template-columns: 1fr; max-width: 750px; }
  .team-profile__image-wrap { width: 300px; height: 380px; }
}

@media (max-width: 600px) {
  .team-profile { max-width: 100%; padding: 0 1rem; }
  .team-profile__image-wrap { width: 250px; height: 320px; }
}

/* Smooth scrolling enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
    
    * {
        transition: transform 0.2s ease, opacity 0.2s ease;
    }
}

/* Prevent scroll issues */
html, body {
    overflow-x: hidden;
    position: relative;
}

/* Ensure main content can scroll properly */
main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

/* Stars canvas positioning */
#stars-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    background: transparent;
}

/* Ensure sections have proper spacing for scroll */
.section {
    position: relative;
    z-index: 2;
    min-height: 80vh;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.section.landing {
    min-height: 100vh;
}

.section.introduction {
    min-height: 70vh;
}

.section.manifesto-intro {
    min-height: 90vh;
}

.section.manifesto {
    min-height: 90vh;
}

.section.team {
    min-height: 50vh;
    padding-bottom: 2rem;
    position: relative;
}

/* Glassmorphism overlay for team section */
.section.team::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(96%, 1500px);
    height: calc(100% - 4rem);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    z-index: 1;
    pointer-events: none;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.section.footer {
    min-height: 60vh;
}

/* Fix for potential scroll blocking */
.has-scroll-smooth body {
    overflow: auto !important;
}

/* Locomotive scroll container fixes */
[data-scroll-container] {
    min-height: 100vh;
    position: relative;
}

/* Scroll lock prevention */
.scroll-locked {
    overflow: hidden;
    height: 100%;
}

.scroll-locked body {
    overflow: hidden;
    height: 100%;
    position: fixed;
    width: 100%;
}

/* Emergency scroll fix */
.force-scroll {
    overflow: auto !important;
    height: auto !important;
    position: relative !important;
}

.force-scroll body {
    overflow: auto !important;
    height: auto !important;
    position: relative !important;
}

/* Stars effect enhancements */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

/* Constellation lines styling */
.constellation-line {
    stroke: rgba(146, 106, 255, 0.3);
    stroke-width: 0.5;
    fill: none;
}

/* Shooting star trail */
.shooting-star {
    filter: blur(0.5px);
    opacity: 0.8;
}

/* Performance optimizations for stars */
@media (max-width: 768px) {
    #stars-canvas {
        opacity: 0.7;
    }
}

/* Two-column layout for work section on desktop */
@media (min-width: 992px) {
  .work__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: start;
  }
  .work__media {
    display: block;
  }
}

.work__media { display: none; position: relative; z-index: 2; }
.work__media-img { width: 100%; height: auto; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.35); }

/* Ensure the image shows on desktop (override order) */
@media (min-width: 992px) {
  .work__media {
    display: block;
    align-self: start;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    height: clamp(500px, 67vh, 750px);
  }
  .work__media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%; /* recorta parte superior (techo) */
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
    #stars-canvas {
        animation: none !important;
        transform: none !important;
    }
}

/* Text protection - prevent disappearing text */
.text-protected {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Smooth initial loading state */
.landing__tagline,
.landing__description,
.btn {
    /* Ensure stable initial appearance */
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Hero title can be animated like other titles */

/* Override any external animations during load */
[data-animation-complete="true"] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Prevent flash of unstyled content */
.landing__title .title-line {
    opacity: 1 !important;
    transform: none !important;
}

/* Star formation enhancements */
.star-brain {
    filter: drop-shadow(0 0 3px rgba(146, 106, 255, 0.6));
}

.star-lightbulb {
    filter: drop-shadow(0 0 5px rgba(255, 184, 41, 0.8));
}

.star-world {
    filter: drop-shadow(0 0 2px rgba(24, 155, 129, 0.5));
}

.star-argentina {
    filter: drop-shadow(0 0 4px rgba(135, 206, 235, 0.7));
}

/* Formation transition animations */
@keyframes formationTransition {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.9; }
}

.star-transitioning {
    animation: formationTransition 0.8s ease-in-out;
}

/* Prevent animation conflicts */
.no-animation-conflicts * {
    animation-fill-mode: both !important;
    opacity: 1 !important;
}

/* Emergency visibility restoration */
.force-visible {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: none !important;
}

/* Interactive stars enhancements */
.star-interactive {
    transition: all 0.2s ease-out;
    filter: brightness(1);
}

.star-interactive:hover {
    filter: brightness(1.5) drop-shadow(0 0 8px currentColor);
    transform: scale(1.2);
}

.star-magnetic {
    filter: drop-shadow(0 0 6px rgba(255, 184, 41, 0.8));
}

.star-connected {
    filter: drop-shadow(0 0 4px rgba(146, 106, 255, 0.6));
}

/* Cursor effects for interactive mode */
body.interactive-stars-active {
    cursor: none;
}

.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 184, 41, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease-out;
    backdrop-filter: blur(1px);
}

.custom-cursor.active {
    transform: scale(1.5);
    border-color: rgba(146, 106, 255, 1);
    box-shadow: 0 0 20px rgba(146, 106, 255, 0.5);
}

/* Ripple effect styles */
.star-ripple {
    position: absolute;
    border: 1px solid rgba(255, 184, 41, 0.6);
    border-radius: 50%;
    pointer-events: none;
    animation: rippleExpand 1s ease-out forwards;
}

@keyframes rippleExpand {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Magnetic field visualization */
.magnetic-field {
    position: absolute;
    border: 1px dashed rgba(24, 155, 129, 0.3);
    border-radius: 50%;
    pointer-events: none;
    animation: magneticPulse 2s ease-in-out infinite;
}

@keyframes magneticPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* Connection lines styling */
.star-connection-line {
    stroke: rgba(255, 184, 41, 0.4);
    stroke-width: 1;
    stroke-dasharray: 2, 3;
    animation: connectionFlow 2s linear infinite;
}

@keyframes connectionFlow {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: 10;
    }
}

/* Constellation patterns */
.constellation-pattern {
    stroke: rgba(146, 106, 255, 0.3);
    stroke-width: 0.8;
    fill: none;
    stroke-dasharray: 3, 2;
    animation: constellationGlow 3s ease-in-out infinite alternate;
}

@keyframes constellationGlow {
    0% {
        stroke-opacity: 0.3;
        filter: drop-shadow(0 0 2px rgba(146, 106, 255, 0.3));
    }
    100% {
        stroke-opacity: 0.7;
        filter: drop-shadow(0 0 6px rgba(146, 106, 255, 0.6));
    }
}

/* Interactive preset indicators */
.star-preset-indicator {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-family: monospace;
    z-index: 1000;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 184, 41, 0.3);
}

.star-preset-indicator.active {
    background: rgba(255, 184, 41, 0.2);
    border-color: rgba(255, 184, 41, 0.8);
    transform: scale(1.05);
}

/* Debug mode styles */
.debug-mode .text-protection-active {
    outline: 2px solid lime;
}

.debug-mode .star-formation-active {
    outline: 1px solid cyan;
}

.debug-mode .star-interactive {
    outline: 1px solid yellow;
}

/* Motion HUD Styling */
#motion-hud {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 10000 !important;
    animation: hudPulse 3s ease-in-out infinite;
}

@keyframes hudPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Enhanced star motion effects */
.star-dynamic {
    filter: brightness(1.1) drop-shadow(0 0 3px currentColor);
    animation: starFloat 4s ease-in-out infinite;
}

@keyframes starFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

/* Turbulence field visualization (debug mode) */
.turbulence-field {
    position: absolute;
    border: 1px dashed rgba(146, 106, 255, 0.2);
    border-radius: 50%;
    pointer-events: none;
    animation: turbulenceRotate 20s linear infinite;
}

@keyframes turbulenceRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Motion trail effects */
.motion-trail {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 184, 41, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: trailFade 1s ease-out forwards;
}

@keyframes trailFade {
    0% { opacity: 1; transform: scale(0.5); }
    100% { opacity: 0; transform: scale(2); }
}

/* Performance optimizations for interactions */
@media (max-width: 768px) {
    .star-interactive {
        transition: none;
    }
    
    .star-connection-line {
        display: none;
    }
    
    .constellation-pattern {
        display: none;
    }
    
    #motion-hud {
        bottom: 10px !important;
        right: 10px !important;
        font-size: 11px !important;
        padding: 8px 12px !important;
    }
    
    .motion-trail {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .star-ripple,
    .magnetic-field,
    .star-connection-line,
    .constellation-pattern {
        animation: none !important;
        transition: none !important;
    }
}

/* Removed legacy classes - now using stable intersection approach */

/* Focus states for accessibility */
.btn:focus,
.nav__link:focus,
a:focus {
    outline: 2px solid #FFB829;
    outline-offset: 2px;
}

/* Highlight keywords */
.highlight {
    color: #FFB829;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(255, 184, 41, 0.1) 0%, rgba(255, 184, 41, 0.05) 100%);
    padding: 0.1em 0.3em;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.highlight:hover {
    background: linear-gradient(135deg, rgba(255, 184, 41, 0.2) 0%, rgba(255, 184, 41, 0.1) 100%);
    transform: scale(1.02);
}

/* Selection styles */
::selection {
    background: #FFB829;
    color: #000;
}

::-moz-selection {
    background: #FFB829;
    color: #000;
}

/* ================================
   NEW SECTIONS: BLOG & CONTACT
   ================================ */

/* Blog Section */
.blog {
    padding: 4rem 1rem 8rem;
    background: #000000;
    color: #FFFFFF;
}

.blog__head {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.blog__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFB829 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog__subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #999999;
    max-width: 600px;
    margin: 0 auto;
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.blog-card {
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 184, 41, 0.3);
    box-shadow: 0 20px 40px rgba(255, 184, 41, 0.1);
}

.blog-card__category {
    display: inline-block;
    background: rgba(255, 184, 41, 0.15);
    color: #FFB829;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.blog-card__content {
    padding: 2.5rem 2rem 2rem;
}

.blog-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.blog-card__excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: #CCCCCC;
    margin-bottom: 1.5rem;
}

.blog-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #999999;
}

.blog__cta {
    text-align: center;
}

.btn--outline {
    background: transparent;
    border: 2px solid #FFB829;
    color: #FFB829;
}

.btn--outline:hover {
    background: #FFB829;
    color: #000000;
}

/* Contact Section */
.contact {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    color: #FFFFFF;
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.contact__title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFB829 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact__subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #CCCCCC;
    margin-bottom: 3rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact__item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact__label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #FFB829;
}

.contact__value {
    font-size: 1.25rem;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact__value:hover {
    color: #FFB829;
}

/* Contact Form */
.contact-form {
    background: rgba(0, 0, 0, 0.5);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #FFB829;
    background: rgba(255, 184, 41, 0.1);
}

/* Thank You Message */
.thank-you-message {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 184, 41, 0.3);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    animation: thankYouFadeIn 0.5s ease-out;
}

.thank-you-content {
    max-width: 500px;
    margin: 0 auto;
}

.thank-you-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: thankYouBounce 0.6s ease-out 0.2s both;
}

.thank-you-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.thank-you-text {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.company-name {
    color: #FFB829;
    font-weight: 600;
}

.thank-you-next-steps {
    background: rgba(255, 184, 41, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.thank-you-next-steps h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    text-align: center;
}

.thank-you-next-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.thank-you-next-steps li {
    color: #cccccc;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.thank-you-signature {
    color: #FFB829;
    font-size: 1rem;
    margin: 1.5rem 0 1rem 0;
    font-style: italic;
}

.thank-you-footer {
    color: #cccccc;
    font-size: 0.95rem;
    margin-top: 1.5rem;
}

.whatsapp-link {
    color: #FFB829;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.whatsapp-link:hover {
    border-bottom-color: #FFB829;
}

/* Loading State */
.form-loading {
    text-align: center;
    padding: 3rem 2rem;
    color: #cccccc;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 184, 41, 0.3);
    border-top: 3px solid #FFB829;
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

/* Animations */
@keyframes thankYouFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes thankYouBounce {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.btn--primary {
    background: linear-gradient(135deg, #FFB829 0%, #ffd071 100%);
    color: #000000;
    font-weight: 600;
    width: 100%;
    justify-content: center;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 184, 41, 0.3);
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .blog {
        padding: 4rem 1rem;
    }
    
    .blog__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-card__content {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .contact {
        padding: 4rem 1rem;
    }
    
    .contact__inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .form-input,
    .form-textarea {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .blog__head {
        margin-bottom: 2rem;
    }
    
    .blog__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-card__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .contact__info {
        gap: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}
