/* =========================================================
   CAMMINARE IN TOSCANA
   Main stylesheet
   ========================================================= */

:root {
    --cit-green: #55b536;
    --cit-green-dark: #397f29;
    --cit-orange: #e86732;
    --cit-orange-dark: #c94f20;
    --cit-dark: #243126;
    --cit-text: #485249;
    --cit-light: #f7f5ef;
    --cit-white: #ffffff;
    --cit-border: #e5e7e2;
    --cit-radius: 18px;
    --cit-shadow: 0 12px 35px rgba(30, 50, 32, .10);
    --cit-container: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--cit-dark);
    background: var(--cit-white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 Helvetica, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

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


/* HEADER */

.cit-header {
    position: relative;
    z-index: 100;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid rgba(0,0,0,.05);
}

.cit-header-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.cit-logo {
    flex: 0 0 auto;
}

.cit-logo img {
    width: 250px;
    height: auto;
}

.cit-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 27px;
    margin-left: auto;
}

.cit-nav a,
.cit-login {
    font-size: 15px;
    font-weight: 650;
    transition: color .2s ease;
}

.cit-nav a:hover,
.cit-login:hover {
    color: var(--cit-orange);
}

.cit-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cit-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 23px;
    border: 0;
    border-radius: 999px;
    font-weight: 750;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.cit-btn:hover {
    transform: translateY(-2px);
}

.cit-btn-guide {
    color: white;
    background: var(--cit-orange);
}

.cit-btn-guide:hover {
    background: var(--cit-orange-dark);
}

.cit-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.cit-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background: var(--cit-dark);
}


/* HERO */

.cit-hero {
    position: relative;
    min-height: 660px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(120deg, #315d34 0%, #6b9145 48%, #d1a968 100%);
}

.cit-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.14), transparent 30%),
        radial-gradient(circle at 70% 90%, rgba(255,210,120,.16), transparent 35%);
}

.cit-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(21,45,26,.82) 0%,
        rgba(21,45,26,.55) 50%,
        rgba(21,45,26,.10) 100%
    );
}

.cit-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 75px;
    padding-bottom: 75px;
}

.cit-eyebrow,
.cit-kicker {
    display: block;
    margin-bottom: 13px;
    color: var(--cit-orange);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .16em;
}

.cit-hero .cit-eyebrow {
    color: #f3a178;
}

.cit-hero h1 {
    max-width: 760px;
    margin: 0;
    color: white;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(50px, 6vw, 82px);
    line-height: .98;
    letter-spacing: -.04em;
}

.cit-hero-content > p {
    max-width: 610px;
    margin: 27px 0 35px;
    color: rgba(255,255,255,.88);
    font-size: 20px;
}


/* SEARCH */

.cit-search {
    width: min(100%, 1040px);
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr auto;
    align-items: end;
    gap: 5px;
    padding: 8px;
    background: white;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,.22);
}

.cit-search-field {
    padding: 7px 15px;
    border-right: 1px solid var(--cit-border);
}

.cit-search-field label {
    display: block;
    margin-bottom: 2px;
    color: var(--cit-dark);
    font-size: 12px;
    font-weight: 800;
}

.cit-search-field input,
.cit-search-field select {
    width: 100%;
    height: 34px;
    padding: 0;
    color: var(--cit-text);
    background: transparent;
    border: 0;
    outline: none;
}

.cit-btn-search {
    min-height: 60px;
    padding: 0 28px;
    color: white;
    background: var(--cit-orange);
    border-radius: 13px;
}

.cit-btn-search:hover {
    background: var(--cit-orange-dark);
}


/* SECTIONS */

.cit-section {
    padding: 95px 0;
}

.cit-section-soft {
    background: var(--cit-light);
}

.cit-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 40px;
}

.cit-section-heading h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.05;
    letter-spacing: -.03em;
}

.cit-section-heading p {
    max-width: 650px;
    margin: 13px 0 0;
    color: var(--cit-text);
    font-size: 17px;
}

.cit-text-link {
    flex: 0 0 auto;
    color: var(--cit-green-dark);
    font-weight: 750;
}

.cit-text-link:hover {
    color: var(--cit-orange);
}


/* ESCURSIONI */

