* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --beige: #faf7f3;
    --brown: #774828;
    --dark-brown: #5C4830;
    --border-light: #a67c6c;
    --text-dark: #2C2416;
    --accent: #D4A574;
    --light-gray: #E8E0D0;
    --hero-cream: #fafaed;
    --tile-border: #ab733f;
    --tile-light: #fefef4;
    --tile-dark: #fafaed;
    --collapsible-arrow: #643f27;
    --collapsible-expand: #fffffc;
    --carousel-arrow-size: 36px;
    --carousel-arrow-outset: 4px;
    --btn-bevel-bg:
        linear-gradient(to bottom, #d3cebf 0, rgba(250, 250, 237, 0) 10px),
        linear-gradient(to top, #d3cebf 0, rgba(250, 250, 237, 0) 10px),
        linear-gradient(to right, #d3cebf 0, rgba(250, 250, 237, 0) 10px),
        linear-gradient(to left, #d3cebf 0, rgba(250, 250, 237, 0) 10px),
        var(--hero-cream);
}

body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ============ SITE NAV / MOBILE MENU ============ */
.site-nav-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background:
        linear-gradient(to bottom, #d3cebf 0, rgba(250, 250, 237, 0) 6px),
        linear-gradient(to top, #d3cebf 0, rgba(250, 250, 237, 0) 6px),
        linear-gradient(to right, #d3cebf 0, rgba(250, 250, 237, 0) 6px),
        linear-gradient(to left, #d3cebf 0, rgba(250, 250, 237, 0) 6px),
        var(--hero-cream);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    transition: filter 0.2s ease;
}

.site-nav-toggle:hover {
    filter: brightness(0.98);
}

.site-nav-icon {
    display: block;
    width: 20px;
    height: 2px;
    background: #643f27;
    box-shadow: 0 -6px 0 #643f27, 0 6px 0 #643f27;
}

@media (max-width: 767px) {
    .site-nav-toggle {
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }

    .site-nav-icon {
        width: 14px;
        box-shadow: 0 -5px 0 #643f27, 0 5px 0 #643f27;
    }

    .mobile-menu {
        top: 52px;
        right: 10px;
    }
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    right: 20px;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 999;
    min-width: 220px;
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 4px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.3;
}

.mobile-menu a:hover {
    background-color: var(--beige);
}


/* ============ SECTIONS ============ */
section {
    padding: 80px 60px;
    min-height: auto;
}

section.hero-section {
    padding: 0;
}

section.section-light,
section.section-dark {
    color: #000;
}

section.section-light p,
section.section-dark p,
section.section-light .subtitle,
section.section-dark .subtitle,
section.section-light li,
section.section-dark li {
    color: #000;
}

section.section-light {
    background-color: #f4f1ed;
    color: #000;
}

html.textures-loaded section.section-light {
    background-image: url('images/light_tiles_f4f1ed.webp');
    background-repeat: repeat;
}

section.section-dark {
    background-color: #643f27;
    color: #000;
}

html.textures-loaded section.section-dark {
    background-image: url('images/wood_background.webp');
    background-repeat: repeat;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

section.section-light h2,
section.section-dark h2,
section.section-light h3,
section.section-dark h3,
section.section-light .stat-number,
section.section-dark .stat-number,
.agenda-header-title,
.speaker-card h3,
.contact-box h3 {
    font-family: 'Tenor Sans', sans-serif;
    font-weight: 400;
}

/* Tile body text — Manrope everywhere except Statistics numbers */
.business-tile,
.audience-tile,
.collapsible-header,
.collapsible-text,
.collapsible-text p,
.agenda-visible,
.agenda-header-subtitle,
.price-item-content,
.price-benefits,
.review-card,
.review-card p,
.partner-tile,
.contact-box p,
.speaker-info,
.speaker-role,
.speaker-info ul,
.speaker-info li,
.stat-label {
    font-family: 'Manrope', sans-serif;
}

h1,
h2,
h3 {
    font-family: 'Tenor Sans', sans-serif;
    font-weight: 400;
}

h1 {
    font-size: 52px;
    margin-bottom: 20px;
}

h2 {
    font-size: 44px;
    margin-bottom: 30px;
    color: #000;
}

section.section-dark h2 {
    color: var(--hero-cream);
}

.subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

@media (min-width: 1001px) and (max-width: 1132px) {
    .subtitle {
        font-size: 16px;
    }
}

@media (min-width: 1133px) and (max-width: 1232px) {
    .subtitle {
        font-size: 18px;
    }
}

p {
    font-size: 15px;
    margin-bottom: 15px;
    line-height: 1.8;
}

/* ============ HERO SECTION ============ */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 0;
    height: clamp(500px, 100vh, 2000px);
    min-height: 500px;
    max-height: 2000px;
}

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

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: 1fr 1fr;
    height: 100%;
    padding: 56px 48px 48px;
    box-sizing: border-box;
}

.hero-upper {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: stretch;
    align-self: center;
    width: 100%;
    margin: auto 0;
}

.hero-logo-wrap {
    display: flex;
    align-items: stretch;
}

.hero-logo {
    max-width: 196px;
    width: auto;
    height: 100%;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.hero-headline {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    color: var(--hero-cream);
    font-family: 'Tenor Sans', sans-serif;
    text-align: center;
}

.hero-line {
    margin: 0;
    line-height: 1.25;
}

.hero-line-1 {
    font-size: 28px;
}

.hero-line-2 {
    font-size: 40px;
}

.hero-line-2-narrow {
    display: none;
}

.hero-line-3 {
    font-size: 25px;
}

.hero-lower {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.hero-tagline {
    color: var(--hero-cream);
    font-family: 'Tenor Sans', sans-serif;
    font-size: 24px;
    line-height: 1.35;
    margin: 0;
    text-align: center;
    width: 100%;
}

.hero-tagline-narrow {
    display: none;
}

.hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 280px;
    padding: 14px 48px 14px 20px;
    margin-top: 50px;
    border: none;
    border-radius: 16px;
    background: var(--btn-bevel-bg);
    color: #000;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: filter 0.2s ease;
}

.hero-cta:hover {
    filter: brightness(0.98);
}

.hero-cta img,
.hero-cta span {
    position: relative;
}

.hero-cta img {
    height: 42px;
    width: auto;
    flex-shrink: 0;
}

.hero-cta span {
    white-space: nowrap;
}

.price-cta {
    transform: scale(0.8);
    transform-origin: left center;
    margin-top: 24px;
}

@media (max-width: 767px) {
    .hero-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        padding: 56px 24px 32px;
        text-align: center;
    }

    .hero-upper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        width: 100%;
    }

    .hero-logo-wrap {
        display: block;
    }

    .hero-logo {
        max-width: 140px;
        height: auto;
    }

    .hero-headline {
        justify-content: center;
        height: auto;
        gap: 16px;
        text-align: center;
    }

    .hero-line-1 {
        font-size: 17.5px;
    }

    .hero-line-2 {
        font-size: 28px;
    }

    .hero-line-2-wide {
        display: none;
    }

    .hero-line-2-narrow {
        display: inline;
    }

    .hero-line-3 {
        font-size: 16px;
    }

    .hero-tagline {
        font-size: 20px;
    }

    .hero-cta {
        font-size: 12px;
    }

    .hero-lower {
        align-items: center;
        width: 100%;
        margin-top: auto;
        padding-top: 24px;
    }

    .hero-tagline-wide {
        display: none;
    }

    .hero-tagline-narrow {
        display: inline;
    }
}

.business-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .business-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

.audience-grid > .audience-tile {
    width: 100%;
}

@media (min-width: 1100px) {
    .audience-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.business-tile {
    background-color: var(--tile-light);
    color: #000;
    padding: 28px;
    border-radius: 16px;
    border: 2px solid var(--tile-border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

section.section-dark .business-tile {
    background-color: var(--tile-dark);
}

.business-tile img {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 16px;
    object-fit: cover;
    align-self: center;
    margin-bottom: 18px;
}

#value .business-tile img {
    width: 84px;
    height: 84px;
    border-radius: 11px;
}

.business-tile p {
    flex: 1;
}

@media (min-width: 1100px) {
    .business-tile {
        flex-direction: row;
        align-items: center;
        min-height: 180px;
    }

    .business-tile img {
        margin-bottom: 0;
    }
}

.hero-tile p {
    margin-bottom: 10px;
}

/* ============ AUDIENCE TILES ============ */
.audience-tile {
    background-color: var(--tile-light);
    padding: 30px;
    border-radius: 16px;
    border: 2px solid var(--tile-border);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    color: #000;
}

section.section-dark .audience-tile {
    background-color: var(--tile-dark);
}

.audience-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.audience-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.audience-tile p {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

@media (max-width: 1099px) {
    .audience-grid {
        gap: 15px;
    }

    .audience-tile {
        flex-direction: row;
        text-align: left;
        align-items: center;
        padding: 12px 15px;
        gap: 15px;
        /* Equal row height: icon + padding, or up to ~3 lines of text */
        min-height: max(calc(55px + 24px), calc(16px * 1.45 * 3 + 24px));
    }

    .audience-icon {
        width: 55px;
        height: 55px;
        border-radius: 12px;
        flex-shrink: 0;
    }

    .audience-tile p {
        flex: 1;
        line-height: 1.45;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .audience-tile {
        min-height: max(calc(55px + 24px), calc(16px * 1.45 * 4 + 24px));
    }
}

.audience-break {
    display: inline;
}

@media (min-width: 1100px) {
    .audience-break {
        display: block;
    }
}

/* ============ COLLAPSIBLE ITEMS ============ */
.collapsible-item {
    margin-bottom: 15px;
    border-radius: 16px;
    overflow: hidden;
}

/* Agenda header title/subtitle inside collapsible headers */
.agenda-header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Wide/medium screens: day + title on one line, subtitle below with extra space */
@media (min-width: 768px) {
    .agenda-header-text {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 6px;
    }

    .agenda-header-subtitle {
        flex-basis: 100%;
        margin-top: 8px; /* creates an empty line between title and subtitle */
    }
}

.agenda-day {
    font-family: 'Tenor Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
}

.agenda-header-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
}

.agenda-header-subtitle {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.3;
    opacity: 0.9;
    margin-top: 8px; /* empty line between title and subtitle on all screens */
}

section.section-light .collapsible-item,
section.section-dark .collapsible-item {
    background-color: transparent;
    border: 2px solid var(--tile-border);
}

section.section-light .collapsible-header {
    background-color: var(--tile-light);
    color: #000;
}

section.section-dark .collapsible-header {
    background-color: var(--tile-dark);
    color: #000;
}

.collapsible-header {
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    transition: background-color 0.3s ease;
    position: relative;
}

/* Case study headers: two typography styles on one line */
.case-header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Wide/medium screens: case-label + case-title on one line (like agenda) */
@media (min-width: 768px) {
    .case-header-text {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 6px;
    }
}

.case-label {
    font-family: 'Tenor Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
}

.case-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
}

@media (max-width: 1099px) {
    .collapsible-header {
        font-weight: 400;
    }

    .main-topics .collapsible-header {
        font-weight: 700;
    }
}

.collapsible-header img {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    border-radius: 12px;
    object-fit: cover;
}

.main-topics .collapsible-header {
    display: flex;
    align-items: center;
}

.main-topics .collapsible-header img {
    flex-shrink: 0;
}

.main-topics .collapsible-header > span:not(.collapsible-toggle) {
    flex: 1;
    text-align: center;
}

.main-topics .collapsible-header .collapsible-toggle {
    flex-shrink: 0;
    margin-left: auto;
}

.collapsible-header:hover {
    filter: brightness(0.97);
}

.collapsible-toggle {
    font-size: 20px;
    color: var(--collapsible-arrow);
    transition: transform 0.3s ease;
}

.collapsible-toggle.active {
    transform: rotate(180deg);
}

.collapsible-content {
    height: 0;
    overflow: hidden;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--collapsible-expand);
}

.collapsible-inner {
    padding: 20px;
}

.collapsible-text,
.price-item-content,
.price-benefits {
    background-color: var(--collapsible-expand);
}

/* Always-visible part of agenda items (larger than the hidden part) */
.agenda-visible {
    padding: 20px 20px 10px;
    background-color: var(--collapsible-expand);
    border-top: 1px solid var(--tile-border);
    font-size: 15px;
    line-height: 1.65;
}

.agenda-visible ul {
    margin: 12px 0 0;
    padding-left: 20px;
}

.agenda-visible li {
    margin-bottom: 6px;
}

.collapsible-text {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
}

.collapsible-text p {
    font-weight: 400 !important;
    font-family: 'Manrope', sans-serif;
}

.collapsible-text ul {
    list-style-position: inside;
    margin-left: 20px;
}

.collapsible-text li {
    margin-bottom: 10px;
}

@media (max-width: 700px) {
    #agenda .collapsible-inner {
        padding: 15px 12px;
    }

    #agenda .collapsible-text ul {
        margin-left: 0;
        padding-left: 1.1em;
        list-style-position: outside;
    }
}

/* ============ AGENDA ============ */
.agenda-item {
    background-color: white;
    padding: 25px;
    margin: 20px 0;
    border-radius: 16px;
    border-left: 5px solid var(--brown);
    font-size: 16px;
}

section.section-light .agenda-item {
    background-color: var(--tile-light);
    border-left-color: var(--tile-border);
    color: #000;
}

section.section-dark .agenda-item {
    background-color: var(--tile-dark);
    border-left-color: var(--tile-border);
    color: #000;
}

.agenda-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 18px;
    font-weight: bold;
    padding: 20px;
    background-color: var(--accent);
    border-radius: 16px;
    color: white;
}

/* ============ PRICING ============ */
.pricing-intro {
    font-size: 16px;
    margin-bottom: 30px;
    font-style: italic;
}

.price-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(to right, var(--brown), var(--accent));
    color: white;
    border-radius: 16px 16px 0 0;
    font-weight: bold;
}

.price-item-header .emoji {
    margin-right: 10px;
}

.price-item-content {
    background-color: var(--collapsible-expand);
    padding: 0;
}

.price-old {
    text-decoration: line-through;
    font-size: 14px;
    opacity: 0.7;
}

.price-new {
    font-weight: bold;
    font-size: 18px;
}

.price-benefits {
    padding: 20px;
    font-size: 15px;
}

.price-benefits li {
    margin: 8px 0;
}

/* ============ GALLERY / CAROUSEL ============ */
.carousel {
    position: relative;
    background-color: rgba(0,0,0,0.05);
    padding: 0;
    border-radius: 16px;
    margin-top: 30px;
}

section.section-dark .carousel {
    background-color: transparent;
}

.carousel-container {
    overflow: hidden;
    border-radius: 16px;
}

.carousel-slide {
    display: none;
    text-align: center;
    width: 100%;
    overflow: hidden;
}

.carousel-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.carousel-placeholder {
    background: linear-gradient(135deg, var(--brown), var(--accent));
    aspect-ratio: 2 / 3;
    height: auto;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    border-radius: 16px;
}

.carousel-slide img {
    aspect-ratio: 2 / 3;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
    margin-top: 0;
}

.carousel-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.45);
    color: white;
    border: none;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background-color 0.2s, transform 0.2s;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.65);
}

