/* ========================================
   MG Consulting - Premium Website Styles
   ======================================== */

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

:root {
    --primary: #0A5C8A;
    --primary-dark: #074060;
    --primary-light: #1A8FCC;
    --primary-glow: rgba(26, 143, 204, 0.3);
    --accent: #D6336C;
    --accent-light: #E8528A;
    --gold: #C9A84C;
    --dark: #1A1A2E;
    --gray-dark: #3A3A4E;
    --gray: #6B6B80;
    --gray-light: #B0B0C0;
    --gray-lighter: #E8E8F0;
    --bg: #F5F7FA;
    --bg-alt: #FFFFFF;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(10, 92, 138, 0.08);
    --shadow-lg: 0 10px 40px rgba(10, 92, 138, 0.15);
    --shadow-glow: 0 0 30px rgba(26, 143, 204, 0.2);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease;
}

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

body {
    font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-dark);
    background-color: var(--bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: 3rem; font-weight: 800; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; font-weight: 600; }

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

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

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

ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section { padding: 6rem 0; }

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

.section-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 1rem auto 0;
}

/* === Text Gradient === */
.text-gradient {
    background: linear-gradient(135deg, #FFD700, #FFA500, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Shine effect on buttons */
.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-25deg);
    animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {
    0%, 100% { left: -75%; }
    50% { left: 125%; }
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-3px);
}

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

.btn-white:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* === Top Bar === */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    padding: 0.5rem 0;
    position: relative;
    z-index: 1001;
}

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

.top-bar-left {
    display: flex;
    gap: 2rem;
}

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

.top-bar-left i {
    color: var(--primary-light);
}

.top-bar-right {
    display: flex;
    gap: 1rem;
}

.top-bar-right a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition-fast);
    font-size: 0.85rem;
}

.top-bar-right a:hover {
    color: var(--primary-light);
    transform: scale(1.2);
}

/* === Header === */
.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.header.scrolled {
    border-bottom-color: var(--primary);
    box-shadow: 0 4px 30px rgba(10, 92, 138, 0.15);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
    margin-left: 1rem;
}

.logo:hover {
    transform: scale(1.03);
}

.logo img {
    height: 55px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(10, 92, 138, 0.2));
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 48px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    display: none;
}

.logo-slogan {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.65rem;
    color: var(--gray);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: 500;
    white-space: nowrap;
    font-size: 0.6rem;
}

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

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-dark);
    padding: 0.5rem 0.85rem;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: var(--transition);
    transform: translateX(-50%);
}

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

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

/* CTA Header Button */
.btn-cta-header {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: ctaPulse 2s ease-in-out infinite;
}

.btn-cta-header::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-25deg);
    animation: btnShine 2.5s ease-in-out infinite;
}

.btn-cta-header:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(214, 51, 108, 0.4);
    color: var(--white);
    animation: none;
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(214, 51, 108, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(214, 51, 108, 0); }
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* === Hero === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #051e2e 0%, var(--primary-dark) 30%, var(--primary) 60%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

.hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

/* Hero entrance animations */
.animate-hero {
    opacity: 0;
    transform: translateY(40px);
    animation: heroFadeIn 0.8s ease forwards;
}

.animate-hero:nth-child(1) { animation-delay: 0.2s; }
.animate-hero:nth-child(2) { animation-delay: 0.4s; }
.animate-hero:nth-child(3) { animation-delay: 0.6s; }
.animate-hero:nth-child(4) { animation-delay: 0.8s; }
.animate-hero:nth-child(5) { animation-delay: 1s; }

@keyframes heroFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

.animate-hero-img {
    opacity: 0;
    transform: scale(0.8) rotate(-5deg);
    animation: heroImgIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
}

@keyframes heroImgIn {
    to { opacity: 1; transform: scale(1) rotate(0deg); }
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero h1 {
    color: var(--white);
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    line-height: 1.25;
    font-weight: 700;
    max-width: 600px;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* Trust badges */
.hero-trust {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.05);
}

.trust-badge i {
    color: var(--gold);
    font-size: 0.9rem;
}

/* Hero image with rings */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-ring {
    position: absolute;
    width: 460px;
    height: 460px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: ringRotate 20s linear infinite;
}

.hero-image-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--gold);
}

.hero-image-ring.ring-2 {
    width: 500px;
    height: 500px;
    border-color: rgba(255,255,255,0.05);
    animation-direction: reverse;
    animation-duration: 30s;
}

