/* ═══════════════════════════════════════════════════
   RIVIERA PALACE RESIDENCE — components.css
   Navbar, Hero, Sezioni, Cards, Footer, Lightbox
════════════════════════════════════════════════════ */

/* ╔══════════════════════════════════════════════╗
   ║  NAVBAR                                      ║
   ╚══════════════════════════════════════════════╝ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 28px 48px;
  transition: all 0.5s var(--transition);
}

.navbar.scrolled {
  background: rgba(15, 35, 64, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 48px;
  box-shadow: 0 2px 40px rgba(0,0,0,0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.3s;
}

.nav-logo-img:hover { opacity: 0.85; }

.footer-logo-img {
  height: 76px;
}

.logo-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
}

.logo-sub {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--gold2);
}

.btn-nav {
  flex-shrink: 0;
  font-size: 11px;
  padding: 12px 28px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
  pointer-events: none;
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 1300;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--white);
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--gold2);
}

.mobile-close {
  position: absolute;
  top: 28px;
  right: 32px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--white);
  cursor: pointer;
}

/* ╔══════════════════════════════════════════════╗
   ║  HERO                                        ║
   ╚══════════════════════════════════════════════╝ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fallback per browser senza autoplay */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1499678329028-101435549a4e?w=1800&q=80') center/cover no-repeat;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(15, 35, 64, 0.72) 0%,
    rgba(15, 35, 64, 0.38) 60%,
    rgba(201, 168, 76, 0.12) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 0 32px;
}

.hero-content .eyebrow {
  color: var(--gold2);
  margin-bottom: 20px;
}

.hero-content h1 {
  margin-bottom: 24px;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 36px;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ╔══════════════════════════════════════════════╗
   ║  SEZIONE EXPERIENCE                          ║
   ╚══════════════════════════════════════════════╝ */
.experience {
  background: var(--white);
  padding-bottom: 0;
}

.exp-intro {
  max-width: 560px;
  margin-bottom: 56px;
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.exp-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: pointer;
}

.exp-img-wrap {
  position: absolute;
  inset: 0;
}

.exp-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--transition);
}

.exp-card:hover .exp-img-wrap img {
  transform: scale(1.07);
}

.exp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 35, 64, 0.88) 0%, transparent 55%);
  transition: background 0.6s var(--transition);
}

.exp-card:hover .exp-overlay {
  background: linear-gradient(to top, rgba(15, 35, 64, 0.94) 0%, rgba(15, 35, 64, 0.2) 65%);
}

.exp-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px;
  z-index: 2;
}

.exp-num {
  display: block;
  font-family: var(--serif);
  font-size: 4.5rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 8px;
}

.exp-content h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.exp-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--transition), opacity 0.5s;
  opacity: 0;
}

.exp-card:hover .exp-content p {
  max-height: 100px;
  opacity: 1;
}

/* ╔══════════════════════════════════════════════╗
   ║  APARTMENTS                                  ║
   ╚══════════════════════════════════════════════╝ */
.apartments {
  background: var(--cream);
}

.apt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.apt-card {
  background: var(--white);
  transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.apt-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(15, 35, 64, 0.14);
}

.apt-img-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.apt-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}

.apt-card:hover .apt-img-wrap img {
  transform: scale(1.06);
}

.apt-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 14px;
}

.apt-body {
  padding: 28px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.apt-body h3 {
  color: var(--navy);
  margin-bottom: 6px;
}

.apt-size {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.apt-body p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.apt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tag {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--navy2);
  border: 1px solid rgba(15, 35, 64, 0.25);
  padding: 5px 12px;
}

.apt-cta {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 0;
  transition: gap 0.3s, color 0.3s;
}

.apt-cta:hover {
  color: var(--gold);
  gap: 14px;
}

.apt-cta .arrow {
  transition: transform 0.3s;
}

.apt-cta:hover .arrow {
  transform: translateX(4px);
}

.apartment-modal {
  position: fixed;
  inset: 0;
  z-index: 9200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.apartment-modal.active {
  opacity: 1;
  pointer-events: all;
}

.apartment-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 28, 0.72);
  backdrop-filter: blur(4px);
}

.apartment-modal__panel {
  position: relative;
  width: min(960px, 100%);
  max-height: min(860px, 92vh);
  overflow: auto;
  background: var(--white);
  box-shadow: 0 36px 90px rgba(8, 15, 28, 0.34);
}

.apartment-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  color: var(--navy);
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(15, 35, 64, 0.12);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.3s, color 0.3s;
}

.apartment-modal__close:hover {
  color: var(--gold);
  transform: rotate(90deg);
}

.apartment-modal__header {
  padding: 34px 42px 20px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.28);
}

.apartment-modal__header .eyebrow {
  margin-bottom: 8px;
}

.apartment-modal__header h2 {
  padding-right: 48px;
}

.apartment-slider {
  position: relative;
  background: var(--cream);
}

.apartment-slider img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.apartment-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 54px;
  color: var(--white);
  background: rgba(15, 35, 64, 0.58);
  font-size: 2.3rem;
  line-height: 1;
  transition: background 0.3s, transform 0.3s;
}

