/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables de colores */
:root {
    --verde-oscuro: #1a472a;
    --verde-medio: #2d5a3d;
    --verde-claro: #4ade80;
    --verde-brillante: #22c55e;
    --negro: #0a0a0a;
    --blanco: #ffffff;
    --gris-claro: #f5f5f5;
    --gris-oscuro: #1a1a1a;
    --transicion: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--gris-claro);
    color: var(--negro);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== HEADER ===== */
.header {
    position: absolute;
    width: 100%;
    background: transparent;
    z-index: 100;
}

/* ===== LOGO ===== */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0 25px 0;
    position: relative;
}

.logo {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
    animation: logoFloat 3s ease-in-out infinite;
    transition: var(--transicion);
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.4));
}

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

/* ===== MENÚ DE NAVEGACIÓN ===== */
/* ===== MENÚ SUPERIOR (DESKTOP) ESTILO PILL ===== */
.nav-menu{
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 26px;
  align-items: center;

  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  z-index: 20;
}

.nav-menu a{
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.6px;
  font-size: 13px;
  text-transform: uppercase;
  padding: 10px 12px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.nav-menu a:hover{
  background: rgba(255,255,255,0.08);
}

.nav-menu a.active{
  color: #22c55e;
  background: rgba(34,197,94,0.14);
  border: 1px solid rgba(34,197,94,0.35);
}



@media (max-width: 900px) {
    .nav-menu {
        display: none;
    }
}

.menu-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 0;
    flex-wrap: wrap;
}

.menu-link {
    display: block;
    padding: 18px 30px;
    color: var(--blanco);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    transition: var(--transicion);
    overflow: hidden;
}

.menu-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--verde-brillante), transparent);
    transition: var(--transicion);
    transform: translateX(-50%);
}

.menu-link:hover {
    color: var(--verde-claro);
    background-color: rgba(255, 255, 255, 0.05);
}

.menu-link:hover::before {
    width: 80%;
}

.menu-link.active {
    color: var(--verde-claro);
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-link.active::before {
    width: 80%;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.1);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1.5s ease-in-out, transform 8s ease-out;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.7) 0%,
        rgba(26, 71, 42, 0.5) 50%,
        rgba(10, 10, 10, 0.8) 100%
    );
}

/* ===== HERO CONTENT ===== */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 900px;
    padding: 40px;
}

.hero h1 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -1px;
    max-width: 650px;
}

.title-word {
    display: block;
    color: var(--blanco);
    text-transform: uppercase;
    letter-spacing: 8px;
    animation: titleGlow 3s ease-in-out infinite;
    text-shadow: 
        0 0 10px var(--verde-brillante),
        0 0 20px var(--verde-brillante),
        0 0 40px var(--verde-brillante),
        0 0 80px var(--verde-oscuro),
        0 0 120px var(--verde-oscuro);
}

.title-word:first-child {
    animation-delay: 0s;
}

.title-word:last-child {
    animation-delay: 0.5s;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 
            0 0 10px var(--verde-brillante),
            0 0 20px var(--verde-brillante),
            0 0 40px var(--verde-brillante),
            0 0 80px var(--verde-oscuro),
            0 0 120px var(--verde-oscuro);
    }
    50% {
        text-shadow: 
            0 0 20px var(--verde-brillante),
            0 0 40px var(--verde-brillante),
            0 0 80px var(--verde-brillante),
            0 0 120px var(--verde-oscuro),
            0 0 160px var(--verde-oscuro),
            0 0 200px var(--verde-oscuro);
    }
}

.hero-tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--blanco);
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 25px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.divider-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--verde-brillante), transparent);
}

.divider-icon {
    color: var(--verde-brillante);
    font-size: 1.2rem;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.hero-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 35px;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-cta {
    display: inline-block;
    padding: 18px 50px;
    background: transparent;
    color: var(--blanco);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    border: 2px solid var(--verde-brillante);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: var(--transicion);
    animation: fadeInUp 1s ease-out 1.1s both;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--verde-brillante), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.hero-cta:hover {
    color: var(--negro);
    border-color: var(--verde-brillante);
    box-shadow: 0 0 30px var(--verde-brillante);
}

.hero-cta:hover::before {
    left: 0;
}

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

/* ===== INDICADORES ===== */
.slider-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transicion);
    border: 2px solid transparent;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.indicator.active {
    background-color: var(--verde-brillante);
    border-color: var(--blanco);
    box-shadow: 0 0 15px var(--verde-brillante);
    transform: scale(1.2);
}

