:root {
    --green: #1f3a32;
    --green-deep: #162a24;
    --thread: #c8a465;
    --mist: #e8ede9;
    --paper: #f6f7f4;
    --ink: #1b2420;
    --ink-soft: #4a5851;
    --line: #cdd6cf;

    --font-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-head: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

    --header-h: 68px;
    --container: 1140px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
    margin: 0 0 .6em;
    font-family: var(--font-head);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.01em;
}

p { margin: 0 0 1em; }

a { color: inherit; }

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

.container {
    width: min(var(--container), 100% - 2.5rem);
    margin-inline: auto;
}

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

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 200;
    padding: .6rem 1rem;
    background: var(--thread);
    color: var(--green-deep);
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(246, 247, 244, .94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
}

.brand {
    font-family: var(--font-head);
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--green);
    text-decoration: none;
}

.nav__list {
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav__link {
    position: relative;
    display: inline-block;
    padding: .4rem 0;
    font-size: .92rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-bottom: 2px dashed var(--thread);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}

.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.nav__link.is-active { color: var(--green); font-weight: 600; }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.logo_unipel{max-width: 200px !important; padding-top: 5%; padding-bottom: 5%;}

.nav-toggle__bar {
    width: 24px;
    height: 2px;
    background: var(--green);
    transition: transform .3s var(--ease), opacity .2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop { display: none; }

/* Hero */

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-content: center;
    min-height: 50vh;
    padding-block: clamp(2.75rem, 7vw, 4.25rem);
    background: linear-gradient(135deg, #370503, #272400);
    color: var(--paper);
    overflow: hidden;
    background-image: url(/img/unipel.jpg) !important;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center !important;
}

.hero-chi-siamo,
.hero-come-aderire {
    position: relative;
    isolation: isolate;
    display: grid;
    align-content: center;
    min-height: 50vh;
    padding-block: clamp(2.75rem, 7vw, 4.25rem);
    background: linear-gradient(135deg, #370503, #272400);
    color: var(--paper);
    overflow: hidden;
    background-image: url(/img/chi-siamo.jpg) !important;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center !important;
}

.hero-come-aderire { background-image: url(/img/come-aderire.jpg) !important; }

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Overlay: cambia i colori/opacità qui */
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(55, 5, 3, .82), rgba(39, 36, 0, .7));
}

.hero__content { position: relative; }

.hero__title {
    margin: 0;
    font-size: clamp(3.6rem, 10.5vw, 5.4rem);
    font-weight: 600;
    animation: rise .8s var(--ease) both;
        font-style: italic;
    text-transform: capitalize;
    font-family: fangsong;
}

.hero__stitch {
    display: block;
    width: 0;
    max-width: 100%;
    height: 0;
    margin-top: 1.1rem;
    border-top: 2px dashed var(--thread);
    animation: stitch 1.1s .35s var(--ease) forwards;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}

@keyframes stitch {
    to { width: 140px; }
}

/* Sezioni */

.section { padding-block: clamp(2.5rem, 5vw, 4rem); }

.intro { text-align: center; }

.intro__inner { max-width: 860px; margin-inline: auto; }

.intro__lead {
    margin-bottom: 1.6rem;
    font-family: var(--font-head);
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    font-weight: 500;
    line-height: 1.3;
    color: var(--green);
}

.btn {
    display: inline-block;
    padding: .85rem 1.9rem;
    font: 600 .95rem/1 var(--font-body);
    color: var(--green-deep);
    background: var(--thread);
    border: 2px solid var(--thread);
    border-radius: 4px;
    text-decoration: none;
    transition: background .25s var(--ease), color .25s var(--ease);
}

.btn:hover { background: transparent; color: var(--green); }

/* Slider */

.numbers {
    padding-block: clamp(2rem, 4vw, 3rem);
    background: var(--mist);
    overflow: hidden;
    background-image: url(/img/E107AUJY.jpg) !important;
    background-repeat: no-repeat;
    background-size: cover;
}

.slider { --slide-w: min(720px, 82vw); }

.slider__track {
    display: flex;
    gap: 1.25rem;
    padding: .75rem calc((100% - var(--slide-w)) / 2);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.slider__track::-webkit-scrollbar { display: none; }

.slide {
    position: relative;
    flex: 0 0 var(--slide-w);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 270px;
    padding: clamp(1.75rem, 4vw, 3rem);
    background: #2b1600;
    color: var(--paper);
    border-radius: 6px;
    scroll-snap-align: center;
    border: 3px dashed #ebe3d5;
}

.slide::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1.5px dashed var(--thread);
    border-radius: 3px;
    opacity: .75;
    pointer-events: none;
}

.js .slide {
    opacity: .45;
    transform: scale(.94);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.js .slide.is-active { opacity: 1; transform: none; }

.slide__prefix {
    font-size: .95rem;
    font-weight: 500;
    color: var(--thread);
}

.slide__figure {
    margin: 0;
    font-family: var(--font-head);
    font-size: clamp(3.6rem, 10vw, 6.2rem);
    font-weight: 700;
    line-height: 1;
    color: var(--thread);
}

.slide__text {
    max-width: 30ch;
    margin: .7rem 0 0;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.5;
}

.slider__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1rem;
}

.slider__btn {
display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
        color: #000000 !important;
    background: #c8a465;
    border: 2.5px dashed #000000;
    border-radius: 50%;
    cursor: pointer;
    transition: background .25s var(--ease), color .25s var(--ease);
}

.slider__btn:hover { background: white; color: #2b1600 !important; }

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

.slider__dots { display: flex; gap: .4rem; }

.slider__dot {
    position: relative;
    width: 28px;
    height: 28px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
}

.slider__dot::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    background: var(--line);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width .4s var(--ease), background .3s;
}

.slider__dot[aria-current="true"]::before {
    width: 24px;
    border-radius: 5px;
        background: #b28c55;
    border: 1px solid #2b1600;
}

/* Pilastri */

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.pillar { padding: .25rem clamp(1.25rem, 3vw, 2.25rem); }

.pillar:first-child { padding-left: 0; }
.pillar:last-child  { padding-right: 0; }

.pillar + .pillar { border-left: 2px dashed var(--thread); }

.pillar__title {
    font-size: clamp(1.7rem, 2.6vw, 2.1rem);
    color: var(--green);
}

.pillar p {
    margin: 0;
    color: var(--ink-soft);
}

/* Footer */

.site-footer {
    background: #2b1600;
    color: #dfe5e0;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
    padding-block: clamp(2.25rem, 5vw, 3.25rem);
}

.site-footer__title {
    margin-bottom: .8rem;
    font-size: 1.6rem;
    color: var(--paper);
}

.info-list {
    display: grid;
    gap: .55rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .95rem;
}

.info-list li {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: .25rem 0;
}

.info-list__label {
    font-weight: 600;
    color: var(--thread);
}

.info-list__value { display: block; }

.info-list a { text-decoration: none; border-bottom: 1px solid rgba(200, 164, 101, .5); }
.info-list a:hover { color: var(--thread); }

.site-footer__bottom {
    padding-block: 1rem;
    border-top: 1px dashed rgba(200, 164, 101, .45);
    font-size: .85rem;
    color: #aab6ae;
}

.site-footer__bottom p { margin: 0; }

/* Responsive */

@media (max-width: 900px) {
    .pillars { grid-template-columns: 1fr; gap: 1.5rem; }
    .pillar,
    .pillar:first-child,
    .pillar:last-child { padding: 0; }
    .pillar + .pillar { padding-top: 1.5rem; border-left: 0; border-top: 2px dashed var(--thread); }
}

@media (max-width: 760px) {
    /* backdrop-filter creerebbe un containing block per il nav fixed */
    .site-header { backdrop-filter: none; }

    html.nav-open { overflow: hidden; }

    .js .nav-toggle {
        display: flex;
        position: relative;
        z-index: 130;
    }

    .js .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 110;
        background: rgba(22, 42, 36, .55);
        opacity: 0;
        visibility: hidden;
        transition: opacity .35s var(--ease), visibility 0s .35s;
    }

    .js .nav-backdrop.is-open {
        opacity: 1;
        visibility: visible;
        transition: opacity .35s var(--ease);
    }

    /* Pannello da destra verso sinistra */
    .js .nav {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 120;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: min(320px, 82vw);
        height: 100vh;
        height: 100dvh;
        padding: calc(var(--header-h) + 1rem) 2rem 2rem;
        background: var(--paper);
        box-shadow: -12px 0 32px rgba(0, 0, 0, .18);
        text-align: center;
        overflow-y: auto;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .4s var(--ease), visibility 0s .4s;
    }

    .js .nav.is-open {
        transform: none;
        visibility: visible;
        transition: transform .4s var(--ease);
    }

    /* Cornice tratteggiata decorativa */
    .js .nav::before {
        content: "";
        position: absolute;
        inset: 10px;
        border: 1.5px dashed var(--thread);
        border-radius: 3px;
        opacity: .75;
        pointer-events: none;
    }

    .nav__list {
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
    }

    /* Trattini decorativi sopra e sotto la lista */
    .js .nav__list::before,
    .js .nav__list::after {
        content: "";
        display: block;
        width: 56px;
        margin-inline: auto;
        border-top: 0px dashed var(--thread);
    }
    .js .nav__list::before { margin-bottom: 0; }
    .js .nav__list::after  { margin-top: 0; }

    .nav__list li { width: 100%; padding-block: .8rem; }
    .nav__list li + li { border-top: 0; }

    .nav__link { display: inline-block; padding: .3rem 0; font-size: 1.1rem; }

    .site-footer__inner { grid-template-columns: 1fr; gap: 1.75rem; }

    .slide { min-height: 240px; }
}

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-delay: 0s !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }

    .hero__stitch { width: 140px; }
}

