/*
  MIYATA shared structure layer
  Keeps the updated layout while letting each page's original colors show through.
*/

:root {
  --miyata-apple-container: min(1180px, calc(100vw - 44px));
  --miyata-apple-radius: 28px;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-padding-top: 104px;
}

body {
  max-width: 100%;
  overflow-x: hidden !important;
  text-rendering: optimizeLegibility;
}

.container,
.nb-container,
.hero-inner,
.footer-inner {
  width: var(--miyata-apple-container) !important;
}

.site-header {
  box-sizing: border-box;
  padding: 16px 24px !important;
}

.site-header.scrolled {
  padding: 10px 20px !important;
}

.header-inner,
.site-header .header-inner,
.site-header .container.header-inner {
  box-sizing: border-box;
  min-height: auto !important;
  width: min(1240px, calc(100vw - 36px)) !important;
  max-width: 1240px !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  backdrop-filter: saturate(170%) blur(24px) !important;
  -webkit-backdrop-filter: saturate(170%) blur(24px) !important;
}

.site-logo {
  width: 148px !important;
  height: 30px !important;
}

.site-nav,
.header-links {
  gap: 8px !important;
}

.nav-trigger,
.nav-link,
.nav-contact,
.header-links a,
.mobile-contact,
.btn,
.nb-btn,
.submit-btn,
.notice-action,
.cat-btn,
.btn-detail,
.hero-back,
.product-source-link {
  border-radius: 999px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.24s ease,
    color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease !important;
}

.nav-trigger:hover,
.nav-link:hover,
.header-links a:hover,
.nav-dropdown:hover .nav-trigger,
.nav-dropdown[data-open="true"] .nav-trigger,
.cat-btn:hover,
.cat-btn.active,
.nav-contact:hover,
.mobile-contact:hover,
.btn-primary:hover,
.btn-product:hover,
.btn-dark:hover,
.nb-btn-primary:hover,
.submit-btn:hover,
.btn-detail:hover,
.notice-action:hover,
.btn-secondary:hover,
.btn-ghost:hover,
.nb-btn-outline:hover,
.hero-back:hover {
  transform: translateY(-1px);
}

.nav-dropdown-panel,
.mobile-menu,
.sticky-cta,
.contact-card,
.form-panel,
.side-panel,
.notice-panel,
.accordion-item,
.product-card,
.plan-card,
.feature-card,
.use-card,
.spec-card,
.faq-item,
.metric,
.metric-item,
.problem-card,
.problem-item,
.module-card,
.scene-card,
.value-card,
.diagnosis-point,
.overview-point,
.safety-card,
.visual-panel,
.compare-wrap,
.warranty-card,
.nb-panel,
.nb-box,
.nb-class-card,
.nb-apply-panel,
.nb-apply-option,
.nb-insta-strip,
.flow,
.process,
.cta-card,
.products-callout,
.comparison-wrap,
.comparison,
.spec-table-wrap {
  border-radius: var(--miyata-apple-radius) !important;
}

.dp-image {
  border-radius: 14px !important;
}

.mobile-menu {
  backdrop-filter: saturate(170%) blur(28px) !important;
  -webkit-backdrop-filter: saturate(170%) blur(28px) !important;
}

.section,
.section-soft,
.section.alt,
.products-section,
.form-section,
.challenges-section {
  padding-top: clamp(92px, 10vw, 144px) !important;
  padding-bottom: clamp(92px, 10vw, 144px) !important;
}

.section-head,
.section-head.center,
.nb-panel-head,
.page-hero-inner,
.section-title,
.section-subtitle {
  text-align: center !important;
}

