/* ===== RESET & VARIABLES ===== */
:root {
    --yellow: #FFD700;
    --yellow-dark: #E6B800;
    --yellow-glow: #FFF176;
    --red: #D32F2F;
    --red-bright: #FF3B3B;
    --black: #080808;
    --dark: #111111;
    --dark2: #1A1A1A;
    --dark3: #222222;
    --gray: #888888;
    --light: #F5F5F5;
    --white: #FFFFFF;
    --border-light: rgba(255, 215, 0, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 3px; }

/* ===== NAVBAR ===== */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(8, 8, 8, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    padding: 0 5%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s ease;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo img {
    height: 46px;
    width: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.nav-logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 2px;
    color: var(--yellow);
    line-height: 1;
}

.nav-logo-text span {
    display: block;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.55rem;
    letter-spacing: 2.5px;
    color: var(--gray);
    text-transform: uppercase;
    font-weight: 300;
}

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

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 4px;
}

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

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    background: var(--yellow);
    color: var(--black) !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 700 !important;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
    background: var(--white) !important;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    color: var(--black) !important;
}

.nav-cta::after { display: none !important; }

/* ===== HERO ===== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0 5%;
    padding-top: 70px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
    radial-gradient(ellipse 50% 50% at 70% 40%, rgba(255, 215, 0, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 30% 70%, rgba(211, 47, 47, 0.06) 0%, transparent 70%),
    var(--black);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
    linear-gradient(rgba(255, 215, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 215, 0, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 60% 50%, black 30%, transparent 80%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--yellow-glow);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.hero-badge::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--red-bright);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--red);
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.8rem, 9vw, 6.5rem);
    line-height: 0.9;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
}

.hero-title .line-yellow { color: var(--yellow); }
.hero-title .line-red { color: var(--red-bright); }

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    max-width: 550px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn-primary {
    background: var(--yellow);
    color: var(--black);
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.4);
    color: var(--black);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--yellow);
    color: var(--yellow);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item { text-align: left; }

.stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--yellow);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
    margin-top: 6px;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: bounce 2.5s infinite;
}

.hero-scroll::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--yellow), transparent);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-12px); }
}

/* Layout de dos columnas */
#hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.hero-content {
  flex: 1 1 55%;
  max-width: 700px;
}

/* Grid de tecnologías */
.hero-tech-grid {
  flex: 1 1 40%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-content: center;
}

.tech-card {
  background: rgba(26, 26, 26, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.tech-card img {
  max-width: 80%;
  max-height: 80%;
  filter: grayscale(40%) brightness(1.2);
  transition: filter 0.3s ease;
}

.tech-card:hover {
  border-color: var(--yellow);
  background: rgba(255, 215, 0, 0.05);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.15);
}

.tech-card:hover img {
  filter: grayscale(0%) brightness(1);
}

/* ===== SECTION COMMON ===== */
section { padding: 7rem 5%; }

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

.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--yellow);
    font-weight: 700;
    margin-bottom: 1rem;
    background: rgba(255, 215, 0, 0.05);
    padding: 4px 12px;
    border-radius: 4px;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-title span { color: var(--yellow); }

.section-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--yellow), var(--red));
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* ===== SERVICES (Ajustado para 4 columnas fijas) ===== */
#servicios {
    background: var(--dark);
}

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

.service-card {
    background: var(--dark2);
    padding: 2.5rem 2rem;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--yellow), var(--red));
    transition: height 0.4s ease;
}

.service-card:hover {
    background: var(--dark3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 215, 0, 0.3);
}
.service-card:hover::before { height: 100%; }

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.icon-yellow { background: rgba(255, 215, 0, 0.1); }
.icon-red { background: rgba(211, 47, 47, 0.1); }

.service-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--white);
}

.service-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--yellow);
    font-weight: 700;
    transition: gap 0.3s ease;
}

.service-card:hover .service-tag {
    gap: 10px;
}

/* ===== WHY US ===== */
#nosotros {
    background: var(--black);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    padding: 7rem 5%;
}

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

.about-logo-wrap {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1;
    position: relative;
}

.about-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 60px rgba(255, 215, 0, 0.2));
    animation: floatLogo 5s ease-in-out infinite;
}

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

.about-ring {
    position: absolute;
    inset: -20px;
    border: 1px solid rgba(255, 215, 0, 0.08);
    border-radius: 50%;
    animation: rotateSlow 25s linear infinite;
}

.about-ring-2 {
    position: absolute;
    inset: -50px;
    border: 1px dashed rgba(255, 215, 0, 0.05);
    border-radius: 50%;
    animation: rotateSlow 40s linear infinite reverse;
}

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

.about-text .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text .section-header .divider { margin: 1rem 0 0; }

.about-body {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.about-feat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feat-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 215, 0, 0.12);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.feat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
}

/* ===== PROCESS ===== */
#proceso {
    background: var(--dark);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    position: relative;
}

.process-steps::after {
    content: '';
    position: absolute;
    top: 32px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--yellow), var(--red), var(--yellow));
    z-index: 0;
}

.process-step {
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 64px;
    height: 64px;
    background: var(--dark);
    border: 2px solid var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--yellow);
    transition: all 0.3s ease;
}

.process-step:hover .step-num {
    background: var(--yellow);
    color: var(--black);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.step-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 1px;
    margin-bottom: 0.7rem;
}

.step-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
#testimonios {
    background: var(--black);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--dark2);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    transition: background 0.3s ease, transform 0.3s ease;
}

