/* 
 * Quentin Judge LLC - Landing Page Styles
 * Typography: Inter
 */

:root {
    /* Color Palette */
    --clr-black: #0F0F11;
    --clr-white: #FFFFFF;
    --clr-gray-50: #F8F9FA;
    --clr-gray-100: #F1F3F5;
    --clr-gray-300: #DEE2E6;
    --clr-gray-600: #868E96;
    --clr-gray-800: #343A40;
    --clr-gray-900: #212529;

    --clr-primary: var(--clr-black);
    --clr-primary-hover: #2b2b2b;
    --clr-accent: #555555;
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1.5rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    --space-xxl: 8rem;

    /* layout */
    --max-width: 1280px;
    --transition: all 0.3s ease;
}

/* ------------------- Reset & Base ------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--clr-gray-900);
    background-color: var(--clr-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ------------------- Typography ------------------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--clr-black);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p {
    margin-bottom: 1rem;
    color: var(--clr-gray-800);
    font-size: 1.125rem;
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    color: var(--clr-gray-600);
    margin-bottom: 0.5rem;
    display: block;
}

.subtitle-max {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.text-center { text-align: center; }
.light-text { color: var(--clr-white); }
.light { color: var(--clr-gray-300); }
.mb-1 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }
.mt-2 { margin-top: 2rem; }
.max-w-800 { max-width: 800px; margin: 0 auto; }

/* ------------------- Layout ------------------- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--space-xxl) 0;
}

.bg-light { background-color: var(--clr-gray-50); }
.bg-dark { background-color: var(--clr-black); color: var(--clr-white); }

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.grid-4-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.align-center { align-items: center; }

/* ------------------- Buttons ------------------- */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border-radius: 2px;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--clr-black);
    color: var(--clr-white);
    border: 1px solid var(--clr-black);
}

.btn-primary:hover {
    background-color: var(--clr-primary-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-black);
    border: 1px solid var(--clr-black);
}

.btn-outline:hover {
    background-color: var(--clr-black);
    color: var(--clr-white);
}

.btn-outline.dark {
    border-color: var(--clr-gray-300);
}

.btn.large {
    padding: 1.2rem 3rem;
    font-size: 1.125rem;
}

/* ------------------- Header ------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--clr-white);
    border-bottom: 2px solid var(--clr-gray-800);
    padding: 1.5rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    padding: 0 4rem;
}

.logo a {
    font-weight: 500;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    color: var(--clr-black);
}

.nav ul {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav a {
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--clr-black);
    text-transform: uppercase;
}

.nav li:not(:last-child)::after {
    content: '|';
    margin-left: 1rem;
    color: var(--clr-gray-600);
    font-size: 0.8rem;
}

.nav a:hover {
    color: var(--clr-accent);
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

/* ------------------- Hero Section ------------------- */
.hero {
    padding-top: 110px; /* Offset for header + margin */
    padding-bottom: 2rem;
    background-color: var(--clr-white);
    display: flex;
    justify-content: center;
    width: 100%;
    border-bottom: 2px solid var(--clr-black);
}

