/* ==========================================================================
   DESIGN SYSTEM & CUSTOM VARIABLES (Techos Verdes / Green B)
   ========================================================================== */
:root {
    /* Color Palette */
    --primary-color: #1b4332;
    /* Forest Green */
    --primary-dark: #0f261c;
    /* Dark Emerald */
    --primary-light: #2d6a4f;
    /* Light Forest */
    --accent-color: #52b788;
    /* Soft Sage Green */
    --accent-bright: #74c69d;
    /* Vibrant Leaf Green */
    --accent-highlight: #95d5b2;
    /* Highlight Sage */
    --text-color: #2d3748;
    /* Charcoal */
    --text-light: #718096;
    /* Slate Gray */
    --bg-light: #f7fafc;
    /* Clean light grey */
    --bg-sage: #e8f5e9;
    /* Softest sage accent */
    --bg-white: #ffffff;
    --error-color: #e53e3e;
    /* Warm red */
    --success-color: #38a169;
    /* Deep green success */

    /* Typography */
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows & Transitions */
    --shadow-premium: 0 15px 35px rgba(15, 38, 28, 0.05), 0 5px 15px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 25px 50px rgba(15, 38, 28, 0.12);
    --shadow-glass: 0 8px 32px 0 rgba(15, 38, 28, 0.08);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Layout */
    --container-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

/* ==========================================================================
   RESET & GLOBAL STYLES
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-dark);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

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

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

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

.text-white {
    color: var(--bg-white);
}

.text-light {
    color: #e2e8f0;
}

.text-accent {
    color: var(--accent-bright);
}

/* Common Section Layouts */
section {
    padding: 50px 0;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.title-pre {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.section-subtitle-teal {
    font-size: 1.25rem;
    color: #006b5e;
    font-weight: 600;
    margin: 0 auto 24px auto;
    text-align: center;
    font-family: var(--font-body);
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--bg-sage);
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    margin-bottom: 16px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--accent-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(82, 183, 136, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--bg-white);
    transform: translateY(-2px);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.05);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-premium);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition-smooth);
}

.main-header.scrolled .header-container {
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.main-header.scrolled .logo-img {
    height: 38px;
}

.main-footer .logo-img {
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

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

.nav-link {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
    position: relative;
    padding: 8px 0;
}

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

.nav-link:hover {
    color: var(--primary-light);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-dark);
}

.nav-btn {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-dark);
    background-color: var(--accent-color);
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
}

.nav-btn:hover {
    background-color: var(--accent-bright);
    box-shadow: 0 4px 12px rgba(82, 183, 136, 0.25);
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    width: 30px;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--primary-dark);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    color: var(--bg-white);
    overflow: hidden;
}

/* Dark gradient - stronger on the right where content lives */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to left,
            rgba(10, 30, 20, 0.85) 0%,
            rgba(10, 30, 20, 0.65) 40%,
            rgba(10, 30, 20, 0.15) 68%,
            transparent 100%);
    z-index: 1;
}

/* Right-side content panel */
.hero-right-panel {
    position: relative;
    z-index: 2;
    width: 42%;
    display: flex;
    flex-direction: column;
    padding: 120px 50px 40px 30px;
    align-self: stretch;
    justify-content: center;
    gap: 0;
}

/* Stats stack - vertical column of dark green boxes */
.hero-stats-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 28px;
}

.hero-stat-box {
    background: rgba(15, 38, 28, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 6px;
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: var(--transition-smooth);
}

.hero-stat-box:hover {
    background: rgba(27, 67, 50, 0.95);
    transform: translateX(-4px);
}

.hero-stat-num {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 2.4rem;
    color: var(--bg-white);
    line-height: 1;
    letter-spacing: -0.5px;
}

.hero-stat-label {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
}

/* Hero text block */
.hero-text-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-title {
    font-family: var(--font-headings);
    font-size: 3rem;
    font-weight: 800;
    color: var(--bg-white);
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-family: var(--font-headings);
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.hero-cta-btn {
    display: inline-block;
    padding: 10px 22px;
    background: rgba(45, 106, 79, 0.75);
    border: 1px solid rgba(82, 183, 136, 0.5);
    border-radius: 6px;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--bg-white);
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
    align-self: flex-start;
}

.hero-cta-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(82, 183, 136, 0.3);
}

.hero-logo-wrapper {
    margin-top: 10px;
    display: flex;
    justify-content: flex-start;
}

.hero-logo-img {
    height: 100px;
    width: auto;
}


/* ==========================================================================
   PHILOSOPHY & CONCEPT SECTION
   ========================================================================== */
