/* ===== RESET Y VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --tst-green: #1F6F63;
    --tst-green-light: #3FAE9A;
    --tst-dark: #0E2E2A;
    --tst-white: #FFFFFF;
    --tst-gray: #E6ECEB;
    --tst-accent: #00D4AA;
    --gradient-primary: linear-gradient(135deg, #1F6F63, #3FAE9A);
    --gradient-secondary: linear-gradient(135deg, #3FAE9A, #00D4AA);
    --shadow-primary: 0 15px 40px rgba(31, 111, 99, 0.3);
    --shadow-hover: 0 25px 60px rgba(31, 111, 99, 0.4);
    --card-bg: rgba(14, 46, 42, 0.6);
    --card-border: rgba(63, 174, 154, 0.2);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--tst-green);
    color: var(--tst-white);
    line-height: 1.6;
    overflow-x: hidden;
}

body.splash-active {
    overflow: hidden;
}

/* ===== HEADER PROFESSIONAL (EXACTO COMO QUIERES) ===== */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: transform 0.35s ease;
    transform-origin: center;
}

/* ZOOM COMPLETO */
.logo-container:hover {
    transform: scale(1.15);
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}


header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

nav {
    max-width: 100%;
    margin: 0 auto;
    padding: 1.2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-logo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: logoPulse 3s infinite ease-in-out;
}

.hero-logo::before {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(63, 174, 154, 0.6),
            transparent 70%);
    filter: blur(15px);
    opacity: 0.8;
}

.hero-logo img {
    width: 70%;
    z-index: 2;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.brand-text {
    font-family: 'Montserrat', sans-serif;
}

.brand-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--tst-green);
    margin: 0;
    line-height: 1;
}

.brand-text p {
    font-size: 0.75rem;
    color: var(--tst-green-light);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--tst-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.4s ease;
}

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

.nav-cta {
    padding: 0.8rem 1.8rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-primary);
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ===== MOBILE MENU (EXACTO) ===== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--tst-green);
    font-size: 1.8rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--tst-gray);
    align-items: center;
    justify-content: center;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: white;
    padding: 6rem 2rem 2rem;
    z-index: 999;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-links {
    list-style: none;
}

.mobile-nav-links li {
    margin-bottom: 1.5rem;
}

.mobile-nav-links a {
    color: var(--tst-dark);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
    background: var(--tst-gray);
    transform: translateX(10px);
}

/* ===== HERO SECTION (EXACTO COMO QUIERES) ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 4rem 4rem;
    background: var(--tst-dark);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(63, 174, 154, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(31, 111, 99, 0.08) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.05);
    }
}

.hero-content {
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.hero-title-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-logo img {
    width: 90px;
    height: auto;
    flex-shrink: 0;
}

.hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    color: var(--tst-white);
}

.hero-text .subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.7;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(63, 174, 154, 0.3);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tst-green-light);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: white;
    color: var(--tst-green);
    border: 2px solid var(--tst-green);
}

.btn-secondary:hover {
    background: var(--tst-gray);
    transform: translateY(-5px);
}

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

.visual-circle {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: pulse-ring 4s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(31, 111, 99, 0.7);
    }

    70% {
        box-shadow: 0 0 0 60px rgba(31, 111, 99, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(31, 111, 99, 0);
    }
}

.visual-circle::before {
    content: '';
    position: absolute;
    inset: 15px;
    border-radius: 50%;
    background: white;
}

.visual-circle i {
    font-size: 12rem;
    color: var(--tst-green);
    position: relative;
    z-index: 1;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: float-badge 6s ease-in-out infinite;
}

@keyframes float-badge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.badge-1 {
    top: 20px;
    right: -50px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 50px;
    left: -50px;
    animation-delay: 2s;
}

.badge-3 {
    bottom: -20px;
    right: 30px;
    animation-delay: 4s;
}

.floating-badge i {
    font-size: 2rem;
    color: var(--tst-green);
    margin-bottom: 0.5rem;
}

.floating-badge strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: var(--tst-dark);
}

.floating-badge p {
    font-size: 0.85rem;
    color: #5a7974;
    margin: 0;
}

/* ===== CLIENTES GRID (EXACTO COMO QUIERES) ===== */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    align-items: stretch;
}

.client-logo {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(63, 174, 154, 0.25);
    border-radius: 18px;
    padding: 2.5rem;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-logo img {
    max-width: 200px;
    max-height: 110px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.client-logo:hover img {
    transform: scale(1.1);
}

/* ===== LAYOUT GENERAL ===== */
section {
    padding: 8rem 4rem;
    width: 100%;
}

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

/* ===== SECCIONES GENERALES ===== */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--tst-gray);
    color: var(--tst-green);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--tst-white);
}

.section-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== SERVICES SECTION ===== */
#servicios {
    background: var(--tst-green);
}

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

.service-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid var(--tst-green-light);
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    border-color: var(--tst-green-light);
}

.service-card:hover::before {
    opacity: 0.03;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--tst-white);
    position: relative;
    z-index: 1;
}

.service-card p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.service-features {
    list-style: none;
    position: relative;
    z-index: 1;
}

