.form-card .required-star {
    color: #35a854;
    font-size: 1rem;
    font-weight: 800;
}

.required-note {
    margin: 0 0 22px;
    color: #62706f;
    font-size: .78rem;
}

.privacy a {
    color: #278f8a;
    font-weight: 700;
    text-decoration: underline;
}

.footer-bottom > a {
    color: #8ca09e;
    text-decoration: underline;
}

.site-footer .footer-credit a {
    display: inline;
    margin: 0;
    color: inherit;
    font-size: inherit;
    text-decoration: underline;
}

/* Identità del logo: regole esplicite per evitare conflitti nel template. */
.site-header .brand > span:last-child > strong {
    color: #97b236 !important;
}

.site-footer .footer-credit {
    font-size: 12px;
    line-height: 1.5;
}

h1 {
    line-height: 1.1;
}

@media (min-width: 1465px) {
    .hero h1 {
        max-width: 850px;
        font-size: 102px;
    }
}

.site-footer .brand {
    display: flex;
    align-items: center;
    gap: 11px;
    width: fit-content;
    margin: 0;
}

.site-footer .brand strong {
    color: #c8f135;
}

.site-footer .brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: transparent;
    transform: rotate(-14deg);
}

.site-footer .brand-mark i {
    display: block;
    width: 3px;
    height: 20px;
    margin: 0;
    border-radius: 2px;
    background: #c8f135;
}

.site-footer .brand-mark i:nth-child(2) {
    height: 27px;
}

/* Hero interne: stesso gradiente e stessa scala tipografica. */
.page-hero,
.page-hero.hotel-hero {
    background: linear-gradient(120deg, #071719 20%, #12363a);
}

.page-hero h1,
.page-hero.compact h1 {
    max-width: 1000px;
    margin-inline: 0;
    font-size: clamp(3rem, 6vw, 5.5rem);
}

/* Landing SEO */
.seo-hero {
    padding: 78px 0;
    color: #fff;
    background: linear-gradient(120deg, #071719 20%, #12363a);
}

.seo-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: center;
}

.seo-hero h1 {
    max-width: 760px;
    margin-bottom: 28px;
    font-size: clamp(2.8rem, 5vw, 5rem);
}

.seo-hero p {
    max-width: 680px;
    color: #b5c3c1;
    font-size: 1.16rem;
}

.seo-hero figure {
    position: relative;
    margin: 0;
}

.seo-hero figure::after {
    position: absolute;
    right: -14px;
    bottom: -14px;
    z-index: 0;
    width: 42%;
    height: 42%;
    border-radius: 4px;
    background: #c8f135;
    content: "";
}

.seo-hero img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 8px;
    object-fit: cover;
    height: 400px;
}

@media (min-width: 901px) {
    .seo-hero img {
        aspect-ratio: 4 / 1;
        object-position: center;
    }
}

.seo-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 90px;
    align-items: start;
}

.seo-main > section {
    padding: 0 0 55px;
    margin-bottom: 55px;
    border-bottom: 1px solid var(--line);
}

.seo-main > section:last-child {
    margin-bottom: 0;
}

.seo-main h2,
.seo-aside h2,
.seo-faq h2 {
    font-size: clamp(2rem, 3.2vw, 3.2rem);
}

.seo-main ul,
.seo-aside ul {
    padding: 0;
    list-style: none;
}

.seo-main li,
.seo-aside li {
    position: relative;
    padding: 10px 0 10px 24px;
    color: #536163;
}

.seo-main li::before,
.seo-aside li::before {
    position: absolute;
    left: 0;
    color: #278f8a;
    font-weight: 800;
    content: "✓";
}

.seo-aside {
    position: sticky;
    top: 30px;
    padding: 34px;
    border-radius: 12px;
    background: var(--paper);
}

.seo-aside h2 {
    font-size: 1.75rem;
}

.seo-aside .button {
    width: 100%;
    margin-top: 20px;
}

.seo-faq .accordion {
    max-width: 940px;
}

@media (max-width: 900px) {
    .seo-hero-grid,
    .seo-body {
        grid-template-columns: 1fr;
    }

    .seo-hero-grid,
    .seo-body {
        gap: 50px;
    }

    .seo-aside {
        position: static;
    }
}

@media (max-width: 600px) {
    .seo-hero {
        padding: 60px 0;
    }

    .seo-hero figure {
        display: none;
    }
}

/* Indice approfondimenti e collegamenti editoriali */
.resource-group + .resource-group {
    padding-top: 70px;
    margin-top: 70px;
    border-top: 1px solid var(--line);
}

.resource-grid,
.seo-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.resource-grid article,
.seo-related-grid article {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.resource-grid h2 {
    font-size: 1.55rem;
}

.resource-grid h2 a,
.seo-related-grid h3 a {
    color: inherit;
}

.seo-related h2 {
    font-size: clamp(2rem, 3.2vw, 3.2rem);
}

.seo-related-grid h3 {
    font-size: 1.35rem;
}

.seo-related-grid p,
.resource-grid p {
    font-size: .94rem;
}

.seo-all-link {
    display: inline-block;
    margin-top: 28px;
    color: #278f8a;
    font-weight: 700;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .resource-grid,
    .seo-related-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .resource-grid,
    .seo-related-grid {
        grid-template-columns: 1fr;
    }
}
