/* === RESET BÁSICO === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lobster', cursive;
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    background-color: #111;
    color: #f5f5f5;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent 0,
            transparent 300px,
            rgba(255, 215, 0, 0.015) 300px,
            rgba(255, 215, 0, 0.015) 600px
        );
    background-size: 600px 600px;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent 0,
            transparent 250px,
            rgba(255, 215, 0, 0.02) 250px,
            rgba(255, 215, 0, 0.02) 500px
        ),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500'%3E%3Ctext x='50%25' y='50%25' font-family='Lobster' font-size='150' fill='%23ffd700' fill-opacity='0.04' text-anchor='middle' dominant-baseline='middle' transform='rotate(-45 250 250)'%3ESHINE%3C/text%3E%3C/svg%3E");
    background-size: 500px 500px;
    pointer-events: none;
    z-index: 0;
    animation: shinePattern 30s linear infinite;
}

@keyframes shinePattern {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(500px, 500px);
    }
}

body > * {
    position: relative;
    z-index: 1;
}

main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* === ENCABEZADO === */
header.encabezado {
    background-color: #000;
    padding: 0;
    border-bottom: 2px solid #ffd700;
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    min-height: 480px;
    max-height: 900px;
}

@keyframes zoomIn {
    0% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.logo {
    animation: zoomIn 2s ease-out;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: clamp(120px, 25vw, 300px);
    width: clamp(120px, 25vw, 300px);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 25px #ffd700;
    transform-origin: center center;
}

.fondoHead {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.fondo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) blur(2px);
    animation: fadeInBackground 2s ease-in-out;
}

@keyframes fadeInBackground {
    0% {
        opacity: 0;
        filter: brightness(0) blur(2px);
    }
    100% {
        opacity: 1;
        filter: brightness(0.4) blur(2px);
    }
}

nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    width: 100%;
    padding: 0 1rem;
}

nav h1 {
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    color: #ffd700;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1rem, 5vw, 20rem);
    list-style: none;
    margin: 0 auto;
    padding: 0;
}

nav a {
    font-family: 'Lobster', cursive;
    font-size: clamp(1.1rem, 2.5vw, 1.8rem);
    color: #ffd700;
    font-weight: 400;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px #a12828;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    transform: scale(1.1);
}

nav a:hover {
    color: #fff;
    text-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700, 0 0 30px #ffea00;
}

/* === HERO SECTION === */
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
    text-align: center;
}

.hero {
    font-family: 'Lobster', cursive;
    font-size: clamp(2rem, 5vw, 4rem);
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #111 50%, #1a1a1a 100%);
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.hero h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    color: #ffd700;
    margin-bottom: 2px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
    text-shadow: 0 4px 12px rgba(255, 215, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.2);
    letter-spacing: 2px;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.btn {
    background: linear-gradient(135deg, #ffd700 0%, #af9a25 100%);
    color: #111;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    display: inline-block;
    text-align: center;
    font-size: clamp(1.2rem, 3vw, 2.5rem);
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.btn:hover {
    background: linear-gradient(135deg, #ffe018 0%, #ffd700 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.3);
}

/* === BENEFICIOS === */
.beneficios {
    font-family: 'Lobster';
    color: #f5f5f5;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    padding: 3rem 0;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 215, 0, 0.02) 50%, transparent 100%);
}

.beneficios h3 {
    font-size: clamp(1.5rem, 2.5vw, 1.8rem);
    margin-bottom: 1.5rem;
    color: #ffd700;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.1);
    letter-spacing: 1px;
}

.beneficios ul {
    list-style: none;
    padding-left: 0;
}

.beneficios li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    transition: transform 0.2s ease, color 0.2s ease;
    display: inline-block;
    padding: 0.3rem 0;
}

.beneficios li:hover {
    transform: translateX(5px);
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.beneficios-intro {
    max-width: 1000px;
    margin: 0 auto 1.2rem;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: #f5f5f5;
    text-align: center;
}

.beneficios-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(250px, 1fr));
    gap: 1rem;
}

.beneficio-card {
    padding: 1rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.8) 0%, rgba(17, 17, 17, 0.9) 100%);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.beneficio-card h4 {
    color: #ffd700;
    font-size: clamp(1.1rem, 1.7vw, 1.35rem);
    margin-bottom: 0.4rem;
    text-align: center;
}

.beneficio-card p {
    margin: 0;
    color: #f5f5f5;
    font-size: clamp(0.95rem, 1.3vw, 1.05rem);
    text-align: center;
}

.texto-destacado {
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.25);
}

