:root {
    --terra-main: #E2725B;
    --terra-dark: #C9563E;
    --terra-light: #F9EBE8;
    --terra-accent: #f4dcd8;
    --text-main: #2D3748;
    --text-muted: #4A5568;
    --bg-main: #FFFFFF;
    --bg-alt: #FAFAFA;
    --border-color: #E2E8F0;
    --font-primary: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-main);
    -webkit-font-smoothing: antialiased;
}

img.nimbus-fluid-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

h1, h2, h3, h4 {
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    color: var(--terra-main);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--terra-dark);
}

/* Header & Nav */
.nimbus-site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 5%;
}

.nimbus-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nimbus-brand-mark {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--terra-dark);
}

.nimbus-logo-icon {
    font-size: 1.5rem;
    color: var(--terra-main);
}

.nimbus-primary-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nimbus-nav-link {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}

.nimbus-nav-link:hover {
    color: var(--terra-main);
}

.nimbus-nav-cta {
    background: var(--terra-main);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nimbus-nav-cta:hover {
    background: var(--terra-dark);
}

/* Buttons */
.nimbus-action-btn {
    display: inline-block;
    background: var(--terra-main);
    color: white;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-align: center;
}

.nimbus-action-btn:hover {
    background: var(--terra-dark);
    color: white;
}

/* Hero Section */
.nimbus-split-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    background: var(--terra-light);
}

.nimbus-hero-lead {
    padding: 10% 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nimbus-headline-xl {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.nimbus-sub-lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.nimbus-hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nimbus-trust-badge {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    border-left: 3px solid var(--terra-main);
    padding-left: 0.8rem;
}

.nimbus-hero-visuals img {
    height: 100%;
}

/* Deep About Section */
.nimbus-legacy-about {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.nimbus-about-dense {
    display: flex;
    gap: 4rem;
    margin-bottom: 5rem;
}

.nimbus-about-text-col {
    flex: 1;
}

.nimbus-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.nimbus-section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--terra-main);
}

.nimbus-center-text.nimbus-section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.nimbus-prose {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.nimbus-inline-link {
    text-decoration: underline;
    text-decoration-color: var(--terra-accent);
    text-decoration-thickness: 2px;
}

.nimbus-stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.nimbus-stat-block {
    display: flex;
    flex-direction: column;
}

.nimbus-stat-val {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--terra-main);
    line-height: 1;
}

.nimbus-stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 0.5rem;
}

.nimbus-about-img-col {
    flex: 1;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
}

.nimbus-offset-img-1 {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.nimbus-offset-img-2 {
    border-radius: 8px;
    margin-top: 4rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.nimbus-process-steps {
    background: var(--bg-alt);
    padding: 4rem;
    border-radius: 12px;
}

.nimbus-micro-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terra-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.nimbus-step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.nimbus-step-card {
    position: relative;
}

.nimbus-step-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--terra-accent);
    position: absolute;
    top: -1.5rem;
    left: -1rem;
    z-index: 0;
    opacity: 0.5;
}

.nimbus-step-card h4, .nimbus-step-card p {
    position: relative;
    z-index: 1;
}

/* Services & Tabs */
.nimbus-ops-services {
    padding: 6rem 5%;
    background: var(--terra-light);
}

.nimbus-center-text {
    text-align: center;
}

.nimbus-tabs-container {
    max-width: 1000px;
    margin: 3rem auto 0;
}

.nimbus-tab-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.nimbus-tab-trigger {
    background: transparent;
    border: 2px solid transparent;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.nimbus-tab-trigger:hover {
    background: rgba(226, 114, 91, 0.1);
}

.nimbus-tab-active {
    background: white;
    color: var(--terra-main);
    border-color: var(--terra-accent);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.nimbus-tab-content {
    display: none;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    animation: fadeIn 0.4s ease forwards;
}

.nimbus-pane-active {
    display: block;
}

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

.nimbus-pane-inner {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nimbus-pane-text {
    flex: 1;
}

.nimbus-pane-visual {
    flex: 1;
}

.nimbus-pane-visual img {
    border-radius: 8px;
}

.nimbus-benefit-list {
    list-style: none;
    margin-top: 1.5rem;
}

.nimbus-benefit-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}

.nimbus-benefit-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--terra-main);
    font-weight: bold;
}

/* Testimonials */
.nimbus-feedback-grid {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.nimbus-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.nimbus-feedback-card {
    background: var(--bg-alt);
    padding: 2.5rem;
    border-radius: 8px;
    border-top: 4px solid var(--terra-accent);
    transition: transform 0.3s ease;
}

.nimbus-feedback-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--terra-main);
}

.nimbus-quote {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.nimbus-client-id {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nimbus-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.nimbus-client-id strong {
    display: block;
    font-size: 0.95rem;
}

.nimbus-client-id span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Contact Form */
.nimbus-inquiry-hub {
    background: var(--text-main);
    color: white;
    padding: 6rem 5%;
}

.nimbus-hub-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.nimbus-hub-text h2, .nimbus-hub-text p {
    color: white;
}

.nimbus-hub-text .nimbus-section-title::after {
    background: var(--terra-main);
}

.nimbus-inquiry-form {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    color: var(--text-main);
}

.nimbus-form-group {
    margin-bottom: 1.5rem;
}

.nimbus-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.nimbus-form-field {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.nimbus-form-field:focus {
    outline: none;
    border-color: var(--terra-main);
    box-shadow: 0 0 0 3px rgba(226, 114, 91, 0.2);
}

.nimbus-submit-btn {
    width: 100%;
    margin-top: 1rem;
}

/* Footer */
.nimbus-global-footer {
    background: var(--bg-alt);
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--border-color);
}

.nimbus-footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.nimbus-footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.nimbus-footer-col p, .nimbus-footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.nimbus-footer-links {
    list-style: none;
}

.nimbus-footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.nimbus-tiny-disclaimer {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 992px) {
    .nimbus-split-hero {
        grid-template-columns: 1fr;
    }
    .nimbus-hero-visuals {
        min-height: 400px;
    }
    .nimbus-about-dense {
        flex-direction: column;
    }
    .nimbus-pane-inner {
        flex-direction: column;
    }
    .nimbus-hub-inner {
        grid-template-columns: 1fr;
    }
    .nimbus-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nimbus-primary-nav {
        display: none;
    }
    .nimbus-headline-xl {
        font-size: 2.5rem;
    }
    .nimbus-step-grid {
        grid-template-columns: 1fr;
    }
    .nimbus-footer-grid {
        grid-template-columns: 1fr;
    }
    .nimbus-footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