.section-kicker,
.section-label,
.panel-kicker,
.eyebrow,
.hero-badge,
.product-kicker,
.why-now-kicker,
.nb-small-en,
.card-kicker,
.card-num,
.product-category-tag,
.trust-bar-label,
.cta-eyebrow {
  width: fit-content;
  border-radius: 999px !important;
  padding: 0.35em 0.85em !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.section-head.center .section-kicker,
.section-head.center .section-label,
.section-head.center .panel-kicker,
.section-head.center .eyebrow,
.section-head.center .hero-badge,
.section-head.center .product-kicker,
.section-head.center .why-now-kicker,
.section-head.center .nb-small-en,
.section-head.center .card-kicker,
.section-head.center .card-num {
  margin-left: auto;
  margin-right: auto;
}

.section-title,
.page-hero h1,
.hero-title,
.nb-section-title,
.nb-hero-title,
.cta-title,
.why-now-title,
.product-name,
.form-intro h2,
.side-panel h2 {
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.08 !important;
}

.section-title,
.page-hero h1,
.hero-title,
.nb-hero-title {
  font-size: clamp(2.35rem, 5vw, 4.85rem) !important;
}

.section-desc,
.section-copy,
.section-subtitle,
.lead,
.hero-sub,
.hero-desc,
.nb-copy,
.nb-panel-lead,
.nb-hero-lead,
.form-intro p,
.side-list,
.product-models,
.product-desc,
.cta-sub,
.why-now-body p {
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

.hero-picture,
.hero-image,
.overview-img,
.overview-image,
.module-image,
.diagnosis-photo,
.visual-media,
.product-image-wrap,
.nb-history-card,
.nb-action-shot,
.nb-map-embed {
  overflow: hidden;
  border-radius: var(--miyata-apple-radius) !important;
}

.feature-card:hover,
.use-card:hover,
.problem-card:hover,
.module-card:hover,
.value-card:hover,
.diagnosis-point:hover,
.safety-card:hover,
.product-card:hover,
.plan-card:hover,
.accordion-item:hover,
.nb-class-card:hover {
  transform: translateY(-4px);
}

.footer-buttons {
  gap: 18px !important;
  margin-bottom: clamp(72px, 8vw, 120px) !important;
}

.contact-btn {
  min-height: 92px !important;
  height: auto !important;
  border-radius: 999px !important;
}

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

/* Index bento layout */
.challenges-section .container {
  max-width: 1220px !important;
}

.challenges-section .section-title {
  margin-bottom: 14px !important;
}

.challenges-section .section-subtitle {
  max-width: 560px;
  margin: 0 auto 52px !important;
}

/* 4カラム dense: Row1=ecoco(3)+battery(1), Row2=yarbo(2)+LED(2), Row3=basketball(4) */
.bento-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-template-rows: unset !important;
  grid-auto-rows: unset !important;
  grid-auto-flow: row dense !important;
  gap: 12px !important;
  align-items: start !important;
}

.bento-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
  min-height: 0 !important;
  padding: clamp(22px, 2.6vw, 36px) !important;
  overflow: hidden !important;
  isolation: isolate;
  border-radius: 28px !important;
  transform: translateZ(0) !important;
  background-color: #111 !important;
}

/* dense配置: ecoco(3)→row1 col1-3, battery(1)→row1 col4(gap埋め), yarbo(2)→row2 col1-2, LED(2)→row2 col3-4, basketball(4)→row3
   ecoco/yarboがその行の高さを決め、battery/LEDはstretchで完全一致 */
.bento-card:nth-child(1) { grid-column: span 3 !important; grid-row: auto !important; aspect-ratio: 2048/1365 !important; align-self: start !important; }
.bento-card:nth-child(2) { grid-column: span 2 !important; grid-row: auto !important; aspect-ratio: 1200/917 !important; align-self: start !important; }
.bento-card:nth-child(3) { grid-column: span 1 !important; grid-row: auto !important; aspect-ratio: unset !important; align-self: stretch !important; }
.bento-card:nth-child(4) { grid-column: span 2 !important; grid-row: auto !important; aspect-ratio: unset !important; align-self: stretch !important; }
.bento-card:nth-child(5) { grid-column: span 4 !important; grid-row: auto !important; aspect-ratio: 2048/768 !important; align-self: start !important; }

