/* ==========================================================================
   DESIGN SYSTEM (BE YOURS BRAND BOOK SPECIFICATIONS)
   ========================================================================== */
:root {
    /* Brand Colors */
    --negro-carbon: #0d0d0d;
    --blanco-puro: #ffffff;
    --gris-titanio: #4d4d4d;
    
    /* Brand Accent Golds */
    --oro-metalico: #c9a646;
    --oro-metalico-rgb: 201, 166, 70;
    --gold-deep: #b58500;
    --gold-glow: rgba(201, 166, 70, 0.4);
    
    /* Alternative Accent Colors */
    --plata: #c0c0c0;
    --turquesa: #2ab7ca;        /* Secondary Technical Laser Accent */
    --turquesa-glow: rgba(42, 183, 202, 0.4);
    --magenta: #e63973;         /* Secondary Highlight Accent */
    --magenta-glow: rgba(230, 57, 115, 0.3);

    /* Backgrounds */
    --bg-main: var(--negro-carbon);
    --bg-secondary: #141414;
    --bg-card: rgba(20, 20, 20, 0.85);
    
    /* Typography */
    --font-title: 'Playfair Display', Georgia, serif;
    --font-subtitle: 'Montserrat', 'Helvetica Neue', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Transitions & Borders */
    --border-color: rgba(201, 166, 70, 0.12);
    --border-hover: rgba(201, 166, 70, 0.4);
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-lg: 12px;
    --border-radius-md: 6px;
    --header-height: 80px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg-main);
    color: var(--blanco-puro);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-title);
    color: var(--blanco-puro);
    font-weight: 700;
    line-height: 1.25;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--negro-carbon);
}
::-webkit-scrollbar-thumb {
    background: var(--oro-metalico);
    border-radius: 3px;
}

/* Section Containers */
.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-normal);
}

.header-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    filter: drop-shadow(0 0 4px var(--gold-glow));
    transition: var(--transition-normal);
}

.logo-wrapper:hover .logo-img {
    transform: scale(1.05) rotate(5deg);
    filter: drop-shadow(0 0 10px var(--oro-metalico));
}

.logo-text {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--oro-metalico);
    text-shadow: 0 0 10px rgba(201, 166, 70, 0.2);
}

/* Nav Menu */
.nav-menu ul {
    display: flex;
    gap: 36px;
}

.nav-menu a {
    font-family: var(--font-subtitle);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--plata);
    position: relative;
    padding: 8px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--oro-metalico);
    text-shadow: 0 0 8px rgba(201, 166, 70, 0.3);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--oro-metalico);
    box-shadow: 0 0 8px var(--gold-glow);
    transition: var(--transition-normal);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-nav-toggle .bar {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: var(--oro-metalico);
    margin: 5px 0;
    transition: var(--transition-normal);
}

/* ==========================================================================
   HERO SECTION (CARBON FIBER BACKGROUND & Spotlighting)
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    background-color: var(--negro-carbon);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(181, 133, 0, 0.04) 0%, var(--negro-carbon) 100%);
    z-index: 1;
}

.hero-bg-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('recursos/LogoLimpio.svg');
    background-size: 45% auto;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.025; /* Subtle watermark of the SVG logo */
    pointer-events: none;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 620px;
}

.badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 50px;
    background: rgba(201, 166, 70, 0.05);
    border: 1px solid rgba(201, 166, 70, 0.18);
    color: var(--oro-metalico);
    font-family: var(--font-subtitle);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(201, 166, 70, 0.05) inset;
}

.hero-content h1 {
    font-size: clamp(2.3rem, 4.5vw, 3.6rem);
    font-weight: 700;
    margin-bottom: 24px;
}

.gold-gradient-text {
    background: linear-gradient(135deg, var(--oro-metalico) 0%, #ecd06c 50%, var(--gold-deep) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 12px rgba(201, 166, 70, 0.1);
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--plata);
    margin-bottom: 40px;
    line-height: 1.7;
    font-family: var(--font-body);
}

/* Button UI */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    font-family: var(--font-subtitle);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    gap: 10px;
}

