
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../font/montserrat-latin.woff2') format('woff2');
}

:root {
  --blue: #124fd1;
  --blue-dark: #0a3288;
  --orange: #ff681a;
  --orange-soft: #fff1e9;
  --ink: #17202a;
  --text: #4f5b67;
  --warm: #f7f5f1;
  --line: #e5e8ec;
  --green: #25d366;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

main {
  background: #fff;
  overflow: hidden;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  padding: 0 max(24px, calc(50vw - 590px));
  background: var(--blue-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  height: 88px;
  padding: 0 max(24px, calc(50vw - 590px));
  background: var(--orange);
}

.site-header img,
footer img {
  width: 182px;
  filter: brightness(0) invert(1);
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.header-nav a {
  position: relative;
  color: #fff;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 900;
}

.header-nav a::after {
  content: '';
  position: absolute;
  right: 100%;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: #fff;
  transition: right .25s;
}

.header-nav a:hover::after {
  right: 0;
}

.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, #ff681a, #ff8c3c);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .12;
  background: repeating-linear-gradient(-18deg, transparent 0 24px, #fff 25px 28px);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(520px, 1fr);
  align-items: center;
  gap: 36px;
  max-width: none;
  min-height: 620px;
  padding: 70px 0 86px max(34px, calc(50vw - 690px));
}

.hero-copy {
  min-width: 0;
  padding-right: 20px;
}

.kicker,
.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero .kicker,
.eyebrow.light {
  color: #fff;
}

h1,
h2,
h3,
strong {
  color: var(--ink);
  font-family: Montserrat, Arial, sans-serif;
}

.hero h1 {
  max-width: 720px;
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(42px, 4.6vw, 62px);
  font-weight: 900;
  line-height: 1.04;
}

.hero-copy > p {
  max-width: 670px;
  margin: 0 0 30px;
  color: #fff;
  font-size: 20px;
  line-height: 1.55;
}

.hero-copy > small {
  display: block;
  margin-top: 15px;
  color: #fff;
  font-size: 13px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 14px;
  padding: 0 24px;
  font-size: 17px;
  font-weight: 900;
  transition: transform .2s, box-shadow .2s, background .2s;
}

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

.button-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 24px #ff681a3d;
}

.hero .button-primary {
  background: #fff;
  color: #db5612;
}

.button-whatsapp {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.button-full {
  width: 100%;
  justify-content: space-between;
}

.hero-media {
  position: relative;
  justify-self: end;
  width: min(820px, 100%);
  padding-right: 0;
}

.location-slider {
  position: relative;
  aspect-ratio: 1920 / 1020;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--orange);
  border-right: 0;
  border-radius: 24px 0 0 24px;
  background: #102031;
  box-shadow: 0 28px 65px #4b1c044d;
}

.location-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  animation: heroImage 15s infinite;
}

.location-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgb(10 50 136 / 54%));
}

@keyframes heroImage {
  0%, 28% { opacity: 1; transform: scale(1); }
  33%, 95% { opacity: 0; transform: scale(1.03); }
  100% { opacity: 1; transform: scale(1); }
}

.quick-whatsapp {
  position: absolute;
  right: 5px;
  bottom: 5px;
  z-index: 6;
  display: flex;
  min-width: 330px;
  align-items: center;
  gap: 13px;
  border: 2px solid #fff;
  border-radius: 62px;
  background: var(--green);
  color: #073c1b;
  padding: 12px 18px;
  box-shadow: 0 16px 38px #294f1d47;
}

.quick-whatsapp span {
  display: flex;
  flex: 1;
  flex-direction: column;
  line-height: 1.2;
}

.quick-whatsapp small {
  font-size: 11px;
  font-weight: 700;
}

.quick-whatsapp b {
  font-size: 15px;
  font-weight: 900;
}

.quick-whatsapp strong {
  color: #073c1b;
  font-size: 28px;
}

.benefits {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1180px;
  margin: -24px auto 0;
  padding: 0 24px;
}

.benefits article {
  display: flex;
  min-height: 150px;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 14px 36px #14243c14;
}

.benefits article > span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.benefits h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.benefits p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.section {
  max-width: 1180px;
  margin: auto;
  padding: 96px 24px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 42px;
}

.section-heading h2,
.final-copy h2,
.form-heading h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(32px, 3.3vw, 42px);
  font-weight: 900;
  line-height: 1.15;
}