.apartment-slider__nav:hover {
  background: rgba(15, 35, 64, 0.82);
}

.apartment-slider__nav--prev { left: 0; }
.apartment-slider__nav--next { right: 0; }

.apartment-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.apartment-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(15, 35, 64, 0.24);
}

.apartment-slider__dot.active {
  background: var(--gold);
}

.apartment-modal__content {
  padding: 30px 42px 40px;
}

.apartment-modal__content p {
  color: var(--text);
  margin-bottom: 14px;
}

.apartment-modal__equipment {
  border-top: 1px solid rgba(201, 168, 76, 0.25);
  padding-top: 16px;
  font-size: 0.92rem;
}

/* ╔══════════════════════════════════════════════╗
   ║  SERVICES                                    ║
   ╚══════════════════════════════════════════════╝ */
.services {
  background: var(--navy);
}

.services .section-header .eyebrow {
  color: var(--gold2);
}

.srv-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
  margin-top: 16px;
}

.srv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.srv-item {
  padding: 44px 28px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  transition: border-color 0.3s, background 0.3s;
  cursor: default;
}

.srv-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(201, 168, 76, 0.08);
  opacity: 0;
  transition: opacity 0.3s;
}

.srv-item:hover::before {
  opacity: 1;
}

.srv-item:hover {
  border-color: rgba(201, 168, 76, 0.35);
}

.srv-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.srv-item h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 8px;
}

.srv-item p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  font-family: var(--sans);
  font-weight: 300;
}

/* ╔══════════════════════════════════════════════╗
   ║  RIVIERA                                     ║
   ╚══════════════════════════════════════════════╝ */
.riviera {
  background: var(--white);
}

.riviera-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 0;
}

.riviera-text h2 {
  margin-bottom: 24px;
}

.riviera-text p {
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.riviera-img-wrap {
  position: relative;
}

.riviera-img-wrap::before {
  content: '';
  position: absolute;
  top: -24px;
  left: -24px;
  right: 24px;
  bottom: 24px;
  border: 1px solid var(--gold);
  z-index: 0;
  pointer-events: none;
}

.riviera-img-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* Destination cards */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.dest-scroller {
  display: flex;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  contain: layout paint;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) rgba(15, 35, 64, 0.12);
  padding-bottom: 14px;
}

.dest-scroller::-webkit-scrollbar {
  height: 8px;
}

.dest-scroller::-webkit-scrollbar-track {
  background: rgba(15, 35, 64, 0.08);
}

.dest-scroller::-webkit-scrollbar-thumb {
  background: var(--gold);
}

.dest-scroller .dest-card {
  flex: 0 0 260px;
  min-width: 260px;
  scroll-snap-align: start;
}

.dest-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: pointer;
}

.dest-img-wrap {
  position: absolute;
  inset: 0;
}

.dest-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--transition);
}

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

.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 35, 64, 0.85) 0%, transparent 55%);
  transition: background 0.5s;
}

.dest-card:hover .dest-overlay {
  background: linear-gradient(to top, rgba(15, 35, 64, 0.92) 0%, rgba(15, 35, 64, 0.15) 65%);
}

.dest-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  z-index: 2;
}

.dest-content h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.dest-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
}

/* Activities strip */
.activities-strip {
  background: var(--sand);
  margin-top: 80px;
  padding: 0;
}

.activities {
  display: flex;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

.activity-item {
  flex: 1;
  padding: 40px 28px;
  text-align: center;
  border-right: 1px solid rgba(201, 168, 76, 0.35);
  transition: background 0.3s;
}

.activity-item:last-child {
  border-right: none;
}

.activity-item:hover {
  background: rgba(201, 168, 76, 0.08);
}

.act-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 12px;
}

.activity-item h4 {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 6px;
}

.activity-item p {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--sans);
}

/* ╔══════════════════════════════════════════════╗
   ║  GALLERY                                     ║
   ╚══════════════════════════════════════════════╝ */
.gallery-section {
  background: var(--cream);
  padding-bottom: 0;
}

.gallery-section .container {
  margin-bottom: 48px;
}

/* ── 3-column clean grid ── */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 0 6px 6px;
}

.gal-item {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--sand);     /* placeholder while image loads */
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition);
  display: block;
}

.gal-item:hover img {
  transform: scale(1.06);
}

.gal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 35, 64, 0.45);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gal-overlay::after {
  content: '+';
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--white);
  opacity: 0.85;
}

.gal-item:hover .gal-overlay {
  opacity: 1;
}

/* ── Load more button ── */
.gal-more-wrap {
  display: flex;
  justify-content: center;
  padding: 40px 0 56px;
  background: var(--cream);
}

.gal-more-btn {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--navy);
  padding: 14px 40px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.gal-more-btn:hover {
  background: var(--navy);
  color: var(--white);
}

@media (max-width: 768px) {
  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 0 4px 4px;
  }
}

@media (max-width: 480px) {
  .gal-grid {
    grid-template-columns: 1fr;
  }
  .gal-item { aspect-ratio: 16 / 9; }
}



