/* SiteCMS Generated Stylesheet - Iccha Theme */
/* Site: MS2 Ventures */

/* Font Face */
@font-face {
    font-family: 'Archivo';
    src: url('fonts/Archivo.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Iccha Design System Variables */
:root {
    /* Color Palette */
    --bg: #eeeae3;
    --panel: #f5f2eb;
    --text: #22211B;
    --dim: #555555;
    --brand: #22211B;
    --accent: #f97316;
    --line: rgba(34, 33, 27, 0.2);
    --tint: #f5f2eb;
    --mist: #e5e1d9;

    /* Dark variants for inverted sections */
    --bg-dark: #22211B;
    --text-light: #eeeae3;

    /* Typography */
    --font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --container-max: 1400px;
    --section-padding: 100px 0;
    --border-width: 2px;
    --card-radius: 0;
    --btn-radius: 0;

    /* Body Frame (iccha signature look) */
    --side-padding: 20px;
    --side-padding-mobile: 10px;
    --frame-border-width: 2px;
    --frame-color: var(--brand);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--bg);
    color: var(--text);
    font-size: 18px;
    line-height: 1.5;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    /* iccha frame effect */
    padding: var(--side-padding);
    margin: 0;
}

/* Inner content wrapper for framed look */
.iccha-body-content {
    overflow: hidden;
    position: relative;
    background-color: var(--bg);
    border: var(--frame-border-width) solid var(--frame-color);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--dim);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hidden {
    display: none !important;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 4vw;
}

/* Navigation */
.nav {
    background: var(--bg);
    border-bottom: var(--border-width) solid var(--brand);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: clamp(24px, 3.5vw, 42px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    padding: 12px 24px 12px 0;
    border-right: var(--border-width) solid var(--brand);
    color: var(--text);
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-links a {
    display: block;
    padding: 20px 16px;
    font-size: 15px;
    font-weight: 600;
    border: var(--border-width) solid var(--brand);
    border-left: none;
    background: var(--bg);
    color: var(--text);
    transition: background 0.2s, color 0.2s;
}

.nav-links a:first-child {
    border-left: var(--border-width) solid var(--brand);
}

.nav-links a:hover {
    background: var(--bg-dark);
    color: var(--text-light);
}

.nav-cta {
    background: var(--bg-dark) !important;
    color: var(--text-light) !important;
}

.nav-cta:hover {
    background: var(--dim) !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: var(--border-width) solid var(--brand);
    padding: 12px;
    cursor: pointer;
    color: var(--text);
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
}

.mobile-menu {
    display: none;
    padding: 0 4vw 24px;
    flex-direction: column;
    background: var(--bg);
    border-top: var(--border-width) solid var(--brand);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-size: 16px;
    font-weight: 600;
    padding: 16px 0;
    border-bottom: var(--border-width) solid var(--line);
}

/* Ticker/Marquee */
.ticker {
    background: #3d3c33;
    color: var(--text-light);
    padding: 10px 0;
    overflow: hidden;
    border-top: var(--border-width) solid var(--brand);
    border-bottom: var(--border-width) solid var(--brand);
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: ticker 20s linear infinite;
}

.ticker[data-direction="right"] .ticker-track {
    animation-direction: reverse;
}

.ticker[data-speed="slow"] .ticker-track {
    animation-duration: 40s;
}

.ticker[data-speed="fast"] .ticker-track {
    animation-duration: 10s;
}

.ticker-item {
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 600;
    padding: 0 40px;
}

.ticker-item.ticker-countdown {
    color: var(--accent);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker:hover .ticker-track {
    animation-play-state: paused;
}

/* Hero Section */
.hero {
    padding: 60px 0 80px;
    position: relative;
    background: var(--bg);
}

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

.hero-content {
    padding-left: 20px;
}

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

.hero-title {
    font-size: clamp(48px, 7vw, 80px);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--text);
    letter-spacing: -0.02em;
}

/* Word reveal animation for hero title */
.hero-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-title.revealed .word {
    opacity: 1;
    transform: translateY(0);
}

.hero-description {
    font-size: 18px;
    color: var(--dim);
    line-height: 1.6;
    margin-bottom: 32px;
}

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

.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: var(--border-width) solid var(--brand);
    font-family: inherit;
    background: var(--bg);
    color: var(--text);
    text-decoration: none;
}

.btn:hover {
    background: var(--bg-dark);
    color: var(--text-light);
}

.btn-primary {
    background: var(--bg-dark);
    color: var(--text-light);
}

.btn-primary:hover {
    background: var(--dim);
    color: var(--text-light);
}

.btn-secondary {
    background: var(--bg);
    color: var(--text);
}

.btn-accent {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.btn-accent:hover {
    opacity: 0.9;
}

/* Sections */
.section {
    padding: var(--section-padding);
}

.section:nth-child(odd) {
    background: var(--bg);
}

.section:nth-child(even) {
    background: var(--mist);
}

.section-dark {
    background: var(--bg-dark) !important;
    color: var(--text-light);
}

.section-header {
    margin-bottom: 60px;
}

.section-header.centered {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.section-dark .section-label {
    color: var(--text-light);
    opacity: 0.7;
}

.section-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text);
}

.section-dark .section-title {
    color: var(--text-light);
}

.section-subtitle {
    font-size: 18px;
    color: var(--dim);
    line-height: 1.7;
    max-width: 700px;
}

.section-dark .section-subtitle {
    color: var(--text-light);
    opacity: 0.8;
}

.section-intro,
.section-description {
    font-size: 18px;
    color: var(--dim);
    line-height: 1.7;
    margin-bottom: 24px;
}

.section-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-content p {
    font-size: 17px;
    color: var(--dim);
    line-height: 1.7;
}

.section-image {
    width: 100%;
    margin-top: 40px;
}

.section-quote {
    font-size: 22px;
    font-style: italic;
    color: var(--dim);
    border-left: 4px solid var(--brand);
    padding-left: 24px;
    margin: 32px 0;
}

/* Box/Highlight */
.box {
    padding: 32px;
    margin: 32px 0;
    border: var(--border-width) solid var(--brand);
    background: var(--panel);
}

.box-highlight {
    background: var(--tint);
    border-left: 4px solid var(--accent);
}

.box-accent {
    background: var(--bg-dark);
    color: var(--text-light);
    border-color: var(--bg-dark);
}

.box-intro {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 16px;
}

.box-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.box-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
}

.box-points li::before {
    content: '';
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-top: 8px;
    background: var(--brand);
}

.box-accent .box-points li::before {
    background: var(--text-light);
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
    margin: 40px 0;
}

.stats-stripe {
    padding: 32px;
    background: var(--panel);
    border: var(--border-width) solid var(--brand);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.stat-value {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--text);
}

.stat-label {
    font-size: 14px;
    color: var(--dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0;
}

.tag {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    border: var(--border-width) solid var(--brand);
    background: var(--bg);
    color: var(--text);
}

.tag-pill {
    border-radius: 0;
}

.tag-outline {
    background: transparent;
}

.tag-solid {
    background: var(--bg-dark);
    color: var(--text-light);
}

/* Logo Grid */
.logo-grid {
    display: grid;
    gap: 32px;
    align-items: center;
    margin: 40px 0;
}

.logo-grid-3 { grid-template-columns: repeat(3, 1fr); }
.logo-grid-4 { grid-template-columns: repeat(4, 1fr); }
.logo-grid-5 { grid-template-columns: repeat(5, 1fr); }
.logo-grid-6 { grid-template-columns: repeat(6, 1fr); }

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.logo-img {
    max-height: 60px;
    width: auto;
    transition: all 0.3s;
}

.logo-grid-grayscale .logo-img {
    filter: grayscale(100%);
    opacity: 0.6;
}

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

/* Cards */
.cards {
    display: grid;
    gap: 24px;
    margin: 40px 0;
}

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

/* Differentiators section - 2x2 grid */
.differentiators .cards {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    padding: 32px;
    background: var(--bg);
    border: var(--border-width) solid var(--brand);
    transition: all 0.2s;
}

/* Differentiators cards - lighter background */
.differentiators .card {
    background: var(--panel);
}

.card:hover {
    background: var(--panel);
}

.differentiators .card:hover {
    background: #f5f5f0;
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    color: var(--text-light);
    font-size: 20px;
    margin-bottom: 20px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.card-desc {
    font-size: 16px;
    color: var(--dim);
    line-height: 1.6;
}

/* Pillars */
.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.pillar {
    padding: 32px;
    background: var(--panel);
    border: var(--border-width) solid var(--brand);
    border-top: 4px solid var(--accent);
}

.pillar-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.pillar-desc {
    color: var(--dim);
    line-height: 1.7;
}

/* Location Section */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 40px 0;
}

.location-features {
    background: var(--panel);
    border: var(--border-width) solid var(--brand);
    padding: 32px;
}

.location-features .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-features .feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.location-features .feature-list li:last-child {
    border-bottom: none;
}

.location-features .feature-list li::before {
    content: "→";
    color: var(--accent);
    font-weight: 600;
}

.location-facility .facility-card {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 32px;
    height: 100%;
}

.location-facility .facility-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-light);
}

