/*
 * Elite Concierge - Main Stylesheet
 *
 * Design tokens are defined here as CSS custom properties.
 * Component styles are organized by BEM block.
 *
 * NOTE: This file is the placeholder/base layer.
 * The full component CSS is generated by the companion agent (variables.css, etc.)
 */

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  --ec-bg:      #080810;
  --ec-gold:    #C9A84C;
  --ec-text:    #F0F0F0;
  --ec-surface: #0E0E1A;

  --ec-font-serif:  'Playfair Display', Georgia, serif;
  --ec-font-sans:   'Montserrat', system-ui, sans-serif;

  --ec-container:   1280px;
  --ec-gutter:      24px;

  --ec-transition:  0.3s ease;
  --ec-radius:      4px;
  --ec-radius-lg:   8px;
}

/* ============================================
   RESET / BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--ec-bg);
  color: var(--ec-text);
  font-family: var(--ec-font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ec-gold);
  text-decoration: none;
  transition: opacity var(--ec-transition);
}

a:hover {
  opacity: 0.8;
}

ul, ol {
  list-style: none;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: var(--ec-container);
  margin-inline: auto;
  padding-inline: var(--ec-gutter);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--ec-font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--ec-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--ec-transition);
  white-space: nowrap;
}

.btn--gold {
  background-color: var(--ec-gold);
  border-color: var(--ec-gold);
  color: var(--ec-bg);
}

.btn--gold:hover {
  background-color: transparent;
  color: var(--ec-gold);
  opacity: 1;
}

.btn--outline {
  background-color: transparent;
  border-color: var(--ec-text);
  color: var(--ec-text);
}

.btn--outline:hover {
  background-color: var(--ec-text);
  color: var(--ec-bg);
  opacity: 1;
}

.btn--whatsapp {
  background-color: #25D366;
  border-color: #25D366;
  color: #fff;
}

.btn--whatsapp:hover {
  background-color: #1ebe5a;
  border-color: #1ebe5a;
  opacity: 1;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.8rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(8, 8, 16, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: background-color var(--ec-transition);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-header__logo {
  text-decoration: none;
  flex-shrink: 0;
}

.site-header__logo-text {
  font-family: var(--ec-font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ec-gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-header__nav-list {
  display: flex;
  gap: 32px;
  align-items: center;
}

.site-header__nav-list li a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ec-text);
  transition: color var(--ec-transition);
}

.site-header__nav-list li a:hover,
.site-header__nav-list li.current-menu-item a,
.site-header__nav-list li.current-page-ancestor a {
  color: var(--ec-gold);
  opacity: 1;
}

/* ---- Dropdown submenu ---- */
.site-header__nav-list li {
  position: relative;
  display: flex;
  align-items: center;
  height: 72px; /* full header height → zona hover continua fino al dropdown */
}

.site-header__nav-list .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  margin-left: 5px;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.site-header__nav-list .menu-item-has-children:hover > a::after {
  transform: rotate(-135deg) translateY(2px);
}

.site-header__nav-list .sub-menu {
  position: absolute;
  top: 100%; /* attaccato al bottom del li (= bottom header) → nessun gap */
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 220px;
  background: rgba(8, 8, 16, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--ec-radius);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  /* visibilità: usa visibility+opacity per animazione affidabile */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 300;
}

.site-header__nav-list li:hover > .sub-menu,
.site-header__nav-list li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.site-header__nav-list .sub-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid rgba(201, 168, 76, 0.2);
}

.site-header__nav-list .sub-menu li a {
  display: block;
  padding: 11px 22px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: rgba(240, 240, 240, 0.7);
  text-transform: uppercase;
  transition: color var(--ec-transition), background var(--ec-transition);
}

.site-header__nav-list .sub-menu li a:hover {
  color: var(--ec-gold);
  background: rgba(201, 168, 76, 0.07);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-header__wa-link {
  color: #25D366;
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.site-header__lang-switcher {
  display: flex;
  align-items: center;
}

/* Polylang wraps items in <ul class="pll-parent-menu-item"> */
.site-header__lang-switcher ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.site-header__lang-switcher li {
  list-style: none;
}

.site-header__lang-switcher a,
.site-header__lang-switcher span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--ec-radius);
  transition: all var(--ec-transition);
  color: rgba(240, 240, 240, 0.5);
  border: 1px solid transparent;
}

