/* Reset y variables globales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #030213;
    --primary-foreground: #ffffff;
    --secondary-color: #f3f3f5;
    --background: #ffffff;
    --foreground: #1a1a1a;
    --muted: #6b7280;
    --border: rgba(0, 0, 0, 0.1);
    --card-background: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --green-500: #10b981;
    --green-600: #059669;
    --red-500: #ef4444;
    --red-600: #dc2626;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 0.5rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

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

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: bold;
}

.nav-desktop {
    display: none;
    gap: 2rem;
}

.nav-link {
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 1rem;
}

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

.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: block;
}

.nav-mobile {
    display: none;
    border-top: 1px solid var(--border);
    padding: 1rem 0;
}

.nav-mobile.active {
    display: block;
}

.nav-link-mobile {
    display: block;
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
    padding: 0.75rem 1rem;
    text-align: left;
    width: 100%;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.carousel-container {
    position: absolute;
    inset: 0;
}

.carousel-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-subtitle-container {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.hero-description {
    font-size: 1rem;
    color: #e5e7eb;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--primary-foreground);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: rgba(3, 2, 19, 0.9);
}

.btn-primary:disabled {
    background-color: var(--gray-300);
    cursor: not-allowed;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: white;
    color: black;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.carousel-nav.prev {
    left: 1rem;
}

.carousel-nav.next {
    right: 1rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.indicator {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background: white;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 48rem;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background-color: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--card-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.feature-card p {
    color: var(--gray-600);
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.about-text {
    space-y: 1rem;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

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

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 24rem;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background-color: var(--gray-50);
}

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

.service-card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.service-image {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.service-content p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Importance Section */
.importance-section {
    padding: 4rem 0;
    background: white;
}

.importance-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.importance-card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s ease;
}

.importance-card:hover {
    box-shadow: var(--shadow-lg);
}

.importance-card {
    display: flex;
    flex-direction: column;
}

.importance-icon {
    background: rgba(3, 2, 19, 0.1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon-bg {
    padding: 1rem;
    background: rgba(3, 2, 19, 0.2);
    border-radius: 50%;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.importance-icon h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
}

.importance-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    align-items: center;
}

.importance-content p {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.cta-section {
    text-align: center;
    background: rgba(3, 2, 19, 0.05);
    border-radius: var(--border-radius);
    padding: 2rem;
}

.cta-section h3 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background-color: var(--gray-50);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card, .hours-card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.contact-card h3, .hours-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    padding: 0.75rem;
    background: rgba(3, 2, 19, 0.1);
    border-radius: 50%;
    font-size: 1.5rem;
}

.contact-item p:first-child {
    font-weight: 500;
}

.contact-item p:last-child {
    color: var(--gray-600);
}

.social-media {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.social-media p {
    font-weight: 500;
    margin-bottom: 1rem;
}

.social-buttons {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--card-background);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
}

.social-btn.facebook:hover {
    background: var(--blue-600);
    color: white;
}

.social-btn.twitter:hover {
    background: #1da1f2;
    color: white;
}

.social-btn.instagram:hover {
    background: #e4405f;
    color: white;
}

.social-btn.linkedin:hover {
    background: var(--blue-700);
    color: white;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.hours-item:last-child {
    margin-bottom: 0;
}

.hours-item span:first-child {
    font-weight: 500;
}

.hours-item span:last-child {
    color: var(--gray-600);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.captcha-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.captcha-container label {
    font-weight: 500;
    color: var(--gray-900);
}

.captcha {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--gray-50);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
}

.captcha span {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
}

.captcha input {
    width: 5rem;
    text-align: center;
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
}

.captcha input.valid {
    border-color: var(--green-500);
    background-color: #f0fdf4;
}

.captcha input.invalid {
    border-color: var(--red-500);
    background-color: #fef2f2;
}

.captcha button {
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
}

#captcha-feedback {
    font-size: 0.875rem;
}

#captcha-feedback.success {
    color: var(--green-600);
}

#captcha-feedback.error {
    color: var(--red-600);
}

.form-note {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--gray-900);
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-info p {
    color: #d1d5db;
    margin-bottom: 1rem;
    max-width: 28rem;
}

.copyright {
    color: #9ca3af !important;
    font-size: 0.875rem !important;
}

.footer-links h4,
.footer-services h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-services li {
    color: #d1d5db;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #9ca3af;
    font-size: 0.875rem;
    text-align: center;
}

.footer-group p {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-group span {
    color: white;
    font-weight: 500;
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .hero-section {
        height: 70vh;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-legal {
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .importance-card {
        flex-direction: row;
    }
    
    .importance-icon {
        width: 25%;
        min-width: 200px;
    }
    
    .importance-content {
        width: 75%;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.logo {
  display: flex;
  align-items: center; /* centra verticalmente */
  gap: 10px;           /* espacio entre logo y texto */
}

.logo-img {
  height: 40px;        /* ajusta según tamaño del logo */
  width: auto;
}

.logo-text {
  font-size: 1.5rem;   /* tamaño del texto */
  font-weight: bold;
}