/* =========================
   SUPA THAI — CSS PULITO E COERENTE
   ========================= */

:root{
  /* Brand */
  --accent: #fc0097;
  --accent-2: #ff4cc0;
  --accent-soft: #ffd3ec;

  /* Surfaces */
  --bg: #faf7fa;
  --surface: #ffffff;
  --surface-2: #fff7fd;

  /* Text */
  --text: #2f2f2f;
  --muted: #646464;

  /* Borders */
  --border: #ead7e6;
  --border-accent: rgba(252, 0, 151, 0.22);

  /* Radius */
  --radius: 18px;
  --radius-xl: 22px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-s: 0 8px 24px rgba(0,0,0,0.04);
  --shadow-m: 0 14px 36px rgba(0,0,0,0.08);

  /* Layout */
  --container: 1100px;
  --header-offset: 120px;
}

/* ========== Base ========== */
*,
*::before,
*::after{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

main{
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

section:not(.hero){
  background: var(--surface);
  margin: 1.4rem 0;
  padding: 2rem 1.6rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  scroll-margin-top: var(--header-offset);
}

h1,
h2,
h3{
  margin: 0 0 0.6rem;
  color: var(--text);
}

h1{
  font-size: clamp(2rem, 2.4vw + 1.6rem, 2.4rem);
}

h2{
  font-size: 1.4rem;
}

h3{
  font-size: 1.05rem;
}

p{
  margin: 0 0 0.8rem;
  color: var(--muted);
}

a{
  color: inherit;
}

/* ========== Header ========== */
header{
  position: sticky;
  top: 0;
  z-index: 99999;
  isolation: isolate;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.header-top{
  background: #fff;
  border-bottom: 1px solid rgba(252,0,151,0.10);
}

.header-bottom{
  background: #ffe6f7;
  border-bottom: 1px solid rgba(252,0,151,0.16);
}

.nav-container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.6rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-img{
  width: 34px;
  height: 34px;
  display: block;
  flex-shrink: 0;
}

.logo-text{
  text-transform: uppercase;
  font-size: 0.95rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.cta-group{
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.cta-tel{
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.cta-tel:hover{
  color: var(--accent);
}

.tel-icon{
  width: 18px;
  height: 18px;
  display: block;
}

/* Nav underline */
.nav-links{
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.nav-links a{
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 550;
  padding: 0.35rem 0;
}

.nav-links a::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-links a.active::after{
  transform: translateX(-50%) scaleX(1);
}

@media (hover:hover) and (pointer:fine){
  .nav-links a:hover::after{
    transform: translateX(-50%) scaleX(1);
  }
}

.nav-links a:focus-visible{
  outline: 2px solid #000;
  outline-offset: 3px;
  border-radius: 8px;
}

.nav-links a:focus-visible::after{
  transform: translateX(-50%) scaleX(1);
}

/* ========== Hero ========== */
.hero{
  position: relative;
  margin: 1.4rem 0;
  padding: 5rem 2rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: #fff;
  scroll-margin-top: var(--header-offset);
}

.hero-bg{
  background-image: url("immagini/hero-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.38);
}

.hero-intro{
  position: relative;
  max-width: 520px;
}

.hero h1,
.hero p{
  color: #fff;
}

.hero-contact-note{
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  opacity: 0.95;
}

/* ========== Buttons ========== */
.btn{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.1;
  user-select: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease,
    border-color 160ms ease;
}

.btn:active{
  transform: translateY(1px);
}

.btn:focus-visible{
  outline: 2px solid #000;
  outline-offset: 2px;
}

.btn--primary{
  background: var(--accent);
  color: #fff;
  border: 1px solid rgba(255,255,255,0);
  box-shadow: 0 6px 16px rgba(252,0,151,0.35);
}

.btn--primary:hover{
  opacity: 0.92;
}

.btn--ghost{
  border: 2px solid #fff;
  background: rgba(255,255,255,0.15);
  color: #fff;
  backdrop-filter: blur(4px);
}

.btn--ghost:hover{
  opacity: 0.88;
}

.btn--light{
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 0;
  background: #fff;
  color: var(--accent);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-xl);
  text-align: center;
  white-space: normal;
}

.btn--light:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.22);
}

.btn--outline{
  width: 100%;
  background: #fff;
  color: var(--text);
  border: 1.5px solid rgba(252,0,151,.35);
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(0,0,0,.06);
}

@media (hover:hover) and (pointer:fine){
  .btn--outline:hover{
    border-color: rgba(252,0,151,.6);
    transform: translateY(-1px);
  }
}

.cta-double-hero{
  margin-top: 1.4rem;
  display: flex;
  gap: 1rem;
}

.cta-double-hero a{
  flex: 1 1 0;
}

/* ========== Grid + Cards ========== */
.grid{
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px){
  .grid-3{
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-2{
    grid-template-columns: repeat(2, 1fr);
  }
}

.card{
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-s);
  overflow: hidden;
}

@media (hover:hover) and (pointer:fine){
  .card{
    transition:
      transform 0.22s ease,
      box-shadow 0.22s ease,
      border-color 0.22s ease;
  }

  .card:hover{
    transform: translateY(-4px);
    box-shadow: var(--shadow-m);
    border-color: rgba(252,0,151,0.32);
  }
}

/* Card servizi */
.card-service{
  padding: 0;
}

.card-media{
  height: 50px;
  background-size: cover;
  background-position: center;
  position: relative;
  filter: saturate(0.9) contrast(0.98);
}

.card-media::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.10), rgba(255,255,255,0.60));
}

.card-body{
  padding: 1.15rem 1.2rem 1.25rem;
}

.card-service h3{
  font-size: 1.12rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
}

.service-sub{
  font-size: 0.88rem;
  font-weight: 750;
  margin: 0 0 0.55rem;
  color: var(--accent);
}

.service-text{
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
  color: var(--muted);
}

.card--thai .card-media{
  background-image: url("immagini/card-thai.png");
}

.card--oil .card-media{
  background-image: url("immagini/card-oil.png");
}

.card--decontr .card-media{
  background-image: url("immagini/card-stones.png");
}

/* ========== Trattamenti ========== */
#servizi h2{
  margin-bottom: 1rem;
}

.treat-card{
  width: 100%;
  padding: 1.05rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 55%, var(--accent-2) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin: 0 0 1.25rem;
}

.treat-item{
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.treat-label{
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 850;
  color: rgba(255,255,255,.92);
}

.treat-value{
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.05;
  white-space: nowrap;
}

.treat-value span{
  font-size: 1rem;
  font-weight: 750;
  opacity: .92;
  margin-left: .35rem;
}

.treat-sub{
  font-size: .9rem;
  opacity: .92;
}

.treat-divider{
  width: 1px;
  height: 52px;
  background: rgba(255,255,255,.35);
  flex: 0 0 1px;
}

.disclaimer-price{
  margin-top: 1.1rem;
}

@media (max-width: 768px){
  .treat-card{
    flex-direction: column;
    align-items: flex-start;
    gap: .85rem;
    padding: 1rem 1.05rem;
  }

  .treat-divider{
    width: 100%;
    height: 1px;
  }
}

/* ========== Contatti ========== */
.contact-section{
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid rgba(252, 0, 151, 0.16);
}

.contact-lead{
  margin: 0 0 1.2rem;
  color: var(--muted);
}

.info-panel{
  display: block;
}

.info-card{
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid rgba(252, 0, 151, 0.18);
  box-shadow: 0 10px 28px rgba(0,0,0,0.05);
  padding: 1.35rem 1.4rem;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.location-header{
  min-height: 140px;
  padding: 1.1rem 1.3rem;
  margin: -1.35rem -1.4rem 1rem;
  border-radius: 22px 22px 0 0;
  display: flex;
  align-items: flex-start;
  background-image: url("immagini/location_2.jpeg");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.location-header::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.60), rgba(255,255,255,.12));
}

.info-title{
  margin: 0 0 0.5rem;
}

.info-address{
  font-style: normal;
  color: var(--muted);
  margin: 0 0 0.9rem;
}

.location-actions{
  margin: 1rem 0 .8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
}

.info-divider{
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 1rem 0;
}

.hours-list{
  display: grid;
  gap: 0.55rem;
  margin: 0.2rem 0 0.9rem;
}

.hours-row{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: rgba(252, 0, 151, 0.06);
  border: 1px solid rgba(252, 0, 151, 0.12);
}

.hours-row span{
  color: var(--muted);
}

.contact-banner{
  margin-top: 1rem;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-xl);
  padding: 1.35rem 1.4rem;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 34px rgba(252, 0, 151, 0.25);
  overflow: hidden;
}

