/* tokens */
:root {
    --gold:         hsl(42, 95%, 55%);
    --gold-deep:    hsl(38, 90%, 45%);
    --gold-light:   hsl(45, 100%, 75%);
    --green:        hsl(140, 50%, 30%);
    --earth:        hsl(20, 40%, 25%);
    --dark:         hsl(220, 20%, 7%);
    --dark-mid:     hsl(220, 18%, 11%);
    --dark-soft:    hsl(220, 15%, 17%);
    --dark-card:    hsl(220, 18%, 13%);
    --gray-cool:    hsl(220, 10%, 55%);
    --gray-light:   hsl(220, 18%, 13%);
    --white:        #ffffff;
    --font-sans:    'Outfit', system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --space-xs:  0.5rem;
    --space-sm:  1rem;
    --space-md:  2rem;
    --space-lg:  4rem;
    --space-xl:  6rem;
    --container-width: 1280px;
    --nav-height:      80px;
    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --radius-pill: 9999px;
    --shadow-sm:   0 2px 10px rgba(0,0,0,.06);
    --shadow-md:   0 8px 30px rgba(0,0,0,.12);
    --shadow-lg:   0 20px 60px rgba(0,0,0,.18);
    --shadow-gold: 0 8px 30px rgba(249,168,37,.25);
    --ease:     cubic-bezier(.165,.84,.44,1);
    --ease-out: cubic-bezier(.22,1,.36,1);
    --dur:      .4s;
    --dur-fast: .2s;
}

/* reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-sans);
    color: hsl(220, 15%, 85%);
    background: var(--dark);
    overflow-x: hidden;
    line-height: 1.65;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
em { font-style: normal; color: var(--gold-deep); }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* tipografía de sección */
.section-subtitle {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-deep);
    background: hsl(42,90%,55%,.12);
    padding: .35rem .9rem;
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-sm);
    border: 1px solid hsl(42,90%,55%,.25);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--space-sm);
    color: var(--white);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-cool);
    max-width: 650px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-md);
}

.section-header .section-desc { margin: 0 auto; }
.section-title.light { color: var(--white); }
.section-desc.light  { color: rgba(255,255,255,.75); }

/* botones */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .9rem 2rem;
    font-family: var(--font-sans);
    font-size: .95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--dur) var(--ease);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: var(--dark);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(249,168,37,.4);
    filter: brightness(1.05);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,.45);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: rgba(255,255,255,.1);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* navbar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    background: rgba(10, 12, 16, .75);
    backdrop-filter: blur(16px);
}

#navbar.scrolled {
    background: rgba(10, 12, 16, .97);
    backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 1px 0 rgba(255,255,255,.05), var(--shadow-md);
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: .9rem;
}

.logo-dot { color: var(--gold); }

.nav-links {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.nav-link {
    padding: .5rem .9rem;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 500;
    color: rgba(255,255,255,.75);
    transition: color var(--dur-fast), background var(--dur-fast);
}

.nav-link:hover {
    color: var(--gold);
    background: rgba(249,168,37,.08);
}

.nav-link.active {
    color: var(--gold);
    font-weight: 600;
}

.nav-link.nav-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: var(--dark) !important;
    font-weight: 700;
    padding: .55rem 1.2rem;
    margin-left: .5rem;
    text-shadow: none;
}

.nav-link.nav-cta:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.menu-toggle {
    display: none;
    width: 36px;
    height: 36px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,.08);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--dur-fast) var(--ease);
}

.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* hero */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: hero-zoom 20s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
    from { transform: scale(1); }
    to   { transform: scale(1.06); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(8,10,14,.88) 0%,
        rgba(8,10,14,.7) 50%,
        rgba(8,10,14,.35) 100%
    );
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: calc(var(--nav-height) + 2rem) 0 4rem;
    max-width: 780px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    padding: .45rem 1rem;
    border-radius: var(--radius-pill);
    color: rgba(255,255,255,.85);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-badge i { color: var(--gold); }

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--white);
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.hero h1 em {
    display: block;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    font-family: var(--font-display);
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,.8);
    max-width: 580px;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.12);
}

.hero-stat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: .25rem;
}

.hero-stat span { font-size: .8rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: 1px; }

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,.15);
}

.scroll-down {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    color: rgba(255,255,255,.5);
    font-size: .75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 2;
}

.scroll-circle {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    animation: bounce-y 2s ease infinite;
}

@keyframes bounce-y {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(8px); }
}

