:root {
    color-scheme: light;
    --color-bg-start: #f8fafc;
    --color-bg-end: #f1f5f9;
    --color-text-primary: #1e293b;
    --color-text-secondary: #506175; /* Mayor contraste contra fondo claro (antiguo #64748b) */
    --color-brand-green: #7cb951;
    --color-brand-green-hover: #6aa343;
    --color-brand-green-text: #3b771e; /* Verde accesible para textos/iconos en fondo claro */
    --color-brand-dark: #1d1d1b;
    --color-brand-dark-deep: #111111;
    --color-card-bg: #ffffff;
    --color-card-border: rgba(0, 0, 0, 0.05);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.04);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

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

/* Foco visible y accesible */
:focus-visible {
    outline: 3px solid var(--color-brand-green-text);
    outline-offset: 3px;
}

/* Enlace de salto de accesibilidad (Skip to main content) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--color-brand-green-text);
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    z-index: 99999;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: top 0.2s ease-in-out;
}

.skip-link:focus {
    top: 0;
    outline: none; /* Ya tiene su propia posición de enfoque visualizado */
}

body {
    font-family: var(--font-body);
    background: linear-gradient(180deg, var(--color-bg-start), var(--color-bg-end));
    color: var(--color-text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.08;
    pointer-events: none;
}

.blob-green {
    background-color: var(--color-brand-green);
    top: -200px;
    left: -200px;
}

.blob-dark {
    background-color: #3b82f6;
    bottom: 200px;
    right: -200px;
}

.main-content {
    flex: 1;
    z-index: 1;
    width: 100%;
}

.top-bar {
    background: var(--color-brand-dark-deep);
    color: #cbd5e1;
    font-size: 0.8rem;
    padding: 0.65rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.top-bar a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-bar a:hover {
    color: var(--color-brand-green);
}

.top-bar-social {
    display: flex;
    gap: 0.75rem;
}

.top-bar-social a {
    font-size: 0.85rem;
    opacity: 0.8;
}

.top-bar-social a:hover {
    opacity: 1;
    color: var(--color-brand-green);
}

header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}



.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

.nav-toggle {
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    padding: 0.5rem 0.5rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-brand-green);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--color-text-primary);
    text-decoration: none;
}

.header-phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(124, 185, 81, 0.1);
    color: var(--color-brand-green);
}