.bento-card::after {
  content: "詳しく見る" !important;
  position: absolute !important;
  right: clamp(22px, 2.4vw, 34px) !important;
  bottom: clamp(20px, 2.2vw, 32px) !important;
  z-index: 4 !important;
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  height: auto !important;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.04em !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  opacity: 1 !important;
  transform: none !important;
}

.bento-card:hover {
  transform: translateY(-6px) !important;
}

.bento-bg {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 1 !important;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.bento-card:hover .bento-bg {
  transform: scale(1.05) !important;
}

.bento-content {
  position: relative !important;
  z-index: 3 !important;
  align-self: auto !important;
  width: min(100%, 520px) !important;
  padding: 0 !important;
  color: #fff !important;
}

.bento-content::before {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.bento-card:nth-child(1) .bento-content::before { content: "Portable Wi-Fi"; }
.bento-card:nth-child(2) .bento-content::before { content: "Autonomous Robot"; }
.bento-card:nth-child(3) .bento-content::before { content: "Solid-State Battery"; }
.bento-card:nth-child(4) .bento-content::before { content: "LED"; }
.bento-card:nth-child(5) .bento-content::before { content: "Community"; }

/* overlay: ecoco/yarbo/battery は薄め、basketball は少し濃い */
.bento-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0) 70%) !important;
  z-index: 2 !important;
}

.bento-content h3 {
  margin: 0 0 8px !important;
  font-size: clamp(1.55rem, 2.6vw, 2.6rem) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
}

.bento-content p {
  max-width: 440px;
  margin: 0 !important;
  font-size: clamp(0.86rem, 1.1vw, 0.96rem) !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
}

/* Forms and tables */
input,
select,
textarea {
  border-radius: 16px !important;
}

.required,
.tel-link,
.setup-notice,
.privacy {
  border-radius: 18px !important;
}

.compare-scroll,
.spec-table-wrap,
.specs-wrapper {
  max-width: 100% !important;
  overflow-x: auto !important;
}

.compare-table,
.spec-table,
.specs-table {
  width: 100% !important;
  max-width: 100% !important;
}

.compare-table th,
.compare-table td,
.spec-table th,
.spec-table td,
.specs-table th,
.specs-table td {
  overflow-wrap: anywhere;
  word-break: normal;
}

.accordion-header {
  border-radius: var(--miyata-apple-radius) !important;
}

.product-thumb,
.product-main-image {
  border-radius: 18px !important;
}

.product-category-tag,
.watt-badge,
.product-badge,
.plan-tag,
.nb-class-status {
  border-radius: 999px !important;
}

.visual-media {
  position: relative;
}

/* Yarbo: keep the hero image as one centered visual block */
.yarbo-page .hero-inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
}

.yarbo-page .hero-picture {
  width: 100% !important;
  margin: 0 auto !important;
}

.yarbo-page .hero-picture img {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  object-position: center center !important;
}

/* Yarbo: match ecoco's balanced h2 sizing and natural wrapping */
.yarbo-page .section-head {
  max-width: min(900px, 100%) !important;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center !important;
}

.yarbo-page .section-title,
.yarbo-page .cta h2 {
  max-width: 980px;
  margin-right: auto !important;
  margin-left: auto !important;
  font-size: clamp(2rem, 3.25vw, 3.25rem) !important;
  line-height: 1.22 !important;
  text-align: center !important;
  overflow-wrap: normal !important;
  word-break: auto-phrase;
  line-break: strict;
  text-wrap: balance;
}

.yarbo-page .section-title br,
.yarbo-page .cta h2 br {
  display: none;
}

.yarbo-page .section-copy,
.yarbo-page .cta p {
  max-width: 780px;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center !important;
  overflow-wrap: normal !important;
  word-break: auto-phrase;
  line-break: strict;
  text-wrap: pretty;
}

