/* ============================================
   Lina Trenti — Supporto Sport Vignola
   Sito ufficiale — Design system v2
============================================ */

:root {
    /* Brand palette */
    --navy: #1e4b8b;
    --navy-dark: #12305a;
    --navy-light: #2f6bc4;
    --navy-50: #eef3fb;
    --navy-100: #dbe5f5;

    /* Accents */
    --accent: #0ea5b7;
    --accent-warm: #f0b23c;
    --gold: #c9a961;

    /* Neutrals */
    --ink: #0f172a;
    --ink-soft: #1e293b;
    --body: #475569;
    --gray: #64748b;
    --gray-2: #94a3b8;
    --gray-light: #e2e8f0;
    --gray-soft: #f5f8fc;
    --white: #ffffff;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 2px 12px rgba(30, 75, 139, 0.08);
    --shadow-md: 0 12px 32px rgba(30, 75, 139, 0.12);
    --shadow-lg: 0 24px 60px rgba(30, 75, 139, 0.18);
    --shadow-xl: 0 40px 80px rgba(30, 75, 139, 0.22);
    --shadow-glow: 0 0 0 6px rgba(30, 75, 139, 0.08);

    /* Radii */
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    --max: 1240px;
    --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--body);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.015em;
}

h1 { font-size: clamp(1.85rem, 6.5vw, 3.75rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.55rem, 5vw, 2.7rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 3vw, 1.65rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--navy);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover { color: var(--navy-dark); }

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

::selection { background: var(--navy); color: var(--white); }

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

button:focus-visible, a:focus-visible {
    outline-offset: 4px;
}

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

.container-narrow {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 640px) {
    .container, .container-narrow { padding: 0 24px; }
}

/* ============ HEADER ============ */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    z-index: 100;
    transition: all var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(30, 75, 139, 0.1);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    max-width: var(--max);
    margin: 0 auto;
    gap: 12px;
}

@media (min-width: 640px) {
    .header-inner { padding: 14px 24px; gap: 24px; }
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 1;
    min-width: 0;
}

@media (min-width: 640px) { .brand { gap: 12px; } }

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    min-width: 0;
}

.brand-text .name {
    font-family: var(--font-display);
    color: var(--navy);
    font-weight: 700;
    font-size: 1rem;
}

.brand-text .tag {
    color: var(--gray);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-top: 2px;
}

@media (min-width: 400px) {
    .brand-text .name { font-size: 1.1rem; }
    .brand-text .tag { font-size: 0.66rem; }
}

@media (min-width: 640px) {
    .brand-text .name { font-size: 1.15rem; }
    .brand-text .tag { font-size: 0.68rem; letter-spacing: 0.15em; }
}

.brand img { height: 36px; }
@media (min-width: 400px) { .brand img { height: 40px; } }
@media (min-width: 640px) { .brand img { height: 44px; } }

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-list {
    display: none;
    align-items: center;
    gap: 2px;
    list-style: none;
    background: rgba(30, 75, 139, 0.04);
    border-radius: 100px;
    padding: 4px;
}

@media (min-width: 960px) {
    .nav-list { display: flex; }
}

.nav-list > li:last-child { margin-left: 8px; }

.nav-list a {
    padding: 9px 18px;
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 0.92rem;
    border-radius: 100px;
    transition: all var(--transition);
    position: relative;
    display: inline-block;
}

.nav-list a:hover {
    color: var(--navy);
    background: rgba(255, 255, 255, 0.9);
}

.nav-list a.active {
    background: var(--white);
    color: var(--navy);
    box-shadow: var(--shadow-xs);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px !important;
    background: var(--navy);
    color: var(--white) !important;
    border-radius: 100px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm) !important;
}

.nav-cta:hover {
    background: var(--navy-dark) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md) !important;
    color: var(--white) !important;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: rgba(30, 75, 139, 0.05);
    border: none;
    cursor: pointer;
    padding: 10px;
    align-items: center;
    border-radius: 12px;
    transition: background var(--transition);
}

.menu-toggle:hover { background: rgba(30, 75, 139, 0.1); }

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    transition: all var(--transition);
    border-radius: 2px;
}

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 960px) {
    .menu-toggle { display: none; }
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-lg);
    z-index: 99;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    animation: slideDown 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav.open { display: block; }

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-nav a {
    display: block;
    padding: 14px 18px;
    color: var(--ink);
    font-weight: 500;
    border-radius: 12px;
    transition: all var(--transition);
}

.mobile-nav a:hover, .mobile-nav a.active {
    background: var(--navy-50);
    color: var(--navy);
}

.mobile-nav .nav-cta {
    margin-top: 12px;
    justify-content: center;
    color: var(--white) !important;
    text-align: center;
}

@media (min-width: 960px) {
    .mobile-nav { display: none !important; }
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.005em;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(30, 75, 139, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(30, 75, 139, 0.4);
    color: var(--white);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: -1;
}
.btn-primary:hover::before { opacity: 1; }

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: rgba(30, 75, 139, 0.25);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 18px 38px;
    font-size: 1.02rem;
}