.beneficios-colaborador {
    max-width: 1200px;
    margin: 1.5rem auto 0;
    padding: 1.4rem 1.2rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(30, 26, 12, 0.85) 0%, rgba(17, 17, 17, 0.95) 55%, rgba(30, 26, 12, 0.85) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 24px rgba(255, 215, 0, 0.04);
    color: #f5f5f5;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    letter-spacing: 0.5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.beneficios-colaborador p {
    margin: 0;
    text-align: center;
    line-height: 1.5;
}

.beneficios-colaborador .texto-destacado {
    display: inline-block;
    font-size: clamp(1.2rem, 2.2vw, 1.65rem);
    letter-spacing: 0.8px;
    text-shadow:
        0 0 14px rgba(255, 215, 0, 0.55),
        0 0 28px rgba(255, 215, 0, 0.25),
        0 2px 6px rgba(0, 0, 0, 0.6);
    animation: text-glow-pulse 3s ease-in-out infinite;
}

.partner-showcase {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(320px, 760px);
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.partner-logo-wrap {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.45);
    background:
        radial-gradient(ellipse 95% 85% at 50% 50%, rgba(255, 242, 190, 0.55) 0%, rgba(255, 220, 120, 0.3) 45%, rgba(255, 200, 80, 0.18) 100%),
        linear-gradient(135deg, #7a6b3a 0%, #9a8848 35%, #8f7d42 65%, #7a6b3a 100%);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), inset 0 0 32px rgba(255, 215, 0, 0.2);
    padding: 1rem 1.2rem;
    animation: showcase-pulse 3.5s ease-in-out infinite;
}

.logo-colaborador {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    border-radius: 10px;
    border: 0;
    background: radial-gradient(ellipse at center, rgba(255, 250, 225, 0.45) 0%, rgba(255, 235, 190, 0.2) 60%, transparent 100%);
    padding: 0.8rem 1rem;
    box-shadow: none;
}

.cta-final {
    max-width: 1000px;
    margin: 1rem auto 3rem;
    padding: 1.6rem 1rem 2rem;
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(17, 17, 17, 0.95) 100%);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.cta-final h3 {
    color: #ffd700;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    margin-bottom: 0.5rem;
}

.cta-final p {
    color: #f5f5f5;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    margin-bottom: 1rem;
}

.nano-detalles {
    max-width: 1000px;
    margin: -1.2rem auto 2rem;
    display: grid;
    grid-template-columns: minmax(280px, 1fr);
    gap: 1rem;
}

.nano-card {
    padding: 1.2rem 1.2rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.8) 0%, rgba(17, 17, 17, 0.92) 100%);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 215, 0, 0.06);
    text-align: center;
}

.nano-card h3 {
    margin: 0 0 0.45rem;
    color: #ffd700;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    text-align: center;
}

.nano-card p {
    margin: 0 0 0.55rem;
    color: #f5f5f5;
    font-size: clamp(1.15rem, 1.6vw, 1.45rem);
    line-height: 1.65;
    text-align: center;
}

.nano-card p:last-child {
    margin-bottom: 0;
}