.concept-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.concept-section-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 2.8rem;
    color: var(--primary-dark);
}

.concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: stretch;
}

.section-title-concept {
    font-size: 2.8rem;
    margin-bottom: 24px;
    color: var(--primary-dark);
}

.concept-body-text {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.concept-highlight-box {
    background: var(--bg-sage);
    border-left: 4px solid var(--accent-color);
    padding: 24px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 35px;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary-dark);
}

.concept-badges-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 30px;
}

.badge-card {
    background: #004d43;
    border: none;
    border-radius: var(--border-radius-md);
    padding: 16px;
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: var(--transition-smooth);
    color: var(--bg-white);
}

.badge-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    background: #003a32;
}

.badge-logo-container {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.badge-logo-img-sponge {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.badge-logo-img-fll {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.badge-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    line-height: 1.5;
}

.badge-desc strong {
    color: var(--bg-white);
}

.badge-btn-pdf {
    display: inline-block;
    padding: 10px 24px;
    background: #0b3a32;
    color: var(--bg-white);
    border-radius: 50px;
    font-family: var(--font-headings);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}

.badge-btn-pdf:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
}

/* 8 Benefits side - with vegetation background image */
.concept-benefits-side-redesigned {
    background-color: #4a7559;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-hover);
    position: relative;
    overflow: hidden;
}

.concept-benefits-side-redesigned::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(74, 117, 89, 0.4) 0%, rgba(56, 116, 82, 0.3) 100%);
    z-index: 0;
    border-radius: var(--border-radius-lg);
}

.benefits-header {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 20px;
    position: relative;
    z-index: 1;
}

.benefits-pre {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-bright);
}

.benefits-title-grid {
    font-size: 1.8rem;
    color: var(--bg-white);
    margin-top: 5px;
    margin-bottom: 5px;
}

.benefits-subtitle-grid {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.benefits-grid-8 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.benefit-card-8 {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-md);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition-smooth);
    backdrop-filter: blur(4px);
}

.benefit-card-8:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.benefit-num-8 {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #2e7d32;
    color: var(--bg-white);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-card-8:hover .benefit-num-8 {
    background: var(--primary-color);
    color: var(--bg-white);
}

.benefit-title-8 {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--primary-dark);
    line-height: 1.3;
}

/* ==========================================================================
   SYSTEMS SELECTOR SECTION (TABS)
   ========================================================================== */
.systems-section {
    background-color: var(--bg-light);
}

.tab-container {
    max-width: 100%;
    margin-top: 40px;
}

.tab-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    padding-bottom: 24px;
}

.tab-btn {
    background: none;
    border: 2px solid transparent;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tab-btn:hover {
    color: var(--primary-light);
    border-color: rgba(27, 67, 50, 0.2);
    background: rgba(27, 67, 50, 0.04);
}

.tab-btn.active {
    color: var(--bg-white);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(27, 67, 50, 0.2);
}

.tab-code {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-color);
    margin-top: 4px;
    text-transform: uppercase;
}

/* Tab Panes */
.tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.system-intro-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-premium);
}

.system-details-and-diagram {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.system-title-detail {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.system-model {
    color: var(--accent-color);
    font-size: 1.4rem;
    display: block;
    margin-top: 4px;
}

.system-desc {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.specs-heading {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-light);
    margin-bottom: 16px;
    border-left: 3px solid var(--accent-color);
    padding-left: 12px;
}

.specs-grid-redesigned {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.spec-detail-item {
    background: var(--bg-light);
    border: 1px solid rgba(27, 67, 50, 0.04);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--text-color);
}

.spec-detail-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 2px;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.system-diagram-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-top: 20px;
}

.system-diagram-3d {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.system-diagram-3d:hover {
    transform: translateY(-5px);
}

.diagram-tag {
    margin-top: 15px;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-light);
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.diagram-tag span {
    font-weight: 500;
    color: var(--text-light);
    font-size: 0.8rem;
}

/* 6-Project Grid Gallery */
.system-projects-gallery {
    border-top: 1px solid rgba(27, 67, 50, 0.08);
    padding-top: 40px;
}

.gallery-heading {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 30px;
    text-align: center;
}

.projects-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card-image {
    background: var(--bg-light);
    border: 1px solid rgba(27, 67, 50, 0.04);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.project-card-image:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-hover);
}

.project-img-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #e2e8f0;
}

.project-grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-card-image:hover .project-grid-img {
    transform: scale(1.08);
}

.project-grid-title {
    padding: 16px 20px;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-dark);
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

