/* SMARTCALL D1 visual system */
:root {
  --smartcall-deep: #062b67;
  --smartcall-blue: #0b55a0;
  --smartcall-cyan: #16dff6;
  --smartcall-yellow: #f2c500;
  --smartcall-lime: #b8df18;
  --smartcall-ink: #13243a;
  --smartcall-muted: #52657a;
  --smartcall-pale: #f0f6ff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #f8fbff;
  color: var(--smartcall-ink);
  text-rendering: optimizeLegibility;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a,
button,
input,
select,
textarea {
  min-height: 44px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--smartcall-yellow);
  outline-offset: 3px;
}

.smartcall-section {
  padding-block: clamp(3rem, 8vw, 6rem);
}

.smartcall-card {
  height: 100%;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid #d5e6f8;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 46px rgb(6 43 103 / 10%);
}

.smartcall-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  text-decoration: none;
}

.smartcall-muted {
  color: var(--smartcall-muted);
}

.smartcall-eyebrow {
  margin-bottom: 0.5rem;
  color: var(--smartcall-blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.smartcall-hero__image img,
.smartcall-shop-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  object-fit: cover;
}

.smartcall-home-hero {
  position: relative;
  display: grid;
  min-height: clamp(620px, 72vh, 820px);
  overflow: hidden;
  isolation: isolate;
}

.smartcall-home-hero__media,
.smartcall-home-hero__media picture,
.smartcall-home-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.smartcall-home-hero > .smartcall-home-hero__media {
  max-width: none !important;
  margin: 0 !important;
}

.smartcall-home-hero__media img {
  object-fit: cover;
  object-position: center;
}

.smartcall-home-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgb(6 43 103 / 96%) 0%, rgb(6 43 103 / 82%) 43%, rgb(6 43 103 / 18%) 72%, transparent 100%);
  content: "";
}

.smartcall-home-hero__media {
  z-index: -2;
}

.smartcall-home-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
  padding-block: clamp(4rem, 9vw, 7rem);
  color: #ffffff;
}

.smartcall-home-hero__content > * {
  max-width: 680px;
}

.smartcall-home-hero__content h1 {
  margin-block: 0 1.25rem;
  color: #ffffff;
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  line-height: 0.98;
  text-shadow: 0 3px 22px rgb(0 19 50 / 45%);
}

.smartcall-home-hero__content .smartcall-hero-lead {
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.smartcall-home-hero__content .smartcall-eyebrow {
  color: var(--smartcall-cyan);
}

.smartcall-home-hero__content > .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: center;
  gap: 0.8rem;
}

.smartcall-home-hero__content > .wp-block-buttons .smartcall-contact-link {
  width: auto;
  height: 68px;
  min-height: 54px;
  white-space: nowrap;
}

.smartcall-brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 1rem;
  margin-block: 1.5rem 2.5rem;
}

.smartcall-brand-grid--spid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 920px;
  margin-inline: auto;
}

.smartcall-brand-tile {
  display: flex;
  min-height: 132px;
  align-items: center;
  justify-content: center;
  padding: 1.1rem;
  border: 1px solid #d5e6f8;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgb(6 43 103 / 8%);
}

.smartcall-brand-tile img {
  width: 100%;
  max-width: 220px;
  height: 82px;
  object-fit: contain;
}

.smartcall-service-panel {
  margin-block: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 28px;
  background: var(--smartcall-pale);
}

.smartcall-contact-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 0.7rem;
  font-weight: 750;
  text-decoration: none;
}

.smartcall-contact-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--smartcall-cyan);
  color: var(--smartcall-deep);
}

.smartcall-contact-icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.smartcall-contact-icon--whatsapp {
  border: 1px solid rgb(37 211 102 / 35%);
  background: #ffffff;
  color: #25d366;
}

.smartcall-whatsapp-mark {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.smartcall-solar-visual {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(145deg, #dff9ff 0%, #f8fdff 50%, #e8f3cf 100%);
  box-shadow: 0 18px 50px rgb(6 43 103 / 14%);
}

.smartcall-solar-visual svg {
  width: 100%;
  height: 100%;
  min-height: 330px;
}

.smartcall-solar-visual__logo {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: min(180px, 42%);
  height: auto;
  padding: 0.65rem;
  border-radius: 14px;
  background: rgb(255 255 255 / 92%);
}

.smartcall-highlight {
  margin-block: clamp(2rem, 6vw, 5rem);
  padding: clamp(2rem, 6vw, 4rem);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgb(11 55 104 / 18%);
}

.smartcall-highlight .smartcall-eyebrow {
  color: var(--smartcall-lime) !important;
}

.smartcall-highlight,
.smartcall-highlight h2,
.smartcall-highlight p:not(.smartcall-eyebrow) {
  color: #ffffff !important;
}

.smartcall-service-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin: 0;
  border-radius: 20px;
  background: var(--smartcall-pale);
  color: var(--smartcall-deep);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.05;
  text-align: center;
}

.smartcall-contact-band a {
  color: inherit;
}

.smartcall-page-hero {
  padding-block: clamp(3rem, 8vw, 6rem);
}

.smartcall-notice {
  margin-block: 2rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border-left: 5px solid var(--smartcall-cyan);
  border-radius: 0 20px 20px 0;
}

.smartcall-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 50%;
  background: var(--smartcall-blue);
  color: #ffffff;
  font-weight: 800;
}