.testimonial-card:hover {
    background: var(--dark3);
    transform: translateY(-5px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    right: 1.5rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 6rem;
    color: rgba(255, 215, 0, 0.08);
    line-height: 1;
}

.testimonial-stars {
    color: var(--yellow);
    font-size: 1rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

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

.author-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--yellow), var(--red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--black);
}

.author-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--white);
}

.author-role {
    font-size: 0.75rem;
    color: var(--gray);
}

/* ===== CTA BANNER ===== */
#contacto {
    background: linear-gradient(135deg, #140a00 0%, #080808 40%, #140505 100%);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    text-align: center;
    padding: 7rem 5%;
    position: relative;
    overflow: hidden;
}

#contacto::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(255, 215, 0, 0.06) 0%, transparent 70%);
}

.cta-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    letter-spacing: 3px;
    margin-bottom: 1rem;
    position: relative;
}

.cta-title span { color: var(--yellow); }

.cta-sub {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-whatsapp:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.cta-contact-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    position: relative;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ===== CONTACT FORM ===== */
.contact-form-wrap {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    background: var(--dark2);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    text-align: left;
    backdrop-filter: blur(8px);
    transition: border-color 0.3s ease;
}

.contact-form-wrap:hover {
    border-color: rgba(255, 215, 0, 0.25);
}

.form-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-heading span {
    color: var(--yellow);
}

.form-subheading {
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    margin-bottom: 2.5rem;
    letter-spacing: 0.5px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.form-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
    font-weight: 700;
}

.form-label .required {
    color: var(--red-bright);
    margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
    background: var(--dark3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 12px 16px;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.9rem;
    color: var(--white);
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.08);
    background: #1f1f1f;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23FFD700' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-select option {
    background: var(--dark3);
    color: var(--white);
}

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

/* ===== FILE UPLOAD (Imágenes del formulario) ===== */
.form-label-hint {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.3);
}

.file-upload-wrap {
    position: relative;
    border: 1px dashed rgba(255, 215, 0, 0.25);
    border-radius: 6px;
    background: var(--dark3);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-wrap:hover,
.file-upload-wrap.drag-active {
    border-color: var(--yellow);
    background: rgba(255, 215, 0, 0.05);
}

.file-upload-wrap input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    pointer-events: none;
}

.file-upload-icon {
    font-size: 1.6rem;
}

.file-preview-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.file-preview-item {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: var(--dark3);
}

.file-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.file-preview-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: rgba(8, 8, 8, 0.75);
    color: var(--white);
    font-size: 0.7rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.file-preview-remove:hover {
    background: var(--red-bright);
}

.form-submit-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.btn-submit {
    background: var(--yellow);
    color: var(--black);
    padding: 14px 36px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Exo 2', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-submit:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255, 215, 0, 0.35);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.form-message {
    display: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.form-message.success {
    display: block;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #25D366;
}

.form-message.error {
    display: block;
    background: rgba(255, 59, 59, 0.1);
    border: 1px solid rgba(255, 59, 59, 0.3);
    color: #FF6B6B;
}

.spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: var(--black);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* ===== FOOTER ===== */
footer {
    background: #050505;
    padding: 3rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.footer-brand img { height: 36px; border-radius: 50%; }

.footer-brand-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: var(--yellow);
    letter-spacing: 2px;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s;
}

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

/* ===== MOBILE (Adaptado a 4 columnas) ===== */
@media (max-width: 1000px) {
    .services-grid {
    grid-template-columns: repeat(2, 1fr);
    }
    .process-steps {
    grid-template-columns: repeat(2, 1fr);
    }
    .process-steps::after { display: none; }
    #nosotros {
    grid-template-columns: 1fr;
    gap: 3rem;
    }
    .about-visual { max-width: 300px; margin: 0 auto; }
    .form-row {
    grid-template-columns: 1fr;
    }
    #hero {
    flex-direction: column;
    text-align: center;
    }
    .hero-content {
    max-width: 100%;
    }
    .hero-tech-grid {
    grid-template-columns: repeat(3, 80px);
    justify-content: center;
    }
}

@media (max-width: 600px) {
    .nav-links { display: none; }
    .services-grid {
    grid-template-columns: 1fr;
    }
    .process-steps { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .hero-stats { gap: 1.5rem; }
    .hero-actions { flex-direction: column; }
    .contact-form-wrap {
    padding: 2rem 1.5rem;
    }
    .form-submit-row {
    flex-direction: column;
    align-items: stretch;
    }
    .form-message {
    text-align: center;
    }
    .hero-tech-grid {
    grid-template-columns: repeat(2, 70px);
    gap: 0.8rem;
    }    
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.hp-wrap {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.tech-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--gray);
}

/* ===== DROPDOWN NAVIGATION (TOOLS) ===== */
.nav-dropdown {
  position: relative;
  padding-bottom: 14px; /* extiende el área hoverable del trigger hacia abajo */
  margin-bottom: -14px; /* compensa el padding para no romper el layout del nav */
}

/* El link "Tools" usa exactamente el mismo estilo que .nav-links a (heredado), no se sobreescribe */

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 200px;
  background: var(--dark2);
  border: 1px solid var(--border-light);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.55);
  border-radius: 8px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li {
  display: block;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  white-space: nowrap;
  color: var(--gray);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
}

.nav-dropdown-menu li a::after {
  display: none;
}

.nav-dropdown-menu li a:hover {
  background: rgba(255, 215, 0, 0.08);
  color: var(--yellow);
  padding-left: 22px;
}
