/* ========================================
   SLG SOCIAL CLUB - PREMIUM LANDING PAGE
   Color Palette: Sand (#d4c5b9), Black (#000000), Cream (#fafafa)
   Typography: Cormorant Garamond (headlines), Inter (body)
   ======================================== */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Improve image rendering on mobile */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Smooth scrolling for iOS */
html {
    -webkit-overflow-scrolling: touch;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:root {
    --color-sand: #d4c5b9;
    --color-black: #000000;
    --color-cream: #fafafa;
    --color-white: #ffffff;
    --color-sand-light: #e8e0d8;
    --color-sand-dark: #c0b3a5;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-black);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Mobile optimization */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(48px, 7vw, 72px);
}

h2 {
    font-size: clamp(36px, 5vw, 56px);
}

h3 {
    font-size: clamp(24px, 3vw, 32px);
}

p {
    font-size: 16px;
    line-height: 1.8;
}

@media (min-width: 768px) {
    p {
        font-size: 18px;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    /* Touch-friendly */
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background-color: var(--color-black);
    color: var(--color-white);
    border: 0.5px solid var(--color-sand);
}

.btn-primary:hover {
    background-color: var(--color-sand);
    color: var(--color-black);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 197, 185, 0.3);
    border-color: var(--color-sand);
}
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-black);
    border: 1px solid var(--color-black);
}

.btn-secondary:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-large {
    padding: 20px 60px;
    font-size: 14px;
}

.btn-header {
    padding: 12px 32px;
    font-size: 11px;
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-header:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

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

.header.scrolled {
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.logo {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.btn-header {
    margin-left: auto;
}

.logo-img {
    height: 180px;
    width: auto;
    transition: var(--transition);
    object-fit: contain;
    object-position: center;
    display: block;
    /* Crop blank space by scaling */
    transform: scale(1.3);
}

.logo:hover .logo-img {
    opacity: 0.8;
}

/* ===== HERO SECTION WITH VIDEO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background-color: var(--color-cream);
    background-image: linear-gradient(rgba(250, 250, 250, 0.88), rgba(250, 250, 250, 0.82)), url('../images/slg-rooftop-pilates.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

/* Video loaded state - hide background image */
.hero-video-loaded .hero {
    background-image: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.50));
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 2;
}

/* Fallback for browsers that don't support video */
@supports not (object-fit: cover) {
    .hero {
        background-image: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.50)), url('../images/slg-rooftop-pilates.jpg');
        background-size: cover;
        background-position: center;
    }
    .hero-video {
        display: none;
    }
}

.hero-title {
    margin-bottom: 24px;
    color: var(--color-white);
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    color: var(--color-white);
    margin-bottom: 40px;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 20px;
    }
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--color-white);
    opacity: 0.7;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background-color: var(--color-white);
    animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
    0%, 100% {
        transform: scaleY(0.5);
        opacity: 0.3;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

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

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-sand-dark);
    text-transform: uppercase;
}

/* ===== FRAMEWORK SECTION (WHY/HOW/WHAT) ===== */
.framework {
    padding: 120px 0;
    background-color: var(--color-white);
}

.framework-grid {
    display: grid;
    gap: 80px;
}

@media (min-width: 1024px) {
    .framework-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 60px;
    }
}

.framework-item {
    text-align: left;
}

.framework-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-sand-dark);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.framework-title {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: 24px;
}

.framework-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-black);
    opacity: 0.7;
}

/* ===== AUDIENCE SECTION ===== */
.audience {
    padding: 120px 0;
    background-color: var(--color-cream);
}

.audience-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.audience-item {
    text-align: center;
    padding: 40px 24px;
    background-color: var(--color-white);
    border: 1px solid var(--color-sand-light);
    transition: var(--transition);
}

.audience-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-color: var(--color-sand);
}

.audience-item i {
    font-size: 32px;
    color: var(--color-sand-dark);
    margin-bottom: 24px;
}

.audience-item h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 12px;
}