.hero-image-ring.ring-2::before {
    background: var(--primary-light);
    box-shadow: 0 0 15px var(--primary-light);
}

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

.hero-image img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    position: relative;
    z-index: 2;
}

/* Fallback for missing images */
img[src*="manuel-foto"] {
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
    min-height: 100px;
}

/* === About Section === */
.section-about { background: var(--white); }

.about-grid {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 3.5rem;
    align-items: start;
}

.about-image {
    position: relative;
    position: sticky;
    top: 100px;
}

.about-image img {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    border-radius: 12px;
}

.about-image-accent {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--primary);
    border-radius: 12px;
    z-index: 1;
    transition: var(--transition);
}

.about-image:hover .about-image-accent {
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
}

.about-content h2 { margin-bottom: 1.5rem; }
.about-content p {
    margin-bottom: 1rem;
    line-height: 1.75;
    font-size: 0.98rem;
}

.about-stats {
    display: flex;
    gap: 2.5rem;
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--gray-lighter);
    border-bottom: 1px solid var(--gray-lighter);
}

.stat { text-align: center; }

.stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray);
    margin-top: 0.5rem;
    font-weight: 500;
}

.quote {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    font-style: italic;
    color: var(--primary);
    margin-top: 1.5rem;
}

/* === Sobre Mí V2 - Hero con foto === */
.page-hero-sobremi {
    padding: 7rem 0 4rem;
    text-align: left;
}

.sobremi-hero-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: center;
}

.sobremi-hero-text h1 {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.sobremi-hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
}

.sobremi-stat {
    text-align: center;
    position: relative;
}

.sobremi-stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.sobremi-stat-plus {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    vertical-align: super;
}

.sobremi-stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin-top: 0.4rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sobremi-hero-photo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sobremi-photo-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
}

.sobremi-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    border: 4px solid rgba(201, 168, 76, 0.4);
}

.sobremi-photo-ring {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 50%;
    border: 2px solid rgba(201, 168, 76, 0.2);
    animation: sobremi-pulse 3s ease-in-out infinite;
}

.sobremi-photo-ring.ring-2 {
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    border-color: rgba(201, 168, 76, 0.1);
    animation-delay: 1.5s;
}

@keyframes sobremi-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.03); opacity: 0.6; }
}

/* Sobre Mí V2 - Content cards */
.section-about-v2 {
    background: #f8fafc;
}

.about-v2-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.about-v2-intro h2 {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
    color: var(--primary-dark);
}

.about-v2-lead {
    font-size: 1.15rem;
    color: var(--gray);
    line-height: 1.8;
}

.about-v2-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.about-v2-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-left: 4px solid var(--gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-v2-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.about-v2-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.about-v2-card-icon i {
    color: var(--white);
    font-size: 1.25rem;
}

.about-v2-card h3 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.about-v2-card p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.7;
    margin: 0;
}

.about-v2-quote {
    text-align: center;
    padding-top: 1rem;
}

.about-v2-quote .quote {
    font-size: 1.4rem;
    color: var(--primary);
}

/* Responsive Sobre Mí V2 */
@media (max-width: 1024px) {
    .sobremi-hero-grid {
        grid-template-columns: 1fr 320px;
        gap: 2rem;
    }
    .sobremi-hero-text h1 { font-size: 2.2rem; }
    .sobremi-photo-wrapper { width: 280px; height: 280px; }
}

@media (max-width: 768px) {
    .sobremi-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .sobremi-hero-text h1 { font-size: 1.8rem; }
    .sobremi-hero-photo { order: -1; }
    .sobremi-photo-wrapper { width: 240px; height: 240px; }
    .sobremi-hero-stats { justify-content: center; gap: 1.5rem; }
    .about-v2-cards { grid-template-columns: 1fr; }
    .page-hero-sobremi { text-align: center; }
}

/* === Services Section === */
.section-services { background: var(--bg); }

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.service-column {
    background: var(--white);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.service-column:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-top-color: var(--primary);
}

.service-column-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--gray-lighter);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 12px;
    transition: var(--transition);
}

.service-column:hover .service-icon {
    transform: rotateY(180deg);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.service-column-header h3 {
    color: var(--primary);
    font-size: 1.5rem;
}

.service-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
    transition: var(--transition);
}

.service-list li:hover {
    transform: translateX(5px);
}