.hero-slider {
    position: relative;
    width: calc(100% - 2rem);
    max-width: 1800px;
    height: 80vh;
    min-height: 600px;
    margin: 0 auto;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: -1px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 2px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-left {
    max-width: 50%;
}

.hero-right {
    max-width: 45%;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero-title-main {
    color: var(--clr-white);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0;
    line-height: 1.2;
}

.hero-title-sub {
    color: var(--clr-white);
    font-size: clamp(1.5rem, 2.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    color: var(--clr-white);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-outline.hero-btn {
    color: var(--clr-white);
    border: 1px solid var(--clr-white);
    padding: 0.8rem 2rem;
    font-weight: 400;
}

.btn-outline.hero-btn:hover {
    background-color: var(--clr-white);
    color: var(--clr-black);
}

.hero-carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.hero-carousel-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero-carousel-dots .dot.active {
    background-color: var(--clr-white);
}

/* ------------------- Program Section ------------------- */
.program {
    padding: var(--space-xxl) 4rem;
}

.program-inner {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    max-width: 1800px;
    margin: 0 auto;
    gap: 4rem;
}

.program-left {
    flex: 1;
    display: flex;
    gap: 2rem;
}

.program-left-img {
    flex: 0 0 auto;
    width: 250px;
    height: 250px;
    align-self: flex-start;
}

.program-left-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.program-left-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-main-heading {
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.02em;
    margin-bottom: 3rem;
}

.program-sub-heading {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.program-desc-caps {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.5;
    color: var(--clr-black);
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.program-area {
    margin-bottom: 1.5rem;
}

.program-area h4 {
    font-size: 0.95rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.program-area p {
    font-size: 0.95rem;
    color: var(--clr-black);
    line-height: 1.4;
    margin-bottom: 0;
}

.program-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.program-right img {
    width: 100%;
    max-width: 800px;
    height: 100%;
    object-fit: cover;
}

/* ------------------- Experience Section ------------------- */
.experience {
    position: relative;
    padding: 4rem 0;
    display: flex;
    justify-content: center;
    background-color: var(--clr-white);
    border-top: 2px solid var(--clr-black);
    /* border-bottom: 2px solid var(--clr-black); */
}

.experience-slider {
    width: calc(100% - 4rem);
    max-width: 1800px;
    margin: 0 auto;
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
}

.experience-slide {
    position: absolute;
    top: -1px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 2px);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.experience-slide.active {
    opacity: 1;
    z-index: 2;
}

.experience-content {
    position: absolute;
    z-index: 5;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 3rem;
    color: var(--clr-white);
    padding-left: 4rem;
}

.experience-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    margin: 0;
    color: var(--clr-white);
    letter-spacing: 0.05em;
}

.experience-divider {
    width: 1px;
    height: 80px;
    background-color: var(--clr-white);
}

.experience-text {
    font-size: 1.1rem;
    font-weight: 400;
    max-width: 500px;
    margin: 0;
    color: var(--clr-white);
    line-height: 1.5;
}

.experience-carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.experience-carousel-dots .exp-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.experience-carousel-dots .exp-dot.active {
    background-color: var(--clr-white);
}

.experience-carousel-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
}

.experience-carousel-dots .dot.active {
    background-color: var(--clr-white);
}


/* ------------------- How We Work Section ------------------- */
.how-we-work {
    background-color: var(--clr-gray-50);
    padding: 0;
    border-bottom: 2px solid var(--clr-gray-800);
    border-top: 2px solid var(--clr-gray-800);
}

.hww-inner {
    display: flex;
    max-width: 1800px;
    margin: 0 auto;
}

.hww-left {
    flex: 0 0 30%;
    padding: 4rem 3rem 4rem 4rem;
    border-right: 2px solid var(--clr-gray-800);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hww-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    margin-bottom: 2.5rem;
    letter-spacing: 0.02em;
    color: var(--clr-black);
}

.hww-desc {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--clr-black);
    margin: 1.5rem 0;
    max-width: 500px;
}

.hww-line {
    border: none;
    height: 1px;
    background-color: var(--clr-gray-800);
    margin: 0;
    width: 100%;
    max-width: 500px;
}

.hww-right {
    flex: 0 0 70%;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--clr-gray-50);
}

.hww-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hww-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-height: 500px;
}

/* ------------------- Philosophy Section ------------------- */
.philosophy {
    background-color: var(--clr-gray-50);
    padding: 0;
    border-bottom: 2px solid var(--clr-gray-800);
}

.philosophy-inner {
    max-width: 1800px;
    /* margin: 0 auto; */
    margin: 3rem auto;
    background-color: #000;
}

.philosophy-container {
    position: relative;
    width: 100%;
    min-height: 850px;
    background-color: #000;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.philosophy-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    background-image: url('../images/philosophy-bg.webp');
    background-size: cover;
    background-position: right center;
    z-index: 0;
}

.philosophy-left {
    flex: 0 0 55%;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.philosophy-title {
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 700;
    color: var(--clr-white);
    letter-spacing: -0.02em;
    margin: 0 0 1.5rem 0;
}

.philosophy-right {
    flex: 0 0 45%;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 3rem;
}

.philosophy-text-block {
    max-width: 500px;
    color: var(--clr-white);
}

.philosophy-text-block p {
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--clr-white);
}

.philosophy-text-block p:last-child {
    margin-bottom: 0;
}

/* ------------------- About Quentin Section ------------------- */
.about-quentin {
    background-color: var(--clr-gray-50);
    border-bottom: 2px solid var(--clr-gray-800);
}

.about-inner {
    display: flex;
    max-width: 1800px;
    margin: 0 auto;
    padding: 6rem 4rem;
    gap: 4rem;
}

.about-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    color: var(--clr-black);
}

.about-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--clr-black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-desc {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--clr-black);
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.about-img-left {
    margin-top: 4rem;
    width: 100%;
}

.about-img-left img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center 30%;
}