/* ticker */
.ticker-bar {
    background: linear-gradient(90deg, var(--dark), var(--dark-mid));
    padding: .85rem 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.ticker-track {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    animation: ticker 35s linear infinite;
}

.ticker-track span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: rgba(255,255,255,.55);
    font-size: .8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.ticker-track span i { color: var(--gold); }

@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* nosotros */
.about {
    padding: 3.5rem 0 var(--space-xl);
    position: relative;
    overflow: hidden;
}

.about > .container { position: relative; z-index: 2; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.about-img-wrapper img {
    width: 100%;
    height: 520px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-position: center;
}

.about-img-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.about-img-badge i { font-size: 1.4rem; color: var(--gold-deep); }
.about-img-badge strong { display: block; font-size: .95rem; font-weight: 700; color: var(--white); }
.about-img-badge span { font-size: .75rem; color: var(--gray-cool); }

.about-img-tag {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(10,12,16,.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-pill);
    padding: .4rem 1rem;
    color: rgba(255,255,255,.8);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .5px;
}

.about-img-tag i { color: var(--gold); margin-right: .35rem; }
.about-text { padding-left: 1rem; }

.about-lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: rgba(255,255,255,.9);
    margin-bottom: 1rem;
    line-height: 1.65;
}

.about-text > p {
    color: var(--gray-cool);
    margin-bottom: 2.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.value-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255,255,255,.06);
    border-radius: var(--radius-md);
    transition: all var(--dur) var(--ease);
    border: 1px solid rgba(255,255,255,.1);
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(249,168,37,.35);
}

.value-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, hsl(42,95%,55%,.15), hsl(42,95%,55%,.05));
    border: 1px solid hsl(42,95%,55%,.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-deep);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.value-text h4 {
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: .2rem;
    color: var(--white);
}

.value-text p {
    font-size: .78rem;
    color: rgba(255,255,255,.55);
    line-height: 1.4;
}

/* estadísticas */
.stats-banner {
    padding: var(--space-lg) 0;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.stats-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8, 10, 14, 0.72);
    z-index: 1;
}

.stats-banner .container {
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255,255,255,.03);
    transition: background var(--dur);
    position: relative;
}

.stat-item:hover { background: rgba(255,255,255,.06); }

.stat-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, hsl(42,95%,55%,.2), hsl(42,95%,55%,.05));
    border: 1px solid hsl(42,95%,55%,.25);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.3rem;
    color: var(--gold);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: .5rem;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: .78rem;
    color: var(--gray-cool);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* productos */
.products {
    padding: 3.5rem 0 var(--space-xl);
    position: relative;
    overflow: hidden;
}

/* textura de fondo compartida entre secciones */
.about::before, .products::before, .services::before, .why-us::before, .contact::before, .stats-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('imagenes/hero.png') center/cover no-repeat;
    background-attachment: fixed;
    z-index: 0;
    opacity: 0.12;
}

.about > .container, .products > .container, .services > .container,
.why-us > .container, .contact > .container {
    position: relative;
    z-index: 2;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--dur) var(--ease);
    border: 1px solid rgba(255,255,255,.07);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

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

.product-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gold);
    color: var(--dark);
    font-size: .7rem;
    font-weight: 700;
    padding: .3rem .75rem;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.product-tag-green  { background: var(--green); color: var(--white); }
.product-tag-brown  { background: var(--earth); color: var(--white); }
.product-tag-amber  { background: hsl(35,85%,55%); color: var(--dark); }

.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.3));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 1.5rem 1.25rem;
    gap: .55rem;
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
}

.product-card:hover .product-overlay { opacity: 1; }

.overlay-title {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: .25rem;
}

.overlay-contact {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    backdrop-filter: blur(4px);
    color: var(--white);
    font-size: .82rem;
    font-weight: 500;
    padding: .45rem 1rem;
    border-radius: var(--radius-pill);
    width: 100%;
    justify-content: center;
    transition: background var(--dur-fast), border-color var(--dur-fast);
}

.overlay-contact:hover {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
}

.overlay-contact i { font-size: .75rem; }

.product-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-icon { font-size: 2rem; margin-bottom: .75rem; }

.product-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: .5rem;
}

.product-body > p {
    font-size: .88rem;
    color: rgba(255,255,255,.5);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    border-top: 1px solid rgba(255,255,255,.07);
    padding-top: 1rem;
}

.product-features span {
    font-size: .78rem;
    font-weight: 600;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: .4rem;
}

.product-features i { font-size: .65rem; }

/* servicios */
.services {
    padding: 3.5rem 0 var(--space-xl);
    position: relative;
    overflow: hidden;
}

.services-inner { position: relative; z-index: 2; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.service-card {
    padding: 2rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--dur) var(--ease);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249,168,37,.06), transparent);
    opacity: 0;
    transition: opacity var(--dur);
}

.service-card:hover::before { opacity: 1; }

.service-card:hover {
    border-color: rgba(249,168,37,.3);
    transform: translateY(-6px);
    background: rgba(255,255,255,.07);
}

.service-icon-wrap {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-gold);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: .6rem;
}

.service-card p {
    font-size: .9rem;
    color: rgba(255,255,255,.55);
    line-height: 1.65;
}

