/* ============================================
   PlusMedia360 - Estilos principales

   VARIABLES DE COLOR:
   Cambia estos valores para ajustar el tema
   completo del sitio.
============================================= */

:root {
    --color-bg: #0a0a0a;
    --color-surface: #141414;
    --color-surface-hover: #1a1a1a;
    --color-surface-soft: #0e0e0e;
    --color-border: #222;
    --color-border-soft: rgba(255, 255, 255, 0.06);
    --color-accent: #FFB400;
    --color-accent-2: #ff8a00;
    --color-accent-hover: #e6a200;
    --color-accent-soft: rgba(255, 180, 0, 0.12);
    --color-text: #ededed;
    --color-text-muted: #8a8a8a;
    --color-text-faint: #5a5a5a;
    --gradient-accent: linear-gradient(135deg, #FFB400 0%, #ff8a00 100%);
    --gradient-accent-soft: linear-gradient(135deg, rgba(255, 180, 0, 0.18) 0%, rgba(255, 138, 0, 0.06) 100%);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Instrument Serif', 'Inter', Georgia, serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --max-width: 1140px;
    --radius: 14px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --nav-height: 64px;
    --shadow-card: 0 0 0 1px var(--color-accent), 0 12px 40px rgba(255, 180, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    --shadow-soft: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 8px 24px rgba(0, 0, 0, 0.3);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
}

/* ============================================
   RESET & BASE
============================================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 16px);
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-accent-hover);
}

img {
    max-width: 100%;
    display: block;
}

:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

::selection {
    background: var(--color-accent);
    color: #0a0a0a;
}

/* Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 180, 0, 0.3) transparent;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 180, 0, 0.2);
    border-radius: 999px;
    border: 2px solid var(--color-bg);
    transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 180, 0, 0.5);
}

/* Skip to content */
.skip-link {
    position: absolute;
    top: -40px;
    left: 16px;
    background: var(--color-accent);
    color: #0a0a0a;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 300;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 16px;
    color: #0a0a0a;
}

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.text-serif {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
}

/* ============================================
   SCROLL PROGRESS BAR
============================================= */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--gradient-accent);
    width: 0;
    z-index: 200;
    box-shadow: 0 0 12px rgba(255, 180, 0, 0.5);
    transition: width 0.05s linear;
}

/* ============================================
   LAYOUT
============================================= */

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

.section {
    padding: clamp(80px, 12vw, 160px) 0;
    position: relative;
}

.section--alt {
    background-color: var(--color-surface);
}

.section--alt::before,
.section--alt::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: min(60%, 600px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    pointer-events: none;
}

.section--alt::before {
    top: 0;
}

.section--alt::after {
    bottom: 0;
}

.section__label {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--color-accent);
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section__label::before,
.section__label::after {
    content: "";
    width: 28px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-accent), transparent);
    opacity: 0.6;
}