.btn-primary {
    background-color: var(--oro-metalico);
    color: var(--negro-carbon);
    border: 1px solid var(--oro-metalico);
    box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-primary:hover {
    background-color: var(--gold-deep);
    border-color: var(--gold-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(181, 133, 0, 0.5);
}

.btn-arrow {
    transition: transform var(--transition-normal);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--blanco-puro);
    border: 1px solid var(--gris-titanio);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.02);
    border-color: var(--oro-metalico);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Hero Visual Showcase */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1;
    background: radial-gradient(circle at center, #181818 0%, var(--negro-carbon) 80%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Simulated laser beam pointer */
.laser-emitter {
    position: absolute;
    top: 20px;
    left: calc(50% - 15px);
    width: 30px;
    height: 45px;
    z-index: 10;
}

.emitter-body {
    width: 100%;
    height: 35px;
    background: linear-gradient(90deg, #1c1c1c, #2a2a2a, #0f0f0f);
    border: 1px solid rgba(201, 166, 70, 0.2);
    border-radius: 3px;
}

.emitter-beam {
    position: absolute;
    top: 35px;
    left: 50%;
    width: 1.5px;
    height: calc(100vh - 100px);
    background: linear-gradient(to bottom, var(--turquesa), transparent);
    transform: translateX(-50%);
    z-index: 5;
    animation: beam-pulse 0.2s infinite alternate;
}

@keyframes beam-pulse {
    0% { opacity: 0.7; box-shadow: 0 0 6px var(--turquesa-glow); }
    100% { opacity: 1; box-shadow: 0 0 12px var(--turquesa); }
}

.cutting-canvas {
    width: 100%;
    height: 100%;
    padding: 30px;
}

.laser-draw-path {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: draw-logo-path 12s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.laser-spark {
    transform-box: fill-box;
    transform-origin: center;
    filter: drop-shadow(0 0 10px var(--turquesa)) drop-shadow(0 0 20px var(--turquesa-glow));
    animation: spark-hover 4s ease-in-out infinite alternate;
}

@keyframes draw-logo-path {
    0% {
        stroke-dashoffset: 2000;
        opacity: 0.1;
    }
    45% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0.35;
    }
}

@keyframes spark-hover {
    0% {
        transform: translate(0, 0) scale(0.8);
        filter: drop-shadow(0 0 6px var(--turquesa));
    }
    50% {
        transform: translate(30px, -20px) scale(1.3);
        filter: drop-shadow(0 0 15px var(--turquesa)) drop-shadow(0 0 25px var(--turquesa-glow));
    }
    100% {
        transform: translate(-20px, 30px) scale(0.9);
        filter: drop-shadow(0 0 8px var(--turquesa));
    }
}

/* ==========================================================================
   SERVICES SECTION (Grid structure)
   ========================================================================== */
.services-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px auto;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-subtitle);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--oro-metalico);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-description {
    color: var(--plata);
    font-size: 1rem;
    font-family: var(--font-body);
}

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

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px 32px;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card-border-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--oro-metalico), transparent);
    opacity: 0;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(201, 166, 70, 0.04);
}

.service-card:hover .card-border-gradient {
    opacity: 1;
}

.card-icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--oro-metalico);
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.service-card:hover .card-icon-box {
    background: rgba(201, 166, 70, 0.06);
    border-color: var(--oro-metalico);
    box-shadow: 0 0 12px var(--gold-glow);
}

.card-icon-box svg {
    width: 28px;
    height: 28px;
}

/* Customizing card icon accent glows */
.card-laser svg { color: var(--turquesa); }
.card-engrave svg { color: var(--oro-metalico); }
.card-print3d svg { color: var(--magenta); }
.card-embroidery svg { color: var(--oro-metalico); }
.card-sublimation svg { color: var(--turquesa); }

.service-card:hover .card-laser { box-shadow: 0 0 12px var(--turquesa-glow); border-color: var(--turquesa); }
.service-card:hover .card-print3d { box-shadow: 0 0 12px var(--magenta-glow); border-color: var(--magenta); }
.service-card:hover .card-embroidery { box-shadow: 0 0 12px var(--gold-glow); border-color: var(--oro-metalico); }
.service-card:hover .card-sublimation { box-shadow: 0 0 12px var(--turquesa-glow); border-color: var(--turquesa); }

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--plata);
    font-size: 0.9rem;
    margin-bottom: 24px;
    flex-grow: 1;
    font-family: var(--font-body);
}

.service-specs {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.service-specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--blanco-puro);
    margin-bottom: 10px;
}

.service-specs li:last-child {
    margin-bottom: 0;
}

.service-specs .bullet {
    width: 5px;
    height: 5px;
    background-color: var(--oro-metalico);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--oro-metalico);
}

.service-card:hover .service-specs .bullet {
    background-color: var(--blanco-puro);
    box-shadow: 0 0 8px var(--blanco-puro);
}