.service-list li i {
    color: var(--primary-light);
    margin-top: 0.35rem;
    flex-shrink: 0;
    font-size: 0.75rem;
}

.service-list li span {
    font-size: 1rem;
    line-height: 1.6;
}

/* === Methodology Section === */
.section-methodology { background: var(--white); }

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.methodology-card {
    padding: 2.5rem;
    border: 1px solid var(--gray-lighter);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.methodology-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--gold));
    transition: left 0.5s ease;
}

.methodology-card:hover::before {
    left: 0;
}

.methodology-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.methodology-card:hover .method-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: var(--shadow-glow);
}

.method-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.methodology-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.methodology-card p {
    font-size: 1rem;
    line-height: 1.7;
}

.methodology-card ul {
    text-align: left;
    margin-top: 0.5rem;
}

.methodology-card ul li {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.methodology-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* === Clients Section === */
.section-clients { background: var(--bg); }

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.client-item {
    background: var(--white);
    padding: 1.25rem;
    text-align: center;
    border: 1px solid var(--gray-lighter);
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    position: relative;
    overflow: hidden;
}

.client-item img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.client-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.client-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.client-item:hover::after {
    transform: scaleX(1);
}

.client-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

/* === Gallery Slider === */
.section-gallery {
    background: linear-gradient(135deg, #0a1628 0%, #0d2137 40%, #0f3451 70%, #074060 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.section-gallery::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(10, 92, 138, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(10, 92, 138, 0.1) 0%, transparent 40%);
    animation: galleryAmbient 12s ease-in-out infinite alternate;
}

@keyframes galleryAmbient {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-3%, -3%); }
}

.section-gallery .section-header {
    position: relative;
    z-index: 1;
}

.section-gallery .section-label {
    color: rgba(255, 255, 255, 0.6);
}

.section-gallery h2 {
    color: var(--white);
}

.gallery-slider {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), 0 0 40px rgba(10, 92, 138, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.gallery-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0d1b2a;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.gallery-slide.active {
    opacity: 1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.gallery-btn:hover {
    background: rgba(10, 92, 138, 0.8);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(10, 92, 138, 0.5);
}

.gallery-btn.prev { left: 1rem; }
.gallery-btn.next { right: 1rem; }

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 0;
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.95), rgba(7, 64, 96, 0.3));
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.gallery-dot.active {
    background: var(--white);
    width: 28px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.gallery-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .gallery-slider { border-radius: 10px; }
    .gallery-btn { width: 38px; height: 38px; font-size: 0.9rem; }
    .gallery-btn.prev { left: 0.5rem; }
    .gallery-btn.next { right: 0.5rem; }
}

