/* Base */
:root {
    --container-width: 1140px;
    --blue-strong: #006bba;
    --blue-deep: #003871;
    --blue-light: #36b1ec;
    --blue-soft: #d8f4ff;
    --cyan-panel: #2ac1ef;
    --red-strong: #ee0d0d;
    --red-dark: #640000;
    --pink-header: #ff4fc3;
    --pink-header-deep: #b81f7c;
    --pink-footer: #ff63cf;
    --pink-footer-deep: #8d1560;
    --pink-cta: #ff34eb;
    --yellow-cta: #f4d603;
    --rose-title: #c62d5b;
    --text-main: #222121;
    --text-soft: #3b3b3b;
    --border-dark: #000000;
    --border-size: 6px;
    --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.14);
    --shadow-form: 0 12px 30px rgba(0, 0, 0, 0.18);
    --radius-sm: 6px;
    --radius-md: 10px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-main);
    background: #ffffff;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition), background-color var(--transition), transform var(--transition), opacity var(--transition);
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

iframe {
    width: 100%;
}

.container {
    width: min(var(--container-width), calc(100% - 24px));
    margin: 0 auto;
}

.narrow-container {
    max-width: 760px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.section-border-top {
    border-top: var(--border-size) solid var(--border-dark);
}

/* Header */
.site-header {
    position: relative;
    z-index: 20;
}

.topbar {
    background: linear-gradient(180deg, #0d3a73 0%, #041c3d 100%);
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.topbar-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand img {
    width: 130px;
    max-width: 100%;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.brand-copy strong {
    font-size: 16px;
    font-weight: 700;
}

.brand-copy span {
    font-size: 12px;
    opacity: 0.92;
}

.site-nav {
    margin-left: auto;
}

.site-nav-list {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav-list a {
    display: inline-block;
    padding: 8px 0;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.site-nav-list a:hover,
.site-nav-list a[aria-current="page"] {
    color: #ffdf5f;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border: 0;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-1px);
}

.button-call {
    background: var(--red-strong);
    color: #ffffff;
}

.button-call:hover {
    background: #34385a;
}

.button-turni {
    background: linear-gradient(180deg, #ffe96f 0%, var(--yellow-cta) 100%);
    color: var(--blue-deep);
    border: 2px solid rgba(0, 56, 113, 0.18);
    box-shadow: 0 10px 20px rgba(0, 56, 113, 0.16);
    border-radius: 12px;
    font-size: 24px;
    font-weight: 700;
}

.button-turni:hover {
    background: linear-gradient(180deg, #fff2a6 0%, #f5de4d 100%);
    color: #002d5a;
}

.button-appuntamenti {
    background: var(--yellow-cta);
    color: #3c2a2a;
    border-radius: 8px;
    font-size: 24px;
    font-weight: 600;
}

.button-secondary {
    background: #ffffff;
    color: var(--blue-deep);
    border: 2px solid rgba(0, 56, 113, 0.24);
}

.button-submit {
    width: 100%;
    margin-top: 8px;
    background: #005f87;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}

.button-submit:hover {
    background: #014b6b;
}

/* Home */
.home-hero-media {
    margin-bottom: -8px;
}

.hero-media-link img {
    width: 100%;
}

.home-title-section {
    margin-top: 10px;
    padding: 24px 0;
    border-bottom: var(--border-size) solid var(--border-dark);
    text-align: center;
    background: linear-gradient(180deg, #0d3a73 0%, #041c3d 100%);
}

.home-title-section h1,
.home-title-section h2 {
    margin: 0;
    font-size: 32px;
    line-height: 32px;
    font-weight: 600;
    color: #ffffff;
}

.home-offer-section {
    padding: 7px 0 24px;
    border-top: var(--border-size) solid var(--border-dark);
    border-bottom: var(--border-size) solid var(--border-dark);
    background: radial-gradient(circle at center center, #fff8dc 0%, #f5cf63 100%);
}

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

.offer-kicker {
    margin: 0 0 -10px;
    font-size: 2rem;
    font-weight: 400;
    color: #1d1b1b;
}

.offer-price {
    margin: 0 0 -12px;
    font-size: 3.2rem;
    font-weight: 600;
    color: #1d1b1b;
}

.offer-phone {
    margin: 0;
    font-size: 5.4rem;
    line-height: 1;
    font-weight: 800;
    color: var(--red-strong);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.51);
}

.offer-phone a {
    color: inherit;
}

.offer-actions {
    padding: 10px 0 8px;
}

.offer-note {
    margin: 0;
    font-size: 14px;
    color: var(--text-soft);
}

.payment-bar {
    margin-top: 12px;
    display: flex;
    justify-content: center;
}

.payment-bar img {
    width: 320px;
    max-width: 100%;
}

.status-section {
    padding: 30px 0 0;
}

.status-title {
    margin: -20px 0 14px;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: var(--text-main);
}

.status-title-subline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.status-title-subline a {
    color: #0b63c9;
    text-decoration: underline;
}

.status-frame {
    display: flex;
    justify-content: center;
}

.status-frame iframe {
    width: 600px;
    max-width: 100%;
    height: 140px;
    border: 0;
}

.status-fallback {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.operator-card {
    padding: 14px;
    border-radius: var(--radius-md);
    background: #f4f8fb;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.operator-card strong,
.operator-card span {
    display: block;
}

.operator-card p {
    margin: 6px 0 0;
}

.turni-section {
    padding: 20px 0 14px;
    border-bottom: var(--border-size) solid var(--border-dark);
    text-align: center;
}

.orari-tv-page {
    background:
        linear-gradient(180deg, #f7fbff 0%, #ffffff 28%, #f7f2cf 100%);
}

.orari-tv-hero {
    padding: 44px 0;
    border-bottom: var(--border-size) solid var(--border-dark);
    background:
        radial-gradient(circle at top right, rgba(54, 177, 236, 0.28), transparent 34%),
        linear-gradient(180deg, #0d3a73 0%, #041c3d 100%);
    color: #ffffff;
}

.orari-tv-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 28px;
    align-items: center;
}

.orari-tv-kicker {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f4d603;
}

.orari-tv-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.08;
    color: #ffffff;
}

.orari-tv-hero-text {
    margin: 0;
    max-width: 720px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.92);
}

.orari-tv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.orari-tv-actions-center {
    justify-content: center;
}

.orari-tv-summary {
    padding: 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-soft);
}

.orari-tv-summary-label {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f4d603;
}

.orari-tv-summary strong {
    display: block;
    font-size: 26px;
    line-height: 1.15;
}

.orari-tv-summary-metrics {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.orari-tv-summary-metrics span {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 14px;
}

.orari-tv-summary-metrics b {
    font-size: 20px;
}

.orari-tv-list-section {
    padding: 34px 0 40px;
}

.orari-tv-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.orari-tv-card,
.orari-tv-empty {
    padding: 24px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.orari-tv-empty {
    text-align: center;
}

.orari-tv-empty h2 {
    margin: 0 0 12px;
    font-size: 32px;
    line-height: 1.15;
    color: #0d3a73;
}

.orari-tv-empty p {
    margin: 0 auto;
    max-width: 620px;
    color: #24364d;
}

.orari-tv-card-top {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
}

.orari-tv-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    border: 2px solid currentColor;
    background: #ffffff;
    color: #9aa6b2;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    box-shadow: none;
}

.orari-tv-avatar.is-available {
    color: #16a34a;
}

.orari-tv-avatar.is-ringing {
    color: #d4a10c;
}

.orari-tv-avatar.is-busy {
    color: #dc2626;
}

.orari-tv-avatar.is-offline {
    color: #9aa6b2;
}

.orari-tv-code {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid rgba(13, 58, 115, 0.18);
    background: #f8fbff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #0d3a73;
}

.orari-tv-card-meta h2 {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    line-height: 1.08;
    color: #0d3a73;
}

.orari-tv-card-meta p {
    margin: 6px 0 0;
    font-size: 14px;
    color: #3d4d63;
}

.orari-tv-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    padding: 10px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.orari-tv-status.is-available {
    background: #e7f9ef;
    color: #008344;
}

.orari-tv-status.is-busy {
    background: #ffe6e3;
    color: #bb1e10;
}

.orari-tv-status.is-ringing {
    background: #fff4ce;
    color: #9b5c00;
}

.orari-tv-status.is-offline {
    background: #eef2f6;
    color: #445266;
}

.orari-tv-status-copy {
    margin: 14px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: #26364e;
}

.orari-tv-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.orari-tv-card-actions .button,
.orari-tv-actions .button {
    min-height: 52px;
    padding: 14px 22px;
    font-size: 17px;
}

.orari-tv-days {
    display: grid;
    gap: 10px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.orari-tv-day {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 56, 113, 0.12);
}

.orari-tv-day:first-child {
    padding-top: 0;
    border-top: 0;
}

.orari-tv-day-name {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000000;
}

.orari-tv-day-value {
    font-size: 14px;
    line-height: 1.6;
    color: #1f2d3f;
}

.section-note {
    margin: 12px 0 0;
    text-align: center;
    font-size: 14px;
    color: #151515;
}

.banner-section {
    padding: 16px 10px;
    border-bottom: var(--border-size) solid var(--border-dark);
}

.banner-container {
    max-width: 920px;
    text-align: center;
}

.banner-container a {
    display: block;
}

.banner-container img {
    margin: 0 auto;
}

.credito-section {
    padding: 20px 0 10px;
    border-bottom: 5px solid var(--red-dark);
    background: linear-gradient(180deg, #fff4cf 0%, #e8bf54 100%);
    text-align: center;
}

.credito-section h3 {
    margin: 20px 0 10px;
    font-size: 26px;
    font-weight: 700;
    color: var(--rose-title);
}

.credito-subtitle {
    margin: 0 0 -10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2a2929;
}

.credito-label {
    margin: 0 0 -12px;
    font-size: 26px;
    font-weight: 600;
    color: #2a2929;
}

.credito-number {
    display: inline-block;
    margin: 0 0 8px;
    font-size: 4rem;
    line-height: 1;
    font-weight: 700;
    color: var(--rose-title);
}

.credito-meta {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 500;
}

.credito-meta.strong {
    font-size: 16px;
    font-weight: 700;
    color: var(--rose-title);
}

.credito-meta-last {
    margin-bottom: 10px;
}

.appuntamenti-section {
    padding: 10px 0 20px;
    border-bottom: var(--border-size) solid var(--border-dark);
    text-align: center;
}

.appuntamenti-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: auto;
    margin-bottom: 18px;
    text-decoration: none;
}

.appuntamenti-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    margin-bottom: 10px;
    border: 6px solid #ffffff;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 6px 0 #9e2f98;
}

.appuntamenti-icon svg {
    width: 58px;
    height: 58px;
}

.appuntamenti-icon rect,
.appuntamenti-icon path {
    fill: none;
    stroke: #9e2f98;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.appuntamenti-word {
    display: block;
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: 0.04em;
    text-shadow:
        -3px -3px 0 #ffffff,
        3px -3px 0 #ffffff,
        -3px 3px 0 #ffffff,
        3px 3px 0 #ffffff,
        0 4px 0 rgba(0, 0, 0, 0.08);
}

.appuntamenti-word-top {
    font-size: clamp(2.1rem, 5vw, 3.3rem);
    color: #2e9e36;
}

.appuntamenti-word-bottom {
    margin-top: 4px;
    font-size: clamp(2.3rem, 5.4vw, 3.8rem);
    color: #9e2f98;
}

.button-appuntamenti {
    display: flex;
    width: fit-content;
    margin: 0 auto;
}

/* Appointment page */
.appointment-page {
    background: #f5f8fc;
}

.appointment-hero {
    padding: 56px 0;
    background: linear-gradient(180deg, #0d3a73 0%, #041c3d 100%);
}

.appointment-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 28px;
    align-items: center;
}

.appointment-logo-large {
    margin-bottom: 24px;
}

.appointment-logo-large .appuntamenti-icon {
    width: 94px;
    height: 94px;
}

.appointment-eyebrow {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f4d46c;
}

.appointment-eyebrow-dark {
    color: #0d3a73;
}

.appointment-hero h1,
.appointment-section h2 {
    margin: 0 0 14px;
    line-height: 1.15;
}

.appointment-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    color: #ffffff;
}

.appointment-intro,
.appointment-highlight-copy {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.92);
}

.appointment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}

.appointment-highlight {
    padding: 28px 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.appointment-highlight-label {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f4d46c;
}

.appointment-highlight-number {
    margin: 0 0 12px;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1;
    font-weight: 800;
    color: #ffffff;
}

.appointment-section {
    padding: 44px 0;
}

.appointment-recharge-section {
    padding-top: 44px;
}

.appointment-recharge-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.appointment-recharge-copy {
    padding-top: 0;
}

.appointment-recharge-copy p {
    margin: 0 0 14px;
    color: #20324a;
}

.appointment-recharge-copy-centered {
    margin: 0 auto 26px;
    text-align: center;
}

.appointment-recharge-copy-centered h1 {
    margin: 0 0 14px;
    line-height: 1.15;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #0d3a73;
}

.appointment-recharge-form {
    max-width: 390px;
    margin: 0 auto;
    text-align: center;
}

.appointment-grid,
.appointment-steps {
    display: grid;
    gap: 20px;
}

.appointment-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.appointment-card,
.appointment-step,
.appointment-cta-box {
    padding: 24px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.appointment-card h2,
.appointment-step h3,
.appointment-cta-box h2 {
    color: #0d3a73;
}

.appointment-section-heading {
    margin-bottom: 20px;
    text-align: center;
}

.appointment-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.appointment-step-index {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #9e2f98;
}

.appointment-cta-section {
    padding-top: 0;
    padding-bottom: 56px;
}

.appointment-cta-box {
    max-width: 840px;
    margin: 0 auto;
    text-align: center;
}

.final-text-section {
    padding: 30px 0;
    border-bottom: var(--border-size) solid var(--border-dark);
    text-align: center;
}

.final-logo {
    width: 260px;
    margin: 0 auto 20px;
}

.final-text-section h2 {
    margin: 0 0 16px;
    font-size: 23px;
    line-height: 32px;
    font-weight: 600;
    color: #0d99ee;
}

.final-copy {
    max-width: 940px;
    margin: 0 auto;
    font-size: 1.7rem;
    line-height: 1.6;
    color: #0a0202;
}

.final-copy a {
    color: inherit;
}

/* Recharge page */
.recharge-page {
    background: #ffffff;
}

.recharge-hero {
    padding: 24px 0 30px;
    text-align: center;
    background-image: url("../img/ricarica-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.recharge-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.recharge-logo {
    width: 300px;
    max-width: 100%;
    margin: 0 auto;
}

.recharge-top-phone {
    margin: 14px 0 4px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.recharge-stars {
    width: 320px;
    max-width: 100%;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}

.recharge-hero-phone-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 14px;
    padding: 12px 22px;
    border: 4px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.38);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.recharge-hero-phone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffe75a 0%, #e0ba16 100%);
    color: #161616;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.recharge-hero-phone-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.recharge-hero-phone-number {
    font-size: clamp(2rem, 4.4vw, 3.2rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffe75a;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.38);
}

.recharge-headline {
    margin: 0;
    font-weight: 700;
}

.recharge-headline-primary {
    font-size: 2rem;
    color: #ff0000;
}

.recharge-headline-secondary {
    font-size: 1.8rem;
    color: #222222;
}

.recharge-headline-tertiary {
    font-size: 2.2rem;
    color: #ff0000;
}

.recharge-body {
    padding: 22px 0 20px;
}

.recharge-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
    gap: 30px;
    align-items: start;
}

.recharge-copy {
    padding-top: 6px;
    text-align: center;
}

.recharge-copy-line {
    margin: 0 0 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff0000;
}

.recharge-payments-title {
    margin: 24px 0 8px;
    font-size: 1rem;
    font-weight: 700;
    color: #202020;
}

.recharge-payments-image {
    width: 320px;
    max-width: 100%;
    margin: 0 auto 18px;
}

.recharge-highlight {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff0000;
}

.recharge-description {
    max-width: 520px;
    margin: 0 auto;
    color: #333333;
}

.recharge-form-column {
    text-align: center;
}

.recharge-form-heading {
    margin-bottom: 6px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #444444;
}

.recharge-form-phone {
    margin-bottom: 18px;
    font-size: 2rem;
    font-weight: 700;
    color: #ff0000;
}

.recharge-form-shell {
    display: flex;
    justify-content: center;
}

.recharge-form-card {
    width: 100%;
    max-width: 390px;
    padding: 18px;
    border-radius: var(--radius-sm);
    background: var(--cyan-panel);
    box-shadow: var(--shadow-form);
    text-align: left;
}

.recharge-form-fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label,
.payment-methods-title {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    line-height: 1.2;
    color: #1f1f1f;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 46px;
    padding: 0 12px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 4px;
    background: #ffffff;
}

.form-group input:focus,
.form-group select:focus {
    outline: 2px solid rgba(0, 107, 186, 0.24);
    outline-offset: 0;
}

.payment-options {
    display: grid;
    gap: 10px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.9);
}

.payment-option input {
    width: 16px;
    height: 16px;
    margin: 0;
    flex: 0 0 auto;
}

.payment-option-media {
    display: flex;
    align-items: center;
    min-height: 28px;
}

.payment-option-media img {
    max-height: 30px;
    width: auto;
}

.recharge-pay-text {
    font-weight: 600;
    color: #1f1f1f;
}

.form-errors {
    min-height: 18px;
    margin-top: 6px;
    color: #7a0018;
    font-size: 13px;
    font-weight: 600;
}

.form-errors:empty {
    display: none;
}

.recharge-after-form {
    margin: 14px 0 0;
    text-align: center;
}

.recharge-after-pay {
    margin: 14px 0 0;
    text-align: center;
    font-weight: 600;
    color: #1f1f1f;
}

.recharge-after-pay a {
    color: #0d3a73;
}

/* Footer */
.site-footer {
    margin-top: 30px;
}

.footer-main {
    padding: 62px 0 78px;
    background: linear-gradient(180deg, #0d3a73 0%, #041c3d 100%);
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1200px;
}

.footer-column h4 {
    margin: 0 0 18px;
    padding-left: 15px;
    border-left: 3px solid #2cf950;
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: #ffffff;
}

.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column li + li {
    margin-top: 8px;
}

.footer-column a {
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.footer-column a:hover {
    color: #ff7f50;
}

.footer-info {
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
}

.footer-bottom {
    padding: 18px 0 24px;
    background: #f4f8fb;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 12px;
}

.footer-company {
    margin-bottom: 14px !important;
    font-size: 13px !important;
    font-weight: 700;
    color: #0f2441;
}

.footer-disclaimer {
    max-width: 980px;
    margin: 0 auto;
}

.footer-disclaimer p {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.7;
    color: #24364d;
}

.footer-disclaimer p:last-child {
    margin-bottom: 0;
}

/* States */
.state-page {
    padding: 40px 0 20px;
}

.state-card .container {
    max-width: 920px;
}

.state-panel {
    padding: 38px 28px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.success-card .state-panel {
    border-top: 6px solid #00a65a;
}

.error-card .state-panel {
    border-top: 6px solid #d64242;
}

.state-kicker {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue-strong);
}

.state-panel h1 {
    margin: 0 0 16px;
    font-size: 34px;
    line-height: 1.2;
}

.state-panel p {
    margin: 0 0 14px;
}

.state-summary {
    margin: 18px auto 24px;
    max-width: 420px;
    padding: 18px;
    border-radius: 12px;
    background: #f6f9fc;
    text-align: left;
}

.state-summary p:last-child {
    margin-bottom: 0;
}

.state-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .offer-phone {
        font-size: 4.8rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .topbar-inner {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        width: 100%;
        display: none;
        margin-left: 0;
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-top: 12px;
    }

    .recharge-grid {
        grid-template-columns: 1fr;
    }

    .appointment-hero-inner,
    .appointment-grid,
    .appointment-steps,
    .orari-tv-hero-inner,
    .orari-tv-grid {
        grid-template-columns: 1fr;
    }

    .recharge-form-column {
        order: 2;
    }

    .recharge-copy {
        order: 1;
    }
}

@media (max-width: 767px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .home-title-section h1,
    .home-title-section h2 {
        font-size: 24px;
        line-height: 1.3;
    }

    .offer-kicker {
        font-size: 1.7rem;
    }

    .offer-price {
        font-size: 2.8rem;
    }

    .offer-phone {
        font-size: 4.8rem;
    }

    .button-call {
        font-size: 16px;
    }

    .button-turni,
    .button-appuntamenti {
        width: 100%;
        max-width: 360px;
        font-size: 20px;
    }

    .orari-tv-card-top {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .orari-tv-status {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .credito-number {
        font-size: 3rem;
    }

    .final-copy {
        font-size: 1.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .status-fallback {
        grid-template-columns: 1fr;
    }

    .state-panel h1 {
        font-size: 28px;
    }
}

@media (max-width: 540px) {
    .container {
        width: min(var(--container-width), calc(100% - 18px));
    }

    .brand {
        gap: 10px;
    }

    .brand img {
        width: 110px;
    }

    .brand-copy strong {
        font-size: 14px;
    }

    .offer-kicker {
        font-size: 1.5rem;
    }

    .offer-price {
        font-size: 2.1rem;
    }

    .offer-phone {
        font-size: 3.4rem;
    }

    .payment-bar img {
        width: 260px;
    }

    .orari-tv-hero,
    .orari-tv-list-section {
        padding-left: 0;
        padding-right: 0;
    }

    .orari-tv-card,
    .orari-tv-empty,
    .orari-tv-summary {
        padding: 18px;
    }

    .orari-tv-card-meta h2,
    .orari-tv-empty h2 {
        font-size: 24px;
    }

    .orari-tv-day {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .orari-tv-card-actions .button,
    .orari-tv-actions .button {
        width: 100%;
    }

    .recharge-logo {
        width: 230px;
    }

    .recharge-stars {
        width: 240px;
    }

    .recharge-hero-phone-badge {
        gap: 12px;
        padding: 10px 16px;
    }

    .recharge-hero-phone-icon {
        width: 48px;
        height: 48px;
    }

    .recharge-hero-phone-icon svg {
        width: 28px;
        height: 28px;
    }

    .recharge-headline-primary {
        font-size: 1.6rem;
    }

    .recharge-headline-secondary {
        font-size: 1.4rem;
    }

    .recharge-headline-tertiary {
        font-size: 1.7rem;
    }

    .state-actions {
        flex-direction: column;
    }
}