.service-features li {
    padding: 0.8rem 1rem;
    padding-left: 3rem;
    position: relative;
    color: white;
    /* Cambiado a blanco puro */
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(63, 174, 154, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    transform-origin: left center;
}

.service-features li:hover {
    background: rgba(63, 174, 154, 0.15);
    transform: translateX(10px) scale(1.02);
    border-color: var(--tst-green-light);
    box-shadow: 0 5px 15px rgba(31, 111, 99, 0.2);
    color: var(--tst-white);
    /* Asegura que siga blanco */
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 1rem;
    color: var(--tst-green-light);
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.service-features li:hover::before {
    transform: scale(1.3);
    color: var(--tst-white);
}

/* ===== WHY TST SECTION ===== */
.why-tst {
    background: var(--tst-dark);
    padding: 8rem 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    width: 100%;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: rgba(63, 174, 154, 0.15);
    border: 2px solid var(--tst-green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon i {
    font-size: 3rem;
    color: var(--tst-green-light);
}

.feature-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--tst-white);
}

.feature-item p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

/* ===== TIMELINE SECTION ===== */
.timeline-section {
    background: var(--tst-dark);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    width: calc(50% - 40px);
    padding: 0 4rem;
    margin-bottom: 4rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: calc(50% + 40px);
}

.timeline-content {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--card-border);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--tst-green-light);
}

.timeline-year {
    position: absolute;
    top: -40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tst-green-light);
}

.timeline-item:nth-child(odd) .timeline-year {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-year {
    left: -60px;
}

.timeline-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--tst-white);
}

.timeline-content ul {
    list-style: none;
    margin-top: 1rem;
}

.timeline-content li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
}

.timeline-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--tst-green-light);
}

/* ===== PROYECTOS SECTION ===== */
.proyectos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.proyecto-card {
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--card-border);
}

.proyecto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    border-color: var(--tst-green-light);
}

.proyecto-header {
    padding: 2rem;
    background: rgba(31, 111, 99, 0.2);
    text-align: center;
    border-bottom: 2px solid var(--tst-green-light);
}

.proyecto-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    color: var(--tst-white);
}

.proyecto-body {
    padding: 2rem;
}

.proyecto-body p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.proyecto-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.tech-tag {
    background: rgba(63, 174, 154, 0.25);
    color: white;
    /* Cambiado a blanco */
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(63, 174, 154, 0.3);
    cursor: default;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
    transform-origin: center;
}

.tech-tag:hover {
    background: rgba(63, 174, 154, 0.4);
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 8px 20px rgba(31, 111, 99, 0.3);
    border-color: var(--tst-green-light);
    color: white;
}

/* ===== CONTACTO SECTION ===== */
#contacto {
    background: var(--tst-green);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-grid a {
    text-decoration: none !important;
    color: inherit;
}

.contact-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform-origin: center;
    will-change: transform;
}

/* Efecto de fondo brillante al hover */
.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

/* Efecto principal de agrandamiento */
.contact-card:hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 25px 60px rgba(31, 111, 99, 0.5);
    border-color: var(--tst-green-light);
}

.contact-card:hover::before {
    opacity: 0.1;
}

/* Animación del icono */
.contact-card:hover .contact-icon {
    transform: scale(1.15);
    background: var(--gradient-secondary);
}

/* Estilos del icono */
.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

.contact-icon i {
    font-size: 2.5rem;
    color: white;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon i {
    transform: scale(1.1);
}

/* Texto de la tarjeta */
.contact-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--tst-white);
    transition: all 0.3s ease;
}

.contact-card:hover h3 {
    color: var(--tst-white);
    transform: translateY(-2px);
}

.contact-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.contact-card:hover p {
    color: var(--tst-white);
}

.contact-link {
    color: var(--tst-green-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-card:hover .contact-link {
    color: var(--tst-white);
    transform: translateY(-2px);
}

/* Formulario de Contacto */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--card-border);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(63, 174, 154, 0.3);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--tst-green-light);
    background: rgba(255, 255, 255, 0.15);
}

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

.form-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.form-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(31, 111, 99, 0.4);
}

/* ===== FOOTER ===== */
footer {
    background: var(--tst-dark);
    color: white;
    padding: 4rem 4rem 2rem;
    text-align: center;
}

.footer-content {
    width: 100%;
    padding: 0 2rem;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: var(--tst-green-light);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0;
}

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--tst-green-light);
    transform: translateY(-5px);
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== COMPONENTES FLOTANTES ===== */
/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 1001;
    transition: width 0.1s ease;
}


/* ===== FLOATING CONTACTS HOVER PRO ===== */
.float-btn {
    transition:
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.35s ease;
    will-change: transform;
}

/* Hover: crece + se eleva */
.float-btn:hover {
    transform: scale(1.35) translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    animation-play-state: paused;
    /* pausa el bounce */
}

/* Micro animación del ícono */
.float-btn i {
    transition: transform 0.3s ease;
}

.float-btn:hover i {
    transform: scale(1.15) rotate(-6deg);
}

/* Floating Contact Buttons */
.floating-contacts {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.floating-contacts a {
    text-decoration: none;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.float-whatsapp {
    background: #25D366;
}

.float-telegram {
    background: #0088cc;
}

.float-email {
    background: var(--tst-green);
}

/* ===== BOTONES REUTILIZABLES ===== */
.btn-white {
    background: white;
    color: var(--tst-green);
    padding: 1.3rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    font-family: 'Montserrat', sans-serif;
}

.btn-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* ===== GRADIENTES Y EFECTOS ===== */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== ANIMACIONES FADE-IN ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-play-state: paused;
}

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

.stagger-1 {
    animation-delay: 0.1s;
}

.stagger-2 {
    animation-delay: 0.2s;
}

.stagger-3 {
    animation-delay: 0.3s;
}

.stagger-4 {
    animation-delay: 0.4s;
}

.stagger-5 {
    animation-delay: 0.5s;
}

.stagger-6 {
    animation-delay: 0.6s;
}

.stagger-7 {
    animation-delay: 0.7s;
}

.stagger-8 {
    animation-delay: 0.8s;
}