/* ==========================================================================
   Cersaie 2026 Exhibition Page  -  storicoceramica.com/cersaie
   --------------------------------------------------------------------------
   Scoped stylesheet. EVERY rule below is namespaced under `.cersaie-page`
   and uses the `crs-` class prefix, so nothing here can leak into or
   override styless.css / ad-style.css / products1.css or any other page.
   Do not remove the `.cersaie-page` wrapper from cersaie.blade.php.
   ========================================================================== */

.cersaie-page {
    --crs-gold: #f99d1b;
    --crs-ink: #111111;
    --crs-ink-soft: #555555;
    --crs-cream: #f5f3f0;
    --crs-line: rgba(17, 17, 17, .12);
    --crs-line-light: rgba(255, 255, 255, .18);
    --crs-radius: 4px;

    --crs-ff-head: var(--font_Fahkwang, "Fahkwang", sans-serif);
    --crs-ff-body: var(--font_dmsans, "DM Sans", sans-serif);
}

.cersaie-page p,
.cersaie-page li,
.cersaie-page label,
.cersaie-page input,
.cersaie-page select,
.cersaie-page textarea,
.cersaie-page button {
    font-family: var(--crs-ff-body);
}

.cersaie-page h1,
.cersaie-page h2,
.cersaie-page h3,
.cersaie-page h4 {
    font-family: var(--crs-ff-head);
}

/* Shared section rhythm ---------------------------------------------------- */
.cersaie-page .crs-section {
    padding: 110px 0;
}

.cersaie-page .crs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--crs-ff-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--crs-gold);
    margin: 0 0 18px;
}

.cersaie-page .crs-eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--crs-gold);
    flex: 0 0 34px;
}

.cersaie-page .crs-heading {
    font-size: clamp(30px, 3.6vw, 58px);
    line-height: 1.12;
    font-weight: 500;
    letter-spacing: -.5px;
    text-transform: capitalize;
    color: var(--crs-ink);
    margin: 0;
}

.cersaie-page .crs-heading span {
    color: var(--crs-gold);
}

.cersaie-page .crs-lead {
    font-size: 17px;
    line-height: 1.75;
    color: var(--crs-ink-soft);
    margin: 22px 0 0;
    max-width: 780px;
}

/* ==========================================================================
   0. STANDALONE HEADER / FOOTER
   This page has no site menu and no site footer. These two live on
   `.cersaie-body` (the <body> class) because they sit outside `.cersaie-page`.
   ========================================================================== */
.cersaie-body .crs-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    padding: 34px 0;
}

.cersaie-body .crs-header__inner {
    display: flex;
    align-items: center;
}

.cersaie-body .crs-header__logo {
    display: inline-block;
    line-height: 0;
}

.cersaie-body .crs-header__logo img {
    width: auto;
    height: 130px;
    max-width: 100%;
    object-fit: contain;
}

.cersaie-body .crs-footer {
    padding: 14px 0;
    background: #0c0c0c;
}

.cersaie-body .crs-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cersaie-body .crs-footer p {
    margin: 0;
    font-family: var(--font_dmsans, "DM Sans", sans-serif);
    font-size: 14px;
    color: rgba(255, 255, 255, .55);
}

.cersaie-body .crs-footer__links a {
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
}

.cersaie-body .crs-footer__links a:hover {
    color: #f99d1b;
}

.cersaie-body .crs-footer__links span {
    padding: 0 10px;
    color: rgba(255, 255, 255, .3);
}

@media only screen and (max-width: 767px) {
    .cersaie-body .crs-header {
        padding: 24px 0;
    }

    .cersaie-body .crs-header__logo img {
        height: 100px;
    }

    .cersaie-body .crs-footer__inner {
        justify-content: center;
        text-align: center;
        gap: 5px;
    }
}

/* ==========================================================================
   1. HERO
   ========================================================================== */
.cersaie-page .crs-hero {
    position: relative;
    padding: 270px 0 110px;
    background-color: #171717;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.cersaie-page .crs-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .68) 45%, rgba(0, 0, 0, .35) 100%);
}

.cersaie-page .crs-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.cersaie-page .crs-hero__title {
    font-size: clamp(33px, 5.4vw, 66px);
    line-height: 1.04;
    font-weight: 500;
    letter-spacing: -1.5px;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}
