/* Hotspot Wi‑Fi - pagina HTML reale ispirata all'anteprima approvata */

.hotspot-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 58px 0 78px;
  background:
    radial-gradient(circle at 78% 12%, rgba(0,166,81,.16), transparent 26%),
    linear-gradient(135deg, #061b33 0%, #082c5f 52%, #04142a 100%);
}

.hotspot-wave {
  position: absolute;
  inset: auto -10% 0 -10%;
  height: 190px;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(0,109,255,.42), transparent 58%),
    repeating-radial-gradient(ellipse at 35% 100%, rgba(0,180,255,.22) 0 2px, transparent 2px 16px);
  opacity: .72;
  transform: rotate(-2deg);
}

.hotspot-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(450px, .82fr);
  gap: 42px;
  align-items: center;
}

.hotspot-copy h1 {
  max-width: 780px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 4.45rem);
  line-height: 1.02;
  letter-spacing: -.06em;
}

.hotspot-lead {
  max-width: 730px;
  color: rgba(255,255,255,.88);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hotspot-checks,
.hotspot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.hotspot-checks span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-weight: 850;
}

.hotspot-checks span::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 999px;
  color: #00A651;
  border: 2px solid #00A651;
  font-size: .78rem;
}

.login-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  min-height: 390px;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  color: #071b35;
  box-shadow: 0 30px 90px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.28);
}

.login-form-side {
  padding: 28px 28px 64px;
}

.login-brand {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(6,27,51,.08);
}

.login-brand img {
  width: 160px;
  max-width: 100%;
  height: auto;
  display: block;
}

.login-form-side h2 {
  margin: 18px 0 5px;
  color: #071b35;
  font-size: 1.85rem;
  letter-spacing: -.04em;
}

.login-form-side p {
  margin: 0 0 18px;
  color: #4f5c6b;
  line-height: 1.45;
}

.guest-access-box {
  margin: 0 0 14px;
  padding: 14px;
  border-radius: 16px;
  background: #f7fbff;
  border: 1px solid rgba(9,25,44,.08);
  box-shadow: 0 10px 24px rgba(6,27,51,.06);
}

.guest-access-title {
  margin-bottom: 9px;
  color: #071b35;
  font-weight: 950;
  font-size: .95rem;
}

.guest-access-box label {
  display: block;
  margin: 8px 0 5px;
  color: #4f5c6b;
  font-size: .78rem;
  font-weight: 850;
}

.guest-access-box input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(9,25,44,.12);
  border-radius: 10px;
  padding: 10px 11px;
  color: #071b35;
  background: #fff;
  outline: none;
}

.guest-access-box button {
  width: 100%;
  margin-top: 10px;
  border: 0;
  border-radius: 11px;
  padding: 11px 12px;
  color: #fff;
  background: #00A651;
  font-weight: 950;
  cursor: default;
}

.login-methods {
  display: grid;
  gap: 9px;
}

.login-methods button {
  border: 1px solid rgba(9,25,44,.08);
  border-radius: 10px;
  padding: 11px 12px;
  background: #fff;
  color: #071b35;
  font-weight: 850;
  text-align: left;
  box-shadow: 0 8px 18px rgba(6,27,51,.06);
  cursor: default;
}

.login-methods span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  margin-right: 8px;
}

.wifi-icon { color: #071b35; }
.fb-icon { color: #1877f2; }
.google-icon { color: #ea4335; }
.mail-icon { color: #071b35; }

.terms-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #5f6c7b;
  font-size: .84rem;
}

.privacy-link {
  display: inline-block;
  margin-top: 8px;
  color: #006dff;
  font-size: .84rem;
}

.login-image-side {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  padding: 22px;
  background: linear-gradient(135deg, #d8ecff 0%, #78aee1 44%, #061b33 100%);
}

.login-image-side::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(6,27,51,.82));
}

.language-pill {
  position: relative;
  z-index: 5;
  margin-left: auto;
  width: max-content;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255,255,255,.92);
  color: #071b35;
  font-size: .78rem;
  font-weight: 900;
}

.resort-scene {
  position: absolute;
  inset: 58px 0 48px;
  overflow: hidden;
}

.sun {
  position: absolute;
  top: 18px;
  right: 48px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,.90);
}