.cit-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.cit-experience-card {
    overflow: hidden;
    background: white;
    border: 1px solid var(--cit-border);
    border-radius: var(--cit-radius);
    box-shadow: 0 6px 25px rgba(0,0,0,.04);
    transition: transform .25s ease, box-shadow .25s ease;
}

.cit-experience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--cit-shadow);
}

.cit-card-image {
    position: relative;
    height: 245px;
}

.cit-placeholder {
    background-size: cover;
    background-position: center;
}

.cit-placeholder.apuane {
    background:
        linear-gradient(150deg, rgba(30,80,40,.1), rgba(10,30,20,.35)),
        linear-gradient(135deg, #77965d, #c6b184);
}

.cit-placeholder.valdorcia {
    background:
        linear-gradient(150deg, rgba(80,50,20,.08), rgba(40,25,10,.25)),
        linear-gradient(135deg, #c7a866, #79965d);
}

.cit-placeholder.casentino {
    background:
        linear-gradient(150deg, rgba(20,60,30,.08), rgba(10,30,20,.30)),
        linear-gradient(135deg, #3f7045, #b18145);
}

.cit-card-badge {
    position: absolute;
    top: 17px;
    left: 17px;
    padding: 7px 12px;
    color: white;
    background: rgba(25,45,28,.75);
    backdrop-filter: blur(6px);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 750;
}

.cit-card-body {
    padding: 23px;
}

.cit-date {
    margin-bottom: 8px;
    color: var(--cit-orange);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .09em;
}

.cit-card-body h3 {
    min-height: 56px;
    margin: 0 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1.16;
}

.cit-features {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    padding-bottom: 19px;
    color: var(--cit-text);
    font-size: 13px;
    border-bottom: 1px solid var(--cit-border);
}

.cit-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 17px;
}

.cit-card-footer strong {
    margin-left: 4px;
    font-size: 24px;
}

.cit-card-footer small {
    color: #707970;
}

.cit-card-footer a {
    color: var(--cit-green-dark);
    font-weight: 800;
}


/* DESTINAZIONI */

.cit-destination-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.cit-destination {
    position: relative;
    height: 250px;
    display: flex;
    align-items: end;
    overflow: hidden;
    padding: 24px;
    border-radius: var(--cit-radius);
    transition: transform .25s ease;
}

.cit-destination:hover {
    transform: translateY(-4px);
}

.cit-destination::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(20,35,22,.72), transparent 70%);
}

.cit-destination span {
    position: relative;
    z-index: 1;
    color: white;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 700;
}

