/*
Theme Name: Lumen Arcade
Theme URI: https://envermy.com/
Author: Lumen Arcade Madrid
Description: Hoja de estilos autónoma con convenciones visuales y estructurales habituales de WordPress.
Version: 1.0.0
Text Domain: lumen-arcade
*/

:root {
    --wp--preset--color--base: #0c101b;
    --wp--preset--color--contrast: #f3f6ff;
    --wp--preset--color--primary: #58f0d3;
    --wp--preset--color--secondary: #8b5cf6;
    --wp--preset--color--accent: #ff5f88;
    --wp--preset--color--surface: #151b2d;
    --wp--preset--color--muted: #9ca8bc;
    --wp--preset--font-family--heading: 'Orbitron', sans-serif;
    --wp--preset--font-family--body: 'Roboto', sans-serif;
    --wp--style--global--content-size: 1180px;
    --wp--custom--header-height: 76px;
    --wp--custom--radius: 16px;
    --wp--custom--shadow: 0 18px 45px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    background: var(--wp--preset--color--base);
    color: var(--wp--preset--color--contrast);
    font-family: var(--wp--preset--font-family--body);
    line-height: 1.65;
}
body.admin-bar .site-header { top: 32px; }
a { color: var(--wp--preset--color--primary); }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.site { min-height: 100vh; }
.content-area, .site-header__inner {
    width: min(var(--wp--style--global--content-size), calc(100% - 40px));
    margin-inline: auto;
}
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
    width: auto; height: auto; clip: auto; padding: 12px 18px; margin: 10px;
    z-index: 10000; background: #fff; color: #111;
}