.sea {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 76px;
  height: 82px;
  background: linear-gradient(180deg, rgba(110,190,232,.70), rgba(0,109,255,.60));
}

.pool {
  position: absolute;
  left: 32px;
  right: 18px;
  bottom: 30px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(89,203,255,.92), rgba(0,109,255,.72));
  border: 8px solid rgba(255,255,255,.24);
}

.palm {
  position: absolute;
  bottom: 80px;
  width: 70px;
  height: 120px;
}

.palm::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 31px;
  width: 9px;
  height: 78px;
  background: rgba(95,55,25,.70);
  transform: rotate(8deg);
}

.palm::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 70px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0,166,81,.72), rgba(0,85,60,.18) 62%, transparent 63%);
}

.palm-one { right: 42px; }
.palm-two { right: 102px; transform: scale(.74); opacity: .72; }

.umbrella {
  position: absolute;
  right: 132px;
  bottom: 96px;
  width: 106px;
  height: 52px;
  border-radius: 80px 80px 8px 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,186,74,.82));
  transform: rotate(-3deg);
}

.login-benefits {
  position: absolute;
  z-index: 5;
  right: 22px;
  bottom: 70px;
  display: grid;
  gap: 13px;
  color: #fff;
  font-weight: 850;
}

.login-benefits span::before {
  content: "✓";
  margin-right: 8px;
  color: #00A651;
}

.login-powered {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 8px 18px;
  background: rgba(5,25,57,.96);
  color: rgba(255,255,255,.78);
  font-size: .82rem;
}

.login-powered img:first-of-type {
  height: 24px;
  width: auto;
}

.login-powered img:last-of-type {
  height: 22px;
  width: auto;
}

.hotspot-feature-band {
  background: #f4f7fb;
  padding: 0 0 54px;
}

.feature-band-grid {
  position: relative;
  z-index: 3;
  margin-top: -34px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(6,27,51,.14);
  border: 1px solid rgba(9,25,44,.08);
}

.feature-band-grid article {
  text-align: center;
  padding: 26px 18px;
  border-right: 1px solid rgba(9,25,44,.08);
}

.feature-band-grid article:last-child {
  border-right: 0;
}

.feature-icon {
  display: block;
  color: #00A651;
  font-size: 2.2rem;
  font-weight: 950;
  line-height: 1;
  margin-bottom: 10px;
}

.feature-band-grid h3 {
  margin: 0 0 8px;
  color: #071b35;
  font-size: 1rem;
}

.feature-band-grid p {
  margin: 0;
  color: #5f6c7b;
  line-height: 1.45;
  font-size: .9rem;
}

.hotspot-section,
.hotspot-usecases,
.hotspot-cta-section {
  background: #fff;
  padding: 58px 0;
}

.hotspot-section {
  padding-top: 0;
}

.tools-section {
  padding-top: 30px;
}