@media only screen and (min-width: 1200px) and (max-width: 1600px) {
    .cersaie-page .crs-hero__title {
        font-size: 55px;
    }
}
.cersaie-page .crs-hero__title em {
    font-style: normal;
    color: var(--crs-gold);
}

.cersaie-page .crs-hero__text {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .78);
    margin: 26px 0 0;
}

/* Fact strip (dates / venue / city) */
.cersaie-page .crs-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--crs-line-light);
    border-bottom: 1px solid var(--crs-line-light);
}

.cersaie-page .crs-hero__facts li {
    flex: 1 1 190px;
    padding: 22px 26px 22px 0;
    margin-right: 26px;
    border-right: 1px solid var(--crs-line-light);
}

.cersaie-page .crs-hero__facts li:last-child {
    border-right: 0;
    margin-right: 0;
}

.cersaie-page .crs-hero__facts .k {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--crs-gold);
    margin-bottom: 8px;
}

.cersaie-page .crs-hero__facts .v {
    display: block;
    font-family: var(--crs-ff-head);
    font-size: 18px;
    line-height: 1.4;
    color: #fff;
}

.cersaie-page .crs-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
}

/* ==========================================================================
   2. BUTTONS  (self-contained - does not depend on .rr-btn internals)
   ========================================================================== */
.cersaie-page .crs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 17px 34px;
    border: 1px solid var(--crs-gold);
    border-radius: 100px;
    background: var(--crs-gold);
    color: #111;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.cersaie-page .crs-btn:hover,
.cersaie-page .crs-btn:focus-visible {
    background: transparent;
    color: var(--crs-gold);
}

.cersaie-page .crs-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
}

.cersaie-page .crs-btn--ghost:hover,
.cersaie-page .crs-btn--ghost:focus-visible {
    background: #fff;
    border-color: #fff;
    color: #111;
}

.cersaie-page .crs-btn--dark {
    background: var(--crs-ink);
    border-color: var(--crs-ink);
    color: #fff;
}

.cersaie-page .crs-btn--dark:hover,
.cersaie-page .crs-btn--dark:focus-visible {
    background: transparent;
    color: var(--crs-ink);
}

.cersaie-page .crs-btn i {
    font-size: 15px;
}

.cersaie-page .crs-btn[disabled] {
    opacity: .6;
    pointer-events: none;
}

/* ==========================================================================
   3. MAP  (cream title band + full-bleed route map)
   ========================================================================== */
.cersaie-page .crs-map {
    background: #fff;
}

/* --- Cream band: title left, landmark line-art right --- */
.cersaie-page .crs-map__band {
    padding: 90px 0 0px;
}

.cersaie-page .crs-map__band-inner {
    display: grid;
    grid-template-columns: 40% 60%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
}

.cersaie-page .crs-map__band-text {
    flex: 1 1 420px;
    min-width: 0;
    margin-bottom: 50px;
}

.cersaie-page .crs-map__art {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 34px;
    flex: 0 1 auto;
}

.cersaie-page .crs-map__art img {
    display: block;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* --- Full-bleed route map --- */
.cersaie-page .crs-map__figure {
    position: relative;
}

.cersaie-page .crs-map__scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.cersaie-page .crs-map__scroll img {
    display: block;
    width: 100%;
    height: auto;
}

/* Mobile swipe hint - only shown while the map actually overflows */
.cersaie-page .crs-map__hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 12px 16px;
    font-size: 13px;
    letter-spacing: .4px;
    color: var(--crs-ink-soft);
}

.cersaie-page .crs-map__hint i {
    color: var(--crs-gold);
}

/* ==========================================================================
   4. WHAT YOU CAN EXPLORE  (6 cards)
   ========================================================================== */
.cersaie-page .crs-explore {
    background: #fff;
    padding-bottom: 50px;
}

.cersaie-page .crs-explore__head {
    max-width: 1200px;
    margin-bottom: 60px;
}

.cersaie-page .crs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Image card - rendered as an <a>, so every child is a <span>/<h3> block */
.cersaie-page .crs-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #f5f3f0;
    text-decoration: none;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}


.cersaie-page .crs-card:focus-visible {
    outline: 2px solid var(--crs-gold);
    outline-offset: -2px;
}

