/* ==========================================================================
   CYMA PARAGUAY - MAIN STYLESHEET
   Aesthetics: Modern, Premium, Corporate, Environmental
   ========================================================================== */

/* Design Tokens & Custom Properties */
:root {
    --primary: #1b628b;
    --primary-rgb: 27, 98, 139;
    --primary-dark: #0f3b56;
    --primary-light: #e6eff4;
    --accent: #deb068;
    --accent-rgb: 222, 176, 104;
    --accent-hover: #cfa156;
    --text-dark: #1c2d3d;
    --text-light: #ffffff;
    --text-muted: #607382;
    --bg-light: #f7f9fb;
    --bg-white: #ffffff;
    --success: #2e7d32;
    --error: #c62828;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 4px 6px -1px rgba(15, 59, 86, 0.05), 0 2px 4px -1px rgba(15, 59, 86, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(15, 59, 86, 0.08), 0 4px 6px -2px rgba(15, 59, 86, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(15, 59, 86, 0.1), 0 10px 10px -5px rgba(15, 59, 86, 0.04);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

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

/* Reusable Components & Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.bg-light {
    background-color: var(--bg-light);
}

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

.text-white {
    color: var(--text-light) !important;
}

.text-light {
    color: rgba(255, 255, 255, 0.8) !important;
}

.hidden {
    display: none !important;
}

.w-full {
    width: 100%;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.inline-block {
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.8rem 1.6rem;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-in-out;
    z-index: -1;
}

.btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

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

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

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

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

.btn-outline {
    background-color: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.05rem;
}

.btn-link {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: underline;
}

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

/* Navigation Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background-color: transparent;
}

.main-header.scrolled {
    background-color: rgba(15, 59, 86, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 65px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo-link {
    display: flex;
    align-items: center;
    position: relative;
    width: 140px;
    height: 50px;
}

.logo-img {
    height: 64px;
    width: auto;
    max-width: none;
    object-fit: contain;
    transition: var(--transition);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    pointer-events: none;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
}

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

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-light);
    opacity: 0.85;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-in-out;
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Header CTA button hide on mobile */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Mobile Menu Toggle button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }
    .main-nav {
        display: none;
    }
}

/* Open states for mobile menu toggle */
.menu-toggle.open .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--primary-dark);
    z-index: 999;
    padding: calc(var(--header-height) + 2rem) 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}

.mobile-menu.open {
    right: 0;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-light);
    padding: 0.5rem 0;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link:hover {
    color: var(--accent);
    padding-left: 8px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background-color: var(--primary-dark);
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 59, 86, 0.92) 0%, rgba(27, 98, 139, 0.75) 60%, rgba(222, 176, 104, 0.1) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 750px;
    padding: 2rem 0;
}