.hero-section {
    background: var(--color-brand-green);
    color: #ffffff;
    position: relative;
    padding: 5rem 1.5rem;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 992px) {
    .hero-container {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero-text-content {
    max-width: 600px;
}

.hero-tagline {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    opacity: 0.9;
    display: inline-block;
}

.hero-text-content h1 {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.85;
}

.hero-oval-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-oval-mask {
    width: 100%;
    max-width: 460px;
    height: 460px;
    border-top-left-radius: 230px;
    border-bottom-left-radius: 230px;
    border-top-right-radius: 230px;
    border-bottom-right-radius: 0px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background: #e2e8f0;
}

.hero-oval-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-badge-float {
    position: absolute;
    top: 50%;
    left: -40px;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 10;
}

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

.rotate-text {
    animation: spin 20s linear infinite;
    width: 100%;
    height: 100%;
}

.play-icon-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.35rem;
    color: var(--color-brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    margin-left: 3px; 
}

.hero-bg-text {
    position: absolute;
    font-size: 11rem;
    font-weight: 900;
    font-family: var(--font-heading);
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
    top: 5%;
    left: 2%;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
    color: transparent;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-primary {
    background: var(--color-brand-green);
    color: white;
}

.btn-primary:hover {
    background: var(--color-brand-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(124, 185, 81, 0.3);
}

.btn-white {
    background: #ffffff;
    color: var(--color-text-primary);
}

.btn-white:hover {
    background: #f8fafc;
    color: var(--color-brand-green);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-header-cta {
    background: var(--color-brand-green);
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
}

.btn-header-cta:hover {
    background: var(--color-brand-green-hover);
}

.section-services {
    padding: 6rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-subtitle-green {
    color: var(--color-brand-green);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-align: center;
    margin-bottom: 0.75rem;
}

.section-main-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    color: var(--color-text-primary);
    margin-bottom: 3.5rem;
}

.grid-services-four {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.service-card-re {
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card-re:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.service-card-re.highlight {
    background: var(--color-brand-green);
    color: #ffffff;
    border-color: var(--color-brand-green);
}

.service-card-re.highlight .service-card-title {
    color: #ffffff;
}

.service-card-re.highlight .service-card-desc {
    color: rgba(255, 255, 255, 0.85);
}

.service-card-re.highlight .service-card-link {
    color: #ffffff;
}

.service-card-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(124, 185, 81, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.service-card-re.highlight .service-card-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
}

.service-card-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.service-card-link {
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-text-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    transition: color 0.2s ease;
}

.service-card-link:hover {
    color: var(--color-brand-green);
}

.service-card-re.highlight .service-card-link:hover {
    color: #ffffff;
    opacity: 0.9;
}

.section-why-us {
    padding: 6rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.02);
}



.why-us-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .why-us-container {
        grid-template-columns: 1fr 1.1fr;
    }
}

.why-us-images {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 480px;
}

.why-us-img-main {
    width: 75%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.why-us-img-small {
    position: absolute;
    right: 5%;
    bottom: 5%;
    width: 45%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    border: 8px solid #ffffff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    z-index: 2;
}



.why-us-experience-box {
    position: absolute;
    left: 5%;
    bottom: 5%;
    background: var(--color-brand-green);
    color: #ffffff;
    padding: 1.25rem 1.75rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(124, 185, 81, 0.3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 5;
}

.why-us-exp-icon {
    font-size: 2.25rem;
}

.why-us-exp-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1.1;
}

.why-us-exp-sub {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    opacity: 0.9;
}

.why-us-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.why-us-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0.75rem 0 1.5rem 0;
}

.why-us-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.why-us-feat-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 2.5rem;
}

.why-us-feat-block {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.why-us-feat-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    color: var(--color-brand-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}



.why-us-feat-info {
    display: flex;
    flex-direction: column;
}

.why-us-feat-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
}

.why-us-feat-desc {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.why-us-author-section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}



.why-us-profile-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.why-us-author-info {
    display: flex;
    flex-direction: column;
}

.why-us-author-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text-primary);
}

.why-us-author-role {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}


footer {
    background: var(--color-brand-dark-deep);
    color: #94a3b8;
    position: relative;
    padding-top: 0;
    margin-top: 8rem;
}

.footer-contact-cards {
    max-width: 1200px;
    margin: -5rem auto 4rem auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 10;
}

.footer-c-card {
    background: var(--color-brand-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.footer-c-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(124, 185, 81, 0.1);
    color: var(--color-brand-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.footer-c-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #cbd5e1;
    margin-bottom: 0.25rem;
}

.footer-c-value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-c-value a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-c-value a:hover {
    color: var(--color-brand-green);
}

.footer-cols {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-cols {
        grid-template-columns: 2fr 1.2fr 1.2fr;
        gap: 4.5rem;
    }
}

.footer-about h3 {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.footer-social-links a {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-links a:hover {
    background: var(--color-brand-green);
    border-color: var(--color-brand-green);
}

.footer-col-title {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-menu a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.footer-menu a:hover {
    color: var(--color-brand-green);
}

.footer-posts {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-post-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.footer-post-thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.footer-post-info {
    display: flex;
    flex-direction: column;
}

.footer-post-date {
    font-size: 0.75rem;
    color: var(--color-brand-green);
    margin-bottom: 0.25rem;
}

.footer-post-title {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.footer-post-title:hover {
    color: var(--color-brand-green);
}

.footer-bottom {
    background: #0b0f19;
    padding: 1.5rem;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .footer-bottom-container {
        flex-direction: row;
    }
}

.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-brand-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(124, 185, 81, 0.3);
    cursor: pointer;
    z-index: 99;
    border: none;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.scroll-top-btn:hover {
    background: var(--color-brand-green-hover);
    transform: translateY(-3px);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    z-index: 1000;
    top: 100%;
    left: 0;
    overflow: hidden;
    margin-top: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}



.dropdown-content a {
    color: var(--color-text-primary);
    padding: 0.85rem 1.25rem;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.dropdown-content a:hover,
.dropdown-content a:focus {
    background-color: rgba(124, 185, 81, 0.08);
    color: var(--color-brand-green-text);
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content,
.dropdown-content.open {
    display: block;
}

.page-header-banner {
    position: relative;
    background: linear-gradient(135deg, var(--color-brand-dark-deep) 0%, var(--color-brand-green) 50%, var(--color-brand-dark-deep) 100%);
    padding: 6.5rem 1.5rem;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

.page-header-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/hero_energy.png') no-repeat center;
    background-size: cover;
    opacity: 0.15;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.page-breadcrumbs {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.page-breadcrumbs a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.page-breadcrumbs a:hover {
    color: var(--color-brand-green);
}

.tariffs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
}

.tariff-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tariff-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.tariff-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--color-brand-green);
    color: white;
    padding: 0.35rem 2.5rem;
    font-size: 0.7rem;
    font-weight: 800;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tariff-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.tariff-price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-brand-green);
    margin: 1.5rem 0;
    line-height: 1;
}

.tariff-features {
    list-style: none !important;
    list-style-type: none !important;
    margin: 2rem 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 !important;
}

.tariff-features li {
    list-style: none !important;
    list-style-type: none !important;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.tariff-card[style*="background: var(--color-brand-green)"] .tariff-header h3,
.tariff-card[style*="background: var(--color-brand-green)"] .tariff-price,
.tariff-card[style*="background: var(--color-brand-green)"] .tariff-features li {
    color: #ffffff !important;
}

.tariff-card[style*="background: var(--color-brand-green)"] .tariff-header p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    text-align: left;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-primary);
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: 10px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.form-control::placeholder {
    color: #94a3b8;
    opacity: 0.8;
}

.form-control:focus {
    border-color: var(--color-brand-green);
    outline: none;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(124, 185, 81, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.01);
}



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

@media (min-width: 992px) and (max-width: 1250px) {
    .nav-menu {
        gap: 0.75rem;
    }
    .nav-link {
        font-size: 0.82rem;
        padding: 0.5rem 0.25rem;
    }
    .header-right {
        gap: 0.75rem;
    }
    .btn-header-cta {
        padding: 0.6rem 0.8rem;
        font-size: 0.82rem;
    }
    .header-phone {
        font-size: 0.85rem;
    }
}

@media (max-width: 991px) {
    .top-bar {
        display: none !important;
    }

    header {
        position: sticky;
        top: 0;
        z-index: 1000;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }

    .header-container {
        padding: 1rem 1.5rem;
        position: relative;
    }

    
    .nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: var(--color-text-primary);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        transition: color 0.2s ease;
        z-index: 1100;
        order: 3;
    }

    .nav-toggle:hover {
        color: var(--color-brand-green);
    }

    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        padding: 1.5rem 0;
        margin: 0;
        z-index: 1000;
        gap: 0;
    }



    .nav-menu.open {
        display: flex !important;
    }

    .nav-menu li {
        width: 100%;
        text-align: left;
    }

    .nav-menu li a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        box-sizing: border-box;
        border-bottom: 1px solid rgba(0, 0, 0, 0.02);
    }



    
    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown .dropdown-content {
        position: static;
        display: block;
        background: rgba(0, 0, 0, 0.02);
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding-left: 1.5rem;
        min-width: 100%;
        margin-top: 0;
    }



    .dropdown-content a {
        padding: 0.75rem 2rem;
        font-size: 0.9rem;
    }

    
    .header-right {
        display: none !important;
    }

    .header-right.open {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 1.5rem 2rem;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        box-sizing: border-box;
        z-index: 999;
        gap: 1rem;
    }



    
    .why-us-container,
    .hero-container {
        flex-direction: column !important;
        gap: 2.5rem !important;
    }

    .hero-oval-wrapper {
        margin-top: 2rem;
        width: 100%;
        max-width: 400px;
        align-self: center;
    }

    .why-us-content,
    .hero-text {
        text-align: center;
        align-items: center;
    }

    .section-subtitle-green {
        text-align: center !important;
        margin: 0 auto 0.5rem auto !important;
    }

    .why-us-content h2,
    .hero-text h1,
    .section-main-title {
        font-size: 2.15rem !important;
        line-height: 1.25 !important;
        text-align: center !important;
    }

    .why-us-feat-block {
        text-align: left;
    }

    
    .grid-services-four,
    .tariffs-container {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .page-header-banner {
        padding: 4.5rem 1.5rem !important;
    }

    .page-header-title {
        font-size: 2.25rem !important;
    }
}

@media (max-width: 575px) {
    .footer-contact-cards {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 0 1rem;
        margin-top: -3.5rem;
    }

    .footer-c-card {
        padding: 1.25rem !important;
    }

    .footer-cols {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        padding: 3rem 1.5rem !important;
    }

    .footer-bottom-container {
        flex-direction: column !important;
        text-align: center;
        gap: 1.25rem;
    }

    .footer-legal-links {
        flex-direction: column !important;
        gap: 0.75rem !important;
        align-items: center;
    }

    .card {
        padding: 2rem 1.5rem !important;
    }

    .why-us-feat-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .why-us-feat-circle {
        margin: 0 auto;
    }
}

/* ==========================================================================
   NUEVAS SECCIONES PREMIUM: OPINIONES, VÍDEOS Y LIGHTBOX
   ========================================================================== */

/* Sección de Testimonios/Opiniones */
.section-testimonials {
    padding: 6rem 1.5rem;
    background: var(--color-bg-start);
    position: relative;
}

.grid-testimonials-three {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-brand-green);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(124, 185, 81, 0.08);
    border-color: rgba(124, 185, 81, 0.2);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-stars {
    color: #f1c40f;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    display: flex;
    gap: 0.25rem;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-primary);
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-quote-bg {
    position: absolute;
    right: 2rem;
    bottom: 1.5rem;
    font-size: 5rem;
    color: rgba(124, 185, 81, 0.05);
    font-family: serif;
    line-height: 0;
    pointer-events: none;
    user-select: none;
}

.testimonial-author {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(124, 185, 81, 0.1);
    color: var(--color-brand-green);
    font-weight: 700;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.testimonial-info-wrapper {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text-primary);
}

.testimonial-meta {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.testimonial-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    background: rgba(124, 185, 81, 0.08);
    color: var(--color-brand-green);
}

/* Sección de Vídeos */
.section-videos {
    padding: 6rem 1.5rem;
    background: var(--color-bg-end);
    position: relative;
}

.grid-videos-two {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .grid-videos-two {
        grid-template-columns: 1fr;
    }
}

.video-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.video-thumbnail-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
    opacity: 0.95;
}

/* Botón de reproducción de vídeo premium */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 74px;
    height: 74px;
    background: #ffffff;
    color: var(--color-brand-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-play-btn i {
    margin-left: 4px;
}

.video-play-btn::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    top: 0;
    left: 0;
    animation: videoPulse 2s infinite;
    pointer-events: none;
}

.video-play-btn img {
    /* override any other filters */
}

.video-card:hover .video-play-btn {
    background: var(--color-brand-green);
    color: #ffffff;
    transform: translate(-50%, -50%) scale(1.08);
}

.video-card:hover .video-play-btn::after {
    border-color: rgba(124, 185, 81, 0.8);
}

@keyframes videoPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.video-card-body {
    padding: 1.75rem 2rem;
}

.video-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.video-card:hover .video-card-title {
    color: var(--color-brand-green);
}

.video-card-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

/* Modal Lightbox */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 1.5rem;
}

.video-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.video-modal-container {
    width: 100%;
    max-width: 900px;
    background: #000000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-modal-overlay.open .video-modal-container {
    transform: scale(1);
}

.video-modal-ratio {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
}

.video-modal-ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-modal-close {
    position: absolute;
    top: -3.5rem;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-close:hover {
    color: var(--color-brand-green);
    transform: rotate(90deg);
}

@media (max-width: 991px) {
    .video-modal-close {
        top: 1rem;
        right: 1rem;
        background: rgba(15, 23, 42, 0.6);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        font-size: 1.25rem;
        z-index: 10;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
}

/* Modificación del badge flotante del Hero para hacerlo cliqueable */
.hero-badge-float {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-badge-float:hover {
    transform: translateY(-50%) scale(1.08) !important;
    box-shadow: 0 15px 35px rgba(124, 185, 81, 0.25);
}

/* Estilos de enlaces del Área de Cliente y Área de Colaboradores */
.top-bar-links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding-right: 1.25rem;
}

.top-bar-links a {
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}