.location-facility .facility-highlight {
    font-size: 40px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
}

.location-facility .facility-desc {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Partners Section */
.partners {
    background: var(--panel);
}

.partners-carousel-wrapper {
    overflow: hidden;
    position: relative;
    margin: 40px 0;
}

.partners-carousel {
    display: flex;
    gap: 40px;
    padding: 20px 0;
}

.partner-card {
    flex-shrink: 0;
    width: 180px;
    height: 80px;
    padding: 20px;
    background: var(--bg);
    border: var(--border-width) solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand);
}

.partner-card img {
    max-height: 40px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.partner-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-card .partner-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--dim);
    text-align: center;
}

@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partners-carousel.animate {
    animation: scrollPartners 25s linear infinite;
}

.partners-carousel:hover {
    animation-play-state: paused;
}

/* Phases */
.phases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.phase {
    padding: 32px;
    background: var(--bg);
    border: var(--border-width) solid var(--brand);
}

.phase-source,
.phase-search {
    border-top: 4px solid var(--brand);
}

.phase-execution {
    border-top: 4px solid var(--accent);
}

.phase-label {
    display: inline-block;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.phase-source .phase-label,
.phase-search .phase-label {
    background: var(--bg-dark);
    color: var(--text-light);
}

.phase-execution .phase-label {
    background: var(--accent);
    color: white;
}

.phase-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

.phase-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.phase-steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--dim);
}