/* ecoco: keep section themes balanced and centered without forced phrase breaks */
.ecoco-page .section-head {
  max-width: min(860px, 100%) !important;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center !important;
}

.ecoco-page .fighters-copy,
.ecoco-page .overview-copy {
  text-align: center !important;
}

.ecoco-page .fighters-lead,
.ecoco-page .fighters-detail,
.ecoco-page .overview-copy .section-desc {
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
}

.ecoco-page .section-kicker {
  margin-right: auto !important;
  margin-left: auto !important;
}

.ecoco-page .section-title,
.ecoco-page .final-cta h2 {
  max-width: 920px;
  margin-right: auto !important;
  margin-left: auto !important;
  font-size: clamp(2rem, 3.25vw, 3.25rem) !important;
  line-height: 1.22 !important;
  text-align: center !important;
  overflow-wrap: normal !important;
  word-break: auto-phrase;
  line-break: strict;
  text-wrap: balance;
}

.ecoco-page .section-title mark {
  word-break: auto-phrase;
}

.ecoco-page .section-desc,
.ecoco-page .final-cta p {
  max-width: 780px;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center !important;
  overflow-wrap: normal !important;
  word-break: auto-phrase;
  line-break: strict;
  text-wrap: pretty;
}

.ecoco-page .overview-list {
  text-align: left;
}

/* BigBlue: keep large section themes calmer on small screens */
.bigblue-page .section-head {
  max-width: min(880px, 100%) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.bigblue-page .section-title,
.bigblue-page .cta-title {
  max-width: 920px;
  margin-right: auto !important;
  margin-left: auto !important;
  font-size: clamp(1.95rem, 3.35vw, 3.25rem) !important;
  line-height: 1.18 !important;
  text-align: center !important;
  overflow-wrap: normal !important;
  word-break: auto-phrase;
  line-break: strict;
  text-wrap: balance;
}

.bigblue-page .overview-copy .section-title {
  text-align: left !important;
  margin-left: 0 !important;
}

.bigblue-page .section-desc,
.bigblue-page .cta-sub {
  max-width: 760px;
  margin-right: auto !important;
  margin-left: auto !important;
  overflow-wrap: normal !important;
  word-break: auto-phrase;
  line-break: strict;
  text-wrap: pretty;
}

@media (max-width: 1080px) {
  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: unset !important;
    grid-auto-rows: unset !important;
    grid-auto-flow: row !important;
    gap: 10px !important;
  }

  .bento-card:nth-child(1) { grid-column: span 2 !important; aspect-ratio: 2048/1365 !important; align-self: start !important; }
  .bento-card:nth-child(2) { grid-column: span 2 !important; aspect-ratio: 1200/917 !important; align-self: start !important; }
  .bento-card:nth-child(3) { grid-column: span 1 !important; aspect-ratio: 285/580 !important; align-self: start !important; }
  .bento-card:nth-child(4) { grid-column: span 1 !important; aspect-ratio: 780/547 !important; align-self: start !important; }
  .bento-card:nth-child(5) { grid-column: span 2 !important; aspect-ratio: 2048/768 !important; align-self: start !important; }
}