.cersaie-page .crs-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #e8e4de;
    aspect-ratio: 4 / 3;
}

.cersaie-page .crs-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cersaie-page .crs-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .32) 0%, rgba(0, 0, 0, 0) 45%);
    pointer-events: none;
}

.cersaie-page .crs-card__num {
    position: absolute;
    top: 18px;
    left: 20px;
    z-index: 2;
    font-family: var(--crs-ff-head);
    font-size: 13px;
    letter-spacing: 1.6px;
    color: #fff;
}

/* Body */
.cersaie-page .crs-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 30px 32px 34px;
}

.cersaie-page .crs-card__title {
    font-size: 20px;
    line-height: 1.35;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: var(--crs-ink);
    margin: 0 0 12px;
}

.cersaie-page .crs-card__text {
    display: block;
    font-size: 15px;
    line-height: 1.72;
    color: var(--crs-ink-soft);
    margin: 0;
}

.cersaie-page .crs-card__link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 22px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--crs-ink);
}

.cersaie-page .crs-card__link i {
    font-size: 14px;
}

.cersaie-page .crs-card:hover .crs-card__link {
    color: var(--crs-gold);
}

.cersaie-page .crs-explore__cta {
    margin-top: 56px;
    text-align: center;
}

/* ==========================================================================
   5. WHY VISIT US
   ========================================================================== */
.cersaie-page .crs-why {
    background: var(--crs-ink);
}

.cersaie-page .crs-why .crs-heading {
    color: #fff;
}

.cersaie-page .crs-why__layout {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 70px;
    align-items: start;
}

.cersaie-page .crs-why__text {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .68);
    margin: 24px 0 0;
}

.cersaie-page .crs-why__list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: crswhy;
}

.cersaie-page .crs-why__list li {
    display: flex;
    gap: 26px;
    padding: 28px 0;
    border-bottom: 1px solid var(--crs-line-light);
}

.cersaie-page .crs-why__list li:first-child {
    padding-top: 0;
}

.cersaie-page .crs-why__list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.cersaie-page .crs-why__list li::before {
    counter-increment: crswhy;
    content: "0" counter(crswhy);
    flex: 0 0 auto;
    font-family: var(--crs-ff-head);
    font-size: 14px;
    letter-spacing: 1.4px;
    color: var(--crs-gold);
    padding-top: 5px;
}

.cersaie-page .crs-why__list h3 {
    font-size: 19px;
    line-height: 1.4;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #fff;
    margin: 0 0 9px;
}

.cersaie-page .crs-why__list p {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, .62);
    margin: 0;
}

/* ==========================================================================
   6. MEETING BOOKING FORM
   ========================================================================== */
.cersaie-page .crs-book {
    background: var(--crs-cream);
}

.cersaie-page .crs-book__layout {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 70px;
    align-items: start;
}

.cersaie-page .crs-book__aside .crs-lead {
    margin-bottom: 34px;
}

.cersaie-page .crs-book__meta {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cersaie-page .crs-book__meta li {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid var(--crs-line);
    font-size: 15px;
    line-height: 1.65;
    color: var(--crs-ink-soft);
}

.cersaie-page .crs-book__meta li:last-child {
    border-bottom: 1px solid var(--crs-line);
}

.cersaie-page .crs-book__meta i {
    color: var(--crs-gold);
    font-size: 17px;
    padding-top: 3px;
}

.cersaie-page .crs-book__meta a {
    color: var(--crs-ink-soft);
    text-decoration: none;
}

.cersaie-page .crs-book__meta a:hover {
    color: var(--crs-gold);
}

.cersaie-page .crs-form {
    padding: 50px;
    background: #fff;
    border-radius: var(--crs-radius);
    box-shadow: 0 18px 60px rgba(17, 17, 17, .08);
}

.cersaie-page .crs-form__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-bottom: 22px;
}

.cersaie-page .crs-field {
    display: flex;
    flex-direction: column;
}

.cersaie-page .crs-field--full {
    grid-column: 1 / -1;
}

.cersaie-page .crs-field label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--crs-ink);
    margin-bottom: 9px;
}

.cersaie-page .crs-field label .req {
    color: var(--crs-gold);
}

.cersaie-page .crs-field input,
.cersaie-page .crs-field textarea {
    width: 100%;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--crs-line);
    border-radius: var(--crs-radius);
    font-size: 15px;
    color: var(--crs-ink);
}

