*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Heebo", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1a2e35;
  background: #f6f9fb;
}

a {
  color: #0d6e8a;
  text-decoration-thickness: 2px;
}

a:hover {
  color: #094d61;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  background: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.header {
  background: #fff;
  border-bottom: 1px solid #dce8ef;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__img {
  height: 52px;
  width: auto;
  display: block;
}

.nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}

.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a[aria-current="page"] {
  color: #094d61;
  font-weight: 700;
}

.header__phone {
  margin-inline-start: auto;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  background: #0d6e8a;
  color: #fff !important;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

.nav__has-dropdown {
  position: relative;
}

.nav__has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav__arrow {
  font-size: 0.7rem;
  transition: transform 0.2s;
}

/* bridge the gap so the dropdown stays open when moving mouse down */
.nav__has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  inset-inline: -1rem;
  height: 0.75rem;
  display: none;
}

.nav__has-dropdown:hover::after {
  display: block;
}

.nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  background: #fff;
  border: 1px solid #dce8ef;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgb(0 0 0 / 12%);
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  min-width: 480px;
  z-index: 200;
  columns: 2;
  column-gap: 0;
}

.nav__dropdown li {
  break-inside: avoid;
}

.nav__dropdown a {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 0.9rem;
  white-space: nowrap;
  color: #1a2e35;
  text-decoration: none;
  border-radius: 6px;
  margin: 0.1rem 0.4rem;
}

.nav__dropdown a:hover,
.nav__dropdown a[aria-current="page"] {
  background: #e8f4f8;
  color: #0d6e8a;
}

.nav__has-dropdown:hover .nav__dropdown,
.nav__has-dropdown:focus-within .nav__dropdown {
  display: block;
}

.nav__has-dropdown:hover .nav__arrow {
  transform: rotate(180deg);
}

.mobile-nav__child a {
  padding-inline-start: 2rem !important;
  font-size: 0.88rem;
  color: #5a7280 !important;
  min-height: 42px !important;
  background: #fafcfd;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #ccc;
  font-size: 1.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  cursor: pointer;
}

.mobile-nav {
  position: fixed;
  top: 78px;
  inset-inline: 0;
  bottom: 52px;
  background: #fff;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  z-index: 99;
  border-top: 1px solid #dce8ef;
  box-shadow: 0 8px 32px rgb(0 0 0 / 15%);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 1.5rem;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4vw;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 1px solid #f0f4f7;
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  background: #f0f7fb;
  color: #0d6e8a;
}

/* Backdrop */
.mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 40%);
  z-index: 98;
}

.nav-backdrop.is-open {
  display: block;
}

/* Main */
.main {
  padding: 2rem 0 5rem;
}

.page-header {
  margin-bottom: 1.25rem;
}

.page-header--has-logo {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.page-header__logo {
  max-height: 52px;
  max-width: 160px;
  object-fit: contain;
  background: #f6f9fb;
  border: 1px solid #e0e8ef;
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
  flex-shrink: 0;
}

.page-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 1.25rem;
  color: #0a3d4d;
}

.section {
  padding: 2.5rem 0;
}

.section--alt {
  background: #fff;
  margin-inline: calc(50% - 50vw);
  padding-inline: calc(50vw - 50%);
  border-block: 1px solid #e8eef4;
}

.section h2 {
  font-size: 1.5rem;
  margin: 0 0 1.25rem;
  color: #0a3d4d;
}

.hero {
  text-align: center;
  padding: 2rem 0 3rem;
}

.hero__eyebrow {
  color: #5a7280;
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: #0a3d4d;
}

.hero__lead {
  font-size: 1.1rem;
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  color: #334;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.trust-badge {
  width: 160px;
  height: auto;
  margin-top: 1.25rem;
  display: block;
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  min-height: 48px;
}

.btn--primary {
  background: #0d6e8a;
  color: #fff !important;
}

.btn--primary:hover {
  background: #094d61;
}

.btn--whatsapp {
  background: #25d366;
  color: #fff !important;
}

.btn--whatsapp:hover {
  background: #1da851;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.card {
  background: #fff;
  border: 1px solid #e0e8ef;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgb(13 110 138 / 6%);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card h3 a:hover {
  color: #0d6e8a;
}

.card--problem {
  text-align: center;
}

.card__icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.35rem;
}

.split {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr minmax(200px, 280px);
  align-items: start;
}

.stats {
  display: grid;
  gap: 0.75rem;
}

.stat {
  background: #fff;
  border: 1px solid #dce8ef;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  color: #0d6e8a;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: #e6f4f8;
  color: #0a3d4d;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.88rem;
}

/* Brand page */

.brand-split {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.brand-split__img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  position: sticky;
  top: 5rem;
}

@media (max-width: 700px) {
  .brand-split {
    grid-template-columns: 1fr;
  }
  .brand-split__img {
    position: static;
    max-height: 200px;
  }
}

/* Brand logo scroller */
.brands-carousel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.brands-viewport {
  overflow: hidden;
  flex: 1;
}

.brands-track {
  display: flex;
  gap: 1rem;
  will-change: transform;
}

