/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
  --bg:       #0a0a0a;
  --surface:  #141414;
  --gold:     #c9a96e;
  --gold-dim: #a07840;
  --white:    #ffffff;
  --muted:    #888888;
  --radius:   8px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.playfair { font-family: 'Playfair Display', serif; }
.gold { color: var(--gold); }
.muted { color: var(--muted); }

h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.15; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
}
.btn-primary:hover {
  background: #e0be89;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 169, 110, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ============================================================
   SECTION WRAPPER
   ============================================================ */
.section {
  padding: 120px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  line-height: 1.75;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px 24px;
  transition: background var(--transition), padding var(--transition), backdrop-filter var(--transition);
}

#navbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 24px;
  border-bottom: 1px solid rgba(201,169,110,0.12);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
  opacity: 0;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }

.btn-nav {
  padding: 10px 24px;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  color: var(--gold) !important;
  transition: background var(--transition), color var(--transition) !important;
}
.btn-nav:hover {
  background: var(--gold) !important;
  color: var(--bg) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1492691527719-9d1e07e534b4?w=1800&q=80');
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

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

.hero-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1.1;
  margin-bottom: 28px;
  overflow: hidden;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line span {
  display: block;
  transform: translateY(110%);
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin: 0 auto 44px;
  opacity: 0;
  line-height: 1.8;
}

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

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  cursor: pointer;
}

.scroll-indicator span {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(10px); opacity: 0.3; }
}

/* ============================================================
   PORTFOLIO / GALLERY
   ============================================================ */
#portfolio {
  background: var(--surface);
  padding: 120px 0;
}

#portfolio .section {
  padding: 0 24px;
}

.gallery-grid {
  columns: 3;
  column-gap: 16px;
  margin-top: 60px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(201, 169, 110, 0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s ease;
}

.gallery-overlay svg {
  width: 40px;
  height: 40px;
  color: var(--white);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover .gallery-overlay { background: rgba(201, 169, 110, 0.45); }
.gallery-item:hover .gallery-overlay svg { opacity: 1; transform: scale(1); }

/* ============================================================
   BOOKING FORM (PRENOTA)
   ============================================================ */
#prenota {
  padding: 0;
}

.prenota-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
}

.prenota-left {
  position: relative;
  overflow: hidden;
}

.prenota-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prenota-left-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.6) 0%, rgba(201,169,110,0.15) 100%);
  display: flex;
  align-items: flex-end;
  padding: 60px 48px;
}

.prenota-left-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 16px;
}

.prenota-left-text p {
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
}

.prenota-right {
  background: var(--surface);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 14px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option { background: #1a1a1a; color: var(--white); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
}

.form-group textarea { resize: vertical; min-height: 110px; }

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

.form-feedback {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 16px;
  display: none;
}
.form-feedback.success {
  background: rgba(201,169,110,0.12);
  border: 1px solid rgba(201,169,110,0.3);
  color: var(--gold);
}
.form-feedback.error {
  background: rgba(220, 80, 80, 0.1);
  border: 1px solid rgba(220, 80, 80, 0.3);
  color: #e07070;
}

/* ============================================================
   PRICING
   ============================================================ */
#piani {
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 44px 36px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pricing-card-luxury {
  background: var(--surface);
  border: 1px solid rgba(181, 136, 38);
  border-radius: 12px;
  padding: 44px 36px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pricing-card-luxury:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,4,0,0.5);
}

.pricing-card--coming-soon {
  opacity: 0.65;
  pointer-events: none;
}

.pricing-card--coming-soon:hover {
  transform: none;
  box-shadow: none;
}

.coming-soon-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.pricing-card-luxury.featured {
  border-color: var(--gold);
  transform: scale(1.04);
  box-shadow: 0 16px 48px rgba(251,169,110,0.2);
}


.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.pricing-card.featured {
  border-color: var(--gold);
  transform: scale(1.04);
  box-shadow: 0 16px 48px rgba(201,169,110,0.2);
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-8px);
  box-shadow: 0 32px 80px rgba(201,169,110,0.3);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.pricing-price {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.pricing-price span {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--muted);
  vertical-align: super;
  margin-right: 2px;
}

.pricing-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

.pricing-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

.check-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--gold);
}

.pricing-cta {
  width: 100%;
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #060606;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  font-style: italic;
}

.footer-links, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a, .footer-contact a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.social-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: border-color var(--transition), color var(--transition);
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover { border-color: var(--gold); color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px 24px;
  text-align: center;
  color: rgba(255,255,255,0.25);
  font-size: 0.82rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================================
   LOADER / OVERLAY
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.loader-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  opacity: 0;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(201, 169, 110, 0.6);
}

.cursor-ring.grow {
  width: 56px;
  height: 56px;
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.08);
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
  background: var(--gold);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 22s linear infinite;
}

