/* --- VARIABLES --- */
:root {
    --accent-orange: #FF6A3D;
    --accent-orange-hover: #E85A2E;
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.light-mode {
    --bg-color: #F8F7F5;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #F0EFEA;
    --text-primary: #111111;
    --text-secondary: #555555;
    --navbar-bg: rgba(248, 247, 245, 0.9);
    --border-color: rgba(0,0,0,0.04);
    --input-bg: #FFFFFF;
    --input-border: #e1e1e1;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.03);
    --shadow-hover: 0 0 50px rgba(255, 106, 61, 0.18);
}

.dark-mode {
    --bg-color: #050505;      
    --bg-secondary: transparent;  
    --bg-tertiary: #0A0A0A;
    --text-primary: #FFFFFF;
    --text-secondary: #AAAAAA;
    --navbar-bg: rgba(5, 5, 5, 0.9);
    --border-color: transparent;
    --input-bg: rgba(255, 255, 255, 0.05);
    --input-border: #333;
    --shadow-soft: none;
    --shadow-hover: 0 0 60px rgba(255, 106, 61, 0.3);
}

html { scroll-behavior: smooth; }

body {
    margin: 0; padding: 0;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden; line-height: 1.5;
    transition: background-color 0.5s ease, color 0.5s ease;
    -webkit-font-smoothing: antialiased;
}

.reveal { opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

#inicio { scroll-margin-top: 100px; }

/* --- NAVBAR Y LOGO --- */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 10%; background-color: var(--navbar-bg); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); position: fixed; top: 0; width: 80%; z-index: 1000; border-bottom: 1px solid var(--border-color); transition: background-color 0.5s ease; }
.logo a { display: block; }
.logo img { height: 35px; transition: filter 0.5s ease; cursor: pointer; }
.dark-mode #main-logo { filter: brightness(0) invert(1); }
.navbar ul { list-style: none; display: flex; gap: 30px; align-items: center; margin: 0; padding: 0;}
.navbar a { text-decoration: none; color: var(--text-primary); font-size: 0.9rem; font-weight: 500; transition: var(--transition); }
.navbar a:not(.btn-nav):hover { color: var(--accent-orange); }
.btn-nav { border: 1px solid var(--accent-orange); color: var(--accent-orange) !important; padding: 8px 22px; border-radius: 50px; }
.btn-nav:hover { background-color: var(--accent-orange); color: white !important; }

