:root {
  --pink: #d97aa6;
  --pink-light: #f0e1e8;
  --ottanio: #0f7c82;
  --ottanio-dark: #0b666b;
  --ottanio-light: #eaf7f7;
  --dark: #2b2b2b;
  --text: #555555;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 15px rgba(0,0,0,.05);
  transition: background .35s ease, box-shadow .35s ease;
}

.logo img {
  transition: transform .35s ease;
}

header.scrolled .logo img {
  transform: scale(.85);
}

header.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo img {
  width: auto;
  height: 110px;
  max-width: none;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
}

nav ul li {
  list-style: none;
}

nav a {
  color: var(--dark);
  font-weight: 500;
  transition: .3s;
  position: relative;
}

nav a:hover {
  color: var(--ottanio);
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: .3s;
}

nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 34px;
  cursor: pointer;
  color: var(--dark);
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  line-height: 1;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--ottanio);
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  display: inline-block;
  font-weight: 600;
  transition: transform .35s ease, box-shadow .35s ease;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-25deg);
  transition: left .8s ease;
}

.btn-primary:hover {
  background: var(--ottanio-dark);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--pink);
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  display: inline-block;
  font-weight: 600;
  transition: .3s;
}

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

.btn-secondary {
  border: 2px solid var(--pink);
  color: var(--pink);
  padding: 15px 30px;
  border-radius: 50px;
  display: inline-block;
  transition: .3s;
}

.btn-secondary:hover {
  background: var(--pink);
  color: #fff;
}

.hero {
  min-height:calc(100vh - 140px);
    padding:60px 0;
  background: linear-gradient(90deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,.16) 26%, rgba(255,255,255,.05) 45%, rgba(255,255,255,0) 60%), url('../images/hero.webp?v=deda3a5ef1d3');
  background-size: cover;
  background-position: center 0%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 700px;
  margin-left: 5%;
  transform: translateY(-32px);
}

.hero-subtitle {
  color: var(--ottanio);
  letter-spacing: 4px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 25px;
  text-transform: none;
}

.hero-title-top {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5.5rem;
  line-height: 1;
  color: var(--dark);
  font-weight: 400;
  text-transform: none;
}

.hero-title-bottom {
  font-family: 'Allura', cursive;
  font-size: 6.8rem;
  color: var(--pink);
  line-height: 0.7;
  margin-top: -10px;
  font-weight: 400;
  font-style: normal;
  text-transform: none;
}

.hero-location {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--ottanio);
  letter-spacing: .5px;
  margin: 10px 0 22px;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 35px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.rating {
  margin-top: 30px;
  color: var(--ottanio);
  font-weight: 600;
}

.hero-subtitle,
.hero-title,
.hero-location,
.hero-description,
.hero-buttons,
.rating {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFade .8s ease forwards;
}

.hero-subtitle { animation-delay: .2s; }
.hero-title { animation-delay: .45s; }
.hero-location { animation-delay: .7s; }
.hero-description { animation-delay: .9s; }
.hero-buttons { animation-delay: 1.15s; }
.rating { animation-delay: 1.35s; }

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.4rem;
  color: var(--dark);
}

.section-tag {
  display: block;
  text-align: center;
  color: var(--ottanio);
  font-weight: 600;
  letter-spacing: 4px;
  margin-bottom: 15px;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  color: var(--text);
}

.about {
  background: #fff;
}

.about-text {
  max-width: 900px;
  margin: auto;
  text-align: center;
  font-size: 1.15rem;
  color: var(--text);
}

.treatments {
  background: var(--pink-light);
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.treatment-card {
  background: #fff;
  padding: 35px;
  border-radius: 24px;
  border: 1px solid rgba(217,122,166,.12);
  box-shadow: 0 8px 25px rgba(0,0,0,.06);
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.treatment-card:hover {
  transform: translateY(-10px);
  border-color: rgba(15,124,130,.25);
  box-shadow: 0 20px 45px rgba(15,124,130,.15);
}

.treatment-card h3 {
  color: var(--ottanio);
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.treatment-card p {
  color: var(--text);
}

.treatment-list {
  list-style-type: none;
  padding: 0;
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.treatment-list li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  perspective: 1000px;
}

.treatment-list li a {
  color: var(--pink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: color 0.3s ease, transform 0.3s ease;
  font-weight: 500;
}

.treatment-list li a::before {
  content: "•";
  color: var(--ottanio);
  font-size: 1.3rem;
  line-height: 1;
  transition: color 0.3s ease;
}

.treatment-list li:hover a {
  color: var(--ottanio);
  transform: scale(1.06);
}

.treatment-list li:hover a::before {
  color: var(--pink);
}

.card {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 30px;
}

.technologies {
  background: #fff;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.tech-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .4s ease, box-shadow .4s ease;
}

.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  transition: left .8s ease;
  z-index: 2;
  pointer-events: none;
}

.tech-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 55px rgba(15,124,130,.18);
}

.tech-card:hover::before {
  left: 150%;
}

.tech-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: .5s;
}

.tech-card:hover img {
  transform: scale(1.08);
}

.tech-card h3 {
  color: var(--ottanio);
  padding: 25px 25px 10px;
  font-size: 1.3rem;
}

.tech-card p {
  padding: 0 25px 30px;
  color: var(--text);
}

.location-map {
  margin: 50px 0 80px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.location-map iframe[hidden] {
  display: none;
}

.map-consent-placeholder {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 40px 24px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 79, 157, .14), transparent 34%),
    radial-gradient(circle at 85% 80%, rgba(0, 109, 119, .18), transparent 38%),
    linear-gradient(135deg, #fff 0%, #fff7fb 48%, #eef9f8 100%);
}

.map-consent-placeholder[hidden] {
  display: none;
}

.map-consent-content {
  max-width: 620px;
  text-align: center;
}

.map-consent-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #fff;
  color: var(--ottanio);
  font-size: 2rem;
  box-shadow: 0 14px 35px rgba(0, 109, 119, .14);
}