.btn .arrow {
    display: inline-block;
    transition: transform var(--transition);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ============ HERO ============ */
.hero {
    position: relative;
    padding: 90px 0 120px;
    background:
        radial-gradient(1000px 500px at 85% -5%, rgba(30, 75, 139, 0.12), transparent 60%),
        radial-gradient(700px 500px at -10% 40%, rgba(14, 165, 183, 0.08), transparent 60%),
        radial-gradient(600px 400px at 50% 100%, rgba(201, 169, 97, 0.06), transparent 60%),
        linear-gradient(180deg, #fafcff 0%, #ffffff 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(30, 75, 139, 0.06) 1px, transparent 0);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 70%);
    pointer-events: none;
}

.hero > * { position: relative; }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 900px) {
    .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 70px; }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(30, 75, 139, 0.08);
    color: var(--navy);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--navy);
    box-shadow: 0 0 0 4px rgba(30, 75, 139, 0.15);
}

.hero h1 { margin-bottom: 24px; }

.hero h1 .accent {
    color: var(--navy);
    font-style: italic;
    position: relative;
    display: inline-block;
}

.hero h1 .accent::after {
    content: '';
    position: absolute;
    left: 4%;
    right: 4%;
    bottom: 6px;
    height: 10px;
    background: var(--accent-warm);
    opacity: 0.35;
    z-index: -1;
    border-radius: 3px;
}

.hero .lead {
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 36px;
    max-width: 560px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ---- Hero visual (FIXED) ---- */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    justify-self: center;
}

.hero-blob {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: 43% 57% 68% 32% / 43% 43% 57% 57%;
    animation: morph 14s ease-in-out infinite;
    box-shadow: 0 30px 80px -20px rgba(30, 75, 139, 0.5);
}

.hero-photo {
    position: absolute;
    inset: 8%;
    background: url('../img/lina-trenti.jpg') center/cover no-repeat;
    border-radius: 43% 57% 68% 32% / 43% 43% 57% 57%;
    animation: morph 14s ease-in-out infinite;
    z-index: 2;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.35);
}

.hero-ring {
    position: absolute;
    inset: -6%;
    border: 2px dashed rgba(30, 75, 139, 0.25);
    border-radius: 50%;
    animation: spin 40s linear infinite;
    z-index: 0;
}

@keyframes morph {
    0%, 100% { border-radius: 43% 57% 68% 32% / 43% 43% 57% 57%; }
    33%      { border-radius: 60% 40% 30% 70% / 60% 50% 50% 40%; }
    66%      { border-radius: 30% 70% 50% 50% / 55% 40% 60% 45%; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hero-badge {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 3;
    border: 1px solid rgba(30, 75, 139, 0.08);
    animation: float 6s ease-in-out infinite;
}

.hero-badge-2 { animation-delay: -3s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

.hero-badge .num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    background: linear-gradient(135deg, var(--navy) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-badge .lbl {
    font-size: 0.78rem;
    color: var(--gray);
    line-height: 1.35;
    max-width: 130px;
}

.hero-badge-1 { top: 8%; right: -8%; }
.hero-badge-2 { bottom: 8%; left: -8%; }

@media (max-width: 899px) {
    .hero-badge-1 { top: 4%; right: 0; }
    .hero-badge-2 { bottom: 4%; left: 0; }
}

/* Hero stats strip */
.hero-stats {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 28px 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-light);
    position: relative;
    z-index: 2;
}

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

.hero-stat .num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    display: block;
    margin-bottom: 4px;
}

.hero-stat .lbl {
    font-size: 0.82rem;
    color: var(--gray);
    letter-spacing: 0.02em;
}

/* ============ SECTIONS ============ */
.section {
    padding: 110px 0;
}

.section-alt {
    background: var(--gray-soft);
    position: relative;
}

.section-alt::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(30, 75, 139, 0.04), transparent 40%),
        radial-gradient(circle at 80% 100%, rgba(14, 165, 183, 0.04), transparent 40%);
    pointer-events: none;
}

.section-alt > * { position: relative; }

.section-navy {
    background:
        radial-gradient(800px 400px at 20% 20%, rgba(14, 165, 183, 0.2), transparent 50%),
        radial-gradient(800px 400px at 80% 80%, rgba(201, 169, 97, 0.15), transparent 50%),
        linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.section-navy::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0);
    background-size: 30px 30px;
    mask-image: linear-gradient(180deg, black 0%, transparent 90%);
    -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 90%);
    pointer-events: none;
}

.section-navy > * { position: relative; }

.section-navy h1,
.section-navy h2,
.section-navy h3 { color: var(--white); }

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 70px;
}

.section-header .eyebrow { margin-bottom: 18px; }

.section-header p {
    color: var(--gray);
    font-size: 1.08rem;
    margin-top: 18px;
    line-height: 1.7;
}