/* --- SWITCH --- */
.theme-switch-wrapper { display: flex; align-items: center; margin-left: 10px;}
.theme-checkbox { appearance: none; width: 6.25em; height: 3.125em; background: linear-gradient(to right, #efefef 50%, #2a2a2a 50%) no-repeat; background-size: 205%; background-position: 100%; transition: 0.4s; border-radius: 99em; position: relative; cursor: pointer; font-size: 8px; }
.theme-checkbox::before { content: ""; width: 2.25em; height: 2.25em; position: absolute; top: 0.438em; left: 0.438em; background: linear-gradient(to right, #efefef 50%, #2a2a2a 50%) no-repeat; background-size: 205%; background-position: 0; border-radius: 50%; transition: 0.4s; }
.theme-checkbox:checked::before { left: calc(100% - 2.25em - 0.438em); background-position: 100%; }
.theme-checkbox:checked { background-position: 0; }

/* --- HAMBURGER --- */
.hamburger { display: none; cursor: pointer; z-index: 1100; }
.hamburger input { display: none; }
.hamburger svg { height: 2.8em; transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1); }
.line { fill: none; stroke: var(--text-primary); stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke 0.3s ease; }
.line-top-bottom { stroke-dasharray: 12 63; }
.hamburger input:checked + svg { transform: rotate(-45deg); }
.hamburger input:checked + svg .line-top-bottom { stroke-dasharray: 20 300; stroke-dashoffset: -32.42; stroke: var(--accent-orange); }

/* --- HERO --- */
.hero { min-height: 100vh; display: flex; justify-content: space-between; align-items: center; padding: 0 10%; position: relative; }
.hero-content { max-width: 550px; z-index: 2; margin-top: -80px; }
.hero-image { width: 45%; z-index: 2; display: flex; justify-content: center; align-items: center; overflow: visible; margin-top: 80px; }
.floating-wrapper { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; }
.box-floating { width: 85%; height: auto; z-index: 2; animation: floatBoxAnimation 3s ease-in-out infinite; }
.shadow-floating { width: 70%; height: auto; margin-top: -70px; z-index: 1; animation: floatShadowAnimation 3s ease-in-out infinite; filter: blur(12px); }
.dark-mode .shadow-floating { filter: brightness(0.8) blur(12px); }
.subtitle { display: block; text-transform: uppercase; letter-spacing: 5px; font-size: 0.8rem; color: var(--accent-orange); font-weight: 700; margin-bottom: 20px; }
h1 { font-family: var(--font-heading); font-size: 5rem; line-height: 1; margin-bottom: 25px; color: var(--text-primary); letter-spacing: -2px; }
.highlight { color: var(--accent-orange); }
.hero p { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 40px; font-weight: 300; max-width: 500px; }
.orange-blur { position: absolute; width: 350px; height: 350px; background-color: rgba(255, 106, 61, 0.05); filter: blur(100px); border-radius: 50%; right: 15%; z-index: 1; pointer-events: none;}
@keyframes floatBoxAnimation { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes floatShadowAnimation { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(0.75); opacity: 0.5; } }

/* --- IDENTIDAD (Misión, Visión, Valores) --- */
.about { padding: 120px 10%; background-color: var(--bg-color); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;}
.about-text h2 { font-family: var(--font-heading); font-size: 2.8rem; margin-bottom: 20px; letter-spacing: -1px;}

.about-text p { text-align: justify; }

.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-left: 20px; }
.value-card { background: var(--bg-secondary); padding: 30px; border-radius: 18px; border: 1px solid var(--border-color); box-shadow: var(--shadow-soft); transition: all 0.4s ease; position: relative; }
.value-card::before { content: ''; position: absolute; left: -15px; top: 25px; bottom: 25px; width: 4px; background-color: var(--accent-orange); border-radius: 4px; box-shadow: 0 0 3px rgba(255, 106, 61, 0.2); }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: transparent; }
.dark-mode .value-card:hover { background: rgba(255,255,255,0.015); border-color: rgba(255,255,255,0.05); }
.value-card h3 { margin: 0 0 10px 0; font-size: 1.1rem; color: var(--text-primary); }

.value-card p { font-size: 0.9rem; color: var(--text-secondary); margin: 0; font-weight: 300; text-align: justify; }

/* --- POLÍTICA DE CALIDAD --- */
.quality-policy { padding: 80px 10%; background-color: var(--bg-tertiary); text-align: center; }
.quality-container { max-width: 900px; margin: 0 auto; }
.quality-policy h2 { font-family: var(--font-heading); font-size: 2.8rem; margin-bottom: 30px; letter-spacing: -1px;}

.quality-policy p { color: var(--text-secondary); font-size: 1.15rem; font-weight: 400; line-height: 1.6; text-align: justify; }

/* --- CERTIFICACIONES --- */
.certifications { padding: 80px 10%; background-color: var(--bg-color); }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; max-width: 1000px; margin: 0 auto; }
.cert-card { background: var(--bg-secondary); border-radius: 18px; border: 1px solid var(--border-color); box-shadow: var(--shadow-soft); padding: 30px 20px; min-height: 160px; overflow: hidden; position: relative; transition: var(--transition); cursor: default; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.dark-mode .cert-card { background: rgba(255,255,255,0.015); border-color: rgba(255,255,255,0.05); }
.cert-card:hover { box-shadow: var(--shadow-hover); border-color: transparent; transform: translateY(-5px); }
.cert-card h3 { font-family: var(--font-heading); color: var(--accent-orange); font-size: 1.6rem; margin: 0 0 5px 0; transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1); transform: translateY(20px); }
.cert-card h4 { font-size: 1rem; color: var(--text-primary); margin: 0; transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1); transform: translateY(20px); }
.cert-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5; margin-top: 15px; margin-bottom: 0; opacity: 0; transform: translateY(30px); transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1); }
.cert-card:hover h3, .cert-card:hover h4 { transform: translateY(0); }
.cert-card:hover p { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }

/* --- PORTAFOLIO Y CLIENTES TÍTULOS (ESTANDARIZADOS) --- */
.portfolio h2, .clients h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 50px;
    letter-spacing: -1px;
}

/* --- PORTAFOLIO (OPCIÓN MIXTA: CARTÓN + ESTUDIO) --- */
.portfolio { padding: 120px 10%; background-color: var(--bg-tertiary); }
.portfolio-grid-harmony { display: flex; flex-direction: column; gap: 70px; margin-top: 40px;}
.portfolio-grid-top, .portfolio-grid-bottom { display: flex; gap: 40px; justify-content: center; }
.portfolio-grid-bottom { width: 100%; }

.portfolio-card-3d { position: relative; width: 100%; max-width: 480px; height: 320px; cursor: pointer; }