.audience-item p {
    font-size: 15px;
    color: var(--color-black);
    opacity: 0.6;
}

/* ===== SOCIAL PROOF SECTION ===== */
.social-proof {
    padding: 120px 0;
    background-color: var(--color-white);
}

.instagram-widget-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 80px;
}

.instagram-grid-embed {
    width: 100%;
    max-width: 100%;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 0;
    width: 100%;
    overflow: hidden;
}

.instagram-item {
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Forces 1:1 square */
}

.instagram-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 197, 185, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
}

.instagram-item:hover {
    transform: scale(1.02);
}

.instagram-item:hover::after {
    opacity: 1;
}

.testimonials {
    display: grid;
    gap: 40px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .testimonials {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px;
    }
}

.testimonial-item {
    padding: 40px;
    background-color: var(--color-cream);
    border-left: 3px solid var(--color-sand);
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--color-black);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    font-weight: 500;
    font-size: 16px;
}

.testimonial-author span {
    font-size: 14px;
    color: var(--color-black);
    opacity: 0.6;
}

.instagram-cta {
    text-align: center;
}

.btn-secondary i {
    margin-right: 8px;
}

/* ===== PARTNERS SECTION ===== */
.partners {
    padding: 120px 0;
    background-color: var(--color-cream);
}

.partners-grid {
    display: grid;
    gap: 60px;
}

@media (min-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 80px;
    }
}

.partner-category {
    text-align: left;
}

.partner-category-title {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-sand-dark);
    text-transform: uppercase;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-sand-light);
}

.partner-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.partner-item {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 300;
    color: var(--color-black);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.partner-item:hover {
    color: var(--color-sand-dark);
    transform: translateX(8px);
}

.partner-desc {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-black);
    opacity: 0.6;
    margin: 4px 0 16px 0;
    font-style: italic;
}

.partner-featured {
    font-size: 28px;
    font-weight: 400;
}

.partner-featured-category {
    background-color: var(--color-sand-light);
    padding: 32px;
    border-radius: 0;
    transition: var(--transition);
    position: relative;
}

.partner-featured-category:hover {
    background-color: var(--color-sand);
    transform: translateY(-4px);
}

.featured-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-black);
    background-color: var(--color-sand-dark);
    padding: 6px 16px;
    margin-bottom: 16px;
    opacity: 0.8;
}

.partner-description {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-black);
    opacity: 0.6;
    margin-top: 12px;
    font-style: italic;
}

.partner-product {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    color: var(--color-black);
    opacity: 0.5;
    margin-top: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.partner-product:hover {
    opacity: 0.8;
    color: var(--color-sand-dark);
}

/* ===== MISSION SECTION ===== */
.mission {
    padding: 120px 0;
    background-color: var(--color-black);
    color: var(--color-white);
}

.mission-grid {
    display: grid;
    gap: 80px;
}

@media (min-width: 1024px) {
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 100px;
    }
}

.mission-item {
    text-align: left;
}

.mission-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-sand);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.mission-title {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--color-white);
    margin-bottom: 24px;
}

.mission-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-white);
    opacity: 0.7;
}

/* ===== EXPERIENCE COLLAGE SECTION ===== */
.experience-collage {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.collage-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 0;
    opacity: 0.3;
}

.collage-item {
    background-size: cover;
    background-position: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.collage-item:hover {
    opacity: 1;
    transform: scale(1.05);
    z-index: 10;
}

.collage-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.65));
    z-index: 1;
}

.collage-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    padding: 60px 40px;
    color: var(--color-white);
}

.collage-title {
    font-size: clamp(48px, 6vw, 72px);
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.collage-text {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 300;
    line-height: 1.6;
    opacity: 0.9;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .experience-collage {
        min-height: 80vh;
    }
    
    .collage-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 1fr);
        opacity: 0.5; /* Increased from 0.3 for better visibility on mobile */
    }
    
    .collage-content {
        padding: 40px 24px;
    }
    
    .collage-title {
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .collage-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 1fr);
        opacity: 0.6; /* Even more visible on small mobile */
    }
}

