/* Reset y Variables */
:root {
    /* Paleta de colores premium mejorada */
    --primary-color: #1a1a2e;
    --primary-light: #2d3142;
    --secondary-color: #c9a961;
    --secondary-dark: #a07f3f;
    --accent-color: #e8c468;
    --accent-dark: #d4a437;
    --text-dark: #1a1a2e;
    --text-gray: #6b7280;
    --text-light: #ffffff;
    --bg-light: #fafafa;
    --bg-white: #ffffff;
    --bg-dark: #1a1a2e;
    --bg-gradient-1: linear-gradient(135deg, #1a1a2e 0%, #2d3142 100%);
    --bg-gradient-2: linear-gradient(135deg, #c9a961 0%, #e8c468 100%);
    --bg-gradient-3: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(45, 49, 66, 0.95) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-dark);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header y Navegación */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(26, 26, 46, 0.95);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.15);
}

.navbar {
    padding: 1.2rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(201, 169, 97, 0.3));
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(201, 169, 97, 0.5));
}

.logo h1 {
    color: var(--text-light);
    font-size: 1.6rem;
    letter-spacing: 0.5px;
    background: var(--bg-gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(201, 169, 97, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.7rem 1.3rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--bg-gradient-2);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10;
}

.menu-toggle span {
    width: 28px;
    height: 2.5px;
    background: var(--bg-gradient-2);
    margin: 4px 0;
    transition: var(--transition);
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(26, 26, 46, 0.5), rgba(26, 26, 46, 0.7)),
                url('imgs/imagen_inicio pagina.webp') center 30%/cover no-repeat fixed;
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(26, 26, 46, 0.4) 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.7) 0%, 
        rgba(201, 169, 97, 0.2) 50%, 
        rgba(26, 26, 46, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
    animation: heroFadeIn 1.2s ease-out;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.2s both;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(to right, #ffffff, #e8c468);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.4s both;
    color: #f0f0f0;
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Botones */
.btn {
    display: inline-block;
    padding: 1.1rem 3rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--bg-gradient-2);
    transition: width 0.5s ease;
    z-index: -1;
}

.btn-primary {
    background: var(--bg-gradient-2);
    color: var(--text-dark);
    box-shadow: 0 8px 24px rgba(201, 169, 97, 0.4);
    animation: fadeInUp 1s ease 0.6s both;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(201, 169, 97, 0.5);
    border-color: var(--accent-color);
}

.btn-primary:active {
    transform: translateY(-2px) scale(1.02);
}

/* Secciones */
section {
    padding: 7rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--bg-gradient-2);
    border-radius: 2px;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: var(--bg-gradient-2);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
    position: relative;
}

.title-underline::before,
.title-underline::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.title-underline::before {
    left: -15px;
}

.title-underline::after {
    right: -15px;
}

.section-description {
    font-size: 1.15rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Nosotros Section */
.nosotros {
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    position: relative;
}

.nosotros::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
}

.nosotros-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.nosotros-item {
    background: var(--bg-white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(201, 169, 97, 0.1);
}

.nosotros-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bg-gradient-2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.nosotros-item:hover::before {
    transform: scaleX(1);
}

.nosotros-item:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
}

.icon-box {
    width: 100px;
    height: 100px;
    background: var(--bg-gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 24px rgba(201, 169, 97, 0.3);
    transition: var(--transition);
}

.nosotros-item:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(201, 169, 97, 0.4);
}

.icon-box svg {
    width: 50px;
    height: 50px;
    color: var(--text-dark);
}

.nosotros-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.nosotros-item p {
    color: var(--text-gray);
    line-height: 1.9;
    font-size: 1.05rem;
}

/* Servicios Section */
.servicios {
    background: var(--bg-gradient-1);
    position: relative;
}

.servicios .section-title,
.servicios .section-description {
    color: var(--text-light);
}

.servicios .title-underline {
    background: var(--bg-gradient-2);
}

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

.servicio-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.2), transparent);
    transition: left 0.7s ease;
}

.servicio-card:hover::before {
    left: 100%;
}

.servicio-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-12px);
    box-shadow: 0 16px 48px rgba(201, 169, 97, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.servicio-icon {
    width: 90px;
    height: 90px;
    background: var(--bg-gradient-2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 24px rgba(201, 169, 97, 0.3);
    transition: var(--transition);
    transform: rotate(0deg);
}

.servicio-card:hover .servicio-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 12px 32px rgba(201, 169, 97, 0.5);
}

.servicio-icon svg {
    width: 45px;
    height: 45px;
    color: var(--text-dark);
}

.servicio-card h3 {
    font-size: 1.7rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.servicio-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    font-size: 1.05rem;
}

/* Galería Section */
.galeria {
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    aspect-ratio: 1;
    transition: var(--transition);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0) 0%, rgba(26, 26, 46, 0.3) 100%);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.85) 0%, 
        rgba(201, 169, 97, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
    flex-direction: column;
    gap: 1rem;
}

.gallery-overlay::before {
    content: '🔍';
    font-size: 3rem;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
}

.gallery-overlay span {
    color: var(--text-light);
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.15) rotate(2deg);
}

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

.gallery-item:hover .gallery-overlay::before {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.1s;
}

.gallery-item:hover .gallery-overlay span {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

/* Contacto Section */
.contacto {
    background: var(--bg-gradient-1);
    position: relative;
    overflow: hidden;
}

.contacto::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contacto .section-title,
.contacto .section-description {
    color: var(--text-light);
}

.contacto-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary-color);
    transform: translateX(10px);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-gradient-2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(201, 169, 97, 0.3);
}