/* === CTA Section === */
.section-cta {
    background: linear-gradient(135deg, #051e2e 0%, var(--primary-dark) 50%, var(--primary) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 50%;
    animation: ringRotate 30s linear infinite;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* === Contact Section === */
.section-contact { background: var(--bg); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 12px;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.contact-item h4 {
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item p {
    color: var(--gray);
    font-size: 1rem;
}

.contact-item a:hover { color: var(--primary); }

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-social a {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border-radius: 12px;
    transition: var(--transition);
}

.contact-social a:hover {
    transform: translateY(-4px) rotate(5deg);
    box-shadow: var(--shadow-glow);
    color: var(--white);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.25rem;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1rem;
    border: 2px solid var(--gray-lighter);
    background: var(--bg);
    color: var(--gray-dark);
    transition: var(--transition);
    outline: none;
    border-radius: 4px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(10, 92, 138, 0.1);
    background: var(--white);
}

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

/* === Footer === */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 0.8fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-logo-big {
    height: 100px;
    width: auto;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.footer-logo-big:hover {
    transform: scale(1.05);
}

.footer-brand-name {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.footer-tagline {
    font-style: italic;
    font-size: 0.9rem;
}

.footer-contact h4,
.footer-social-col h4,
.footer-nav-col h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: var(--primary-light);
    width: 16px;
}

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

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border-radius: 8px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
}

.footer-dev {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.footer-dev a {
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.footer-dev a:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.devopslab-logo {
    height: 22px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    opacity: 0.7;
    transition: var(--transition);
}

.devopslab-logo:hover {
    opacity: 1;
}

/* === WhatsApp Float === */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 64px;
    height: 64px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.85rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: whatsappBounce 2s ease-in-out infinite;
}

@keyframes whatsappBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    color: white;
    animation: none;
}

/* === Scroll Animations === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.15s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.25s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(7) { transition-delay: 0.35s; }
.stagger-children .reveal:nth-child(8) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(9) { transition-delay: 0.45s; }
.stagger-children .reveal:nth-child(10) { transition-delay: 0.5s; }
.stagger-children .reveal:nth-child(11) { transition-delay: 0.55s; }
.stagger-children .reveal:nth-child(12) { transition-delay: 0.6s; }
.stagger-children .reveal:nth-child(13) { transition-delay: 0.65s; }
.stagger-children .reveal:nth-child(14) { transition-delay: 0.7s; }
.stagger-children .reveal:nth-child(15) { transition-delay: 0.75s; }

/* === Page Hero (for sub-pages) === */
.page-hero {
    background: linear-gradient(135deg, #051e2e 0%, var(--primary-dark) 50%, var(--primary) 100%);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero-metodologia {
    background: linear-gradient(135deg, rgba(5,30,46,0.65) 0%, rgba(10,60,90,0.6) 50%, rgba(15,90,130,0.55) 100%),
                url('../images/fotosweb/evento9.jpeg') center/cover no-repeat;
}

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

.page-hero .section-label { color: var(--gold); }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.15rem; }
.page-hero .hero-profession {
    color: var(--gold);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* === Contact Cards === */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid var(--gray-lighter);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.contact-card .contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
}

.contact-card h4 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact-card a,
.contact-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.contact-card a:hover { color: var(--primary); }

/* === CTA Buttons row === */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === Link Button === */
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    margin-top: 1.5rem;
}

.btn-link:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

.section-footer-link {
    text-align: center;
    margin-top: 3rem;
}

/* === Footer Nav Col === */
.footer-nav-col ul {
    margin-bottom: 1.5rem;
}

.footer-nav-col ul li {
    margin-bottom: 0.5rem;
}

.footer-nav-col ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-nav-col ul li a:hover {
    color: var(--primary-light);
}

/* === Modal CONVERSEMOS === */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-conversemos {
    background: var(--white);
    width: 100%;
    max-width: 820px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    transform: scale(0.85) translateY(30px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1fr 300px;
}

.modal-conversemos .modal-form-col {
    padding: 0;
    overflow-y: auto;
    max-height: 90vh;
    position: relative;
}

.modal-brand-panel {
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 0 16px 16px 0;
    position: relative;
    overflow: hidden;
}

.modal-brand-panel::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    top: -60px;
    right: -60px;
}

.modal-brand-panel::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    bottom: -40px;
    left: -40px;
}

.modal-brand-logo {
    height: 160px;
    width: 160px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 50%;
    padding: 24px;
    box-shadow: 0 0 0 6px rgba(255,255,255,0.2), 0 0 0 12px rgba(255,255,255,0.1), 0 8px 30px rgba(0,0,0,0.2);
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 0 0 6px rgba(255,255,255,0.2), 0 0 0 12px rgba(255,255,255,0.1), 0 8px 30px rgba(0,0,0,0.2); }
    50% { box-shadow: 0 0 0 10px rgba(201,168,76,0.3), 0 0 0 20px rgba(201,168,76,0.1), 0 8px 30px rgba(0,0,0,0.25); }
}

.modal-brand-panel h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.modal-brand-panel > p {
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.modal-brand-benefits {
    list-style: none;
    text-align: left;
    width: 100%;
    position: relative;
    z-index: 1;
}

.modal-brand-benefits li {
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    padding: 0.5rem 0.8rem;
    margin-bottom: 0.4rem;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-brand-benefits li i {
    color: var(--gold);
    font-size: 0.75rem;
}

.modal-overlay.active .modal-conversemos {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background: rgba(0,0,0,0.05);
    border: none;
    font-size: 1.5rem;
    color: var(--gray);
    cursor: pointer;
    z-index: 10;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(0,0,0,0.1);
    color: var(--dark);
}

.modal-header {
    background: transparent;
    padding: 2rem 2rem 0.5rem;
    text-align: left;
}

.modal-logo {
    display: none;
}

.modal-header h2 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.modal-header p {
    color: var(--gray);
    font-size: 0.9rem;
}

.modal-form {
    padding: 2rem;
}

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

.modal-form .form-group {
    margin-bottom: 1rem;
}

.modal-form label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-dark);
    margin-bottom: 0.4rem;
}

.modal-form label i {
    color: var(--primary);
    margin-right: 0.3rem;
}

.modal-form input:not([type="checkbox"]),
.modal-form select,
.modal-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.95rem;
    border: 2px solid var(--gray-lighter);
    background: var(--bg);
    color: var(--gray-dark);
    transition: var(--transition);
    outline: none;
    border-radius: 6px;
}