.cersaie-page .crs-field textarea {
    min-height: 110px;
    resize: vertical;
}

.cersaie-page .crs-field input::placeholder,
.cersaie-page .crs-field textarea::placeholder {
    color: #a5a5a5;
}

.cersaie-page .crs-field input:focus,
.cersaie-page .crs-field textarea:focus {
    outline: 0;
    border-color: var(--crs-gold);
    box-shadow: 0 0 0 3px rgba(249, 157, 27, .14);
}

/* Interest checkboxes */
.cersaie-page .crs-interest {
    margin-bottom: 26px;
}

.cersaie-page .crs-interest__opts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cersaie-page .crs-check {
    position: relative;
    display: inline-flex;
    margin: 0;
}

.cersaie-page .crs-check input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cersaie-page .crs-check span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 20px;
    border: 1px solid var(--crs-line);
    border-radius: 100px;
    font-size: 14px;
    color: var(--crs-ink-soft);
    cursor: pointer;
    user-select: none;
}

.cersaie-page .crs-check span::before {
    content: "";
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    border: 1px solid #c4c4c4;
    border-radius: 3px;
}

.cersaie-page .crs-check input:checked + span {
    border-color: var(--crs-gold);
    background: rgba(249, 157, 27, .07);
    color: var(--crs-ink);
}

.cersaie-page .crs-check input:checked + span::before {
    background: var(--crs-gold);
    border-color: var(--crs-gold);
    box-shadow: inset 0 0 0 2px #fff;
}

.cersaie-page .crs-check input:focus-visible + span {
    outline: 2px solid var(--crs-gold);
    outline-offset: 2px;
}

.cersaie-page .crs-form__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
}

.cersaie-page .crs-form__note {
    font-size: 13px;
    line-height: 1.6;
    color: #8c8c8c;
    margin: 0;
    flex: 1 1 220px;
}

/* ==========================================================================
   7. RESPONSIVE
   ========================================================================== */
@media only screen and (max-width: 1399px) {
    .cersaie-page .crs-hero {
        padding: 180px 0 90px;
    }

    .cersaie-page .crs-section {
        padding: 90px 0;
    }

    .cersaie-page .crs-form {
        padding: 40px;
    }

}

@media only screen and (max-width: 1199px) {
    .cersaie-page .crs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cersaie-page .crs-why__layout,
    .cersaie-page .crs-book__layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media only screen and (max-width: 991px) {
    .cersaie-page .crs-hero {
        padding: 170px 0 70px;
        background-position: 70% 100%;
    }

    .cersaie-page .crs-section {
        padding: 70px 0;
    }

    .cersaie-page .crs-card__body {
        padding: 24px 24px 28px;
    }

    .cersaie-page .crs-map__band {
        padding: 70px 0 50px;
    }
    .cersaie-page .crs-map__p {
        margin-bottom: 30px;
    }

}

@media only screen and (max-width: 767px) {
    .cersaie-page .crs-hero__facts li {
        flex: 1 1 100%;
        border-right: 0;
        border-bottom: 1px solid var(--crs-line-light);
        margin-right: 0;
        padding: 16px 0;
    }

    .cersaie-page .crs-hero__facts li:last-child {
        border-bottom: 0;
    }

    .cersaie-page .crs-hero__actions .crs-btn,
    .cersaie-page .crs-form__foot .crs-btn {
        width: 100%;
    }

    .cersaie-page .crs-grid {
        grid-template-columns: 1fr;
    }

    .cersaie-page .crs-form {
        padding: 28px 22px;
    }

    .cersaie-page .crs-form__row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .cersaie-page .crs-map__band {
        padding: 56px 0 0px;
    }

    .cersaie-page .crs-map__band-inner {
        gap: 20px;
        justify-content: end;
    }

    .cersaie-page .crs-map__art {
        justify-content: end;
        gap: 22px;
    }

    /* Keep street labels legible: let the wide map scroll sideways */
    .cersaie-page .crs-map__scroll img {
        width: auto;
        height: 300px;
        max-width: none;
    }

    .cersaie-page .crs-map__hint {
        display: flex;
    }

}

@media only screen and (min-width: 767px) {
    .modal-dialog {
        max-width: 650px;
    }
}