/* ===== FINAL CTA SECTION ===== */
.final-cta {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--color-sand-light) 0%, var(--color-sand) 100%);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 18px;
    margin-bottom: 60px;
    opacity: 0.8;
}

/* ===== TYPEFORM-STYLE QUIZ =====  */
.typeform-quiz {
    position: relative;
    min-height: 500px;
}

.quiz-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.quiz-progress-bar {
    flex: 1;
    height: 4px;
    background-color: rgba(212, 197, 185, 0.3);
    position: relative;
    overflow: hidden;
    margin-right: 20px;
}

.quiz-progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 20%;
    background-color: var(--color-black);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-step-counter {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-black);
    opacity: 0.5;
}

#currentStep {
    font-weight: 600;
    opacity: 1;
}

.quiz-step {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease-out;
}

.quiz-question {
    max-width: 600px;
    margin: 0 auto;
}

.quiz-number {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-sand-dark);
    margin-bottom: 16px;
}

.quiz-question h3 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 32px;
    font-weight: 300;
}

.quiz-question .optional {
    font-size: 20px;
    color: var(--color-sand-dark);
    font-weight: 300;
}

.quiz-question input[type="text"],
.quiz-question input[type="email"],
.quiz-question textarea {
    width: 100%;
    padding: 20px 0;
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 300;
    color: var(--color-black);
    background-color: transparent;
    border: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    margin-bottom: 32px;
}

.quiz-question input:focus,
.quiz-question textarea:focus {
    outline: none;
    border-bottom-color: var(--color-black);
}

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