/* por qué elegirnos */
.why-us {
    padding: 3.5rem 0 var(--space-xl);
    position: relative;
    overflow: hidden;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

/* contacto */
.contact {
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.contact-bg-decor {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, hsl(42,95%,55%,.06), transparent 70%);
    top: -300px;
    right: -200px;
    pointer-events: none;
}

.contact-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-layout-single {
    grid-template-columns: 1fr;
    max-width: 860px;
    margin: 0 auto;
}

.contact-layout-single .contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-layout-single .contact-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-info-panel {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
}

.contact-info-panel > h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.contact-icon {
    width: 46px;
    height: 46px;
    background: rgba(249,168,37,.1);
    border: 1px solid rgba(249,168,37,.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-detail span {
    display: block;
    font-size: .72rem;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: .25rem;
}

.contact-detail a,
.contact-detail strong {
    font-size: .95rem;
    font-weight: 600;
    color: var(--white);
    transition: color var(--dur-fast);
}

.contact-detail a:hover { color: var(--gold); }

/* footer */
footer { background: var(--dark); color: var(--white); }
.footer-top { padding: 2.5rem 0 1.5rem; }

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: .65rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.footer-logo i { color: var(--gold); font-size: 1.4rem; }
.footer-logo span { color: var(--gold); }

.footer-brand > p {
    color: rgba(255,255,255,.45);
    font-size: .82rem;
    max-width: 280px;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: .85rem;
}

.footer-col ul li { margin-bottom: .4rem; }

.footer-col ul li a {
    color: rgba(255,255,255,.45);
    font-size: .82rem;
    transition: color var(--dur-fast);
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: .85rem 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: .78rem;
    color: rgba(255,255,255,.25);
}

/* botón volver arriba */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: var(--dark);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    z-index: 900;
    box-shadow: var(--shadow-gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--dur) var(--ease);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(249,168,37,.45);
}

/* animaciones de entrada */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

.revealed {
    opacity: 1 !important;
    transform: translate(0,0) !important;
}

/* fallback si js tarda */
@keyframes fallback-show {
    to { opacity: 1; transform: none; }
}

.reveal-up, .reveal-left, .reveal-right {
    animation: fallback-show 0s 0.5s forwards;
}

/* responsive */
@media (max-width: 1200px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 992px) {
    :root { --space-xl: 5rem; --space-lg: 3rem; }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(10,12,16,.98);
        backdrop-filter: blur(20px);
        padding: .5rem;
        border-bottom: 1px solid rgba(255,255,255,.08);
        z-index: 998;
        box-shadow: 0 8px 24px rgba(0,0,0,.4);
    }

    .nav-links.open  { display: flex; }
    .nav-link        { padding: .9rem 1.25rem; font-size: .95rem; display: block; width: 100%; }
    .nav-link.nav-cta { margin: .5rem 0 0; text-align: center; border-radius: var(--radius-md); }
    .menu-toggle     { display: flex; }

    .about-grid,
    .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-image-col { order: -1; }
    .about-img-wrapper img { height: 360px; }
    .about-img-badge { right: .75rem; bottom: -1rem; }

    .services-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid    { grid-template-columns: repeat(2, 1fr); }
    .contact-layout-single .contact-items { grid-template-columns: 1fr; }
    .footer-grid  { grid-template-columns: 1.5fr 1fr 1fr; gap: 1.5rem; }
}

@media (max-width: 768px) {
    :root { --space-xl: 4rem; --space-lg: 2.5rem; }

    .hero-content   { padding-top: calc(var(--nav-height) + 1.5rem); }
    .hero h1        { font-size: clamp(2rem, 8vw, 3rem); letter-spacing: -1px; }
    .hero-desc      { font-size: 1rem; }
    .hero-btns      { flex-direction: column; gap: .75rem; }
    .hero-btns .btn { width: 100%; justify-content: center; }
    .hero-stats     { gap: 1.25rem; }
    .hero-stat strong { font-size: 1.4rem; }
    .scroll-down    { display: none; }

    .ticker-bar { padding: .6rem 0; }

    .about-img-wrapper img { height: 280px; }
    .values-grid { grid-template-columns: 1fr; gap: 1rem; }

    .stats-grid  { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 2rem; }

    .product-grid  { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .why-grid      { grid-template-columns: 1fr; }

    .about::before, .products::before, .services::before,
    .why-us::before, .contact::before, .stats-banner::before {
        background-attachment: scroll;
    }

    .contact-layout-single .contact-items { grid-template-columns: 1fr; }
    .contact-info-panel { padding: 1.75rem; }
    .section-title { font-size: clamp(1.6rem, 6vw, 2.4rem); }

    .footer-grid  { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom .container { flex-direction: column; gap: .5rem; text-align: center; }
}

@media (max-width: 480px) {
    :root { --space-xl: 3rem; }
    .container { padding: 0 1.25rem; }

    .hero-content      { padding-top: calc(var(--nav-height) + 1rem); }
    .hero h1           { font-size: 2rem; }
    .hero-stats        { flex-direction: column; align-items: flex-start; gap: .75rem; }
    .hero-stat-divider { display: none; }
    .hero-badge        { font-size: .7rem; }

    .stats-grid  { grid-template-columns: 1fr 1fr; }
    .stat-item   { padding: 1.75rem 1rem; }
    .stat-number { font-size: 1.75rem; }

    .product-img-wrapper { height: 200px; }
    .service-card { padding: 1.5rem; }
    #back-to-top { bottom: 1rem; right: 1rem; }

    .footer-grid  { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-logo  { font-size: 1.5rem; }
}

@media (min-width: 769px) {
    .footer-col:last-child { justify-self: center; }
}