@media (max-width: 760px) {
  .site-header {
    width: 100% !important;
    padding: 12px 14px !important;
  }

  .header-inner,
  .site-header .header-inner,
  .site-header .container.header-inner {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 8px 10px 8px 16px !important;
  }

  .site-logo {
    width: 122px !important;
    height: 25px !important;
  }

  .bigblue-page .hero {
    padding-top: 84px !important;
  }

  .bigblue-page .trust-bar-inner,
  .bigblue-page .trust-bar-items {
    justify-content: center !important;
    gap: 14px !important;
    text-align: center !important;
  }

  .bigblue-page .section-head {
    margin-bottom: 34px !important;
  }

  .bigblue-page .section-title,
  .bigblue-page .cta-title {
    font-size: clamp(1.3rem, 5.3vw, 1.68rem) !important;
    line-height: 1.34 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    text-wrap: auto !important;
  }

  .bigblue-page .section-desc,
  .bigblue-page .cta-sub {
    font-size: 0.95rem !important;
    line-height: 1.85 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    text-wrap: auto !important;
  }

  .bigblue-page .section-label {
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .bigblue-page .overview-copy .section-title,
  .bigblue-page .overview-copy .section-desc {
    text-align: center !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .bigblue-page .overview-copy .section-label {
    justify-content: center !important;
  }

  .bigblue-page .problem-list,
  .bigblue-page .features-grid,
  .bigblue-page .contrast-wrap,
  .bigblue-page .products-grid,
  .bigblue-page .visual-panel,
  .bigblue-page .visual-panel.alt,
  .bigblue-page .safety-grid,
  .bigblue-page .warranty-card {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .bigblue-page .problem-item,
  .bigblue-page .feature-card,
  .bigblue-page .contrast-card,
  .bigblue-page .product-card,
  .bigblue-page .product-story,
  .bigblue-page .visual-panel,
  .bigblue-page .safety-card,
  .bigblue-page .warranty-card,
  .bigblue-page .cta-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .bigblue-page .product-card,
  .bigblue-page .product-card.featured,
  .bigblue-page .product-card:hover,
  .bigblue-page .product-card.featured:hover {
    transform: none !important;
  }

  .bigblue-page .product-body,
  .bigblue-page .product-story,
  .bigblue-page .visual-panel,
  .bigblue-page .warranty-card,
  .bigblue-page .cta-card {
    padding-right: 22px !important;
    padding-left: 22px !important;
  }

  .bigblue-page .product-highlights {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .bigblue-page .product-footer,
  .bigblue-page .cta-actions {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  .bigblue-page .btn-detail,
  .bigblue-page .cta-actions .btn {
    justify-content: center !important;
    width: 100% !important;
  }

  .bigblue-page .visual-media {
    aspect-ratio: 4 / 3 !important;
  }

  .bigblue-page .faq-item summary {
    grid-template-columns: 28px minmax(0, 1fr) 18px !important;
    gap: 10px !important;
    padding: 18px 16px !important;
    font-size: 0.95rem !important;
  }

  .bigblue-page .faq-answer {
    padding: 0 16px 20px 54px !important;
  }

  .section,
  .section-soft,
  .section.alt,
  .products-section,
  .form-section,
  .challenges-section {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }

  .section-title,
  .page-hero h1,
  .hero-title,
  .nb-hero-title {
    font-size: clamp(2rem, 9.2vw, 3rem) !important;
  }

  .bento-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .bento-card:nth-child(n) {
    grid-column: auto !important;
    min-height: 390px !important;
    padding: 26px !important;
    border-radius: 26px !important;
  }

  .bento-card:nth-child(4) {
    min-height: 330px !important;
  }

  .bento-bg,
  .bento-card:nth-child(1) .bento-bg,
  .bento-card:nth-child(2) .bento-bg,
  .bento-card:nth-child(3) .bento-bg,
  .bento-card:nth-child(4) .bento-bg,
  .bento-card:nth-child(5) .bento-bg {
    inset: auto 12px 12px 12px !important;
    width: auto !important;
    height: 55% !important;
    background-size: contain !important;
    background-position: center bottom !important;
  }

  .bento-card:nth-child(5) .bento-bg {
    background-size: cover !important;
  }

  .bento-card::after {
    right: auto !important;
    bottom: 24px !important;
    left: 24px !important;
  }

  .footer-buttons,
  .form-actions,
  .cta-actions,
  .hero-actions,
  .nb-hero-actions {
    width: 100%;
  }

  .contact-btn,
  .btn,
  .nb-btn,
  .submit-btn {
    width: 100%;
    min-width: 0 !important;
  }

  .compare-table,
  .spec-table,
  .specs-table {
    min-width: 0 !important;
    table-layout: fixed !important;
  }

  .ecoco-page .section-title {
    font-size: clamp(1.78rem, 7vw, 2.45rem) !important;
    line-height: 1.28 !important;
  }

  .ecoco-page .final-cta h2 {
    font-size: clamp(1.78rem, 7vw, 2.25rem) !important;
    line-height: 1.28 !important;
  }

  .ecoco-page .section-desc,
  .ecoco-page .final-cta p {
    font-size: 0.98rem !important;
  }

  .yarbo-page .section-title,
  .yarbo-page .cta h2 {
    font-size: clamp(1.78rem, 7vw, 2.45rem) !important;
    line-height: 1.28 !important;
  }

  .yarbo-page .section-copy,
  .yarbo-page .cta p {
    font-size: 0.98rem !important;
  }

  .yarbo-page .season-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .yarbo-page .season-item {
    min-height: 124px !important;
    padding: 22px 18px !important;
  }

  .yarbo-page .season-item span {
    font-size: 0.72rem !important;
    letter-spacing: 0.14em !important;
  }

  .yarbo-page .season-item strong {
    margin-top: 8px !important;
    font-size: clamp(1.45rem, 7vw, 2rem) !important;
    line-height: 1.18 !important;
  }
}

/* Basketball-aligned shared footer */
.site-footer {
  background-color: #2a2826 !important;
  color: #fff !important;
  padding: clamp(110px, 8vw, 170px) 5% 0 !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.site-footer .footer-logo {
  display: block !important;
  width: min(840px, calc(100vw - 48px)) !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 0 28px !important;
  background: none !important;
  -webkit-mask: none !important;
  mask: none !important;
}

.site-footer .footer-logo img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

.site-footer .footer-address {
  color: #fff !important;
  font-size: clamp(1rem, 1.32vw, 1.55rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  margin: 0 0 clamp(72px, 4.5vw, 92px) !important;
}

.site-footer .footer-contact-title {
  font-family: "Outfit", sans-serif !important;
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.2em !important;
  margin: 0 0 30px !important;
}

.site-footer .footer-buttons {
  display: flex !important;
  justify-content: center !important;
  gap: 42px !important;
  flex-wrap: wrap !important;
  margin: 0 0 clamp(96px, 10vw, 199px) !important;
  width: 100% !important;
  max-width: 1432px !important;
}

.site-footer .contact-btn {
  background: linear-gradient(90deg, #91d39b 0%, #4abccc 100%) !important;
  border: 0 !important;
  border-radius: 60px !important;
  padding: 0 40px !important;
  color: #fff !important;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 320px !important;
  min-width: 320px !important;
  height: 128px !important;
  box-shadow: none !important;
  transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}

.site-footer .contact-btn:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 30px rgba(74, 188, 204, 0.3) !important;
}

.site-footer .contact-btn-tel {
  font-family: "Outfit", sans-serif !important;
  font-size: 2rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 5px !important;
  line-height: 1 !important;
}

.site-footer .contact-btn-sub {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
}

.site-footer .contact-btn-form {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
}

.site-footer .footer-bottom {
  background-color: #fff !important;
  color: #2a2826 !important;
  align-self: stretch !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 -5vw !important;
  padding: 28px 0 !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
}

@media (max-width: 768px) {
  .site-footer {
    padding-top: 96px !important;
  }

  .site-footer .footer-logo {
    width: min(560px, calc(100vw - 32px)) !important;
    margin-bottom: 24px !important;
  }

  .site-footer .footer-buttons {
    flex-direction: row !important;
    gap: 20px !important;
  }

  .site-footer .contact-btn {
    flex: 1 1 320px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 92px !important;
    height: auto !important;
  }

  .site-footer .contact-btn-tel {
    font-size: 1.6rem !important;
  }

  .site-footer .contact-btn-form {
    font-size: 1.2rem !important;
  }
}

/* LED hero title refinement */
.led-page .hero-copy,
.led-page .hero-title {
  width: min(980px, 100%) !important;
  max-width: 980px !important;
}

.led-page .hero-title {
  font-size: inherit !important;
  line-height: 1.02 !important;
}

.led-page .hero-title-prefix,
.led-page .hero-title-main {
  display: block !important;
  white-space: nowrap !important;
}

.led-page .hero-title-prefix {
  color: #fff !important;
  font-size: clamp(1.35rem, 1.7vw, 2.05rem) !important;
  line-height: 1.18 !important;
  margin-bottom: 0.2em !important;
}

.led-page .hero-title-main {
  color: #d7ffe9 !important;
  font-size: clamp(2.45rem, 4.55vw, 4.85rem) !important;
  line-height: 1.02 !important;
}

.led-page #before-after .section-title,
.led-page #before-after ~ .section .section-title,
.led-page #before-after ~ .section .products-callout h2,
.led-page #before-after ~ .final-cta h2 {
  font-size: clamp(1.85rem, 3.25vw, 3.05rem) !important;
  line-height: 1.16 !important;
}

.led-page #features .value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  max-width: 1080px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

@media (max-width: 760px) {
  .led-page .hero-title-prefix {
    font-size: clamp(1rem, 4.2vw, 1.22rem) !important;
  }

  .led-page .hero-title-main {
    font-size: clamp(1.35rem, 6vw, 1.62rem) !important;
  }

  .led-page #before-after .section-title,
  .led-page #before-after ~ .section .section-title,
  .led-page #before-after ~ .section .products-callout h2,
  .led-page #before-after ~ .final-cta h2 {
    font-size: clamp(1.45rem, 6vw, 2rem) !important;
    line-height: 1.24 !important;
  }

  .led-page #features .value-grid {
    grid-template-columns: 1fr !important;
    max-width: 520px !important;
  }
}

/* Index mobile bento cards */
@media (max-width: 760px) {
  .challenges-section {
    padding: 72px 16px !important;
    overflow: hidden !important;
  }

  .challenges-section .container {
    width: 100% !important;
    max-width: 520px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .challenges-section .section-subtitle {
    margin-bottom: 34px !important;
    font-size: 0.92rem !important;
    line-height: 1.7 !important;
  }

  .challenges-section .bento-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-flow: row !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .challenges-section .bento-card,
  .challenges-section .bento-card:nth-child(n) {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 24px !important;
    border-radius: 24px !important;
    aspect-ratio: auto !important;
    align-self: stretch !important;
  }

  .challenges-section .bento-card:nth-child(1),
  .challenges-section .bento-card:nth-child(2) {
    min-height: 360px !important;
  }

  .challenges-section .bento-card:nth-child(3) {
    min-height: 420px !important;
  }

  .challenges-section .bento-card:nth-child(4),
  .challenges-section .bento-card:nth-child(5) {
    min-height: 320px !important;
  }

  .challenges-section .bento-bg,
  .challenges-section .bento-card:nth-child(n) .bento-bg {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    opacity: 1 !important;
  }

  .challenges-section .bento-card:nth-child(3) .bento-bg {
    background-position: center top !important;
  }

  .challenges-section .bento-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.34) 58%, rgba(0, 0, 0, 0.05) 100%) !important;
  }

  .challenges-section .bento-content {
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 0 !important;
    padding-bottom: 54px !important;
  }

  .challenges-section .bento-content h3 {
    font-size: clamp(1.35rem, 7vw, 1.7rem) !important;
    line-height: 1.18 !important;
  }

  .challenges-section .bento-content p {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
  }

  .challenges-section .bento-card::after {
    right: 22px !important;
    bottom: 22px !important;
    left: auto !important;
  }
}