.site-header__lang-switcher a:hover {
  color: var(--ec-gold);
  border-color: rgba(201, 168, 76, 0.3);
  opacity: 1;
}

.site-header__lang-switcher .current-lang,
.site-header__lang-switcher a[aria-current="page"] {
  color: var(--ec-gold);
  border-color: rgba(201, 168, 76, 0.3);
}

/* ============================================
   HAMBURGER
   ============================================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--ec-text);
  transition: all var(--ec-transition);
  transform-origin: center;
}

.hamburger.is-active .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.is-active .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   MOBILE NAV
   ============================================ */
.mobile-nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--ec-surface);
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav__inner {
  padding: 32px var(--ec-gutter);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav__list li a {
  display: block;
  padding: 16px 0;
  font-size: 1.25rem;
  font-family: var(--ec-font-serif);
  color: var(--ec-text);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  transition: color var(--ec-transition);
}

.mobile-nav__list li a:hover {
  color: var(--ec-gold);
  opacity: 1;
}

.mobile-nav__list .sub-menu {
  list-style: none;
  padding-left: 16px;
}

.mobile-nav__list .sub-menu li a {
  padding: 10px 0;
  font-size: 1rem;
  border-color: rgba(201, 168, 76, 0.06);
  color: rgba(240, 240, 240, 0.65);
}

.mobile-nav__wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 14px 24px;
  background-color: #25D366;
  color: #fff;
  font-weight: 600;
  border-radius: var(--ec-radius);
  align-self: flex-start;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-image,
.hero__bg-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg-placeholder {
  background: linear-gradient(135deg, var(--ec-bg) 0%, #1a1a2e 50%, #0d0d1a 100%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(8, 8, 16, 0.3) 0%,
    rgba(8, 8, 16, 0.6) 60%,
    rgba(8, 8, 16, 0.85) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero__headline {
  font-family: var(--ec-font-serif);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ec-text);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: rgba(240, 240, 240, 0.85);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* Hero load animations */
.hero__headline {
  animation: heroFadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.hero__subtitle {
  animation: heroFadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}
.hero__cta-group {
  animation: heroFadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll-indicator span {
  display: block;
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, var(--ec-gold), transparent);
  animation: scroll-pulse 1.5s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); }
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services {
  padding: 96px 0;
}

/* ---- Section header ---- */
.services__header {
  text-align: center;
  margin-bottom: 56px;
}

.services__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ec-gold);
  margin-bottom: 14px;
  position: relative;
  padding: 0 20px;
}

.services__eyebrow::before,
.services__eyebrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--ec-gold);
  opacity: 0.4;
}
.services__eyebrow::before { right: 100%; margin-right: -18px; }
.services__eyebrow::after  { left:  100%; margin-left:  -18px; }

.services__title {
  font-family: var(--ec-font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--ec-text);
  margin-bottom: 12px;
  line-height: 1.15;
}

.services__subtitle {
  font-size: 1rem;
  color: rgba(240, 240, 240, 0.55);
  max-width: 480px;
  margin-inline: auto;
}

/* ---- Carousel wrap (arrows + grid) ---- */
.services__carousel-wrap {
  position: relative;
}

/* ---- Arrows (desktop: hidden; mobile: visible) ---- */
.services__arrow {
  display: none;
}

/* ---- Dots (desktop: hidden; mobile: visible) ---- */
.services__dots {
  display: none;
}