.info-list__line { display: block; }
/* Chi siamo */

.split {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
}

.about__lead {
    margin: 0;
    font-family: var(--font-head);
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 500;
    line-height: 1.3;
    color: #482b14;
}

.about__text {
    margin: 0;
    padding-left: clamp(1.25rem, 3vw, 2.25rem);
    border-left: 2px dashed var(--thread);
    font-size: 1.05rem;
    color: var(--ink-soft);
}

.facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: clamp(1.75rem, 4vw, 2.75rem) 0 0;
    padding: 1.5rem 0;
    list-style: none;
    text-align: center;
    border-block: 5px dashed var(--thread);
}

.fact {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding-inline: 1rem;
}

.fact + .fact { border-left: 2px dashed var(--thread); }

.fact__figure {
    font-family: var(--font-head);
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1;
    color: #2b1600;
}

.fact__figure small {
    font-family: var(--font-body);
    font-size: .85rem;
    font-weight: 500;
    color: var(--ink-soft);
}

.fact__label {
    font-size: .95rem;
    color: var(--ink-soft);
}

.quote {
    padding-block: clamp(2rem, 4vw, 3rem);
    background: var(--mist);
}

.quote__box {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 3.5rem);
    background: #2b1600;
    color: var(--paper);
    text-align: center;
    border: 3px dashed #ebe3d5;
    border-radius: 6px;
}