.map-consent-content h3 {
  margin-bottom: 12px;
  color: var(--ottanio);
  font-size: 1.7rem;
}

.map-consent-content p {
  max-width: 560px;
  margin: 0 auto 22px;
  color: var(--text);
  line-height: 1.7;
}

.map-consent-content .btn-primary {
  margin-bottom: 16px;
  border: 0;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}

.map-consent-content > a,
.map-noscript a {
  display: block;
  color: var(--ottanio);
  font-weight: 600;
  text-decoration: underline;
}

.map-noscript {
  padding: 30px;
  text-align: center;
  background: #fff;
}

.location {
  background: var(--ottanio-light);
  text-align: center;
}

.location-text {
  font-size: 1.15rem;
  margin-bottom: 35px;
  color: var(--dark);
}

.location-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hours {
  max-width: 400px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  margin-top: 100px;
}

.hours h3 {
  color: var(--ottanio);
  margin-bottom: 15px;
}

.contacts {
  background: #fff;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-card {
  background: #fff;
  padding: 35px;
  border-radius: 24px;
  border-top: 5px solid var(--ottanio);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.contact-card:hover {
  transform: translateY(-12px);
  border-top-color: var(--pink);
  box-shadow: 0 22px 50px rgba(15,124,130,.18);
}

.contact-card:hover img {
  transform: scale(1.10);
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.18));
}

.contact-card:hover h3 {
  transform: translateY(-2px);
  color: var(--pink);
}

.contact-card:hover > a {
  transform: translateY(-2px);
}

.contact-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
  margin: 0 auto 20px;
  transition: transform .35s ease, filter .35s ease;
}

.contact-card h3 {
  color: var(--ottanio);
  margin-bottom: 15px;
  transition: transform .35s ease, color .35s ease;
}

.contact-card a {
  color: var(--dark);
  transition: .3s;
  display: block;
  text-align: center;
  word-break: break-word;
  transition: transform .35s ease, color .35s ease;
}

.contact-card a:hover {
  color: var(--pink);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 25px;
  width: 100%;
}

.social-link {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  width: 100%;
  text-align: left;
  transition: transform .35s ease, color .35s ease;
}

.social-link img {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px;
  margin: 0 !important;
  object-fit: contain;
  transition: transform .35s ease, filter .35s ease;
}

.social-link span {
  font-size: 1.15rem;
  line-height: 1;
  transition: transform .35s ease, color .35s ease;
}

.contact-card .social-link {
  color: var(--dark);
}

.contact-card .social-link:hover {
  color: var(--pink);
  transform: translateX(6px);
}

.contact-card .social-link:hover img {
  transform: scale(1.12) rotate(-6deg);
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.15));
}

.contact-card .social-link:hover span {
  transform: translateX(4px);
}

.cta {
  background: linear-gradient(135deg, var(--ottanio), #145f63);
  color: #fff;
  text-align: center;
}

.cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 35px;
}

