/* ============================================
   GoThru Photography - Warm Ivory & Bronze
   ============================================ */

/* --- CSS Variables --- */
:root {
    --bg-primary: #F5F1EA;
    --bg-sand: #E6DDD1;
    --bg-card: #ffffff;
    --bg-dark: #2C2418;
    --bg-dark-mid: #3A3024;
    --text-primary: #17191C;
    --text-secondary: #6E747B;
    --text-muted: #9DA2A8;
    --accent: #9C6B3F;
    --accent-light: #B8875A;
    --accent-dark: #7D5530;
    --accent-glow: rgba(156, 107, 63, 0.10);
    --accent-glow-strong: rgba(156, 107, 63, 0.18);
    --border: rgba(0, 0, 0, 0.07);
    --border-light: rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(44, 36, 24, 0.06);
    --shadow-md: 0 4px 16px rgba(44, 36, 24, 0.08);
    --shadow-lg: 0 8px 30px rgba(44, 36, 24, 0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
    --transition: 0.3s ease;
    --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    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;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.05rem;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245, 241, 234, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(245, 241, 234, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.logo-text {
    color: var(--text-primary);
}

.logo-highlight {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-cta:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 24px 60px;
    overflow: hidden;
    gap: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-mid) 40%, #4A3D2E 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Hero inner: stacks text then tour vertically, centred */
.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

/* Text block */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stats,
.hero-stats.tour-stats {
    display: flex;
    gap: 12px;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    width: 100%;
}

/* Clean tour window — matches edu-stack-frame sizing on other pages */
.hero-tour-window {
    position: relative;
    width: 100%;
    max-width: 1100px;
    aspect-ratio: 16 / 9;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.hero-tour-window iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(156, 107, 63, 0.2);
    border: 1px solid rgba(156, 107, 63, 0.35);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-light);
    letter-spacing: 0.5px;
    width: fit-content;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0;
}

.gradient-text {
    color: var(--accent-light);
    background: none;
    -webkit-text-fill-color: var(--accent-light);
    display: block;
}

.hero-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
    margin: 0;
}

.hero .btn-primary {
    background: var(--accent);
    color: #fff;
}

.hero .btn-primary:hover {
    background: var(--accent-light);
}

.hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.hero .btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.tour-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    pointer-events: none;
    z-index: 2;
    animation: badgeFade 4s ease 2s forwards;
    opacity: 1;
}

@keyframes badgeFade {
    0% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

/* Stat cards inside panel */

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    flex: 1;
    text-align: center;
}

.stat-top {
    display: flex;
    align-items: baseline;
    line-height: 1;
    flex-shrink: 0;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-light);
    line-height: 1;
    margin-left: 1px;
}

.stat-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.3;
    white-space: nowrap;
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease 1s both;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--accent-light);
    border-bottom: 2px solid var(--accent-light);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(8px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* --- Trusted Section --- */
.trusted {
    padding: 50px 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
}

.trusted-label {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.trusted-label::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 12px auto 24px;
}

.trusted-track {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.trusted-logos {
    display: flex;
    align-items: center;
    gap: 56px;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.trusted-logos:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.trusted-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    flex-shrink: 0;
    opacity: 0.45;
    filter: grayscale(100%);
    transition: var(--transition);
}

.trusted-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.trusted-logo img {
    max-height: 100%;
    max-width: 120px;
    width: auto;
    object-fit: contain;
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-glow);
    border: 1px solid rgba(156, 107, 63, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 16px auto 0;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* --- Services Section --- */
.services {
    padding: 100px 0;
    background: var(--bg-sand);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    border-color: rgba(156, 107, 63, 0.2);
}

.service-card.featured::before {
    opacity: 1;
}

.service-icon {
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.service-tagline {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.service-list {
    margin-bottom: 24px;
}

.service-list li {
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    padding-left: 20px;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-link:hover {
    gap: 12px;
    color: var(--accent-dark);
}

.service-link span {
    transition: var(--transition);
}

/* --- Industries Section --- */
.industries {
    padding: 100px 0;
    background: var(--bg-primary);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.industry-card {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-dark);
    display: flex;
    align-items: flex-end;
    transition: var(--transition);
    cursor: pointer;
}

.industry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(44, 36, 24, 0.4) 0%, rgba(44, 36, 24, 0.8) 100%);
    transition: var(--transition);
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.industry-card:hover .industry-overlay {
    background: linear-gradient(180deg, rgba(44, 36, 24, 0.25) 0%, rgba(44, 36, 24, 0.7) 100%);
}

.industry-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    width: 100%;
}

.industry-content h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #fff;
}

.industry-content p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}

/* --- Google Maps Section --- */
.google-maps {
    padding: 100px 0;
    background: var(--bg-sand);
}

.gm-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.gm-content .section-tag {
    margin-bottom: 12px;
}

.gm-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.gm-content .section-title::after {
    margin: 16px 0 0;
}

.gm-content > p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

.gm-benefits {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.gm-benefits li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.gm-benefit-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(156, 107, 63, 0.2);
}

.gm-benefits li strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.gm-benefits li p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Google Maps Visual Mock */
.gm-mock {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.gm-mock-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--bg-sand);
    border-bottom: 1px solid var(--border);
}

.gm-dots {
    display: flex;
    gap: 6px;
}

.gm-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
}

