/*
Theme Name: Skyline Motorbike
Description: Portada Skyline Motorbike y tema compatible con WooCommerce.
Version: 1.1.0
Text Domain: skylinemotorbike
*/
:root { color-scheme: light; --surface: #101115; --paper: #faf9f8; --brand: #6cb424; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: #18191c; font: 1rem/1.55 system-ui, sans-serif; }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid #52881a; outline-offset: 4px; }
.shell { width: min(88rem, calc(100% - clamp(2rem, 9vw, 9rem))); margin-inline: auto; }
.site-header, .site-footer { background: var(--surface); color: white; }
.site-nav { min-height: 4.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: block; width: 7.5rem; }
.site-nav nav { display: flex; gap: clamp(0.75rem, 3vw, 2.25rem); }
.site-nav nav a { text-decoration: none; font-size: 0.92rem; }
.site-nav nav a:hover { text-decoration: underline; }
.hero { min-height: clamp(32rem, 79svh, 65rem); position: relative; isolation: isolate; display: flex; align-items: center; color: white; background: var(--surface); }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 64% center; position: absolute; inset: 0; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 11 14 / 94%) 0%, rgb(10 11 14 / 65%) 35%, transparent 77%); }
.hero-content { padding-block: 4rem; }
.hero h1 { max-width: min(48%, 25rem); margin: 0 0 1.6rem; line-height: 1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.shop-link, .documents-link { display: inline-flex; align-items: center; gap: 1.5rem; padding: 0.8rem 1.15rem; background: #78c42e; color: white; text-decoration: none; font-weight: 700; }
.documents-link { border: 1px solid rgb(255 255 255 / 72%); background: rgb(13 14 17 / 72%); }
.documents-link:hover { background: #17181d; }
.documents { padding-block: clamp(2.25rem, 5vw, 4rem); scroll-margin-top: 1rem; }
.documents h2 { margin: 0 0 1.25rem; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.2; }
.document-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 0.65rem; }
.document-list a { display: flex; gap: 0.75rem; align-items: center; justify-content: space-between; min-height: 3.25rem; padding: 0.75rem 0.9rem; border: 1px solid #d9d6d6; background: white; text-decoration: none; }
.document-list a:hover { border-color: #78c42e; text-decoration: underline; }
.document-format { flex: none; color: #3d6316; font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.footer-inner { display: flex; gap: 0.65rem 2rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.footer-languages { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
.footer-languages a { text-underline-offset: 0.2em; }
.footer-languages [aria-current="page"] { font-weight: 700; }
.shop-link:hover { background: #94d750; }
.site-footer { padding-block: 1.25rem; font-size: 0.85rem; }
.content { min-height: 60vh; padding-block: clamp(2rem, 6vw, 5rem); }
.content h1 { line-height: 1.15; margin-top: 0; }
.woocommerce .button.alt, .wc-block-components-button.contained { background: #78c42e; color: white; }
.screen-reader-text:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { display: block; position: absolute; top: 0.5rem; left: 0.5rem; z-index: 10; padding: 0.6rem; background: white; }
@media (max-width: 650px) {
    .hero { align-items: end; }
    .hero-photo { object-position: 60% center; }
    .hero::after { background: linear-gradient(0deg, rgb(10 11 14 / 97%), rgb(10 11 14 / 25%) 63%, transparent 82%); }
    .hero-content { padding-block: 2rem 3rem; }
    .hero h1 { max-width: min(72vw, 20rem); }
}

.shop-link, .woocommerce .button.alt, .wc-block-components-button.contained { color: #111511; }
