:root {
  --primary-color: #ff7722;
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #f8f8f8;
  --bg-white: #ffffff;
  --max-content-width: 1200px;
  --header-height-desktop: 90px;
  --header-height-mobile: 78px;
  --anchor-scroll-offset: var(--header-height-desktop);
  --anchor-scroll-offset-contact: calc(var(--header-height-desktop) - 34px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

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

ul {
  list-style: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 20px;
  top: 20px;
  z-index: 9999;
  padding: 10px 16px;
  border-radius: 6px;
  color: #fff;
  background: #000;
}

.container {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.site-header {
  background-color: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: var(--header-height-desktop);
  gap: 20px;
}

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

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

nav ul {
  display: flex;
  gap: 40px;
}

nav a {
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--primary-color);
}

.header-btn,
.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  transition: transform 0.3s, background-color 0.3s;
}

.header-btn {
  padding: 12px 24px;
}

.menu-toggle {
  display: none;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: #111827;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.sbh-mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 1400;
  pointer-events: none;
}

.sbh-mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.42);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.sbh-mobile-nav-panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(320px, 86vw);
  background: #fff;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateX(100%);
  transition: transform 0.24s ease;
  box-shadow: -8px 0 24px rgba(15, 23, 42, 0.2);
}

.sbh-mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #111827;
  font-size: 15px;
}