footer {
  background: #103d40;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.footer-info p {
  line-height: 1.6;
  opacity: 0.95;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.footer-info .copyright {
  margin-top: 15px;
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-legal {
  margin-top: 10px;
  font-size: 0.9rem;
}

.footer-legal a {
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-legal a:hover {
  opacity: 1;
  text-decoration: underline;
}

.cookie-preferences-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  opacity: .8;
  font: inherit;
  cursor: pointer;
  transition: opacity .3s;
}

.cookie-preferences-link:hover,
.cookie-preferences-link:focus-visible {
  opacity: 1;
  text-decoration: underline;
}

.footer-legal .separator {
  margin: 0 10px;
  opacity: 0.4;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #006d6f;
  color: #fff;
  text-decoration: none;
  padding: 16px 24px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  z-index: 99999;
  transition: .3s;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
}


@media (min-width: 769px) and (max-width: 1366px) {
  .container {
    width: 90% !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .tech-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: contain;
    background: #fff;
  }
  .menu-toggle {
    display: block !important;
    font-size: 34px;
    cursor: pointer;
  }
  .btn-whatsapp {
    display: none !important;
  }
  .header-container {
    width: 90% !important;
    margin: auto !important;
    flex-wrap: wrap;
  }
  nav {
    width: 100%;
  }
  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 18px;
    padding: 25px 0;
    background: #fff;
  }
  nav ul.active {
    display: flex !important;
  }
  .logo img {
    width: auto;
    height: 75px;
    max-width: none;
  }
  .hero {
    min-height: 85vh;
    background: linear-gradient(90deg, rgba(255,255,255,.32) 0%, rgba(255,255,255,.15) 28%, rgba(255,255,255,.04) 46%, rgba(255,255,255,0) 60%), url('../images/hero.webp?v=deda3a5ef1d3');
    background-size: cover;
    background-position: 78% center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
  }
  .hero-content {
    margin-left: 0;
    padding-left: 20px;
    padding-right: 15px;
    max-width: 400px;
  }
  .hero-subtitle {
    font-size: .95rem;
    letter-spacing: 2.5px;
    line-height: 1.4;
    margin-bottom: 18px;
  }
  .hero-title-top {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    line-height: 1;
  }
  .hero-title-bottom {
    font-family: 'Allura', cursive;
    font-size: 5.2rem;
    line-height: .9;
    margin-top: -6px;
  }
  .hero-location {
    font-size: 1.45rem;
    margin: 12px 0 20px;
  }
  .hero-description {
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 28px;
    color: #333;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 15px 28px;
  }
  .hero-buttons .btn-secondary {
    background: rgba(255,255,255,.85);
    color: #b84a7e;
    font-weight: 600;
  }
  .rating {
    margin-top: 22px;
    font-size: .9rem;
  }
  .treatments-grid,
  .tech-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .section-title h2 {
    font-size: 2.5rem;
  }
  section {
    padding: 80px 0;
  }
  .treatment-card,
  .contact-card {
    padding: 25px;
  }
  .location-buttons {
    flex-direction: column;
    align-items: center;
  }
  .cta h2 {
    font-size: 2.5rem;
  }
  .floating-whatsapp {
    right: 15px;
    bottom: 15px;
    padding: 14px 20px;
  }
}

@media (max-width: 768px) {
  .container {
    width: 90% !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .tech-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: contain;
    background: #fff;
  }
  .menu-toggle {
    display: block !important;
    font-size: 34px;
    cursor: pointer;
  }
  .btn-whatsapp {
    display: none !important;
  }
  .header-container {
    width: 90% !important;
    margin: auto !important;
    flex-wrap: wrap;
  }
  nav {
    width: 100%;
  }
  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 18px;
    padding: 25px 0;
    background: #fff;
  }
  nav ul.active {
    display: flex !important;
  }
  .logo img {
    height: 75px;
  }
  .hero {
    min-height: 85vh;
    background: linear-gradient(90deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.10) 45%, rgba(255,255,255,0) 70%), url('../images/hero-mobile-768.webp?v=b3c17f6cf496');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
  }
  .hero-content {
    margin-left: 0 !important;
    padding-left: 18px !important;
    padding-right: 10px !important;
    max-width: 310px;
    transform: translateY(-25px);
  }
  .hero-subtitle {
    font-size: 0.82rem;
    letter-spacing: 2px;
    line-height: 1.4;
    max-width: 200px;
    margin-bottom: 15px;
  }
  .hero-title-top {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.1rem;
    line-height: 1;
    text-transform: none;
  }
  .hero-title-bottom {
    font-family: 'Allura', cursive;
    font-size: 4.1rem;
    margin-top: -5px;
    line-height: 0.9;
    text-transform: none;
  }
  .hero-description {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #333;
  }
  .hero-description-line-1,
  .hero-description-line-2,
  .hero-description-line-3,
  .hero-description-line-4,
  .hero-description-line-5 {
    display: block;
  }
  .hero-description-desktop-separator {
    display: none;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }
  .hero-buttons .btn-primary {
    width: 100%;
    text-align: center;
    padding: 13px 25px;
  }
  .hero-buttons .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 13px 25px;
    background: rgba(255,255,255,0.85);
    color: #b84a7e;
    font-weight: 600;
  }
  .hero-location {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  .hero-location-prefix,
  .hero-location-main,
  .hero-location-suffix {
    display: block;
  }
  .hero-location-prefix {
    margin-bottom: 2px;
  }
  .hero-location-main {
    font-size: 1.18rem;
    line-height: 1.15;
    margin-bottom: 2px;
  }
  .hero-location-suffix {
    font-size: 1.18rem;
    line-height: 1.15;
  }
  .rating {
    margin-top: 20px;
    font-size: 0.8rem;
    letter-spacing: 0.2px;
  }
  .treatments-grid,
  .tech-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .section-title h2 {
    font-size: 2.5rem;
  }
  section {
    padding: 80px 0;
  }
  .treatment-card,
  .contact-card {
    padding: 25px;
  }
  .location-buttons {
    flex-direction: column;
    align-items: center;
  }
  .cta h2 {
    font-size: 2.5rem;
  }
  .floating-whatsapp {
    right: 15px;
    bottom: 15px;
    padding: 14px 20px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    max-width: 260px;
    padding-left: 12px !important;
  }
  .hero-title-top {
    font-size: 2.6rem;
  }
  .hero-title-bottom {
    font-size: 3.4rem;
  }
  .section-title h2 {
    font-size: 2.2rem;
  }
  .hero-buttons a,
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 -5px 25px rgba(0,0,0,.15);
  z-index: 999999;
  transform: translateY(100%);
  transition: transform 0.5s ease-in-out;
  display: flex;
  justify-content: center;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  width: 90%;
  max-width: 1200px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
  flex: 1;
  min-width: 280px;
  line-height: 1.5;
}