/* Dark brown semi-transparent arrows for speakers, gallery, and reviews (desktop) */
.speakers-carousel .carousel-btn.desktop-only,
.photo-gallery-carousel .carousel-btn.desktop-only,
.reviews-carousel .carousel-btn.desktop-only {
    background-color: rgba(100, 63, 39, 0.55);
    color: #fff;
}

.speakers-carousel .carousel-btn.desktop-only:hover,
.photo-gallery-carousel .carousel-btn.desktop-only:hover,
.reviews-carousel .carousel-btn.desktop-only:hover {
    background-color: rgba(100, 63, 39, 0.75);
}

section.section-dark .carousel-btn {
    background-color: rgba(0, 0, 0, 0.45);
}

section.section-dark .carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.65);
}

/* Cards align with section content; arrows sit just outside on desktop */
.speakers-carousel,
.photo-gallery-carousel,
.reviews-carousel {
    position: relative;
    width: 100%;
}

.speakers-track,
.gallery-track,
.reviews-track {
    width: 100%;
    min-width: 0;
}

@media (min-width: 701px) {
    .speakers-carousel .carousel-btn,
    .photo-gallery-carousel .carousel-btn,
    .reviews-carousel .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }

    .speakers-carousel .carousel-btn:first-child,
    .photo-gallery-carousel .carousel-btn:first-child,
    .reviews-carousel .carousel-btn:first-child {
        left: calc(-1 * (var(--carousel-arrow-size) + var(--carousel-arrow-outset)));
    }

    .speakers-carousel .carousel-btn:last-child,
    .photo-gallery-carousel .carousel-btn:last-child,
    .reviews-carousel .carousel-btn:last-child {
        right: calc(-1 * (var(--carousel-arrow-size) + var(--carousel-arrow-outset)));
    }

    .speakers-carousel .carousel-btn:hover,
    .photo-gallery-carousel .carousel-btn:hover,
    .reviews-carousel .carousel-btn:hover {
        transform: translateY(-50%) scale(1.1);
    }
}

