/* ═══════════════════════════════════════════
   URSOVA UK - ursova.co.uk
   Stessa identità di ursova.it (colori e caratteri di home.css), in un foglio
   solo e leggero: le pagine UK sono HTML statico, senza 3D e senza script.
   I caratteri sono sul nostro server: nessuna richiesta a Google.
   ═══════════════════════════════════════════ */

@font-face {
    font-family: 'Anton';
    src: url('/uk-static/fonts/anton-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/uk-static/fonts/inter-var.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('/uk-static/fonts/oswald-var.woff2') format('woff2');
    font-weight: 200 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('/uk-static/fonts/jetbrains-mono-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Gli stessi nomi di home.css: il riquadro di prenotazione li usa così come sono. */
    --u-yellow: #FFD400;
    --u-black: #0A0A0A;
    --u-white: #FFFFFF;
    --u-cream: #FAF7F0;
    --u-grey-text: #767676;
    --u-body-light: #3A3A3A;
    --u-body-dark: #C2C2C2;

    /* Testo secondario sul crema: #767676 lì non arriva a 4,5:1. */
    --uk-muted-light: #575757;
    --uk-muted-dark: #A8A8A8;
    --uk-line-dark: rgba(255, 255, 255, 0.14);
    --uk-line-light: rgba(10, 10, 10, 0.14);

    --u-display: 'Anton', 'Oswald', Impact, 'Arial Narrow', sans-serif;
    --u-cond: 'Oswald', 'Arial Narrow', sans-serif;
    --u-text: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --u-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', monospace;

    --uk-focus: var(--u-yellow);
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    background: var(--u-black);
    color: var(--u-white);
    font-family: var(--u-text);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--uk-focus);
    outline-offset: 3px;
}

.uk-light, .uk-yellow {
    --uk-focus: var(--u-black);
}

.uk-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.uk-skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    background: var(--u-yellow);
    color: var(--u-black);
    font-weight: 600;
    padding: 0.75rem 1rem;
    text-decoration: none;
}

.uk-skip:focus {
    top: 1rem;
}

.uk-wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .uk-wrap { padding: 0 1.5rem; }
}

/* ─── Sezioni ─── */

.uk-section {
    padding: 4.5rem 0;
}

@media (min-width: 900px) {
    .uk-section { padding: 6.5rem 0; }
}

.uk-light {
    background: var(--u-cream);
    color: var(--u-black);
}

.uk-yellow {
    background: var(--u-yellow);
    color: var(--u-black);
}

/* L'etichetta della sezione: JetBrains Mono maiuscolo dentro il tag giallo. */
.uk-label {
    display: inline-block;
    font-family: var(--u-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--u-yellow);
    color: var(--u-black);
    padding: 0.3rem 0.55rem;
    margin-bottom: 1.25rem;
}

.uk-yellow .uk-label {
    background: var(--u-black);
    color: var(--u-yellow);
}

.uk-h1, .uk-h2, .uk-h3 {
    font-family: var(--u-display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.02;
}

.uk-h1 {
    font-size: clamp(2.4rem, 8.4vw, 4.6rem);
    max-width: 17ch;
}

.uk-h2 {
    font-size: clamp(2rem, 6.2vw, 3.4rem);
    max-width: 22ch;
    margin-bottom: 2.5rem;
}

.uk-h3 {
    font-size: clamp(1.35rem, 3.6vw, 1.7rem);
    line-height: 1.1;
    margin-bottom: 0.6rem;
}

.uk-lead {
    font-size: clamp(1.05rem, 2.4vw, 1.25rem);
    line-height: 1.6;
    color: var(--u-body-dark);
    max-width: 60ch;
}

.uk-light .uk-lead, .uk-light p {
    color: var(--u-body-light);
}

.uk-num {
    font-family: var(--u-mono);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--u-yellow);
    display: block;
    margin-bottom: 0.75rem;
}

.uk-light .uk-num {
    color: var(--u-black);
}

.uk-light .uk-num::before {
    content: "";
    display: inline-block;
    width: 0.6rem;
    height: 0.6rem;
    background: var(--u-yellow);
    margin-right: 0.5rem;
    vertical-align: 0.05rem;
}

/* ─── Bottoni ─── */