.section-heading p,
.final-copy p,
.form-heading p {
  max-width: 760px;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

.location-section {
  padding-bottom: 70px;
}

.location-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.location-facts span {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  border: 1px solid #ffd1ba;
  border-radius: 18px;
  background: #fff4ed;
  padding: 18px 22px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.program-options {
  position: relative;
  max-width: none;
  padding-left: max(24px, calc(50vw - 590px));
  padding-right: max(24px, calc(50vw - 590px));
  background: var(--warm);
  overflow: hidden;
}

.program-options::before {
  content: '';
  position: absolute;
  top: 60px;
  right: -100px;
  width: 480px;
  height: 250px;
  opacity: .08;
  background: repeating-linear-gradient(0deg, var(--orange) 0 3px, transparent 3px 24px);
  transform: rotate(-12deg);
}

.program-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.program-card {
  overflow: hidden;
  border: 1px solid #ffd1ba;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 34px #5b2a0e12;
}

.program-card-head {
  background: linear-gradient(145deg, #ff681a, #ff8d45);
  color: #fff;
  padding: 24px 28px;
}

.program-card-head span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
}

.program-line {
  display: grid;
  grid-template-columns: 150px 1fr;
  border-bottom: 1px solid #ffe0d1;
}

.program-line:last-child {
  border-bottom: 0;
}

.program-line time {
  color: var(--orange);
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 900;
}

.program-line p {
  margin: 0;
  border-left: 1px solid #ffe0d1;
  padding: 18px 20px;
  color: #555d68;
  font-size: 15px;
  line-height: 1.55;
}

.final-cta {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 72px;
  background: var(--blue);
  color: #fff;
  padding: 90px max(24px, calc(50vw - 590px));
}

.final-copy h2,
.final-copy p,
.final-copy strong {
  color: #fff;
}

.final-trust {
  display: grid;
  gap: 9px;
  margin-top: 25px;
  font-size: 14px;
  font-weight: 800;
}

.final-trust span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.lead-form {
  color: var(--text);
  border-radius: 24px;
  background: #fff;
  padding: 34px;
  box-shadow: 0 24px 60px #0003;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.lead-form label:not(.privacy-row),
.admin-login label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.lead-form input:not([type='checkbox']),
.lead-form select,
.lead-form textarea,
.admin-login input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--orange);
  border-radius: 12px;
  outline: none;
  background: #fff;
  padding: 0 13px;
  color: var(--ink);
}

.lead-form input:not([type='checkbox']),
.lead-form select,
.admin-login input {
  height: 54px;
}

.lead-form textarea {
  min-height: 112px;
  padding-top: 13px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus,
.admin-login input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px #ff681a24;
}

.transfer-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 14px 0;
  border: 1px solid #ffd1ba;
  border-radius: 18px;
  background: #fff7f2;
  padding: 16px 18px;
}