/* ╔══════════════════════════════════════════════╗
   ║  REVIEWS                                     ║
   ╚══════════════════════════════════════════════╝ */
.reviews {
  background: var(--navy);
}

/* Google reviews widget wrapper */
.reviews-widget-wrap {
  max-width: 1200px;
  margin: 0 auto 56px;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .reviews-widget-wrap { padding: 0 16px; margin-bottom: 40px; }
}

.rev-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 64px;
}

.rev-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 36px;
  transition: background 0.3s, border-color 0.3s;
}

.rev-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(201, 168, 76, 0.3);
}

.rev-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.rev-card blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  margin-bottom: 28px;
  quotes: none;
}

.rev-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rev-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rev-info {
  display: flex;
  flex-direction: column;
}

.rev-info strong {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--white);
  font-weight: 400;
}

.rev-info span {
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.06em;
}

/* Trust badges */
.trust-row {
  display: flex;
  justify-content: center;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 48px;
}

.trust-item {
  flex: 1;
  text-align: center;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item:last-child {
  border-right: none;
}

.trust-num {
  display: block;
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.trust-label {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* ╔══════════════════════════════════════════════╗
   ║  CTA FINALE                                  ║
   ╚══════════════════════════════════════════════╝ */
.cta-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: url('/img/slidepiscina.jpg') center/cover no-repeat;
  animation: kenBurns 18s ease-in-out infinite alternate;
  will-change: transform;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 35, 64, 0.76) 0%,
    rgba(15, 35, 64, 0.78) 42%,
    rgba(8, 15, 28, 0.86) 100%
  );
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 120px;
  padding-bottom: 120px;
}

.cta-content .eyebrow {
  color: var(--gold2);
}