.gallery-footer-actions {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-pdf-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 2px solid var(--accent-color);
    color: var(--primary-dark);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.btn-pdf-outline:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(82, 183, 136, 0.2);
}

/* All in One Section (Semi-Intensivo Only) - Dark Green Theme */
.allinone-block {
    margin-top: 60px;
    background: #016261;
    /* Brand Dark Emerald */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-premium);
    color: var(--bg-white);
}

.allinone-top-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 30px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
    margin-bottom: 40px;
}

.allinone-logo-col {
    display: flex;
    justify-content: flex-start;
}

.allinone-logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.allinone-title-col {
    text-align: left;
}

.allinone-title-col h3 {
    font-size: 1.8rem;
    color: var(--bg-white);
    line-height: 1.35;
    margin-bottom: 8px;
}

.allinone-ref {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    color: var(--accent-bright);
    text-transform: uppercase;
}

/* Mid Grid: Diagram + Bullet List */
.allinone-mid-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.allinone-diagram-col {
    display: flex;
    justify-content: center;
}

.allinone-diagram-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-glass);
}

.allinone-specs-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.allinone-specs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    padding: 0;
}

.allinone-specs-list li {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1.5px;
    color: var(--bg-white);
    padding-left: 20px;
    position: relative;
}

.allinone-specs-list li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--accent-bright);
    font-size: 1.2rem;
    line-height: 1;
    top: -2px;
}

.allinone-btn-wrapper {
    display: flex;
    justify-content: flex-start;
}

.btn-pdf-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #007f5f;
    /* Solid dark green button */
    color: var(--bg-white);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.btn-pdf-solid:hover {
    background: var(--accent-bright);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(116, 198, 157, 0.4);
    transform: translateY(-2px);
}

/* Bullet list seeds styling */
.allinone-seeds-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.allinone-seeds-section h4 {
    font-size: 1.4rem;
    color: var(--bg-white);
    margin-bottom: 16px;
    text-align: left;
    letter-spacing: 0.5px;
}

.allinone-seeds-lead {
    font-size: 1.05rem;
    color: #cbd5e0;
    max-width: 100%;
    margin-bottom: 40px;
    text-align: left;
    line-height: 1.6;
}

/* 3-Column rectangular image grid */
.allinone-grid-2col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.allinone-card-2col {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-glass);
    transition: var(--transition-smooth);
}

.allinone-card-2col:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.07);
}

.allinone-rect-img-wrapper {
    width: 100%;
    overflow: hidden;
}

.allinone-rect-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.allinone-card-2col:hover .allinone-rect-img {
    transform: scale(1.05);
}

.allinone-card-text {
    padding: 24px;
}

.allinone-card-title {
    display: block;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--bg-white);
    margin-bottom: 10px;
}

.allinone-card-title em {
    font-weight: 500;
    font-size: 0.95rem;
    color: #cbd5e0;
    display: inline-block;
    margin-left: 8px;
}

.allinone-card-text p {
    font-size: 0.9rem;
    color: #e2e8f0;
    line-height: 1.6;
}

/* Detail Text block at bottom */
.allinone-detail-text-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-md);
    padding: 35px;
    box-shadow: var(--shadow-glass);
}

.allinone-detail-text-block h5 {
    font-size: 1.3rem;
    color: var(--bg-white);
    margin-bottom: 16px;
}

.allinone-detail-text-block p {
    font-size: 0.95rem;
    color: #cbd5e0;
    line-height: 1.7;
    margin-bottom: 20px;
}

.allinone-detail-result {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    color: var(--bg-white) !important;
    margin-bottom: 30px !important;
}

.allinone-detail-result strong {
    color: var(--accent-bright);
}

.allinone-bottom-btn-wrapper {
    display: flex;
    justify-content: flex-end;
}

/* ==========================================================================
   MULTICAPA SYSTEM DIAGRAM — 2 COLUMN LAYOUT
   ========================================================================== */
.multicapa-section {
    background-color: var(--bg-white);
}

