/* Ischia thermal landing — read on a phone, mostly by people over 65.
   Two rules govern the whole file: nothing smaller than 17px, nothing to tap
   smaller than 56px. The palette is the portal's (CSS variables with fallback). */
.landing-cure {
  --thermal-muted: #4d555d;
  --thermal-border: #d3ddeb;
  color: #22272e;
  background: #fff;
  font-family: inherit;
  font-size: 20px;
  line-height: 1.55;
  overflow-wrap: break-word;
}
/* The fixed contact bar must never cover the last line of the page. */
body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.landing-cure * { box-sizing: border-box; }
.landing-cure [hidden] { display: none !important; }
.landing-cure h1, .landing-cure h2, .landing-cure h3 { color: var(--primary, #1e3c72); line-height: 1.2; font-weight: 700; }
.landing-cure h1 { font-size: clamp(33px, 4vw, 48px); margin: 0 0 18px; letter-spacing: -.015em; }
.landing-cure h1 em { font-style: normal; color: var(--accent, #f5a623); }
.landing-cure h2 { font-size: clamp(28px, 3vw, 36px); margin: 0 0 14px; letter-spacing: -.01em; }
.landing-cure h3 { font-size: 22px; margin: 12px 0; }
.landing-cure p { margin: 0 0 16px; }
.landing-cure a { color: var(--primary, #1e3c72); text-underline-offset: 4px; }
.landing-cure button, .landing-cure input { font: inherit; }
.landing-cure :is(button, a, input, summary):focus-visible { outline: 3px solid var(--accent-hover, #e09000); outline-offset: 4px; }
.thermal-shell { padding-left: 20px; padding-right: 20px; }
.thermal-narrow { max-width: 900px; }
.thermal-muted { color: var(--thermal-muted); }
.thermal-section { padding: 40px 0; scroll-margin-top: 100px; }

/* ── buttons ─────────────────────────────────────────────────────────────── */
.thermal-button { min-height: 64px; display: inline-flex; justify-content: center; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 14px; border: 2px solid transparent; text-decoration: none !important; font-size: 21px; font-weight: 700 !important; text-align: center; cursor: pointer; line-height: 1.3; }
.thermal-button-primary { background: var(--accent, #f5a623); color: var(--primary-dark, #152a4f) !important; }
.thermal-button-primary:hover { background: var(--accent-hover, #e09000); }
.thermal-button-light { background: #fff; color: var(--primary-dark, #152a4f) !important; }
.thermal-button-light:hover { background: #eef3fa; }
.thermal-button-outline { background: #fff; border-color: var(--primary, #1e3c72); color: var(--primary, #1e3c72) !important; }
.thermal-button-outline:hover { background: #eef3fa; }
.thermal-button-outline-light { background: transparent; border-color: #fff; color: #fff !important; }
.thermal-button-outline-light:hover { background: #ffffff1f; }
.thermal-button:disabled { opacity: .65; cursor: wait; }

/* ── hero ────────────────────────────────────────────────────────────────── */
.cure-hero { background: var(--primary, #1e3c72); color: #fff; padding: 28px 0 32px; }
.landing-cure .cure-hero h1 { color: #fff; }
.thermal-hero-promise { font-size: 21px; font-weight: 500; line-height: 1.45; color: #dce6f7; max-width: 620px; }
.thermal-hero-points { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.thermal-hero-points li { display: flex; align-items: flex-start; gap: 12px; font-size: 19px; line-height: 1.4; font-weight: 500; }
.thermal-hero-points i { flex-shrink: 0; font-size: 24px; line-height: 1.2; color: var(--accent, #f5a623); }
.thermal-hero-photo { min-width: 0; margin: 0 0 20px; }
.thermal-hero-photo img { display: block; width: 100%; height: 196px; object-fit: cover; border-radius: 16px; background: var(--primary-dark, #152a4f); }
.landing-cure .thermal-hero-photo figcaption { margin-top: 8px; font-size: 17px; line-height: 1.45; color: #c3d2ea; }
.thermal-hero-actions { display: flex; flex-direction: column; gap: 12px; }
.thermal-hero-actions .thermal-button { width: 100%; }
.thermal-hero-help { font-size: 18px; text-align: center; margin: 10px 0 0 !important; color: #c3d2ea; }

/* ── trust strip ─────────────────────────────────────────────────────────── */
.thermal-trust { background: var(--light-bg, #f4f7fc); padding: 22px 0; }
.thermal-trust p { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; font-size: 18px; line-height: 1.4; font-weight: 600; color: var(--primary, #1e3c72); }
.thermal-trust p:last-child { margin-bottom: 0; }
.thermal-trust i { flex-shrink: 0; font-size: 26px; line-height: 1.2; }

/* ── weekly examples: examples, not bookable offers ──────────────────────── */
.thermal-example-list { list-style: none; margin: 26px 0 24px; padding: 0; display: grid; gap: 18px; }
.thermal-example { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #cdd8e8; border-radius: 18px; background: #fff; box-shadow: 0 4px 18px rgba(30, 60, 114, .08); }
.thermal-example-content { padding: 20px 20px 18px; flex: 1; }
.landing-cure .thermal-example-departure { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 21px; line-height: 1.3; font-weight: 700; color: var(--primary, #1e3c72); }
.thermal-example-departure i { flex-shrink: 0; font-size: 24px; }
.thermal-example-dates { display: flex; align-items: flex-start; gap: 10px; }
.thermal-example-dates > i { flex-shrink: 0; margin-top: 3px; font-size: 22px; color: var(--thermal-muted); }
.landing-cure .thermal-example-stay { margin: 0; font-size: 19px; line-height: 1.4; font-weight: 600; }
.landing-cure .thermal-example-transfer { margin: 4px 0 0; font-size: 17px; line-height: 1.4; color: var(--thermal-muted); }
.landing-cure .thermal-example-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; margin: 0; padding: 16px 20px 20px; border-top: 1px solid #dde5f0; background: #eef3fa; font-size: 18px; line-height: 1.3; font-weight: 500; color: var(--thermal-muted); }
.thermal-example-amount { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; color: var(--primary, #1e3c72); }
.thermal-example-amount strong { font-size: 44px; line-height: 1.05; letter-spacing: -.02em; }
.thermal-example-inclusions { padding: 18px; border-radius: 14px; background: var(--light-bg, #f4f7fc); }
.landing-cure .thermal-example-inclusions p { margin: 0; font-size: 18px; line-height: 1.55; }
.landing-cure .thermal-example-inclusions-title { margin: 0 0 8px !important; font-weight: 600; color: var(--primary, #1e3c72); }
.landing-cure .thermal-example-conditions { margin: 14px 0 0; font-size: 17px; line-height: 1.5; color: var(--thermal-muted); }

/* ── request form: three steps, no asterisks ─────────────────────────────── */
.thermal-form-section { background: var(--light-bg, #f4f7fc); }
.thermal-request { padding: 24px 18px; border-radius: 18px; border: 1px solid var(--thermal-border); background: #fff; box-shadow: 0 5px 24px rgba(21, 42, 79, .07); }
.thermal-step { margin: 0 0 26px; }
.landing-cure .thermal-step-title { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 22px; font-weight: 700; color: var(--primary, #1e3c72); }
.thermal-step-number { width: 38px; height: 38px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 19px; background: var(--primary, #1e3c72); color: #fff; font-size: 20px; }
.thermal-field { margin: 0 0 14px; min-width: 0; }
.thermal-field:last-child { margin-bottom: 0; }
.landing-cure .thermal-field label, .landing-cure .thermal-date-grid label { display: block; margin-bottom: 8px; font-size: 19px; font-weight: 600; color: #22272e; }
.thermal-optional { font-weight: 500; color: var(--thermal-muted); }
.landing-cure input:not([type=checkbox]):not([type=hidden]) { width: 100%; min-height: 62px; border: 2px solid #9aa7b6; border-radius: 12px; padding: 12px 16px; color: #22272e; background-color: #fff; font-size: 20px !important; }
.landing-cure input::placeholder { color: var(--thermal-muted); opacity: 1; }
.landing-cure input[type=date] { min-width: 0; max-width: 100%; }
.thermal-people-row { display: flex; align-items: center; gap: 14px; }
.thermal-step-button { width: 62px; height: 62px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--primary, #1e3c72); border-radius: 12px; background: #fff; color: var(--primary, #1e3c72); font-size: 24px; cursor: pointer; }
.thermal-step-button:hover { background: #eef3fa; }
.landing-cure .thermal-people-row input { text-align: center; font-weight: 700; }
.thermal-contact-fields { display: grid; gap: 0 16px; }
.thermal-contact-fields > div { min-width: 0; }
.thermal-contact-channel { grid-column: 1 / -1; }
.landing-cure .thermal-contact-hint { font-size: 17px; line-height: 1.45; color: var(--thermal-muted); margin: 6px 0 0; }
.thermal-privacy { display: flex; gap: 14px; padding: 12px 0; cursor: pointer; align-items: flex-start; font-size: 18px; line-height: 1.5; }
.thermal-privacy input { width: 30px; height: 30px; flex-shrink: 0; margin-top: 2px; accent-color: var(--primary, #1e3c72); }
.thermal-field-error { color: #a01d1d; font-size: 17px; margin: 8px 0 0 !important; }
.landing-cure [aria-invalid=true] { border: 2px solid #a01d1d !important; }
#thermalSubmit { width: 100%; margin-top: 18px; }
#thermalFormTitle { scroll-margin-top: 110px; }
.thermal-reassurance { font-size: 18px; text-align: center; margin: 10px 0 0 !important; }

/* ── wellness photos ─────────────────────────────────────────────────────── */
.thermal-wellness { border-bottom: 1px solid var(--thermal-border); }
.thermal-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 14px 0 18px; }
.thermal-photo-card { min-width: 0; margin: 0 0 14px; overflow: hidden; border: 1px solid var(--thermal-border); border-radius: 14px; background: #fff; }
.thermal-photo-grid .thermal-photo-card { margin: 0; }
.thermal-photo-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.thermal-photo-lead img { aspect-ratio: 2 / 1; }
.thermal-photo-card figcaption { padding: 14px 16px; }
.landing-cure .thermal-photo-card h3 { margin: 0; font-size: 19px; line-height: 1.35; }
.landing-cure .thermal-photo-lead h3 { font-size: 22px; }
.landing-cure .thermal-photo-source { margin: 8px 0 0; font-size: 17px; line-height: 1.4; color: var(--thermal-muted); }
.landing-cure .thermal-photo-note { max-width: 780px; margin: 0 0 20px; font-size: 17px; line-height: 1.5; color: var(--thermal-muted); }

/* ── benefits, FAQ, closing contact ──────────────────────────────────────── */
.thermal-info-grid { display: grid; gap: 22px; margin: 24px 0 30px; }
.thermal-info-grid > div { min-width: 0; }
.thermal-info-grid i { display: block; margin-bottom: 8px; font-size: 30px; line-height: 1; color: var(--accent, #f5a623); }
.landing-cure .thermal-info-grid h3 { margin: 0 0 6px; font-size: 21px; }
.landing-cure .thermal-info-grid p { margin: 0; font-size: 19px; line-height: 1.5; }
.thermal-faq { border-bottom: 1px solid var(--thermal-border); padding: 4px 0; }
.landing-cure summary { cursor: pointer; min-height: 60px; padding: 18px 0; font-size: 20px; font-weight: 600; color: var(--primary, #1e3c72); }
.thermal-contact-box { background: var(--primary, #1e3c72); border-radius: 18px; padding: 24px 20px; margin: 30px 0 0; color: #fff; }
.landing-cure .thermal-contact-box h2 { color: #fff; font-size: 27px; }
.landing-cure .thermal-contact-box > p { color: #dce6f7; font-size: 19px; }
.thermal-contact-box .thermal-button { width: 100%; margin-bottom: 12px; }
.landing-cure .thermal-contact-box-whatsapp { margin: 6px 0 0; font-size: 18px; }
.landing-cure .thermal-contact-box-whatsapp a { color: #fff; }

/* ── the contact bar stays within thumb reach ────────────────────────────── */
.thermal-contact-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; display: flex; gap: 12px; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--thermal-border); box-shadow: 0 -6px 22px rgba(21, 42, 79, .14); }
.thermal-contact-bar .thermal-button { flex: 1 1 0; min-height: 60px; padding: 12px 10px; font-size: 19px; }
.thermal-contact-bar .thermal-button-primary { flex-grow: 1.35; }

@media (min-width: 576px) {
  .thermal-contact-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thermal-contact-channel { grid-column: auto; }
  .thermal-hero-actions { flex-direction: row; flex-wrap: wrap; }
  .thermal-hero-actions .thermal-button { width: auto; flex: 1 1 260px; }
  .thermal-contact-box .thermal-button { width: auto; min-width: 260px; margin-right: 12px; }
  .thermal-contact-bar { justify-content: center; }
  .thermal-contact-bar .thermal-button { max-width: 300px; }
}
@media (min-width: 768px) {
  .cure-hero { padding: 48px 0; }
  .thermal-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
  .thermal-hero-photo { margin: 0; }
  .thermal-hero-photo img { height: 300px; }
  .thermal-hero-help { text-align: left; }
  .thermal-request { padding: 32px; }
  .thermal-info-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .thermal-photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
  .thermal-example-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
  .thermal-shell { padding-left: 16px; padding-right: 16px; }
  .thermal-request { padding: 18px 14px; }
  .thermal-example-content { padding: 18px; }
  .landing-cure .thermal-example-price { padding: 16px 18px; }
  .thermal-contact-bar { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .thermal-contact-bar .thermal-button { padding: 12px 6px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .landing-cure * { scroll-behavior: auto !important; transition: none !important; } }

/* ── one calendar, shared by the arrival and departure cards ─────────────── */
.thermal-date-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.landing-cure .thermal-date-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; min-height: 132px; padding: 16px 14px; border: 2px solid #8ea3c2; border-radius: 14px; background: #fff; color: var(--primary, #1e3c72); cursor: pointer; text-align: left; line-height: 1.3; }
.thermal-date-card:hover { background: #f3f6fb; border-color: var(--primary, #1e3c72); }
.landing-cure .thermal-date-card[aria-expanded=true] { border-color: var(--accent, #f5a623); background: #fffbf3; box-shadow: 0 0 0 2px #f5a62320; }
.thermal-date-label { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; color: var(--thermal-muted); }
.thermal-date-label i { font-size: 20px; }
.thermal-date-value { font-size: 20px; font-weight: 700; }
.thermal-date-detail { font-size: 17px; color: var(--thermal-muted); }
.thermal-date-card.has-date { background: #eef3fa; border-color: var(--primary, #1e3c72); }
.landing-cure .thermal-date-summary { font-size: 17px; line-height: 1.5; color: var(--thermal-muted); margin: 12px 0 0; }
.landing-cure .thermal-date-summary.has-dates { color: var(--primary, #1e3c72); font-weight: 600; }
.thermal-calendar-dialog { width: calc(100% - 24px); max-width: 420px; max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 16px; color: inherit; background: #fff; box-shadow: 0 16px 60px #152a4f40; overscroll-behavior: contain; }
.thermal-calendar-dialog::backdrop { background: rgba(15, 23, 42, .5); }
.thermal-calendar-panel { margin: 0; padding: 16px; background: #fff; }
.landing-cure .thermal-calendar-hint { margin: 0 0 10px; padding: 10px; background: #eef3fa; border-radius: 8px; color: var(--primary, #1e3c72); font-size: 18px; font-weight: 600; text-align: center; }
.thermal-calendar-nav { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 6px; margin-bottom: 12px; }
.thermal-calendar-nav strong { font-size: 20px; color: var(--primary, #1e3c72); text-align: center; text-transform: capitalize; }
.thermal-calendar-nav button { width: 48px; height: 48px; border: 1px solid #ccd6e4; border-radius: 10px; background: #fff; color: var(--primary, #1e3c72); cursor: pointer; }
.thermal-calendar-nav button:hover:enabled { background: #eef3fa; }
.thermal-calendar-nav button:disabled { opacity: .35; cursor: default; }
.thermal-calendar.flatpickr-calendar.inline { top: 0; width: 100%; max-width: 100%; padding: 0; border: 0; border-radius: 0; box-shadow: none; font-family: inherit; background: #fff; }
.thermal-calendar .flatpickr-months { display: none; }
.thermal-calendar .flatpickr-innerContainer, .thermal-calendar .flatpickr-rContainer, .thermal-calendar .flatpickr-days { width: 100%; }
.thermal-calendar .dayContainer { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px 0; width: 100%; min-width: 0; max-width: none; padding: 0; }
.thermal-calendar .flatpickr-weekdays { height: 32px; margin-bottom: 4px; }
.thermal-calendar span.flatpickr-weekday { font-size: 17px; font-weight: 600; color: #4d555d; }
.thermal-calendar .flatpickr-day { width: 100%; max-width: none; height: 46px; line-height: 44px; margin: 0; border-radius: 8px; font-size: 19px; font-weight: 500; color: var(--primary, #1e3c72); }
.thermal-calendar .flatpickr-day.thermal-in-range { background: #e8eef8; border-color: #e8eef8; }
.thermal-calendar .flatpickr-day.today { border-color: #aab9cd; }
.thermal-calendar .flatpickr-day:hover { background: #eef3fa; border-color: var(--primary, #1e3c72); }
.thermal-calendar .flatpickr-day.thermal-range-start, .thermal-calendar .flatpickr-day.thermal-range-end, .thermal-calendar .flatpickr-day.selected { color: #fff; background: var(--primary, #1e3c72); border-color: var(--primary, #1e3c72); font-weight: 700; }
.thermal-calendar .flatpickr-day.flatpickr-disabled { color: #8b929b; background: transparent; border-color: transparent; }
.thermal-calendar .flatpickr-day.thermal-range-start.flatpickr-disabled { color: #fff; background: var(--primary, #1e3c72); border-color: var(--primary, #1e3c72); }
.thermal-calendar .flatpickr-day:focus-visible { outline: 2px solid var(--accent-hover, #e09000); outline-offset: -2px; }
.thermal-calendar .flatpickr-day:focus:not(.flatpickr-disabled):not(.selected):not(.thermal-range-start):not(.thermal-range-end) { background: #eef3fa; color: var(--primary, #1e3c72); border-color: var(--primary, #1e3c72); }
.thermal-calendar-close { display: block; width: 100%; min-height: 52px; margin-top: 12px; border: 0; border-top: 1px solid var(--thermal-border); background: #fff; color: var(--primary, #1e3c72); font-size: 18px !important; font-weight: 600; cursor: pointer; }
@media (max-width: 575px) {
  .thermal-calendar-panel { padding: 12px; }
}
@media (max-width: 350px) {
  .thermal-date-grid { gap: 8px; }
  .landing-cure .thermal-date-card { padding: 12px 8px; }
  .thermal-date-value { font-size: 19px; }
  .thermal-date-label { gap: 5px; }
}