.section-navy .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.section-navy .eyebrow {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.section-navy .eyebrow::before {
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(14, 165, 183, 0.3);
}

/* ============ FEATURE GRID ============ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--accent), var(--accent-warm));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at top right, rgba(30, 75, 139, 0.05), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 75, 139, 0.15);
}

.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover::after { opacity: 1; }

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(30, 75, 139, 0.12), rgba(14, 165, 183, 0.06));
    color: var(--navy);
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    position: relative;
    transition: all var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--white);
    transform: rotate(-6deg) scale(1.05);
}

.feature-icon svg { width: 28px; height: 28px; }

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
    color: var(--ink);
}

.feature-card p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: all var(--transition);
}

.feature-link .arrow {
    display: inline-block;
    transition: transform var(--transition);
}

.feature-link:hover {
    border-bottom-color: var(--navy);
}

.feature-link:hover .arrow { transform: translateX(4px); }

/* ============ ABOUT SECTION ============ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 900px) {
    .about-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

.about-visual {
    position: relative;
}

.about-visual .frame {
    aspect-ratio: 4 / 5;
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
    transition: transform var(--transition);
}

.about-visual .frame:hover { transform: translateY(-6px); }

.about-visual .frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-visual .frame:hover img { transform: scale(1.03); }

.about-visual::before {
    content: '';
    position: absolute;
    top: 24px;
    right: 24px;
    width: 65%;
    height: 65%;
    background: linear-gradient(135deg, var(--navy) 0%, var(--accent) 100%);
    border-radius: var(--radius-xl);
    z-index: 1;
    opacity: 0.12;
}

.about-visual::after {
    content: '';
    position: absolute;
    bottom: 24px;
    left: 24px;
    width: 50%;
    height: 40%;
    background: linear-gradient(135deg, var(--accent-warm) 0%, var(--gold) 100%);
    border-radius: var(--radius-xl);
    z-index: 1;
    opacity: 0.1;
}

.about-content h2 { margin-bottom: 24px; }

.about-content p { color: var(--body); line-height: 1.75; }

.credentials {
    list-style: none;
    margin-top: 30px;
    display: grid;
    gap: 18px;
}

.credentials li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 4px 0;
}

.credentials .check {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--white);
    display: grid;
    place-items: center;
    margin-top: 2px;
    box-shadow: 0 4px 12px rgba(30, 75, 139, 0.3);
}

.credentials .check svg { width: 14px; height: 14px; }

.credentials strong {
    color: var(--ink);
    display: block;
    margin-bottom: 2px;
    font-weight: 600;
    font-size: 1.02rem;
}

.credentials p {
    margin: 0;
    color: var(--gray);
    font-size: 0.94rem;
    line-height: 1.6;
}

/* ============ SERVICES ============ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 34px;
    border: 1px solid var(--gray-light);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 75, 139, 0.15);
}

.service-card:hover::before { transform: scaleX(1); }

.service-number {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--navy);
    opacity: 0.12;
    line-height: 1;
    position: absolute;
    top: 24px;
    right: 32px;
    transition: all var(--transition);
}

.service-card:hover .service-number {
    opacity: 0.22;
    transform: scale(1.1);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    display: grid;
    place-items: center;
    margin-bottom: 26px;
    box-shadow: 0 10px 24px -6px rgba(30, 75, 139, 0.4);
    transition: all var(--transition);
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--navy-light) 100%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover .service-icon::after { opacity: 1; }
.service-card:hover .service-icon { transform: rotate(-4deg) scale(1.05); }

.service-icon svg {
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
    color: var(--ink);
}

.service-card p {
    color: var(--gray);
    flex-grow: 1;
    margin-bottom: 22px;
    line-height: 1.7;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    padding: 8px 14px;
    background: var(--navy-50);
    border-radius: 100px;
    align-self: flex-start;
}

.service-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--navy);
    border-radius: 50%;
}

/* ============ CTA STRIP ============ */
.cta-strip {
    background:
        radial-gradient(800px 400px at 100% 0%, rgba(14, 165, 183, 0.3), transparent 50%),
        radial-gradient(800px 400px at 0% 100%, rgba(201, 169, 97, 0.2), transparent 50%),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 70px 50px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(30, 75, 139, 0.5);
}

.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 30px 30px;
    mask-image: linear-gradient(180deg, black 0%, transparent 70%);
    -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 70%);
    pointer-events: none;
}

.cta-strip > * { position: relative; z-index: 1; }

.cta-strip h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-strip p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
    max-width: 640px;
    margin: 0 auto 34px;
    line-height: 1.7;
}

.cta-strip .btn {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.cta-strip .btn::before { display: none; }

.cta-strip .btn:hover {
    background: var(--accent-warm);
    border-color: var(--accent-warm);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

/* CTA con immagine (Servizi, ecc.) */
.cta-with-image {
    padding: 0;
    overflow: hidden;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
}

@media (min-width: 900px) {
    .cta-with-image { grid-template-columns: 1fr 1.15fr; }
}

.cta-with-image .cta-image {
    position: relative;
    min-height: 260px;
    overflow: hidden;
}

.cta-with-image .cta-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cta-with-image .cta-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 75, 139, 0.35), rgba(15, 23, 42, 0.55));
    mix-blend-mode: multiply;
}

@media (min-width: 900px) {
    .cta-with-image .cta-image::after {
        background: linear-gradient(90deg, transparent 40%, rgba(30, 75, 139, 0.85) 100%);
    }
}

.cta-with-image .cta-content {
    padding: 50px 44px 54px;
    position: relative;
    z-index: 2;
}

.cta-with-image h2 { text-align: left; }
.cta-with-image p { text-align: left; margin-left: 0; margin-right: 0; }

@media (max-width: 640px) {
    .cta-with-image .cta-content { padding: 34px 24px 40px; }
    .cta-with-image .cta-image { min-height: 200px; }
}