.portfolio-bg-3d {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(145deg, #ffffff, #f4f3ef);
    border-radius: 20px; border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: var(--transition); z-index: 1;
    overflow: hidden; 
}

.dark-mode .portfolio-bg-3d {
    background: linear-gradient(145deg, #181818, #0a0a0a);
    border: 1px solid rgba(255,255,255,0.03);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.05), 0 15px 35px rgba(0,0,0,0.6);
}

.portfolio-bg-3d::before {
    content: ''; position: absolute; inset: 0;
    background-image: repeating-linear-gradient(
        to right, rgba(0, 0, 0, 0.02) 0px, rgba(0, 0, 0, 0.02) 2px, transparent 2px, transparent 6px
    );
    z-index: 0; transition: opacity 0.5s ease;
}

.dark-mode .portfolio-bg-3d::before {
    background-image: repeating-linear-gradient(
        to right, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 2px, transparent 2px, transparent 6px
    );
}

.portfolio-bg-3d::after {
    content: ''; position: absolute;
    bottom: 35px; left: 50%; transform: translateX(-50%); width: 65%; height: 15px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%; z-index: 1; transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.dark-mode .portfolio-bg-3d::after { background: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 70%); }

.portfolio-img-3d {
    position: absolute;
    bottom: 47px; 
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    height: 82%; 
    object-fit: contain;
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), filter 0.6s ease;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.08));
}

.portfolio-text-3d {
    position: absolute; bottom: 20px; left: 0; width: 100%;
    padding: 0 25px; box-sizing: border-box; z-index: 3;
    text-align: center; opacity: 0; transform: translateY(15px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1); pointer-events: none;
}
.portfolio-text-3d h3 { font-family: var(--font-heading); color: var(--accent-orange); font-size: 1.6rem; margin: 0 0 5px 0; }
.portfolio-text-3d p { color: var(--text-secondary); font-size: 0.95rem; margin: 0; font-weight: 500; }

.portfolio-card-3d:hover .portfolio-bg-3d { box-shadow: var(--shadow-hover); }
.dark-mode .portfolio-card-3d:hover .portfolio-bg-3d { border-color: rgba(255, 106, 61, 0.2); }

.portfolio-card-3d:hover .portfolio-bg-3d::before { opacity: 0.4; }

.portfolio-card-3d:hover .portfolio-bg-3d::after {
    width: 90%; opacity: 0.3; transform: translateX(-50%) translateY(15px);
}

.portfolio-card-3d:hover .portfolio-img-3d {
    transform: translateX(-50%) translateY(-65px) scale(1.1);
    filter: drop-shadow(0 25px 30px rgba(0,0,0,0.2));
}

.portfolio-card-3d:hover .portfolio-text-3d {
    opacity: 1; transform: translateY(0); transition-delay: 0.1s;
}

/* --- CLIENTES --- */
.clients { padding: 120px 10%; background-color: var(--bg-color); }
.clients-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; align-items: center; margin-top: 50px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.client-card { background: var(--bg-secondary); width: calc(25% - 30px); min-width: 150px; height: 120px; border-radius: 16px; border: 1px solid var(--border-color); box-shadow: var(--shadow-soft); display: flex; justify-content: center; align-items: center; padding: 10px; box-sizing: border-box; transition: all 0.4s ease; }
.dark-mode .client-card { background: rgba(255,255,255,0.015); border-color: rgba(255,255,255,0.05); }
.client-card img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(100%) opacity(0.5); transition: all 0.4s ease; }
.client-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--accent-orange); }
.client-card:hover img { filter: grayscale(0%) opacity(1) drop-shadow(0 4px 6px rgba(0,0,0,0.1)); transform: scale(1.05); }
.dark-mode .client-card img { filter: brightness(0) invert(1) opacity(0.5); }
.dark-mode .client-card:hover { background: rgba(255,255,255,0.03); }
.dark-mode .client-card:hover img { filter: brightness(1) invert(0) opacity(1) drop-shadow(0 0 12px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 20px rgba(255, 106, 61, 0.5)); transform: scale(1.05); }

/* --- CONTACTO Y MAPA --- */
.contact-section { padding: 120px 10%; background-color: var(--bg-tertiary); }
.contact-container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: stretch;}
.location-box { padding-right: 20px; }
.location-box h2 { font-family: var(--font-heading); font-size: 2.8rem; margin-bottom: 20px; letter-spacing: -1px;}
.location-box p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 10px; }
.phone-number { font-size: 1.4rem !important; font-weight: 700; color: var(--text-primary) !important; margin-bottom: 20px !important; }
.premium-map { position: relative; width: 100%; height: 260px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--border-color); background: #eee; }
.premium-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(100%) contrast(1.1); transition: filter 0.5s ease; }
.dark-mode .premium-map iframe { filter: invert(90%) hue-rotate(180deg) grayscale(80%) contrast(1.2); }
.btn-map-link { display: inline-block; margin-top: 15px; color: var(--accent-orange); font-size: 0.95rem; font-weight: 600; text-decoration: none; transition: var(--transition); }
.btn-map-link:hover { text-decoration: underline; }