.cta-content h2 {
  margin-bottom: 24px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.cta-desc {
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}

.cta-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Contact form */
.contact-form {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px;
  background: rgba(8, 15, 28, 0.28);
  box-shadow: 0 22px 70px rgba(8, 15, 28, 0.22);
  backdrop-filter: blur(2px);
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-submit {
  margin-top: 8px;
}

.form-submit:disabled {
  opacity: 0.68;
  cursor: wait;
  transform: none;
}

.form-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-consent {
  margin: 4px 0 12px;
}

.form-consent label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.82rem;
  line-height: 1.65;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.form-consent span {
  color: rgba(255, 255, 255, 0.94);
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  flex: 0 0 18px;
  accent-color: var(--gold);
}

.form-consent a,
.form-legal-note a {
  color: var(--gold2);
  border-bottom: 1px solid rgba(232, 201, 122, 0.45);
}

.form-legal-note {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.76rem;
  line-height: 1.55;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.form-status {
  min-height: 22px;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-status.is-success {
  color: #d8f6df;
}

.form-status.is-error {
  color: #ffd4c7;
}

.grecaptcha-badge {
  left: 18px !important;
  right: auto !important;
  bottom: 22px !important;
  width: 70px !important;
  height: 60px !important;
  overflow: hidden !important;
  border-radius: 999px !important;
  z-index: 1190;
}

/* ╔══════════════════════════════════════════════╗
   ║  FOOTER                                      ║
   ╚══════════════════════════════════════════════╝ */
.footer {
  background: #080f1c;
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .footer-logo {
  margin-bottom: 20px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.84);
  max-width: 280px;
  line-height: 1.75;
}

.footer-col h5 {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li,
.footer-col ul li a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.3s;
  line-height: 1.5;
}

.footer-col ul li a:hover {
  color: var(--gold2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom span {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.74);
  letter-spacing: 0.06em;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.06em;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: var(--gold2);
}

/* ╔══════════════════════════════════════════════╗
   ║  LIGHTBOX                                    ║
   ╚══════════════════════════════════════════════╝ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 15, 28, 0.96);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lb-img-wrap {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-img-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
  background: none;
  border: none;
  font-family: var(--sans);
  padding: 12px;
  z-index: 9001;
}

.lb-close { top: 24px; right: 32px; font-size: 1.5rem; }
.lb-prev  { left: 24px; top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lb-next  { right: 24px; top: 50%; transform: translateY(-50%); font-size: 3rem; }

.lb-close:hover { opacity: 1; }
.lb-prev:hover  { opacity: 1; transform: translateY(-50%) translateX(-4px); }
.lb-next:hover  { opacity: 1; transform: translateY(-50%) translateX(4px); }

/* ╔══════════════════════════════════════════════╗
   ║  RESPONSIVE — max-width: 768px               ║
   ╚══════════════════════════════════════════════╝ */
@media (max-width: 1024px) {
  .nav-links,
  .btn-nav {
    display: none;
  }
  .hamburger,
  .mobile-menu {
    display: flex;
  }
  .apt-grid { grid-template-columns: 1fr 1fr; }
  .dest-grid:not(.dest-scroller) { grid-template-columns: 1fr 1fr; }
  .offers-preview { grid-template-columns: 1fr; }
  .srv-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .riviera-intro { grid-template-columns: 1fr; gap: 48px; }
  .riviera-img-wrap::before { display: none; }
}

@media (max-width: 768px) {
  /* Navbar */
  .navbar { padding: 20px 24px; }
  .navbar.scrolled { padding: 14px 24px; }
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .hamburger { display: flex; }

  /* Mobile menu */
  .mobile-menu { display: flex; }

  /* Hero */
  .hero-video { display: none; }
  .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/img/slidepiscina.jpg') center/cover no-repeat;
  }
  .hero-content h1 { font-size: 2.4rem; }
  .hero-ctas { flex-direction: column; align-items: center; }

  /* Grids → 1 colonna */
  .exp-grid    { grid-template-columns: 1fr; }
  .apt-grid    { grid-template-columns: 1fr; }
  .apartment-modal { padding: 16px; }
  .apartment-modal__header { padding: 28px 24px 16px; }
  .apartment-modal__content { padding: 24px; }
  .apartment-slider img { aspect-ratio: 4 / 3; }
  .apartment-slider__nav { width: 38px; height: 48px; }
  .dest-grid:not(.dest-scroller)   { grid-template-columns: 1fr 1fr; }
  .dest-scroller { grid-auto-columns: minmax(230px, 82vw); }
  .offers-preview { padding: 0 24px 72px; }
  .offers-preview__body, .offers-preview__tile { padding: 32px 26px; }
  .offers-preview__body { min-height: 460px; }
  .rev-grid    { grid-template-columns: 1fr; }
  .srv-grid    { grid-template-columns: 1fr 1fr; }
  .footer-top  { grid-template-columns: 1fr 1fr; }

  .exp-card { aspect-ratio: 4/3; }

  /* Gallery semplificata — handled in component block above */

  /* Activities → colonna */
  .activities { flex-direction: column; }
  .activity-item { border-right: none; border-bottom: 1px solid rgba(201, 168, 76, 0.2); }
  .activity-item:last-child { border-bottom: none; }

  /* Trust */
  .trust-row { flex-wrap: wrap; }
  .trust-item { flex: 0 0 50%; border-right: none; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* CTA */
  .cta-ctas { flex-direction: column; align-items: center; }

  /* Pricing legacy */
  .price-grid { grid-template-columns: 1fr; }
  .pricing-strip { grid-template-columns: 1fr 1fr; }

  /* Offerte */
  .offerta-grid { grid-template-columns: 1fr; }

  /* Inner page */
  .inner-hero { min-height: 55vh; }
  .inner-hero h1 { font-size: 2.4rem; }
  .page-content-section { padding: 60px 0; }
}

/* ╔══════════════════════════════════════════════╗
   ║  NUOVI COMPONENTI — TARIFFE & OFFERTE        ║
   ╚══════════════════════════════════════════════╝ */

/* Pricing legacy section */
.pricing-section {
  background: var(--cream);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 2px;
}

.price-card {
  background: var(--white);
  padding: 44px 36px;
  position: relative;
  transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition);
  border-bottom: 3px solid transparent;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(15, 35, 64, 0.1);
  border-bottom-color: var(--gold);
}

.price-card--featured {
  background: var(--navy);
  border-bottom-color: var(--gold);
}

.price-card--featured:hover {
  box-shadow: 0 20px 50px rgba(15, 35, 64, 0.3);
}

.price-popular {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 5px 18px;
  white-space: nowrap;
}

.price-type {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.price-card h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 6px;
}

.price-card:not(.price-card--featured) h3 {
  color: var(--navy);
}

.price-card--featured h3 {
  color: var(--white);
}

.price-capacity {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 28px;
  letter-spacing: 0.06em;
}

.price-card--featured .price-capacity {
  color: rgba(255, 255, 255, 0.6);
}

.price-includes {
  list-style: none;
  margin-bottom: 32px;
}

.price-includes li {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  padding: 7px 0;
  border-bottom: 1px solid rgba(15, 35, 64, 0.08);
  color: var(--text);
}

.price-card--featured .price-includes li {
  color: rgba(255, 255, 255, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.price-cta {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color 0.3s, letter-spacing 0.3s;
}

.price-card--featured .price-cta {
  color: var(--gold);
}

.price-cta:hover {
  color: var(--gold);
  letter-spacing: 0.28em;
}

/* Pricing info strip */
.pricing-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 2px;
}

.pricing-strip-item {
  background: var(--white);
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ts-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-strip-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 4px;
}

.pricing-strip-item p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* Offerte section */
.offerte-section {
  background: var(--navy);
}

.offerta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.offerta-card {
  padding: 48px 36px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.3s, background 0.3s;
  position: relative;
}

.offerta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(201, 168, 76, 0.06);
  opacity: 0;
  transition: opacity 0.3s;
}

.offerta-card:hover::before { opacity: 1; }
.offerta-card:hover { border-color: rgba(201, 168, 76, 0.3); }

.offerta-icon {
  font-size: 36px;
  margin-bottom: 20px;
  display: block;
}

.offerta-card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--white);
  font-weight: 300;
  margin-bottom: 12px;
}

.offerta-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 4px 14px;
  margin-bottom: 20px;
}

.offerta-card p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  margin-bottom: 28px;
}