.modal-form input:not([type="checkbox"]):focus,
.modal-form select:focus,
.modal-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(10, 92, 138, 0.1);
    background: var(--white);
}

.modal-form textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-submit {
    margin-top: 0.5rem;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 6px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-color: #25D366;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    border-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* === Services Checklist === */
.services-checklist {
    max-height: 180px;
    overflow-y: auto;
    border: 1px solid var(--gray-lighter);
    border-radius: 8px;
    padding: 0.5rem;
    background: var(--bg);
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) transparent;
}

.services-checklist::-webkit-scrollbar {
    width: 6px;
}

.services-checklist::-webkit-scrollbar-track {
    background: transparent;
}

.services-checklist::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 3px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.82rem;
    color: var(--gray-dark);
    border: 1px solid transparent;
}

.check-item:hover {
    background: rgba(10, 92, 138, 0.05);
    border-color: rgba(10, 92, 138, 0.1);
}

.check-item input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 2px solid var(--gray-light) !important;
    border-radius: 50% !important;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition-fast);
    position: relative;
    background: var(--white) !important;
    box-shadow: none !important;
}

.check-item input[type="checkbox"]:checked {
    border-color: var(--primary) !important;
    background: var(--primary) !important;
}

.check-item input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 8px;
    font-weight: 700;
}

.modal-form .check-item,
.landing-form .check-item,
.services-checklist .check-item {
    text-transform: none;
}
.check-item span {
    line-height: 1.3;
}

.check-item:has(input:checked) {
    background: rgba(10, 92, 138, 0.08);
    border-color: rgba(10, 92, 138, 0.15);
    color: var(--primary-dark);
    font-weight: 500;
}

/* === Modal Contact Info === */
.modal-contact-info {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 0.6rem;
    flex-wrap: wrap;
}

.modal-contact-info a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    background: rgba(10, 92, 138, 0.08);
    transition: var(--transition-fast);
}

.modal-contact-info a:hover {
    background: rgba(10, 92, 138, 0.15);
    color: var(--primary-dark);
}

.modal-contact-info a i {
    font-size: 0.9rem;
}

/* === Landing Page === */
.landing-hero {
    position: relative;
    background: linear-gradient(135deg, #051e2e 0%, #0a3350 40%, #074060 70%, #0d4a6e 100%);
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.landing-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(26, 143, 204, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.1) 0%, transparent 40%);
    animation: landingAmbient 8s ease-in-out infinite alternate;
}

@keyframes landingAmbient {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

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

.landing-hero-content {
    color: var(--white);
}

.landing-label {
    display: inline-block;
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 4px;
}

.landing-hero-content h1 {
    color: var(--white);
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

.landing-highlight {
    background: linear-gradient(135deg, var(--gold), #e8c84c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 500px;
}

.landing-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.landing-stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: var(--gold);
}

.landing-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.landing-cta-btn {
    font-size: 1rem;
    padding: 0.9rem 2rem;
}

.landing-hero-photo {
    position: relative;
    display: flex;
    justify-content: center;
}

.landing-photo-frame {
    width: 320px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(26, 143, 204, 0.2);
    border: 3px solid rgba(201, 168, 76, 0.3);
}

.landing-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.landing-photo-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 0.7rem 1.3rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
    white-space: nowrap;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(201, 168, 76, 0.3);
}

.landing-photo-badge i {
    color: var(--gold);
    font-size: 1.3rem;
}

/* Landing Trust */
.landing-trust {
    background: var(--white);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-lighter);
}

.landing-trust-items {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.landing-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.landing-trust-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* Landing Form Section */
.landing-form-section {
    padding: 5rem 0;
    background: var(--bg);
}

.landing-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.landing-form-info h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.landing-form-info > p {
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.landing-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
}

.landing-benefit {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1rem;
    color: var(--gray-dark);
}

.landing-benefit i {
    color: #28a745;
    font-size: 1.1rem;
}

.landing-contact-direct h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.landing-contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.landing-contact-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition-fast);
    border: 1px solid var(--gray-lighter);
    background: var(--white);
}