.gm-dots span:first-child { background: #ff5f57; }
.gm-dots span:nth-child(2) { background: #febc2e; }
.gm-dots span:last-child { background: #28c840; }

.gm-url {
    flex: 1;
    padding: 6px 14px;
    background: var(--bg-primary);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.gm-mock-body {
    aspect-ratio: 16/10;
}

.gm-map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(156, 107, 63, 0.03) 100%);
}

.gm-map-placeholder p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Portfolio Section (Dynamic) --- */
.portfolio {
    padding: 100px 0;
    background: var(--bg-dark);
    color: #fff;
}

.portfolio .section-title {
    color: #fff;
}

.portfolio .section-title::after {
    background: var(--accent-light);
}

.portfolio .section-tag {
    background: rgba(156, 107, 63, 0.2);
    border-color: rgba(156, 107, 63, 0.35);
    color: var(--accent-light);
}

.portfolio .section-subtitle {
    color: rgba(255, 255, 255, 0.65);
}

/* Filter buttons */
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.filter-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: transparent;
}

.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 22px;
    padding: 0 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

/* Loading spinner */
.portfolio-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 60px 0;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--accent-light);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.portfolio-loading p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

/* Portfolio grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-card {
    display: block;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

.portfolio-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-image.no-image::after {
    content: '360\00b0';
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.15);
}

.portfolio-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.portfolio-tag {
    padding: 6px 14px;
    background: var(--accent);
    color: #fff;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.portfolio-hover {
    position: absolute;
    inset: 0;
    background: rgba(44, 36, 24, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.portfolio-card:hover .portfolio-hover {
    opacity: 1;
}

.portfolio-hover span {
    font-size: 0.85rem;
    color: #fff;
    font-weight: 500;
}

.portfolio-info {
    padding: 16px 20px;
}

.portfolio-info h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}

.portfolio-info p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

/* Load more */
.load-more-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.load-more-btn {
    padding: 14px 40px;
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.load-more-btn:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* --- About Section --- */
.about {
    padding: 100px 0;
    background: var(--bg-sand);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.about-visual {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content .section-tag {
    margin-bottom: 12px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.about-content .section-title::after {
    margin: 16px 0 0;
}

.about-content > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.about-feature-number {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
    width: 40px;
}

.about-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.about-image-placeholder {
    aspect-ratio: 4/3;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.about-image-text {
    text-align: center;
    color: var(--text-muted);
}

.about-image-text p {
    margin-top: 12px;
    font-size: 0.9rem;
}

/* --- CTA Section --- */
.cta {
    padding: 80px 0;
    background: var(--bg-primary);
}

.cta-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
}

.cta-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.cta-box h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    position: relative;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 32px;
    position: relative;
}

.cta-box .btn-primary {
    background: var(--accent);
    color: #fff;
}

.cta-box .btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-box .btn-outline {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.cta-box .btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    position: relative;
}

/* --- Contact Section --- */
.contact {
    padding: 100px 0;
    background: var(--bg-sand);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-tag {
    margin-bottom: 12px;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.contact-info .section-title::after {
    margin: 16px 0 0;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-item a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-item a:hover {
    color: var(--accent);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236E747B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

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

.contact-form .btn {
    width: 100%;
    margin-top: 4px;
}

/* --- Footer --- */
.footer {
    padding: 60px 0 30px;
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.85);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer .logo-text {
    color: #fff;
}

.footer .logo-highlight {
    color: var(--accent-light);
}

.footer .logo-icon svg circle,
.footer .logo-icon svg path,
.footer .logo-icon svg ellipse {
    stroke: var(--accent-light);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links-group h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-group a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-links-group a:hover {
    color: var(--accent-light);
}

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

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Subpage Hero (smaller than main hero) --- */
.page-hero {
    position: relative;
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-mid) 50%, #4A3D2E 100%);
    color: #fff;
    overflow: hidden;
}

.page-hero-container {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.page-breadcrumb a {
    color: var(--accent-light);
}

.page-breadcrumb a:hover {
    color: #fff;
}

.page-breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.page-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Content Sections (subpage prose) --- */
.content-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.content-section.alt {
    background: var(--bg-sand);
}

.content-section.dark {
    background: var(--bg-dark);
    color: #fff;
}

.content-narrow {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}

.content-narrow p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.content-narrow p:last-child {
    margin-bottom: 0;
}

/* Feature grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.feature-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(156, 107, 63, 0.2);
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 12px;
    opacity: 0.9;
}

.feature-item h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Showcase tour embed */
.tour-showcase {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Education Stacked Tours --- */
.edu-stack {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.edu-stack-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.edu-stack-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.edu-stack-info {
    margin-top: 16px;
    padding: 0 4px;
    text-align: center;
}

.edu-stack-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.edu-stack-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.tour-showcase-frame {
    position: relative;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: var(--shadow-lg);
}

.tour-showcase-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.tour-caption {
    margin-top: 16px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.tour-caption strong {
    color: var(--text-primary);
}

/* Tour mini grid (multiple small embedded tours) */
.tour-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.tour-mini {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tour-mini:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.tour-mini-frame {
    position: relative;
    aspect-ratio: 16/10;
    background: var(--bg-dark);
}

.tour-mini-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Tour info button */
.tour-info-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}

.tour-info-btn:hover {
    background: rgba(156, 107, 63, 0.8);
    border-color: rgba(156, 107, 63, 0.6);
}

/* Tour info overlay — hidden by default, shown on click */
.tour-info-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28, 18, 8, 0.97) 0%, rgba(28, 18, 8, 0.88) 60%, rgba(28, 18, 8, 0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 3;
}

.tour-info-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.tour-info-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.tour-info-close:hover {
    background: rgba(156, 107, 63, 0.8);
}

.tour-info-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.tour-info-overlay p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
    margin: 0;
}

.tour-mini-info {
    padding: 16px 20px 20px;
    text-align: center;
}

.tour-mini-info h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.tour-mini-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tour-mini-grid {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 120px 0 60px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .content-section {
        padding: 60px 0;
    }
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.4rem;
    }

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

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gm-layout,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(44, 36, 24, 0.08);
        padding: 20px 24px;
        gap: 16px;
    }

    .nav-links.active + .nav-cta {
        display: block;
        position: absolute;
        top: calc(72px + 200px);
        left: 24px;
        right: 24px;
        text-align: center;
    }

    .hero {
        padding: 88px 16px 40px;
        min-height: auto;
    }

    .hero-inner {
        gap: 28px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 8px;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .cta-box h2 {
        font-size: 1.8rem;
    }

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

    .hero-scroll-indicator {
        display: none;
    }
}

/* iPhone 14 Pro and similar (~390px wide) */
@media (max-width: 430px) {
    .hero {
        padding: 80px 12px 32px;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-inner {
        gap: 20px;
    }

    .stat {
        padding: 10px 6px;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.5rem;
        letter-spacing: 0.05em;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

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

    .portfolio-filters {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
}