.nano-producto-showcase {
    margin: 1.2rem auto 0;
    width: min(100%, 380px);
    padding: 0.9rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 215, 0, 0.35);
    background:
        radial-gradient(ellipse 90% 80% at 50% 30%, rgba(255, 215, 0, 0.18) 0%, rgba(20, 18, 10, 0.95) 60%),
        linear-gradient(160deg, rgba(35, 30, 15, 0.95) 0%, rgba(12, 12, 12, 0.98) 100%);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.45);
    animation: showcase-pulse 3.5s ease-in-out infinite;
}

.nano-producto-img {
    width: 100%;
    display: block;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.25);
    background: radial-gradient(ellipse at center, rgba(255, 248, 220, 0.12) 0%, rgba(10, 10, 10, 0.9) 70%);
    padding: 0.4rem;
}

.nano-producto-showcase figcaption {
    margin-top: 0.75rem;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: #ffd700;
    text-align: center;
    letter-spacing: 0.6px;
    text-shadow:
        0 0 12px rgba(255, 215, 0, 0.5),
        0 0 24px rgba(255, 215, 0, 0.2);
    animation: text-glow-pulse 3s ease-in-out infinite;
}

/* === TABLAS DE SERVICIOS === */
.servicios {
    padding: 2rem 0;
    margin: 0 auto;
    max-width: 100%;
    text-align: center;
}

.servicios h2,
.servicios h3 {
    color: #ffd700;
    margin: 2rem 0 1.5rem;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    text-align: center;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.1);
    letter-spacing: 1px;
}

#tratamiento-ceramico h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    text-shadow:
        0 0 16px rgba(255, 215, 0, 0.45),
        0 2px 10px rgba(255, 215, 0, 0.3);
    animation: text-glow-pulse 3s ease-in-out infinite;
}

table {
    margin: 0 auto 3rem;
    width: 100%;
    max-width: 1000px;
    border-collapse: collapse;
    display: table;
    table-layout: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background-color: #1a1a1a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

table:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.15);
}

table caption {
    caption-side: top;
    margin: 0 auto 1rem;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: #ffd700;
    font-weight: normal;
    text-align: center;
    padding: 0.5rem 0;
    display: table-caption;
    width: 100%;
    box-sizing: border-box;
}

caption.table-caption,
section.servicios caption.table-caption,
section#servicios caption.table-caption,
.servicios caption.table-caption,
.servicios .table-caption,
.table-caption {
    text-align: center !important;
    margin: 0 auto 1.5rem auto !important;
    width: 100%;
    max-width: 1000px;
    display: block;
    padding: 0.5rem 0;
    font-size: clamp(1.2rem, 2vw, 1.5rem) !important;
    color: #ffd700 !important;
    font-weight: normal !important;
    font-family: 'Lobster', cursive !important;
}

table tbody tr:nth-child(even) {
    background-color: #222;
}

table tbody tr:nth-child(even) td {
    background-color: #222;
}

table tbody tr:hover {
    background-color: #2a2a2a;
    cursor: pointer;
    box-shadow: inset 0 0 10px rgba(255, 215, 0, 0.1);
}

table tbody tr:hover td {
    background-color: #2a2a2a;
}

.fila-exterior td {
    border-bottom: none;
    padding-bottom: 0.25rem;
}

.fila-exterior-ceramic td {
    padding: 0.3rem 0.75rem 0.65rem;
    font-size: clamp(0.78rem, 1.1vw, 0.92rem);
    color: #e8d48a;
    background: linear-gradient(
        90deg,
        rgba(255, 215, 0, 0.16) 0%,
        rgba(255, 200, 80, 0.1) 45%,
        rgba(255, 215, 0, 0.14) 100%
    );
    border-color: rgba(255, 215, 0, 0.22);
    animation: ceramic-row-glow 2.8s ease-in-out infinite;
}

.fila-exterior-ceramic td:first-child {
    padding-top: 0.2rem;
    padding-left: 0.75rem;
}

.fila-exterior-ceramic:hover td {
    background: linear-gradient(
        90deg,
        rgba(255, 215, 0, 0.22) 0%,
        rgba(255, 200, 80, 0.14) 45%,
        rgba(255, 215, 0, 0.2) 100%
    );
}