.multicapa-grid-redesigned {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.multicapa-text-side {
    width: 100%;
    text-align: left;
}

.multicapa-body-lead {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 24px;
    line-height: 1.65;
}

.multicapa-body-text {
    font-size: 0.98rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.75;
}

.multicapa-diagram-side {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.multicapa-img-labeled {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.multicapa-img-labeled:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

/* Systems Preview Strip — 3 photos before tabs */
.systems-preview-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0 0 40px 0;
}

.system-preview-item {
    cursor: pointer;
    transition: var(--transition-smooth);
}

.system-preview-item:hover {
    transform: translateY(-4px);
}

.system-preview-img-wrap {
    width: 100%;
    aspect-ratio: 16/5.5;
    overflow: hidden;
    border-radius: 0;
    margin-bottom: 10px;
    box-shadow: none;
    transition: var(--transition-smooth);
}

.system-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.system-preview-item:hover .system-preview-img {
    transform: scale(1.06);
}

.system-preview-label {
    display: block;
    text-align: center;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #111;
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-top: 12px;
    transition: var(--transition-smooth);
}

/* Active and Hover highlights for preview strip tab items */
.system-preview-item:hover .system-preview-img-wrap {
    box-shadow: 0 0 0 3px rgba(0, 107, 94, 0.4);
}

.system-preview-item.active .system-preview-img-wrap {
    box-shadow: 0 0 0 3px #006b5e;
}

.system-preview-item.active .system-preview-label {
    color: #006b5e;
}

.section-subtitle-small {
    font-size: 0.95rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-top: 12px;
    font-style: italic;
    text-align: center;
    display: block;
}

/* Systems Selector Header Text & CTA Button */
.systems-intro-block {
    max-width: 1000px;
    margin: 0 auto 40px auto;
    text-align: center;
    padding: 0 15px;
}

.systems-intro-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-color);
    margin-bottom: 24px;
    text-align: center;
}

.systems-action-area {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.btn-hablanos {
    background-color: #004d43;
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-family: var(--font-headings);
    font-weight: 600;
    display: inline-block;
    border: none;
    transition: var(--transition-smooth);
    text-align: center;
    cursor: pointer;
}

.btn-hablanos:hover {
    background-color: #0c3c35;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 77, 67, 0.25);
}

.systems-guarantee-text {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 12px;
    text-align: center;
}

/* Tab Intro Block — dark teal card with grid layout */
.tab-pane-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tab-pane-title {
    font-size: 2.2rem;
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.tab-pane-model {
    font-size: 1.15rem;
    font-family: var(--font-headings);
    font-weight: 600;
    color: #006b5e;
    font-style: italic;
    margin-bottom: 24px;
}

.tab-pane-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 16px;
    text-align: center;
}

.tab-intro-block {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    background-color: #026362;
    /* Solid teal background matching diagram image backgrounds exactly */
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: var(--shadow-hover);
    padding: 40px;
    align-items: center;
}

.tab-intro-text {
    padding: 0;
    color: var(--bg-white);
}

.tab-specs-title {
    font-weight: 600;
    font-size: 1.15rem;
    font-family: var(--font-headings);
    color: var(--bg-white);
    margin-bottom: 16px;
}

.tab-intro-specs {
    list-style: none;
    padding: 0;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tab-intro-specs li {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.95);
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.tab-intro-specs li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--bg-white);
    font-size: 1.5rem;
    top: -2px;
}

.tab-intro-diagram {
    background: transparent;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tab-diagram-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    object-fit: contain;
}


/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.service-card {
    background-color: var(--bg-light);
    border: 1px solid rgba(27, 67, 50, 0.03);
    padding: 40px 24px;
    border-radius: var(--border-radius-md);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
}

.service-card:hover {
    transform: translateY(-8px);
    background-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.service-num {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 3rem;
    color: rgba(27, 67, 50, 0.08);
    line-height: 1;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-num {
    color: rgba(255, 255, 255, 0.15);
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 16px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-title {
    color: var(--bg-white);
}

.service-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    transition: var(--transition-smooth);
}

.service-card:hover .service-desc {
    color: #e2e8f0;
}



/* ==========================================================================
   MAINTENANCE CARE GUIDE SECTION
   ========================================================================== */
.care-guide-section {
    background-color: var(--bg-light);
}

.care-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.care-lead {
    font-size: 1.2rem;
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: 40px;
}

.care-steps-vertical {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.care-step {
    display: flex;
    gap: 20px;
}

.care-step-icon {
    width: 50px;
    height: 50px;
    background-color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-premium);
    flex-shrink: 0;
}

.care-step-text h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.care-step-text p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.care-visual-card {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-hover);
    position: relative;
    overflow: hidden;
}

.care-visual-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(82, 183, 136, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
}

.care-badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(82, 183, 136, 0.2);
    color: var(--accent-bright);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.care-visual-card h3 {
    color: var(--bg-white);
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.care-visual-card p {
    color: #cbd5e0;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.care-contacts {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: var(--border-radius-sm);
}

.tel-link {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent-bright) !important;
    margin-top: 10px;
    margin-bottom: 0 !important;
}



/* ==========================================================================
   CONTACT & BUDGET ACTIVE FORM
   ========================================================================== */
.contact-section {
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    color: var(--bg-white);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 30, 20, 0.92) 0%, rgba(15, 38, 28, 0.85) 100%);
    z-index: 0;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.contact-lead {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.method-card {
    display: flex;
    gap: 20px;
}

.method-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.method-details strong {
    display: block;
    font-family: var(--font-headings);
    font-size: 0.95rem;
    color: var(--accent-bright);
    margin-bottom: 4px;
}

.method-details p {
    font-size: 0.9rem;
    color: #cbd5e0;
}

.method-details a:hover {
    color: var(--accent-bright);
}

/* Active Form Side */
.contact-form-side {
    background-color: var(--bg-white);
    color: var(--text-color);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-hover);
}