/* ============ CONTACT ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 900px) {
    .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: flex-start; }
}

.contact-info {
    display: grid;
    gap: 18px;
}

.contact-item {
    padding: 22px 24px;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all var(--transition);
}

.contact-item:hover {
    border-color: var(--navy);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: 0 6px 14px -4px rgba(30, 75, 139, 0.4);
}

.contact-icon svg { width: 22px; height: 22px; }

.contact-item h4 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gray);
    margin-bottom: 6px;
    font-weight: 700;
}

.contact-item p, .contact-item a {
    color: var(--ink);
    font-weight: 500;
    margin: 0;
    line-height: 1.45;
}

.contact-item a:hover { color: var(--navy); }

.contact-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 44px;
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow-md);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--accent), var(--accent-warm));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.contact-form h3 { margin-bottom: 8px; }

.contact-form .subtitle {
    color: var(--gray);
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

@media (min-width: 640px) {
    .form-row.two-cols { grid-template-columns: 1fr 1fr; }
}

.field label {
    display: block;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--gray-light);
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.98rem;
    color: var(--ink);
    background: var(--gray-soft);
    transition: all var(--transition);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--navy);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(30, 75, 139, 0.12);
}

.field textarea {
    resize: vertical;
    min-height: 140px;
}

.check-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
}

.check-field input {
    margin-top: 4px;
    accent-color: var(--navy);
    flex-shrink: 0;
}

.check-field a { color: var(--navy); text-decoration: underline; }

.form-success {
    display: none;
    padding: 16px;
    background: rgba(14, 165, 183, 0.1);
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    color: var(--navy-dark);
    margin-top: 20px;
    font-weight: 500;
}

.form-success.visible { display: block; }

/* ============ HOURS ============ */
.hours-list {
    display: grid;
    gap: 8px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed var(--gray-light);
    font-size: 0.94rem;
}

.hours-row:last-child { border-bottom: none; }

.hours-row .day {
    color: var(--ink);
    font-weight: 600;
}

.hours-row .time { color: var(--gray); }

.hours-row.closed .time { color: #c94747; font-weight: 600; }

.map-embed {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 40px;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--gray-light);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ============ PAGE HEADER ============ */
.page-hero {
    padding: 90px 0 70px;
    background:
        radial-gradient(800px 400px at 10% 0%, rgba(30, 75, 139, 0.1), transparent 60%),
        radial-gradient(600px 300px at 90% 100%, rgba(14, 165, 183, 0.08), transparent 60%),
        linear-gradient(180deg, #fafcff 0%, #ffffff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(30, 75, 139, 0.06) 1px, transparent 0);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 0%, transparent 70%);
    pointer-events: none;
}

.page-hero > * { position: relative; }

.page-hero .eyebrow { margin-bottom: 20px; }

.page-hero h1 { margin-bottom: 20px; }

.page-hero p {
    color: var(--gray);
    font-size: 1.12rem;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

.breadcrumbs {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
}

.breadcrumbs a { color: var(--navy); font-weight: 500; }

.breadcrumbs .sep { opacity: 0.4; }

/* ============ PROSE (privacy etc.) ============ */
.prose {
    max-width: 780px;
    margin: 0 auto;
}

.prose h2 {
    margin-top: 48px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--navy-100);
    font-size: 1.6rem;
    color: var(--ink);
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.prose p {
    color: var(--body);
    margin-bottom: 16px;
    line-height: 1.8;
}

.prose ul, .prose ol {
    margin: 16px 0 24px 24px;
    color: var(--body);
}

.prose li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.prose strong { color: var(--ink); font-weight: 600; }

.prose a { color: var(--navy); text-decoration: underline; }

/* ============ FOOTER ============ */
.footer {
    background:
        radial-gradient(circle at 20% 0%, rgba(30, 75, 139, 0.15), transparent 40%),
        var(--ink);
    color: rgba(255, 255, 255, 0.75);
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 400px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

.footer-brand img {
    background: var(--white);
    padding: 10px 16px;
    border-radius: 12px;
    height: 60px;
    width: auto;
    margin-bottom: 22px;
}

.footer-brand p {
    max-width: 320px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 22px;
    font-weight: 700;
}

.footer ul { list-style: none; }

.footer ul li { margin-bottom: 10px; }

.footer ul a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.94rem;
    transition: color var(--transition);
    position: relative;
}

.footer ul a:hover { color: var(--accent-warm); }

.footer .contact-list {
    display: grid;
    gap: 14px;
    font-size: 0.94rem;
}

.footer .contact-list > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer .contact-list .lbl {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.footer .contact-list a,
.footer .contact-list span:not(.lbl) {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.socials {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.socials a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
    transition: all var(--transition);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.socials a:hover {
    background: var(--accent-warm);
    color: var(--ink);
    transform: translateY(-3px);
    border-color: var(--accent-warm);
}

.socials svg { width: 18px; height: 18px; }

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

@media (min-width: 640px) {
    .footer-bottom { flex-direction: row; text-align: left; }
}

.footer-bottom a { color: rgba(255, 255, 255, 0.7); }
.footer-bottom a:hover { color: var(--accent-warm); }

.footer-bottom .made-by {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    margin: 0;
}

.footer-bottom .made-by a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
    letter-spacing: 0.03em;
    position: relative;
    padding-bottom: 1px;
    background: linear-gradient(90deg, var(--accent-warm), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: filter var(--transition);
}

.footer-bottom .made-by a:hover {
    filter: brightness(1.15);
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-wrap: wrap;
        row-gap: 8px;
    }
    .footer-bottom .made-by {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
}

/* ============ ANIMATIONS ============ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

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

/* ============ UTILITY ============ */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

/* ============ HIGHLIGHT CARD (used in Chi Siamo) ============ */
.stat-card {
    aspect-ratio: 4/5;
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(14, 165, 183, 0.25), transparent 50%),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 40px;
    display: grid;
    place-items: center;
    color: var(--white);
    max-width: 460px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0);
    background-size: 30px 30px;
    mask-image: linear-gradient(180deg, black 0%, transparent 90%);
    -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 90%);
}

.stat-card > * { position: relative; z-index: 1; text-align: center; }

.stat-card svg { margin: 0 auto 24px; opacity: 0.9; }

.stat-card h3 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-warm) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.55;
}

.stat-card .divider {
    width: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.35);
    margin: 24px auto;
}