.cookie-content a {
  color: var(--ottanio);
  font-weight: 600;
  text-decoration: underline;
  transition: 0.3s;
}

.cookie-content a:hover {
  color: var(--pink);
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cookie-buttons button {
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 50px;
  border: none;
}

.cookie-btn-reject {
  color: #9f4568;
  border-color: #9f4568;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    padding: 20px 15px;
  }
  .cookie-buttons {
    justify-content: center;
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .cookie-buttons button {
    width: 100%;
    text-align: center;
  }
}

.fade-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}

.fade-section.show {
  opacity: 1;
  transform: translateY(0);
}

.treatment-card,
.tech-card,
.contact-card {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .6s ease, transform .6s ease;
}

.treatment-card.show,
.tech-card.show,
.contact-card.show {
  opacity: 1;
  transform: translateY(0);
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.about-image img {
  border-radius: 24px;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

section {
  scroll-margin-top: 100px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.product-card {
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 20px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-10px) scale(1.02);
}

.product-card img {
  border-radius: 15px;
  margin-bottom: 15px;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(15,124,130,0.3);
  backdrop-filter: blur(0px); /* Assumed from standard backdrop usage, adjust if needed */
  transition: opacity 0.3s ease;
  justify-content: center;
  align-items: center;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: white;
  padding: 40px;
  border-radius: 25px;
  max-width: 500px;
  width: 90%;
  position: relative;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: scale(1);
}

.close-modal {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 35px;
  cursor: pointer;
  color: var(--ottanio);
}

/* FIX MOBILE - card trattamenti che escono a destra durante lo scroll */
@media (max-width: 768px) {
  .treatments,
  .treatments .container,
  .treatments-grid {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .treatments .container {
    width: 90% !important;
  }

  .treatments-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px;
  }

  .treatment-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    transform: none !important;
    transition: opacity .6s ease !important;
    content-visibility: visible;
    contain: none;
  }

  .treatment-card.show {
    transform: none !important;
  }

  .treatment-card:hover,
  .treatment-card:active {
    transform: none !important;
  }
}

/* =========================================================
   iOS FIX - Safari / Chrome on iPhone
========================================================= */
@supports (-webkit-touch-callout: none) {
  html,
  body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    max-width: 100%;
  }

  .hero-buttons > * {
    flex: 0 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    align-self: flex-start;
    box-sizing: border-box;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary,
  .hero-buttons .btn-whatsapp,
  .hero-buttons a,
  .hero-button,
  .product-modal-text .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
  }
}
/* Premium editorial treatments section */
.premium-section-intro {
  max-width: 860px;
}

.premium-treatments-grid {
  column-count: 3;
  column-gap: 28px;
  margin-top: 28px;
}

.premium-treatment-card {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 28px;
  padding: 30px 28px 26px;
  background: linear-gradient(180deg, #ffffff 0%, #fffdfd 100%);
  border: 1px solid rgba(217,122,166,.12);
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(0,0,0,.06);
  text-align: left;
  overflow: hidden;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.premium-treatment-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--ottanio));
}

.premium-treatment-card:hover {
  transform: translateY(-8px);
  border-color: rgba(15,124,130,.22);
  box-shadow: 0 22px 50px rgba(15,124,130,.14);
}

.premium-treatment-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--ottanio);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.premium-treatment-card h3 {
  color: var(--dark);
  margin-bottom: 10px;
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.25;
}

.premium-treatment-summary {
  margin-bottom: 18px;
  color: var(--text);
  font-size: .98rem;
  line-height: 1.75;
}

.premium-treatment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.premium-treatment-list li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.premium-treatment-list li a {
  color: var(--pink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  transition: color .3s ease, transform .3s ease;
}

.premium-treatment-list li a::before {
  content: "•";
  color: var(--ottanio);
  font-size: 1.3rem;
  line-height: 1;
  transition: color .3s ease;
}

.premium-treatment-list li a:hover {
  color: var(--ottanio);
  transform: translateX(6px);
}

.premium-treatment-list li a:hover::before {
  color: var(--pink);
}

.premium-treatment-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--ottanio-dark);
  font-weight: 600;
  transition: color .3s ease, transform .3s ease;
}

.premium-treatment-more::after {
  content: "→";
  transition: transform .3s ease;
}

.premium-treatment-more:hover {
  color: var(--pink);
}

.premium-treatment-more:hover::after {
  transform: translateX(4px);
}

@media (min-width: 769px) and (max-width: 1366px) {
  .premium-treatments-grid {
    column-count: 2;
    column-gap: 22px;
  }
}

@media (max-width: 768px) {
  .premium-treatments-grid {
    column-count: 1;
    column-gap: 0;
  }

  .premium-treatment-card {
    padding: 24px 22px 22px;
    margin-bottom: 20px;
  }

  .premium-treatment-card h3 {
    font-size: 1.2rem;
  }

  .premium-treatment-summary {
    font-size: .95rem;
  }
}

@media (max-width: 480px) {
  .premium-treatment-card {
    padding: 22px 18px 20px;
  }
}

/* Mobile hero buttons compact override */
@media (max-width: 768px) {
  .hero-buttons > a,
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: fit-content !important;
    max-width: 100% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px 18px !important;
    font-size: 0.9rem !important;
    line-height: 1.2;
    white-space: nowrap !important;
    flex: 0 0 auto;
  }
}