.uk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3.25rem;
    font-family: var(--u-cond);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    background: var(--u-yellow);
    color: var(--u-black);
    border: 2px solid var(--u-yellow);
    padding: 0.8rem 1.6rem;
    transition: background 0.15s, color 0.15s;
}

.uk-btn:hover {
    background: transparent;
    color: var(--u-yellow);
}

.uk-light .uk-btn:hover {
    color: var(--u-black);
    border-color: var(--u-black);
}

.uk-yellow .uk-btn {
    background: var(--u-black);
    color: var(--u-yellow);
    border-color: var(--u-black);
}

.uk-yellow .uk-btn:hover {
    background: transparent;
    color: var(--u-black);
}

.uk-btn-arrow {
    width: 1.1rem;
    height: 1.1rem;
    flex: none;
}

.uk-link {
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    text-decoration-color: var(--u-yellow);
}

.uk-link:hover {
    color: var(--u-yellow);
}

.uk-light .uk-link:hover {
    color: var(--u-black);
    text-decoration-color: var(--u-black);
}

/* ─── Testata ─── */

.uk-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--u-black);
    border-bottom: 1px solid var(--uk-line-dark);
}

.uk-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4rem;
}

.uk-logo {
    display: inline-flex;
    flex: none;
}

.uk-logo img {
    height: 28px;
    width: auto;
}

.uk-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.uk-nav-links {
    display: none;
    list-style: none;
    gap: 1.75rem;
}

.uk-nav-links a,
.uk-menu-panel a {
    font-family: var(--u-cond);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--u-white);
}

.uk-nav-links a:hover,
.uk-menu-panel a:hover {
    color: var(--u-yellow);
}

.uk-nav-cta {
    min-height: 2.75rem;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
}

/* Menu da telefono senza JavaScript: un <details>. */
.uk-menu {
    position: relative;
}

.uk-menu summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--uk-line-dark);
}

.uk-menu summary::-webkit-details-marker {
    display: none;
}

.uk-menu summary span {
    display: block;
    width: 1.1rem;
    height: 2px;
    background: var(--u-white);
    box-shadow: 0 -6px 0 var(--u-white), 0 6px 0 var(--u-white);
}

.uk-menu[open] summary span {
    box-shadow: none;
    background: var(--u-yellow);
}

.uk-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.6rem);
    min-width: 13rem;
    background: var(--u-black);
    border: 1px solid var(--uk-line-dark);
    list-style: none;
    padding: 0.5rem 0;
}

.uk-menu-panel a {
    display: block;
    padding: 0.8rem 1.1rem;
}

@media (min-width: 880px) {
    .uk-nav { gap: 2rem; }
    .uk-nav-links { display: flex; }
    .uk-menu { display: none; }
}

@media (max-width: 380px) {
    .uk-nav-cta { padding: 0.5rem 0.7rem; letter-spacing: 0.04em; }
    .uk-logo img { height: 24px; }
}

/* ─── Hero ─── */

.uk-hero {
    padding: 3rem 0 4rem;
    border-bottom: 1px solid var(--uk-line-dark);
}

.uk-hero-grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.uk-hero .uk-lead {
    margin-top: 1.5rem;
}

.uk-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.75rem;
    margin-top: 2rem;
}

.uk-promises {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.25rem;
    margin-top: 2rem;
    font-family: var(--u-mono);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--u-body-dark);
}

.uk-promises li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.uk-promises li::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    background: var(--u-yellow);
}

.uk-hero-art {
    display: none;
}

@media (min-width: 960px) {
    .uk-hero { padding: 5rem 0 6rem; }
    .uk-hero-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
    .uk-hero-art { display: block; }
}

/* ─── Griglie di carte ─── */