.about-right {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-img-right {
    width: 100%;
    margin-bottom: 4rem;
}

.about-img-right img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-text-right {
    align-self: flex-end;
    max-width: 500px;
    text-align: right;
}

.about-text-right p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--clr-black);
    margin-bottom: 1.5rem;
}

/* ------------------- Getting Started Section ------------------- */
.getting-started-new {
    background-color: var(--clr-gray-50);
    border-bottom: 2px solid var(--clr-gray-800);
}

.gs-inner {
    display: flex;
    max-width: 1800px;
    margin: 0 auto;
    padding: 6rem 4rem;
    gap: 6rem;
    align-items: center;
}

.gs-left {
    flex: 0 0 40%;
}

.gs-left img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.gs-right {
    flex: 0 0 60%;
    display: flex;
    justify-content: flex-start;
}

.gs-right-content {
    display: flex;
    gap: 5rem;
    align-items: center;
}

.gs-text-col {
    flex: 1;
    max-width: 450px;
}

.gs-title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    color: var(--clr-black);
}

.gs-desc {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--clr-black);
    text-transform: uppercase;
}

.gs-img-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 280px;
}

.gs-img-col img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.gs-img-col .btn-outline {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid var(--clr-black);
    color: var(--clr-black);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-outline:hover {
    background-color: var(--clr-black);
    color: var(--clr-white);
}

/* ------------------- Testimonials Section ------------------- */
.testimonials {
    background-color: var(--clr-gray-50);
    border-bottom: 2px solid var(--clr-gray-800);
}

.testimonials-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.test-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    color: var(--clr-black);
}

.test-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--clr-gray-600);
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}

.test-quote-icon {
    font-size: 4rem;
    font-weight: 700;
    color: var(--clr-black);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: serif;
}

.test-quotes-container {
    position: relative;
    max-width: 600px;
    width: 100%;
    margin: 0 auto 3rem auto;
    min-height: 150px; /* Alto suficiente para las frases largas */
}

.test-quote {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--clr-black);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s;
    margin: 0;
}

.test-quote.active {
    opacity: 1;
    visibility: visible;
}
.test-dots {
    display: flex;
    gap: 0.8rem;
}

.test-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
}

.test-dots .dot.active {
    background-color: #aaa;
}


/* ------------------- Select Experience Section ------------------- */
.select-experience {
    background-color: var(--clr-gray-50);
    border-bottom: 2px solid var(--clr-gray-800);
}

.exp-inner {
    display: flex;
    max-width: 1800px;
    margin: 0 auto;
    padding: 6rem 4rem;
    gap: 3rem;
}

.exp-left {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
}

.exp-title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
    color: var(--clr-black);
}

.exp-list {
    list-style: none;
    padding: 0;
    margin-bottom: 3rem;
}

.exp-list li {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--clr-black);
    margin-bottom: 0.2rem;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

.exp-left img {
    width: 65%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    margin: auto 0 0 auto; /* Alineada a la derecha y al fondo */
}

.exp-right {
    flex: 0 0 40%;
}

.exp-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
    max-height: 600px;
}

/* ------------------- Who We Work With Section ------------------- */
.who-we-work-new {
    background-color: var(--clr-gray-50);
    /* No bottom border because footer takes care of it */
}