.brand-slide {
  flex-shrink: 0;
  width: 140px;
  background: #fff;
  border: 1px solid #e0e8ef;
  border-radius: 14px;
  padding: 1rem 0.75rem 0.85rem;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 8px rgb(0 0 0 / 5%);
  transition: box-shadow 0.2s, transform 0.2s;
}

.brand-slide:hover {
  box-shadow: 0 6px 20px rgb(13 110 138 / 15%);
  transform: translateY(-3px);
}

.brand-slide__logo-wrap {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-slide__logo {
  max-width: 110px;
  max-height: 48px;
  object-fit: contain;
}

.brand-slide__en {
  font-size: 0.78rem;
  font-weight: 600;
  color: #1a2e35;
  letter-spacing: 0.02em;
}

.brand-slide__he {
  font-size: 0.75rem;
  color: #5a7280;
}

.reviews-carousel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-viewport {
  overflow: hidden;
  flex: 1;
  cursor: grab;
}

.carousel-viewport:active {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  will-change: transform;
}

.carousel-btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #dce8ef;
  background: #fff;
  box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d6e8a;
  transition: background 0.15s, box-shadow 0.15s;
}

.carousel-btn:hover {
  background: #e8f4f8;
  box-shadow: 0 3px 12px rgb(0 0 0 / 15%);
}

.review-card {
  background: #fff;
  border: 1px solid #e0e8ef;
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 2px 10px rgb(0 0 0 / 6%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
  width: 300px;
}

.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-card__stars {
  color: #f9ab00;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.review-card__google {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.review-card__text {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.65;
  color: #2c3e4a;
  flex: 1;
}

.review-card__text p {
  margin: 0;
}

.review-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.6rem;
  border-top: 1px solid #eef2f6;
}

.review-card__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #445;
}

.review-card__link {
  font-size: 0.82rem;
  color: #0d6e8a;
  text-decoration: none;
  white-space: nowrap;
}

.review-card__link:hover {
  text-decoration: underline;
}

.faq details {
  background: #fff;
  border: 1px solid #e0e8ef;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.65rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  margin: 0.75rem 0 0;
}

.cta {
  text-align: center;
  background: linear-gradient(180deg, #e8f6fa, #f6f9fb);
  border-radius: 16px;
  padding: 2rem 1rem;
  margin-top: 1rem;
}

.cta__phone {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0.5rem 0 1rem;
}

.cta__phone a {
  text-decoration: none;
  color: #0a3d4d;
}

.cta-inline {
  margin-top: 1.5rem;
  font-weight: 600;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr minmax(160px, 200px) minmax(200px, 260px);
  gap: 2rem;
  align-items: start;
}

.about-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    aspect-ratio: 16 / 9;
    max-height: 200px;
  }
}

.page-image {
  float: left;
  width: 260px;
  height: 190px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 0 1rem 1.5rem;
}

.page-image-wrap {
  overflow: hidden;
}

@media (max-width: 600px) {
  .page-image {
    float: none;
    width: 100%;
    height: 180px;
    margin: 0 0 1rem 0;
  }
}

.highlight-box {
  background: #e8f6fa;
  border-right: 4px solid #0d6e8a;
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  margin: 1.25rem 0;
}

.contact-block {
  text-align: center;
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #dce8ef;
}

.contact-block__phone {
  font-size: 2rem;
  font-weight: 700;
}

.contact-block__phone a {
  text-decoration: none;
}

.service-card {
  margin-top: 3rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgb(10 61 77 / 12%);
  border: 1px solid #d0e4ec;
}

.service-card__header {
  background: linear-gradient(135deg, #0a3d4d 0%, #0d6e8a 100%);
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.service-card__name {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.service-card__tagline {
  color: #a8d8e8;
  font-size: 0.88rem;
}

.service-card__body {
  background: #fff;
  padding: 1.25rem 1.5rem;
}

.service-card__phone {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  color: #0d6e8a;
  text-decoration: none;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.service-card__phone:hover {
  color: #094d61;
}

.service-card__facts {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
  font-size: 0.9rem;
  color: #334;
}

.service-card__facts li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.service-card__ai {
  border-top: 1px solid #e8eef4;
  padding-top: 0.85rem;
  font-size: 0.8rem;
  color: #7a8fa0;
  line-height: 1.5;
}

.service-card__ai p {
  margin: 0.2rem 0;
}

@media (max-width: 600px) {
  .service-card__facts {
    grid-template-columns: 1fr;
  }
}

.footer {
  background: #0a3d4d;
  color: #c8dce2;
  padding: 0.6rem 0;
  text-align: center;
  font-size: 0.82rem;
}

.footer p {
  margin: 0.15rem 0;
  line-height: 1.4;
}

.footer a {
  color: #7dd3fc;
}

.footer__copy {
  opacity: 0.7;
}

.sticky-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  z-index: 200;
  box-shadow: 0 -4px 20px rgb(0 0 0 / 12%);
}

.sticky-bar a {
  flex: 1;
  text-align: center;
  padding: 1rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff !important;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticky-bar__call {
  background: #0d6e8a;
}

.sticky-bar__wa {
  background: #25d366;
}

ul {
  padding-inline-start: 1.25rem;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .header__phone {
    display: none;
  }

  .split {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) {
  .mobile-nav {
    display: none !important;
    transform: none;
  }

  .sticky-bar {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 52px;
  }
}