/* Header home uniforme alla pagina Prodotti */
body > main > header .header-container,
body > header .header-container {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

@media (min-width: 769px) and (max-width: 1366px) {
  body > main > header .header-container,
  body > header .header-container {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }
}

@media (max-width: 768px) {
  body > main > header .header-container,
  body > header .header-container {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
}
/* =========================================================
   RECENSIONI GOOGLE - carosello home
   LCP-safe: carosello a transform, senza scroll-snap/max-content
========================================================= */
.google-reviews-section {
  background:
    radial-gradient(circle at 8% 20%, rgba(217,122,166,.10), transparent 32%),
    radial-gradient(circle at 92% 78%, rgba(15,124,130,.10), transparent 35%),
    #fff;
  overflow: hidden;
}

.google-reviews-title {
  margin-bottom: 18px;
}

.google-reviews-intro {
  margin-bottom: 48px;
}

.google-reviews-layout {
  display: grid;
  grid-template-columns: minmax(210px, 245px) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
}

.google-rating-summary {
  min-height: 320px;
  padding: 30px 26px;
  border-radius: 28px;
  background: linear-gradient(145deg, #ffffff 0%, #fff8fb 58%, #eef9f8 100%);
  border: 1px solid rgba(15,124,130,.12);
  box-shadow: 0 18px 45px rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.google-rating-kicker {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2.7px;
  color: var(--dark);
}

.google-rating-stars,
.review-stars {
  color: #f4b400;
  letter-spacing: 2px;
}

.google-rating-stars {
  margin: 12px 0 7px;
  font-size: 1.75rem;
  line-height: 1;
}

.google-rating-score {
  font-size: 1.02rem;
  color: var(--dark);
}

.google-rating-count {
  margin-top: 2px;
  color: var(--text);
  font-size: .86rem;
  line-height: 1.45;
}

.google-wordmark {
  margin-top: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.15rem;
  font-weight: 600;
  letter-spacing: -2px;
  line-height: 1;
}

.g-blue { color: #4285f4; }
.g-red { color: #ea4335; }
.g-yellow { color: #fbbc05; }
.g-green { color: #34a853; }

.google-rating-link {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ottanio-dark);
  font-size: .86rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .25s ease, transform .25s ease;
}

.google-rating-link:hover {
  color: var(--pink);
  transform: translateY(-2px);
}

.google-reviews-carousel {
  position: relative;
  min-width: 0;
  padding: 0 18px 24px;
}

/*
 * Niente overflow-x:auto / scroll-snap / width:max-content.
 * Lighthouse 13.4.1 smetteva di produrre LCP quando questa struttura
 * scrollabile era presente nella Home. Il movimento avviene sul track.
 */
.google-reviews-viewport {
  width: 100%;
  overflow: hidden;
  scrollbar-width: none;
  padding: 3px 2px 18px;
  touch-action: pan-y;
}

.google-reviews-viewport::-webkit-scrollbar {
  display: none;
}

.google-reviews-track {
  display: flex;
  gap: 20px;
  width: 100%;
  transform: translate3d(0,0,0);
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

.google-review-card {
  position: relative;
  flex: 0 0 clamp(270px, 28vw, 315px);
  width: clamp(270px, 28vw, 315px);
  aspect-ratio: 1 / 1;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(43,43,43,.10);
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 34px rgba(0,0,0,.065);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.google-review-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 24px 0 0 24px;
  background: linear-gradient(180deg, var(--pink), var(--ottanio));
  opacity: .82;
}

.google-review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(15,124,130,.22);
  box-shadow: 0 19px 42px rgba(15,124,130,.13);
}

.google-review-head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 28px;
  gap: 12px;
  align-items: center;
}

.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--pink-light), var(--ottanio-light));
  color: var(--ottanio-dark);
  font-weight: 700;
  font-size: .84rem;
}

.review-person {
  min-width: 0;
}

.review-person h3 {
  margin: 0;
  color: var(--dark);
  font-size: .96rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-person time {
  display: block;
  margin-top: 3px;
  color: #8b8b8b;
  font-size: .72rem;
  line-height: 1.2;
}

.review-google-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #4285f4;
  background: #fff;
  border: 1px solid rgba(43,43,43,.08);
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
}

.review-stars {
  margin: 17px 0 13px;
  font-size: 1.05rem;
  line-height: 1;
}

.google-review-card p {
  margin: 0;
  color: #414141;
  font-size: .91rem;
  line-height: 1.63;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  overflow: hidden;
}

.review-source {
  margin-top: auto;
  padding-top: 15px;
  color: #9a9a9a;
  font-size: .7rem;
  letter-spacing: .25px;
}

.reviews-arrow {
  position: absolute;
  top: calc(50% - 28px);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(43,43,43,.13);
  background: rgba(255,255,255,.95);
  color: var(--ottanio-dark);
  box-shadow: 0 8px 22px rgba(0,0,0,.11);
  display: grid;
  place-items: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.reviews-arrow:hover {
  transform: scale(1.08);
  background: var(--ottanio);
  color: #fff;
}

.reviews-arrow-prev { left: -3px; }
.reviews-arrow-next { right: -3px; }

.reviews-progress {
  width: min(260px, 58%);
  height: 3px;
  margin: 5px auto 0;
  border-radius: 999px;
  background: rgba(15,124,130,.10);
  overflow: hidden;
}

.reviews-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pink), var(--ottanio));
  transform-origin: left center;
  transform: scaleX(.18);
  transition: transform .3s ease;
}

@media (min-width: 769px) and (max-width: 1366px) {
  .google-reviews-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }

  .google-review-card {
    flex-basis: min(300px, 42vw);
    width: min(300px, 42vw);
  }
}