.fila-exterior-ceramic td:not(:first-child) {
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.18);
}

.franja-ceramica {
    display: inline-block;
    padding: 0.1rem 0;
    font-size: clamp(0.68rem, 0.95vw, 0.8rem);
    color: #fff3b0;
    letter-spacing: 0.3px;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.2);
}

@keyframes ceramic-row-glow {
    0%,
    100% {
        filter: brightness(1);
        box-shadow:
            inset 0 0 6px rgba(255, 215, 0, 0.1),
            0 0 4px rgba(255, 215, 0, 0.08);
    }

    50% {
        filter: brightness(1.1);
        box-shadow:
            inset 0 0 14px rgba(255, 215, 0, 0.28),
            0 0 14px rgba(255, 215, 0, 0.22);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fila-exterior-ceramic td {
        animation: none;
    }
}

th,
td {
    border: 1px solid #444;
    padding: 1rem;
    text-align: center;
    vertical-align: middle;
    font-family: 'Lobster', cursive;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
}

th {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    color: #ffd700;
    font-weight: normal;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    position: relative;
    vertical-align: middle;
}

th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    opacity: 0.5;
}

td {
    background-color: #1a1a1a;
    color: #f5f5f5;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

td:hover {
    background-color: #252525;
    transform: scale(1.02);
}

.guia-tallas {
    max-width: 1000px;
    margin: -1.5rem auto 2.5rem;
    padding: 1rem;
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.75) 0%, rgba(26, 26, 26, 0.85) 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.guia-tallas-titulo {
    color: #ffd700;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.25);
}

.guia-tallas-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 0.7rem;
}

.guia-tallas-grid p {
    margin: 0;
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    background-color: rgba(17, 17, 17, 0.75);
    color: #f5f5f5;
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
}

.guia-tallas-grid strong {
    color: #ffd700;
    margin-right: 0.2rem;
}

/* === FOOTER === */
footer {
    background: linear-gradient(180deg, #000 0%, #111 100%);
    text-align: center;
    padding: 2rem 1rem;
    border-top: 2px solid #ffd700;
    font-size: 0.9rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    opacity: 0.5;
}

footer p {
    color: #f5f5f5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    nav ul {
        gap: 5rem;
    }
}