@media (min-width: 701px) and (max-width: 1000px) {
    .speakers-carousel .carousel-btn:first-child,
    .photo-gallery-carousel .carousel-btn:first-child,
    .reviews-carousel .carousel-btn:first-child {
        left: 8px;
    }

    .speakers-carousel .carousel-btn:last-child,
    .photo-gallery-carousel .carousel-btn:last-child,
    .reviews-carousel .carousel-btn:last-child {
        right: 8px;
    }
}

/* ============ STATS ============ */
.stats-section {
    padding: 40px 60px 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 20px;
}

@media (min-width: 800px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-box {
    text-align: center;
    padding: 14px;
    background-color: var(--tile-light);
    border: 2px solid var(--tile-border);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    color: #000;
}

section.section-dark .stat-box {
    background-color: var(--tile-dark);
}

.stat-number {
    font-family: 'Tenor Sans', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #000;
    margin-bottom: 8px;
}

.stat-label {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    opacity: 0.85;
    color: #000;
}

/* ============ SPEAKERS ============ */
.speaker-carousel .carousel-slide {
    padding: 10px;
}

.speaker-card {
    background: var(--tile-light);
    border: 2px solid var(--tile-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    max-width: 380px;
    margin: 0 auto;
    color: #000;
}

section.section-dark .speaker-card {
    background: var(--tile-dark);
}

.speaker-card img {
    width: 95%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    margin: 8px auto 0;
}

.speaker-info {
    padding: 16px 20px 20px;
    flex-grow: 1;
}

.speaker-info h3 {
    font-size: 20px;
    margin-bottom: 4px;
    color: #000;
    text-align: center;
}

.speaker-role {
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
    opacity: 0.9;
    font-size: 14px;
}

.speaker-info ul {
    margin-left: 16px;
    line-height: 1.55;
    font-size: 14px;
}

.speaker-info li {
    margin-bottom: 4px;
    font-size: 14px;
}

/* ============ SPEAKERS CAROUSEL (horizontal single-row scroll) ============ */
.speakers-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 10px;
}

.speakers-track::-webkit-scrollbar {
    display: none;
}

.speakers-track .speaker-card {
    flex: 0 0 calc((100% - 48px) / 3);
    max-width: none;
    margin: 0;
    scroll-snap-align: start;
}

@media (max-width: 1100px) {
    .speakers-track .speaker-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 700px) {
    .speakers-track .speaker-card {
        flex: 0 0 100%;
    }
}

/* Hide arrows on mobile */
@media (max-width: 700px) {
    .speakers-carousel .carousel-btn.desktop-only {
        display: none;
    }
}

/* Speakers dots pagination - inside each speaker card */
.speakers-carousel .speaker-card .speakers-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 8px;
    width: 100%;
    flex-shrink: 0;
    min-height: 20px;
}