.phase-steps li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    margin-top: 8px;
    background: var(--brand);
}

.phase-execution .phase-steps li::before {
    background: var(--accent);
}

/* Carousel */
.carousel {
    position: relative;
    overflow: hidden;
    margin: 40px 0;
    border: var(--border-width) solid var(--brand);
}

.carousel-full {
    margin-left: -4vw;
    margin-right: -4vw;
    border-left: none;
    border-right: none;
}

.carousel-wide {
    margin-left: -2vw;
    margin-right: -2vw;
}

.carousel-slides {
    position: relative;
    width: 100%;
}

.carousel-slide {
    display: none;
    width: 100%;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    font-size: 14px;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border: var(--border-width) solid var(--brand);
    cursor: pointer;
    font-size: 18px;
    color: var(--text);
    transition: all 0.2s;
    z-index: 10;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--bg-dark);
    color: var(--text-light);
}

.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border: var(--border-width) solid var(--brand);
    background: var(--bg);
    cursor: pointer;
    transition: all 0.2s;
}

.carousel-indicators button.active {
    background: var(--bg-dark);
}

/* Accordion */
.accordion {
    display: flex;
    flex-direction: column;
    margin: 40px 0;
    border: var(--border-width) solid var(--brand);
}

.accordion-panel {
    border-bottom: var(--border-width) solid var(--brand);
}

.accordion-panel:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--bg);
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    color: var(--text);
    transition: background 0.2s;
    font-family: inherit;
}

.accordion-header:hover {
    background: var(--panel);
}

.accordion-icon {
    font-size: 24px;
    font-weight: 400;
    color: var(--dim);
}

.accordion-content {
    display: none;
    padding: 0 24px 24px;
    background: var(--bg);
}

.accordion-content p {
    color: var(--dim);
    line-height: 1.7;
}

.accordion-panel.open .accordion-content {
    display: block;
}