.uk-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 720px) {
    .uk-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .uk-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .uk-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1080px) {
    .uk-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.uk-card {
    position: relative;
    border: 1px solid var(--uk-line-dark);
    padding: 1.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
}

.uk-light .uk-card {
    border-color: var(--uk-line-light);
    background: var(--u-white);
}

.uk-card p {
    font-size: 1rem;
    color: var(--u-body-dark);
}

.uk-light .uk-card p {
    color: var(--u-body-light);
}

/* Le due carte "Choose your business": tutta la carta è il link. */
.uk-sector {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-decoration: none;
    border-top: 4px solid var(--u-yellow);
    transition: border-color 0.15s, transform 0.15s;
}

.uk-sector:hover {
    border-color: var(--u-yellow);
}

.uk-sector .uk-more {
    margin-top: auto;
    font-family: var(--u-cond);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--u-yellow);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.uk-sector:hover .uk-more {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ─── Come funziona: i passi con il prezzo ─── */

.uk-steps {
    list-style: none;
    counter-reset: none;
}

.uk-step-price {
    display: inline-block;
    font-family: var(--u-mono);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--u-yellow);
    border: 1px solid var(--u-yellow);
    padding: 0.2rem 0.5rem;
    margin-bottom: 1rem;
}

.uk-note {
    margin-top: 2rem;
    font-size: 1rem;
    color: var(--u-body-dark);
}

.uk-light .uk-note {
    color: var(--uk-muted-light);
}

/* ─── Prezzi ─── */

.uk-price-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-top: 4px solid var(--u-black);
}

.uk-price-name {
    font-family: var(--u-mono);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.uk-card .uk-price {
    color: var(--u-black);
    font-family: var(--u-display);
    font-size: clamp(2.6rem, 7vw, 3.4rem);
    line-height: 1;
}

.uk-card .uk-price small {
    font-family: var(--u-text);
    font-size: 1rem;
    font-weight: 500;
    margin-left: 0.25rem;
}

.uk-card .uk-price-from {
    font-family: var(--u-text);
    font-size: 1rem;
    font-weight: 500;
    display: block;
    margin-bottom: 0.2rem;
}

.uk-light .uk-price-card p.uk-price-detail {
    color: var(--uk-muted-light);
}

.uk-price-foot {
    margin-top: 2rem;
    font-size: 1.1rem;
    max-width: 60ch;
}

.uk-price-foot strong {
    background: linear-gradient(transparent 60%, var(--u-yellow) 60%);
}

/* ─── Blocco singolo con titolo a sinistra ─── */

.uk-split {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .uk-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 4rem; }
    .uk-split .uk-h2 { margin-bottom: 0; }
}

/* ─── Domande ─── */

.uk-faq {
    border-top: 1px solid var(--uk-line-light);
}

.uk-faq details {
    border-bottom: 1px solid var(--uk-line-light);
}

.uk-faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
}

.uk-faq summary::-webkit-details-marker {
    display: none;
}

.uk-faq summary::after {
    content: "+";
    flex: none;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    font-family: var(--u-mono);
    font-size: 1.2rem;
    background: var(--u-yellow);
    color: var(--u-black);
}

.uk-faq details[open] summary::after {
    content: "\2212";
}

.uk-faq details p {
    padding: 0 0 1.5rem;
    max-width: 68ch;
}

/* ─── Chi sono ─── */

.uk-about {
    display: grid;
    gap: 2.5rem;
    align-items: start;
}

.uk-about-photo {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 4px solid var(--u-yellow);
}

.uk-about-text p {
    font-size: 1.15rem;
    color: var(--u-body-dark);
    max-width: 58ch;
}

.uk-about-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.75rem;
    margin-top: 1.75rem;
}

.uk-about-video {
    margin-top: 2rem;
    width: 100%;
    max-width: 640px;
    aspect-ratio: 16 / 9;
    border: 0;
}

@media (min-width: 900px) {
    .uk-about.con-foto { grid-template-columns: 340px minmax(0, 1fr); gap: 4rem; }
}

/* ─── Lavori ─── */

.uk-work {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.uk-work-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top;
    background: #ECE8DE;
    border-bottom: 1px solid var(--uk-line-light);
}

.uk-work-art {
    aspect-ratio: 16 / 10;
    background: var(--u-black);
    display: grid;
    place-items: center;
    border-bottom: 1px solid var(--uk-line-light);
}

.uk-work-art svg {
    width: 55%;
}

.uk-work-body {
    padding: 1.5rem;
}

.uk-badge {
    display: inline-block;
    font-family: var(--u-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--u-black);
    color: var(--u-yellow);
    padding: 0.2rem 0.45rem;
    margin-bottom: 0.75rem;
}

/* ─── Pagine di settore ─── */

.uk-includes {
    list-style: none;
    display: grid;
    gap: 0;
    border-top: 1px solid var(--uk-line-light);
}