@media (max-width: 768px) {
  .google-reviews-intro { margin-bottom: 32px; }

  .google-reviews-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .google-rating-summary {
    min-height: 0;
    padding: 25px 20px;
  }

  .google-rating-stars { font-size: 1.55rem; }
  .google-wordmark { font-size: 1.9rem; }

  .google-reviews-carousel {
    width: calc(100vw - 5vw);
    margin-right: calc(50% - 50vw);
    padding: 0 0 22px;
  }

  .google-reviews-viewport {
    padding-right: 9vw;
  }

  .google-reviews-track { gap: 14px; }

  .google-review-card {
    flex-basis: min(82vw, 315px);
    width: min(82vw, 315px);
    padding: 22px;
  }

  .reviews-arrow { display: none; }

  .reviews-progress {
    margin-left: 0;
    width: 50%;
  }
}

@media (max-width: 420px) {
  .google-review-card {
    flex-basis: 80vw;
    width: 80vw;
    border-radius: 22px;
  }

  .google-review-card p {
    font-size: .88rem;
    line-height: 1.58;
  }
}

@media (prefers-reduced-motion: reduce) {
  .google-reviews-track,
  .google-review-card,
  .reviews-arrow,
  .google-rating-link,
  .reviews-progress span {
    transition: none !important;
  }
}

/* =========================================================
   AGGIORNAMENTI INSTAGRAM - ultimi 6 contenuti automatici
========================================================= */
.instagram-updates {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(217,122,166,.15), transparent 30%),
    radial-gradient(circle at 88% 92%, rgba(15,124,130,.14), transparent 34%),
    linear-gradient(145deg, #fffafd 0%, #ffffff 48%, #f4fbfb 100%);
}

.instagram-updates::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  top: -210px;
  right: -100px;
  border: 1px solid rgba(217,122,166,.16);
  pointer-events: none;
}

.instagram-updates-title {
  margin-bottom: 16px;
}

.instagram-updates-intro {
  margin-bottom: 46px;
}

.instagram-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
  width: 100%;
}

.instagram-card {
  min-width: 0;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(43,43,43,.09);
  box-shadow: 0 16px 42px rgba(0,0,0,.075);
  opacity: 0;
  transform: translateY(20px);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, opacity .45s ease;
}

.instagram-card.show {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--instagram-delay, 0ms);
}

.instagram-card:not(.instagram-card-skeleton):hover {
  transform: translateY(-7px);
  border-color: rgba(15,124,130,.22);
  box-shadow: 0 22px 48px rgba(15,124,130,.14);
}

.instagram-card > a {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
}

.instagram-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(145deg, var(--pink-light), var(--ottanio-light));
}

.instagram-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.instagram-card:hover .instagram-card-media img {
  transform: scale(1.035);
}

.instagram-card-type,
.instagram-card-mark {
  position: absolute;
  z-index: 2;
  top: 16px;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  box-shadow: 0 5px 18px rgba(0,0,0,.09);
}

.instagram-card-type {
  left: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(43,43,43,.66);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.instagram-card-mark {
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, rgba(217,122,166,.92), rgba(15,124,130,.92));
  font-size: 1.35rem;
  line-height: 1;
}

.instagram-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 23px 24px;
}

.instagram-card-body time {
  margin-bottom: 8px;
  color: var(--ottanio-dark);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .3px;
}