.quiz-choices {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.quiz-choice {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background-color: var(--color-white);
    border: 2px solid rgba(0, 0, 0, 0.1);
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    color: var(--color-black);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.quiz-choice:hover {
    border-color: var(--color-sand);
    background-color: var(--color-sand-light);
    transform: translateX(8px);
}

.quiz-choice.selected {
    border-color: var(--color-black);
    background-color: var(--color-black);
    color: var(--color-white);
}

.choice-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: rgba(0, 0, 0, 0.05);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.quiz-choice.selected .choice-letter {
    background-color: var(--color-white);
    color: var(--color-black);
}

.quiz-nav {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.quiz-next-btn,
.quiz-back-btn {
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.quiz-next-btn {
    background-color: var(--color-black);
    color: var(--color-white);
    flex: 1;
}

.quiz-next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.quiz-next-btn i {
    margin-left: 8px;
}

.quiz-back-btn {
    background-color: transparent;
    color: var(--color-black);
    opacity: 0.5;
}

.quiz-back-btn:hover {
    opacity: 1;
}

.quiz-back-btn i {
    margin-right: 8px;
}

.quiz-submit-btn {
    width: 100%;
    margin-top: 16px;
}

.quiz-hint {
    font-size: 13px;
    color: var(--color-black);
    opacity: 0.4;
    margin-top: 16px;
    text-align: center;
}

/* Old form styles (keep for compatibility) */
.cta-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.form-group {
    width: 100%;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 24px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    color: var(--color-black);
    background-color: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-black);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

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

.form-note {
    font-size: 13px;
    text-align: center;
    margin-top: 16px;
    opacity: 0.6;
}

.form-success {
    display: none;
    padding: 60px 40px;
    background-color: var(--color-white);
    border: 2px solid var(--color-sand);
    text-align: center;
}

.form-success.active {
    display: block;
}

.form-success i {
    font-size: 48px;
    color: var(--color-sand-dark);
    margin-bottom: 24px;
}

.form-success h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

.form-success p {
    font-size: 16px;
    opacity: 0.7;
}

/* ===== FOOTER ===== */
.footer {
    padding: 80px 0 40px;
    background-color: var(--color-black);
    color: var(--color-white);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
}

.footer-brand {
    flex: 1;
    text-align: center;
    width: 100%;
}

.footer-logo {
    height: 180px;
    width: auto;
    margin: 0 auto 16px;
    opacity: 1;
    object-fit: contain;
    display: block;
    /* Crop blank space by scaling */
    transform: scale(1.3);
}

.footer-brand p {
    font-size: 14px;
    opacity: 0.6;
}

.footer-links {
    display: flex;
    gap: 24px;
    position: absolute;
    right: 0;
    top: 0;
}

.footer-links a {
    font-size: 24px;
    color: var(--color-white);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-sand);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 13px;
    color: var(--color-white);
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--color-sand);
}

.footer-divider {
    color: var(--color-white);
    opacity: 0.3;
    font-size: 13px;
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.5;
    margin-bottom: 8px;
}

.footer-tagline {
    font-style: italic;
}

.footer-credit {
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.7;
}

.acromatico-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.acromatico-link:hover {
    opacity: 1;
    border-bottom-color: var(--color-sand);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */

/* Tablet landscape and below */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }
    
    h1 {
        font-size: 48px;
    }
    
    .framework-grid,
    .mission-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .event-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* Mobile and small tablets */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .container {
        padding: 0 24px;
    }
    
    /* Header mobile optimization */
    .header {
        padding: 12px 0;
    }
    
    .header-content {
        padding: 12px 0;
    }
    
    .logo-img {
        height: 130px;
        transform: scale(1.3);
    }
    
    .btn-header {
        padding: 10px 20px;
        font-size: 11px;
    }
    
    /* Hero mobile optimization */
    .hero {
        min-height: 100vh;
        padding: 120px 0 80px;
    }
    
    /* On mobile, use static image with BLACK overlay instead of video */
    .hero-video {
        display: none;
    }
    
    .hero {
        background-image: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.50)), url('../images/slg-rooftop-pilates.jpg');
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
    }
    
    h1 {
        font-size: 36px;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 32px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .btn-large {
        padding: 16px 40px;
        font-size: 12px;
    }
    
    /* Section spacing mobile */
    .framework,
    .audience,
    .social-proof,
    .partners,
    .mission,
    .final-cta {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .section-subtitle {
        font-size: 12px;
        letter-spacing: 0.2em;
        margin-bottom: 12px;
    }
    
    /* Framework grid mobile */
    .framework-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    /* Audience grid mobile */
    .audience-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* Instagram grid mobile - 2 columns with proper sizing */
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        grid-auto-rows: 1fr;
    }
    
    .instagram-item {
        aspect-ratio: 1 / 1;
        min-height: 0;
        width: 100%;
        height: 0;
        padding-bottom: 100%;
        position: relative;
        background-size: cover;
        background-position: center;
    }
    
    /* Partner grid mobile */
    .partner-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .partner-category h3 {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    /* Event grid mobile - single column */
    .event-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    /* Quiz mobile optimization */
    .quiz-container {
        padding: 40px 24px;
    }
    
    .quiz-question {
        font-size: 24px;
        margin-bottom: 32px;
    }
    
    .quiz-input,
    .quiz-textarea,
    .quiz-select {
        font-size: 16px;
        padding: 16px;
    }
    
    .choice-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .choice-btn {
        padding: 16px 20px;
        font-size: 14px;
    }
    
    .quiz-buttons {
        flex-direction: column-reverse;
        gap: 12px;
    }
    
    .quiz-btn {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        justify-content: center;
    }
    
    /* Footer mobile */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 32px;
    }
    
    .footer-logo {
        height: 130px;
        transform: scale(1.3);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .logo-img {
        height: 100px;
        transform: scale(1.3);
    }
    
    .btn-header {
        padding: 8px 16px;
        font-size: 10px;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        grid-auto-rows: 1fr;
    }
    
    .instagram-item {
        aspect-ratio: 1 / 1;
        max-height: none;
        width: 100%;
        height: 0;
        padding-bottom: 100%;
    }
    
    .quiz-question {
        font-size: 20px;
    }
    
    .partner-category {
        padding: 24px;
    }
    
    .event-item {
        padding: 32px 24px;
    }
}