.quote__box::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1.5px dashed var(--thread);
    border-radius: 3px;
    opacity: .75;
    pointer-events: none;
}

.quote__box p {
    margin: 0;
    font-family: var(--font-head);
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1.35;
}

.duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 1.05rem;
    align-items: center;
}

.duo p {
    margin: 0;
    padding-inline: clamp(1.25rem, 3vw, 2.25rem);
}

.duo p:first-child { padding-left: 0; }
.duo p:last-child  { padding-right: 0; border-left: 2px dashed var(--thread); }

.contracts { background: var(--mist); }

.section-title {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #482b14;
}

.contracts__intro,
.contracts__label,
.callout { max-width: 78ch; }

.contracts__label {
    margin: 1.5rem 0 0;
    font-weight: 600;
    color: #482b14;
}

.contract-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-block: 1rem 2rem;
}

.contract {
    position: relative;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.contract::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1.5px dashed var(--thread);
    border-radius: 3px;
    opacity: .8;
    pointer-events: none;
}

.contract__title {
    margin-bottom: 1.1rem;
    font-size: clamp(1.4rem, 2.2vw, 1.7rem);
    color: var(--green);
}

.contract__codes, .contract__codes_1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.contract__codes, .contract__codes_1 dt {
    font-size: .78rem;
    line-height: 1.35;
    color: var(--ink-soft);
}

.contract__codes dd {
    margin: .2rem 0 0;
    font-family: var(--font-head);
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1;
    color: #2b1600;
}

.contract__codes_1 dd {
    margin: .2rem 0 0;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    color: #2b1600;
}

.callout {
    margin: 0;
    padding-left: clamp(1.25rem, 3vw, 2rem);
    border-left: 5px dashed #2b1600;
    font-size: 1.1rem;
}

@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; align-items: start; }

    .about__text {
        padding: 1.25rem 0 0;
        border-left: 0;
        border-top: 2px dashed var(--thread);
    }

    .duo { grid-template-columns: 1fr; gap: 1.5rem; }
    .duo p,
    .duo p:first-child,
    .duo p:last-child { padding: 0; }
    .duo p:last-child { padding-top: 1.5rem; border-left: 0; border-top: 2px dashed var(--thread); }
}