/* ---- Grid ---- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.service-card {
  background-color: var(--ec-surface);
  border-radius: var(--ec-radius-lg);
  overflow: hidden;
  transition: transform var(--ec-transition), box-shadow var(--ec-transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.service-card__link {
  display: block;
  color: var(--ec-text);
  text-decoration: none;
}

.service-card__category-label {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background-color: var(--ec-gold);
  color: var(--ec-bg);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

.service-card__image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #1a1a2e;
}

.service-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card__image {
  transform: scale(1.05);
}

.service-card__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #0e0e1a 100%);
}

.service-card__body {
  padding: 24px;
}

.service-card__title {
  font-family: var(--ec-font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--ec-text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card__desc {
  font-size: 0.9rem;
  color: rgba(240, 240, 240, 0.7);
  margin-bottom: 16px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card__price {
  margin-bottom: 20px;
}

.service-card__price-from {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ec-gold);
}

.service-card__price-label {
  font-size: 0.8rem;
  color: rgba(240, 240, 240, 0.6);
}

/* ============================================
   USP SECTION
   ============================================ */
.usp {
  padding: 96px 0;
  background-color: var(--ec-surface);
}

.usp__title {
  font-family: var(--ec-font-serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  color: var(--ec-gold);
  margin-bottom: 64px;
  letter-spacing: 0.04em;
}

.usp__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 40px;
}

.usp__item {
  text-align: center;
  padding: 32px 24px;
  background-color: rgba(201, 168, 76, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: var(--ec-radius-lg);
  transition: border-color var(--ec-transition), background-color var(--ec-transition);
}

.usp__item:hover {
  border-color: rgba(201, 168, 76, 0.4);
  background-color: rgba(201, 168, 76, 0.08);
}

.usp__icon {
  color: var(--ec-gold);
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.usp__icon-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(69%) sepia(51%) saturate(453%) hue-rotate(7deg) brightness(95%) contrast(87%);
}

.usp__item-title {
  font-family: var(--ec-font-serif);
  font-size: 1.125rem;
  color: var(--ec-text);
  margin-bottom: 12px;
}

.usp__item-desc {
  font-size: 0.875rem;
  color: rgba(240, 240, 240, 0.65);
  line-height: 1.6;
}

/* ============================================
   BOOKING FORM
   ============================================ */
.booking {
  padding: 96px 0;
}

.booking__inner {
  max-width: 840px;
  margin-inline: auto;
  background-color: var(--ec-surface);
  border-radius: var(--ec-radius-lg);
  padding: 48px;
  border: 1px solid rgba(201, 168, 76, 0.15);
}

.booking__header {
  text-align: center;
  margin-bottom: 40px;
}

.booking__title {
  font-family: var(--ec-font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--ec-gold);
  margin-bottom: 12px;
}

.booking__subtitle {
  font-size: 0.9rem;
  color: rgba(240, 240, 240, 0.65);
}

.booking-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.booking-form__field--full {
  grid-column: 1 / -1;
}

.booking-form__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.7);
  margin-bottom: 8px;
}

.booking-form__input,
.booking-form__select {
  width: 100%;
  background-color: rgba(8, 8, 16, 0.6);
  border: 1px solid rgba(240, 240, 240, 0.15);
  border-radius: var(--ec-radius);
  color: var(--ec-text);
  font-family: var(--ec-font-sans);
  font-size: 0.9rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--ec-transition);
  -webkit-appearance: none;
}

.booking-form__input:focus,
.booking-form__select:focus {
  border-color: var(--ec-gold);
}

.booking-form__input::placeholder {
  color: rgba(240, 240, 240, 0.3);
}

.booking-form__select option {
  background-color: var(--ec-surface);
  color: var(--ec-text);
}

.booking-form__addons {
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--ec-radius);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.booking-form__addons-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.7);
  margin-bottom: 16px;
}

.booking-form__addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.booking-form__addon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.875rem;
}

.booking-form__addon-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.booking-form__addon-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(240, 240, 240, 0.3);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ec-transition);
}

.booking-form__addon-item input[type="checkbox"]:checked + .booking-form__addon-check {
  background-color: var(--ec-gold);
  border-color: var(--ec-gold);
}

.booking-form__addon-item input[type="checkbox"]:checked + .booking-form__addon-check::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid var(--ec-bg);
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

.booking-form__message {
  min-height: 24px;
  font-size: 0.875rem;
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: var(--ec-radius);
}

.booking-form__message:empty {
  padding: 0;
  margin-bottom: 0;
}

.booking-form__message.is-success {
  background-color: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25D366;
}