@media (max-width: 700px) {
    .speakers-carousel .speaker-card .speakers-dots {
        display: flex;
    }
}

.speakers-dots .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    flex-shrink: 0;
    display: inline-block;
}

.speakers-dots .dot.active {
    background-color: var(--tile-border);
    transform: scale(1.2);
}

.speakers-dots .dot:hover {
    background-color: var(--accent);
}

/* ============ PHOTO GALLERY CAROUSEL ============ */
.gallery-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 10px;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 calc((100% - 40px) / 3);
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 2 / 3;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (max-width: 1023px) {
    .gallery-item {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 767px) {
    .gallery-item {
        flex: 0 0 100%;
    }
}

/* Hide arrows on mobile (same rule as speakers) */
@media (max-width: 700px) {
    .photo-gallery-carousel .carousel-btn.desktop-only {
        display: none;
    }
}

/* Gallery dots (inside each .gallery-item, shown only on mobile) */
.gallery-item .gallery-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
    width: 100%;
}

@media (max-width: 700px) {
    .gallery-item .gallery-dots {
        display: flex;
    }
}

.gallery-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    flex-shrink: 0;
    display: inline-block;
}

.gallery-dots .dot.active {
    background-color: var(--tile-border);
    transform: scale(1.2);
}

.gallery-dots .dot:hover {
    background-color: var(--accent);
}

