/* ========================================
   Footer
======================================== */
.c-footer {
  background: #f4f8fb;
  color: var(--color-text);
}

.c-footer a {
  text-decoration: none;
}

/* Footer nav */
.c-footer-nav {
  padding: 44px 0;
  background: #f4f8fb;
}

.c-footer-nav__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-footer-nav__list li {
  border-bottom: 1px solid var(--color-border);
}

.c-footer-nav__list a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  color: var(--color-text);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.6;
}

.c-footer-nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 999px;
  background: var(--color-main);
  color: #fff;
  transition: transform 0.2s ease;
}

.c-footer-nav__icon-svg,
.c-footer-nav__icon svg {
  display: block;
  width: 10px;
  height: 10px;
}

.c-footer-nav__icon svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.c-footer-nav__list a:hover {
  color: var(--color-main);
}

.c-footer-nav__list a:hover .c-footer-nav__icon {
  transform: translateX(2px);
}

/* Footer info */
.c-footer-info {
  padding: 38px 0 24px;
  border-top: 1px solid var(--color-border);
  background: #fff;
}

.c-footer-info__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}

.c-footer-info__brand .c-header__brand {
  margin: 0 0 22px;
}

.c-footer-info__brand .c-header__logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.c-footer-info__brand .c-header__logo-text {
  color: var(--color-text);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
}

.c-footer-info__brand .c-header__brand-text {
  color: var(--color-text-light);
  font-size: 0.8rem;
  line-height: 1.4;
}

.c-footer-info__list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.c-footer-info__list div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 14px;
}

.c-footer-info__list dt {
  color: var(--color-main);
  font-size: 0.9rem;
  font-weight: 700;
}

.c-footer-info__list dd {
  margin: 0;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.8;
}

.c-footer-info__list a {
  color: var(--color-main);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* Footer actions */
.c-footer-info__actions {
  display: grid;
  gap: 12px;
}

.c-footer-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.c-footer-action__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 1.55rem;
}

.c-footer-action__icon-svg,
.c-footer-action__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.c-footer-action__icon svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.c-footer-action__label {
  display: block;
  margin-bottom: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0.9;
}

.c-footer-action--tel {
  justify-content: center;
  border: 1px solid var(--color-main);
  background: #fff;
  color: var(--color-main);
}

.c-footer-action--tel strong {
  display: block;
  margin-top: 1px;
  color: var(--color-main);
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.c-footer-action--access {
  background: #e17835;
  color: #fff;
}

.c-footer-action--web {
  background: var(--color-main);
  color: #fff;
}

.c-footer-action--access *,
.c-footer-action--web * {
  color: #fff;
}

.c-footer-action:hover {
  opacity: 0.88;
}

/* Bottom */
.c-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.c-footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-footer-bottom__links a,
.c-footer-bottom__copy {
  color: var(--color-text-light);
  font-size: 0.82rem;
}

.c-footer-bottom__copy {
  margin: 0;
}

/* ========================================
   Mobile fixed CTA
======================================== */
.c-mobile-fixed-cta {
  display: none;
}

@media (max-width: 900px) {
  .c-footer-nav {
    padding: 32px 0;
  }

  .c-footer-nav__list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .c-footer-nav__list a {
    min-height: 62px;
    font-size: 0.96rem;
  }

  .c-footer-info__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .c-footer-info__list div {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .c-footer-action {
    width: 100%;
  }

  .c-footer-bottom {
    display: grid;
    gap: 12px;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 80px;
  }

  .c-footer-info__actions {
    display: none;
  }

  .c-mobile-fixed-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: 1fr 1fr 1.25fr;
    gap: 1px;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -8px 24px rgba(24, 52, 77, 0.08);
  }

  .c-mobile-fixed-cta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 62px;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
  }

  .c-mobile-fixed-cta__btn--tel {
    background: #fff;
    color: var(--color-main);
  }

  .c-mobile-fixed-cta__btn--access {
    background: #e17835;
    color: #fff;
  }

  .c-mobile-fixed-cta__btn--web {
    background: var(--color-main);
    color: #fff;
  }

  .c-mobile-fixed-cta__icon {
    display: inline-flex;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
  }

  .c-mobile-fixed-cta__icon-svg,
  .c-mobile-fixed-cta__icon svg {
    display: block;
    width: 100%;
    height: 100%;
  }

  .c-mobile-fixed-cta__icon svg {
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body.is-menu-open .c-mobile-fixed-cta {
    display: none;
  }
}