.uk-includes li {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    align-items: baseline;
    padding: 1rem 0;
    border-bottom: 1px solid var(--uk-line-light);
    font-size: 1.1rem;
    font-weight: 500;
}

.uk-includes li span {
    font-family: var(--u-mono);
    font-size: 0.8rem;
    color: var(--uk-muted-light);
}

@media (min-width: 900px) {
    .uk-includes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
}

.uk-case {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.uk-case-img {
    width: 100%;
    border: 1px solid var(--uk-line-dark);
}

.uk-case ul {
    list-style: none;
    margin-top: 1.5rem;
    display: grid;
    gap: 0.75rem;
}

.uk-case li {
    display: grid;
    grid-template-columns: 1.25rem minmax(0, 1fr);
    gap: 0.5rem;
    color: var(--u-body-dark);
}

.uk-case li::before {
    content: "";
    width: 0.6rem;
    height: 0.6rem;
    margin-top: 0.55rem;
    background: var(--u-yellow);
}

@media (min-width: 900px) {
    .uk-case { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; }
}

/* ─── Chiamata finale ─── */

.uk-final {
    text-align: left;
}

.uk-final .uk-h2 {
    margin-bottom: 1rem;
}

.uk-final p {
    font-size: 1.2rem;
    max-width: 50ch;
    margin-bottom: 2rem;
    color: var(--u-black);
}

/* ─── Pagine legali ─── */

.uk-legal {
    padding: 3.5rem 0 5rem;
}

.uk-legal .uk-wrap {
    max-width: 820px;
}

.uk-legal h1 {
    margin-bottom: 0.75rem;
}

.uk-legal .uk-updated {
    font-family: var(--u-mono);
    font-size: 0.8rem;
    color: var(--uk-muted-dark);
    margin-bottom: 2.5rem;
}

.uk-legal h2 {
    font-family: var(--u-cond);
    font-size: 1.35rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 2.5rem 0 0.75rem;
}

.uk-legal p, .uk-legal li {
    color: var(--u-body-dark);
    margin-bottom: 0.9rem;
}

.uk-legal ul {
    padding-left: 1.25rem;
}

.uk-legal a {
    color: var(--u-white);
    text-decoration-color: var(--u-yellow);
    text-underline-offset: 3px;
}

.uk-legal a:hover {
    color: var(--u-yellow);
}

.uk-table-wrap {
    overflow-x: auto;
    margin: 1rem 0 1.5rem;
}

.uk-legal table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.uk-legal th, .uk-legal td {
    text-align: left;
    vertical-align: top;
    padding: 0.7rem 0.8rem 0.7rem 0;
    border-bottom: 1px solid var(--uk-line-dark);
    color: var(--u-body-dark);
}

.uk-legal th {
    font-family: var(--u-mono);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--u-white);
}

/* ─── Piede ─── */

.uk-footer {
    border-top: 1px solid var(--uk-line-dark);
    padding: 3rem 0 2.5rem;
    font-size: 0.92rem;
    color: var(--uk-muted-dark);
}

.uk-footer-grid {
    display: grid;
    gap: 2rem;
}

.uk-footer p {
    max-width: 62ch;
    margin-bottom: 0.75rem;
}

.uk-footer a {
    color: var(--u-white);
}

.uk-footer a:hover {
    color: var(--u-yellow);
}

.uk-footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.uk-footer-copy {
    margin-top: 2rem;
    font-family: var(--u-mono);
    font-size: 0.75rem;
}

@media (min-width: 900px) {
    .uk-footer-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}

/* ─── 404 ─── */

.uk-notfound {
    padding: 6rem 0;
    min-height: 60vh;
}

.uk-notfound p {
    margin: 1.5rem 0 2rem;
    color: var(--u-body-dark);
}

/* ─── Precedenze ─── */
/* Le regole generiche sui paragrafi non devono toccare etichette e prezzi. */
p.uk-label,
.uk-light p.uk-label,
.uk-about-text p.uk-label {
    color: var(--u-black);
    font-size: 0.75rem;
}

.uk-card p.uk-price,
.uk-light .uk-card p.uk-price {
    color: var(--u-black);
    font-size: clamp(2.6rem, 7vw, 3.4rem);
}

.uk-light .uk-price-card {
    border-top-color: var(--u-black);
}

.uk-nowrap {
    white-space: nowrap;
}