.landing-contact-link:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.landing-contact-link i {
    font-size: 1.4rem;
    width: 36px;
    text-align: center;
}

.landing-contact-link.whatsapp i { color: #25D366; }
.landing-contact-link.email i { color: var(--primary); }
.landing-contact-link.phone i { color: var(--accent); }

.landing-contact-link strong {
    display: block;
    color: var(--dark);
    font-size: 0.85rem;
}

.landing-contact-link span {
    color: var(--gray);
    font-size: 0.85rem;
}

/* Landing Form Card */
.landing-form-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(10, 92, 138, 0.1);
}

.landing-form-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 1.5rem 2rem;
    color: var(--white);
}

.landing-form-header h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.landing-form-header h3 i {
    margin-right: 0.4rem;
}

.landing-form-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.landing-form {
    padding: 2rem;
}

.landing-form .form-group {
    margin-bottom: 1rem;
}

.landing-form .form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 0.3rem;
}

.landing-form .form-group label i {
    color: var(--primary);
    margin-right: 0.3rem;
}

.landing-form .form-group input:not([type="checkbox"]),
.landing-form .form-group select,
.landing-form .form-group textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid var(--gray-lighter);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition-fast);
    background: var(--bg);
}

.landing-form .form-group input:not([type="checkbox"]):focus,
.landing-form .form-group select:focus,
.landing-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: var(--white);
}

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

.landing-form .btn-submit {
    margin-top: 0.5rem;
    font-size: 1rem;
    padding: 0.9rem;
}

/* Landing Location */
.landing-location {
    background: var(--white);
    padding: 2rem 0;
    border-top: 1px solid var(--gray-lighter);
}

.landing-location-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--gray-dark);
}

.landing-location-content i {
    font-size: 1.5rem;
    color: var(--accent);
}

.landing-location-content strong {
    display: block;
    font-size: 1.05rem;
    color: var(--dark);
}

.landing-location-content span {
    font-size: 0.9rem;
    color: var(--gray);
}

/* === Responsive === */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .hero-content { gap: 2rem; }
    .hero h1 { font-size: 2rem; }
    .hero-image img { width: 320px; height: 320px; }
    .hero-image-ring { width: 360px; height: 360px; }
    .hero-image-ring.ring-2 { width: 400px; height: 400px; }

    .about-grid { grid-template-columns: 350px 1fr; gap: 2.5rem; }
    .methodology-grid { grid-template-columns: 1fr; }
    .clients-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-cards { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-logo-big { height: 80px; }

    .btn-cta-header { display: none; }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .section { padding: 4rem 0; }

    .top-bar { display: none; }

    .hamburger { display: flex; }

    .nav {
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        transition: var(--transition);
        z-index: 999;
    }

    .nav.active { transform: translateY(0); }

    .nav-list { flex-direction: column; gap: 0; }

    .nav-link {
        display: block;
        padding: 0.75rem 0;
        padding-left: 1rem;
    }

    .nav-link::after {
        bottom: 0;
        left: 0;
        height: 100%;
        width: 3px;
        transform: scaleY(0);
        transform-origin: bottom;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        transform: scaleY(1);
        width: 3px;
    }

    .btn-cta-header { display: none; }

    .landing-hero { padding: 6rem 0 3rem; }
    .landing-hero-grid { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
    .landing-hero-content h1 { font-size: 2.2rem; }
    .landing-subtitle { margin-left: auto; margin-right: auto; }
    .landing-stats { justify-content: center; }
    .landing-photo-frame { width: 260px; height: 340px; }
    .landing-form-grid { grid-template-columns: 1fr; }
    .landing-trust-items { gap: 1.5rem; }
    .landing-form .form-row { grid-template-columns: 1fr; }
    .modal-contact-info { gap: 0.8rem; }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 3rem 1.5rem;
    }

    .hero h1 { font-size: 1.6rem; }
    .hero-buttons { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-image { order: -1; }
    .hero-image img { width: 250px; height: 250px; }
    .hero-image-ring { width: 290px; height: 290px; }
    .hero-image-ring.ring-2 { width: 320px; height: 320px; }

    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-image { max-width: 400px; margin: 0 auto; position: static; }
    .about-stats { flex-direction: column; gap: 1.5rem; }

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

    .modal-conversemos { max-width: 100%; margin: 0.5rem; grid-template-columns: 1fr; }
    .modal-brand-panel { display: none; }
    .modal-logo { display: none; }
    .modal-header { text-align: center; }
    .modal-contact-info { justify-content: center; }
    .modal-form .form-row { grid-template-columns: 1fr; }
    .modal-header { padding: 1.5rem 1.5rem 1rem; }
    .modal-form { padding: 1.5rem; }

    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-logo-big { height: 80px; margin-left: auto; margin-right: auto; }
    .footer-contact p { justify-content: center; }
    .footer-social { justify-content: center; }
    .cta-content h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }

    .hero { min-height: auto; padding-top: 1rem; padding-bottom: 2rem; }
    .hero-image img { width: 200px; height: 200px; }
    .hero-image-ring { width: 240px; height: 240px; }
    .hero-image-ring.ring-2 { width: 270px; height: 270px; }

    .btn { padding: 0.75rem 1.5rem; font-size: 0.8rem; }

    .clients-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
    .client-item { padding: 0.75rem; min-height: 70px; }
    .client-item img { max-height: 50px; }

    .contact-cards { grid-template-columns: 1fr; }

    .landing-hero-content h1 { font-size: 1.8rem; }
    .landing-stats { flex-direction: column; gap: 1rem; }
    .landing-stat { flex-direction: row; gap: 0.5rem; align-items: center; display: flex; }
    .landing-photo-frame { width: 220px; height: 290px; }
    .landing-photo-badge { font-size: 0.7rem; }
    .landing-trust-items { flex-direction: column; align-items: center; gap: 1rem; }
    .landing-contact-link { padding: 0.6rem 0.8rem; }
    .modal-contact-info { flex-direction: column; align-items: center; gap: 0.5rem; }

    .modal-overlay { padding: 0.5rem; }
    .modal-header h2 { font-size: 1.4rem; }
    .modal-form { padding: 1rem; }
    .modal-form .form-row { grid-template-columns: 1fr; }
    .modal-logo { height: 40px; }

    .logo img { height: 55px; }
    .logo-text { display: none; }
}