.dest-apuane {
    background: linear-gradient(135deg, #597955, #a7a77d);
}

.dest-garfagnana {
    background: linear-gradient(135deg, #386743, #8aa366);
}

.dest-valdorcia {
    background: linear-gradient(135deg, #b49150, #6e914f);
}

.dest-casentino {
    background: linear-gradient(135deg, #315d3c, #887b4e);
}

.dest-maremma {
    background: linear-gradient(135deg, #7a9254, #b88d53);
}

.dest-elba {
    background: linear-gradient(135deg, #368b91, #88b08a);
}


/* TIPOLOGIE */

.cit-type-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.cit-type-grid a {
    min-height: 145px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 13px;
    padding: 20px;
    background: var(--cit-light);
    border-radius: 16px;
    transition: background .2s ease, transform .2s ease;
}

.cit-type-grid a:hover {
    background: #edf3e8;
    transform: translateY(-3px);
}

.cit-type-grid span {
    font-size: 32px;
}

.cit-type-grid strong {
    font-size: 15px;
}


/* CTA GUIDE */

.cit-guide-cta {
    padding: 85px 0;
    color: white;
    background: var(--cit-green-dark);
}

.cit-guide-cta-inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 80px;
}

.cit-kicker-light {
    color: #bddd9d;
}

.cit-guide-cta h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.05;
}

.cit-guide-cta p {
    max-width: 610px;
    margin: 20px 0 0;
    color: rgba(255,255,255,.80);
    font-size: 18px;
}

.cit-guide-offer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.cit-guide-offer > div {
    min-height: 115px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 15px;
}

.cit-guide-offer strong {
    font-size: 29px;
}

.cit-guide-offer span {
    color: rgba(255,255,255,.75);
    font-size: 12px;
}

.cit-btn-light {
    grid-column: 1 / -1;
    color: var(--cit-dark);
    background: white;
}

.cit-btn-light:hover {
    color: white;
    background: var(--cit-orange);
}


/* MAGAZINE */

.cit-magazine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.cit-magazine-grid article {
    padding-top: 25px;
    border-top: 3px solid var(--cit-green);
}

.cit-magazine-grid article > span {
    color: var(--cit-orange);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .1em;
}

.cit-magazine-grid h3 {
    margin: 10px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    line-height: 1.15;
}

.cit-magazine-grid p {
    color: var(--cit-text);
}

.cit-magazine-grid a {
    color: var(--cit-green-dark);
    font-weight: 800;
}


/* FOOTER */

.cit-footer {
    color: rgba(255,255,255,.75);
    background: #1d2b20;
}

.cit-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    padding-top: 70px;
    padding-bottom: 60px;
}

.cit-footer-brand img {
    width: 260px;
    margin-bottom: 22px;
    background: white;
    padding: 8px;
    border-radius: 8px;
}

.cit-footer-brand p {
    max-width: 330px;
}

.cit-footer h3 {
    margin: 0 0 17px;
    color: white;
    font-size: 15px;
}

.cit-footer-grid > div:not(:first-child) {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cit-footer a:hover {
    color: white;
}

.cit-footer-bottom {
    padding: 19px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: 13px;
}

.cit-footer-bottom p {
    margin: 0;
}


/* TABLET */

@media (max-width: 1050px) {

    .cit-nav {
        gap: 16px;
    }

    .cit-logo img {
        width: 210px;
    }

    .cit-header-actions .cit-login {
        display: none;
    }

    .cit-search {
        grid-template-columns: 1fr 1fr;
    }

    .cit-search-field {
        border-right: 0;
    }

    .cit-btn-search {
        min-height: 54px;
    }

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

    .cit-guide-cta-inner {
        gap: 40px;
    }

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


/* MOBILE */

@media (max-width: 820px) {

    .cit-container {
        width: min(calc(100% - 30px), var(--cit-container));
    }

    .cit-header-inner {
        min-height: 76px;
    }

    .cit-logo img {
        width: 205px;
    }

    .cit-menu-toggle {
        display: block;
        margin-left: auto;
    }

    .cit-nav {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 15px 20px 25px;
        background: white;
        box-shadow: 0 20px 30px rgba(0,0,0,.1);
    }

    .cit-nav.is-open {
        display: flex;
    }

    .cit-nav a {
        padding: 13px 5px;
        border-bottom: 1px solid var(--cit-border);
    }

    .cit-header-actions {
        display: none;
    }

    .cit-hero {
        min-height: 650px;
    }

    .cit-hero h1 {
        font-size: clamp(45px, 13vw, 65px);
    }

    .cit-hero-content > p {
        font-size: 18px;
    }

    .cit-search {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .cit-search-field {
        padding: 8px 12px;
        border-bottom: 1px solid var(--cit-border);
    }

    .cit-section {
        padding: 70px 0;
    }

    .cit-section-heading {
        align-items: start;
        flex-direction: column;
    }

    .cit-card-grid,
    .cit-destination-grid,
    .cit-magazine-grid {
        grid-template-columns: 1fr;
    }

    .cit-destination {
        height: 210px;
    }

    .cit-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cit-guide-cta-inner {
        grid-template-columns: 1fr;
    }

    .cit-guide-offer {
        grid-template-columns: 1fr 1fr 1fr;
    }

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

    .cit-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {

    .cit-logo img {
        width: 185px;
    }

    .cit-hero {
        min-height: 720px;
    }

    .cit-guide-offer {
        grid-template-columns: 1fr;
    }

    .cit-btn-light {
        grid-column: auto;
    }

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

    .cit-footer-brand {
        grid-column: auto;
    }
}

/* Logo header */
.cit-header .cit-logo img {
    width: 240px;
    height: auto;
    max-width: none;
}

@media (max-width: 820px) {
    .cit-header .cit-logo img {
        width: 185px;
    }
}

/* Destinazione Valleriana */
.dest-valleriana {
    background:
        linear-gradient(135deg, rgba(31, 77, 42, .88), rgba(112, 137, 65, .60));
}