/* ============ REVIEWS ============ */
.review-card {
    background-color: var(--tile-light);
    padding: 20px 25px 25px;
    border-radius: 16px;
    border: 2px solid var(--tile-border);
    font-style: normal;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    height: 100%;
    color: #000;
    position: relative;
}

section.section-dark .review-card {
    background-color: var(--tile-dark);
}

/* Decorative tilted leaf background — fills the entire card */
.review-card .review-bg-leaf {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    object-fit: contain;
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
}

/* Dots container inside each review card (mobile only) */
.review-card .review-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    width: 100%;
}

@media (max-width: 700px) {
    .review-card .review-dots {
        display: flex;
    }
}

.review-card p {
    position: relative;
    z-index: 2;
}

/* Reviews carousel container and track (same pattern as speakers) */
.reviews-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 10px;
}

.reviews-track::-webkit-scrollbar {
    display: none;
}

.reviews-track .review-card {
    flex: 0 0 calc((100% - 48px) / 3);
    max-width: none;
    margin: 0;
    scroll-snap-align: start;
}

@media (max-width: 1100px) {
    .reviews-track .review-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 700px) {
    .reviews-track .review-card {
        flex: 0 0 100%;
    }
}

/* Hide arrows on mobile */
@media (max-width: 700px) {
    .reviews-carousel .carousel-btn.desktop-only {
        display: none;
    }
}