.offerta-card strong { color: var(--gold2); font-weight: 400; }
.offerta-card em { font-style: italic; color: rgba(255,255,255,0.85); }

.offerta-cta {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  transition: letter-spacing 0.3s;
}

.offerta-cta:hover {
  letter-spacing: 0.28em;
}

/* ╔══════════════════════════════════════════════╗
   ║  SOCIAL LINKS                                ║
   ╚══════════════════════════════════════════════╝ */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.3s, transform 0.3s;
}

.social-link:hover {
  color: var(--gold2);
  transform: translateY(-2px);
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 8px;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.mobile-social {
  display: flex;
  gap: 28px;
  margin-top: 8px;
}

/* ╔══════════════════════════════════════════════╗
   ║  FOOTER EXTRAS                               ║
   ╚══════════════════════════════════════════════╝ */
.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-cin {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.05em;
}

.footer-credit {
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.3s;
}

.footer-credit a:hover {
  color: var(--gold2);
}

.footer-legal {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 9800;
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: rgba(8, 15, 28, 0.96);
  border: 1px solid rgba(201, 168, 76, 0.36);
  box-shadow: 0 24px 70px rgba(8, 15, 28, 0.32);
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner__content {
  min-width: 0;
}

.cookie-banner__title {
  margin-bottom: 4px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.2;
}

.cookie-banner__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  line-height: 1.6;
}

.cookie-banner__text a {
  color: var(--gold2);
  border-bottom: 1px solid rgba(232, 201, 122, 0.45);
  transition: border-color 0.3s;
}

.cookie-banner__text a:hover {
  border-color: var(--gold2);
}

.cookie-banner__btn {
  flex: 0 0 auto;
  background: var(--gold);
  color: var(--navy);
  padding: 13px 24px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.3s, transform 0.25s;
}

.cookie-banner__btn:hover {
  background: var(--gold2);
  transform: translateY(-2px);
}

/* ╔══════════════════════════════════════════════╗
   ║  INNER PAGE HERO (pagine secondarie)         ║
   ╚══════════════════════════════════════════════╝ */
.inner-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  padding-top: 100px;
}

.inner-hero--compact {
  min-height: 48vh;
}

.inner-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: kenBurns 20s ease-in-out infinite alternate;
  will-change: transform;
}

.inner-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 35, 64, 0.85) 0%, rgba(15, 35, 64, 0.45) 60%, rgba(15, 35, 64, 0.2) 100%);
}

.inner-hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 48px;
  max-width: 680px;
}

.inner-hero-content .eyebrow { color: var(--gold2); }

.inner-hero-content h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  margin-bottom: 20px;
}

.inner-hero-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 520px;
}

.accessibility-grid {
  min-width: 0;
}

.legal-page {
  background: var(--cream);
  padding: 90px 0;
}

.legal-card {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 64px);
  background: var(--white);
  border: 1px solid rgba(15, 35, 64, 0.12);
  box-shadow: 0 24px 70px rgba(15, 35, 64, 0.08);
}

.legal-updated {
  margin-bottom: 28px;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.legal-card h2,
.legal-card h3 {
  color: var(--navy);
}

.legal-card h2 {
  margin-bottom: 26px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal-card h3 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.legal-card p,
.legal-card li {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.85;
}

.legal-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.legal-card li + li {
  margin-top: 8px;
}

.legal-card a {
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
}

/* ╔══════════════════════════════════════════════╗
   ║  PAGE CONTENT SECTIONS                       ║
   ╚══════════════════════════════════════════════╝ */

/* Servizi page */
.srv-page-section {
  padding: 80px 0;
}

.srv-page-section + .srv-page-section {
  padding-top: 0;
}

.srv-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
}

.srv-list-item {
  padding: 36px 28px;
  background: var(--white);
  border-left: 3px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.srv-list-item:hover {
  border-left-color: var(--gold);
  background: var(--cream);
}

.srv-list-item .srv-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.srv-list-item h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 8px;
}

.srv-list-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* Servizi aggiuntivi table */
.srv-table-wrap {
  overflow-x: auto;
  margin-top: 48px;
}

.srv-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
}

.srv-table th {
  background: var(--navy);
  color: var(--gold);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 16px 24px;
  text-align: left;
}

.srv-table td {
  padding: 14px 24px;
  border-bottom: 1px solid rgba(15, 35, 64, 0.07);
  font-size: 14px;
  color: var(--text);
  font-weight: 300;
}

.srv-table tr:last-child td { border-bottom: none; }

.srv-table tr:nth-child(even) td { background: var(--cream); }

.srv-table td strong {
  font-weight: 400;
  color: var(--navy);
}

.srv-table td.price {
  color: var(--gold);
  font-weight: 400;
  white-space: nowrap;
}

/* Spiagge convenzionate */
.beach-partners {
  background: var(--cream);
  padding: 90px 0;
}

.beach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.beach-card {
  position: relative;
  min-height: 190px;
  background: var(--white);
  border: 1px solid rgba(15, 35, 64, 0.08);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s var(--transition), box-shadow 0.35s var(--transition), border-color 0.35s;
}