.sbh-mobile-nav-close {
  width: 36px;
  height: 36px;
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 8px;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sbh-mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sbh-mobile-nav-link {
  display: block;
  padding: 10px 8px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
}

.sbh-mobile-nav-link:hover {
  background: #fff4ec;
  color: var(--primary-color);
}

.sbh-mobile-nav-quote {
  margin-top: 4px;
  min-height: 44px;
  border-radius: 8px;
  background: var(--primary-color);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.sbh-nav-open {
  overflow: hidden;
}

body.sbh-nav-open .sbh-mobile-nav-drawer {
  pointer-events: auto;
}

body.sbh-nav-open .sbh-mobile-nav-backdrop {
  opacity: 1;
}

body.sbh-nav-open .sbh-mobile-nav-panel {
  transform: translateX(0);
}

.btn-primary {
  display: inline-block;
  padding: 16px 32px;
  font-size: 18px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.3s, background-color 0.3s, border-color 0.3s;
}

.header-btn:hover,
.btn-primary:hover {
  background-color: #e6661c;
  transform: translateY(-2px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-secondary-light {
  color: var(--text-dark);
  background: #fff;
  border-color: #ddd;
}

.btn-secondary-light:hover {
  background: #fff5ed;
  border-color: var(--primary-color);
}

.hero {
  position: relative;
  min-height: 700px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/hero-reference.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #fff;
}

#main-content,
#home,
#products,
#scenarios {
  scroll-margin-top: var(--anchor-scroll-offset);
}

#contact {
  scroll-margin-top: var(--anchor-scroll-offset-contact);
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero p {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-trust-item {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-trust-list-light .hero-trust-item {
  color: var(--text-dark);
  background: #fff;
  border: 1px solid #f2d2ba;
}

.section-padding {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 20px auto 0;
}

.products,
.scenarios,
.order-section {
  background-color: var(--bg-light);
}

.product-grid,
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-img {
  height: 300px;
  width: 100%;
  object-fit: cover;
}

.product-info {
  padding: 30px;
}

.product-info h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.product-info p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 14px;
}

.product-link {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.offer-card {
  text-align: center;
  padding: 40px 20px;
  border: 1px solid #eee;
  border-radius: 8px;
}

.offer-icon {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.offer-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.offer-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

.scenario-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 400px;
}

.scenario-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.scenario-card:hover .scenario-img {
  transform: scale(1.1);
}

.scenario-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 30px;
  color: #fff;
}

.scenario-overlay h3 {
  font-size: 24px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.why-item {
  display: flex;
  gap: 20px;
}

.why-icon {
  width: 60px;
  height: 60px;
  background-color: #fff3ec;
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.why-text h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.why-text p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 16px;
}

.why-img img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.order-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 16px;
}

.order-steps::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 100px;
  right: 100px;
  height: 2px;
  background-color: #ddd;
  z-index: 1;
}

.step {
  text-align: center;
  position: relative;
  z-index: 2;
  width: 30%;
}

.step-number {
  width: 80px;
  height: 80px;
  background-color: #fff;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.step p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 16px;
}

.contact-section {
  width: 100%;
  background-color: #ff7722;
  padding: 44px 0 54px;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-container h2 {
  text-align: center;
  color: #fff;
  margin-bottom: 24px;
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1.15;
}

.contact-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.contact-form-wrap,
.contact-info {
  flex: 1;
}

.contact-form {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  display: inline-block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

textarea.form-control {
  min-height: 104px;
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.submit-btn {
  background-color: var(--text-dark);
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #000;
}

.form-feedback {
  margin-top: 8px;
  font-size: 12px;
  color: #4b5563;
}

.form-feedback.is-error {
  color: #b42318;
}

.form-feedback.is-success {
  color: #067647;
}

.contact-info {
  color: #fff;
}

.contact-info h3 {
  margin-bottom: 20px;
  font-size: 50px;
  color: #fff;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.info-icon {
  font-size: 24px;
  color: #fff;
}

.info-text h4 {
  font-size: 16px;
  margin-bottom: 5px;
  color: #fff;
}

.info-text p {
  font-size: 14px;
  line-height: 1.45;
  opacity: 0.9;
}

.info-text a {
  color: inherit;
}

.info-text a:hover {
  text-decoration: underline;
}

.site-footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.site-footer .footer-logo {
  margin-bottom: 20px;
}

.site-footer .footer-logo img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
  filter: none;
}

.footer-about {
  color: #999;
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.social-link:hover {
  background-color: var(--primary-color);
}

.footer-title {
  font-size: 20px;
  margin-bottom: 30px;
}

.footer-col h4 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 22px;
}

.footer-col p {
  color: #999;
  line-height: 1.7;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: #999;
  transition: color 0.3s;
}

.footer-links li.is-muted {
  color: #9f9f9f;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.copyright {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid #333;
  color: #999;
  font-size: 16px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #333;
  padding-top: 28px;
}

.footer-bottom p {
  margin: 0;
  color: #999;
  font-size: 14px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal-links a {
  color: #a3a3a3;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-legal-links a:hover {
  color: var(--primary-color);
}

.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.global-error-boundary {
  position: fixed;
  inset: auto 16px 16px 16px;
  z-index: 10001;
  padding: 12px 16px;
  border-radius: 8px;
  background: #7f1d1d;
  color: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .product-grid,
  .scenario-grid,
  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 36px;
  }

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

  .contact-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height-mobile: 72px;
    --anchor-scroll-offset: var(--header-height-mobile);
    --anchor-scroll-offset-contact: calc(var(--header-height-mobile) - 18px);
  }

  nav {
    display: none;
  }

  .header-content {
    min-height: var(--header-height-mobile);
    gap: 12px;
  }

  .header-actions {
    margin-left: auto;
  }

  .logo img {
    height: 42px;
  }

  .header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.15;
  }

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

  .section-padding {
    padding: 70px 0;
  }

  .home-page .hero {
    min-height: calc(100svh - var(--header-height-mobile));
    padding: 28px 0 36px;
    align-items: flex-start;
    background-position: 58% center;
  }

  .home-page .hero-content {
    max-width: 100%;
  }

  .home-page .hero h1 {
    max-width: 14ch;
    margin-bottom: 16px;
    font-size: clamp(40px, 10.6vw, 54px);
    line-height: 1.12;
    letter-spacing: -0.01em;
  }

  .home-page .hero p {
    max-width: 30ch;
    margin-bottom: 20px;
    font-size: clamp(18px, 4.6vw, 22px);
    line-height: 1.45;
  }

  .hero-actions {
    width: 100%;
    margin-bottom: 14px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .product-grid,
  .scenario-grid,
  .offer-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-legal-links {
    gap: 14px;
    flex-wrap: wrap;
  }

  .order-steps {
    flex-direction: column;
  }

  .order-steps::before {
    display: none;
  }

  .step {
    width: 100%;
  }

  .contact-form {
    padding: 24px;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 18px;
    bottom: 18px;
    font-size: 24px;
  }
}
