/*
Theme Name: Mares Studio 360
Description: Tema para Marés Studio 360. Diseño moderno, responsive y optimizado.
Version: 2.0.0
Author: Jose Martín
Text Domain: maresstudio360
*/

/* ===== FUENTES ===== */
/* Aileron - Pesos principales */
@font-face {
    font-family: 'Aileron';
    src: url('fonts/Aileron-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aileron';
    src: url('fonts/Aileron-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Aileron';
    src: url('fonts/Aileron-SemiBold.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Aileron';
    src: url('fonts/Aileron-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aileron';
    src: url('fonts/Aileron-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aileron';
    src: url('fonts/Aileron-Heavy.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aileron';
    src: url('fonts/Aileron-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Cormorant Garamond - Normal */
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('fonts/CormorantGaramond-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('fonts/CormorantGaramond-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('fonts/CormorantGaramond-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('fonts/CormorantGaramond-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('fonts/CormorantGaramond-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Cormorant Garamond - Italic */
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('fonts/CormorantGaramond-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('fonts/CormorantGaramond-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: block;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('fonts/CormorantGaramond-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('fonts/CormorantGaramond-SemiBoldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('fonts/CormorantGaramond-BoldItalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Aileron', Arial, sans-serif;
    line-height: 1.6;
    color: #1B2431;
    background-color: #FDF4EC;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
}

/* ===== TIPOGRAFÍA ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 6rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

h2 {
    font-size: clamp(2rem, 6vw, 4rem);
    letter-spacing: 0.05em;
}

h3 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

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

.section {
    padding: 80px 0;
}

/* ===== HEADER BASE ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: transparent;
    min-height: 80px;
    margin: 0;
    border: none;
}

/* ===== VARIANTE 1: Blanco Base, Azul Scrolled ===== */
/* Frontpage y Contacto */
.header-variant-1 .logo {
    color: #FDF4EC;
}

.header-variant-1 .nav a,
.header-variant-1 .lang-btn {
    color: #FDF4EC;
}

.header-variant-1 .hamburger-line {
    background: #FDF4EC;
}

.header-variant-1.scrolled {
    background: rgba(253, 244, 236, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-variant-1.scrolled .logo,
.header-variant-1.scrolled .nav a,
.header-variant-1.scrolled .lang-btn {
    color: #1B2431;
}

.header-variant-1.scrolled .hamburger-line {
    background: #1B2431;
}

/* ===== VARIANTE 2: Azul Base, Blanco Scrolled ===== */
/* Portfolio, Sobre Mares y Legales */
.header-variant-2 .logo,
.header-variant-2 .nav a,
.header-variant-2 .lang-btn {
    color: #1B2431;
}

.header-variant-2 .hamburger-line {
    background: #1B2431;
}

.header-variant-2.scrolled {
    background: rgba(27, 36, 49, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-variant-2.scrolled .logo,
.header-variant-2.scrolled .nav a,
.header-variant-2.scrolled .lang-btn {
    color: #FDF4EC;
}

.header-variant-2.scrolled .hamburger-line {
    background: #FDF4EC;
}

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

/* ===== LOGO ===== */
.logo {
    font-family: 'Aileron', Arial, sans-serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    z-index: 1001;
    position: relative;
    transition: color 0.3s ease;
}

.logo a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* ===== NAVEGACIÓN ===== */
.nav {
    display: flex;
    gap: 40px;
    margin-right: 150px;
    list-style: none;
}

.nav a {
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav a:hover {
    opacity: 0.7;
}

/* ===== BOTONES DE IDIOMA ===== */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none;
}

.lang-btn:hover {
    opacity: 0.7;
}

/* Variante 1: Botón activo en base (fondo transparente, texto blanco) */
.header-variant-1 .lang-btn.active {
    background: rgba(255, 255, 255, 0.2);
    position: relative;
}

.header-variant-1 .lang-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 2px;
    background: #FDF4EC;
}

/* Variante 1: Botón activo en scrolled (fondo blanco, texto oscuro) */
.header-variant-1.scrolled .lang-btn.active {
    background: rgba(27, 36, 49, 0.15);
}

.header-variant-1.scrolled .lang-btn.active::after {
    background: #1B2431;
}

/* Variante 2: Botón activo en base (fondo transparente, texto oscuro) */
.header-variant-2 .lang-btn.active {
    background: rgba(27, 36, 49, 0.15);
    position: relative;
}

.header-variant-2 .lang-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 2px;
    background: #1B2431;
}

/* Variante 2: Botón activo en scrolled (fondo oscuro, texto blanco) */
.header-variant-2.scrolled .lang-btn.active {
    background: rgba(255, 255, 255, 0.2);
}

.header-variant-2.scrolled .lang-btn.active::after {
    background: #FDF4EC;
}

.lang-separator {
    color: inherit;
    opacity: 0.5;
}

/* ===== HAMBURGUESA ===== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 4px;
    z-index: 1002;
    position: relative;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: currentColor;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== OVERLAY MÓVIL ===== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(-100%);
}

/* Variante 1: Azul base (Frontpage/Contacto) */
.header-variant-1 .mobile-menu-overlay {
    background: rgba(27, 36, 49, 0.98);
    backdrop-filter: blur(10px);
}

.header-variant-1 .mobile-menu-overlay.active {
    background: rgba(27, 36, 49, 0.98);
    backdrop-filter: blur(10px);
}

/* Variante 1: Cuando el overlay tiene .scrolled - cambia a arena suave */
.header-variant-1 .mobile-menu-overlay.scrolled {
    background: rgba(253, 244, 236, 0.98);
    backdrop-filter: blur(10px);
}

.header-variant-1 .mobile-menu-overlay.scrolled.active {
    background: rgba(253, 244, 236, 0.98);
    backdrop-filter: blur(10px);
}

/* Variante 2: Arena suave base (Portfolio/Sobre Mares/Legales) */
.header-variant-2 .mobile-menu-overlay {
    background: rgba(253, 244, 236, 0.98);
    backdrop-filter: blur(10px);
}

.header-variant-2 .mobile-menu-overlay.active {
    background: rgba(253, 244, 236, 0.98);
    backdrop-filter: blur(10px);
}

/* Variante 2: Cuando el overlay tiene .scrolled - cambia a azul */
.header-variant-2 .mobile-menu-overlay.scrolled {
    background: rgba(27, 36, 49, 0.98);
    backdrop-filter: blur(10px);
}

.header-variant-2 .mobile-menu-overlay.scrolled.active {
    background: rgba(27, 36, 49, 0.98);
    backdrop-filter: blur(10px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 30px 40px;
    position: relative;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
}

/* Borde del header según variante */
.mobile-menu-header {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-variant-1 .mobile-menu-overlay.scrolled .mobile-menu-header {
    border-bottom: 1px solid rgba(27, 36, 49, 0.1);
}

.header-variant-2 .mobile-menu-overlay .mobile-menu-header {
    border-bottom: 1px solid rgba(27, 36, 49, 0.1);
}

.header-variant-2 .mobile-menu-overlay.scrolled .mobile-menu-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Variante 1: Logo y cierre en arena suave (base) */
.header-variant-1 .mobile-menu-overlay .mobile-logo a {
    color: #FDF4EC;
}

.header-variant-1 .mobile-menu-overlay .close-line {
    background: #FDF4EC;
}

/* Variante 1: Cuando scrolled - cambia a azul */
.header-variant-1 .mobile-menu-overlay.scrolled .mobile-logo a {
    color: #1B2431;
}

.header-variant-1 .mobile-menu-overlay.scrolled .close-line {
    background: #1B2431;
}

/* Variante 2: Logo y cierre en azul (base) */
.header-variant-2 .mobile-menu-overlay .mobile-logo a {
    color: #1B2431;
}

.header-variant-2 .mobile-menu-overlay .close-line {
    background: #1B2431;
}

/* Variante 2: Cuando scrolled - cambia a arena suave */
.header-variant-2 .mobile-menu-overlay.scrolled .mobile-logo a {
    color: #FDF4EC;
}

.header-variant-2 .mobile-menu-overlay.scrolled .close-line {
    background: #FDF4EC;
}

.mobile-logo {
    font-family: 'Aileron', Arial, sans-serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mobile-logo a {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.mobile-logo a:hover {
    opacity: 0.8;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-line {
    position: absolute;
    width: 20px;
    height: 2px;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.close-line:nth-child(1) {
    transform: rotate(45deg);
}

.close-line:nth-child(2) {
    transform: rotate(-45deg);
}

.mobile-language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 50px;
    padding: 10px 20px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
}

.mobile-lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Aileron', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    padding: 5px 10px;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: none;
}

.mobile-lang-separator {
    font-size: 12px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    flex: 1;
    justify-content: flex-start;
    width: 100%;
    max-width: 300px;
    padding-top: 20px;
}

.mobile-nav a {
    color: #FDF4EC;
    text-decoration: none;
    font-family: 'Aileron', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 15px 25px;
    border-radius: 25px;
    border: 1px solid transparent;
    text-align: center;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.mobile-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.mobile-nav a:hover::before {
    left: 100%;
}

.mobile-nav a:hover {
    color: #FDF4EC;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* Variante 1: Todo en blanco (base) */
.header-variant-1 .mobile-menu-overlay .mobile-language-switcher {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.header-variant-1 .mobile-menu-overlay .mobile-lang-btn {
    color: rgba(253, 244, 236, 0.7);
}

.header-variant-1 .mobile-menu-overlay .mobile-lang-btn.active {
    color: #FDF4EC;
    background: rgba(255, 255, 255, 0.15);
}

.header-variant-1 .mobile-menu-overlay .mobile-lang-btn:hover {
    color: #FDF4EC;
    background: rgba(255, 255, 255, 0.1);
}

.header-variant-1 .mobile-menu-overlay .mobile-lang-separator {
    color: rgba(253, 244, 236, 0.3);
}

.header-variant-1 .mobile-menu-overlay .mobile-nav a {
    color: #FDF4EC;
    border: 1px solid transparent;
}

.header-variant-1 .mobile-menu-overlay .mobile-nav a:hover {
    color: #FDF4EC;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* Variante 1: Cuando scrolled - cambia a azul */
.header-variant-1 .mobile-menu-overlay.scrolled .mobile-language-switcher {
    border: 1px solid rgba(27, 36, 49, 0.2);
    background: rgba(27, 36, 49, 0.05);
}

.header-variant-1 .mobile-menu-overlay.scrolled .mobile-lang-btn {
    color: rgba(27, 36, 49, 0.7);
}

.header-variant-1 .mobile-menu-overlay.scrolled .mobile-lang-btn.active {
    color: #1B2431;
    background: rgba(27, 36, 49, 0.15);
}

.header-variant-1 .mobile-menu-overlay.scrolled .mobile-lang-btn:hover {
    color: #1B2431;
    background: rgba(27, 36, 49, 0.1);
}

.header-variant-1 .mobile-menu-overlay.scrolled .mobile-lang-separator {
    color: rgba(27, 36, 49, 0.3);
}

.header-variant-1 .mobile-menu-overlay.scrolled .mobile-nav a {
    color: #1B2431;
    border: 1px solid transparent;
}

.header-variant-1 .mobile-menu-overlay.scrolled .mobile-nav a:hover {
    color: #1B2431;
    border-color: rgba(27, 36, 49, 0.3);
    background: rgba(27, 36, 49, 0.05);
    transform: translateY(-2px);
}

.header-variant-1 .mobile-menu-overlay.scrolled .mobile-nav a::before {
    background: linear-gradient(90deg, transparent, rgba(27, 36, 49, 0.1), transparent);
}

/* Variante 2: Todo en azul (base) */
.header-variant-2 .mobile-menu-overlay .mobile-language-switcher {
    border: 1px solid rgba(27, 36, 49, 0.2);
    background: rgba(27, 36, 49, 0.05);
}

.header-variant-2 .mobile-menu-overlay .mobile-lang-btn {
    color: rgba(27, 36, 49, 0.7);
}

.header-variant-2 .mobile-menu-overlay .mobile-lang-btn.active {
    color: #1B2431;
    background: rgba(27, 36, 49, 0.15);
}

.header-variant-2 .mobile-menu-overlay .mobile-lang-btn:hover {
    color: #1B2431;
    background: rgba(27, 36, 49, 0.1);
}

.header-variant-2 .mobile-menu-overlay .mobile-lang-separator {
    color: rgba(27, 36, 49, 0.3);
}

.header-variant-2 .mobile-menu-overlay .mobile-nav a {
    color: #1B2431;
    border: 1px solid transparent;
}

.header-variant-2 .mobile-menu-overlay .mobile-nav a:hover {
    color: #1B2431;
    border-color: rgba(27, 36, 49, 0.3);
    background: rgba(27, 36, 49, 0.05);
    transform: translateY(-2px);
}

.header-variant-2 .mobile-menu-overlay .mobile-nav a::before {
    background: linear-gradient(90deg, transparent, rgba(27, 36, 49, 0.1), transparent);
}

/* Variante 2: Cuando scrolled - cambia a blanco */
.header-variant-2 .mobile-menu-overlay.scrolled .mobile-language-switcher {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.header-variant-2 .mobile-menu-overlay.scrolled .mobile-lang-btn {
    color: rgba(255, 255, 255, 0.7);
}

.header-variant-2 .mobile-menu-overlay.scrolled .mobile-lang-btn.active {
    color: #FDF4EC;
    background: rgba(255, 255, 255, 0.15);
}

.header-variant-2 .mobile-menu-overlay.scrolled .mobile-lang-btn:hover {
    color: #FDF4EC;
    background: rgba(255, 255, 255, 0.1);
}

.header-variant-2 .mobile-menu-overlay.scrolled .mobile-lang-separator {
    color: rgba(255, 255, 255, 0.3);
}

.header-variant-2 .mobile-menu-overlay.scrolled .mobile-nav a {
    color: #FDF4EC;
    border: 1px solid transparent;
}

.header-variant-2 .mobile-menu-overlay.scrolled .mobile-nav a:hover {
    color: #FDF4EC;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.header-variant-2 .mobile-menu-overlay.scrolled .mobile-nav a::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.desktop-only {
    display: block;
}

/* Footer */
.footer {
    background: #1B2431;
    color: #FDF4EC;
    padding: 80px 60px 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    width: 100%;
    position: relative;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    max-width: 200px;
}

.footer-center {
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    right: auto;
    top: 0;
    transform: translateX(-50%);
    z-index: 1;
    text-align: center;
}

.footer-logo {
    font-size: clamp(30px, 6vw, 80px);
    font-weight: 500;
    letter-spacing: 6px;
    margin-bottom: 5px;
    text-align: center !important;
    width: 100%;
}

.footer-subtitle {
    font-size: 22px;
    letter-spacing: 6px;
    font-weight: 300;
    text-align: center !important;
    width: 100%;
    margin-top: -20px;
    margin-bottom: 5px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: right;
    flex: 1;
    max-width: 200px;
    justify-content: flex-end;
}

.footer-right a {
    color: #FDF4EC;
    text-decoration: none;
    font-size: 18px;
    transition: opacity 0.3s ease;
}

.footer-right a:hover {
    opacity: 0.7;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    margin: 20px 0 30px 0;
    text-align: center;
    flex-wrap: wrap;
}

.social-links a {
    color: #FDF4EC;
    text-decoration: none;
    font-size: 18px;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.7;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
}

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

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

.footer-links a:hover {
    opacity: 0.7;
}

/* ===== FOOTER RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer {
        padding: 50px 30px 30px;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 25px;
        width: 100%;
        justify-content: center;
        margin: 0 auto;
    }
    
    .footer-center,
    .footer-left,
    .footer-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
        max-width: 100%;
    }
    
    .footer-center {
        order: 1;
        margin-bottom: 0;
        position: relative;
        left: auto;
        transform: none;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .footer-logo {
        font-size: clamp(37px, 8.5vw, 75px);
        margin-bottom: 10px;
        text-align: center;
    }
    
    .footer-subtitle {
        font-size: 17px;
        letter-spacing: 5px;
        text-align: center;
        margin-top: 0;
    }
    
    .footer-right {
        order: 2;
        text-align: center;
        margin-bottom: 0;
        gap: 10px;
        max-width: 100%;
    }
    
    .footer-right a {
        font-size: 17px;
        margin: 6px 0;
    }
    
    .footer-left {
        order: 3;
        text-align: center;
        gap: 10px;
        font-size: 15px;
        line-height: 1.4;
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .social-links {
        gap: 50px;
        margin: 20px 0 30px 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

/* ===== CONTACTO ===== */
.contacto-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1B2431;
    padding: 120px 60px 80px;
    text-align: center;
}

.contacto-hero-content h1 {
    font-size: clamp(2.3rem, 6.5vw, 4.5rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    color: #F9F9F9;
    margin-bottom: 2rem;
}

.contacto-subtitle {
    font-size: clamp(0.9rem, 2.3vw, 1.4rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.6;
    color: #F9F9F9;
}

.contacto-subtitle .italic {
    font-style: italic;
    color: #C5B08E;
}

.contacto-main {
    background: #FDF4EC;
    padding: 100px 0;
}

.contacto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
}

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

.contacto-info-item h3 {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #1B2431;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.contacto-info-item p,
.contacto-info-item a {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
    color: #5A4932;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contacto-info-item a:hover {
    color: #1B2431;
}

.contacto-form-container {
    background: #F9F9F9;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(27, 36, 49, 0.08);
}

.contacto-form-header h2 {
    font-size: 1.75rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #1B2431;
    margin-bottom: 1rem;
}

.contacto-form-header p {
    font-size: 1rem;
    font-weight: 300;
    color: #5A4932;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #1B2431;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-size: 0.95rem;
    padding: 15px;
    border: 2px solid #1B2431;
    border-radius: 8px;
    background: #F9F9F9;
    color: #1B2431;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Aileron', Arial, sans-serif;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #5A4932;
    opacity: 0.5;
}

.form-group select {
    cursor: pointer;
    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 fill='%231B2431' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-position: right 15px center;
    background-repeat: no-repeat;
    padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1B2431;
    box-shadow: 0 0 0 3px rgba(27, 36, 49, 0.15);
}

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

/* Checkbox Styles */
.checkbox-group {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: #5A4932;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #C5B08E;
    border-radius: 4px;
    background: #F9F9F9;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #5A4932;
    border-color: #5A4932;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid #F9F9F9;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label a {
    color: #1B2431;
    text-decoration: underline;
}

.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.submit-btn {
    background: #1B2431;
    color: #F9F9F9;
    padding: 18px 36px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    flex: 1;
}

.submit-btn:hover {
    background: #2a3441;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 36, 49, 0.3);
}

/* ===== BOTONES ===== */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: #007bff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* ===== UTILIDADES ===== */
.text-center {
    text-align: center;
}

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

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

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

.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* ===== HEADER ADICIONAL ===== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle-icon span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== SERVICES SECTION ===== */
.services {
    background: #FDF4EC;
    padding: 80px 0;
    position: relative;
    margin: 0;
}

.services-sticky {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px 60px;
    box-sizing: border-box;
}

.services-sticky h2 {
    font-size: 48px;
    font-weight: bold;
    color: #1B2431;
    margin: 0 0 25px 0;
    letter-spacing: 2px;
    text-align: left;
    width: 100%;
    padding-left: 40px;
}

.services-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 14px 40px;
    border-radius: 12px;
    margin: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 75px;
    flex: 1;
}

.service-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    margin-right: 40px;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(27, 36, 49, 0.05), transparent);
    transition: left 0.6s ease;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(27, 36, 49, 0.1);
    background: #1B2431;
}

.service-item:hover .service-title,
.service-item:hover .service-description {
    color: #F9F9F9;
    opacity: 1;
}

.service-item:hover .service-info-button {
    background: #FDF4EC;
    color: #1B2431;
    border: 1.5px solid #F9F9F9 !important;
}

.service-title {
    font-size: 19px;
    font-weight: 500;
    color: #1B2431;
    flex: 0.9;
    line-height: 1.1;
    transition: all 0.3s ease;
}

.service-description {
    flex: 1.5;
    font-size: 12px;
    color: #5A4932;
    line-height: 1.3;
    margin-left: -10px;
    margin-right: 5px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.service-button-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
}

.service-info-button {
    background: #1B2431;
    border: 1.5px solid #F9F9F9 !important;
    color: #F9F9F9;
    padding: 11px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    outline: none;
    box-shadow: none;
}

.service-info-button:hover {
    background: #FDF4EC;
    border: 1.5px solid #F9F9F9 !important;
    color: #1B2431;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27, 36, 49, 0.3);
}

/* ===== POPUP MODAL ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 36, 49, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: #FDF4EC;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(27, 36, 49, 0.3);
    animation: popupFadeIn 0.3s ease-out;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #1B2431;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.popup-close:hover {
    background: rgba(27, 36, 49, 0.1);
    transform: rotate(90deg);
}

#popup-service-title {
    font-size: 28px;
    font-weight: bold;
    color: #1B2431;
    margin: 0 0 10px 0;
    text-align: center;
}

#popup-service-subtitle {
    font-size: 16px;
    color: #5A4932;
    margin: 0 0 30px 0;
    text-align: center;
}

#selected-service {
    font-weight: bold;
    color: #1B2431;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popup-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.popup-form .form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #1B2431;
    letter-spacing: 0.5px;
}

.popup-form .form-group input,
.popup-form .form-group textarea {
    padding: 12px 16px;
    border: 2px solid #1B2431;
    border-radius: 8px;
    font-size: 16px;
    color: #1B2431;
    background: #F9F9F9;
    transition: all 0.3s ease;
    font-family: inherit;
}

.popup-form .form-group input:focus,
.popup-form .form-group textarea:focus {
    outline: none;
    border-color: #1B2431;
    box-shadow: 0 0 0 3px rgba(27, 36, 49, 0.15);
}

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

.popup-form .form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.submit-email-btn,
.submit-whatsapp-btn {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #1B2431;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.submit-email-btn {
    background: #1B2431;
    color: #F9F9F9;
}

.submit-email-btn:hover {
    background: #2a3441;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27, 36, 49, 0.3);
}

.submit-whatsapp-btn {
    background: #25D366;
    color: #F9F9F9;
    border-color: #25D366;
}

.submit-whatsapp-btn:hover {
    background: #1eb655;
    border-color: #1eb655;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* ===== PORTFOLIO PAGE SECTION ===== */

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    padding: 100px 60px 20px;
    background: #FDF4EC;
    font-family: 'Aileron', Arial, sans-serif;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
    color: #5A4932;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
}

.breadcrumbs a {
    color: #5A4932;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #1B2431;
}

.breadcrumbs .separator {
    color: #C5B08E;
    margin: 0 4px;
}

.breadcrumbs .current {
    color: #1B2431;
    font-weight: 500;
}

.breadcrumbs .current span {
    color: inherit;
}

/* Breadcrumbs responsive */
@media (max-width: 1024px) {
    .breadcrumbs {
        padding: 80px 30px 15px;
    }
    
    .breadcrumbs ol {
        font-size: 0.8rem;
    }
}

/* ===== 404 PAGE ===== */
.error-404 {
    padding: 80px 0;
    text-align: center;
}

.error-title {
    font-size: 8rem;
    font-weight: 900;
    color: #007bff;
    margin-bottom: 20px;
    line-height: 1;
}

.error-subtitle {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.error-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.error-search {
    max-width: 400px;
    margin: 0 auto;
}

.error-search h3 {
    margin-bottom: 20px;
    color: #333;
}

/* ===== RESPONSIVE ADICIONAL ===== */
@media (max-width: 1024px) {
    .header {
        padding: 15px 20px;
        min-height: 60px;
    }
    
    .logo {
        font-size: 1.2rem;
        letter-spacing: 3px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .desktop-only {
        display: none;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .error-title {
        font-size: 6rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .service-item,
    .contact-form {
        padding: 30px 20px;
    }
    
    .error-title {
        font-size: 4rem;
    }
    
    .error-subtitle {
        font-size: 1.5rem;
    }
}

/* ===== RESPONSIVE CONTACTO ===== */
@media (max-width: 1024px) {
    /* Ocultar imágenes flotantes en tablet */
    .floating-images,
    .floating-image {
        display: none !important;
    }
    
    .contacto-container {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 40px;
    }
    
    .contacto-form-container {
        padding: 40px;
    }
}

@media (max-width: 1024px) {
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    .contacto-hero {
        padding: 100px 30px 60px;
    }
    
    .contacto-hero-content h1 {
        font-size: clamp(2rem, 6vw, 4rem);
    }
    
    .contacto-subtitle {
        font-size: clamp(0.85rem, 2.2vw, 1.3rem);
    }
    
    .contacto-main {
        padding: 60px 0;
    }
    
    .contacto-container {
        padding: 0 30px;
        gap: 40px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contacto-form-container {
        padding: 30px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contacto-info-item h3 {
        font-size: 0.85rem;
    }
    
    .contacto-info-item p,
    .contacto-info-item a {
        font-size: 0.9rem;
    }
    
    .contacto-form-header h2 {
        font-size: 1.5rem;
    }
    
    .contacto-form-header p {
        font-size: 0.9rem;
    }
    
    .form-group label {
        font-size: 0.8rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9rem;
    }
    
    .checkbox-label {
        font-size: 0.8rem;
    }
    
    .submit-btn {
        font-size: 0.85rem;
    }
    
    .contacto-info {
        text-align: center;
    }
    
    .contacto-form-header {
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .contacto-hero {
        padding: 80px 20px 40px;
    }
    
    .contacto-hero-content h1 {
        font-size: clamp(1.8rem, 5.5vw, 3.5rem);
    }
    
    .contacto-subtitle {
        font-size: clamp(0.8rem, 2vw, 1.2rem);
    }
    
    .contacto-container {
        padding: 0 20px;
    }
    
    .contacto-form-container {
        padding: 20px;
    }
    
    .contacto-info-item h3 {
        font-size: 0.8rem;
    }
    
    .contacto-info-item p,
    .contacto-info-item a {
        font-size: 0.85rem;
    }
    
    .contacto-form-header h2 {
        font-size: 1.3rem;
    }
    
    .contacto-form-header p {
        font-size: 0.80rem;
    }
    
    .form-group label {
        font-size: 0.75rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.85rem;
    }
    
    .checkbox-label {
        font-size: 0.75rem;
    }
    
    .submit-btn {
        font-size: 0.8rem;
    }
    
    .contacto-info {
        gap: 2rem;
    }
    
    .contacto-form-header {
        text-align: center;
    }
}

/* ===== PÁGINA SOBRE NOSOTROS ===== */
.about-main {
    min-height: 100vh;
}

.about-content {
    padding: 120px 0 80px;
    background-color: #FDF4EC;
}

.about-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: stretch;
    max-width: 1920px;
    margin: 0 auto;
}

.left-column {
    position: relative;
    height: calc(100% - 60px);
    align-self: start;
    margin-top: 60px;
}

.left-image-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.left-video,
.left-image {
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: calc(100% + 80px);
    max-width: 100%;
    min-width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.right-column {
    padding-top: 0;
    margin-top: -20px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.1rem;
    font-weight: 600;
    color: #1B2431;
    margin-top: 60px;
    margin-bottom: 40px;
    font-style: italic;
}

.text-block {
    margin-bottom: 15px;
}

.text-block p {
    font-size: 1rem;
    line-height: 1.65;
    color: #1B2431;
    text-align: justify;
}

.text-block strong {
    font-weight: 600;
}

.quote {
    margin: 10px 0;
    padding: 30px 0;
}

.quote p {
    font-family: 'Aileron', sans-serif;
    font-size: 1.2rem;
    font-style: italic;
    color: #5A4932;
    text-align: center;
    margin: 0;
}

.team-section {
    padding: 100px 0;
    background-color: #F9F9F9;
}

.team-title {
    font-size: 1.6rem;
    font-weight: 400;
    color: #1B2431;
    text-align: center;
    margin: 0 auto 80px;
    max-width: 800px;
    line-height: 1.4;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.team-member {
    position: relative;
    cursor: pointer;
}

.member-image-container {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 8px;
    background-color: #C5B08E;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.member-info {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #1B2431;
    color: #FDF4EC;
    padding: 8px 12px;
    text-align: center;
    border-radius: 6px;
    max-width: calc(100% - 20px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: fit-content;
    min-width: auto;
    align-items: center;
}

.member-info h3 {
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.1;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.member-info p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.65rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.1;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.member-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(27, 36, 49, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    border-radius: 8px;
}

.member-description {
    font-size: 0.9rem;
    line-height: 1.35;
    color: #FDF4EC;
    text-align: center;
}

/* Hover solo en desktop (>1024px) */
@media (min-width: 1025px) {
    .team-member:hover .member-image {
        transform: scale(1.05);
        filter: brightness(0.7);
    }

    .team-member:hover .member-overlay {
        opacity: 1;
    }
}

/* Estado activo para tablet/móvil (al hacer clic) */
@media (max-width: 1024px) {
    .team-member.active .member-image {
        transform: scale(1.05);
        filter: brightness(0.7);
    }

    .team-member.active .member-overlay {
        opacity: 1;
    }
}

/* Sobre Nosotros - Responsive */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .left-column {
        position: static;
    }
    
    .left-image-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .about-content {
        padding: 70px 0 40px;
    }
    
    .about-wrapper {
        padding: 0 30px;
    }
    
    .left-column {
        display: none;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-top: 40px;
    }
    
    .text-block p {
        font-size: 0.9rem;
        line-height: 1.55;
    }
    
    .quote p {
        font-size: 1rem;
    }
    
    .team-section {
        padding: 60px 0;
    }
    
    .team-title {
        font-size: 1.1rem;
        margin-bottom: 50px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .member-info {
        padding: 6px 10px;
    }
    
    .member-info h3 {
        font-size: 0.65rem;
    }
    
    .member-info p {
        font-size: 0.55rem;
    }
    
    .member-description {
        font-size: 0.75rem;
        line-height: 1.25;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .text-block p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .quote p {
        font-size: 0.95rem;
    }
    
    .team-grid {
        gap: 15px;
    }
    
    .team-title {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .member-info {
        padding: 5px 8px;
    }
    
    .member-info h3 {
        font-size: 0.6rem;
    }
    
    .member-info p {
        font-size: 0.5rem;
    }
    
    .member-description {
        font-size: 0.7rem;
        line-height: 1.2;
    }
}

/* ===== PÁGINA PORTFOLIO ===== */
.portfolio-main {
    padding-top: 100px;
    background: transparent;
}

.portfolio-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Carrusel de marcas */
.brands-carousel {
    padding: 60px 0 40px;
    background: transparent;
}

.carousel-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #1B2431;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-style: italic;
}

.carousel-subtitle {
    font-family: 'Aileron', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #5A4932;
    text-align: center;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.carousel-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 0;
    width: 100%;
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 15px;
    min-width: 0;
}

.brand-logo {
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F9F9F9;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.brand-image {
    max-width: 140px;
    max-height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-logo:hover .brand-image {
    transform: scale(1.05);
}

.brand-image.large-logo {
    max-width: 200px;
    max-height: 115px;
    transform: scale(1.25);
}

.brand-logo:hover .brand-image.large-logo {
    transform: scale(1.3);
}

.brand-image.medium-logo {
    max-width: 170px;
    max-height: 95px;
    transform: scale(1.05);
}

.brand-logo:hover .brand-image.medium-logo {
    transform: scale(1.1);
}

.brand-image.extra-large-logo {
    max-width: 185px;
    max-height: 105px;
    transform: scale(1.5);
}

.brand-logo:hover .brand-image.extra-large-logo {
    transform: scale(1.55);
}

.brand-image.small-logo {
    max-width: 120px;
    max-height: 70px;
    transform: scale(0.95);
}

.brand-logo:hover .brand-image.small-logo {
    transform: scale(1.0);
}

.brand-image.super-large-logo {
    max-width: 185px;
    max-height: 105px;
    transform: scale(1.65);
}

.brand-logo:hover .brand-image.super-large-logo {
    transform: scale(1.7);
}

.brand-image.mega-large-logo {
    max-width: 185px;
    max-height: 105px;
    transform: scale(1.8);
}

.brand-logo:hover .brand-image.mega-large-logo {
    transform: scale(1.85);
}

.brand-image.ultra-large-logo {
    max-width: 185px;
    max-height: 105px;
    transform: scale(2.3);
}

.brand-logo:hover .brand-image.ultra-large-logo {
    transform: scale(2.35);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.indicator {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    border: none;
    background: #C5B08E;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.4;
}

.indicator.active {
    background: #1B2431;
    opacity: 1;
    transform: scale(1.15);
}

/* Galería */
.portfolio-gallery {
    padding: 50px 0 3px;
    background: #FDF4EC;
}

.portfolio-gallery .portfolio-wrapper {
    padding: 0;
    max-width: 100%;
}

.gallery-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #1B2431;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px;
    font-style: italic;
    padding: 0 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    width: 100%;
}

.gallery-item {
    aspect-ratio: 4/5;
    overflow: hidden;
    position: relative;
}

.gallery-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.gallery-link:hover {
    opacity: 0.9;
}

.gallery-image-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    will-change: auto;
}

.gallery-image[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.gallery-image.loaded,
.gallery-image[loading="eager"] {
    opacity: 1;
}

/* Portfolio - Responsive */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }
}

@media (max-width: 1024px) {
    .portfolio-main {
        padding-top: 60px;
    }
    
    .brands-carousel {
        padding: 35px 0 25px;
    }
    
    .carousel-title {
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.4rem;
        font-style: italic;
        margin-bottom: 20px;
    }
    
    .carousel-subtitle {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }
    
    .carousel-slide {
        flex: 0 0 50%;
    }
    
    .brand-logo {
        width: 140px;
        height: 80px;
    }
    
    .carousel-container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .portfolio-gallery {
        padding: 35px 0 2px;
    }
    
    .portfolio-gallery .portfolio-wrapper {
        padding: 0;
    }
    
    .gallery-title {
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.5rem;
        font-style: italic;
        padding: 0 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2px;
    }
    
    .indicator {
        width: 4px;
        height: 4px;
        opacity: 0.3;
    }
    
    .indicator.active {
        transform: scale(1.0);
    }
}

@media (max-width: 480px) {
    .portfolio-gallery .portfolio-wrapper {
        padding: 0;
    }
    
    .gallery-title {
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.3rem;
        font-style: italic;
        padding: 0 15px;
    }
    
    .carousel-title {
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.2rem;
        font-style: italic;
        margin-bottom: 20px;
    }
    
    .carousel-subtitle {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }
    
    .brand-logo {
        width: 90px;
        height: 60px;
    }
    
    .brand-image {
        max-width: 80px;
        max-height: 50px;
    }
    
    .brand-image.large-logo {
        max-width: 90px;
        max-height: 60px;
    }
    
    .brand-image.medium-logo,
    .brand-image.extra-large-logo {
        max-width: 80px;
        max-height: 50px;
    }
    
    .brand-image.small-logo {
        max-width: 70px;
        max-height: 45px;
    }
    
    .gallery-grid {
        gap: 2px;
    }
}

/* ===== PÁGINAS LEGALES ===== */
.legal-page {
    background: #FDF4EC;
    min-height: 100vh;
    padding-top: 100px;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.legal-header {
    text-align: center;
    margin-bottom: 50px;
}

.legal-header h1 {
    font-size: 2.5rem;
    color: #1B2431;
    margin-bottom: 20px;
    font-family: 'Aileron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.legal-intro {
    font-size: 1.1rem;
    color: #5A4932;
    margin-bottom: 10px;
    line-height: 1.6;
}

.last-updated {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.legal-content {
    background: #F9F9F9;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    color: #1B2431;
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #1B2431;
    padding-bottom: 10px;
    font-family: 'Aileron', sans-serif;
    font-weight: 600;
}

.legal-section h3 {
    color: #5A4932;
    font-size: 1.2rem;
    margin: 25px 0 15px;
    font-family: 'Aileron', sans-serif;
    font-weight: 600;
}

.legal-section p {
    color: #5A4932;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1rem;
}

.legal-section ul, .legal-section ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.legal-section li {
    color: #5A4932;
    line-height: 1.6;
    margin-bottom: 8px;
    font-size: 1rem;
}

.legal-section a {
    color: #1B2431;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: #5A4932;
}

.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    list-style: none;
    margin-left: 0;
}

.contact-info li {
    margin-bottom: 10px;
}

.contact-info strong {
    color: #1B2431;
}

/* Responsive para páginas legales */
@media (max-width: 1024px) {
    .legal-page {
        padding-top: 60px;
    }
    
    .legal-container {
        padding: 0 15px;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-content {
        padding: 30px 20px;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-section h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .legal-page {
        padding-top: 70px;
    }
    
    .legal-header h1 {
        font-size: 1.8rem;
    }
    
    .legal-content {
        padding: 20px 15px;
    }
    
    .legal-section h2 {
        font-size: 1.2rem;
    }
    
    .legal-section h3 {
        font-size: 1rem;
    }
    
    .legal-section p,
    .legal-section li {
        font-size: 0.95rem;
    }
}

/* ===== FRONTPAGE: HERO SECTION ===== */
.hero {
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #F9F9F9;
    position: relative;
    overflow: hidden;
    background: #000;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Aileron', Arial, sans-serif;
    font-size: clamp(40px, 8vw, 120px);
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 20px;
    line-height: 0.9;
    color: #FDF4EC;
}

.subtitle {
    font-family: 'Aileron', Arial, sans-serif;
    font-size: 22px;
    letter-spacing: 4px;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero .subtitle {
    color: #FDF4EC;
}

.cta-button {
    font-family: 'Aileron', Arial, sans-serif;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #FDF4EC;
    color: #FDF4EC;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #FDF4EC;
    color: #1B2431;
}


.service-title {
    font-size: 24px;
    font-weight: 700;
    color: #1B2431;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.service-description {
    font-size: 16px;
    color: #5A4932;
    line-height: 1.6;
}

/* ===== FRONTPAGE: SLOGAN SECTION ===== */
.slogan-section {
    min-height: 100vh;
    max-height: 100vh;
    height: 100vh;
    position: relative;
    background: #1B2431;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slogan-sticky {
    position: relative;
    height: 100%;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slogan-content {
    text-align: center;
    color: #FDF4EC;
    z-index: 10;
    position: relative;
}

.slogan-text {
    font-size: clamp(35px, 6.5vw, 90px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 3px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.slogan-text span {
    display: inline-block;
    margin-bottom: 8px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.slogan-section:not(.animate) .slogan-text span {
    opacity: 0;
    transform: translateY(20px);
}

.slogan-section.animate .slogan-text span:nth-child(1) {
    transition-delay: 0.1s;
}

.slogan-section.animate .slogan-text span:nth-child(2) {
    transition-delay: 0.2s;
}

.slogan-section.animate .slogan-text span:nth-child(3) {
    transition-delay: 0.3s;
}

.slogan-section.animate .slogan-text span:nth-child(4) {
    transition-delay: 0.4s;
}

.slogan-section.animate .slogan-text span:nth-child(5) {
    transition-delay: 0.5s;
}

.floating-image {
    opacity: 0.85;
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slogan-section:not(.animate) .floating-image {
    opacity: 0;
    transform: scale(0.9);
}

.slogan-section.animate .floating-image:nth-child(1) {
    transition-delay: 0.3s;
}

.slogan-section.animate .floating-image:nth-child(2) {
    transition-delay: 0.4s;
}

.slogan-section.animate .floating-image:nth-child(3) {
    transition-delay: 0.5s;
}

.slogan-section.animate .floating-image:nth-child(4) {
    transition-delay: 0.6s;
}

.slogan-section.animate .floating-image:nth-child(5) {
    transition-delay: 0.7s;
}

.slogan-text .slogan-break {
    margin-bottom: 35px;
}

.slogan-text .italic {
    font-style: italic;
    font-weight: 400;
}

.floating-images {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 1920px;
    margin: 0 auto;
    z-index: 1;
    pointer-events: none;
}

.floating-image {
    position: absolute;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    height: 190px;
    min-height: 190px;
    max-height: 190px;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.85;
    will-change: auto;
}

.floating-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.floating-image:nth-child(1) {
    top: calc(50% - 300px);
    left: max(5%, 250px);
}

.floating-image:nth-child(2) {
    top: calc(50% - 380px);
    right: max(8%, 260px);
}

.floating-image:nth-child(3) {
    bottom: calc(50% - 300px);
    left: max(4%, 185px);
}

.floating-image:nth-child(4) {
    top: calc(50% - 120px);
    right: max(5%, 80px);
}

.floating-image:nth-child(5) {
    bottom: calc(50% - 390px);
    right: max(8%, 120px);
}

/* ===== FRONTPAGE: PORTFOLIO PREVIEW SECTION ===== */
.frontpage-portfolio {
    padding: 100px 60px;
    background: #FDF4EC;
    display: flex;
    align-items: center;
    min-height: 100vh;
    max-width: 1920px;
    margin: 0 auto;
}

.portfolio-content {
    flex: 1;
    max-width: 600px;
}

.frontpage-portfolio h2 {
    font-size: 20px;
    color: #5A4932;
    margin-bottom: 40px;
    letter-spacing: 2px;
    font-weight: normal;
}

.portfolio-title {
    font-size: clamp(32px, 5.5vw, 58px);
    font-weight: bold;
    color: #1B2431;
    line-height: 1.1;
    margin-bottom: 40px;
}

.portfolio-title .italic {
    font-style: italic;
    font-weight: 400;
}

.portfolio-description {
    font-size: 16px;
    color: #5A4932;
    line-height: 1.6;
    margin-bottom: 60px;
}

.portfolio-image {
    flex: 1;
    margin-left: 60px;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 680px;
    border-radius: 8px;
    overflow: hidden;
}

.portfolio-image img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.explore-button {
    background: #5A4932;
    color: #FDF4EC;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
}

.explore-button:hover {
    background: #1B2431;
    color: #FDF4EC;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE FRONTPAGE ===== */
@media (max-width: 1024px) {
    /* Ocultar completamente controles del video en mobile */
    .hero-video {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        z-index: 0 !important;
        pointer-events: none !important;
        outline: none !important;
        border: none !important;
        user-select: none !important;
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
    }
    
    /* Ocultar todos los controles webkit */
    .hero-video::-webkit-media-controls {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
        pointer-events: none !important;
    }
    
    .hero-video::-webkit-media-controls-panel,
    .hero-video::-webkit-media-controls-play-button,
    .hero-video::-webkit-media-controls-start-playback-button,
    .hero-video::-webkit-media-controls-timeline,
    .hero-video::-webkit-media-controls-current-time-display,
    .hero-video::-webkit-media-controls-time-remaining-display,
    .hero-video::-webkit-media-controls-mute-button,
    .hero-video::-webkit-media-controls-volume-slider,
    .hero-video::-webkit-media-controls-fullscreen-button,
    .hero-video::-webkit-media-controls-overlay-play-button {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
        pointer-events: none !important;
    }
    
    .hero h1 {
        font-size: clamp(50px, 8vw, 100px);
        letter-spacing: 3px;
        margin-bottom: 16px;
    }
    
    .hero .subtitle {
        font-size: clamp(18px, 2.5vw, 20px);
        letter-spacing: 5px;
        margin-bottom: 35px;
    }
    
    .cta-button {
        padding: 11px 25px;
        font-size: 13px;
        letter-spacing: 1.5px;
    }
    
    .services {
        padding: 60px 0;
    }
    
    .service-title {
        font-size: 18px;
        text-align: center;
    }
    
    .service-description {
        font-size: 14px;
        text-align: center;
        margin-left: 0;
        margin-right: 0;
    }
    
    .slogan-section {
        background: #1B2431;
        height: auto;
        min-height: 0;
        padding: 40px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .slogan-sticky {
        padding: 0;
        height: auto;
        min-height: auto;
        position: relative;
    }
    
    .slogan-content {
        margin-bottom: 0;
        position: relative;
        z-index: 10;
        padding: 0 15px;
    }
    
    .slogan-text {
        font-size: clamp(28px, 7vw, 42px);
        letter-spacing: 1.5px;
        color: #FDF4EC;
        text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
        line-height: 1.15;
    }
    
    .slogan-text span {
        margin-bottom: 2px;
    }
    
    .slogan-text .slogan-break {
        margin-bottom: clamp(10px, 1.5vh, 18px);
    }
    
    .floating-images {
        display: none;
    }
    
    .floating-image {
        display: none;
    }
    
    .frontpage-portfolio {
        padding: 60px 30px;
        flex-direction: column;
        text-align: center;
    }
    
    .portfolio-content {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .portfolio-image {
        margin: 20px auto 0;
        max-width: 60%;
        width: 60%;
        aspect-ratio: 1;
        border-radius: 8px;
        overflow: hidden;
        position: relative;
    }
    
    .portfolio-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .portfolio-title {
        font-size: clamp(28px, 5vw, 48px);
    }
}

/* Ajuste específico para móviles pequeños */
@media (max-width: 768px) {
    .frontpage-portfolio .portfolio-image {
        max-width: 75%;
        width: 75%;
    }
    
    .portfolio-description {
        font-size: 14px;
    }
    
    .explore-button {
        padding: 12px 30px;
        font-size: 14px;
        letter-spacing: 1.8px;
    }
    
    /* Services responsive */
    .services {
        padding: 60px 0;
    }
    
    .services-sticky {
        padding: 30px 20px;
    }
    
    .services-sticky h2 {
        font-size: 32px;
        text-align: center;
        margin-bottom: 30px;
        padding-left: 0;
    }
    
    .service-item {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 20px;
        padding: 12px 20px;
        min-height: 55px;
        background: transparent;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
        cursor: default;
    }
    
    .service-item .service-info-button {
        pointer-events: auto;
        cursor: pointer;
    }
    
    .service-item.active {
        background: #1B2431;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(27, 36, 49, 0.15);
    }
    
    .service-item.active .service-title {
        color: #FDF4EC;
    }
    
    .service-item.active .service-description {
        color: #FDF4EC;
        opacity: 1;
    }
    
    .service-item.active .service-info-button {
        background: #FDF4EC;
        color: #1B2431;
        border: 1.5px solid #F9F9F9 !important;
    }
    
    .service-item:hover {
        background: transparent !important;
        transform: none !important;
        box-shadow: none !important;
    }
    
    .service-item:hover .service-title,
    .service-item:hover .service-description {
        color: inherit !important;
        opacity: inherit !important;
    }
    
    .service-item:hover .service-info-button {
        background: inherit !important;
        color: inherit !important;
        border: 1.5px solid #F9F9F9 !important;
        transform: none !important;
    }
    
    .service-content {
        flex-direction: column;
        gap: 20px;
        margin-right: 0;
        margin-bottom: 25px;
        text-align: center;
        align-items: center;
    }
    
    .service-title {
        text-align: center;
        font-size: 18px;
        margin: 0 auto;
        width: 100%;
        color: #1B2431;
        transition: color 0.3s ease;
    }
    
    .service-description {
        text-align: center;
        white-space: pre-line;
        padding: 0 15px;
        margin-left: 0;
        margin-right: 0;
        font-size: 14px;
        line-height: 1.4;
        color: #5A4932;
        transition: color 0.3s ease;
        opacity: 0.9;
    }
    
    /* Ocultar en desktop, mostrar en responsive */
    .service-description .mobile-break {
        display: none;
    }
    
    @media (max-width: 1024px) {
        .service-description .mobile-break {
            display: block;
        }
    }
    
    .service-button-container {
        justify-content: center;
        margin-top: 15px;
    }
    
    .service-info-button {
        padding: 10px 16px;
        font-size: 12px;
        transition: all 0.3s ease;
        border: 1.5px solid #F9F9F9 !important;
        outline: none;
        box-shadow: none;
    }
    
    /* Popup responsive */
    .popup-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .popup-close {
        top: 10px;
        right: 10px;
        font-size: 24px;
        width: 35px;
        height: 35px;
    }
    
    #popup-service-title {
        font-size: 24px;
    }
    
    .popup-form .form-group input,
    .popup-form .form-group textarea {
        border: 2px solid #1B2431;
        background: #F9F9F9;
    }
    
    .popup-form .form-group input:focus,
    .popup-form .form-group textarea:focus {
        border-color: #1B2431;
        box-shadow: 0 0 0 3px rgba(27, 36, 49, 0.15);
    }
    
    .popup-form .form-buttons {
        flex-direction: column;
    }
    
    .submit-email-btn,
    .submit-whatsapp-btn {
        font-size: 13px;
        padding: 12px 18px;
    }
}

/* ===== COOKIES BANNER ===== */
.cookies-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FDF4EC;
    border-top: 2px solid #1B2431;
    box-shadow: 0 -4px 20px rgba(27, 36, 49, 0.1);
    z-index: 9999;
    padding: 20px;
    font-family: 'Aileron', Arial, sans-serif;
}

.cookies-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookies-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.cookies-icon {
    color: #1B2431;
    flex-shrink: 0;
}

.cookies-text h3 {
    margin: 0 0 8px 0;
    color: #1B2431;
    font-size: 18px;
    font-weight: 600;
}

.cookies-text p {
    margin: 0;
    color: #5A4932;
    font-size: 14px;
    line-height: 1.4;
}

.cookies-text a {
    color: #1B2431;
    text-decoration: underline;
}

.cookies-text a:hover {
    color: #5A4932;
}

.cookies-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookies-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-family: 'Aileron', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.cookies-btn-primary {
    background: #1B2431;
    color: #FDF4EC;
}

.cookies-btn-primary:hover {
    background: #5A4932;
    transform: translateY(-1px);
}

.cookies-btn-secondary {
    background: transparent;
    color: #1B2431;
    border: 2px solid #1B2431;
}

.cookies-btn-secondary:hover {
    background: #1B2431;
    color: #FDF4EC;
}

/* Modal de configuración de cookies */
.cookies-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.cookies-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.cookies-modal-content {
    position: relative;
    background: #FDF4EC;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border: 2px solid #1B2431;
}

.cookies-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    border-bottom: 2px solid #1B2431;
    background: #1B2431;
    color: #FDF4EC;
    border-radius: 10px 10px 0 0;
}

.cookies-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #FDF4EC;
}

.cookies-modal-close {
    background: none;
    border: none;
    color: #FDF4EC;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.cookies-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookies-modal-body {
    padding: 30px;
}

.cookies-modal-body p {
    margin: 0 0 25px 0;
    color: #5A4932;
    font-size: 16px;
    line-height: 1.5;
}

.cookies-category {
    margin-bottom: 25px;
    padding: 20px;
    background: #FDF4EC;
    border-radius: 8px;
    border: 1px solid #C5B08E;
}

.cookies-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cookies-category-header h3 {
    margin: 0;
    color: #1B2431;
    font-size: 18px;
    font-weight: 600;
}

.cookies-category p {
    margin: 0;
    color: #5A4932;
    font-size: 14px;
    line-height: 1.4;
}

/* Switch de cookies */
.cookies-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookies-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookies-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.cookies-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #FDF4EC;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .cookies-slider {
    background-color: #1B2431;
}

input:checked + .cookies-slider:before {
    transform: translateX(26px);
}

input:disabled + .cookies-slider {
    background-color: #5A4932;
    cursor: not-allowed;
}

.cookies-modal-footer {
    padding: 25px 30px;
    border-top: 2px solid #1B2431;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    background: #FDF4EC;
    border-radius: 0 0 10px 10px;
    align-items: center;
}

/* Responsive para banner de cookies */
@media (max-width: 1024px) {
    .cookies-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cookies-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookies-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookies-btn {
        flex: 1;
        max-width: 120px;
        font-size: 10px;
        padding: 8px 8px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        line-height: 1.1;
        min-height: 36px;
    }
    
    /* Botón Configurar específico - texto más largo */
    #cookies-settings-btn {
        max-width: 140px;
        font-size: 9px;
        padding: 8px 4px;
        line-height: 1.0;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .cookies-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .cookies-modal-header,
    .cookies-modal-body,
    .cookies-modal-footer {
        padding: 20px;
    }
    
    .cookies-modal-footer {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }
    
    .cookies-modal-footer .cookies-btn {
        width: 100%;
        max-width: 180px;
        font-size: 10px;
        padding: 10px 12px;
        line-height: 1.2;
    }
}

@media (max-width: 1366px) {
    .services {
        padding: 60px 25px;
    }
    
    .services-sticky {
        padding: 35px 30px;
        align-items: center;
    }
    
    .services-sticky h2 {
        font-size: 40px;
        text-align: center;
        margin-bottom: 35px;
        padding-left: 0;
    }
    
    .service-item {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 24px;
        padding: 16px 28px;
        min-height: 70px;
    }
    
    .service-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 18px;
        margin: 0 0 20px 0;
    }
    
    .service-title {
        text-align: center;
        font-size: 20px;
        margin: 0 auto;
        width: 100%;
    }
    
    .service-description {
        text-align: center;
        margin-left: 0;
        margin-right: 0;
        font-size: 14px;
        line-height: 1.4;
    }
    
    .service-button-container {
        justify-content: center;
    }
}

body.services-touch-mode .service-item:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}

body.services-touch-mode .service-item:hover .service-title,
body.services-touch-mode .service-item:hover .service-description {
    color: inherit;
    opacity: inherit;
}

body.services-touch-mode .service-item:hover .service-info-button {
    background: #1B2431;
    color: #F9F9F9;
    border: 1.5px solid #F9F9F9 !important;
}