.form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.form-wrapper p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

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

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

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

.form-group label {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid rgba(27, 67, 50, 0.12);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-color);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.15);
}

/* Form Feedback Box styles */
.form-feedback-box {
    padding: 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
}

.form-feedback-box.success {
    background-color: var(--bg-sage);
    color: var(--success-color);
    border: 1px solid rgba(56, 161, 105, 0.2);
}

.form-feedback-box.error {
    background-color: #fff5f5;
    color: var(--error-color);
    border: 1px solid rgba(229, 62, 62, 0.2);
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    padding: 16px;
    border-radius: var(--border-radius-sm);
}

.btn-submit:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(27, 67, 50, 0.2);
}

/* Button Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--bg-white);
    animation: spin 1s ease-in-out infinite;
    display: inline-block;
}

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

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.main-footer {
    position: relative;
    background-color: #0a1812;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    color: #a0aec0;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-brand h4 {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.9rem;
    margin-top: 16px;
    margin-bottom: 24px;
    max-width: 320px;
}

.copyright {
    font-size: 0.75rem;
}

.footer-links h4 {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-bright);
    padding-left: 5px;
}

/* ==========================================================================
   FLOATING INTERACTIVE ELEMENTS
   ========================================================================== */
.floating-ctas {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    position: relative;
    /* Relative parent for absolute children centering */
    display: block !important;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
    border: none;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
}

.float-whatsapp {
    background-color: #25d366;
}

.float-whatsapp:hover {
    transform: scale(1.1) rotate(8deg);
    background-color: #20ba5a;
}

.whatsapp-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px !important;
    height: 28px !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    fill: #ffffff;
}

.float-top {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.float-top::before {
    content: '▲';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.1rem;
    color: var(--bg-white);
}

.float-top:hover {
    transform: translateY(-5px);
    background-color: var(--primary-dark);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST BREAKPOINTS)
   ========================================================================== */

/* Large Tablets & Desktop (Max 1024px) */
@media (max-width: 1024px) {
    section {
        padding: 80px 0;
    }

    .hero-title-centered {
        font-size: 3.2rem;
    }

    .concept-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .system-details-and-diagram {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .allinone-grid-2col {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .allinone-mid-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* Small Tablets & Mobile (Max 768px) */
@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-white);
        padding: 40px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        transition: var(--transition-smooth);
    }

    .main-nav.open {
        left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .nav-btn {
        width: 100%;
        text-align: center;
    }

    .hero-section {
        padding-top: 180px;
    }

    .hero-stats-bar {
        position: relative;
        top: 0;
        margin-top: -80px;
        margin-bottom: 30px;
    }

    .stats-bar-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-title-centered {
        font-size: 2.5rem;
    }

    .hero-bottom-logo {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 30px;
        display: flex;
        justify-content: center;
    }

    .concept-badges-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid-8 {
        grid-template-columns: 1fr;
    }

    .multicapa-grid-redesigned {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .projects-grid-6 {
        grid-template-columns: 1fr;
    }

    .system-intro-container {
        padding: 30px 20px;
    }

    .allinone-block {
        padding: 30px 20px;
    }

    .allinone-top-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .allinone-logo-col {
        justify-content: center;
    }

    .allinone-title-col {
        text-align: center;
    }

    .allinone-seeds-section h4 {
        text-align: center;
    }

    .allinone-seeds-lead {
        text-align: center;
    }

    .allinone-specs-list li {
        font-size: 0.9rem;
    }

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

    .care-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-side {
        padding: 30px;
    }

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

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

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

    .floating-ctas {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }

    .float-btn {
        width: 48px;
        height: 48px;
    }

    .whatsapp-svg {
        width: 24px !important;
        height: 24px !important;
    }

    .float-top::before {
        font-size: 0.95rem;
    }
}

/* Phones (Max 480px) */
@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }

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

    .hero-subtitle-centered {
        font-size: 1.1rem;
    }

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