.badge-mades {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(222, 176, 104, 0.15);
    border: 1px solid rgba(222, 176, 104, 0.4);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.icon-sm {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: clamp(2.1rem, 5.5vw, 3.5rem);
    line-height: 1.15;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.hero-title strong {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-subtitle strong {
    font-weight: 600;
    color: var(--accent);
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.hero-separator {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 3;
    pointer-events: none;
}

.hero-separator svg {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Sections Global Styles */
section {
    padding: 6.5rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

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

.section-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.section-desc {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.section-text {
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    font-size: 1.02rem;
}

/* Stats Section */
.stats-section {
    padding: 4.5rem 0;
    border-bottom: 1px solid rgba(15, 59, 86, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    background-color: var(--bg-white);
    padding: 2.2rem 1.8rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3.2rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-hover);
    margin-bottom: 0.8rem;
}

.stat-description {
    font-size: 0.88rem;
    color: var(--text-muted);
}

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

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

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    padding-bottom: 30px;
    padding-right: 30px;
}

.about-main-image {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-overlay-card {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 1.8rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    max-width: 260px;
    border-left: 5px solid var(--accent);
}

.overlay-number {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.overlay-text {
    font-size: 0.88rem;
    font-weight: 500;
}

.team-highlight {
    margin-top: 2rem;
    margin-bottom: 2rem;
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--primary);
}

.team-title {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-cards-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team-member-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.member-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.member-info {
    display: flex;
    flex-direction: column;
}

.member-name {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-dark);
}

.member-role {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.98rem;
    font-weight: 500;
}

.feature-icon {
    color: var(--success);
    font-weight: 800;
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-main-image {
        height: 350px;
    }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-white);
    padding: 2rem 1.8rem 1.4rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(15, 59, 86, 0.03);
    position: relative;
    top: 0;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    top: -8px;
    box-shadow: var(--shadow-lg);
    border-color: rgba(27, 98, 139, 0.15);
}

.service-icon-container {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    transition: var(--transition);
}

.service-card:hover .service-icon-container {
    background-color: var(--primary);
    color: var(--text-light);
    transform: scale(1.05);
}

.service-icon {
    width: 28px;
    height: 28px;
}

.service-card-image-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 59, 86, 0.05);
}

.service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card-image {
    transform: scale(1.06);
}

.service-card-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.service-card-badges {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.service-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0;
    margin-bottom: 0.85rem;
    line-height: 1.55;
}

.service-features {
    border-top: 1px solid rgba(15, 59, 86, 0.08);
    padding-top: 1.2rem;
}

.service-features li {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    padding-left: 20px;
    position: relative;
}

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

@media (max-width: 768px) {
    .service-card-image-wrapper {
        height: 240px;
    }
}

/* Advisor Interactive Section */
.advisor-section {
    background-color: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.advisor-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: rgba(222, 176, 104, 0.03);
    z-index: 1;
}

.advisor-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.advisor-info-panel {
    color: var(--text-light);
}

.badge-accent {
    display: inline-block;
    background-color: rgba(222, 176, 104, 0.2);
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.advisor-disclaimer {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--accent);
    padding: 1rem 1.25rem;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2rem;
    line-height: 1.5;
}

/* Calculator Card Panel */
.advisor-calculator-panel {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.calculator-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 10px;
}

.calculator-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

.calc-step {
    animation: fadeIn 0.4s ease-out;
}

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

.calc-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
}

.calc-select {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: var(--border-radius-md);
    border: 2px solid rgba(15, 59, 86, 0.1);
    font-family: var(--font-body);
    font-size: 0.98rem;
    color: var(--text-dark);
    background-color: var(--bg-light);
    outline: none;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%230f3b56' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.calc-select:focus {
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(27, 98, 139, 0.1);
}

.calc-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(15, 59, 86, 0.08);
    padding-top: 1.5rem;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-card {
    display: block;
    position: relative;
    padding: 1.1rem 1.5rem;
    border-radius: var(--border-radius-md);
    border: 2px solid rgba(15, 59, 86, 0.08);
    background-color: var(--bg-light);
    cursor: pointer;
    transition: var(--transition);
}

.radio-card input {
    position: absolute;
    opacity: 0;
}

.radio-card-content {
    display: flex;
    flex-direction: column;
}

.radio-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--primary-dark);
    margin-bottom: 0.2rem;
}

.radio-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.radio-card:hover {
    border-color: var(--primary);
    background-color: rgba(27, 98, 139, 0.02);
}

.radio-card.selected {
    border-color: var(--primary);
    background-color: rgba(27, 98, 139, 0.05);
}

/* Result Box */
.result-box {
    background-color: var(--primary-light);
    padding: 2.2rem;
    border-radius: var(--border-radius-lg);
    border-left: 6px solid var(--accent);
    margin-bottom: 2rem;
}

.result-badge {
    display: inline-block;
    background-color: var(--primary);
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.result-title {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
}

.result-desc {
    font-size: 0.92rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.result-cta-panel {
    border-top: 1px solid rgba(15, 59, 86, 0.08);
    padding-top: 1.5rem;
}

.cta-prompt {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-align: center;
}

@media (max-width: 992px) {
    .advisor-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .advisor-calculator-panel {
        padding: 2.2rem 1.8rem;
    }
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
}

.contact-form-panel {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15, 59, 86, 0.03);
}

.panel-title {
    font-size: 1.4rem;
    margin-bottom: 1.8rem;
    color: var(--primary-dark);
}

.styled-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.styled-form .form-group {
    margin-bottom: 1.25rem;
}

.styled-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.styled-form input,
.styled-form select,
.styled-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid rgba(15, 59, 86, 0.08);
    border-radius: var(--border-radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    background-color: var(--bg-light);
}

.styled-form input:focus,
.styled-form select:focus,
.styled-form textarea:focus {
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(27, 98, 139, 0.08);
}

.styled-form textarea {
    resize: vertical;
}

.form-status {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.form-status.success {
    background-color: rgba(46, 125, 50, 0.1);
    color: var(--success);
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.form-status.error {
    background-color: rgba(198, 40, 40, 0.1);
    color: var(--error);
    border: 1px solid rgba(198, 40, 40, 0.2);
}

.contact-details-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.details-card {
    background-color: var(--primary);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    color: var(--text-light);
}

.details-card .panel-title {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.contact-info-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 22px;
    height: 22px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.info-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.2rem;
}

.info-value {
    font-size: 0.98rem;
    font-weight: 500;
}

.info-value a {
    color: var(--text-light);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
}

.info-value a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.map-container {
    width: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15, 59, 86, 0.05);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .styled-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-form-panel {
        padding: 1.8rem 1.4rem;
    }
}

/* Footer Section */
.main-footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    height: 76px;
    width: auto;
    align-self: flex-start;
    object-fit: contain;
}

.footer-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1.25rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.icon-md {
    width: 20px;
    height: 20px;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 8px;
    color: var(--accent);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
}

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

.footer-bottom {
    padding-top: 2rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ==========================================
   NEW STYLES FOR DETAILED CONTENT SECTIONS
   ========================================== */

/* Hero Tags */
.hero-tags {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-tag {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    background-color: rgba(222, 176, 104, 0.08);
    border: 1px solid rgba(222, 176, 104, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

/* Stats Custom Text */
.stat-number-text {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.6;
}

/* About Member Description */
.member-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.4;
}

/* Service Details & Numbers */
.service-number {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    color: rgba(27, 98, 139, 0.1);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.service-card-badges {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.card-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    background-color: var(--primary-light);
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Monitoreo Section (6 Parameters) */
.monitoreo-section {
    background-color: var(--primary-dark);
    position: relative;
    padding: 6.5rem 0;
}

.parameters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.param-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 460px;
}

.param-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    bottom: 0;
    background-color: var(--accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: var(--transition);
    z-index: 10;
}

.param-card:hover::before {
    transform: scaleY(1);
}

.param-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.param-card-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.param-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.param-card:hover .param-card-image {
    transform: scale(1.06);
}

.param-card-content {
    position: relative;
    z-index: 5;
    padding: 0.5rem 1.2rem 0.8rem 1.2rem;
    background: rgba(15, 59, 86, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.param-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.param-name {
    font-size: 1.05rem;
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 0;
}

.status-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-norm {
    background-color: rgba(46, 125, 50, 0.15);
    color: #81c784;
    border: 1px solid rgba(46, 125, 50, 0.3);
}

.status-vigilance {
    background-color: rgba(245, 124, 0, 0.15);
    color: #ffb74d;
    border: 1px solid rgba(245, 124, 0, 0.3);
}

.param-detail {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    margin: 0;
}

.param-unit {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--accent);
    opacity: 0.9;
    margin: 0;
}

.parameters-disclaimer {
    font-size: 0.8rem;
    opacity: 0.7;
}

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

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

/* Differential Section (Amb. + SSO) */
.diff-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.diff-points-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-top: 2.5rem;
}

.diff-point-item {
    display: flex;
    gap: 1.25rem;
}

.point-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.point-text h5 {
    font-size: 1.05rem;
    color: var(--primary-dark);
    margin-bottom: 0.3rem;
}

.point-text p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Comparison Card Visuals */
.diff-visual-panel {
    display: flex;
    justify-content: center;
}

.comparison-card {
    background-color: var(--bg-white);
    padding: 2.8rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(15, 59, 86, 0.05);
    width: 100%;
    max-width: 440px;
}

.comp-title {
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--error);
}

.comp-title.text-primary {
    color: var(--primary) !important;
}

.comp-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.comp-list li {
    font-size: 0.9rem;
    padding-left: 24px;
    position: relative;
}

.list-red li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: var(--error);
    font-weight: 700;
}

.list-green li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

@media (max-width: 992px) {
    .diff-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .comparison-card {
        max-width: 100%;
    }
}

/* Process Timeline (Cómo trabajamos) */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 40px;
    right: 40px;
    height: 2px;
    background-color: rgba(15, 59, 86, 0.08);
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    background-color: var(--bg-white);
    padding: 1.5rem 1rem 0;
}

.step-num {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 4px solid var(--bg-white);
    box-shadow: 0 0 0 1px rgba(15, 59, 86, 0.05);
    transition: var(--transition);
}

.timeline-step:hover .step-num {
    background-color: var(--primary);
    color: var(--text-light);
    transform: scale(1.05);
}

.step-title {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
}

.step-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
}

@media (max-width: 992px) {
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    .process-timeline::before {
        display: none;
    }
    .timeline-step {
        padding: 0;
    }
}

@media (max-width: 576px) {
    .process-timeline {
        grid-template-columns: 1fr;
    }
}

/* FAQ Accordion Section */
.faq-accordion {
    max-width: 800px;
    margin: 3.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 59, 86, 0.03);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(27, 98, 139, 0.1);
}

.faq-trigger {
    width: 100%;
    padding: 1.5rem 1.8rem;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-dark);
    outline: none;
    transition: var(--transition);
}