.stat-card .location {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    margin: 0;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ============ MISSION QUOTE (Chi Siamo) ============ */
.quote-hero {
    font-size: clamp(1.5rem, 3.2vw, 2.2rem);
    margin-top: 22px;
    margin-bottom: 32px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.35;
    color: var(--white);
    letter-spacing: -0.01em;
}

.quote-sub {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.75;
}

.btn-on-navy {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn-on-navy::before { display: none; }

.btn-on-navy:hover {
    background: var(--accent-warm);
    border-color: var(--accent-warm);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============ AUDIENCE CARD (Servizi) ============ */
.audience-box {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-soft) 100%);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.audience-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--navy), var(--accent));
}

.audience-box h3 {
    margin-bottom: 24px;
    font-size: 1.5rem;
    color: var(--ink);
}

/* ============ HERO MOSAIC ============ */
.hero-mosaic {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 6;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 1.35fr 1fr;
    gap: 14px;
}

.hero-tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.hero-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-tile:hover img { transform: scale(1.06); }

.hero-tile-1 {
    grid-column: 1;
    grid-row: 1 / span 2;
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.35);
}

.hero-tile-1::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(30, 75, 139, 0.35) 100%);
    pointer-events: none;
}

.hero-tile-2 {
    grid-column: 2;
    grid-row: 1;
}

.hero-tile-3 {
    grid-column: 2;
    grid-row: 2;
}

.hero-tile-4 {
    position: absolute;
    bottom: -8%;
    left: 38%;
    width: 32%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    box-shadow: 0 20px 50px -10px rgba(30, 75, 139, 0.4);
    border: 5px solid var(--white);
    z-index: 3;
    overflow: hidden;
    animation: float 8s ease-in-out infinite;
}

.hero-tile-4 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-decor {
    position: absolute;
    top: -6%;
    right: -6%;
    width: 42%;
    aspect-ratio: 1 / 1;
    background:
        radial-gradient(circle at 30% 30%, rgba(14, 165, 183, 0.35), transparent 60%),
        linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
    filter: blur(4px);
}

@media (max-width: 640px) {
    .hero-mosaic { gap: 10px; }
    .hero-tile-4 { width: 26%; left: 42%; }
}

/* ============ PORTRAIT (Chi Siamo) ============ */
.portrait-visual {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.portrait-frame {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(15, 23, 42, 0.4);
    isolation: isolate;
}

.portrait-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.55) 100%);
    z-index: 1;
    pointer-events: none;
}

.portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.portrait-frame:hover img { transform: scale(1.04); }

.portrait-tag {
    position: absolute;
    left: 24px;
    bottom: 24px;
    color: var(--white);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.portrait-tag-line {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.portrait-tag-sub {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.03em;
}

.portrait-quote {
    position: absolute;
    right: -24px;
    bottom: -24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 22px 24px 22px 24px;
    max-width: 300px;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 14px;
    align-items: flex-start;
    z-index: 3;
    border: 1px solid rgba(30, 75, 139, 0.06);
    animation: float 8s ease-in-out infinite;
    animation-delay: -2s;
}

.portrait-quote svg {
    width: 26px;
    height: 26px;
    color: var(--navy);
    flex-shrink: 0;
    opacity: 0.5;
    margin-top: -2px;
}

.portrait-quote p {
    margin: 0;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink);
    line-height: 1.5;
}

@media (max-width: 640px) {
    .portrait-visual { max-width: 340px; }
    .portrait-quote { right: -8px; bottom: -18px; padding: 16px 18px; max-width: 240px; }
    .portrait-quote p { font-size: 0.85rem; }
    .portrait-quote svg { width: 20px; height: 20px; }
    .portrait-tag-line { font-size: 1.3rem; }
    .portrait-tag { left: 18px; bottom: 18px; }
}

/* Highlights nel Chi Siamo */
.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 32px;
    padding: 22px 20px;
    background: var(--gray-soft);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-light);
}

.about-highlight {
    text-align: center;
    padding: 4px 8px;
    border-right: 1px solid var(--gray-light);
}

.about-highlight:last-child { border-right: none; }

.about-highlight .num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.about-highlight .lbl {
    display: block;
    font-size: 0.76rem;
    color: var(--gray);
    line-height: 1.4;
    letter-spacing: 0.02em;
}

@media (max-width: 480px) {
    .about-highlights { grid-template-columns: 1fr; gap: 12px; padding: 18px 20px; }
    .about-highlight { padding: 8px 0; border-right: none; border-bottom: 1px solid var(--gray-light); }
    .about-highlight:last-child { border-bottom: none; }
}

/* ORIGIN section (pallavolo) */
.origin-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 900px) {
    .origin-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

.origin-visual {
    position: relative;
    aspect-ratio: 5 / 4;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.origin-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.origin-visual:hover img { transform: scale(1.05); }

.origin-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.35) 100%);
    pointer-events: none;
}