/* ===== FLECHAS DE NAVEGACIÓN ===== */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--blanco);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transicion);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background-color: var(--verde-oscuro);
    border-color: var(--verde-brillante);
    box-shadow: 0 0 20px var(--verde-brillante);
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

/* ===== SECCIÓN SERVICIOS ===== */
.services-section {
    padding: 120px 20px;
    background: linear-gradient(180deg, var(--negro) 0%, var(--gris-oscuro) 50%, var(--negro) 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(34, 197, 94, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header de sección */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header.left {
    text-align: left;
}

.section-header.light .section-title,
.section-header.light .section-desc {
    color: var(--blanco);
}

.section-tag {
    display: inline-block;
    padding: 8px 25px;
    background: linear-gradient(135deg, var(--verde-oscuro), var(--verde-medio));
    color: var(--blanco);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-radius: 30px;
    margin-bottom: 20px;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--blanco);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-shadow: 0 0 30px rgba(34, 197, 94, 0.3);
}

.section-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.title-underline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.title-underline.left {
    justify-content: flex-start;
}

.underline-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--verde-brillante), transparent);
}

.title-underline.left .underline-line:first-child {
    background: linear-gradient(90deg, var(--verde-brillante), transparent);
}

.underline-icon {
    color: var(--verde-brillante);
    font-size: 1rem;
    animation: rotateIcon 4s linear infinite;
}

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

/* Grid de servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    perspective: 1000px;
}

/* ===== TARJETAS 3D FLIP ===== */
.service-card {
    height: 380px;
    cursor: pointer;
    perspective: 1000px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

/* Cara frontal */
.service-card-front {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: linear-gradient(145deg, rgba(26, 71, 42, 0.9), rgba(10, 10, 10, 0.95));
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 20px;
    padding: 35px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: var(--transicion);
}

.service-card:hover .service-card-front {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 
        0 20px 60px rgba(34, 197, 94, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Wrapper del icono con glow */
.service-icon-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.3) 0%, transparent 70%);
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.service-icon {
    width: 50px;
    height: 50px;
    color: var(--verde-brillante);
    filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.5));
    transition: var(--transicion);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.8));
}

.service-title {
    font-size: 1rem;
    color: var(--blanco);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.service-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--verde-brillante), transparent);
    margin-bottom: 15px;
}

.service-hint {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    transition: var(--transicion);
}

.service-card:hover .service-hint {
    color: var(--verde-brillante);
}

