:root {
    --bg-color: #050b14;
    --bg-secondary: #0a1220;
    --text-color: #e6e6e6;
    --accent-color: #3ef0f0;
    --accent-secondary: #a13ef0;
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.logo {
    width: 150px;       /* Tamaño ajustable */
    height: auto;       /* Mantiene proporción */
    display: block;     /* Asegura buen comportamiento */
  }
  

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
    z-index: 1000;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
}

.highlight {
    color: var(--accent-color);
    font-weight: 500;
}

/* Layout */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

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

.header-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    margin: 1.5rem auto;
    border-radius: 2px;
}

.section-header.left-align .header-line {
    margin: 1.5rem 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn:hover:before {
    width: 100%;
}

.btn.primary {
    background-color: var(--accent-color);
    color: #050b14;
}

.btn.secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.btn-text {
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.btn-text i {
    margin-left: 8px;
    transition: var(--transition);
}

.btn-text:hover {
    opacity: 0.8;
}

.btn-text:hover i {
    transform: translateX(5px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(5, 11, 20, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 1rem 5%;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo span {
    margin-left: 3px;
    font-size: 15PX;
}
.logo-line1 {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 2px;
  }
  
  .logo-line2,
  .logo-line3 {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #cccccc;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    line-height: 1.2;
  }
  

.logo-svg {
    animation: logoRotate 15s linear infinite;
    width: 80px;
}

@keyframes logoRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 2rem;
}

.nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav ul li a:hover, .nav ul li a.active {
    color: var(--accent-color);
}

.nav ul li a:hover:after, .nav ul li a.active:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger {
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
}

.hamburger:before, .hamburger:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.hamburger:before {
    top: -8px;
}

.hamburger:after {
    bottom: -8px;
}

.menu-toggle.active .hamburger {
    background-color: transparent;
}

.menu-toggle.active .hamburger:before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .hamburger:after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Hero Section */
.hero {
    position: relative;
  height: 100vh;
  background: url('imgslide1.jpg') no-repeat center center/cover;
position: relative; 
height: 100vh; background: url('A_digital_illustration_displays_a_complex_circuit_.png') no-repeat center center/cover; 
display: flex; 
align-items: center; 
justify-content: center; 
text-align: center; 
color: white;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 1rem;
    z-index: 2;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.float-element {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(10, 18, 32, 0.7);
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    color: var(--accent-color);
    font-size: 1.5rem;
    animation: floatAnimation 8s infinite ease-in-out;
}

.fe-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.fe-2 {
    top: 30%;
    right: 20%;
    animation-delay: 1s;
}

.fe-3 {
    bottom: 25%;
    left: 20%;
    animation-delay: 2s;
}

.fe-4 {
    bottom: 35%;
    right: 15%;
    animation-delay: 3s;
}

.fe-5 {
    top: 60%;
    left: 45%;
    animation-delay: 4s;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-color);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--text-color);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

.scroll-indicator p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: var(--text-color);
    letter-spacing: 2px;
}

.glitch:before, .glitch:after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch:before {
    color: var(--accent-color);
    animation: glitch-effect 3s infinite alternate-reverse;
}

.glitch:after {
    color: var(--accent-secondary);
    animation: glitch-effect 2s infinite alternate-reverse;
}

@keyframes glitch-effect {
    0% {
        clip: rect(86px, 9999px, 91px, 0);
        transform: skew(0.65deg);
    }
    5% {
        clip: rect(28px, 9999px, 25px, 0);
        transform: skew(0.85deg);
    }
    10% {
        clip: rect(64px, 9999px, 93px, 0);
        transform: skew(0.58deg);
    }
    15% {
        clip: rect(91px, 9999px, 98px, 0);
        transform: skew(0.55deg);
    }
    20% {
        clip: rect(66px, 9999px, 73px, 0);
        transform: skew(0.78deg);
    }
    25% {
        clip: rect(99px, 9999px, 76px, 0);
        transform: skew(0.52deg);
    }
    30% {
        clip: rect(19px, 9999px, 67px, 0);
        transform: skew(0.96deg);
    }
    35% {
        clip: rect(62px, 9999px, 29px, 0);
        transform: skew(0.5deg);
    }
    40% {
        clip: rect(51px, 9999px, 36px, 0);
        transform: skew(0.94deg);
    }
    45% {
        clip: rect(72px, 9999px, 5px, 0);
        transform: skew(0.58deg);
    }
    50% {
        clip: rect(23px, 9999px, 55px, 0);
        transform: skew(0.81deg);
    }
    55% {
        clip: rect(67px, 9999px, 4px, 0);
        transform: skew(0.55deg);
    }
    60% {
        clip: rect(33px, 9999px, 4px, 0);
        transform: skew(0.63deg);
    }
    65% {
        clip: rect(61px, 9999px, 67px, 0);
        transform: skew(0.51deg);
    }
    70% {
        clip: rect(8px, 9999px, 15px, 0);
        transform: skew(0.65deg);
    }
    75% {
        clip: rect(66px, 9999px, 89px, 0);
        transform: skew(0.85deg);
    }
    80% {
        clip: rect(7px, 9999px, 78px, 0);
        transform: skew(0.57deg);
    }
    85% {
        clip: rect(63px, 9999px, 23px, 0);
        transform: skew(0.58deg);
    }
    90% {
        clip: rect(36px, 9999px, 98px, 0);
        transform: skew(0.56deg);
    }
    95% {
        clip: rect(46px, 9999px, 87px, 0);
        transform: skew(0.59deg);
    }
    100% {
        clip: rect(7px, 9999px, 53px, 0);
        transform: skew(0.84deg);
    }
}

/* Services Section */
.services {
    background-color: var(--bg-secondary);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    font-size: 0.95rem;
    opacity: 0.8;
}

.service-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 11, 20, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    padding: 2rem;
}

.service-card:hover .service-hover {
    opacity: 1;
}

.service-details ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-details ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-details ul li:before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.coming-soon {
    position: relative;
    overflow: hidden;
}

.coming-soon:after {
    content: 'Próximamente';
    position: absolute;
    top: 20px;
    right: -40px;
    background-color: var(--accent-secondary);
    color: var(--bg-color);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
}

/* About Section */
.about-inner {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-content {
    flex: 1;
    padding-right: 2rem;
}

.about-text {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

.value-item {
    display: flex;
    align-items: center;
}

.value-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-right: 1rem;
}

.value-item h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

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

.tech-sphere {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sphere-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.sphere {
    position: absolute;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, var(--accent-color), var(--accent-secondary));
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 30px var(--accent-color);
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.orbit-1 {
    width: 150px;
    height: 150px;
    animation: orbitRotate 15s linear infinite;
}

.orbit-2 {
    width: 220px;
    height: 220px;
    animation: orbitRotate 25s linear infinite reverse;
}

.orbit-3 {
    width: 280px;
    height: 280px;
    animation: orbitRotate 35s linear infinite;
}

.satellite {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: var(--bg-secondary);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.satellite-1 {
    top: calc(50% - 75px);
    left: calc(50% - 10px);
    animation: satelliteMove1 15s linear infinite;
}

.satellite-2 {
    top: calc(50% - 10px);
    left: calc(50% - 110px);
    animation: satelliteMove2 25s linear infinite reverse;
}

.satellite-3 {
    top: calc(50% - 140px);
    left: calc(50% - 10px);
    animation: satelliteMove3 35s linear infinite;
}

@keyframes orbitRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes satelliteMove1 {
    0% {
        transform: rotate(0deg) translateX(75px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(75px) rotate(-360deg);
    }
}

@keyframes satelliteMove2 {
    0% {
        transform: rotate(0deg) translateX(110px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(110px) rotate(-360deg);
    }
}

@keyframes satelliteMove3 {
    0% {
        transform: rotate(0deg) translateX(140px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(140px) rotate(-360deg);
    }
}

/* CTA Section */
.cta {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(10, 18, 32, 0.95), rgba(5, 11, 20, 0.98)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M50,20 L80,50 L50,80 L20,50 Z' fill='none' stroke='%233ef0f0' stroke-width='1' opacity='0.2'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}

.cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    opacity: 0.1;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 1rem;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-content {
    display: flex;
    margin-top: 3rem;
    gap: 2rem;
}

.contact-info {
    flex: 1;
    padding-right: 2rem;
}

.info-item {
    display: flex;
    margin-bottom: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-right: 1rem;
}

.info-text h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-text p {
    opacity: 0.8;
    margin-bottom: 0;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    transform: translateY(-5px);
}

.contact-form {
    flex: 1.5;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 0;
    background-color: transparent;
    border: none;
    color: rgb(124, 124, 124);
    font-size: 1rem;
    font-family: var(--font-primary);
}

.form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M1,4 L6,9 L11,4' stroke='%23e6e6e6' fill='none' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    cursor: pointer;
}

.form-group label {
    position: absolute;
    top: 0.8rem;
    left: 0;
    color: var(--text-color);
    opacity: 0.6;
    pointer-events: none;
    transition: var(--transition);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:valid + label {
    top: -20px;
    font-size: 0.85rem;
    opacity: 1;
    color: var(--accent-color);
}

.form-group .line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.form-group .line:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
}

.form-group textarea {
    resize: none;
}

/* Footer */
.footer {
    background-color: var(--bg-color);
    padding: 3rem 1rem 2rem 1rem;
}

.footer-inner {
max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
}

.footer-logo {
    margin-right: 4rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-logo span {
    margin-left: 8px;
}

.footer-nav {
    display: flex;
    flex: 1;
    gap: 2rem;
    justify-content: space-around;
    
}

.footer-col {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: var(--text-color);
    opacity: 0.7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    width: 100%;
    padding: 1.5rem 0;
    text-align: center;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

.mapa-contenedor {
  width: 100%;
  max-width: 300px; /* o ajusta según tu diseño */
  height: 180px;    /* altura fija controlada */
  border-radius: 10px;
  overflow: hidden;
  margin: 20px 0;
}

.mapa-contenedor iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2.2rem;
    }
    .about-inner {
        flex-direction: column;
        gap: 3rem;
    }
    .about-content {
        padding-right: 0;
    }
    .contact-content {
        flex-direction: column;
    }
    .contact-info {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 100px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--bg-color);
        overflow: hidden;
        transition: var(--transition);
        z-index: 1000;
    }
    .nav.active {
        height: auto;
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    .nav ul {
        flex-direction: column;
        align-items: center;
    }
    .nav ul li {
        margin: 1rem 0;
    }
    .menu-toggle {
        display: block;
    }
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    .btn {
        width: 100%;
    }
    .service-card {
        height: auto;
    }
    .footer-logo {
        flex-basis: 100%;
        justify-content: center;
        margin-right: 0;
    }
    .footer-nav {
        flex-wrap: wrap;
        gap: 2rem;
    }
    .footer-col {
        flex-basis: 45%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .footer-col {
        flex-basis: 100%;
    }
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

/* Efecto de palpitación simple */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.contenido { 
    position: relative; 
    z-index: 2; 
    padding: 0 20px; 
}

.botones { 
    margin-top: 30px; 
}
.hero-slider {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
    background-size: cover;        
  background-position: center;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.contenido {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 150px 20px 20px 20px; /* más espacio arriba */
  
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* mueve el contenido hacia arriba */
  height: 100%;
  text-align: center;
}


.contenido h1 {
  font-size: 3em;
  margin-bottom: 20px;
  color: #00ffff;
}

.contenido p {
  font-size: 1.3em;
  color: #ddd;
}

.controles {
  position: absolute;
  bottom: 30px;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 3;
}

.controles button {
  background: transparent;
  border: 2px solid #00ffff;
  color: #00ffff;
  font-size: 1.5em;
  padding: 10px 15px;
  margin: 0 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.controles button:hover {
  background-color: #00ffff;
  color: #0e121a;
}
@media (max-width: 768px) {
  .contenido h1 {
    font-size: 1.8em;
    line-height: 1.2;
  }

  .contenido p {
    font-size: 1em;
    padding: 0 10px;
  }

  .contenido {
    padding-top: 100px; /* separa del borde superior */
  }

  .controles {
    bottom: 20px;
    gap: 10px;
  }

  .controles button {
    font-size: 1em;
    padding: 8px 12px;
    border-width: 1.5px;
  }
}
