/* ============================================================
   SITISHOP - Sistemi di Prenotazione Online Tutto Incluso
   Modern Cloud Software Responsive Stylesheet
   ============================================================ */

:root {
  --primary: #ff5722;
  --primary-dark: #ea580c;
  --primary-light: #fff7ed;
  --secondary: #0284c7;
  --secondary-light: #f0f9ff;
  --accent-green: #16a34a;
  --accent-yellow: #f59e0b;
  --dark: #0f172a;
  --dark-surface: #1e293b;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.12);
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

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

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

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

/* ============================================================
   TOPBAR & NAVBAR
   ============================================================ */
.topbar {
  background: var(--dark);
  color: #cbd5e1;
  font-size: 0.84rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-container {
  max-width: 1580px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.topbar-info {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar-info i {
  color: var(--primary);
}
.topbar-right span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fed7aa;
  font-weight: 600;
}
.topbar-right i {
  color: var(--primary);
}

.navbar {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1580px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-box {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-box img {
  height: 56px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s;
}
.brand-box:hover img {
  transform: scale(1.02);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}
.nav-link {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--primary);
}
.btn-nav-quote {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.3);
  transition: all 0.25s;
}
.btn-nav-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.45);
  color: #ffffff;
}
.btn-nav-wa {
  background: #25d366;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-nav-wa:hover {
  background: #1eb956;
  transform: translateY(-2px);
}

/* ============================================================
   HERO SECTION (Matching cover.jpg multi-sector background)
   ============================================================ */
.hero {
  position: relative;
  min-height: 520px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 41, 59, 0.84) 60%, rgba(15, 23, 42, 0.92) 100%),
              url('images/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 90px 24px;
  color: #ffffff;
}
.hero-container {
  max-width: 1580px;
  margin: 0 auto;
  width: 100%;
}
.hero-content {
  max-width: 920px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 87, 34, 0.25);
  color: #ffedd5;
  border: 1px solid rgba(255, 87, 34, 0.5);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 22px;
  letter-spacing: -1px;
}
.hero-sub {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #e2e8f0;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-hero-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 15px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.35);
  transition: all 0.25s;
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(255, 87, 34, 0.5);
  color: #ffffff;
}
.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s;
}
.btn-hero-secondary:hover {
  background: #ffffff;
  color: var(--dark);
  border-color: #ffffff;
}

/* ============================================================
   INTRO / MANIFESTO CARD (Exact text from original cover.jpg)
   ============================================================ */
.intro-section {
  max-width: 1580px;
  margin: -50px auto 80px;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}
.intro-card {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 44px 48px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.intro-text h2 {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.intro-text p {
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.intro-text .highlight-sectors {
  background: #fff7ed;
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #9a3412;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 20px 0;
}
.intro-badge-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius);
  padding: 34px 30px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}
.intro-badge-box .qr-icon-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.intro-badge-box .qr-icon-header i {
  font-size: 2.4rem;
  color: var(--primary);
}
.intro-badge-box h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}
.intro-badge-box p {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 22px;
}
.btn-free-dev {
  background: var(--primary);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  transition: all 0.2s;
}
.btn-free-dev:hover {
  background: var(--primary-dark);
}

/* ============================================================
   SECTIONS GENERAL STYLING
   ============================================================ */
.section-wrapper {
  max-width: 1580px;
  margin: 0 auto 100px;
  padding: 0 24px;
}
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-tag {
  display: inline-block;
  background: #fff7ed;
  color: var(--primary);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.6px;
  line-height: 1.2;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 12px auto 0;
  line-height: 1.7;
}

/* Category Filter Tabs */
.category-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.tab-btn {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

/* ============================================================
   BOOKING SYSTEMS GRID (The 9 Real Solutions)
   ============================================================ */
.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.system-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s, border-color 0.28s;
}
.system-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 87, 34, 0.4);
}
.system-thumb-box {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: var(--dark);
}
.system-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.system-card:hover .system-thumb {
  transform: scale(1.08);
}
.system-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.system-capacity-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255, 87, 34, 0.95);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.system-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.system-sector {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}
.system-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.system-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
}
.system-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.system-price {
  font-size: 1.18rem;
  font-weight: 900;
  color: var(--dark);
}
.system-price span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}
.system-actions {
  display: flex;
  gap: 8px;
}
.btn-sys-detail {
  background: #f1f5f9;
  color: var(--dark);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s;
}
.btn-sys-detail:hover {
  background: var(--dark);
  color: #ffffff;
}
.btn-sys-demo {
  background: var(--primary);
  color: #ffffff;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 800;
  transition: all 0.2s;
}
.btn-sys-demo:hover {
  background: var(--primary-dark);
}