.beach-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.34);
  box-shadow: 0 22px 48px rgba(15, 35, 64, 0.1);
}

.beach-card h3 {
  font-size: 1.55rem;
  margin-bottom: 14px;
}

.beach-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.beach-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.beach-contacts a {
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--navy);
  border-bottom: 1px solid rgba(201, 168, 76, 0.42);
  transition: color 0.3s, border-color 0.3s;
  overflow-wrap: anywhere;
}

.beach-contacts a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.beach-badge {
  align-self: flex-start;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 12px;
  margin-bottom: 18px;
}

.beach-card--pet {
  border-color: rgba(201, 168, 76, 0.28);
}

/* Appartamenti page */
.apt-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.apt-detail-card {
  background: var(--white);
  overflow: hidden;
  transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition);
}

.apt-detail-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(15, 35, 64, 0.14);
}

.apt-detail-img {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.apt-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}

.apt-detail-card:hover .apt-detail-img img {
  transform: scale(1.06);
}

.apt-detail-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 14px;
}

.apt-detail-body {
  padding: 32px 28px;
}

.apt-detail-body h3 {
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 1.5rem;
}

.apt-detail-size {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.apt-detail-body > p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: var(--muted);
}

.apt-dotazione {
  margin-bottom: 20px;
}

.apt-dotazione h5 {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
}

.apt-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.apt-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--sand);
  padding: 4px 10px;
  border: 1px solid rgba(15, 35, 64, 0.12);
}

/* Chi siamo page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.about-img-wrap {
  position: relative;
}

.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  bottom: 20px;
  left: 20px;
  border: 1px solid var(--gold);
  z-index: 0;
}

.about-img-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-text p {
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--navy);
  margin: 60px 0;
}

.about-number-item {
  padding: 44px 24px;
  text-align: center;
}

.about-number-item span {
  display: block;
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.about-number-item p {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.regolamento-box {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 36px 40px;
  margin-top: 48px;
}

.regolamento-box h4 {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 20px;
}

.regolamento-box ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 40px;
}

.regolamento-box ul li {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--text);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.regolamento-box ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ╔══════════════════════════════════════════════╗
   ║  RESPONSIVE aggiuntivo                       ║
   ╚══════════════════════════════════════════════╝ */
@media (max-width: 1024px) {
  .price-grid { grid-template-columns: 1fr; gap: 2px; }
  .pricing-strip { grid-template-columns: 1fr 1fr; }
  .offerta-grid { grid-template-columns: 1fr; gap: 2px; }
  .apt-detail-grid { grid-template-columns: 1fr 1fr; }
  .beach-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-numbers { grid-template-columns: 1fr 1fr; }
  .srv-list-grid { grid-template-columns: 1fr 1fr; }
  .accessibility-grid {
    grid-template-columns: 1fr !important;
    gap: 44px !important;
  }
  .regolamento-box ul { grid-template-columns: 1fr; }
  .inner-hero-content { padding: 60px 32px; }
}

@media (max-width: 768px) {
  .pricing-strip { grid-template-columns: 1fr; }
  .apt-detail-grid { grid-template-columns: 1fr; }
  .beach-grid { grid-template-columns: 1fr; }
  .beach-partners { padding: 72px 0; }
  .accessibility-grid img {
    height: auto !important;
    aspect-ratio: 4 / 3;
  }
  .srv-list-grid { grid-template-columns: 1fr; }
  .about-numbers { grid-template-columns: 1fr 1fr; }
  .about-img-wrap::before { display: none; }
  .inner-hero-content { padding: 40px 24px; }
  .nav-social { display: none; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .footer-bottom-left { gap: 6px; }
  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
  }
  .cookie-banner__btn {
    width: 100%;
  }

  .grecaptcha-badge {
    display: none !important;
  }

  .srv-table-wrap {
    overflow: visible;
  }

  .srv-table,
  .srv-table thead,
  .srv-table tbody,
  .srv-table tr,
  .srv-table th,
  .srv-table td {
    display: block;
    width: 100%;
  }

  .srv-table thead {
    display: none;
  }

  .srv-table tr {
    margin-bottom: 14px;
    border: 1px solid rgba(15, 35, 64, 0.1);
    background: var(--white);
  }

  .srv-table td {
    padding: 12px 16px;
  }

  .srv-table td.price {
    color: var(--navy);
    background: var(--cream);
    white-space: normal;
  }
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  TARIFFE V2 — Redesign premium                          ║
   ╚══════════════════════════════════════════════════════════╝ */

.tv2 {
  background: var(--cream);
  padding-bottom: 0;
}

/* Header */
.tv2-header {
  text-align: center;
  padding: 100px 0 64px;
}

.tv2-sub {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 580px;
  margin: 16px auto 0;
  line-height: 1.85;
}

/* Card wrapper — own controlled width */
.tv2-cards-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 72px;
  align-items: start;
}

/* Individual price card */
.prc {
  background: var(--white);
  border: 1px solid rgba(15, 35, 64, 0.09);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 44px 36px 40px;
  transition: box-shadow 0.45s var(--transition), transform 0.45s var(--transition);
}