/* CTA Banner */
.cta-banner {
    position: relative;
    padding: 80px 40px;
    margin: 40px 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border: var(--border-width) solid var(--brand);
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
}

.cta-banner-dark::before {
    background: rgba(34, 33, 27, 0.85);
}

.cta-banner-light::before {
    background: rgba(238, 234, 227, 0.9);
}

.cta-banner-primary::before {
    background: var(--bg-dark);
}

.cta-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-banner-dark .cta-banner-content,
.cta-banner-primary .cta-banner-content {
    color: var(--text-light);
}

.cta-banner-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
    margin-bottom: 16px;
}

.cta-banner-text {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* Forms */
.form {
    max-width: 600px;
    margin: 40px auto;
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-description {
    color: var(--dim);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: var(--border-width) solid var(--brand);
    font-size: 16px;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

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

.form-success {
    padding: 16px;
    background: #d4edda;
    color: #155724;
    border: var(--border-width) solid #155724;
    margin-top: 16px;
}

.form-error {
    padding: 16px;
    background: #f8d7da;
    color: #721c24;
    border: var(--border-width) solid #721c24;
    margin-top: 16px;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--bg-dark);
    color: var(--text-light);
}

.contact-section .section-label {
    color: var(--text-light);
    opacity: 0.7;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

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

.contact-section .section-heading {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-light);
}

.contact-section .section-description {
    font-size: 18px;
    color: var(--text-light);
    opacity: 0.8;
    margin-bottom: 48px;
    line-height: 1.6;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

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

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    font-family: inherit;
    background: var(--bg);
    color: var(--text);
    border: var(--border-width) solid var(--brand);
    transition: border-color 0.2s, background-color 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--dim);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--panel);
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2322211B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

.contact-form .submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    background: var(--bg);
    color: var(--text);
    border: var(--border-width) solid var(--brand);
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.contact-form .submit-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.contact-form .submit-btn svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 600px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* Facility */
.facility {
    padding: 32px;
    background: var(--panel);
    border: var(--border-width) solid var(--brand);
    margin: 32px 0;
}

.facility-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.facility-highlight {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-dark);
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.facility-desc {
    color: var(--dim);
    line-height: 1.7;
}

/* Features List */
.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 32px 0;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 17px;
}

.features-list li::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    background: var(--bg-dark);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

/* Partners */
.partners-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0;
}

.partner {
    padding: 10px 16px;
    background: var(--bg);
    border: var(--border-width) solid var(--brand);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

/* Footer */
.footer {
    padding: 60px 0;
    background: var(--bg-dark);
    color: var(--text-light);
    border-top: var(--border-width) solid var(--brand);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-copyright {
    color: rgba(238, 234, 227, 0.7);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(238, 234, 227, 0.7);
    font-size: 14px;
    transition: color 0.2s;
}

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

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        order: -1;
    }

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

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

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: clamp(32px, 8vw, 48px);
    }

    .hero-ctas {
        flex-direction: column;
    }

    .cards-3,
    .cards-4 {
        grid-template-columns: 1fr;
    }

    .differentiators .cards {
        grid-template-columns: 1fr;
    }

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

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

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

    .logo-grid-3,
    .logo-grid-4,
    .logo-grid-5,
    .logo-grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 5vw;
    }

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

    .logo-grid-3,
    .logo-grid-4,
    .logo-grid-5,
    .logo-grid-6 {
        grid-template-columns: 1fr;
    }
}

/* ==================== */
/* SCROLL REVEAL ANIMATIONS */
/* ==================== */

/* Fade up effect */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in only */
.scroll-fade {
    opacity: 0;
    transition: opacity 1s ease;
}

.scroll-fade.revealed {
    opacity: 1;
}

/* Section labels and titles - visible by default, optional animation class */
.section-label,
.section-title {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Card/phase/pillar base transitions (no animation hiding) */
.card, .phase, .pillar {
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Hero description fade in */
.hero-description {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.hero-description.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Hero CTAs fade in */
.hero-ctas {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}

.hero-ctas.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

/* Mobile frame adjustments */
@media (max-width: 768px) {
    body {
        padding: var(--side-padding-mobile);
    }
}