.booking-form__message.is-error {
  background-color: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #ff6b7a;
}

.booking-form__submit {
  font-size: 0.9rem;
}

.booking-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================
   PARTNERS / TRUST
   ============================================ */
.partners {
  padding: 80px 0;
  background-color: var(--ec-surface);
  overflow: hidden;
}

.partners__header {
  text-align: center;
  margin-bottom: 48px;
}

.partners__title {
  font-family: var(--ec-font-serif);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  color: var(--ec-gold);
  margin-bottom: 12px;
}

.partners__desc {
  font-size: 0.9rem;
  color: rgba(240, 240, 240, 0.6);
}

.partners__track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 10%, black 90%, transparent 100%);
}

.partners__track {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.partners__track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partners__logo-item {
  flex-shrink: 0;
}

.partner-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity var(--ec-transition), filter var(--ec-transition);
}

.partner-logo:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

.partners__placeholder {
  text-align: center;
  color: rgba(240, 240, 240, 0.4);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
}

/* ============================================
   FLOATING CTA
   ============================================ */
.floating-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 200;
}

.floating-cta__whatsapp {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #25D366;
  color: #fff;
  padding: 14px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
  transition: all var(--ec-transition);
}

.floating-cta__whatsapp:hover {
  background-color: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
  opacity: 1;
}

/* ============================================
   SERVICE HERO
   ============================================ */
/* ============================================
   SERVICE HERO
   ============================================ */
.service-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  padding-top: 72px;
  overflow: hidden;
}

.service-hero__background {
  position: absolute;
  inset: 0;
}

.service-hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8, 8, 16, 0.3) 0%,
    rgba(8, 8, 16, 0.6) 50%,
    rgba(8, 8, 16, 0.96) 100%
  );
}

.service-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: 64px;
  max-width: 760px;
}

/* Breadcrumb */
.service-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.service-hero__breadcrumb a {
  color: rgba(240, 240, 240, 0.5);
  transition: color var(--ec-transition);
}

.service-hero__breadcrumb a:hover {
  color: var(--ec-gold);
}

.service-hero__breadcrumb span[aria-hidden] {
  color: rgba(240, 240, 240, 0.3);
}

.service-hero__breadcrumb [aria-current] {
  color: rgba(240, 240, 240, 0.75);
}

.service-hero__category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ec-gold);
  margin-bottom: 12px;
  padding: 4px 12px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 2px;
}

.service-hero__title {
  font-family: var(--ec-font-serif);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--ec-text);
  margin-bottom: 32px;
  line-height: 1.1;
}

/* Specs strip */
.service-hero__specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--ec-radius-lg);
  padding: 16px 24px;
  width: fit-content;
}

.service-hero__spec {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
}

.service-hero__spec:first-child {
  padding-left: 0;
}

.service-hero__spec-icon {
  color: var(--ec-gold);
  flex-shrink: 0;
}

.service-hero__spec-value {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ec-text);
  line-height: 1.2;
}

.service-hero__spec-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.45);
  line-height: 1;
  margin-top: 2px;
}

.service-hero__spec-divider {
  width: 1px;
  height: 36px;
  background: rgba(201, 168, 76, 0.2);
  flex-shrink: 0;
}

.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Mobile sticky CTA */
.service-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(8, 8, 16, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: none;
}

.service-sticky-cta.is-visible {
  transform: translateY(0);
}