.faq-trigger:hover {
    color: var(--primary);
}

.faq-icon-arrow {
    font-size: 1.4rem;
    color: var(--accent-hover);
    transition: transform 0.3s ease;
    font-family: monospace;
    font-weight: 400;
    line-height: 1;
}

.faq-trigger.active .faq-icon-arrow {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.8rem;
    background-color: rgba(15, 59, 86, 0.01);
}

.faq-content p {
    font-size: 0.92rem;
    color: var(--text-dark);
    line-height: 1.6;
    padding-bottom: 1.5rem;
}

/* Nota de privacidad del formulario */
.form-privacy {
    margin-top: 1rem;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--text-muted);
    text-align: center;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.08);
    color: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

@media (max-width: 576px) {
    .whatsapp-float {
        right: 18px;
        bottom: 18px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float svg {
        width: 27px;
        height: 27px;
    }
}

/* Grilla Misión / Visión / Rigor — responsive (antes era inline sin breakpoints) */
.about-mvv-grid {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
    gap: 2rem;
}

/* Ajustes finos para teléfonos */
@media (max-width: 576px) {

    section,
    .monitoreo-section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .about-mvv-grid {
        margin-top: 2.5rem;
    }

    .about-overlay-card {
        position: relative;
        bottom: auto;
        right: auto;
        max-width: 100%;
        margin-top: 1rem;
    }

    .about-image-wrapper {
        padding-right: 0;
        padding-bottom: 0;
    }
}

/* En pantallas muy angostas, los botones del asesor se apilan */
@media (max-width: 480px) {
    .calc-actions {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }

    .calc-actions .btn {
        width: 100%;
    }
}

/* Respeta la preferencia de "reducir movimiento" del sistema */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