.instagram-card-body p {
  margin: 0;
  color: #454545;
  font-size: .91rem;
  line-height: 1.62;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.instagram-card-link {
  margin-top: auto;
  padding-top: 18px;
  color: var(--ottanio-dark);
  font-size: .78rem;
  font-weight: 600;
}

.instagram-updates-actions {
  margin-top: 38px;
  text-align: center;
}

.instagram-profile-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.instagram-profile-icon {
  font-size: 1.35em;
  line-height: 1;
}

.instagram-feed-fallback {
  max-width: 660px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid rgba(15,124,130,.13);
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  text-align: center;
  color: var(--text);
}

.instagram-card-skeleton {
  aspect-ratio: .78 / 1;
  opacity: 1;
  transform: none;
  background: #fff;
  position: relative;
}

.instagram-card-skeleton::before,
.instagram-card-skeleton::after,
.instagram-card-skeleton span {
  content: "";
  position: absolute;
  left: 0;
  background: linear-gradient(90deg, #f5f5f5 20%, #fbfbfb 40%, #f5f5f5 60%);
  background-size: 220% 100%;
  animation: instagramSkeleton 1.4s ease-in-out infinite;
}

.instagram-card-skeleton::before {
  top: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.instagram-card-skeleton::after {
  left: 22px;
  right: 22px;
  bottom: 62px;
  height: 12px;
  border-radius: 999px;
}

.instagram-card-skeleton span {
  left: 22px;
  right: 76px;
  bottom: 36px;
  height: 10px;
  border-radius: 999px;
}

@keyframes instagramSkeleton {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}


@media (max-width: 1100px) and (min-width: 769px) {
  .instagram-feed {
    gap: 16px;
  }

  .instagram-card-body {
    padding: 17px 17px 19px;
  }

  .instagram-card-body p {
    font-size: .84rem;
  }
}

@media (max-width: 900px) {
  .instagram-feed {
    gap: 16px;
  }

  .instagram-card-body {
    padding: 18px 18px 20px;
  }
}


@media (max-width: 980px) and (min-width: 769px) {
  .instagram-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .instagram-updates-intro {
    margin-bottom: 32px;
  }

  .instagram-feed {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 460px;
    margin: 0 auto;
  }

  .instagram-card {
    border-radius: 23px;
  }

  .instagram-card-body p {
    -webkit-line-clamp: 2;
  }

  .instagram-updates-actions {
    margin-top: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .instagram-card,
  .instagram-card-media img,
  .instagram-card-skeleton::before,
  .instagram-card-skeleton::after,
  .instagram-card-skeleton span {
    transition: none !important;
    animation: none !important;
  }
}

/* Accessibilita: contrasto dei pulsanti rosa su fondo chiaro */
.btn-secondary{border-color:#b84a7e;color:#b84a7e}
.btn-secondary:hover,.btn-secondary:focus-visible{background:#b84a7e;color:#fff}
.btn-whatsapp{background:#b84a7e;color:#fff}


/* PageSpeed accessibility: contrasto pulsante cookie secondario */
.cookie-buttons .cookie-btn-reject{color:#8f315b!important;background:#fff!important;border:2px solid #8f315b!important}
.cookie-buttons .cookie-btn-reject:hover,.cookie-buttons .cookie-btn-reject:focus-visible{background:#8f315b!important;color:#fff!important}
/* Header CTA WhatsApp compatto - desktop */
@media (min-width:1367px){header .btn-whatsapp{padding:11px 20px!important;font-size:.92rem!important;line-height:1.2!important;white-space:nowrap!important}}

/* =========================================================
   IGIENE E SICUREZZA - sezione fiducia home
========================================================= */
.safety-section {
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(217,122,166,.13), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(15,124,130,.11), transparent 36%),
    #fff8fb;
  overflow: hidden;
}

.safety-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  gap: 54px;
  align-items: center;
  padding: 58px 62px;
  border: 1px solid rgba(15,124,130,.13);
  border-radius: 34px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 24px 65px rgba(57,48,54,.08);
  backdrop-filter: blur(4px);
}

.safety-panel::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(217,122,166,.20);
  border-radius: 50%;
  top: -105px;
  right: 16%;
  pointer-events: none;
}

.safety-copy .section-tag {
  text-align: left;
  margin-bottom: 18px;
}

.safety-copy h2 {
  max-width: 720px;
  margin: 0 0 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.65rem, 4vw, 4.15rem);
  line-height: .98;
  font-weight: 500;
  color: var(--dark);
}

.safety-copy > p:not(.safety-closing) {
  max-width: 760px;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text);
}

.safety-copy strong {
  color: var(--ottanio);
  font-weight: 600;
}

.safety-closing {
  margin: 24px 0 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-style: italic;
  color: #b84a7e;
}

.safety-trust-points {
  display: grid;
  gap: 14px;
}

.safety-trust-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 17px;
  align-items: center;
  padding: 19px 20px;
  border: 1px solid rgba(15,124,130,.11);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(0,0,0,.045);
}

.safety-trust-mark {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(15,124,130,.13), rgba(217,122,166,.16));
  color: var(--ottanio);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.safety-trust-item strong,
.safety-trust-item span:not(.safety-trust-mark) {
  display: block;
}

.safety-trust-item strong {
  margin-bottom: 4px;
  color: var(--dark);
  font-size: .98rem;
}

.safety-trust-item div > span {
  color: var(--text);
  font-size: .84rem;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .safety-panel {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 44px;
  }
  .safety-copy .section-tag,
  .safety-copy h2,
  .safety-copy > p,
  .safety-closing {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .safety-trust-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .safety-trust-item {
    grid-template-columns: 1fr;
    text-align: center;
    align-content: start;
  }
  .safety-trust-mark {
    margin: 0 auto;
  }
}

@media (max-width: 700px) {
  .safety-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .safety-panel {
    gap: 30px;
    padding: 38px 24px;
    border-radius: 26px;
  }
  .safety-copy h2 {
    font-size: 2.5rem;
    line-height: 1.02;
  }
  .safety-copy > p:not(.safety-closing) {
    font-size: .98rem;
    line-height: 1.72;
  }
  .safety-closing {
    margin-top: 20px;
    font-size: 1.35rem;
  }
  .safety-trust-points {
    grid-template-columns: 1fr;
  }
  .safety-trust-item {
    grid-template-columns: 44px minmax(0, 1fr);
    text-align: left;
    padding: 17px 18px;
  }
  .safety-trust-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    margin: 0;
  }
}


/* TABLET HERO 20260810: dedicated 4:3 asset */
@media (min-width: 769px) and (max-width: 1180px) {
  .hero {
    background-image: linear-gradient(90deg, rgba(255,255,255,.32) 0%, rgba(255,255,255,.15) 28%, rgba(255,255,255,.04) 46%, rgba(255,255,255,0) 60%), url('../images/hero-tablet.webp?v=6b68050f35e4');
    background-position: center center;
  }
}

/* Recensioni hero: CTA Google centrato sotto la valutazione su mobile/tablet */
@media (max-width:1180px){
  .rating a.rating-link{
    display:inline-flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:.28rem !important;
    text-align:center !important;
    white-space:normal !important;
  }
  .rating a.rating-link .rating-link-label{display:block !important;text-align:center !important;white-space:normal !important;}
  .rating a.rating-link .rating-link-cta{display:inline-flex !important;align-items:center !important;justify-content:center !important;margin-inline:auto !important;white-space:nowrap !important;}
}



/* =========================================================
   HOME - layout definitivo responsive (consolidato 2026-08-21)
   Sostituisce le patch progressive v3-v9 mantenendo il risultato finale.
   ========================================================= */

/* L'ultima card trattamenti resta centrata sotto il masonry. */
@media (min-width:1367px){
  .premium-treatments-grid > .premium-treatment-card:last-child{
    display:block;
    column-span:all;
    width:calc((100% - 56px) / 3);
    margin:0 auto 28px;
  }
}
@media (min-width:769px) and (max-width:1366px){
  .premium-treatments-grid > .premium-treatment-card:last-child{
    display:block;
    column-span:all;
    width:calc((100% - 22px) / 2);
    margin:0 auto 22px;
  }
}

/* Tablet verticale: copy e CTA definitivi. */
@media (min-width:769px) and (max-width:1023px) and (orientation:portrait){
  .hero-content{
    max-width:425px;
    padding-left:24px;
    padding-right:8px;
  }
  .hero-subtitle{font-size:1.12rem;letter-spacing:2.8px;margin-bottom:18px;}
  .hero-title-top{font-size:4.85rem;line-height:.98;}
  .hero-title-bottom{font-size:6.2rem;line-height:.86;}
  .hero-location{font-size:1.76rem;line-height:1.18;margin:13px 0 20px;}
  .hero-description{max-width:405px;font-size:1.24rem;line-height:1.48;margin-bottom:27px;}
  .hero-buttons{gap:14px;}
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary{
    width:fit-content;
    min-width:235px;
    min-height:54px;
    padding:15px 25px;
    font-size:1.02rem;
    line-height:1.2;
  }
  .rating{margin-top:23px;font-size:1rem;}
  .technologies .tech-card h3{padding:20px 20px 8px;font-size:1.16rem;}
  .technologies .tech-card p{padding:0 20px 24px;font-size:.94rem;line-height:1.6;}
}

.hero-description-tablet-landscape-break{display:none;}

/* Tablet orizzontale: hero definitiva e descrizione bilanciata su due righe. */
@media (min-width:1024px) and (max-width:1180px) and (orientation:landscape){
  .hero-content{
    max-width:790px;
    padding-left:26px;
    padding-right:10px;
    transform:translateY(-28px);
  }
  .hero-subtitle{font-size:1.08rem;letter-spacing:3px;margin-bottom:16px;}
  .hero-title-top{font-size:5rem;}
  .hero-title-bottom{font-size:6.25rem;}
  .hero-location{max-width:none;font-size:1.78rem;line-height:1.2;white-space:nowrap;margin:10px 0 18px;}
  .hero-location-prefix,
  .hero-location-main,
  .hero-location-suffix{display:inline;font-size:inherit;line-height:inherit;margin:0;}
  .hero-location-prefix::after,
  .hero-location-main::after{content:" ";}
  .hero-description{max-width:650px;font-size:1.24rem;line-height:1.45;margin-bottom:24px;text-wrap:pretty;}
  .hero-description-line-1,
  .hero-description-line-2,
  .hero-description-line-3,
  .hero-description-line-4,
  .hero-description-line-5,
  .hero-description-desktop-separator{display:inline;}
  .hero-description-tablet-landscape-break{display:block;}
  .hero-buttons{flex-direction:row;align-items:center;width:auto;gap:14px;}
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary{width:fit-content;min-width:220px;padding:14px 24px;font-size:.98rem;}
  .rating{font-size:.95rem;}
}

/* Technology cards: una sola definizione finale. */
.technologies .tech-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px;
  align-items:stretch;
}
.technologies .tech-card{
  display:flex;
  flex-direction:column;
  width:100%;
  min-width:0;
  max-width:none;
  height:100%;
  align-self:stretch;
}
.technologies .tech-card img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1 / 1;
  object-fit:contain;
  object-position:center center;
  background:#fff;
  padding:0;
}
.technologies .tech-card:hover img{transform:none;}
.technologies .tech-card p{flex:1 1 auto;}
@media (min-width:769px) and (max-width:1366px){
  .technologies .tech-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;}
}
@media (max-width:768px){
  .technologies .tech-grid{grid-template-columns:1fr;gap:22px;}
}

/* HOME HERO: animazioni staggered ripristinate anche su mobile (2026-08-20). */


/* =========================================================
   TABLET FIX 2026-08-21 - Hero Home allineata a sinistra
   ========================================================= */
@media (min-width:769px) and (max-width:1366px){
  .hero .container.hero-content{
    margin-left:5% !important;
    margin-right:auto !important;
  }
}