.origin-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--navy);
    padding: 8px 16px 8px 12px;
    border-radius: 100px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.origin-badge svg { width: 18px; height: 18px; }

.origin-content h2 { margin-bottom: 22px; }

/* ============ ABOUT VISUAL BADGE (Home preview) ============ */
.about-visual-badge {
    position: absolute;
    bottom: 24px;
    left: -14px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 14px 20px 14px 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 4;
    border: 1px solid rgba(30, 75, 139, 0.06);
}

.about-visual-badge svg {
    width: 34px;
    height: 34px;
    padding: 8px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 18px -6px rgba(30, 75, 139, 0.5);
    flex-shrink: 0;
}

.about-visual-badge div { display: flex; flex-direction: column; line-height: 1.15; }
.about-visual-badge strong { color: var(--ink); font-size: 0.95rem; font-weight: 700; }
.about-visual-badge span { color: var(--gray); font-size: 0.78rem; margin-top: 2px; }

@media (max-width: 640px) {
    .about-visual-badge { bottom: 18px; left: -8px; padding: 12px 16px 12px 12px; }
    .about-visual-badge svg { width: 30px; height: 30px; padding: 7px; }
    .about-visual-badge strong { font-size: 0.88rem; }
    .about-visual-badge span { font-size: 0.72rem; }
}

/* ============ DISCIPLINES ============ */
.disciplines-section .section-header { margin-bottom: 56px; }

.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.discipline-card {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    isolation: isolate;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
    cursor: default;
}

.discipline-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.discipline-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
}

.discipline-card:hover img { transform: scale(1.08); }

.discipline-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.85) 100%),
        linear-gradient(180deg, rgba(30, 75, 139, 0.15) 0%, transparent 45%);
    z-index: 1;
    transition: background var(--transition-slow);
}

.discipline-card:hover::before {
    background:
        linear-gradient(180deg, rgba(30, 75, 139, 0.15) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.discipline-card figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 22px 24px;
    z-index: 2;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.discipline-card .discipline-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.discipline-card .discipline-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.02em;
}

@media (max-width: 640px) {
    .disciplines-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .discipline-card .discipline-name { font-size: 1.15rem; }
    .discipline-card .discipline-sub { font-size: 0.75rem; }
    .discipline-card figcaption { padding: 16px; }
}

/* ============ BLOG ============ */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.post-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-light);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    color: inherit;
}

.post-cover {
    aspect-ratio: 16 / 10;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: var(--white);
    padding: 32px;
}

.post-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0);
    background-size: 24px 24px;
    mask-image: linear-gradient(135deg, black 0%, transparent 90%);
    -webkit-mask-image: linear-gradient(135deg, black 0%, transparent 90%);
    pointer-events: none;
}

.post-cover-1 {
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(14, 165, 183, 0.35), transparent 50%),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
}

.post-cover-2 {
    background:
        radial-gradient(600px 300px at 0% 100%, rgba(201, 169, 97, 0.35), transparent 55%),
        linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
}

.post-cover-icon {
    width: 84px;
    height: 84px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1;
}

.post-cover-icon svg { width: 42px; height: 42px; }

.post-body {
    padding: 28px 30px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 14px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--gray);
    flex-wrap: wrap;
}

.post-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--navy-50);
    color: var(--navy);
    border-radius: 100px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.post-meta .dot {
    width: 3px;
    height: 3px;
    background: var(--gray-2);
    border-radius: 50%;
}

.post-card h3 {
    font-size: 1.35rem;
    line-height: 1.3;
    margin: 0;
    color: var(--ink);
    transition: color var(--transition);
}

.post-card:hover h3 { color: var(--navy); }

.post-excerpt {
    color: var(--gray);
    font-size: 0.96rem;
    line-height: 1.65;
    margin: 0;
    flex-grow: 1;
}

.post-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.92rem;
    margin-top: 8px;
}

.post-read .arrow {
    transition: transform var(--transition);
}

.post-card:hover .post-read .arrow { transform: translateX(4px); }

/* Article page */
.article-hero {
    padding: 80px 0 40px;
    background:
        radial-gradient(800px 400px at 10% 0%, rgba(30, 75, 139, 0.08), transparent 60%),
        linear-gradient(180deg, #fafcff 0%, #ffffff 100%);
    text-align: center;
    position: relative;
}

.article-hero > .container { position: relative; }

.article-hero h1 {
    max-width: 820px;
    margin: 18px auto 24px;
    line-height: 1.2;
}

.article-hero .article-meta {
    justify-content: center;
    color: var(--gray);
    font-size: 0.88rem;
    margin-bottom: 18px;
}

.article-hero .article-meta .author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-weight: 600;
}

.article-hero .article-meta .author img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.article-cover {
    max-width: 960px;
    margin: 0 auto;
    aspect-ratio: 21 / 9;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: grid;
    place-items: center;
    color: var(--white);
    padding: 40px;
    position: relative;
}

.article-cover .post-cover-icon {
    width: 110px;
    height: 110px;
}
.article-cover .post-cover-icon svg { width: 56px; height: 56px; }

.article-body {
    max-width: 780px;
    margin: 0 auto;
}

.article-body .toc {
    background: var(--gray-soft);
    border-left: 3px solid var(--navy);
    padding: 24px 28px;
    border-radius: var(--radius);
    margin-bottom: 40px;
}

.article-body .toc h4 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gray);
    margin-bottom: 14px;
    font-weight: 700;
}