.transfer-box > span {
  margin-right: auto;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.radio-line,
.privacy-row {
  display: flex !important;
  align-items: flex-start;
  gap: 9px !important;
  margin: 16px 0;
  color: var(--text) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

.radio-line {
  margin: 0;
  align-items: center;
  color: var(--ink) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

.radio-line input,
.privacy-row input {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  accent-color: var(--orange);
}

.privacy-row a {
  color: var(--orange);
  text-decoration: underline;
}

.form-message {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 0;
  border-radius: 10px;
  padding: 12px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.form-message.success {
  background: #ecfff3;
  color: #146d34;
}

.form-message.error {
  background: #fff2eb;
  color: #8b350d;
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 30px;
  max-width: none;
  margin: 0;
  background: var(--orange);
  color: #fff;
  padding: 44px max(24px, calc(50vw - 590px));
  font-size: 12px;
}

footer p {
  margin: 0;
}

footer > div {
  display: flex;
  gap: 18px;
}

footer a {
  text-decoration: underline;
  font-weight: 700;
}

.mobile-contact-bar {
  display: none;
}

.admin-page {
  min-height: 100vh;
  padding: 56px clamp(20px, 5vw, 70px);
  background: var(--warm);
}

.admin-page h1 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(36px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.05;
}

.admin-login {
  display: flex;
  gap: 14px;
  align-items: end;
  max-width: 760px;
  margin: 28px 0;
  border: 1px solid #ffd1ba;
  border-radius: 20px;
  background: #fff;
  padding: 20px;
}

.admin-login label {
  flex: 1;
}

.admin-table-wrap {
  overflow-x: auto;
  margin-top: 30px;
  border: 1px solid #ffd1ba;
  border-radius: 20px;
  background: #fff;
}

.admin-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #ffe0d1;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: var(--blue-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .hero-inner,
  .program-grid,
  .final-cta,
  .location-facts,
  footer {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: 0;
    padding: 58px 0 88px 24px;
  }

  .hero-copy {
    padding-right: 24px;
  }

  .hero-media {
    width: 100%;
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .final-cta {
    gap: 38px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 17px;
  }

  .top-bar {
    justify-content: center;
  }

  .top-bar a:first-child,
  .header-nav {
    display: none;
  }

  .site-header {
    height: 78px;
  }

  .site-header img {
    width: 160px;
  }

  .hero-inner {
    padding: 44px 0 112px 20px;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.06;
  }

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

  .hero-actions,
  .field-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    min-height: 56px;
    font-size: 16px;
  }

  .location-slider {
    border-radius: 18px 0 0 18px;
  }

  .quick-whatsapp {
    right: 5px;
    width: min(260px, calc(100% - 10px));
    min-width: 0;
  }

  .benefits {
    margin: 0;
    padding: 20px;
  }

  .benefits article {
    min-height: 0;
  }

  .section {
    padding: 72px 20px;
  }

  .section-heading h2,
  .final-copy h2,
  .form-heading h2 {
    font-size: 30px;
  }

  .program-options,
  .final-cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .program-line {
    grid-template-columns: 1fr;
  }

  .program-line p {
    border-top: 1px solid #ffe0d1;
    border-left: 0;
  }

  .lead-form {
    padding: 25px 20px;
  }

  .transfer-box {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    padding-bottom: 92px;
  }

  footer > div {
    flex-direction: column;
    gap: 8px;
  }

  .mobile-contact-bar {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border-radius: 14px;
    background: #25d366;
    color: #0b341d;
    box-shadow: 0 10px 28px #00000038;
  }

  .mobile-contact-bar a {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgb(11 52 29 / 18%);
    font-size: 12px;
    font-weight: 900;
  }

  .mobile-contact-bar a:last-child {
    border-right: 0;
  }

  .admin-login {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}


/* Fullscreen location hero and production form refinements */
.hero-fullscreen {
  min-height: calc(100svh - 134px);
  background: #17202a;
}

.hero-fullscreen::before {
  z-index: 1;
  opacity: 1;
  background: linear-gradient(90deg, rgb(10 24 42 / 84%) 0%, rgb(10 24 42 / 58%) 48%, rgb(10 24 42 / 20%) 100%);
}

.hero-background,
.hero-background-slide {
  position: absolute;
  inset: 0;
}

.hero-background-slide {
  margin: 0;
  opacity: 0;
  animation: heroImage 15s infinite;
}

.hero-background-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fullscreen .hero-inner {
  grid-template-columns: minmax(0, 720px);
  min-height: calc(100svh - 134px);
  padding: 72px max(24px, calc(50vw - 590px));
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: flex;
  width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  box-shadow: 0 16px 38px #294f1d47;
  transition: transform .2s, box-shadow .2s;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 20px 42px #294f1d66;
}

.room-info {
  margin: 8px 0 16px;
  border-left: 4px solid var(--orange);
  background: var(--orange-soft);
  padding: 14px 16px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.55;
}

.room-info strong {
  color: var(--blue-dark);
}

.lead-form input[readonly] {
  background: #f4f5f7;
  color: var(--blue-dark);
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero-fullscreen .hero-inner {
    min-height: calc(100svh - 134px);
    padding: 58px 24px 88px;
  }
}

@media (max-width: 560px) {
  .hero-fullscreen {
    min-height: calc(100svh - 124px);
  }

  .hero-fullscreen .hero-inner {
    min-height: calc(100svh - 124px);
    padding: 44px 20px 72px;
  }

  .hero-fullscreen::before {
    background: linear-gradient(180deg, rgb(10 24 42 / 78%) 0%, rgb(10 24 42 / 54%) 100%);
  }

  .mobile-contact-bar {
    display: none;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
  }
}


.hotel-link {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  border: 1px solid #ffd1ba;
  border-radius: 18px;
  background: #fff4ed;
  padding: 18px 22px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.hotel-link:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px #ff681a1f;
}

.room-gallery-section {
  max-width: none;
  padding-right: max(24px, calc(50vw - 590px));
  padding-left: max(24px, calc(50vw - 590px));
}

.room-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.room-gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: var(--warm);
}

.room-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.room-gallery-item:hover img {
  transform: scale(1.045);
}

.hotel-gallery-link {
  display: inline-flex;
  margin-top: 28px;
  border-bottom: 2px solid var(--orange);
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
}

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

.antispam-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }

/* Pagina di conferma invio */
.confirmation-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff8f3;
}

.confirmation-header {
  position: relative;
}

.confirmation-main {
  flex: 1;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 64px 20px;
  text-align: center;
}

.confirmation-message {
  width: min(680px, 100%);
}

.confirmation-check {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 38px;
  font-weight: 800;
}

.confirmation-message h1 {
  margin: 10px 0 14px;
  font-size: clamp(42px, 7vw, 72px);
  color: var(--navy);
}

.confirmation-message p {
  margin: 0 auto 30px;
  font-size: clamp(18px, 2.3vw, 23px);
  line-height: 1.6;
  color: #344054;
}

@media (max-width: 720px) {
  .confirmation-main {
    min-height: 430px;
    padding: 48px 20px;
  }
}
/* Collegamento alla pagina riservata, visibile anche su smartphone. */
.header-nav .rewin-link { border: 1px solid currentColor; border-radius: 6px; padding: 10px 12px; text-align: center; }
@media (max-width: 1100px) {
  .header-nav { display: flex; }
  .header-nav a:not(.rewin-link) { display: none; }
  .header-nav .rewin-link { display: block; max-width: 140px; font-size: 12px; white-space: normal; }
  .site-header { gap: 12px; }
}
@media (max-width: 380px) {
  .site-header img { width: 130px; }
  .header-nav .rewin-link { max-width: 120px; padding: 8px; }
}