.www-inner {
    display: flex;
    max-width: 1800px;
    margin: 0 auto;
    padding: 6rem 4rem;
    gap: 6rem;
    align-items: center;
}

.www-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Separación blanca entre las imágenes */
    height: 650px; /* Alto fijo para que el flex actúe */
}

.www-img-wrap {
    flex: 1;
    overflow: hidden;
    transition: flex 0.5s ease-in-out;
}

.www-img-wrap.active {
    flex: 5; /* Imagen activa toma más espacio */
}

.www-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.www-right {
    flex: 1;
}

.www-right-content {
    max-width: 600px;
}

.www-title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    color: var(--clr-black);
}

.www-line-arrow {
    display: flex;
    justify-content: flex-end;
    border-top: 2px solid var(--clr-black);
    padding-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.www-arrow {
    font-size: 1.2rem;
    line-height: 1;
}

.www-desc {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--clr-black);
    margin-bottom: 3rem;
}

.www-subtitle {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    color: var(--clr-black);
}

.www-accordion {
    display: flex;
    flex-direction: column;
}

.www-accordion-trigger {
    cursor: pointer;
}

.www-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.www-accordion-trigger.active .www-accordion-content {
    max-height: 200px; /* Ajusta según sea necesario */
}

.www-accordion-trigger[data-index="0"] {
    margin-bottom: 2rem;
}

.www-accordion-trigger[data-index="1"] .www-accordion-header-row,
.www-accordion-trigger[data-index="2"] .www-accordion-header-row,
.www-accordion-trigger[data-index="3"] .www-accordion-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 2px solid var(--clr-black);
    font-size: 0.95rem;
    font-weight: 500;
}

.www-accordion-trigger:last-child .www-accordion-header-row {
    border-bottom: 2px solid var(--clr-black);
}

.www-icon {
    font-size: 1.2rem;
    font-weight: 400;
    transition: transform 0.3s ease;
}

/* ------------------- New Footer ------------------- */
.footer-new {
    background-color: var(--clr-gray-50);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    max-width: 1800px;
    margin: 0 auto;
    border-top: 2px solid var(--clr-black);
}

.footer-bar {
    height: 15px;
    background-color: var(--clr-black);
    width: 100%;
}

.footer-col {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-col:not(:last-child) {
    border-right: 1px solid var(--clr-black);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo-img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    display: block;
}

.footer-services {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--clr-black);
}

.footer-get-touch {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--clr-black);
}

.footer-contact-text {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--clr-black);
    margin-bottom: 2rem;
    max-width: 400px;
}

.footer-col-2 .btn-outline {
    width: auto;
    align-self: flex-start;
}

.footer-location, .footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--clr-black);
    margin-bottom: 1rem;
}

