/* ============================================================
   rimozionetatuaggibrescia.com — Shared design system
   Single source of truth for all pages.
   ============================================================ */

:root {
  --bs-primary: #0ea5a9;
  --bs-secondary: #0b4a6f;
  --bs-dark: #0f172a;
  --bs-light: #f8fafc;
  --brand-accent: #e6f4f1;
  --brand-cta: #f76b5e;
  --brand-cta-dark: #e0564a;
  --radius-card: 14px;
}

html { scroll-behavior: smooth; }
body { background-color: #fff; font-family: 'Inter', sans-serif; }

/* ---------- Navbar ---------- */
.navbar { box-shadow: 0 2px 10px rgba(0,0,0,.04); backdrop-filter: blur(12px); background: rgba(255,255,255,.92) !important; transition: all .3s ease; }
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.navbar ul li { padding: 0.3rem 0.4rem; }
@media(min-width:992px) { .navbar .navbar-collapse { flex-wrap:nowrap; } .navbar-nav .nav-link { font-size:.9rem; } }
.navbar .nav-link.active { color: var(--bs-primary) !important; font-weight: 700; }

.brand-mark {
  width:42px; height:42px; border-radius:50%;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  display:inline-grid; place-items:center; color:#fff; font-weight:700; font-size:.9rem;
}

/* ---------- Hero ---------- */
.hero-slide { height: 78vh; min-height: 520px; background-size: cover; background-position: center; position: relative; }
.hero-overlay { position:absolute; inset:0; background: linear-gradient(180deg, rgba(11,74,111,.45) 0%, rgba(15,23,42,.7) 100%); }
.hero-content { position:absolute; inset:0; display:grid; place-items:center; text-align:center; color:#fff; }
.hero-content h1 { font-weight:800; letter-spacing:.4px; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hero-content .lead { text-shadow: 0 1px 8px rgba(0,0,0,.3); }

@keyframes fadeInUp {
  from { opacity:0; transform:translateY(30px); }
  to { opacity:1; transform:translateY(0); }
}
.hero-content .col-lg-9 > * { animation: fadeInUp .8s ease forwards; }
.hero-content .col-lg-9 > *:nth-child(1) { animation-delay: .1s; }
.hero-content .col-lg-9 > *:nth-child(2) { animation-delay: .3s; }
.hero-content .col-lg-9 > *:nth-child(3) { animation-delay: .5s; }
.hero-content .col-lg-9 > *:nth-child(4) { animation-delay: .7s; }

@media (max-width: 767.98px) {
  .hero-slide { height: auto; min-height: 0; }
  .hero-content { position: relative; inset: auto; padding: 3.5rem 1rem; }
  .hero-content h1 { font-size: 1.75rem; }
}

/* ---------- Buttons ---------- */
.btn-primary { background: linear-gradient(135deg, #0ea5a9, #0b8f93); border:0; border-radius:999px; padding: .75rem 2rem; font-weight:600; transition: all .3s ease; box-shadow: 0 4px 15px rgba(14,165,169,.3); }
.btn-primary:hover { transform:translateY(-2px); box-shadow: 0 8px 25px rgba(14,165,169,.4); background: linear-gradient(135deg, #0b8f93, #0ea5a9); }
.btn-outline-primary { border-radius:999px; padding: .75rem 2rem; font-weight:600; border-width:2px; transition: all .3s ease; }
.btn-outline-light { border-radius:999px; padding: .65rem 1.8rem; font-weight:600; transition: all .3s ease; }
.btn-outline-light:hover { transform:translateY(-2px); }

/* High-emphasis conversion CTA — warm accent, reserved for booking/submit */
.btn-cta { background: linear-gradient(135deg, var(--brand-cta), var(--brand-cta-dark)); border:0; border-radius:999px; padding: .75rem 2rem; font-weight:600; color:#fff; transition: all .3s ease; box-shadow: 0 4px 15px rgba(247,107,94,.35); }
.btn-cta:hover, .btn-cta:focus { transform:translateY(-2px); box-shadow: 0 8px 25px rgba(247,107,94,.45); background: linear-gradient(135deg, var(--brand-cta-dark), var(--brand-cta)); color:#fff; }
.btn-cta.btn-lg { padding: .95rem 2.4rem; }

/* ---------- Trust indicators ---------- */
.trust-item { padding: 1.5rem 1rem; }
.trust-number { font-size: 2.5rem; font-weight: 800; background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.1; margin-bottom: .5rem; }
.trust-label { font-size: .9rem; color: #64748b; font-weight: 500; }

/* ---------- Certification badges ---------- */
.cert-badge { display:flex; align-items:center; gap:.6rem; padding:.8rem 1.2rem; background:#fff; border:1px solid #e2e8f0; border-radius:.8rem; font-size:.85rem; font-weight:500; color:var(--bs-secondary); }
.cert-badge i { font-size:1.4rem; color:var(--bs-primary); }

/* ---------- Section tiles ---------- */
.tile-dark { background: linear-gradient(135deg, var(--bs-secondary) 0%, #0d5a85 100%); color:#fff; }
.tile-dark .btn { border-color:#fff; color:#fff; }
.tile-dark .btn:hover { background:#fff; color: var(--bs-secondary); transform:translateY(-2px); }
.section-img { height: 380px; background-size: cover; background-position:center; }

/* ---------- Services grid ---------- */
.service-card { position:relative; overflow:hidden; border:0; border-radius: var(--radius-card); }
.service-card img { transition: transform .5s ease; }
.service-card:hover img { transform: scale(1.05); }
.service-label { position:absolute; left:0; right:0; bottom:0; backdrop-filter: blur(8px); background: rgba(11,74,111,.75); color:#fff; padding:.9rem 1rem; font-weight:600; font-size:.95rem; transition: all .3s ease; }
.service-card:hover .service-label { padding-bottom:1.2rem; background: rgba(14,165,169,.85); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--brand-accent) 0%, #d4ede8 50%, #ffffff 100%); border: 1px solid rgba(14,165,169,.15); border-radius: 1.2rem; }

/* ---------- Contact form ---------- */
.contact-card { border:0; box-shadow: 0 20px 50px rgba(2,21,38,.08); border-radius: 1.2rem !important; }
.form-control { border-radius: 10px; border: 1.5px solid #e2e8f0; padding: .75rem 1rem; transition: all .3s ease; }
.form-control:focus { border-color: var(--bs-primary); box-shadow: 0 0 0 3px rgba(14,165,169,.15); }
.form-check-label small { color:#6b7280; }

/* ---------- Floating form (service pages sidebar) ---------- */
.floating-form { position:sticky; top:100px; z-index:100; background:white; border-radius:12px; box-shadow:0 15px 40px rgba(2,21,38,.12); border:1px solid #e9f1ef; }
.floating-form .card-header { background:linear-gradient(135deg, var(--bs-primary), #0b8f93); color:white; border-radius:12px 12px 0 0 !important; padding:1rem 1.25rem; }
.floating-form .card-body { padding:1.5rem 1.25rem; }
@media(max-width:991.98px) { .floating-form { position:static; top:auto; margin-top:2rem; } }

/* ---------- FAQ accordion ---------- */
.faq-accordion .accordion-item { border:1px solid #e2e8f0; border-radius:.8rem !important; margin-bottom:.75rem; overflow:hidden; }
.faq-accordion .accordion-button { font-weight:600; font-size:1rem; padding:1.1rem 1.3rem; background:#fff; color:var(--bs-dark); }
.faq-accordion .accordion-button:not(.collapsed) { background:var(--brand-accent); color:var(--bs-secondary); box-shadow:none; }
.faq-accordion .accordion-button:focus { box-shadow:none; border-color:var(--bs-primary); }
.faq-accordion .accordion-body { padding:1rem 1.3rem 1.3rem; color:#475569; line-height:1.7; }

/* ---------- Reviews ---------- */
.review-card { background:#fff; border:1px solid #e2e8f0; border-radius:.8rem; padding:1.5rem; }
.review-stars { color:#f59e0b; font-size:1rem; margin-bottom:.5rem; }
.review-author { font-weight:600; color:var(--bs-dark); }
.review-date { font-size:.8rem; color:#94a3b8; }

/* ---------- Summary table ---------- */
.summary-table { border-radius:.8rem; overflow:hidden; border:1px solid #e2e8f0; }
.summary-table th { background:var(--bs-secondary); color:#fff; padding:.8rem 1.2rem; font-weight:600; width:35%; border:0; }
.summary-table td { padding:.8rem 1.2rem; border-bottom:1px solid #f1f5f9; }
.summary-table tr:last-child td { border-bottom:0; }

/* ---------- Color table (blog posts) ---------- */
.color-table { border-radius:12px; overflow:hidden; box-shadow:0 4px 15px rgba(0,0,0,.06); }
.color-table th { background:var(--bs-secondary); color:#fff; font-weight:600; font-size:.9rem; }
.color-table td, .color-table th { padding:.75rem 1rem; vertical-align:middle; }
.color-dot { width:20px; height:20px; border-radius:50%; display:inline-block; vertical-align:middle; margin-right:8px; border:1px solid rgba(0,0,0,.1); }

/* ---------- Comparison table (blog posts) ---------- */
.comparison-table { border-radius:12px; overflow:hidden; box-shadow:0 4px 15px rgba(0,0,0,.06); }
.comparison-table thead th { background:var(--bs-secondary); color:#fff; font-weight:600; border:0; padding:.9rem 1rem; font-size:.9rem; }
.comparison-table tbody td { padding:.8rem 1rem; vertical-align:middle; font-size:.9rem; }
.comparison-table .text-success { color:#16a34a !important; font-weight:600; }
.comparison-table .text-danger { color:#dc2626 !important; font-weight:600; }
.comparison-table .text-warning { color:#d97706 !important; font-weight:600; }

/* ---------- Steps timeline ---------- */
.step-number { width:48px; height:48px; border-radius:50%; background:linear-gradient(135deg, var(--bs-primary), var(--bs-secondary)); color:#fff; display:grid; place-items:center; font-weight:800; font-size:1.1rem; flex-shrink:0; }

/* ---------- Areas served ---------- */
.area-badge { display:inline-block; padding:.4rem .9rem; background:var(--brand-accent); color:var(--bs-secondary); border-radius:50px; font-size:.85rem; font-weight:500; margin:.25rem; }

/* ---------- Breadcrumb ---------- */
.breadcrumb-nav { font-size:.85rem; padding:.8rem 0; }
.breadcrumb-nav a { color:var(--bs-primary); text-decoration:none; }
.breadcrumb-nav a:hover { text-decoration:underline; }

/* ---------- Blog archive thumbs (no image) ---------- */
.blog-thumb {
  background: linear-gradient(135deg, var(--bs-secondary) 0%, var(--bs-primary) 100%);
  position: relative;
  overflow: hidden;
  transition: background .4s ease;
  justify-content: flex-start !important;
  padding-left: 1.75rem;
}
.blog-thumb::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,.10) 0%, transparent 45%),
    radial-gradient(circle at 75% 80%, rgba(255,255,255,.07) 0%, transparent 45%);
  pointer-events: none;
}
.blog-thumb-icon {
  position: relative;
  font-size: 3.25rem;
  color: rgba(255,255,255,.92);
  transition: transform .35s ease;
}
.archive-card .card:hover .blog-thumb {
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
}
.archive-card .card:hover .blog-thumb-icon {
  transform: scale(1.12);
}

/* ---------- Before/after gallery ---------- */
.gallery-item { border-radius:.8rem; overflow:hidden; border:1px solid #e2e8f0; }
.gallery-item img { width:100%; height:220px; object-fit:cover; }
.gallery-caption { padding:.8rem 1rem; background:#fff; font-size:.85rem; color:#475569; }

/* ---------- Disclaimer ---------- */
.disclaimer { font-size:.8rem; color:#94a3b8; border-top:1px solid #e2e8f0; padding-top:1.5rem; margin-top:2rem; }

/* ---------- Page content images (blog/service pages) ---------- */
#testo-pagina img { margin:0 0 20px 0; }

/* ---------- Footer ---------- */
.footer { background: linear-gradient(180deg, #0a3d5c 0%, var(--bs-secondary) 100%); color:#dbe7ee; }
.footer a { color:#fff; text-decoration:none; }
.footer a:hover { text-decoration:underline; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity:0; transform:translateY(40px); transition: all .7s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.fullbleed.reveal, .fullbleed.reveal * { opacity:1; transform:none; transition:none; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float { position:fixed; bottom:25px; right:25px; width:60px; height:60px; background: #25D366; color:#fff; border-radius:50%; display:grid; place-items:center; font-size:1.7rem; box-shadow: 0 4px 15px rgba(37,211,102,.4); z-index:9999; transition: all .3s ease; text-decoration:none; }
.whatsapp-float:hover { transform:scale(1.1); box-shadow: 0 6px 25px rgba(37,211,102,.5); color:#fff; }

/* ---------- Utility ---------- */
.rounded-2xl { border-radius: var(--radius-card); }
.shadow-soft { box-shadow: 0 10px 25px rgba(0,0,0,.06); }
.fullbleed .rounded-2xl { border-radius: 0 !important; }
.fullbleed .shadow-soft { box-shadow: none !important; }
.fullbleed .service-card, .fullbleed .card { border-radius: 0 !important; }
.fullbleed .service-card img { border-radius: 0 !important; }