.info-icon svg {
    width: 35px;
    height: 35px;
    color: var(--text-dark);
}

.info-content h4 {
    font-size: 1.4rem;
    margin-bottom: 0.7rem;
    color: var(--accent-color);
    font-weight: 600;
}

.info-content p,
.info-content a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
}

.info-content a:hover {
    color: var(--accent-color);
}

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

.social-links a {
    padding: 0.7rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--bg-gradient-2);
    color: var(--text-dark);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Formulario */
.contacto-form {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
    opacity: 0.7;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.1);
}

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

.contacto-form .btn {
    width: 100%;
    font-size: 1.05rem;
    padding: 1.3rem;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1e 100%);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    font-size: 1rem;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
    display: inline-block;
}

.footer-section a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 169, 97, 0.15);
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.social-icons a:hover {
    background: var(--bg-gradient-2);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 8px 24px rgba(201, 169, 97, 0.4);
}

.social-icons svg {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
    margin-top: 2rem;
}

.footer-bottom > p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Desarrollado por - OCMIND */
.footer-developer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.footer-developer > p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.ocmind-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.ocmind-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(201, 169, 97, 0.2);
    transition: var(--transition);
}

.ocmind-link:hover .ocmind-logo {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(201, 169, 97, 0.3);
}

.ocmind-logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.ocmind-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.ocmind-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.5px;
    line-height: 1;
}

.ocmind-tagline {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 46, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: var(--text-light);
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 169, 97, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: var(--bg-gradient-2);
    color: var(--text-dark);
    transform: rotate(90deg) scale(1.1);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes zoomIn {
    from {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Animación de pulso para elementos destacados */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .logo {
        gap: 0.6rem;
    }

    .logo-img {
        height: 40px;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .hero {
        background-position: center 30%;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 75px;
        flex-direction: column;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        border-top: 1px solid rgba(201, 169, 97, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        padding: 1rem 2rem;
        margin: 0.3rem 1rem;
        border-radius: 12px;
    }

    .hero {
        min-height: 600px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    section {
        padding: 4rem 0;
    }

    .nosotros-content,
    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contacto-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .modal-close {
        top: 20px;
        right: 20px;
        font-size: 35px;
    }

    /* Social float tablet */
    .social-float {
        right: 20px;
    }

    .social-float-item {
        width: 50px;
        height: 50px;
    }

    .social-float-item svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 550px;
        background-position: center 35%;
    }

    .logo {
        flex-direction: column;
        gap: 0.3rem;
        align-items: flex-start;
    }

    .logo-img {
        height: 35px;
    }

    .logo h1 {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.9rem;
    }

    section {
        padding: 3rem 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .nosotros-item,
    .servicio-card {
        padding: 2rem 1.5rem;
    }

    .contacto-form {
        padding: 2rem 1.5rem;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    /* Footer developer responsive */
    .footer-developer {
        flex-direction: column;
        gap: 0.5rem;
    }

    .ocmind-logo {
        padding: 0.5rem 1rem;
    }

    .ocmind-logo img {
        height: 28px;
    }

    .ocmind-name {
        font-size: 1rem;
    }

    .ocmind-tagline {
        font-size: 0.65rem;
    }

    /* Social float responsive */
    .social-float {
        right: 15px;
        gap: 0.8rem;
    }

    .social-float-item {
        width: 48px;
        height: 48px;
    }

    .social-float-item svg {
        width: 24px;
        height: 24px;
    }

    .social-float-tooltip {
        display: none;
    }
}

/* Tablet landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* Large screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 3.5rem;
    }
}

/* Mejoras de accesibilidad */
:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
    border-radius: 4px;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Modo oscuro del sistema */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-light: #1a1a2e;
    }
}

/* Utilidades */
.text-gradient {
    background: var(--bg-gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-glow {
    box-shadow: 0 0 30px rgba(201, 169, 97, 0.3);
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Skeleton loader para imágenes */
.skeleton {
    background: linear-gradient(
        90deg,
        rgba(201, 169, 97, 0.1) 25%,
        rgba(201, 169, 97, 0.2) 50%,
        rgba(201, 169, 97, 0.1) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Botón de scroll to top (para agregar en el futuro) */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bg-gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Iconos flotantes de redes sociales */
.social-float {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 998;
    animation: slideInRight 0.6s ease 1s both;
}

.social-float-item {
    position: relative;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-gradient-1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.social-float-item svg {
    width: 28px;
    height: 28px;
    color: var(--text-light);
    transition: var(--transition);
}

.social-float-item:hover {
    transform: translateX(-8px) scale(1.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.social-float-item.instagram {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    border-color: rgba(252, 176, 69, 0.3);
}

.social-float-item.instagram:hover {
    border-color: #fcb045;
    box-shadow: 0 8px 32px rgba(131, 58, 180, 0.5);
}

.social-float-item.tiktok {
    background: linear-gradient(135deg, #000000 0%, #ee1d52 50%, #69c9d0 100%);
    border-color: rgba(105, 201, 208, 0.3);
}

.social-float-item.tiktok:hover {
    border-color: #69c9d0;
    box-shadow: 0 8px 32px rgba(238, 29, 82, 0.5);
}

/* Tooltip para redes sociales */
.social-float-tooltip {
    position: absolute;
    right: 70px;
    background: var(--bg-gradient-1);
    color: var(--text-light);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(201, 169, 97, 0.3);
}

.social-float-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid var(--primary-color);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.social-float-item:hover .social-float-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Print styles */
@media print {
    .header,
    .modal,
    .scroll-to-top {
        display: none !important;
    }

    body {
        background: white;
    }

    section {
        page-break-inside: avoid;
    }
}