/* Cara trasera */
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transform: rotateY(180deg);
    background: linear-gradient(145deg, var(--verde-oscuro), var(--negro));
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 20px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    box-shadow: 
        0 20px 60px rgba(34, 197, 94, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-back-title {
    font-size: 1.3rem;
    color: var(--verde-brillante);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.service-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    text-align: left;
    width: 100%;
}

.service-features li {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-features li:last-child {
    border-bottom: none;
}

/* ===== SECCIÓN PORTAFOLIO ===== */
.portfolio-section {
    padding: 120px 20px;
    background: linear-gradient(180deg, var(--negro) 0%, var(--verde-oscuro) 100%);
    position: relative;
    overflow: hidden;
}

.portfolio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 50%, rgba(34, 197, 94, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(34, 197, 94, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.portfolio-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.portfolio-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(10, 10, 10, 0.7) 60%,
        rgba(26, 71, 42, 0.9) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-category {
    display: inline-block;
    padding: 5px 15px;
    background: var(--verde-brillante);
    color: var(--negro);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.portfolio-title {
    font-size: 1.8rem;
    color: var(--blanco);
    font-weight: 700;
    margin-bottom: 10px;
}

.portfolio-item:not(.large) .portfolio-title {
    font-size: 1.3rem;
}

.portfolio-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.portfolio-btn {
    padding: 12px 30px;
    background: transparent;
    color: var(--blanco);
    border: 2px solid var(--verde-brillante);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transicion);
}

.portfolio-btn:hover {
    background: var(--verde-brillante);
    color: var(--negro);
    box-shadow: 0 0 20px var(--verde-brillante);
}

/* ===== SECCIÓN VALORES ===== */
.values-section {
    padding: 120px 20px;
    background: linear-gradient(180deg, var(--gris-oscuro) 0%, var(--negro) 100%);
    position: relative;
    overflow: hidden;
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 0%, rgba(34, 197, 94, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.values-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.value-card {
    position: relative;
    background: linear-gradient(145deg, rgba(26, 71, 42, 0.3), rgba(10, 10, 10, 0.5));
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    overflow: hidden;
    transition: var(--transicion);
}

.value-card:hover {
    border-color: rgba(34, 197, 94, 0.4);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(34, 197, 94, 0.15);
}

.value-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(34, 197, 94, 0.1);
    line-height: 1;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: iconBounce 2s ease-in-out infinite;
}

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

.value-title {
    font-size: 1.4rem;
    color: var(--blanco);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.value-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.value-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.value-card:hover .value-glow {
    opacity: 1;
}

/* ===== SECCIÓN CONTACTO ===== */
.contact-section {
    padding: 120px 20px;
    background: linear-gradient(135deg, var(--negro) 0%, var(--verde-oscuro) 50%, var(--negro) 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    padding-top: 20px;
}

.contact-details {
    margin-top: 50px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(34, 197, 94, 0.1);
    transition: var(--transicion);
}

.contact-item:hover {
    background: rgba(34, 197, 94, 0.05);
    border-color: rgba(34, 197, 94, 0.3);
    transform: translateX(10px);
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--verde-oscuro), var(--verde-medio));
    border-radius: 12px;
}

.contact-text h4 {
    color: var(--verde-brillante);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.contact-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* Formulario */
.contact-form-wrapper {
    background: linear-gradient(145deg, rgba(26, 71, 42, 0.2), rgba(10, 10, 10, 0.4));
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--blanco);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: var(--transicion);
}

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

.form-group label {
    position: absolute;
    top: 15px;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transicion);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
    border-bottom-color: var(--verde-brillante);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 0.8rem;
    color: var(--verde-brillante);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--verde-brillante);
    transition: width 0.4s ease;
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

.form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--verde-oscuro), var(--verde-medio));
    color: var(--blanco);
    border: 2px solid var(--verde-brillante);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    transition: var(--transicion);
    margin-top: 20px;
}

.form-submit:hover {
    background: var(--verde-brillante);
    color: var(--negro);
    box-shadow: 0 0 30px var(--verde-brillante);
}

.submit-arrow {
    transition: transform 0.3s ease;
}

.form-submit:hover .submit-arrow {
    transform: translateX(5px);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(180deg, var(--negro) 0%, #050505 100%);
    padding: 60px 20px 30px;
    border-top: 1px solid rgba(34, 197, 94, 0.2);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

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

.footer-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.3));
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-style: italic;
    letter-spacing: 1px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(26, 71, 42, 0.3), rgba(10, 10, 10, 0.5));
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 50%;
    transition: var(--transicion);
}

.social-link:hover {
    background: var(--verde-brillante);
    border-color: var(--verde-brillante);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
}

.social-icon {
    width: 22px;
    height: 22px;
    color: var(--blanco);
    transition: var(--transicion);
}

.social-link:hover .social-icon {
    color: var(--negro);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.3), transparent);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transicion);
}

