/* ===========================================================
   Terrazza Marconi - pagina Capodanno al Mare 2027 come landing
   per Google Ads: stesso layout delle altre pagine pacchetto
   (tm-pacchetto.css) + sezione finale con il form di richiesta
   e blocco FAQ. Caricato DOPO tm-custom.css e tm-pacchetto.css.
   =========================================================== */
:root {
    --ld-navy: #15213f;
    --ld-navy-2: #2F4C9B;
    --ld-gold: #CCAA5C;
    --ld-gold-2: #AA8453;
    --ld-sand: #FFFAF4;
    --ld-ink: #1C1C1C;
    --ld-text: #434343;
    --ld-line: #e6dccb;
}

/* ---------- FAQ nel corpo pagina ---------- */
.tm-pkg-faq {
    margin: 0 0 10px;
    border-top: 1px solid var(--ld-line);
}
.tm-pkg-faq dt {
    font-size: 18px;
    font-weight: 600;
    color: var(--ld-ink);
    padding: 18px 0 6px;
}
.tm-pkg-faq dd {
    margin: 0;
    padding: 0 0 18px;
    color: var(--ld-text);
    line-height: 1.7;
    border-bottom: 1px solid var(--ld-line);
}
.tm-pkg-note p b {
    font-weight: 600;
}

/* ---------- sezione finale con il form ---------- */
.tm-ld-formsec {
    background: var(--ld-navy);
    color: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.tm-ld-formsec::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/tm/offerte/capodanno-stelline.jpg") center / cover no-repeat;
    opacity: .16;
    pointer-events: none;
}
.tm-ld-formsec .container {
    position: relative;
}
.tm-ld-formsec-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    gap: 64px;
    align-items: center;
}
.tm-ld-formsec-text h2 {
    color: #fff;
    font-size: clamp(32px, 3.6vw, 48px);
    line-height: 1.08;
    margin-bottom: 16px;
    text-wrap: balance;
}
.tm-ld-formsec-text > p {
    color: rgba(255, 255, 255, .84);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 26px;
}
.tm-ld-points {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: grid;
    gap: 12px;
}
.tm-ld-points li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 17px;
    color: #fff;
}
.tm-ld-points li > span {
    flex: 1;
}
.tm-ld-points i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(204, 170, 92, .18);
    color: var(--ld-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex: 0 0 auto;
    margin-top: 1px;
}
.tm-ld-points a {
    color: var(--ld-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.tm-ld-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.tm-ld-price em {
    font-style: normal;
    font-size: 13px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
}
.tm-ld-price strong {
    font-size: 46px;
    line-height: 1;
    color: var(--ld-gold);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.tm-ld-price span {
    font-size: 15px;
    color: rgba(255, 255, 255, .8);
}

/* ---------- form ---------- */
.tm-ld-form-card {
    background: #fff;
    color: var(--ld-ink);
    border-radius: 18px;
    padding: 34px 32px 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.tm-ld-form-card h2 {
    font-size: 26px;
    margin-bottom: 6px;
    color: var(--ld-ink);
}
.tm-ld-form-card > p {
    font-size: 14px;
    color: #6b6257;
    margin-bottom: 20px;
}
.tm-ld-form .row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.tm-ld-form label {
    display: block;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8a8176;
    margin: 0 0 6px;
}
.tm-ld-form .fld {
    margin-bottom: 14px;
}
.tm-ld-form input[type="text"],
.tm-ld-form input[type="email"],
.tm-ld-form input[type="tel"],
.tm-ld-form textarea {
    width: 100%;
    height: 48px;
    border: 1px solid var(--ld-line);
    border-radius: 10px;
    background: var(--ld-sand);
    padding: 0 14px;
    font-size: 15px;
    color: var(--ld-ink);
    transition: border-color .25s ease, box-shadow .25s ease;
}
.tm-ld-form textarea {
    height: 96px;
    padding: 12px 14px;
    resize: vertical;
}
.tm-ld-form input:focus,
.tm-ld-form textarea:focus {
    outline: none;
    border-color: var(--ld-navy-2);
    box-shadow: 0 0 0 3px rgba(47, 76, 155, .12);
}
/* le select sono trasformate dal tema con nice-select (main.js) */
.tm-ld-form .nice-select {
    float: none;
    width: 100%;
    height: 48px;
    line-height: 46px;
    padding: 0 36px 0 14px;
    border: 1px solid var(--ld-line);
    border-radius: 10px;
    background: var(--ld-sand);
    color: var(--ld-ink);
    font-family: inherit;
    font-size: 15px;
}
.tm-ld-form .nice-select:after {
    border-color: var(--ld-gold-2);
    right: 16px;
    width: 7px;
    height: 7px;
}
.tm-ld-form .nice-select.open,
.tm-ld-form .nice-select:focus {
    border-color: var(--ld-navy-2);
    box-shadow: 0 0 0 3px rgba(47, 76, 155, .12);
}
.tm-ld-form .nice-select .list {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .14);
}
.tm-ld-form .nice-select .option {
    font-size: 15px;
    line-height: 40px;
    min-height: 40px;
    padding-left: 14px;
}
.tm-ld-form .nice-select .option.selected {
    font-weight: 600;
}
.tm-ld-form .tm-privacy-check {
    margin: 4px 0 16px;
    color: var(--ld-text);
}
.tm-ld-form .tm-btn-primary {
    width: 100%;
    background: var(--ld-navy-2);
    color: #fff;
}
.tm-ld-form .tm-btn-primary:hover {
    background: #243D7E;
}
.tm-ld-form .tm-btn-primary.is-busy {
    opacity: .7;
    pointer-events: none;
}
.tm-ld-form input:focus-visible,
.tm-ld-form textarea:focus-visible,
.tm-ld-form button:focus-visible,
.tm-ld-formsec a:focus-visible {
    outline: 2px solid var(--ld-gold);
    outline-offset: 3px;
}
.tm-ld-feedback {
    display: none;
    margin: 12px 0 0;
    font-size: 14px;
}
.tm-ld-feedback.ko {
    display: block;
    color: #c62828;
}
.tm-ld-form-note {
    margin: 14px 0 0;
    font-size: 12px;
    color: #8a8176;
    text-align: center;
}
.tm-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.tm-ld-formsec ::selection {
    background: rgba(204, 170, 92, .45);
    color: #fff;
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
    .tm-ld-formsec-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .tm-ld-formsec {
        padding: 70px 0;
    }
}
@media (max-width: 575px) {
    .tm-ld-form .row-2 {
        grid-template-columns: 1fr;
    }
    .tm-ld-form-card {
        padding: 26px 20px 22px;
    }
    .tm-ld-price strong {
        font-size: 38px;
    }
    .tm-ld-formsec .tm-btn-primary {
        width: 100%;
    }
}