.prc-top-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: rgba(15, 35, 64, 0.08);
  transition: background 0.3s;
}

.prc:hover .prc-top-bar { background: var(--gold); }

.prc:hover {
  box-shadow: 0 28px 70px rgba(15, 35, 64, 0.13);
  transform: translateY(-8px);
}

/* Featured card — pops above */
.prc--hot {
  background: var(--navy);
  border: none;
  padding-top: 60px;
  margin-top: -24px;
  box-shadow: 0 36px 90px rgba(15, 35, 64, 0.28);
  z-index: 2;
}

.prc--hot .prc-top-bar { background: var(--gold); }

.prc--hot:hover {
  transform: translateY(-14px);
  box-shadow: 0 48px 110px rgba(15, 35, 64, 0.38);
}

/* "Più richiesto" badge */
.prc-badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 6px 22px;
  white-space: nowrap;
}

/* Card content */
.prc-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.prc-name {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.1;
}

.prc--hot .prc-name { color: var(--white); }

.prc-cap {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.prc--hot .prc-cap { color: rgba(255, 255, 255, 0.5); }

.prc-rule {
  border: none;
  border-top: 1px solid rgba(15, 35, 64, 0.1);
  margin: 0 0 24px;
}

.prc--hot .prc-rule { border-top-color: rgba(255, 255, 255, 0.12); }

.prc-list {
  list-style: none;
  flex: 1;
  margin-bottom: 36px;
}

.prc-list li {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--text);
  padding: 9px 0 9px 20px;
  position: relative;
  border-bottom: 1px solid rgba(15, 35, 64, 0.06);
  line-height: 1.4;
}

.prc-list li:last-child { border-bottom: none; }

.prc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.prc--hot .prc-list li {
  color: rgba(255, 255, 255, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* Card footer */
.prc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 35, 64, 0.08);
}

.prc--hot .prc-footer { border-top-color: rgba(255, 255, 255, 0.1); }

.prc-note {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
}

.prc--hot .prc-note { color: rgba(255, 255, 255, 0.42); }

.prc-btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 12px 18px;
  background: var(--navy);
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.3s, transform 0.25s;
}

.prc-btn:hover {
  background: var(--navy2);
  transform: translateY(-2px);
}

.prc-btn--gold {
  background: var(--gold);
  color: var(--navy);
}

.prc-btn--gold:hover {
  background: var(--gold2);
}

/* Info strip — navy band */
.tv2-strip {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tv2-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.tv2-si {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 36px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.3s;
}

.tv2-si:last-child { border-right: none; }

.tv2-si:hover { background: rgba(255, 255, 255, 0.03); }

.tv2-si-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 3px;
}

.tv2-si strong {
  display: block;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 5px;
}

.tv2-si p {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.6;
  margin: 0;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  OFFERTE V2 — Asymmetric hero layout                    ║
   ╚══════════════════════════════════════════════════════════╝ */

.ofv2 {
  background: var(--navy);
  padding-bottom: 0;
}

.ofv2-header {
  text-align: center;
  padding: 100px 0 64px;
}

.ofv2-sub {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
  margin: 16px auto 0;
  line-height: 1.85;
}

.ofv2--preview {
  padding-bottom: 0;
}

.offers-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 96px;
  gap: 2px;
}

.offers-preview__main,
.offers-preview__tile {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.offers-preview__media,
.offers-preview__shade {
  position: absolute;
  inset: 0;
}

.offers-preview__media {
  background-size: cover;
  background-position: center;
  transition: transform 1s var(--transition);
}

.offers-preview__main:hover .offers-preview__media {
  transform: scale(1.05);
}

.offers-preview__shade {
  background: linear-gradient(135deg, rgba(15, 35, 64, 0.92), rgba(15, 35, 64, 0.55));
}

.offers-preview__body,
.offers-preview__tile {
  position: relative;
  z-index: 1;
  padding: 48px;
}

.offers-preview__body {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.offers-preview__body h3,
.offers-preview__tile h3 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.offers-preview__body p,
.offers-preview__tile p {
  color: rgba(255,255,255,0.74);
  max-width: 520px;
  margin-bottom: 28px;
}

.offers-preview__side {
  display: grid;
  gap: 2px;
}

.offers-preview__tile {
  min-height: 259px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background 0.35s, border-color 0.35s;
}

.offers-preview__tile:hover {
  background: rgba(201, 168, 76, 0.08);
  border-color: rgba(201, 168, 76, 0.24);
}

.offers-preview__icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: var(--gold);
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: 1.4rem;
}

/* Asymmetric grid: 3fr left image card + 2fr right stacked */
.ofv2-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  min-height: 600px;
}

.ofv2-right {
  display: flex;
  flex-direction: column;
}

/* Base offer card */
.ofc {
  position: relative;
  overflow: hidden;
}

/* Large left card with photo */
.ofc--main .ofc-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--transition);
}

.ofc--main:hover .ofc-bg { transform: scale(1.05); }

.ofc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 35, 64, 0.9) 0%,
    rgba(15, 35, 64, 0.55) 100%
  );
}

