/* ponytail: base minimo, solo le classi usate dalle pagine attuali. Aggiungi una grid vera (o Bootstrap) quando i layout lo richiedono. */

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

:root {
    --grey-dark: #0f172a;
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --text: #1e293b;
    --muted: #64748b;
    --max-width: 1100px;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.65;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary);
}

h1,
h2,
h3 {
    line-height: 1.15;
    margin: 0 0 .5em;
    letter-spacing: -.02em;
}

h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 800;
}

.section {
    padding: 4rem 1rem;
}

.section-header {
    padding: 6rem 1rem;
}

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 10;
    padding: 1.2rem 0;
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header__brand {
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    letter-spacing: -.01em;
}

.site-header__nav {
    display: flex;
    gap: 1.8rem;
}

.site-header__nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: .95rem;
    transition: color .15s ease;
}

.site-header__nav a:hover {
    color: #fff;
}

/* Hero — fullpage */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(120% 120% at 50% 0%, #1e293b 0%, var(--grey-dark) 60%);
    color: #fff;
}

.hero h1 {
    background: linear-gradient(180deg, #fff 30%, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .8rem;
    font-weight: 600;
    color: #60a5fa;
    margin: 0 0 1rem;
}

.lead {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 40ch;
    margin: 0 auto;
}

.container,
.container-fluid {
    margin: 0 auto;
    width: 100%;
}

.container {
    max-width: var(--max-width);
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.col-12 {
    flex: 0 0 100%;
}

.text-center {
    text-align: center;
}

.text-white {
    color: #fff;
}

.bg-grey-dark {
    background: var(--grey-dark);
}

.mt-2 {
    margin-top: 1rem;
}

.mb-0 {
    margin-bottom: 0;
}

.btn {
    display: inline-block;
    padding: .8rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px -6px rgba(37, 99, 235, .6);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--grey-dark);
    color: #cbd5e1;
    padding: 3rem 1rem;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.site-footer__name {
    color: #fff;
    font-weight: 700;
    margin: 0 0 .5rem;
}

.site-footer__line {
    margin: .15rem 0;
    font-size: .92rem;
    color: var(--muted);
}

.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.site-footer__links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: .92rem;
}

.site-footer__links a:hover {
    color: #fff;
}