/* ==========================================================================
   GALLERY SECTION (BRAND APPLICATIONS SHOWCASE)
   ========================================================================== */
.gallery-section {
    background-color: var(--bg-main);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    aspect-ratio: 1.15;
    overflow: hidden;
    background: var(--bg-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-slow);
    cursor: pointer;
}

.item-preview {
    font-size: 3.5rem;
    transition: var(--transition-normal);
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.2));
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(13, 13, 13, 0.95) 0%, rgba(13, 13, 13, 0.5) 100%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-normal);
    z-index: 5;
}

.item-overlay h4 {
    font-family: var(--font-subtitle);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--oro-metalico);
    margin-bottom: 6px;
}

.item-overlay p {
    font-size: 0.8rem;
    color: var(--plata);
    font-family: var(--font-body);
}

.gallery-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.gallery-item:hover .item-preview {
    transform: scale(1.15);
}

.gallery-item:hover .item-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Showcase thematic background accents */
.cup-preview { color: var(--oro-metalico); }
.book-preview { color: var(--plata); }
.pen-preview { color: var(--turquesa); }
.shirt-preview { color: var(--magenta); }

/* ==========================================================================
   CONTACT SECTION (FORM AND DETAILS)
   ========================================================================== */
.contact-section {
    background-color: var(--bg-secondary);
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.contact-info {
    padding: 56px;
    background: radial-gradient(circle at 0% 0%, rgba(201, 166, 70, 0.05) 0%, transparent 60%);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--plata);
    font-size: 0.95rem;
    margin-bottom: 36px;
    font-family: var(--font-body);
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.channel-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.channel-icon {
    width: 44px;
    height: 44px;
    background: rgba(201, 166, 70, 0.04);
    border: 1px solid rgba(201, 166, 70, 0.1);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--oro-metalico);
}

.channel-item h5 {
    font-family: var(--font-subtitle);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--oro-metalico);
}

.channel-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--blanco-puro);
}

.channel-item a:hover {
    color: var(--oro-metalico);
}

/* Form inputs */
.contact-form-box {
    padding: 56px;
}

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

.form-group label {
    font-family: var(--font-subtitle);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--plata);
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 12px 16px;
    color: var(--blanco-puro);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--oro-metalico);
    box-shadow: 0 0 10px rgba(201, 166, 70, 0.15);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23c9a646' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 60px 24px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
}

.footer-brand .logo-wrapper {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--plata);
    font-size: 0.85rem;
    max-width: 320px;
    font-family: var(--font-body);
}

.footer-links h4,
.footer-meta h4 {
    font-family: var(--font-subtitle);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--oro-metalico);
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--plata);
    font-size: 0.85rem;
    font-family: var(--font-body);
}

.footer-links a:hover {
    color: var(--oro-metalico);
    padding-left: 4px;
}

.footer-meta p {
    color: var(--plata);
    font-size: 0.85rem;
    font-family: var(--font-body);
    margin-bottom: 16px;
}

.badge-tijuana {
    display: inline-block;
    font-family: var(--font-subtitle);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--oro-metalico);
    background: rgba(201, 166, 70, 0.05);
    border: 1px solid rgba(201, 166, 70, 0.15);
    padding: 4px 12px;
    border-radius: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 30px 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--gris-titanio);
    font-size: 0.8rem;
    font-family: var(--font-body);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (Gold / Green Pulsing Theme)
   ========================================================================== */
.whatsapp-float-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background-color: #25d366;
    color: var(--blanco-puro);
    padding: 12px 22px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    font-family: var(--font-subtitle);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-normal);
    border: 1px solid rgba(201, 166, 70, 0.25);
    animation: wa-pulse 2.2s infinite;
}

.wa-icon {
    width: 20px;
    height: 20px;
}

.whatsapp-float-btn:hover {
    background-color: #1ebe57;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
    border-color: var(--oro-metalico);
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3), 0 0 0 0px rgba(201, 166, 70, 0.3);
    }
    70% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3), 0 0 0 10px rgba(201, 166, 70, 0);
    }
    100% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3), 0 0 0 0px rgba(201, 166, 70, 0);
    }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE GRID & DESIGN)
   ========================================================================== */

/* Tablet & Smaller Screens */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .visual-wrapper {
        max-width: 300px;
    }
    
    .contact-card {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 40px;
    }
    
    .contact-form-box {
        padding: 40px;
    }
}