.article-body .toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: toc-counter;
    display: grid;
    gap: 8px;
}

.article-body .toc li {
    counter-increment: toc-counter;
    display: flex;
    gap: 12px;
    align-items: baseline;
    margin: 0;
}

.article-body .toc li::before {
    content: counter(toc-counter, decimal-leading-zero);
    color: var(--navy);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 26px;
}

.article-body .toc a {
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.96rem;
    transition: color var(--transition);
}

.article-body .toc a:hover { color: var(--navy); }

.article-body blockquote {
    border-left: 4px solid var(--accent-warm);
    padding: 18px 24px;
    margin: 32px 0;
    background: linear-gradient(90deg, rgba(201, 169, 97, 0.08), transparent);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--ink);
    line-height: 1.5;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.article-body .callout {
    background: linear-gradient(135deg, var(--navy-50), rgba(14, 165, 183, 0.06));
    border-radius: var(--radius);
    padding: 24px 28px;
    margin: 32px 0;
    border: 1px solid rgba(30, 75, 139, 0.1);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.article-body .callout-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--white);
    display: grid;
    place-items: center;
}

.article-body .callout-icon svg { width: 20px; height: 20px; }

.article-body .callout-text strong {
    color: var(--navy-dark);
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
}

.article-body .callout-text p:last-child { margin-bottom: 0; }

/* Author box at article end */
.author-box {
    display: flex;
    gap: 22px;
    align-items: center;
    padding: 28px 30px;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-soft) 100%);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    margin-top: 50px;
    box-shadow: var(--shadow-sm);
}

.author-box img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
}

.author-box .author-info h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--ink);
    margin-bottom: 6px;
}

.author-box .author-info p {
    color: var(--gray);
    font-size: 0.94rem;
    margin: 0;
    line-height: 1.55;
}

.author-box a.author-cta {
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Related posts strip on article page */
.related-posts {
    background: var(--gray-soft);
    padding: 80px 0;
    margin-top: 80px;
}

@media (max-width: 640px) {
    .post-body { padding: 22px 22px 24px; gap: 12px; }
    .post-card h3 { font-size: 1.15rem; }
    .post-excerpt { font-size: 0.92rem; }
    .post-cover-icon { width: 68px; height: 68px; border-radius: 16px; }
    .post-cover-icon svg { width: 34px; height: 34px; }
    .article-hero { padding: 60px 0 30px; }
    .article-cover { padding: 30px; border-radius: var(--radius-lg); }
    .article-cover .post-cover-icon { width: 84px; height: 84px; }
    .article-cover .post-cover-icon svg { width: 42px; height: 42px; }
    .article-body .toc { padding: 20px 22px; }
    .article-body blockquote { font-size: 1.05rem; padding: 16px 20px; margin: 24px 0; }
    .article-body .callout { padding: 20px 22px; gap: 12px; margin: 24px 0; }
    .author-box { flex-direction: column; text-align: center; padding: 26px 22px; gap: 16px; }
    .related-posts { padding: 64px 0; margin-top: 60px; }
}

/* ============ COOKIE BANNER ============ */
.cookie-overlay {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 999;
    padding: 0 16px 16px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-overlay.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-banner {
    max-width: 720px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 26px 28px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(15, 23, 42, 0.06);
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

.cookie-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--accent), var(--accent-warm));
}

.cookie-banner h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--ink);
}

.cookie-banner p {
    font-size: 0.94rem;
    color: var(--gray);
    margin-bottom: 18px;
    line-height: 1.6;
}

.cookie-banner a {
    color: var(--navy);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-prefs {
    display: none;
    margin-bottom: 18px;
    border-top: 1px solid var(--gray-light);
    padding-top: 18px;
    gap: 14px;
    flex-direction: column;
}

.cookie-banner.prefs-open .cookie-prefs { display: flex; }

.cookie-pref {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 4px 0;
}

.cookie-pref input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-check {
    flex-shrink: 0;
    width: 42px;
    height: 24px;
    background: var(--gray-light);
    border-radius: 100px;
    position: relative;
    transition: background var(--transition);
    margin-top: 2px;
}

.cookie-check::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    transition: transform var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.cookie-pref input:checked + .cookie-check {
    background: var(--navy);
}

.cookie-pref input:checked + .cookie-check::after {
    transform: translateX(18px);
}

.cookie-pref input:disabled + .cookie-check {
    background: var(--navy);
    opacity: 0.5;
}

.cookie-pref-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.cookie-pref-text strong {
    color: var(--ink);
    font-size: 0.94rem;
    font-weight: 600;
}

.cookie-pref-text > span {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.cookie-btn {
    padding: 11px 20px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(30, 75, 139, 0.28);
}

.cookie-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(30, 75, 139, 0.35);
}

.cookie-btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: rgba(30, 75, 139, 0.25);
}

.cookie-btn-outline:hover {
    background: var(--navy-50);
    border-color: var(--navy);
}

.cookie-btn-link {
    background: transparent;
    color: var(--gray);
    border-color: transparent;
    text-decoration: underline;
    padding: 11px 14px;
    margin-right: auto;
}

.cookie-btn-link:hover {
    color: var(--navy);
}

@media (max-width: 640px) {
    .cookie-overlay { padding: 0 10px 10px; }
    .cookie-banner { padding: 22px 20px; border-radius: var(--radius); }
    .cookie-banner h3 { font-size: 1.05rem; }
    .cookie-banner p { font-size: 0.88rem; margin-bottom: 14px; }
    .cookie-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-btn {
        justify-content: center;
        padding: 12px 18px;
    }
    .cookie-btn-link { margin-right: 0; order: 3; }
}

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