.contact-box { background: var(--bg-secondary); padding: 50px; border-radius: 24px; border: 1px solid var(--border-color); box-shadow: var(--shadow-soft); transition: all 0.4s ease;}
.contact-box:hover { box-shadow: var(--shadow-hover); border-color: transparent;}
.dark-mode .contact-box:hover { background: rgba(255,255,255,0.015); border-color: rgba(255,255,255,0.05); }
.contact-form { display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 18px; border: 1px solid var(--input-border); border-radius: 12px; font-family: var(--font-main); font-size: 1rem; box-sizing: border-box; background-color: var(--input-bg); color: var(--text-primary); transition: all 0.3s ease; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent-orange); outline: none; box-shadow: 0 0 0 3px rgba(255, 106, 61, 0.1); }
.btn-primary { padding: 20px; background-color: var(--accent-orange); color: white; border: none; border-radius: 12px; font-weight: 600; cursor: pointer; transition: var(--transition); font-size: 1.1rem; }
.btn-primary:hover { background: var(--accent-orange-hover); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255,106,61,0.2); }

/* --- FOOTER Y BOTÓN VOLVER ARRIBA --- */
.footer { background: var(--bg-color); color: var(--text-secondary); text-align: center; padding: 50px 10%; border: none;}
.back-to-top-btn { width: 50px; height: 50px; border-radius: 50%; background: var(--bg-secondary); border: 1px solid var(--border-color); font-weight: 600; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-soft); cursor: pointer; transition-duration: 0.3s; overflow: hidden; position: relative; text-decoration: none; }
.back-to-top-btn .svgIcon { width: 12px; transition-duration: 0.3s; }
.back-to-top-btn .svgIcon path { fill: var(--accent-orange); }
.back-to-top-btn:hover { width: 150px; border-radius: 50px; transition-duration: 0.3s; background-color: var(--accent-orange); border-color: transparent; box-shadow: var(--shadow-hover); }
.back-to-top-btn:hover .svgIcon { transform: translateY(-200%); }
.back-to-top-btn::before { position: absolute; bottom: -20px; content: "Volver arriba"; color: #FFF; font-size: 0px; font-family: var(--font-main); }
.back-to-top-btn:hover::before { font-size: 13px; opacity: 1; bottom: unset; transition-duration: 0.3s; }

/* --- MENÚ SOCIAL FLOTANTE --- */
.social-float { position: fixed; bottom: 30px; right: 30px; z-index: 1000; }
ul.example-2 { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: center; gap: 15px; align-items: center; }
.example-2 .icon-content { margin: 0; position: relative; }
.example-2 .icon-content .tooltip { position: absolute; top: 50%; right: 100%; transform: translateY(-50%); margin-right: 15px; color: #fff; padding: 6px 12px; border-radius: 15px; opacity: 0; visibility: hidden; font-size: 14px; font-weight: 500; transition: all 0.3s ease; white-space: nowrap; pointer-events: none; }
.example-2 .icon-content:hover .tooltip { opacity: 1; visibility: visible; margin-right: 10px; }
.example-2 .icon-content a { position: relative; overflow: hidden; display: flex; justify-content: center; align-items: center; width: 55px; height: 55px; border-radius: 20%; color: var(--text-primary); background-color: var(--bg-secondary); box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: all 0.3s ease-in-out; }
.dark-mode .example-2 .icon-content a { background-color: #000000; color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 6px 16px rgba(255, 255, 255, 0.30); }
.example-2 .icon-content a:hover { box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 50%); color: white; }
.dark-mode .example-2 .icon-content a:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 5px 25px rgba(255, 255, 255, 0.2); }
.example-2 .icon-content a svg { position: relative; z-index: 1; width: 28px; height: 28px; }
.example-2 .icon-content a .filled { position: absolute; top: auto; bottom: 0; left: 0; width: 100%; height: 0; background-color: #000; transition: all 0.3s ease-in-out; }
.example-2 .icon-content a:hover .filled { height: 100%; }
.example-2 .icon-content a[data-social="facebook"] .filled, .example-2 .icon-content a[data-social="facebook"] ~ .tooltip { background-color: #1877F2; }
.example-2 .icon-content a[data-social="instagram"] .filled, .example-2 .icon-content a[data-social="instagram"] ~ .tooltip { background-color: #E1306C; }
.example-2 .icon-content a[data-social="whatsapp"] .filled, .example-2 .icon-content a[data-social="whatsapp"] ~ .tooltip { background-color: #25d366; }

/* --- RESPONSIVIDAD TOTAL (MÓVILES) --- */
@media (max-width: 900px) {
    .navbar { padding: 15px 5%; width: 90%; }
    .hamburger { display: block; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 100vw; height: 100vh; background-color: var(--navbar-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: flex; flex-direction: column; justify-content: center; align-items: center; transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1); z-index: 1050; }
    .nav-links.active { right: 0; }
    .nav-links ul { flex-direction: column; gap: 40px; display: flex; width: 100%; align-items: center; }
    .navbar a { font-size: 1.5rem; } 
    h1 { font-size: 3rem; margin-bottom: 15px; } 
    .hero { flex-direction: column; text-align: center; padding-top: 120px; justify-content: flex-start; min-height: auto; }
    .hero-content { margin-top: 0; padding-bottom: 30px; }
    .hero-image { width: 85%; margin-top: 20px; margin-bottom: 50px; }
    .about-grid, .values-grid { grid-template-columns: 1fr; gap: 40px; margin-left: 0; }
    .value-card::before { left: 0; border-radius: 18px 0 0 18px; }
    
    .portfolio-grid-harmony, .portfolio-grid-top, .portfolio-grid-bottom { flex-direction: column; gap: 40px; }
    .portfolio-card-3d { height: 280px; }
    
    /* Hover Móvil */
    .portfolio-card-3d:hover .portfolio-img-3d { transform: translateX(-50%) translateY(-30px) scale(1.05); }
    
    .contact-container { grid-template-columns: 1fr; }
    .location-box { padding-right: 0; text-align: center; margin-bottom: 30px;}
    .contact-box { padding: 40px 25px; }
    .social-float { bottom: 20px; right: 20px; }
    .example-2 .icon-content a { width: 45px; height: 45px; }
    .example-2 .icon-content a svg { width: 24px; height: 24px; }
    .about, .quality-policy, .certifications, .portfolio, .clients, .contact-section { padding: 40px 5%; }
    .client-card { width: calc(50% - 30px); }
}

/* Contenedor principal */
.premium-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 10px;
}

/* Grupo de input relativo para la animación del label */
.input-group {
    position: relative;
    width: 100%;
}

/* Estilo base de inputs y textarea */
.premium-form input,
.premium-form textarea {
    width: 100%;
    padding: 20px 20px 15px 20px;
    background-color: var(--input-bg);
    border: 2px solid transparent;
    border-radius: 14px;
    font-family: var(--font-main);
    font-size: 1.05rem;
    color: var(--text-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box;
    resize: vertical;
}


.dark-mode .premium-form input,
.dark-mode .premium-form textarea {
    border: 1px solid var(--input-border);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.2);
}

/* Efecto Focus (Glow naranja) */
.premium-form input:focus,
.premium-form textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    background-color: transparent;
    box-shadow: 0 0 0 4px rgba(255, 106, 61, 0.15);
}

/* --- ETIQUETAS FLOTANTES --- */
.input-group label {
    position: absolute;
    left: 20px;
    top: 20px;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 1.05rem;
    background: transparent;
}

/* La animación: Sube, se encoge, se pinta de naranja y corta el borde */
.premium-form input:focus ~ label,
.premium-form input:not(:placeholder-shown) ~ label,
.premium-form textarea:focus ~ label,
.premium-form textarea:not(:placeholder-shown) ~ label {
    transform: translateY(-32px) scale(0.85);
    left: 10px;
    color: var(--accent-orange);
    background-color: var(--bg-secondary);
    padding: 0 8px;
    border-radius: 5px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* --- BOTÓN ANIMADO --- */
.btn-premium {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff4b1f 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.15rem;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
    margin-top: 10px;
}

/* Gradiente hover invertido invisible */
.btn-premium::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff4b1f 0%, var(--accent-orange) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Icono del botón */
.btn-premium svg {
    width: 24px;
    height: 24px;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Animaciones al pasar el mouse */
.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 106, 61, 0.35);
}

.btn-premium:hover::before {
    opacity: 1;
}

/* El avioncito sale volando */
.btn-premium:hover svg {
    transform: translateX(6px) translateY(-6px) scale(1.1);
}

/* Efecto de clic */
.btn-premium:active {
    transform: translateY(1px);
    box-shadow: 0 5px 10px rgba(255, 106, 61, 0.2);
}