.wp-block-heading, .entry-title, .woocommerce-loop-product__title, .widget-title, .site-title {
    font-family: var(--wp--preset--font-family--heading);
}
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 7vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }
.has-text-align-center { text-align: center; }
.section-intro { max-width: 760px; margin: -8px auto 42px; text-align: center; color: var(--wp--preset--color--muted); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: var(--wp--custom--header-height);
    background: rgba(12, 16, 27, .86);
    border-bottom: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(16px);
    transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { background: rgba(12, 16, 27, .97); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.site-header__inner { min-height: var(--wp--custom--header-height); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-branding { flex: 0 0 auto; }
.site-title { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 900; font-size: 1.28rem; text-decoration: none; letter-spacing: .02em; }
.site-title i { color: var(--wp--preset--color--primary); filter: drop-shadow(0 0 8px rgba(88,240,211,.75)); }
.main-navigation { margin-left: auto; }
.main-navigation .menu { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.main-navigation a { color: #eef3ff; text-decoration: none; font-weight: 500; font-size: .96rem; }
.main-navigation a:hover, .main-navigation .current-menu-item > a { color: var(--wp--preset--color--primary); }
.menu-toggle { display: none; border: 0; background: transparent; color: #fff; font-size: 1.45rem; padding: 8px; }
.header-button { margin: 0; }

.wp-element-button, .wp-block-button__link, .button, .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 12px 24px;
    background: var(--wp--preset--color--primary);
    color: #07110f;
    text-decoration: none;
    font-family: var(--wp--preset--font-family--heading);
    font-weight: 800;
    line-height: 1.2;
    transition: transform .25s ease, box-shadow .25s ease, color .25s ease, background-color .25s ease;
}
.wp-element-button:hover, .wp-block-button__link:hover, .button:hover, .wpcf7-submit:hover {
    color: var(--wp--preset--color--primary);
    background: transparent;
    border-color: var(--wp--preset--color--primary);
    box-shadow: 0 0 24px rgba(88,240,211,.28);
    transform: translateY(-2px);
}

.entry-content > section { padding: 92px 0; }
.entry-content > section:nth-of-type(even) { background: var(--wp--preset--color--surface); }
.hero-section {
    position: relative;
    min-height: calc(100vh - var(--wp--custom--header-height));
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
}
.wp-block-cover__image-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.wp-block-cover__background { position: absolute; inset: 0; z-index: -2; background: linear-gradient(120deg, rgba(8,12,23,.91), rgba(21,27,45,.74), rgba(139,92,246,.34)); }
.hero-section::after {
    content: '';
    position: absolute; inset: 0; z-index: -1;
    background-image: linear-gradient(rgba(88,240,211,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(88,240,211,.06) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
}
.wp-block-cover__inner-container { text-align: center; padding: 60px 0; }
.hero-section h1 { max-width: 980px; margin: 0 auto 20px; text-shadow: 0 0 28px rgba(88,240,211,.28); }
.hero-subtitle { margin: 0 auto 28px; font-size: clamp(1.05rem, 2.4vw, 1.45rem); color: #d9e2f1; }
.hero-features { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 28px; margin-bottom: 38px; color: #eef4ff; }
.hero-features span { display: inline-flex; align-items: center; gap: 8px; }
.hero-features i { color: var(--wp--preset--color--primary); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.is-content-justification-center { justify-content: center; }

.product-filters { justify-content: center; margin-bottom: 38px; }
.filter-button { padding: 10px 16px; background: transparent; color: var(--wp--preset--color--muted); border-color: rgba(255,255,255,.23); font-family: var(--wp--preset--font-family--body); font-weight: 700; }
.filter-button:hover, .filter-button.is-active { background: var(--wp--preset--color--secondary); color: #fff; border-color: var(--wp--preset--color--secondary); box-shadow: 0 0 20px rgba(139,92,246,.35); }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; }
.product { min-width: 0; background: #0e1422; border: 1px solid rgba(255,255,255,.1); border-radius: var(--wp--custom--radius); overflow: hidden; box-shadow: var(--wp--custom--shadow); transition: transform .28s ease, border-color .28s ease; }
.product:hover { transform: translateY(-8px); border-color: rgba(88,240,211,.55); }
.product[hidden] { display: none !important; }
.woocommerce-loop-product__link { display: grid; grid-template-columns: 1fr auto; color: inherit; text-decoration: none; height: 100%; }
.woocommerce-loop-product__image { grid-column: 1 / -1; position: relative; aspect-ratio: 1; overflow: hidden; background: #151c2d; }
.woocommerce-loop-product__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product:hover .woocommerce-loop-product__image img { transform: scale(1.035); }
.product-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 7px; }
.onsale { border-radius: 5px; padding: 4px 9px; background: var(--wp--preset--color--primary); color: #08110f; font-size: .76rem; font-weight: 800; }
.badge-eco { background: #7ee787; }
.woocommerce-loop-product__title { grid-column: 1 / -1; margin: 20px 20px 8px; color: #fff; font-size: 1.14rem; }
.product-excerpt { grid-column: 1 / -1; margin: 0 20px 20px; min-height: 72px; color: var(--wp--preset--color--muted); font-size: .93rem; }
.price { margin: 0 0 20px 20px; align-self: center; color: var(--wp--preset--color--primary); font-family: var(--wp--preset--font-family--heading); font-size: 1.28rem; font-weight: 800; }
.product .button { margin: 0 20px 20px 10px; padding: 9px 16px; font-size: .82rem; }

.wp-block-columns { display: flex; gap: 28px; }
.wp-block-column { min-width: 0; }
.process-columns { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin-top: 44px; }
.process-card { text-align: center; padding: 26px 18px; }
.process-card > i, .benefit-card > i, .delivery-card > i { color: var(--wp--preset--color--primary); font-size: 2.6rem; filter: drop-shadow(0 0 12px rgba(88,240,211,.4)); }
.process-card h3, .benefit-card h3, .delivery-card h3 { margin-bottom: 10px; }
.process-card p, .benefit-card p, .delivery-card p { color: var(--wp--preset--color--muted); }

.section-about .wp-block-columns { align-items: center; }
.about-copy { padding-right: 24px; }
.about-copy h2 { text-align: left; }
.about-image { margin: 0; }
.about-image img { display: block; border-radius: var(--wp--custom--radius); box-shadow: 0 0 40px rgba(139,92,246,.24); }

.benefits-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 44px; }
.benefit-card { background: #0e1422; border-left: 4px solid var(--wp--preset--color--accent); border-radius: 12px; padding: 28px; box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.benefit-card > i { color: var(--wp--preset--color--accent); }

.reviews-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin-top: 44px; }
.review-card { margin: 0; padding: 25px; background: #0e1422; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; }
.review-card::before { display: none; }
.review-meta { display: flex; align-items: center; gap: 12px; }
.review-meta i { font-size: 2.2rem; color: var(--wp--preset--color--muted); }
.review-meta span { display: block; color: var(--wp--preset--color--muted); font-size: .86rem; }
.star-rating { margin: 15px 0 8px; color: #ffd24a; letter-spacing: .08em; }
.review-card p { margin-bottom: 0; color: #d9e1ee; }

.delivery-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin-top: 44px; }
.delivery-card { text-align: center; }

.contact-columns { align-items: flex-start; gap: 56px; margin-top: 44px; }
.contact-details address { margin-top: 26px; font-style: normal; }
.contact-details address p { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 20px; color: #dce5f4; }
.contact-details address i { width: 24px; margin-top: 5px; color: var(--wp--preset--color--primary); font-size: 1.25rem; text-align: center; }
.contact-details address a { color: #dce5f4; text-decoration: none; }
.wpcf7 { padding: 30px; background: #0e1422; border: 1px solid rgba(255,255,255,.1); border-radius: var(--wp--custom--radius); box-shadow: var(--wp--custom--shadow); }
.wpcf7-form p { margin: 0 0 18px; }
.wpcf7-form label { display: block; margin-bottom: 7px; font-weight: 700; }
.required { color: var(--wp--preset--color--accent); }
.wpcf7-form-control-wrap { display: block; }
.wpcf7-text, .wpcf7-email, .wpcf7-textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    background: #0a0f1a;
    color: #fff;
}
.wpcf7-text:focus, .wpcf7-email:focus, .wpcf7-textarea:focus { outline: 2px solid transparent; border-color: var(--wp--preset--color--primary); box-shadow: 0 0 0 3px rgba(88,240,211,.15); }
.wpcf7-textarea { resize: vertical; min-height: 150px; }
.form-consent label { display: flex; align-items: flex-start; gap: 11px; font-weight: 400; font-size: .92rem; }
.form-consent input { flex: 0 0 auto; margin-top: 5px; accent-color: var(--wp--preset--color--primary); }
.wpcf7-response-output { margin-top: 18px; padding: 13px 15px; border: 1px solid var(--wp--preset--color--primary); border-radius: 8px; background: rgba(88,240,211,.08); color: #dcfff8; }

.faq-list { max-width: 900px; margin: 44px auto 0; }
.faq-item { margin-bottom: 14px; overflow: hidden; background: #0e1422; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 21px; border: 0; background: transparent; color: #fff; font-weight: 800; text-align: left; }
.faq-question i { transition: transform .25s ease; }
.faq-question[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer p { margin: 0; padding: 0 21px 21px; color: var(--wp--preset--color--muted); }

.site-footer { padding: 58px 0 26px; background: #080c15; border-top: 1px solid rgba(255,255,255,.08); }
.footer-widgets { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 48px; }
.widget-title { margin-top: 0; color: var(--wp--preset--color--primary); font-size: 1rem; }
.widget p { color: var(--wp--preset--color--muted); }
.widget .menu { list-style: none; margin: 0; padding: 0; }
.widget .menu-item { margin: 8px 0; }
.widget a { color: var(--wp--preset--color--muted); text-decoration: none; }
.widget a:hover { color: var(--wp--preset--color--primary); }
.footer-brand { color: #fff !important; }
.site-info { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); color: var(--wp--preset--color--muted); text-align: center; font-size: .9rem; }

.policy-main { min-height: 60vh; }
.policy-hero { padding: 68px 0 54px; background: linear-gradient(135deg, #151b2d, #0c101b); border-bottom: 1px solid rgba(255,255,255,.08); }
.yoast-breadcrumbs { color: var(--wp--preset--color--muted); font-size: .92rem; }
.yoast-breadcrumbs a { text-decoration: none; }
.policy-hero h1 { margin: 20px 0 10px; font-size: clamp(2.4rem, 6vw, 4rem); }
.last-updated { color: var(--wp--preset--color--muted); }
.policy-content { max-width: 900px; padding-top: 60px; padding-bottom: 80px; }
.policy-content h2 { margin-top: 46px; color: #fff; font-size: 1.65rem; }
.policy-content p, .policy-content li { color: #cbd5e4; }
.policy-content li { margin: 8px 0; }

@media (max-width: 1040px) {
    .header-button { display: none; }
    .products, .benefits-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .process-columns, .reviews-grid, .delivery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 860px) {
    body.admin-bar .site-header { top: 46px; }
    .site-header__inner { position: relative; }
    .menu-toggle { display: inline-flex; }
    .main-navigation .menu {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 18px 20px 24px;
        background: rgba(12,16,27,.98);
        border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .main-navigation .menu.is-open { display: flex; }
    .main-navigation .menu a { display: block; padding: 12px 0; }
    .wp-block-columns, .section-about .wp-block-columns, .contact-columns { flex-direction: column; }
    .about-copy { padding-right: 0; }
    .footer-widgets { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .content-area, .site-header__inner { width: min(100% - 28px, var(--wp--style--global--content-size)); }
    .entry-content > section { padding: 70px 0; }
    .site-title { font-size: 1.05rem; }
    .hero-features { flex-direction: column; align-items: center; }
    .products, .benefits-grid, .process-columns, .reviews-grid, .delivery-grid { grid-template-columns: 1fr; }
    .product-excerpt { min-height: 0; }
    .footer-widgets { grid-template-columns: 1fr; text-align: center; }
    .wpcf7 { padding: 22px 18px; }
    .policy-content { padding-top: 42px; }
}