.footer-links a:hover {
    color: var(--verde-brillante);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 250px);
    }
    
    .portfolio-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .logo {
        max-width: 120px;
    }
    
    .menu-link {
        padding: 12px 18px;
        font-size: 11px;
        letter-spacing: 1px;
    }
    
    .hero-slider {
        min-height: 500px;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .hero-title {
        letter-spacing: 4px;
    }
    
    .hero-tagline {
        letter-spacing: 3px;
    }
    
    .slider-arrow {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .slider-prev {
        left: 15px;
    }
    
    .slider-next {
        right: 15px;
    }
    
    .divider-line {
        width: 50px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .service-card {
        height: 350px;
    }
    
    .services-section {
        padding: 80px 15px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .portfolio-item,
    .portfolio-item.large {
        grid-column: span 1;
        grid-row: span 1;
        height: 300px;
    }
    
    .portfolio-item.large {
        height: 400px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .menu-list {
        flex-direction: column;
        gap: 0;
    }
    
    .menu-link {
        width: 100%;
        text-align: center;
        padding: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .hero-cta {
        padding: 15px 35px;
        font-size: 12px;
    }
    
    .slider-indicators {
        bottom: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        height: 320px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .social-icon {
        width: 20px;
        height: 20px;
    }
}

/* ===== MENÚ FLOTANTE (BURBUJA TREBOL) ===== */
.fab-trebol {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 68px;
    height: 68px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(10, 10, 10, 0.55);
    backdrop-filter: blur(12px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 3000;

    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition: all 0.25s ease;
}



.fab-trebol-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(34, 197, 94, 0.35));
}

body.fab-open .fab-trebol {
    transform: translateY(0) scale(1.05);
    border-color: rgba(34, 197, 94, 0.6);
}

.fab-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 2900;
}

body.fab-open .fab-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.fab-menu {
    position: fixed;
    right: 22px;
    bottom: 100px;
    width: min(320px, calc(100vw - 44px));
    background: rgba(10, 10, 10, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
    border-radius: 18px;
    padding: 12px;
    z-index: 2950;

    opacity: 0;
    transform: translateY(12px) scale(0.98);
    pointer-events: none;
    transition: all 0.25s ease;
}

body.fab-open .fab-menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.fab-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
}

/* Override para que no herede el padding enorme del menú principal */
.fab-menu .menu-link {
    width: 100%;
    text-align: left;
    padding: 14px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    letter-spacing: 1px;
}

.fab-menu .menu-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    /* En móvil usamos la burbuja para navegar */
    .nav-menu {
        display: none;
    }
}

@media (max-width: 480px) {
    .fab-trebol {
        right: 16px;
        bottom: 16px;
        width: 62px;
        height: 62px;
    }

    .fab-menu {
        right: 16px;
        bottom: 92px;
        border-radius: 16px;
    }
}
.video-modal{
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.video-container{
    position: relative;
    width: 80%;
    max-width: 900px;
}

.video-container video{
    width: 100%;
    border-radius: 12px;
}

.close-video{
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 40px;
    color: white;
    cursor: pointer;
}
/* ===== PLANES WEB ===== */
.web-plans{
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(180deg, var(--negro) 0%, #050505 100%);
    padding: 60px 20px 30px;
    border-top: 1px solid rgba(34, 197, 94, 0.2);
}

.section-title{
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.section-subtitle{
    color: rgba(255,255,255,0.6);
    margin-bottom: 50px;
}

.plans-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.plan-card{
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 35px 25px;
    transition: all 0.3s ease;
    position: relative;
}

.plan-card:hover{
    transform: translateY(-8px);
    border-color: rgba(34,197,94,0.6);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.plan-card h3{
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: rgba(34,197,94,0.6);
}

.plan-card ul{
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    text-align: left;
}

.plan-card ul li{
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
}

.plan-price{
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #22c55e;
}

.plan-btn{
    display: inline-block;
    padding: 12px 22px;
    border-radius: 30px;
    background: #22c55e;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.plan-btn:hover{
    background: #16a34a;
    transform: scale(1.05);
}

/* Destacar Plus */
.plan-card.highlight{
    border: 2px solid #22c55e;
    box-shadow: 0 0 25px rgba(34,197,94,0.4);
}

/* Premium más elegante */
.plan-card.premium{
    background: linear-gradient(
        145deg,
        rgba(34,197,94,0.15),
        rgba(255,255,255,0.05)
    );
    border: 1px solid rgba(34,197,94,0.5);
}