.contact-banner h3,
.contact-banner p{
  color: #fff;
}

.contact-banner__title{
  margin-bottom: 0.25rem;
}

.contact-banner__subtitle{
  margin: 0;
  opacity: 0.92;
}

.cta-hero-group{
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
}

.cta-hero-item{
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.contact-banner .btn--light{
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.btn--light .cta-btn-title{
  max-width: 100%;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .85rem;
  overflow-wrap: anywhere;
}

.btn--light .cta-btn-value{
  max-width: 100%;
  font-weight: 850;
  font-size: 1.05rem;
  line-height: 1.15;
  text-align: center;
  color: var(--text);
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (min-width: 1000px){
  .cta-hero-group{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
}

/* ========== Footer + WhatsApp ========== */
footer{
  text-align: center;
  padding: 1.6rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.wa-floating{
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  display: none;
  text-decoration: none;
  z-index: 50;
}

.wa-floating:active{
  transform: scale(0.96);
}

.wa-icon{
  width: 44px;
  height: 44px;
  display: block;
}

/* ========== Responsive ========== */
@media (max-width: 768px){
  section:not(.hero){
    margin: 1rem 0.3rem;
    padding: 2rem 1.2rem;
  }

  .hero{
    text-align: center;
    padding: 4rem 1.4rem;
  }

  .hero-intro{
    margin: 0 auto;
  }

  .nav-links{
    justify-content: center;
  }

  .header-top .nav-container{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
  }

  .cta-group{
    align-items: flex-end;
  }

  .wa-floating{
    display: block;
  }
}

@media (max-width: 480px){
  .logo-img{
    width: 34px;
    height: 34px;
  }

  .logo-text{
    font-size: 0.85rem;
  }

  .cta-tel{
    font-size: 0.8rem;
  }

  .header-top .nav-container{
    gap: 0.4rem;
  }

  .cta-double-hero{
    flex-direction: column;
  }

  .cta-double-hero a{
    width: 100%;
  }

  .contact-banner{
    padding: 1.25rem 1rem;
  }

  .btn--light{
    padding: 0.95rem 0.85rem;
  }

  .btn--light .cta-btn-value{
    font-size: 0.75rem;
  }
}