@media (max-width: 768px) {
    header.encabezado {
        height: 70vh;
        min-height: 380px;
    }

    .logo {
        height: clamp(90px, 22vw, 180px);
        width: clamp(90px, 22vw, 180px);
        top: 35%;
    }

    nav {
        bottom: 1.5rem;
    }

    main {
        padding: 0 1rem;
    }

    .know-how-section {
        padding: 2rem 1rem;
    }

    .service-explanation {
        padding: 1.25rem;
        margin-bottom: 2.5rem;
    }

    .image-carousel {
        max-width: 100%;
    }

    .carousel-container {
        max-height: 420px;
        aspect-ratio: 3 / 4;
    }

    .carousel-nav {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

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

    .beneficios-grid {
        grid-template-columns: 1fr;
    }

    .partner-showcase {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .nano-detalles {
        margin-top: -0.6rem;
        grid-template-columns: 1fr;
    }

    .logo-colaborador {
        max-height: 180px;
    }

    .btn {
        width: 100%;
    }

    table {
        width: 100%;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    caption.table-caption,
    .servicios caption.table-caption,
    .servicios .table-caption,
    .table-caption {
        text-align: center !important;
        margin: 0 auto 1rem auto !important;
        display: block;
        width: 100%;
        color: #ffd700 !important;
        font-size: clamp(1.2rem, 2vw, 1.5rem) !important;
        font-family: 'Lobster', cursive !important;
    }

    table thead,
    table tbody,
    table tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

    th,
    td {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .guia-tallas {
        margin-top: -1rem;
        padding: 0.9rem;
    }

    .guia-tallas-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 1rem;
    }

    nav a {
        font-size: 1.5rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .btn {
        font-size: 1.2rem;
        padding: 0.6rem 1rem;
    }

    .beneficios {
        font-size: 2rem;
    }
}

/* === ANIMACIONES === */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes showcase-pulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 12px 28px rgba(0, 0, 0, 0.45),
            inset 0 0 32px rgba(255, 215, 0, 0.2),
            0 0 16px rgba(255, 215, 0, 0.12);
    }

    50% {
        transform: scale(1.018);
        box-shadow:
            0 16px 34px rgba(0, 0, 0, 0.5),
            inset 0 0 40px rgba(255, 215, 0, 0.28),
            0 0 30px rgba(255, 215, 0, 0.32);
    }
}

@keyframes text-glow-pulse {
    0%,
    100% {
        text-shadow:
            0 0 12px rgba(255, 215, 0, 0.45),
            0 0 24px rgba(255, 215, 0, 0.18),
            0 2px 6px rgba(0, 0, 0, 0.5);
    }

    50% {
        text-shadow:
            0 0 18px rgba(255, 215, 0, 0.7),
            0 0 36px rgba(255, 215, 0, 0.35),
            0 2px 8px rgba(0, 0, 0, 0.5);
    }
}

@media (prefers-reduced-motion: reduce) {
    .partner-logo-wrap,
    .nano-producto-showcase,
    .beneficios-colaborador .texto-destacado,
    .nano-producto-showcase figcaption,
    #tratamiento-ceramico h2 {
        animation: none;
    }
}

/* === FORMULARIO DE CONTACTO === */
.contacto {
    padding: 4rem 0;
    background-color: #111;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.contacto h2 {
    color: #ffd700;
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.1);
    letter-spacing: 1px;
    font-family: 'Lobster', cursive;
}

.contacto p {
    font-family: 'Lobster', cursive;
    color: #f5f5f5;
}

form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(17, 17, 17, 0.8) 100%);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

label {
    font-weight: normal;
    color: #ffd700;
    font-family: 'Lobster', cursive;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    text-align: left;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

input,
textarea {
    padding: 1rem;
    border: 1px solid #444;
    border-radius: 8px;
    background-color: #1a1a1a;
    color: #f5f5f5;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    font-family: 'Lobster', cursive;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #ffd700;
    background-color: #222;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

input::placeholder,
textarea::placeholder {
    color: #888;
    font-family: 'Lobster', cursive;
}

button[type="submit"] {
    align-self: center;
    padding: 1rem 2.5rem;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-family: 'Lobster', cursive;
    margin-top: 1rem;
}

/* === KNOW HOW === */
.know-how-section {
    padding: 4rem 0;
    margin: 0 auto;
    max-width: 1400px;
    padding-left: 2rem;
    padding-right: 2rem;
}

.know-how-title {
    text-align: center;
    color: #ffd700;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 2rem 0;
}

.know-how-intro {
    text-align: center;
    color: #f5f5f5;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.service-explanation {
    margin-bottom: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(17, 17, 17, 0.8) 100%);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.service-explanation h2 {
    color: #ffd700;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.service-explanation p {
    color: #f5f5f5;
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: center;
}

.image-carousel {
    width: 100%;
    max-width: 720px;
    margin: 1.5rem auto 0;
}

.carousel-viewport {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    background-color: #0d0d0d;
}

.carousel-container {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s ease;
    width: 100%;
    max-height: 560px;
    aspect-ratio: 3 / 4;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0d0d0d;
}

.carousel-slide img,
.carousel-slide video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.carousel-counter {
    text-align: center;
    color: #ffd700;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 215, 0, 0.85);
    color: #111;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.carousel-nav:hover {
    background: #ffd700;
    transform: translateY(-50%) scale(1.08);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0.75rem 0 0;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.4);
    border: 2px solid #ffd700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: #ffd700;
    transform: scale(1.2);
}