.marquee-track span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bg);
  padding: 0 24px;
}

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

/* ============================================================
   GALLERY FILTER TABS
   ============================================================ */
.gallery-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 48px;
  margin-bottom: -12px;
}

.filter-btn {
  padding: 9px 24px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,0.15);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

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


/* ============================================================
   GALLERY EMPTY STATE
   ============================================================ */
.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 60px 20px;
  line-height: 2;
}

.gallery-empty code {
  color: var(--gold);
  background: rgba(201,169,110,0.08);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.85rem;
}

/* ============================================================
   ADMIN AUTH (login / setup)
   ============================================================ */
.admin-auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
}

.admin-auth-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 52px 44px;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-auth-sub {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-top: -8px;
}

.admin-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
}

.admin-auth-error {
  background: rgba(255, 60, 60, 0.08);
  border: 1px solid rgba(255, 60, 60, 0.25);
  color: #ff6b6b;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.admin-auth-success {
  background: rgba(100, 200, 100, 0.08);
  border: 1px solid rgba(100, 200, 100, 0.25);
  color: #7ed07e;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.85rem;
  text-align: center;
}

.admin-auth-back {
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
  text-align: center;
  transition: color var(--transition);
}

.admin-auth-back:hover { color: var(--white); }

.admin-setup-notice {
  background: rgba(201,169,110,0.08);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

.admin-setup-notice a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

.admin-setup-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: step;
  padding: 0;
}

.admin-setup-steps li {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

.admin-setup-steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(201,169,110,0.12);
  border: 1px solid rgba(201,169,110,0.3);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 140px 24px 100px;
}

.admin-header {
  margin-bottom: 56px;
}

.admin-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.admin-header-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.admin-link-sm {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}

.admin-link-sm:hover { color: var(--gold); }

.admin-link-logout:hover { color: #ff6b6b; }

.admin-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-top: 12px;
}

.admin-section {
  margin-bottom: 64px;
}

.admin-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 14px;
  margin-bottom: 24px;
}

.admin-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 32px 28px;
  margin-bottom: 20px;
}

.admin-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-form-row {
  display: grid;
  grid-template-columns: 1fr 180px 180px;
  gap: 16px;
}

.admin-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.admin-field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-field input,
.admin-field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
}

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

.admin-field input::placeholder,
.admin-field textarea::placeholder {
  color: rgba(136,136,136,0.5);
}

.admin-post-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.admin-post-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.admin-post-item:last-child {
  border-bottom: none;
}

.admin-post-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

.admin-post-title {
  font-size: 0.95rem;
  color: var(--white);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-btn-delete {
  background: none;
  border: 1px solid rgba(255,80,80,0.3);
  color: rgba(255,100,100,0.7);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
  white-space: nowrap;
}

.admin-btn-delete:hover {
  border-color: rgba(255,80,80,0.7);
  color: #ff5050;
}

.admin-empty {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 20px 0;
}

.admin-info-text {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.admin-info-text code {
  color: var(--gold);
  background: rgba(201,169,110,0.08);
  padding: 1px 6px;
  border-radius: 4px;
}

.admin-folders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.admin-folder {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 16px 18px;
}

.admin-folder-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.admin-folder-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
}

.admin-folder-count {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
}

.admin-folder-path {
  font-size: 0.75rem;
  color: var(--muted);
  background: none;
}

@media (max-width: 768px) {
  .admin-form-row { grid-template-columns: 1fr; }
  .admin-folders  { grid-template-columns: 1fr; }
  .admin-post-title { display: none; }
}

/* ============================================================
   NOVITÀ
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.news-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.news-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,169,110,0.35);
  border-radius: 4px;
  padding: 3px 10px;
  align-self: flex-start;
}

.news-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.4;
}

.news-text {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

.news-date {
  font-size: 0.78rem;
  color: rgba(136,136,136,0.6);
  letter-spacing: 0.06em;
}

.news-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.news-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color var(--transition);
}

.news-link:hover {
  color: #e0be89;
}

/* PAGINA /novita */
.novita-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 64px;
}

.novita-article {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 48px 0;
}

.novita-article:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.novita-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.novita-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 16px;
}

.novita-body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 720px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .gallery-grid { columns: 2; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-8px); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 28px;
    transition: right var(--transition);
    border-left: 1px solid rgba(255,255,255,0.06);
  }

  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; }

  .prenota-wrap { grid-template-columns: 1fr; }
  .prenota-left { min-height: 320px; }
  .prenota-right { padding: 60px 28px; }
  .form-row { grid-template-columns: 1fr; }

  .gallery-grid { columns: 1; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  .section { padding: 80px 20px; }

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

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; max-width: 280px; }
}