/* ========================================
   Testimonials Section
   ======================================== */
.section-testimonials {
    background: linear-gradient(170deg, #051e2e 0%, #0a3c5a 50%, #051e2e 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.section-testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(201,168,76,0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(201,168,76,0.03) 0%, transparent 40%);
    pointer-events: none;
}
.section-testimonials .section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 1;
}
.section-testimonials .section-label {
    color: #c9a84c;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}
.section-testimonials h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}
.section-testimonials .section-description {
    color: rgba(255,255,255,0.6);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
    align-items: stretch;
}

.testimonial-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 2.5rem 2rem 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.testimonial-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.08);
    border-color: rgba(201,168,76,0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(201,168,76,0.08);
}

.testimonial-featured {
    background: rgba(201,168,76,0.06);
    border-color: rgba(201,168,76,0.2);
    transform: scale(1.03);
}
.testimonial-featured:hover {
    transform: scale(1.03) translateY(-8px);
}

.testimonial-quote {
    margin-bottom: 1.2rem;
}
.testimonial-quote i {
    font-size: 2rem;
    background: linear-gradient(135deg, #c9a84c, #e8d48b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.8;
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 1.2rem;
}
.testimonial-stars i {
    color: #c9a84c;
    font-size: 0.85rem;
    filter: drop-shadow(0 0 3px rgba(201,168,76,0.4));
}

.testimonial-text {
    color: rgba(255,255,255,0.82);
    font-size: 0.98rem;
    line-height: 1.75;
    font-style: italic;
    flex: 1;
    margin-bottom: 1.8rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c9a84c, #a8893e);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(201,168,76,0.25);
}
.testimonial-avatar i {
    color: #fff;
    font-size: 1.2rem;
}

.testimonial-info h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}
.testimonial-info span {
    color: rgba(201,168,76,0.8);
    font-size: 0.82rem;
    font-weight: 400;
}

/* Testimonials Responsive */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
        gap: 1.5rem;
    }
    .testimonial-featured {
        transform: none;
    }
    .testimonial-featured:hover {
        transform: translateY(-8px);
    }
    .section-testimonials h2 {
        font-size: 2rem;
    }
}
@media (max-width: 576px) {
    .section-testimonials {
        padding: 3rem 0;
    }
    .section-testimonials h2 {
        font-size: 1.6rem;
    }
    .testimonial-card {
        padding: 1.8rem 1.5rem 1.5rem;
        border-radius: 16px;
    }
}