/* Mobile Screens */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    /* Hamburger Menu active toggling */
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
        padding: 30px;
        display: none;
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7);
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    .nav-menu a {
        font-size: 1rem;
        display: block;
        width: 100%;
        text-align: center;
    }
    
    /* Hamburger toggle cross effect */
    .mobile-nav-toggle.active .bar:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }
    
    .mobile-nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }
    
    .section-container {
        padding: 60px 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .service-card {
        padding: 32px 24px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* WhatsApp Floating Button mobile layout */
    .whatsapp-float-btn {
        bottom: 24px;
        right: 24px;
        padding: 10px 16px;
    }
    
    .wa-label {
        display: none; /* Icon only on mobile */
    }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   PRODUCT SVGS (CATALOGUE SHOWCASE)
   ========================================================================== */
.product-svg {
    width: 72px;
    height: 72px;
    color: var(--plata);
    transition: var(--transition-normal);
}

.gallery-item:hover .product-svg {
    transform: scale(1.12) rotate(3deg);
    color: var(--oro-metalico);
}

.cup-preview .product-svg { color: var(--oro-metalico); }
.book-preview .product-svg { color: var(--plata); }
.pen-preview .product-svg { color: var(--turquesa); }
.shirt-preview .product-svg { color: var(--magenta); }

/* ==========================================================================
   FORM SUCCESS MODAL
   ========================================================================== */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.success-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: #141414;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(201, 166, 70, 0.05);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-modal.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(201, 166, 70, 0.1);
    border: 2px solid var(--oro-metalico);
    color: var(--oro-metalico);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 24px auto;
    box-shadow: 0 0 15px var(--gold-glow);
}

.modal-content h4 {
    font-family: var(--font-subtitle);
    font-size: 1.4rem;
    color: var(--blanco-puro);
    margin-bottom: 12px;
}

.modal-content p {
    color: var(--plata);
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* ==========================================================================
   SHOWCASE SECTION (PHYSICAL SAMPLES GALLERY)
   ========================================================================== */
.showcase-section {
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.showcase-card {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-slow);
    aspect-ratio: 4/3;
}

.showcase-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(201, 166, 70, 0.05);
}

.showcase-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    display: block;
}

.showcase-card:hover .showcase-img {
    transform: scale(1.08);
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(13, 13, 13, 0.95) 0%, rgba(13, 13, 13, 0.4) 60%, transparent 100%);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0.85;
    transition: var(--transition-normal);
}

@media (min-width: 992px) {
    .showcase-overlay {
        opacity: 0;
        transform: translateY(0);
        background: linear-gradient(to top, rgba(13, 13, 13, 0.95) 0%, rgba(13, 13, 13, 0.5) 70%, transparent 100%);
    }
    
    .showcase-card:hover .showcase-overlay {
        opacity: 1;
    }
}

.showcase-category {
    font-family: var(--font-subtitle);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--oro-metalico);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.showcase-overlay h3 {
    font-size: 1.3rem;
    color: var(--blanco-puro);
    margin-bottom: 8px;
    font-family: var(--font-title);
}

.showcase-overlay p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--plata);
    margin-bottom: 16px;
    line-height: 1.4;
}

.showcase-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-subtitle);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--oro-metalico);
    margin-top: 4px;
}

.showcase-action svg {
    transition: transform var(--transition-normal);
}

.showcase-card:hover .showcase-action svg {
    transform: translateX(3px);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal) ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: transform var(--transition-normal) cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-image-container {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-info {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--border-color);
    background: radial-gradient(circle at 100% 100%, rgba(201, 166, 70, 0.03) 0%, transparent 60%);
}

.lightbox-category {
    font-family: var(--font-subtitle);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--oro-metalico);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
}

.lightbox-info h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--blanco-puro);
}

.lightbox-info p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--plata);
    line-height: 1.6;
}

/* Lightbox Controls */
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--blanco-puro);
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    z-index: 10;
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(201, 166, 70, 0.1);
    border-color: var(--oro-metalico);
    color: var(--oro-metalico);
}