/* ------------------- Scroll Reveal Animations ------------------- */
.reveal-up, .reveal-left, .reveal-right, .reveal-scale, .reveal-fade {
    opacity: 0;
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-scale {
    transform: scale(0.95);
}

.reveal-up.is-revealed,
.reveal-left.is-revealed,
.reveal-right.is-revealed,
.reveal-scale.is-revealed,
.reveal-fade.is-revealed {
    opacity: 1;
    transform: translate(0) scale(1);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* ------------------- Media Queries ------------------- */
@media (max-width: 992px) {
    /* Base Grid & Nav */
    .container { padding: 0 1.5rem; }
    .header-container { padding: 0 1.5rem !important; }
    .grid-2-col, .grid-3-col, .grid-4-col {
        grid-template-columns: 1fr;
    }
    .nav, .header-action { display: none; }
    
    /* Mobile Menu Active State */
    .nav.mobile-active {
        display: flex;
        position: fixed;
        top: 80px; /* Below header */
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--clr-white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2rem 1rem 4rem 1rem;
        z-index: 999;
        overflow-y: auto;
    }
    .nav.mobile-active ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        list-style: none;
        padding: 0;
    }
    .nav.mobile-active a {
        font-size: 1.5rem;
        color: var(--clr-black);
        font-weight: 500;
        letter-spacing: 0.05em;
    }

    .mobile-menu {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1000;
    }
    .mobile-menu span {
        width: 30px;
        height: 2px;
        background-color: var(--clr-black);
        transition: transform 0.3s ease;
    }
    .mobile-menu.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu.active span:nth-child(2) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .reverse .text-content { order: -1; }

    /* Hero */
    .hero-slider {
        height: auto;
        min-height: unset;
        aspect-ratio: 9 / 12;
    }
    .hero-slide {
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start; /* Anchor the bounding box to the left */
        padding: 6rem 1.5rem 4rem 1.5rem;
    }
    .hero-left, .hero-right {
        width: 65%; /* Reduced from 75% for even more right spacing */
        max-width: 450px;
        margin: 0; /* Remove auto-centering */
    }
    .hero-left {
        align-items: flex-start;
        text-align: left;
    }
    .hero-right {
        align-items: flex-end;
        text-align: right;
        margin-top: auto;
    }
    .btn-outline.hero-btn {
        align-self: flex-start; /* Touches left edge of the 85% box */
        margin-top: 2.5rem;
        width: max-content;
        max-width: 100%;
        text-align: center;
        font-size: 0.95rem;
        padding: 0.8rem 1.8rem;
    }
    .hero-title-main {
        font-size: 1.15rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
        text-align: left;
    }
    .hero-title-sub {
        font-size: 1.05rem;
        margin-bottom: 0.8rem;
        line-height: 1.2;
        text-align: right;
        margin-right: 0;
    }
    .hero-description {
        font-size: 0.8rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
        text-align: right;
        margin-right: 0;
    }

    /* Program */
    .program { padding: 3rem 1rem; }
    .program-inner {
        flex-direction: column;
        gap: 2rem;
    }
    .program-left { flex-direction: column; gap: 0; }
    .program-left-content { display: contents; }
    .program-main-heading { font-size: 1.4rem; margin-bottom: 1rem; order: -2; }
    .program-left-img {
        width: 250px;
        height: 250px;
        order: -1;
        margin-bottom: 1.5rem;
        align-self: flex-start;
    }
    .program-left-img img {
        object-position: center center;
    }
    .program-sub-heading { margin-bottom: 0.5rem; font-size: 1rem; }
    .program-sub-heading.mt-2 { margin-top: 1.5rem; padding-left: 6rem; }
    .program-desc-caps { margin-bottom: 1.5rem; }
    .program-area { margin-bottom: 1.2rem; padding-left: 6rem; }
    .program-right { padding-left: 6rem; justify-content: flex-start; }
    .program-right img {
        width: 100%;
        height: auto;
        aspect-ratio: 9 / 12;
        object-position: 65% 50%;
    }

    /* Experience */
    .experience {
        padding: 0;
        height: auto;
    }
    .experience-slider {
        width: calc(100% - 3rem);
        height: calc(100vw - 3rem);
        margin: 2rem auto;
        min-height: 0;
    }
    .experience-slide {
        background-attachment: scroll;
    }
    .experience-title { 
        font-size: 1.8rem; 
        margin-bottom: 0.5rem; 
    }
    .experience-content {
        text-align: left;
        margin-left: 6rem;
        padding: 0 1.5rem 0 0;
        display: block;
    }
    .experience-divider {
        width: 100%;
        height: 1px;
        margin-left: 0;
        margin-bottom: 1rem;
    }
    .experience p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* How We Work */
    .hww-title { font-size: 1.6rem; }
    .hww-desc { font-size: 0.85rem; }
    .hww-inner { flex-direction: column; }
    .hww-left, .hww-right {
        flex: 1;
        padding: 3rem 1rem;
        border-right: none;
    }
    .hww-left { border-bottom: 2px solid var(--clr-gray-800); }

    /* Philosophy */
    .philosophy-title { font-size: 1.8rem; }
    .philosophy-container { 
        flex-direction: column-reverse; 
        min-height: 0;
    }
    .philosophy-left { display: none; }
    .philosophy-container::before {
        position: relative;
        width: 100%;
        height: 400px;
        margin-top: 2rem;
        background-position: 85% center;
        top: auto;
        bottom: auto;
    }
    .philosophy-right {
        flex: 1;
        padding: 3rem 1.5rem;
        text-align: left;
    }

    /* About Quentin */
    .about-inner {
        display: flex;
        flex-direction: column;
        padding: 3rem 1rem;
        gap: 0;
    }
    .about-left, .about-right {
        display: contents;
    }
    .about-title { order: 1; font-size: 1.6rem; margin-bottom: 0.5rem; }
    .about-subtitle { order: 2; font-size: 1rem; margin-bottom: 1.5rem; }
    .about-desc { order: 3; margin-bottom: 1rem; }
    .about-img-right { order: 4; margin: 1rem 0 2rem 0; width: 100%; }
    .about-img-right img { width: 100%; height: auto; aspect-ratio: 9 / 12; object-fit: cover; }
    .about-text-right { order: 5; text-align: left; margin-bottom: 2rem; }
    .about-img-left { order: 6; margin-top: 0; width: 100%; }
    .about-img-left img { width: 100%; height: auto; object-fit: cover; }

    /* Getting Started */
    .gs-inner {
        display: flex;
        flex-direction: column;
        padding: 3rem 1rem;
        gap: 0;
    }
    .gs-left, .gs-right, .gs-right-content, .gs-text-col, .gs-img-col {
        display: contents;
    }
    .gs-title { order: 1; font-size: 1.6rem; margin-bottom: 1rem; }
    .gs-desc { order: 2; margin-bottom: 2rem; }
    .gs-left img { order: 3; width: 100%; aspect-ratio: 9 / 12; object-fit: cover; margin-bottom: 2rem; }
    .gs-img-col a.btn-outline { order: 4; align-self: flex-start; margin-bottom: 2rem; width: 100%; text-align: center; }
    .gs-img-col img { order: 5; width: 50%; max-width: 250px; align-self: center; aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: 0; }

    /* Testimonials */
    .testimonials-inner { padding: 3rem 1rem; }
    .test-title { font-size: 1.8rem; margin-bottom: 0; }
    .test-subtitle { font-size: 1rem; margin-bottom: 1.5rem; }
    .test-quote-icon { margin-bottom: 0.5rem; font-size: 3rem; }
    .test-quotes-container { margin-bottom: 1.5rem; min-height: 120px; }

    /* Select Experience */
    .exp-inner {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-end;
        padding: 3rem 1rem;
        gap: 0;
    }
    .exp-left, .exp-right {
        display: contents;
    }
    .exp-title { order: 1; width: 100%; font-size: 1.6rem; margin-bottom: 1rem; }
    .exp-list { order: 2; width: 100%; margin-bottom: 2rem; }
    .exp-list li { font-size: 0.85rem; line-height: 1.5; }
    
    .exp-left img {
        order: 3;
        width: 45%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        margin: 0;
    }
    .exp-right img { 
        order: 4;
        width: 50%;
        height: auto;
        min-height: 0; 
        max-height: none;
        aspect-ratio: 9 / 12;
        object-fit: cover;
        margin: 0 0 0 5%;
    }

    /* Who We Work With */
    .www-title { font-size: 1.6rem; }
    .www-inner {
        flex-direction: column-reverse;
        padding: 3rem 1rem;
    }
    .www-left {
        display: none;
    }

    /* Footer */
    .footer-inner { grid-template-columns: 1fr; }
    .footer-col { padding: 3rem 1rem; }
    .footer-col:not(:last-child) {
        border-right: none;
        border-bottom: 2px solid var(--clr-black);
    }
    .footer-col-1, .footer-col-2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-col-2 .btn-outline {
        align-self: center;
    }
    
    /* Mobile Floating CTA */
    .mobile-floating-cta {
        display: flex !important;
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        background-color: var(--clr-black);
        color: var(--clr-white);
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        transition: transform 0.3s ease;
    }
    .mobile-floating-cta:active {
        transform: scale(0.95);
    }
}

.mobile-floating-cta {
    display: none;
}