.section-title.centered {
  max-width: 860px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-title h2 {
  color: #071b35;
  letter-spacing: -.04em;
}

.value-grid,
.tools-grid {
  display: grid;
  gap: 16px;
}

.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tools-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-grid article,
.tools-grid article {
  border: 1px solid rgba(9,25,44,.08);
  border-radius: 18px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 16px 42px rgba(6,27,51,.07);
}

.value-grid article {
  display: flex;
  gap: 16px;
  align-items: center;
}

.circle,
.tools-grid span {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.35rem;
}

.green { background: linear-gradient(135deg, #00A651, #11c56e); }
.blue { background: linear-gradient(135deg, #006dff, #4b7dff); }
.red { background: linear-gradient(135deg, #ff3d5a, #e01b36); }
.purple { background: linear-gradient(135deg, #7b38d8, #bd3ff0); }
.teal { background: linear-gradient(135deg, #00a6a6, #00A651); }
.lime { background: linear-gradient(135deg, #62b948, #00A651); }

.tools-grid span {
  margin-bottom: 12px;
  background: linear-gradient(135deg, #00A651, #006dff);
}

.tools-grid article:nth-child(2) span,
.tools-grid article:nth-child(7) span { background: linear-gradient(135deg, #006dff, #3f6bff); }
.tools-grid article:nth-child(3) span { background: linear-gradient(135deg, #ff8a00, #e01b36); }
.tools-grid article:nth-child(4) span { background: linear-gradient(135deg, #ff3d5a, #e01b36); }
.tools-grid article:nth-child(5) span { background: linear-gradient(135deg, #7b38d8, #bd3ff0); }

.value-grid h3,
.tools-grid h3 {
  margin: 0 0 7px;
  color: #071b35;
  font-size: 1.04rem;
}

.value-grid p,
.tools-grid p {
  margin: 0;
  color: #5f6c7b;
  line-height: 1.5;
  font-size: .93rem;
}

.hotspot-usecases {
  padding-top: 8px;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  text-align: center;
}

.usecase-grid article span {
  display: block;
  color: #006dff;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.usecase-grid article strong {
  display: block;
  margin-top: 8px;
  color: #071b35;
  font-size: .82rem;
  line-height: 1.25;
}

.hotspot-cta-section {
  padding-top: 18px;
}

.hotspot-cta-box {
  display: grid;
  grid-template-columns: .78fr 1fr;
  gap: 30px;
  align-items: center;
  border-radius: 26px;
  padding: 34px 38px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 45%, rgba(0,109,255,.38), transparent 18%),
    linear-gradient(135deg, #061b33 0%, #082c5f 52%, #04142a 100%);
  box-shadow: 0 22px 70px rgba(6,27,51,.15);
}

.hotspot-cta-box h2 {
  color: #fff;
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.05;
}

.hotspot-cta-box p {
  color: rgba(255,255,255,.86);
  line-height: 1.6;
  margin: 0;
}

.hotspot-cta-box .btn-outline {
  border-color: rgba(255,255,255,.32);
  color: #fff;
}

@media (max-width: 1100px) {
  .hotspot-hero-grid,
  .hotspot-cta-box {
    grid-template-columns: 1fr;
  }

  .feature-band-grid,
  .value-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .usecase-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 680px) {
  .hotspot-hero {
    padding: 38px 0 56px;
  }

  .login-card {
    grid-template-columns: 1fr;
  }

  .login-image-side {
    min-height: 285px;
  }

  .feature-band-grid,
  .value-grid,
  .tools-grid,
  .usecase-grid {
    grid-template-columns: 1fr;
  }

  .feature-band-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(9,25,44,.08);
  }

  .value-grid article {
    align-items: flex-start;
  }
}


/* Fix: box accesso ospite affiancato alla scritta Benvenuto, non sotto */
.login-welcome-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px;
  gap: 14px;
  align-items: start;
  margin: 12px 0 14px;
}

.login-welcome-text h2 {
  margin: 0 0 5px;
}

.login-welcome-text p {
  margin: 0;
}

.login-welcome-row .guest-access-box {
  margin: 0;
  padding: 10px;
  border-radius: 14px;
}

.login-welcome-row .guest-access-title {
  margin-bottom: 6px;
  font-size: .82rem;
}

.login-welcome-row .guest-access-box label {
  margin: 5px 0 3px;
  font-size: .70rem;
}

.login-welcome-row .guest-access-box input {
  padding: 7px 8px;
  border-radius: 8px;
  font-size: .78rem;
}

.login-welcome-row .guest-access-box button {
  margin-top: 7px;
  padding: 8px 9px;
  border-radius: 9px;
  font-size: .78rem;
}

@media (max-width: 680px) {
  .login-welcome-row {
    grid-template-columns: 1fr;
  }
}


/* Fix posizione: box Accesso ospite sopra Naviga veloce/Sicuro/Contenuti */
.guest-access-on-image {
  position: absolute;
  z-index: 6;
  right: 22px;
  bottom: 172px;
  width: 190px;
  margin: 0;
  padding: 11px;
  border-radius: 15px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.42);
  box-shadow: 0 18px 36px rgba(6,27,51,.24);
}

.guest-access-on-image .guest-access-title {
  margin-bottom: 6px;
  font-size: .84rem;
}

.guest-access-on-image label {
  margin: 5px 0 3px;
  font-size: .70rem;
}

.guest-access-on-image input {
  padding: 7px 8px;
  border-radius: 8px;
  font-size: .78rem;
}

.guest-access-on-image button {
  margin-top: 7px;
  padding: 8px 9px;
  border-radius: 9px;
  font-size: .78rem;
}

@media (max-width: 680px) {
  .guest-access-on-image {
    right: 18px;
    bottom: 158px;
    width: 178px;
  }
}