.lightbox-close {
    top: 24px;
    right: 24px;
    font-size: 2rem;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-prev {
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .lightbox-content {
        grid-template-columns: 1fr;
        max-height: 85vh;
        overflow-y: auto;
    }
    
    .lightbox-info {
        padding: 24px;
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
    
    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }
    
    .lightbox-prev {
        left: 12px;
    }
    
    .lightbox-next {
        right: 12px;
    }
}

/* Clickable Service Cards (Impresión 3D & Grabado) */
.clickable-service-card {
    cursor: pointer;
}

.clickable-service-card.card-print3d-clickable:hover {
    border-color: var(--magenta) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px var(--magenta-glow) !important;
}

.clickable-service-card.card-engrave-clickable:hover {
    border-color: var(--oro-metalico) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px var(--gold-glow) !important;
}

.clickable-service-card.card-laser-clickable:hover {
    border-color: var(--turquesa) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px var(--turquesa-glow) !important;
}

.clickable-service-card.card-embroidery-clickable:hover {
    border-color: var(--oro-metalico) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px var(--gold-glow) !important;
}

.clickable-service-card.card-sublimation-clickable:hover {
    border-color: var(--turquesa) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px var(--turquesa-glow) !important;
}

.clickable-service-card:hover .service-action-link svg {
    transform: translateX(4px);
}

.clickable-service-card .service-action-link svg {
    transition: transform var(--transition-normal);
}

/* ==========================================================================
   MARKETING OPTIMIZATION SECTIONS (CRO & USER TRUST)
   ========================================================================== */

/* Trust & Testimonials Section */
.trust-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    border-top: 1px solid var(--border-color);
}

.testimonials-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.testimonials-marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollMarquee 45s linear infinite;
}

.testimonials-marquee-container:hover .testimonials-marquee-track {
    animation-play-state: paused;
}

.testimonials-marquee-track .testimonial-card {
    width: 320px;
    flex-shrink: 0;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-350px * 6));
    }
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 35px;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--oro-metalico);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 20px var(--gold-glow);
}

.test-stars {
    color: var(--oro-metalico);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.test-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    margin-bottom: 25px;
    font-style: italic;
}

.test-author h5 {
    font-family: var(--font-subtitle);
    font-size: 0.95rem;
    color: var(--blanco-puro);
    margin: 0;
}

.test-author p {
    font-size: 0.8rem;
    color: var(--oro-metalico);
    margin: 3px 0 0 0;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    position: relative;
    margin-top: 40px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 35px 30px;
    position: relative;
    transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.step-card:hover {
    border-color: var(--oro-metalico);
    transform: translateY(-3px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--oro-metalico), var(--gold-deep));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-subtitle);
    font-weight: 700;
    color: var(--negro-carbon);
    font-size: 1.1rem;
    box-shadow: 0 0 15px var(--gold-glow);
}

.step-card h4 {
    margin-top: 10px;
    font-family: var(--font-subtitle);
    font-size: 1.1rem;
    color: var(--blanco-puro);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* File Drop Zone in Contact Form */
.file-drop-zone {
    border: 2px dashed rgba(201, 166, 70, 0.25);
    border-radius: var(--border-radius-md);
    background: rgba(255,255,255,0.01);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background var(--transition-normal), border-color var(--transition-normal);
    margin-top: 8px;
}

.file-drop-zone.dragover, .file-drop-zone:hover {
    background: rgba(201, 166, 70, 0.04);
    border-color: var(--oro-metalico);
}

.file-drop-zone svg {
    color: var(--oro-metalico);
    opacity: 0.8;
    transition: transform var(--transition-normal);
}

.file-drop-zone:hover svg {
    transform: translateY(-3px);
}

.drop-text {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
}

.btn-file-select {
    background: transparent;
    border: 1px solid var(--oro-metalico);
    color: var(--oro-metalico);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: var(--font-subtitle);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background var(--transition-normal), color var(--transition-normal);
}

.btn-file-select:hover {
    background: var(--oro-metalico);
    color: var(--negro-carbon);
}

.file-name-preview {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    word-break: break-all;
}

/* FAQs Accordion Section */
.faqs-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.faqs-accordion {
    max-width: 800px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: border-color var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(201, 166, 70, 0.3);
}

.faq-question {
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h4 {
    margin: 0;
    font-family: var(--font-subtitle);
    font-size: 0.98rem;
    color: var(--blanco-puro);
    font-weight: 600;
}

.faq-icon {
    font-size: 1.4rem;
    color: var(--oro-metalico);
    transition: transform var(--transition-normal);
    line-height: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), padding 0.35s ease;
    padding: 0 30px;
}

.faq-answer p {
    margin: 0;
    padding-bottom: 22px;
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.65);
}

.faq-item.active {
    border-color: var(--oro-metalico);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* covers the answer height safely */
}

/* Lightbox WhatsApp CTA */
.lightbox-cta {
    text-transform: uppercase;
    font-family: var(--font-subtitle);
    font-weight: 600;
    font-size: 0.72rem !important;
    letter-spacing: 1px;
    border-radius: 4px;
    padding: 10px 18px !important;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal) !important;
}

.lightbox-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}