/* ============================================================
   SOFTWARE FEATURES SECTION
   ============================================================ */
.features-section {
  background: #ffffff;
  padding: 100px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 100px;
}
.features-container {
  max-width: 1580px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.feature-card {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: all 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 87, 34, 0.4);
  background: #ffffff;
}
.feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: #fff7ed;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
}
.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   QR CODE VALIDATION SHOWCASE BANNER
   ============================================================ */
.qr-showcase-section {
  max-width: 1580px;
  margin: 0 auto 100px;
  padding: 0 24px;
}
.qr-showcase-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 56px 52px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.qr-showcase-text h2 {
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  margin: 12px 0 18px;
  letter-spacing: -0.5px;
}
.qr-showcase-text p {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 28px;
}
.qr-steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.qr-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.98rem;
  color: #e2e8f0;
}
.qr-steps-list li i {
  color: var(--accent-green);
  font-size: 1.2rem;
  margin-top: 2px;
}
.qr-visual-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: center;
}
.qr-ticket-mockup {
  background: #ffffff;
  color: var(--dark);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  margin: 0 auto;
}
.qr-ticket-header {
  border-bottom: 2px dashed #e2e8f0;
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.qr-ticket-header h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}
.qr-ticket-header span {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.qr-code-graphic {
  font-size: 6rem;
  color: var(--dark);
  margin: 12px 0;
}
.qr-ticket-code {
  font-family: monospace;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--secondary);
  background: #f0f9ff;
  padding: 6px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 6px;
}

/* ============================================================
   FREE CUSTOM DEVELOPMENT BANNER
   ============================================================ */