.service-sticky-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.service-sticky-cta__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.service-sticky-cta__name {
  font-family: var(--ec-font-serif);
  font-size: 0.95rem;
  color: var(--ec-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-sticky-cta__price {
  font-size: 0.75rem;
  color: var(--ec-gold);
  font-weight: 600;
}

/* ============================================
   SERVICE DETAIL
   ============================================ */
.service-detail {
  padding: 80px 0;
}

.service-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.service-detail__description {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(240, 240, 240, 0.85);
}

.service-detail__description h2,
.service-detail__description h3 {
  font-family: var(--ec-font-serif);
  color: var(--ec-text);
  margin-bottom: 16px;
  margin-top: 32px;
}

.service-detail__description p {
  margin-bottom: 16px;
}

.service-detail__header {
  text-align: center;
  margin-bottom: 56px;
}

.service-detail__eyebrow {
  display: block;
  font-family: var(--ec-font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ec-gold);
  margin-bottom: 12px;
}

.service-detail__title {
  font-family: var(--ec-font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  color: var(--ec-text);
  margin: 0;
}

.service-features__block {
  background-color: var(--ec-surface);
  border-radius: var(--ec-radius-lg);
  padding: 28px;
  margin-bottom: 20px;
  border: 1px solid rgba(201, 168, 76, 0.1);
}

.service-features__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ec-gold);
  margin-bottom: 16px;
}

.service-features__heading--excluded {
  color: rgba(240, 240, 240, 0.5);
}

.service-features__heading--excluded svg {
  color: #ff6b7a;
}

.service-features__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features__list li {
  font-size: 0.9rem;
  color: rgba(240, 240, 240, 0.8);
  padding-left: 20px;
  position: relative;
}

.service-features__list--included li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #25D366;
  font-weight: 700;
}

.service-features__list--excluded li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #ff6b7a;
  font-weight: 700;
}

/* ============================================
   SERVICE HIGHLIGHTS
   ============================================ */
.service-highlights {
  padding: 80px 0;
  background-color: var(--ec-bg);
}

.service-highlights__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.service-highlights__item {
  text-align: center;
  padding: 40px 24px;
  background-color: var(--ec-surface);
  border-radius: var(--ec-radius-lg);
  border: 1px solid rgba(201, 168, 76, 0.12);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.service-highlights__item:hover {
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-4px);
}

.service-highlights__icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 16px;
}

.service-highlights__title {
  font-family: var(--ec-font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ec-gold);
  margin: 0 0 10px;
}

.service-highlights__text {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(240, 240, 240, 0.7);
  margin: 0;
}

/* ============================================
   SERVICE GALLERY
   ============================================ */
.service-gallery {
  padding: 80px 0;
  background-color: var(--ec-surface);
}

.service-gallery__title {
  font-family: var(--ec-font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--ec-gold);
  text-align: center;
  margin-bottom: 48px;
}

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

.service-gallery__item {
  overflow: hidden;
  border-radius: var(--ec-radius);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.service-gallery__item:first-child {
  grid-column: span 2;
}

.service-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-gallery__item:hover img {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay[hidden] {
  display: none;
}

.lightbox__image-wrap {
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox__image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--ec-radius);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: fixed;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--ec-text);
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: var(--ec-radius);
  transition: background-color var(--ec-transition);
  z-index: 1001;
}

.lightbox__close {
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 64px;
}

.lightbox__next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 64px;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background-color: rgba(201, 168, 76, 0.4);
}

/* ============================================
   RELATED SERVICES
   ============================================ */
.related-services {
  padding: 80px 0;
}

.related-services__title {
  font-family: var(--ec-font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--ec-gold);
  text-align: center;
  margin-bottom: 48px;
}

.related-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

/* ============================================
   ARCHIVE PAGE
   ============================================ */
.archive-hero {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(to bottom, var(--ec-surface) 0%, var(--ec-bg) 100%);
}

.archive-hero__title {
  font-family: var(--ec-font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--ec-gold);
  margin-bottom: 16px;
}

.archive-hero__desc {
  font-size: 1.05rem;
  color: rgba(240, 240, 240, 0.65);
  max-width: 600px;
  margin-inline: auto;
}

.services--archive {
  padding-top: 0;
}

/* ============================================
   PAGE DEFAULT
   ============================================ */
.page-featured-image {
  height: 50vh;
  overflow: hidden;
}

.page-featured-image__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-content__inner {
  padding: 64px var(--ec-gutter);
}

.page-content__title {
  font-family: var(--ec-font-serif);
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--ec-gold);
  margin-bottom: 40px;
}

.entry-content {
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(240, 240, 240, 0.85);
}

.entry-content h2, .entry-content h3 {
  font-family: var(--ec-font-serif);
  color: var(--ec-text);
  margin: 32px 0 16px;
}