/* Tablet and below */
@media (max-width: 899px) {
    .hero-grid { gap: 40px; }
    .hero-visual { max-width: 380px; }
}

/* Mobile large (up to 640px) */
@media (max-width: 640px) {
    .section { padding: 64px 0; }
    .hero { padding: 40px 0 60px; }
    .hero-actions { gap: 10px; }
    .hero-actions .btn { flex: 1 1 auto; min-width: 45%; }
    .hero-stats { padding: 22px 20px; margin-top: 40px; gap: 16px; }
    .hero-stat .num { font-size: 1.5rem; }
    .hero-stat .lbl { font-size: 0.72rem; }
    .cta-strip { padding: 44px 22px; border-radius: var(--radius-lg); }
    .contact-form { padding: 28px 20px; }
    .contact-form h3 { font-size: 1.3rem; }
    .contact-item { padding: 18px 20px; gap: 14px; }
    .contact-icon { width: 40px; height: 40px; }
    .contact-icon svg { width: 20px; height: 20px; }
    .hero-badge { padding: 12px 14px; border-radius: 12px; }
    .hero-badge .num { font-size: 1.55rem; }
    .hero-badge .lbl { font-size: 0.68rem; max-width: 92px; line-height: 1.3; }
    .service-card, .feature-card { padding: 28px 22px; }
    .service-number { font-size: 2.3rem; top: 18px; right: 20px; }
    .stat-card { padding: 32px 24px; max-width: 100%; }
    .stat-card h3 { font-size: 1.75rem; }
    .stat-card p { font-size: 0.98rem; }
    .about-visual .frame { max-width: 320px; }
    .about-visual::before, .about-visual::after { display: none; }
    .footer { padding: 56px 0 24px; }
    .footer-brand img { height: 52px; }
    .footer h4 { margin-bottom: 16px; }
    .page-hero { padding: 50px 0 36px; }
    .quote-hero { font-size: 1.35rem !important; line-height: 1.4 !important; }
    .quote-sub { font-size: 0.96rem !important; }
    .section-header { margin-bottom: 44px; }
    .prose h2 { font-size: 1.35rem; margin-top: 36px; }
    .prose h3 { font-size: 1.1rem; }
    .prose p, .prose li { font-size: 0.96rem; }
    .prose ul, .prose ol { margin-left: 20px; }
    .audience-box { padding: 28px 22px; }
    .breadcrumbs { font-size: 0.8rem; margin-bottom: 22px; }
    .eyebrow { font-size: 0.74rem; padding: 6px 14px; }
    .contact-form::before { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
    .form-row { gap: 14px; margin-bottom: 14px; }
    .field input, .field textarea, .field select { padding: 12px 14px; font-size: 16px; }
    .btn { padding: 13px 22px; font-size: 0.94rem; }
    .btn-large { padding: 15px 26px; font-size: 0.98rem; }
    .hours-row { font-size: 0.9rem; }
    .about-content h2, .section-header h2 { margin-bottom: 16px; }
    .about-content p { font-size: 0.98rem; }
    .credentials { gap: 14px; }
    .credentials p { font-size: 0.9rem; }
    .credentials .check { width: 26px; height: 26px; }
    .credentials .check svg { width: 12px; height: 12px; }
    h1 { line-height: 1.2; }
}

/* Mobile small (up to 400px) */
@media (max-width: 400px) {
    .hero-actions .btn { min-width: 100%; }
    .hero-badge { padding: 10px 12px; gap: 10px; }
    .hero-badge .num { font-size: 1.35rem; }
    .hero-badge .lbl { font-size: 0.64rem; max-width: 78px; line-height: 1.25; }
    .hero-badge-1 { top: 2%; right: -2%; }
    .hero-badge-2 { bottom: 2%; left: -2%; }
    .hero-visual { max-width: 320px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .contact-form { padding: 24px 18px; }
    .service-card, .feature-card { padding: 26px 20px; }
    .stat-card { padding: 28px 20px; }
    .stat-card h3 { font-size: 1.6rem; }
    .stat-card svg { width: 56px; height: 56px; margin-bottom: 18px; }
    .stat-card p { font-size: 0.9rem; }
    .stat-card .divider { margin: 18px auto; }
    .stat-card .location { font-size: 0.78rem; }
    .footer-brand img { height: 46px; padding: 8px 12px; }
    .socials a { width: 38px; height: 38px; }
    .form-row.two-cols { grid-template-columns: 1fr; }
    .contact-item p, .contact-item a { font-size: 0.94rem; }
    .contact-item h4 { font-size: 0.72rem; }
    .cta-strip { padding: 36px 20px; }
    .cta-strip p { font-size: 0.96rem; }
    .service-tag { font-size: 0.82rem; padding: 6px 12px; }
    .feature-card p, .service-card p { font-size: 0.94rem; }
    .brand-text .tag { display: none; }
}

/* Very small (up to 340px) */
@media (max-width: 340px) {
    .brand-text .name { font-size: 0.9rem; }
    .brand img { height: 32px; }
    .hero-visual { max-width: 260px; }
    .hero-badge .num { font-size: 1.2rem; }
    .hero-badge .lbl { max-width: 70px; font-size: 0.6rem; }
}