.custom-dev-section {
  max-width: 1580px;
  margin: 0 auto 100px;
  padding: 0 24px;
}
.custom-dev-card {
  background: linear-gradient(135deg, #ff5722 0%, #ea580c 100%);
  border-radius: var(--radius);
  padding: 48px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  box-shadow: 0 16px 36px rgba(255, 87, 34, 0.35);
}
.custom-dev-text h2 {
  font-size: 2.1rem;
  font-weight: 900;
  margin-bottom: 10px;
}
.custom-dev-text p {
  font-size: 1.05rem;
  max-width: 780px;
  line-height: 1.65;
  color: #ffedd5;
}
.btn-custom-dev-cta {
  background: #ffffff;
  color: var(--primary-dark);
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  transition: all 0.25s;
}
.btn-custom-dev-cta:hover {
  transform: translateY(-2px);
  background: var(--dark);
  color: #ffffff;
}

/* ============================================================
   TESTIMONIALS & FAQ
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.testi-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testi-stars {
  color: #f59e0b;
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}
.testi-text {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}
.testi-meta {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}
.testi-author {
  font-weight: 800;
  color: var(--dark);
  font-size: 0.96rem;
}
.testi-biz {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 700;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.faq-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.faq-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.faq-card h3 i {
  color: var(--primary);
  margin-top: 3px;
}
.faq-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding-left: 24px;
}

/* ============================================================
   FOOTER (White Logo on Dark Tech Charcoal)
   ============================================================ */
footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 80px 24px 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-container {
  max-width: 1580px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 50px;
}
.footer-brand img {
  height: 56px;
  width: auto;
  max-width: 280px;
  margin-bottom: 18px;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.footer-col p {
  line-height: 1.7;
  margin-bottom: 12px;
  font-size: 0.94rem;
}
.footer-col p i {
  color: var(--primary);
  margin-right: 8px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #ffffff;
}
.footer-bottom {
  max-width: 1580px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.86rem;
}

/* Floating WhatsApp */
.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: #ffffff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  font-size: 1.8rem;
  z-index: 99;
  transition: transform 0.2s;
  text-decoration: none;
}
.float-wa:hover {
  transform: scale(1.08);
}

/* ============================================================
   DETAIL PAGE & FORMS
   ============================================================ */
.page-hero-srv {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(30, 41, 59, 0.9) 100%),
              url('images/hero.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 64px 24px 50px;
  text-align: center;
}
.page-hero-srv h1 {
  font-size: 2.7rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.page-hero-srv p {
  color: #cbd5e1;
  font-size: 1.05rem;
}
.srv-detail-grid {
  max-width: 1580px;
  margin: 50px auto 100px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.srv-gallery-main {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}
.srv-spec-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.srv-booking-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 90px;
}
.tag-feature {
  background: #fff7ed;
  color: var(--primary);
  border: 1px solid rgba(255, 87, 34, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.15);
}

/* ============================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================ */
@media (max-width: 1200px) {
  .systems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .qr-showcase-card {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .srv-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .intro-card {
    grid-template-columns: 1fr;
    padding: 34px 28px;
    margin-top: -30px;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .testimonials-grid, .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .systems-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .brand-box img {
    height: 46px;
    max-width: 240px;
  }
}


/* ==========================================================================
   PAGE SPECIFIC STYLES (Consolidated from in-page <style> tags)
   ========================================================================== */

/* Extracted from chi-siamo.php */
.about-story-grid {
      max-width: 1580px;
      margin: 60px auto 100px;
      padding: 0 24px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }
    @media (max-width: 992px) {
      .about-story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }
    }
    .pillar-grid {
      max-width: 1580px;
      margin: 40px auto 90px;
      padding: 0 24px;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    @media (max-width: 992px) {
      .pillar-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    @media (max-width: 640px) {
      .pillar-grid {
        grid-template-columns: 1fr;
      }
    }
    .pillar-card {
      background: #ffffff;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 34px 26px;
      box-shadow: var(--shadow-sm);
      transition: all 0.25s ease;
    }
    .pillar-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
      border-color: rgba(255, 87, 34, 0.4);
    }

/* Extracted from contatti.php */
.contact-layout-grid {
      max-width: 1580px;
      margin: 60px auto 100px;
      padding: 0 24px;
      display: grid;
      grid-template-columns: 1fr 1.25fr;
      gap: 60px;
      align-items: start;
    }
    @media (max-width: 992px) {
      .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }
    }
    .contact-card-box {
      background: #ffffff;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 40px;
      box-shadow: var(--shadow-sm);
    }
    .contact-row {
      display: flex;
      gap: 18px;
      margin-bottom: 26px;
      align-items: flex-start;
    }
    .contact-ico {
      width: 50px;
      height: 50px;
      border-radius: 12px;
      background: #fff7ed;
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.35rem;
      flex-shrink: 0;
    }

/* Extracted from gift-card.php */
.gift-grid {
      max-width: 1580px;
      margin: 50px auto 90px;
      padding: 0 24px;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
    }
    @media (max-width: 992px) {
      .gift-grid {
        grid-template-columns: 1fr;
      }
    }
    .gift-card-box {
      background: #ffffff;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 38px 30px;
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      text-align: center;
      position: relative;
      transition: all 0.3s ease;
    }
    .gift-card-box:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-md);
      border-color: rgba(255, 87, 34, 0.4);
    }
    .gift-badge {
      position: absolute;
      top: 18px;
      right: 18px;
      background: #fff7ed;
      color: var(--primary);
      border: 1px solid #fed7aa;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.78rem;
      font-weight: 800;
    }
    .gift-icon-top {
      width: 64px;
      height: 64px;
      border-radius: 16px;
      background: #fff7ed;
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
      margin: 0 auto 20px;
    }

/* Extracted from prenota.php */
.booking-layout-grid {
      max-width: 1580px;
      margin: 60px auto 100px;
      padding: 0 24px;
      display: grid;
      grid-template-columns: 1.1fr 1.3fr;
      gap: 60px;
      align-items: start;
    }
    @media (max-width: 992px) {
      .booking-layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }
    }
    .booking-form-box {
      background: #ffffff;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 40px;
      box-shadow: var(--shadow-md);
    }
    .step-card {
      display: flex;
      gap: 18px;
      margin-bottom: 28px;
      align-items: flex-start;
    }
    .step-num {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: #fff7ed;
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      flex-shrink: 0;
      font-weight: 800;
    }


/* Responsive Layout Grid Utilities (Auto-migrated from inline styles) */
.grid-2col-responsive {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.grid-split-responsive {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.grid-split-rev-responsive {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}
.grid-3col-responsive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.grid-4col-responsive {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
  .grid-4col-responsive {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3col-responsive {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-split-responsive,
  .grid-split-rev-responsive {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .grid-2col-responsive,
  .grid-3col-responsive,
  .grid-4col-responsive,
  .grid-split-responsive,
  .grid-split-rev-responsive {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile Safeguard Rules */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}


/* Comprehensive Mobile Polish (360px - 768px) */
@media (max-width: 768px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  
  button, .btn, .nav-link, a.btn {
    min-height: 42px;
  }
  
  h1, .hero-title, .page-hero-title {
    font-size: clamp(1.6rem, 5vw, 2.4rem) !important;
    line-height: 1.25 !important;
  }
  h2, .section-title, .shelf-title {
    font-size: clamp(1.3rem, 4vw, 1.8rem) !important;
    line-height: 1.3 !important;
  }
  
  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .grid-2col-responsive,
  .grid-3col-responsive,
  .grid-4col-responsive,
  .grid-split-responsive,
  .grid-split-rev-responsive {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px !important;
    width: 100% !important;
    box-sizing: border-box;
  }
}