/* Dots inside each review card - mobile only */
.review-dots .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    flex-shrink: 0;
    display: inline-block;
}

.review-dots .dot.active {
    background-color: var(--tile-border);
    transform: scale(1.2);
}

.review-dots .dot:hover {
    background-color: var(--accent);
}

section.section-light .review-dots .dot.active {
    background-color: var(--tile-border);
}

/* ============ PARTNERS ============ */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partner-tile {
    background-color: var(--tile-light);
    padding: 30px;
    border-radius: 16px;
    border: 2px solid var(--tile-border);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-weight: bold;
    color: #000;
}

section.section-dark .partner-tile {
    background-color: var(--tile-dark);
}

/* ============ FAQ ============ */
.faq-item {
    background-color: white;
    margin-bottom: 15px;
    border-radius: 16px;
    overflow: hidden;
    border-left: 5px solid var(--brown);
}

section.section-dark .faq-item {
    background-color: var(--tile-dark);
    border-left-color: var(--tile-border);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: var(--light-gray);
}

section.section-dark .faq-question:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-answer.active {
    max-height: 500px;
    padding: 20px;
}

.faq-toggle {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.faq-toggle.active {
    transform: rotate(180deg);
}

/* ============ CONTACT BOX ============ */
.contact-box {
    background-color: var(--tile-light);
    color: #000;
    padding: 40px;
    border-radius: 16px;
    border: 2px solid var(--tile-border);
    text-align: center;
    margin-top: 40px;
}

section.section-dark .contact-box {
    background-color: var(--tile-dark);
}

.contact-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
}

.contact-box p {
    font-size: 16px;
    margin-bottom: 25px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--dark-brown);
    color: white;
    border: none;
    padding: 20px 24px;
    min-width: 140px;
    font-size: 16px;
    border-radius: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
    font-family: 'Manrope', sans-serif;
    text-decoration: none;
}

.contact-btn img {
    width: 36px;
    height: 36px;
}

.contact-btn:hover {
    background-color: var(--dark-brown);
    color: white;
}

/* ============ FOOTER ============ */
html.textures-loaded footer {
    background-image: url('images/wood_background.webp');
    background-repeat: repeat;
}

footer {
    background-color: #643f27;
    color: white;
    padding: 0.4rem 1rem 0.7rem;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    overflow: hidden;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0.25rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.5rem;
}

.footer-links a img {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 0.4rem;
}

.footer-links a:hover {
    color: #ca9d69;
}

.footer-company {
    text-align: center;
    opacity: 0.85;
    line-height: 1.3;
}

@media (max-width: 900px) {
    .footer-links {
        grid-template-columns: repeat(2, auto);
        gap: 0.1rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        gap: 0.2rem;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 0.1rem;
    }
}


/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
    section {
        padding: 50px 20px;
    }

    section.hero-section {
        padding: 0;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

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

    .stats-section {
        padding: 40px 20px 50px;
    }
}


@media (min-width: 900px) and (max-width: 1000px) {
    .subtitle {
        font-size: 20px;
    }
}

@media (min-width: 800px) and (max-width: 900px) {
    .subtitle {
        font-size: 18px;
    }
}

@media (max-width: 800px) {
    .subtitle {
        font-size: 12px;
    }
}
