/* ==========================================================================
   WIFI 2026 by PIXEL INFORMATICA - DESIGN SYSTEM & ONE-PAGE FLYER STYLESHEET
   Design: Ubiquiti Enterprise Dark / Titanium & Electric Blue
   Format: Compact Landing Page / Volantino Web Specializzato Hotel & B&B
   ========================================================================== */

:root {
  --bg-primary: #080b11;
  --bg-secondary: #0f1420;
  --bg-tertiary: #161e30;
  --bg-card: rgba(18, 25, 40, 0.85);
  --bg-card-hover: rgba(25, 36, 58, 0.95);
  --bg-glass: rgba(12, 17, 28, 0.92);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-active: #006fff;
  --border-glow: rgba(0, 111, 255, 0.4);

  --accent-blue: #006fff;
  --accent-blue-light: #338eff;
  --accent-blue-dark: #0050b3;
  --accent-glow: rgba(0, 111, 255, 0.28);
  
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-cyan: #06b6d4;
  --accent-red: #ef4444;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;
  
  --container-max: 1140px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 15px;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-dark) 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-blue-light) 0%, var(--accent-blue) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 111, 255, 0.4);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-main);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
}

/* ==========================================================================
   PRIMA RIGA COME IL VOLANTINO (HEADER SPECIALE)
   ========================================================================== */
.volantino-top-header {
  background: linear-gradient(180deg, #0e1422 0%, #080b11 100%);
  border-bottom: 2px solid rgba(0, 111, 255, 0.35);
  padding: 1rem 0;
  position: relative;
  z-index: 100;
}

.sheet-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.header-left-brand {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.header-portrait-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-blue-light);
  box-shadow: 0 0 16px rgba(0, 111, 255, 0.45);
}

.brand-text-col {
  display: flex;
  flex-direction: column;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo-img {
  height: 22px;
  width: auto;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.brand-title span {
  color: var(--accent-blue-light);
}

.brand-subtitle {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.header-badges-col {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.badge-cert {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 111, 255, 0.15);
  border: 1px solid rgba(0, 111, 255, 0.4);
  color: var(--accent-blue-light);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-phone-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  background: #111a2e;
  border: 1px solid var(--border-medium);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  transition: all 0.2s ease;
}

.header-phone-btn:hover {
  border-color: var(--border-active);
  color: var(--accent-blue-light);
}

/* ==========================================================================
   HERO / INTRO SECTION (COMPACT & PUNCHY)
   ========================================================================== */
.hero-compact {
  padding: 2.25rem 0 1.5rem 0;
  text-align: center;
}

.hero-main-title {
  font-size: 2.45rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, var(--accent-blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-main-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.55;
}

/* ==========================================================================
   THE CORE BEFORE / AFTER SHOWCASE (CENTERPIECE OF PAGE)
   ========================================================================== */
.showcase-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
  margin-bottom: 2rem;
  position: relative;
}

.showcase-media-box {
  position: relative;
  overflow: hidden;
  background: #000;
}

.showcase-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Bottom Strip from the Graphic */
.strip-4-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-medium);
  padding: 1.1rem 1.5rem;
  gap: 1rem;
  text-align: center;
}

.strip-col {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.strip-col span.icon {
  font-size: 1.25rem;
}

/* Dual CTAs below Showcase */
.cta-compact-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0 2.5rem 0;
  flex-wrap: wrap;
}

/* ==========================================================================
   I 3 PILASTRI PER HOTEL & B&B (SINTETICI & AD IMPATTO)
   ========================================================================== */
.hotel-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  position: relative;
  transition: all 0.2s ease;
}

.pillar-card:hover {
  border-color: var(--border-active);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.pillar-card.highlight {
  border-color: rgba(0, 111, 255, 0.45);
  background: linear-gradient(180deg, rgba(0, 111, 255, 0.12) 0%, var(--bg-card) 60%);
}

.pillar-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-blue-light);
  margin-bottom: 0.6rem;
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.pillar-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pillar-list {
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: #e2e8f0;
}

.pillar-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pillar-list li span {
  color: #10b981;
  font-weight: bold;
}

/* ==========================================================================
   DOMANDE & RISPOSTE CHIAVE (COMPATTE A 2 COLONNE)
   ========================================================================== */
.faq-compact-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  margin-bottom: 2.5rem;
}

.faq-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.faq-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.faq-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.faq-2col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.faq-compact-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.faq-compact-box h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.faq-compact-box h4::before {
  content: 'Q:';
  color: var(--accent-blue-light);
  font-weight: 900;
  font-family: var(--font-mono);
}

.faq-compact-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   CONTATTO & PREVENTIVO VELOCE
   ========================================================================== */
.contact-volantino-box {
  background: linear-gradient(135deg, rgba(0, 111, 255, 0.12) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid rgba(0, 111, 255, 0.4);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-volantino-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.contact-volantino-left img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-blue-light);
}

.contact-volantino-info h3 {
  font-size: 1.45rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.contact-volantino-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-volantino-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER (CON INDIRIZZO E PIXELINFORMATICA.IT)
   ========================================================================== */
.volantino-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.75rem 0;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-content-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links-inline {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-links-inline a {
  color: var(--text-muted);
  font-weight: 500;
}

.footer-links-inline a:hover {
  color: var(--accent-blue-light);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 900px) {
  .hero-main-title {
    font-size: 2rem;
  }
  .strip-4-points {
    grid-template-columns: repeat(2, 1fr);
  }
  .hotel-pillars-grid {
    grid-template-columns: 1fr;
  }
  .faq-2col-grid {
    grid-template-columns: 1fr;
  }
  .contact-volantino-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .sheet-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-badges-col {
    width: 100%;
    justify-content: space-between;
  }
  .strip-4-points {
    grid-template-columns: 1fr;
  }
  .hero-main-title {
    font-size: 1.75rem;
  }
  .cta-compact-bar {
    flex-direction: column;
    width: 100%;
  }
  .cta-compact-bar .btn {
    width: 100%;
  }
}