.section__title {
    font-size: clamp(1.875rem, 4vw, 2.875rem);
    font-weight: 600;
    margin-bottom: 56px;
    text-align: center;
    letter-spacing: -0.035em;
    line-height: 1.1;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section__title .text-serif {
    font-weight: 400;
    letter-spacing: -0.025em;
}

.section__text {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.section__subtitle {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0 auto 48px;
    text-align: center;
    line-height: 1.7;
}

/* ============================================
   STICKY NAV
============================================= */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(10, 10, 10, 0.72);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid transparent;
    z-index: 100;
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav--scrolled {
    background: rgba(10, 10, 10, 0.85);
    border-bottom-color: var(--color-border-soft);
}

.nav__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav__brand {
    display: flex;
    align-items: center;
}

.nav__brand img {
    height: 28px;
    width: auto;
}

.nav__links {
    display: none;
    gap: 32px;
    align-items: center;
}

.nav__link {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav__link:hover {
    color: var(--color-text);
}

.nav__cta {
    font-size: 0.8125rem;
    padding: 8px 18px;
    font-weight: 600;
}

.nav__brand img {
    transition: opacity 0.2s ease;
}

.nav__brand:hover img {
    opacity: 0.85;
}

@media (min-width: 768px) {
    .nav__links {
        display: flex;
    }
}

/* ============================================
   BOTON
============================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    font-family: var(--font-main);
    font-size: 0.9375rem;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.4s var(--ease-out-expo), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.3s ease, color 0.2s ease;
    text-align: center;
    line-height: 1;
    letter-spacing: -0.005em;
    text-decoration: none;
    will-change: transform;
}

.btn__arrow {
    display: inline-block;
    transition: transform 0.3s var(--ease-out-expo);
    font-size: 1.05em;
    line-height: 0;
}

.btn:hover .btn__arrow {
    transform: translateX(4px);
}

.btn--primary {
    background: var(--gradient-accent);
    color: #0a0a0a;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 1px 0 rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(255, 180, 0, 0.18);
}

.btn--primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: left 0.7s var(--ease-out-expo);
}

.btn--primary:hover {
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 1px 0 rgba(0, 0, 0, 0.15),
        0 14px 32px rgba(255, 180, 0, 0.32);
}

.btn--primary:hover::after {
    left: 100%;
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.02);
    color: var(--color-text);
    border-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.btn--ghost:hover {
    color: var(--color-text);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
}

.btn-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   HERO
============================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-height) + 80px) 0 100px;
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg);
}

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

.hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero__bg::before {
    content: "";
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(circle 600px at 22% 18%, rgba(255, 180, 0, 0.55), transparent 70%),
        radial-gradient(circle 500px at 78% 22%, rgba(255, 138, 0, 0.45), transparent 70%),
        radial-gradient(circle 700px at 50% 90%, rgba(255, 138, 0, 0.30), transparent 70%),
        radial-gradient(circle 400px at 88% 70%, rgba(255, 180, 0, 0.35), transparent 70%);
    animation: hero-mesh 16s ease-in-out infinite alternate;
}

.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, #000 0%, transparent 75%);
    opacity: 0.7;
}

@keyframes hero-mesh {
    0% { transform: translate(0, 0) scale(1); opacity: 0.85; }
    33% { transform: translate(3%, -2%) scale(1.08); opacity: 1; }
    66% { transform: translate(-2%, 1%) scale(1.04); opacity: 0.9; }
    100% { transform: translate(1%, 2%) scale(1); opacity: 0.95; }
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/></svg>");
    opacity: 0.04;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--color-bg) 90%);
    pointer-events: none;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 28px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 180, 0, 0.22);
    border-radius: 999px;
    background: rgba(255, 180, 0, 0.05);
    backdrop-filter: blur(8px);
}

.hero__eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 8px var(--color-accent);
    animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.hero__logo {
    margin-bottom: 32px;
}

.logo-img {
    height: 56px;
    width: auto;
    margin: 0 auto;
}

.logo-img--small {
    height: 32px;
}

.hero__title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.045em;
    max-width: 980px;
    margin: 0 auto 32px;
}

.hero__title .text-serif {
    font-weight: 400;
    letter-spacing: -0.03em;
}

.hero__subtitle {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    color: var(--color-text-muted);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
    font-weight: 400;
}

/* ============================================
   PRODUCTOS
============================================= */

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    display: flex;
    flex-direction: column;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 32px 32px;
    text-align: left;
    transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s var(--ease-out-expo), border-color 0.45s var(--ease-out-expo);
    color: var(--color-text);
    position: relative;
    overflow: hidden;
    min-height: 260px;
    isolation: isolate;
}

.product-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 180, 0, 0.10), transparent 70%);
    opacity: 0;
    transform: translate(30%, -30%);
    transition: opacity 0.5s var(--ease-out-expo);
    pointer-events: none;
}

.section--alt .product-card {
    background-color: var(--color-bg);
}

.product-card:hover {
    border-color: rgba(255, 180, 0, 0.5);
    transform: translateY(-4px);
    box-shadow:
        0 0 0 1px rgba(255, 180, 0, 0.3),
        0 20px 50px rgba(255, 180, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: var(--color-text);
}

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

.product-card--coming-soon {
    background: linear-gradient(135deg, rgba(255, 180, 0, 0.04), transparent 60%), var(--color-bg);
    border-color: rgba(255, 180, 0, 0.18);
    position: relative;
}

.product-card--coming-soon::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 180, 0, 0.5), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: pulse-border 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse-border {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.product-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    background: rgba(255, 180, 0, 0.1);
    border: 1px solid rgba(255, 180, 0, 0.25);
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-card__badge--live {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.08);
    border-color: rgba(74, 222, 128, 0.25);
}

.product-card__badge--live::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.7);
    animation: pulse-dot 2s ease-in-out infinite;
}

.product-card__icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    line-height: 1;
    display: inline-block;
    transition: transform 0.5s var(--ease-out-expo);
}

.product-card:hover .product-card__icon {
    transform: scale(1.08) rotate(-3deg);
}

.product-card__name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.product-card__desc {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: auto;
}

.product-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-accent);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}

.product-card:hover .product-card__cta {
    opacity: 1;
    transform: translateY(0);
}

.product-card__cta::after {
    content: "→";
    transition: transform 0.3s var(--ease-out-expo);
}

