/**
 * Retrofit OS — Tailwind-adjacent tokens on Bootstrap 5
 */
.theme-ecosurv {
    --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --radius-sm: 0.5rem;
    --radius-lg: 0.875rem;
    --radius-xl: 1.25rem;
    --surface: #f6f9ff;
    --surface-2: #edf3ff;
    --surface-card: #ffffff;
    --border-subtle: rgba(15, 23, 42, 0.1);
    --accent: #0d6efd;
    --accent-hover: #0b5ed7;
    --accent-muted: rgba(13, 110, 253, 0.14);
    --text: #14233d;
    --text-secondary: #4a5f83;
    --shadow-soft: 0 14px 35px -16px rgba(0, 0, 0, 0.22);
    --section-y: clamp(2.5rem, 8vw, 3rem);
    font-family: var(--font-sans);
    background: radial-gradient(1200px 600px at 10% -10%, rgba(13, 110, 253, 0.16), transparent 55%),
        radial-gradient(900px 500px at 90% 20%, rgba(59, 130, 246, 0.1), transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f6f9ff 42%, #eaf1ff 100%);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.theme-ecosurv main {
    flex: 1;
}

.theme-ecosurv .navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
}

.theme-ecosurv .brand-mark {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.75rem;
    background: linear-gradient(145deg, var(--accent), #0b5ed7);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.32);
}

.theme-ecosurv .navbar-brand-logo {
    display: block;
    height: 80px;
    width: auto;
    max-width: min(200px, 52vw);
    object-fit: contain;
    /* filter: brightness(0); */
}

.theme-ecosurv .navbar .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem !important;
}

.theme-ecosurv .navbar .nav-link:hover,
.theme-ecosurv .navbar .nav-link:focus {
    color: var(--text) !important;
    background: rgba(255, 255, 255, 0.06);
}

.theme-ecosurv .navbar .nav-link.active {
    color: var(--text) !important;
    background: var(--accent-muted);
}

.theme-ecosurv .btn-accent {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-hover-bg: var(--accent-hover);
    --bs-btn-hover-border-color: var(--accent-hover);
    --bs-btn-hover-color: #ffffff;
    font-weight: 600;
    border: none;
    box-shadow: 0 8px 22px rgba(13, 110, 253, 0.28);
}

.theme-ecosurv .btn-accent:hover {
    transform: translateY(-1px);
}

.theme-ecosurv .btn-outline-light {
    --bs-btn-color: #114aa5;
    --bs-btn-border-color: rgba(13, 110, 253, 0.55);
    --bs-btn-bg: rgba(255, 255, 255, 0.75);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #0d6efd;
    --bs-btn-hover-border-color: #0d6efd;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #0b5ed7;
    --bs-btn-active-border-color: #0b5ed7;
    font-weight: 600;
    backdrop-filter: blur(2px);
}

.theme-ecosurv .hero {
    padding: var(--section-y) 0;
}

.theme-ecosurv .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: var(--accent-muted);
    color: #0a58ca;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.theme-ecosurv .display-hero {
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.theme-ecosurv .lead-lg {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 38rem;
}

.theme-ecosurv .section {
    padding: var(--section-y) 0;
}

/* Full-width section bands — alternate for clear blocks (brand blues) */
.theme-ecosurv .section-band-a {
    background-color: #ffffff;
}

.theme-ecosurv .section-band-b {
    background-color: var(--surface);
}

.theme-ecosurv .section-band-c {
    background-color: var(--surface-2);
}

.theme-ecosurv .section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.theme-ecosurv .card-surface {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.theme-ecosurv .card-surface:hover {
    transform: translateY(-3px);
    border-color: rgba(13, 110, 253, 0.35);
}

.theme-ecosurv .icon-round {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-muted);
    color: #0b5ed7;
    font-size: 1.25rem;
}

.theme-ecosurv .text-secondary {
    color: var(--text-secondary) !important;
}

.theme-ecosurv .footer {
    background: #102a56;
    color: #e8efff;
}

.theme-ecosurv .footer-brand-logo {
    display: block;
    height: 2.75rem;
    width: auto;
    max-width: min(220px, 70vw);
    object-fit: contain;
    margin-left: -1rem;
    filter: brightness(100);
}

.theme-ecosurv .footer-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.theme-ecosurv .footer-links a {
    color: #c7d7f8;
    text-decoration: none;
    display: inline-block;
    padding: 0.2rem 0;
}

.theme-ecosurv .footer-links a:hover {
    color: #ffffff;
}

.theme-ecosurv .form-control,
.theme-ecosurv .form-select {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    color: var(--text);
}

.theme-ecosurv .form-control:focus {
    background: #ffffff;
    border-color: rgba(13, 110, 253, 0.55);
    box-shadow: 0 0 0 3px var(--accent-muted);
    color: var(--text);
}

.theme-ecosurv .modal-content {
    background: var(--surface-2);
    color: var(--text);
}

.theme-ecosurv .modal-header .btn-close {
    filter: none;
}

.theme-ecosurv .alert-accent {
    background: var(--accent-muted);
    color: #0a3f8f;
    border: 1px solid rgba(13, 110, 253, 0.35);
}

.theme-ecosurv .quote-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    height: 100%;
}

.theme-ecosurv .carousel-control-prev-icon,
.theme-ecosurv .carousel-control-next-icon {
    filter: none;
    opacity: 0.7;
}

.theme-ecosurv .carousel-indicators [data-bs-target] {
    background-color: var(--accent);
    opacity: 0.35;
}

.theme-ecosurv .carousel-indicators .active {
    opacity: 1;
}

.theme-ecosurv .partner-logo-tile {
    min-height: 110px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    background: var(--surface-card);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}

.theme-ecosurv .partner-logo-wordmark {
    color: #113824;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.theme-ecosurv .partner-logo-img {
    max-width: 100%;
    max-height: 3.5rem;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
}

.theme-ecosurv a.text-accent {
    color: var(--accent) !important;
}

.theme-ecosurv a.text-accent:hover {
    color: var(--accent) !important;
}

.theme-ecosurv .about-award-label {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #0a58ca;
    background: var(--accent-muted);
    border: 1px solid rgba(13, 110, 253, 0.24);
}

.theme-ecosurv .about-value-icon svg {
    width: 1.35rem;
    height: 1.35rem;
    flex-shrink: 0;
    display: block;
}
