:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --text: #14181f;
  --text-soft: #5f6b7a;
  --border: #e4e8ee;
  --dark: #1c222b;
  --accent: #f4b400;
  --accent-dark: #d89a00;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 16px;
}

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

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 247, 250, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.header-wrap {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1rem;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent);
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.main-nav a {
  font-weight: 700;
  color: var(--text-soft);
  transition: 0.2s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.2s ease;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-lg {
  min-height: 54px;
  padding: 0 22px;
}

.btn-accent {
  background: var(--accent);
  color: #111;
}

.btn-accent:hover {
  background: var(--accent-dark);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  opacity: 0.92;
}

.btn-light {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.22);
}

/*.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(15, 20, 28, 0.55), rgba(15, 20, 28, 0.65)),
    url("../img/hero-rottami.jpg") center/cover no-repeat;
  color: var(--white);
}*/
.hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(15, 20, 28, 0.78) 0%, rgba(15, 20, 28, 0.58) 45%, rgba(15, 20, 28, 0.42) 100%),
    url("../img/hero-bolognesi-rottami.png") center/cover no-repeat;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0 92px;
}


.hero-text {
  max-width: 720px;
  padding: 20px 0;
}

.section-label {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}
/*.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}*/
.hero h1 {
  margin: 0 0 20px;
  /*font-size: clamp(2.4rem, 5vw, 4.2rem);*/
   font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 820px;
}

/*.hero-description {
  max-width: 700px;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.92);
}*/

.hero-description {
  max-width: 660px;
  font-size: 1.12rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero-actions .btn {
  min-width: 190px;
}
.hero-highlight{
  color:var(--accent);
}
.trust-bar {
  background: var(--dark);
  color: var(--white);
  padding: 18px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.trust-item {
  text-align: center;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.section {
  padding: 84px 0;
}

.section-alt {
  background: var(--bg-soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
}

.section p {
  color: var(--text-soft);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 42px;
  align-items: center;
}

.check-list {
  list-style: none;
  margin: 24px 0 28px;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-weight: 500;
}

.check-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  top: -1px;
  color: var(--accent);
  font-size: 1.3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.cta-section {
  padding-top: 20px;
}

.cta-banner {
  background: linear-gradient(135deg, #1c222b 0%, #2a3440 100%);
  border-radius: 26px;
  padding: 38px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 24px;
  align-items: center;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.86);
}

.cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer {
  padding: 72px 0 100px;
  background: #10151b;
  color: rgba(255, 255, 255, 0.9);
}

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

.site-footer h3 {
  margin-top: 0;
  color: var(--white);
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 120;
}

.floating-cta a {
  min-width: 144px;
  text-align: center;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-weight: 800;
}

.floating-call {
  background: var(--dark);
  color: var(--white);
}

.floating-wa {
  background: #25d366;
  color: var(--white);
}

.legal-content {
  max-width: 900px;
}

.legal-content h2 {
  margin-top: 42px;
  margin-bottom: 14px;
  font-size: 1.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-soft);
  font-size: 1rem;
}

.legal-content ul {
  padding-left: 22px;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.step-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--accent);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 18px;
  box-shadow: 0 10px 20px rgba(244, 180, 0, 0.25);
}

.step-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.step-card p {
  margin: 0;
  color: var(--text-soft);
}
.step-card h3::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
  margin-bottom: 14px;
}
.section-heading {
  margin-bottom: 42px;
}
.logo img{
  height:100px;
  width:auto;
  display:block;
}
.contact-hero {
  padding: 88px 0 56px;
  background: linear-gradient(135deg, #f5f7fa 0%, #eef2f6 100%);
}

.contact-intro {
  max-width: 760px;
  font-size: 1.08rem;
  color: var(--text-soft);
}

.contact-main-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.contact-phone-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 18px;
  background: var(--dark);
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card-big {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-card-big h2 {
  margin: 10px 0 12px;
  font-size: 1.5rem;
  line-height: 1.2;
}

.contact-card-big p {
  margin: 0;
  color: var(--text-soft);
}

.contact-label {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-dark);
}
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card-big {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
}


.contact-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  border-radius: 16px;
  background: rgba(244, 180, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  overflow: hidden;
  flex-shrink: 0;
}

.contact-icon svg {
  display: block;
  width: 26px !important;
  height: 26px !important;
  min-width: 26px;
  min-height: 26px;
  max-width: 26px;
  max-height: 26px;
  fill: var(--accent-dark);
  overflow: hidden;
  flex-shrink: 0;
}

.contact-card-big h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.contact-link{
display:inline-flex;
align-items:center;
gap:6px;
font-size:1rem;
font-weight:700;
color:var(--dark);
text-decoration:underline;
text-underline-offset:4px;
cursor:pointer;
transition:color .2s ease;
}

.contact-card-big{
transition:transform .25s ease, box-shadow .25s ease;
}

.contact-card-big:hover{
transform:translateY(-4px);
box-shadow:0 16px 36px rgba(0,0,0,.12);
}
.contact-link:hover {
  color: var(--accent-dark);
}

.contact-card-big p {
  margin: 0;
  color: var(--text-soft);
}

.email-break {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 999px;
}

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

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 0 6px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 1080px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .contact-hero {
    padding: 72px 0 48px;
  }

  .contact-main-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-phone-main {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }

  .trust-grid,
  .cards-grid,
  .gallery-grid,
  .footer-grid,
  .split,
  .cta-banner {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 240px;
  }

  .cta-banner-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
   .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 140px;
  }
  .header-wrap {
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
  }

  .logo {
    flex: 1;
    width: auto;
    justify-content: flex-start;
  }

  .logo img {
    height: 70px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .btn {
    flex: 1;
  }

  .hero {
    min-height: auto;
     background-position: center;
  }

  .hero-content {
    padding: 72px 0 64px;
  }
  .hero h1 {
    font-size: clamp(2.1rem, 8vw, 3.2rem);
    line-height: 1.06;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .section {
    padding: 64px 0;
  }

  .card {
    padding: 22px;
  }

  .cta-banner {
    padding: 28px;
  }

  .floating-cta {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .floating-cta a {
    min-width: auto;
  }
  .site-footer {
  padding: 72px 0 50px;
  background: #10151b;
  color: rgba(255, 255, 255, 0.9);
}
}