.product-card:hover .product-card__cta::after {
    transform: translateX(3px);
}

/* ============================================
   QUE HACEMOS - SERVICIOS
============================================= */

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 1000px;
    margin: 56px auto 0;
}

.service-item {
    padding: 32px 28px;
    background: var(--color-surface-soft);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: border-color 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo), background-color 0.3s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.section--alt .service-item {
    background: var(--color-bg);
}

.service-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0;
    transform: translateX(-50%);
    transition: opacity 0.4s var(--ease-out-expo);
}

.service-item:hover {
    border-color: rgba(255, 180, 0, 0.35);
    transform: translateY(-4px);
    background: var(--color-surface);
}

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

.service-item__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 180, 0, 0.18), rgba(255, 138, 0, 0.06));
    border: 1px solid rgba(255, 180, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    margin-bottom: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 0.4s var(--ease-out-expo);
}

.service-item:hover .service-item__icon {
    transform: scale(1.06) rotate(-2deg);
}

.service-item__title {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.015em;
    color: var(--color-text);
}

.service-item__desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ============================================
   EQUIPO
============================================= */

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.team-card {
    background-color: var(--color-surface-soft);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    width: 100%;
    max-width: 340px;
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo), border-color 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.team-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 180, 0, 0.10), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-expo);
    pointer-events: none;
    z-index: -1;
}

.section--alt .team-card {
    background-color: var(--color-surface-hover);
}

.team-card:hover {
    border-color: rgba(255, 180, 0, 0.4);
    transform: translateY(-4px);
    box-shadow:
        0 0 0 1px rgba(255, 180, 0, 0.25),
        0 16px 40px rgba(255, 180, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

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

.team-card__avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: #0a0a0a;
    font-size: 1.375rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    box-shadow:
        0 0 0 1px rgba(255, 180, 0, 0.25),
        0 0 32px rgba(255, 180, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    letter-spacing: -0.02em;
}

.team-card__photo {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 22px;
    box-shadow: 0 0 0 1px rgba(255, 180, 0, 0.25), 0 0 24px rgba(255, 180, 0, 0.12);
}

.team-card__name {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.team-card__role {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 14px;
}

.team-card__bio {
    font-size: 0.8125rem;
    color: var(--color-text-faint);
    line-height: 1.55;
    margin-bottom: 16px;
    min-height: 2.4em;
}

.team-card__link {
    font-size: 0.8125rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.team-card__link::after {
    content: "→";
    transition: transform 0.2s ease;
}

.team-card__link:hover::after {
    transform: translateX(2px);
}

/* ============================================
   FOOTER
============================================= */

.footer {
    padding: 80px 0 48px;
    text-align: center;
    border-top: 1px solid var(--color-border-soft);
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0.4;
    transform: translateX(-50%);
}

.footer::after {
    content: "";
    position: absolute;
    bottom: -50%;
    left: 50%;
    width: 70%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(255, 180, 0, 0.06), transparent 60%);
    transform: translateX(-50%);
    pointer-events: none;
}

.footer > .container {
    position: relative;
    z-index: 1;
}

.footer__tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.footer__tagline .text-gradient {
    font-style: italic;
}

.footer__sub {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.footer__logo {
    margin-bottom: 24px;
}

.footer__contact {
    margin-bottom: 28px;
}

.footer__contact a {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    transition: all 0.3s var(--ease-out-expo);
    display: inline-block;
}

.footer__contact a:hover {
    color: var(--color-accent);
    border-color: rgba(255, 180, 0, 0.3);
    background: rgba(255, 180, 0, 0.03);
}

.footer__social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
}

.footer__social a {
    color: var(--color-text-muted);
    transition: color 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo), border-color 0.3s var(--ease-out-expo), background-color 0.3s ease;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer__social a:hover {
    color: var(--color-accent);
    border-color: rgba(255, 180, 0, 0.3);
    background: rgba(255, 180, 0, 0.04);
    transform: translateY(-3px);
}

.footer__divider {
    width: 100%;
    max-width: 480px;
    height: 1px;
    background: var(--color-border);
    margin: 0 auto 24px;
}

.footer__copy {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-text-faint);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ============================================
   ANIMACIONES - FADE IN
============================================= */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   RESPONSIVE
============================================= */

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        flex-direction: row;
        justify-content: center;
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 479px) {
    .btn-row {
        flex-direction: column;
        gap: 10px;
    }

    .btn-row .btn {
        width: 100%;
    }

    .hero__eyebrow {
        font-size: 0.7rem;
        padding: 5px 12px;
    }
}