@media (max-width: 760px) {
    .contract-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .facts { grid-template-columns: 1fr; gap: 1.25rem; }
    .fact { padding-inline: 0; }
    .fact + .fact { padding-top: 1.25rem; border-left: 0; border-top: 2px dashed var(--thread); }
}
/* Come aderire */

.why {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
    gap: clamp(1.5rem, 5vw, 4rem);
}

.why__title {
    margin: 0;
    padding-right: clamp(1.25rem, 3vw, 2.25rem);
    border-right: 2px dashed var(--thread);
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    color: color: #2b1600;
}

.why__body p {
    margin: 0 0 1.1rem;
    font-size: 1.05rem;
}

.why__body .callout { margin: 1.5rem 0 0; }

.download {
    padding-block: clamp(2rem, 4vw, 3rem);
    background: var(--mist);
}

.download__box {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    padding: clamp(2rem, 5vw, 3.5rem);
    background: #2b1600;
    color: var(--paper);
    border: 3px dashed #ebe3d5;
    border-radius: 6px;
}

.download__box::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1.5px dashed var(--thread);
    border-radius: 3px;
    opacity: .75;
    pointer-events: none;
}

.download__title {
    margin-bottom: .8rem;
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    color: var(--paper);
}

.download__text {
    max-width: 62ch;
    margin: 0;
    color: #e6dccd;
}

.download__text a {
    color: var(--thread);
    text-underline-offset: 3px;
}

.btn--icon {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    white-space: nowrap;
}

.btn--icon svg { width: 18px; height: 18px; }

.download .btn:hover { color: var(--thread); }

@media (max-width: 900px) {
    .why { grid-template-columns: 1fr; gap: 1.25rem; }

    .why__title {
        padding: 0 0 1.25rem;
        border-right: 0;
        border-bottom: 2px dashed var(--thread);
    }
}

@media (max-width: 760px) {
    .download__box { grid-template-columns: 1fr; }
}

.hero__stitch_2 {
    display: block;
    width: 0;
    max-width: 100%;
    height: 0;
    margin-top: 1.1rem;
    border-top: 2px dashed #ffffff;
    animation: stitch 1.1s .35s var(--ease) forwards;
}

/* Modulo contatti */

.contact { scroll-margin-top: calc(var(--header-h) + 1rem); }

.contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: start;
}

.contact__head {
    padding-right: clamp(1.25rem, 3vw, 2.25rem);
    border-right: 2px dashed var(--thread);
}

.contact__head p { margin: 0; color: var(--ink-soft); }

.contact-form {
    position: relative;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.contact-form::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1.5px dashed var(--thread);
    border-radius: 3px;
    opacity: .8;
    pointer-events: none;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 1.25rem;
}

.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }

.field label {
    font-size: .85rem;
    font-weight: 600;
    color: #482b14;
}

.field__req { color: #8a2b14; }

.field input,
.field textarea {
    width: 100%;
    padding: .75rem .9rem;
    font: inherit;
    font-size: .95rem;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 4px;
    transition: border-color .25s var(--ease), background .25s var(--ease);
}

.field input:focus,
.field textarea:focus { background: #fff; border-color: var(--thread); }

.field [aria-invalid="true"] { border-color: #a33a1f; }

.field textarea { min-height: 9rem; resize: vertical; }

.contact-form__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 1.5rem;
}

.contact-form .btn { cursor: pointer; }

.contact-form__note { font-size: .82rem; color: var(--ink-soft); }

.contact-form__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-alert {
    position: relative;
    margin: 0 0 1.25rem;
    padding: .9rem 1.1rem;
    font-size: .95rem;
    border-left: 5px dashed var(--green);
    background: var(--mist);
}

.form-alert ul { margin: 0; padding-left: 1.1rem; }

.form-alert--error { border-left-color: #a33a1f; background: #fbeee9; }

@media (max-width: 900px) {
    .contact__grid { grid-template-columns: 1fr; gap: 1.25rem; }

    .contact__head {
        padding: 0 0 1.25rem;
        border-right: 0;
        border-bottom: 2px dashed var(--thread);
    }
}

@media (max-width: 640px) {
    .contact-form__grid { grid-template-columns: 1fr; }
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1.25rem;
    margin: .75rem 0 0;
    font-size: .85rem;
}