.smartcall-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  object-fit: cover;
}

.smartcall-form-slot {
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.5rem, 5vw, 3rem);
  border-radius: 24px;
}

.smartcall-form-slot .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0.4rem;
}

.smartcall-form-slot .smartcall-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.smartcall-form-slot input[type="text"],
.smartcall-form-slot input[type="email"],
.smartcall-form-slot input[type="tel"],
.smartcall-form-slot select,
.smartcall-form-slot textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #8aa7c7;
  border-radius: 10px;
  background: #ffffff;
  color: #172033;
  font: inherit;
}

.smartcall-form-slot textarea {
  min-height: 150px;
  resize: vertical;
}

.smartcall-form-slot input[type="checkbox"] {
  width: 22px;
  min-height: 22px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.smartcall-form-slot .wpcf7-submit {
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--smartcall-blue);
  color: #ffffff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.smartcall-header {
  position: sticky;
  z-index: 100;
  top: 0;
  padding: 0 !important;
  border-bottom: 4px solid var(--smartcall-cyan);
  background: #ffffff;
  box-shadow: 0 8px 28px rgb(6 43 103 / 10%);
}

.smartcall-header__inner {
  flex-wrap: nowrap !important;
  gap: clamp(0.75rem, 1.4vw, 1.5rem);
  min-height: 92px;
  padding-block: 0.65rem;
}

.smartcall-logo {
  display: inline-flex;
  flex: 0 0 clamp(285px, 27vw, 360px);
  align-items: center;
  min-width: 210px;
  min-height: 58px;
}

.smartcall-logo picture,
.smartcall-logo img {
  display: block;
  width: 100%;
}

.smartcall-logo img {
  height: auto;
  object-fit: contain;
}

.smartcall-nav a {
  color: var(--smartcall-deep);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.smartcall-nav {
  flex: 1 1 auto;
}

.smartcall-nav .wp-block-navigation__container {
  flex-wrap: nowrap;
  gap: clamp(0.7rem, 1.2vw, 1.25rem);
}

.smartcall-nav .wp-block-navigation-item__content {
  white-space: nowrap;
}

.smartcall-header__actions .wp-block-button__link {
  padding-inline: 1rem;
  white-space: nowrap;
}

.smartcall-header__actions .smartcall-contact-icon {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
}

.smartcall-header__actions .smartcall-whatsapp-mark {
  width: 18px;
  height: 18px;
}

.smartcall-footer {
  padding-block: 3.5rem 1.5rem;
}

.smartcall-contact-band,
.smartcall-contact-band h2,
.smartcall-contact-band p,
.smartcall-footer,
.smartcall-footer h2,
.smartcall-footer h3,
.smartcall-footer p,
.smartcall-footer li {
  color: #ffffff !important;
}

.smartcall-footer a {
  color: #ffffff !important;
}

@media (max-width: 1180px) {
  .smartcall-header__actions {
    display: none !important;
  }
}

@media (max-width: 1040px) {
  .smartcall-header__inner {
    min-height: 78px;
  }

  .smartcall-logo {
    flex-basis: min(330px, 70vw);
  }

  .smartcall-nav {
    flex: 0 0 auto;
  }

  .smartcall-nav .wp-block-navigation__responsive-container-open {
    display: flex;
  }

  .smartcall-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none;
  }

  .smartcall-nav .wp-block-navigation__responsive-container.is-menu-open {
    display: flex;
  }
}

@media (max-width: 781px) {
  .smartcall-home-hero {
    min-height: 760px;
  }

  .smartcall-home-hero::after {
    background: linear-gradient(180deg, rgb(6 43 103 / 94%) 0%, rgb(6 43 103 / 76%) 48%, rgb(6 43 103 / 32%) 78%, transparent 100%);
  }

  .smartcall-home-hero__content {
    justify-content: flex-start;
    padding-top: 4.5rem;
  }

  .smartcall-home-hero__content h1 {
    font-size: clamp(2.75rem, 13vw, 4.35rem);
  }

  .smartcall-home-hero__content > .wp-block-buttons .smartcall-contact-link {
    width: 100%;
  }

  .smartcall-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .smartcall-brand-tile {
    min-height: 112px;
    padding: 0.85rem;
  }

  .smartcall-brand-tile img {
    height: 68px;
  }

  .smartcall-mobile-stack {
    flex-direction: column;
  }

  .smartcall-mobile-stack > * {
    width: 100% !important;
  }

  .smartcall-header__inner {
    min-height: 72px;
    gap: 0.65rem;
  }

  .smartcall-logo {
    flex-basis: min(260px, 68vw);
    min-width: min(210px, 64vw);
  }

  .smartcall-brand-grid--spid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

