/* BLQ051 SERVICE — layout/aesthetics adapted from pulizie-abdou-mockup */

:root {
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-deep: #115e59;
  --teal-light: #ccfbf1;
  --teal-soft: #f0fdfa;
  --blue: #0284c7;
  --blue-dark: #0369a1;
  --amber: #f59e0b;
  --ink: #0f172a;
  --muted: #64748b;
  --bg: #f8fafc;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 12px 40px rgba(15, 23, 42, 0.12);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --radius: 14px;
  --max: 1100px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--teal-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.salta {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-150%);
  background: var(--ink);
  color: #fff;
  padding: 0.4rem 0.7rem;
  z-index: 1200;
  border-radius: 6px;
}

.salta:focus {
  transform: none;
}

header.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 900;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--teal) 0%, var(--blue) 100%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}

nav a:hover {
  color: var(--teal-dark);
  text-decoration: none;
}

nav .nav-cta {
  background: var(--teal);
  color: #fff !important;
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

nav .nav-cta:hover {
  background: var(--teal-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  color: var(--ink);
}

.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 118, 110, 0.72) 48%, rgba(3, 105, 161, 0.55) 100%),
    url("img/hero-furgone.jpg") center / cover no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 800;
}

.hero h1 span {
  background: linear-gradient(90deg, #5eead4, #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
  transition: background 0.15s, transform 0.1s;
  text-decoration: none;
  font-family: inherit;
}

.btn:hover {
  background: var(--teal-dark);
  text-decoration: none;
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  box-shadow: none;
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

.btn-secondary {
  background: var(--white);
  color: var(--teal-dark);
  box-shadow: var(--shadow-sm);
  border: 1px solid #99f6e4;
}

.btn-secondary:hover {
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.hero-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  overflow: hidden;
}

.hero-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
  display: block;
}

.hero-card h3 {
  font-family: var(--display);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.hero-card > p {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-highlight {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid #e2e8f0;
}

.hero-highlight strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--teal-dark);
  line-height: 1.1;
}

.hero-highlight span {
  font-size: 0.8rem;
  color: var(--muted);
}

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid #e2e8f0;
  padding: 1.25rem 1.25rem;
}

.trust-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid #99f6e4;
}

.trust-badge small {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--muted);
}

section {
  padding: 3.75rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.section-intro {
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 2rem;
}

#servizi {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--bg);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow);
  border-color: #99f6e4;
  transform: translateY(-3px);
}

.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.service-body {
  padding: 1.15rem 1.2rem 1.35rem;
  flex: 1;
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--teal-light);
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
  color: var(--teal-dark);
  margin-top: -28px;
  position: relative;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.service-card h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

.service-card p + p {
  margin-top: 0.45rem;
}

#perche {
  background: linear-gradient(180deg, var(--teal-soft), var(--bg));
}

.pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pill {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pill-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--teal), var(--blue));
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-family: var(--display);
}

.pill h3 {
  font-family: var(--display);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.pill p {
  font-size: 0.875rem;
  color: var(--muted);
}

#recensioni {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

#recensioni::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.25), transparent 70%);
  pointer-events: none;
}

#recensioni .section-label {
  color: #5eead4;
}

#recensioni h2 {
  color: #fff;
}

#recensioni .section-intro {
  color: #94a3b8;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  position: relative;
}

.testimonial {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}

.testimonial .stars {
  color: var(--amber);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.testimonial blockquote {
  font-size: 0.95rem;
  color: #e2e8f0;
  font-style: italic;
  margin-bottom: 1.1rem;
  line-height: 1.55;
}

.testimonial .author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.testimonial .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--teal), var(--blue));
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial .author strong {
  display: block;
  font-size: 0.9rem;
  color: #fff;
}

.testimonial .author span {
  font-size: 0.75rem;
  color: #94a3b8;
}

.placeholder-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: #64748b;
  font-style: italic;
}

#zone {
  background: var(--white);
}

.zones-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.zone-tag {
  background: var(--teal-light);
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid #99f6e4;
}

#chi-siamo {
  background: var(--bg);
}

.about-box {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.about-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.about-box h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.about-box p {
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.about-box p:last-child {
  margin-bottom: 0;
}

#contatti {
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
}

.contact-info {
  background: linear-gradient(160deg, var(--teal-deep), var(--blue-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-info h3 {
  font-family: var(--display);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.contact-info > p {
  opacity: 0.9;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.contact-detail a {
  color: #fff;
  text-decoration: none;
}

.contact-detail a:hover {
  text-decoration: underline;
}

.contact-detail svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.wa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  background: #25d366;
  color: #fff !important;
  font-weight: 600;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  text-decoration: none !important;
  font-size: 0.95rem;
  transition: background 0.15s, transform 0.1s;
}

.wa-link:hover {
  background: #1ebe57;
  transform: translateY(-1px);
}

.form-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid #e2e8f0;
}

.form-card h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.form-card > p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font: inherit;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

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

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1100;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
  text-decoration: none;
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

.wa-float .tooltip {
  position: absolute;
  right: calc(100% + 10px);
  background: var(--ink);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}

.wa-float:hover .tooltip {
  opacity: 1;
}

footer {
  background: var(--ink);
  color: #94a3b8;
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: 0.85rem;
}

footer a {
  color: #cbd5e1;
}

footer .footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

footer .ragione {
  margin: 0;
  line-height: 1.5;
}

a:focus-visible,
.btn:focus-visible,
.wa-link:focus-visible,
.wa-float:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 380px;
  }

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

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

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-box {
    grid-template-columns: 1fr;
  }

  .about-photo {
    height: 200px;
  }
}

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

  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
  }

  nav.open {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-inner {
    gap: 1rem;
  }

  .wa-float {
    bottom: 1rem;
    right: 1rem;
    width: 54px;
    height: 54px;
  }

  .wa-float .tooltip {
    display: none;
  }
}

/* —— Privacy / legal page —— */
.page-hero {
  background: linear-gradient(135deg, var(--teal-soft) 0%, #e0f2fe 100%);
  padding: 3rem 1.25rem 2.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero .section-label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.page-hero .page-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.legal-doc {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.75rem;
  border: 1px solid #e2e8f0;
}

.legal-doc h2 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 1.75rem 0 0.65rem;
  letter-spacing: -0.01em;
}

.legal-doc h2:first-child {
  margin-top: 0;
}

.legal-doc p,
.legal-doc li {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 0.75rem;
}

.legal-doc ul {
  margin: 0 0 0.85rem 1.15rem;
  padding: 0;
}

.legal-doc li {
  margin-bottom: 0.4rem;
}

.legal-doc a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-doc .legal-box {
  background: var(--teal-soft);
  border: 1px solid var(--teal-light);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  margin: 1rem 0 1.25rem;
  font-size: 0.92rem;
  color: var(--teal-deep);
}

.footer-links {
  margin-top: 0.75rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .legal-doc {
    padding: 1.5rem 1.1rem;
  }
}