.entry-content p { margin-bottom: 20px; }
.entry-content ul, .entry-content ol { margin: 16px 0 16px 24px; }
.entry-content ul li { list-style: disc; }
.entry-content ol li { list-style: decimal; }

/* ============================================
   404 PAGE
   ============================================ */
.error-404-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.error-404 {
  width: 100%;
  padding: 96px 0;
}

.error-404__inner {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
}

.error-404__code {
  font-family: var(--ec-font-serif);
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 700;
  color: rgba(201, 168, 76, 0.12);
  line-height: 1;
  margin-bottom: 24px;
  user-select: none;
}

.error-404__title {
  font-family: var(--ec-font-serif);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--ec-gold);
  margin-bottom: 16px;
}

.error-404__subtitle {
  font-size: 1rem;
  color: rgba(240, 240, 240, 0.65);
  margin-bottom: 40px;
  line-height: 1.7;
}

.error-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 64px;
}

.error-404__suggestions-title {
  font-family: var(--ec-font-serif);
  font-size: 1.375rem;
  color: var(--ec-text);
  margin-bottom: 28px;
}

.error-404__suggestions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.error-404__suggestion-item {
  display: block;
  border-radius: var(--ec-radius);
  overflow: hidden;
  color: var(--ec-text);
  background-color: var(--ec-surface);
  transition: transform var(--ec-transition);
}

.error-404__suggestion-item:hover {
  transform: translateY(-4px);
  opacity: 1;
}

.error-404__suggestion-item img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

.error-404__suggestion-title {
  display: block;
  padding: 12px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background-color: var(--ec-surface);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: 64px 0 32px;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.site-footer__logo-text {
  font-family: var(--ec-font-serif);
  font-size: 1.125rem;
  color: var(--ec-gold);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.site-footer__links a {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.6);
  transition: color var(--ec-transition);
}

.site-footer__links a:hover {
  color: var(--ec-gold);
  opacity: 1;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer__social-link {
  color: rgba(240, 240, 240, 0.5);
  transition: color var(--ec-transition);
  line-height: 0;
}

.site-footer__social-link:hover {
  color: var(--ec-gold);
  opacity: 1;
}

.site-footer__phone {
  font-size: 0.875rem;
  color: rgba(240, 240, 240, 0.6);
}

.site-footer__copy {
  font-size: 0.8rem;
  color: rgba(240, 240, 240, 0.35);
  text-align: center;
  border-top: 1px solid rgba(201, 168, 76, 0.07);
  padding-top: 24px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .service-detail__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-highlights__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .service-highlights__grid {
    grid-template-columns: 1fr;
  }

  .service-highlights__item {
    padding: 28px 20px;
  }
}

@media (max-width: 768px) {
  .site-header__nav { display: none; }
  .hamburger { display: flex; }

  /* Servizi HP: scroll orizzontale con snap invece di griglia verticale */
  .services__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .services__grid::-webkit-scrollbar { display: none; }

  .services__grid .service-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  /* Arrows */
  .services__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(8, 8, 16, 0.75);
    border: 1px solid rgba(201, 168, 76, 0.35);
    color: var(--ec-gold);
    cursor: pointer;
    transition: background var(--ec-transition), border-color var(--ec-transition);
    backdrop-filter: blur(8px);
  }
  .services__arrow:hover {
    background: rgba(201, 168, 76, 0.15);
    border-color: var(--ec-gold);
  }
  .services__arrow--prev { left: -4px; }
  .services__arrow--next { right: -4px; }
  .services__arrow.is-hidden { opacity: 0; pointer-events: none; }

  /* Dots */
  .services__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }

  .services__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
  }

  .services__dot.is-active {
    background: var(--ec-gold);
    transform: scale(1.35);
  }

  .booking-form__grid {
    grid-template-columns: 1fr;
  }

  .service-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-gallery__item:first-child {
    grid-column: span 1;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .booking__inner {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .hero__cta-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-gallery__grid {
    grid-template-columns: 1fr;
  }

  .floating-cta__label {
    display: none;
  }

  .floating-cta__whatsapp {
    padding: 14px;
    border-radius: 50%;
  }
}