.ofc-body {
  position: relative;
  z-index: 2;
  padding: 52px 48px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ofc-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 5px 14px;
  margin-bottom: 18px;
  align-self: flex-start;
}

.ofc-badge--outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.ofc h3 {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
}

.ofc p {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.85;
  max-width: 420px;
  margin-bottom: 32px;
}

.ofc p strong { color: var(--gold2); font-weight: 400; }
.ofc p em    { font-style: italic; color: rgba(255,255,255,0.9); }

.ofc-cta {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.4);
  align-self: flex-start;
  transition: letter-spacing 0.35s, border-color 0.35s;
}

.ofc-cta:hover {
  letter-spacing: 0.38em;
  border-bottom-color: var(--gold);
}

/* Small right-column cards */
.ofc--sm {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.35s, border-color 0.35s;
}

.ofc--sm:last-child { border-bottom: none; }

.ofc--sm:hover {
  background: rgba(201, 168, 76, 0.07);
  border-color: rgba(201, 168, 76, 0.22);
}

.ofc--sm .ofc-body {
  justify-content: flex-start;
  padding: 44px 40px;
}

.ofc--accent .ofc-body { padding-top: 40px; }

.ofc-sm-icon {
  font-size: 30px;
  display: block;
  margin-bottom: 18px;
}

.ofc--sm h3 { font-size: 1.6rem; }

/* ── Responsive additions for new sections ── */
@media (max-width: 1100px) {
  .tv2-cards-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .prc--hot { margin-top: 0; }
  .ofv2-grid { grid-template-columns: 1fr; }
  .ofv2-right { flex-direction: row; }
  .ofc--sm { border-bottom: none; border-left: none; border-top: 1px solid rgba(255,255,255,0.08); }
  .ofc--main { min-height: 440px; }
  .tv2-strip-inner { grid-template-columns: 1fr 1fr; padding: 0 32px; }
  .tv2-si { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .tv2-si:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.07); }
  .tv2-si:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  .tv2-cards-wrap {
    grid-template-columns: 1fr;
    padding: 0 24px 48px;
    gap: 16px;
  }
  .prc--hot { margin-top: 0; }
  .ofv2-right { flex-direction: column; }
  .ofc--sm { border-left: none; }
  .ofv2-header { padding: 72px 0 48px; }
  .tv2-header { padding: 72px 0 48px; }
  .tv2-strip-inner { grid-template-columns: 1fr; padding: 0 24px; }
  .tv2-si:nth-child(odd) { border-right: none; }
  .ofc-body { padding: 36px 28px; }
}

/* ╔══════════════════════════════════════════════╗
   ║  FLOATING CONTACT WIDGET                     ║
   ╚══════════════════════════════════════════════╝ */
.contact-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.cw-panel {
  width: min(300px, calc(100vw - 32px));
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(165deg, rgba(20, 45, 78, 0.97) 0%, rgba(14, 34, 61, 0.97) 100%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(14px) scale(0.92) rotateX(8deg);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-widget.open .cw-panel {
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0deg);
  pointer-events: auto;
}

.cw-title {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.cw-actions {
  display: grid;
  gap: 8px;
}

.cw-action {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  opacity: 0;
  transform: translateY(8px);
}

.cw-action:hover {
  transform: translateX(-2px);
  border-color: rgba(201, 168, 76, 0.55);
  background: rgba(201, 168, 76, 0.12);
}

.contact-widget.open .cw-action {
  animation: cwActionIn 0.34s ease forwards;
}

.contact-widget.open .cw-action:nth-child(1) { animation-delay: 0.08s; }
.contact-widget.open .cw-action:nth-child(2) { animation-delay: 0.13s; }
.contact-widget.open .cw-action:nth-child(3) { animation-delay: 0.18s; }
.contact-widget.open .cw-action:nth-child(4) { animation-delay: 0.23s; }

.cw-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--white);
}

.cw-icon--wa { background: #1fa855; }
.cw-icon--call { background: #2165d6; }
.cw-icon--mail { background: #9d5fe7; }
.cw-icon--book { background: #c9a84c; color: #0f2340; font-weight: 700; }

.cw-trigger {
  position: relative;
  width: 64px;
  height: 64px;
  border: 2px solid rgba(201, 168, 76, 0.9);
  border-radius: 50%;
  padding: 0;
  background: linear-gradient(160deg, #102946 0%, #1b3e66 100%);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: transform 0.25s ease;
  overflow: hidden;
}

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

.cw-avatar {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
  transform: scale(1.55);
  transform-origin: center;
}

.cw-pulse {
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(201, 168, 76, 0.5);
  border-radius: 50%;
  animation: cwPulse 2.3s ease-out infinite;
}

@keyframes cwPulse {
  0% { transform: scale(0.92); opacity: 0.82; }
  100% { transform: scale(1.22); opacity: 0; }
}

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

@media (max-width: 768px) {
  .contact-widget {
    right: 14px;
    bottom: 14px;
  }

  .cw-trigger {
    width: 58px;
    height: 58px;
  }
}
