/* ==========================================================================
   YKLOGIS custom overrides — loaded after style.css (Ayro UI Business template)
   Brand colors extracted from /logo assets: navy #2A3C9A, bright blue #0C8ED7
   ========================================================================== */

:root {
  --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Malgun Gothic", sans-serif;
  --primary: #0c8ed7;
  --primary-dark: #2a3c9a;
  --gradient-1: linear-gradient(135deg, #2e3192 0%, #0c8ed7 100%);
  --kakao: #fee500;
  --kakao-ink: #191919;
}

/* ---- GNB: shrink to logo height (template default oversizes nav links) ---- */
.navbar-area.navbar-nine {
  padding: 12px 0;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
}
.navbar-area.navbar-nine .navbar-brand {
  padding: 0;
  line-height: 0;
}
.navbar-area.navbar-nine .navbar .navbar-nav .nav-item a {
  padding: 8px 16px;
  margin: 0;
  color: var(--black);
  opacity: 1;
}
.navbar-area.navbar-nine .navbar .navbar-nav .nav-item a:hover,
.navbar-area.navbar-nine .navbar .navbar-nav .nav-item a.active {
  color: var(--primary);
}
.navbar-area.navbar-nine .navbar .navbar-toggler .toggler-icon {
  background-color: var(--black);
}
@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .navbar-area.navbar-nine .navbar .navbar-collapse {
    background-color: var(--white);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
  }
}

/* ---- Fullscreen hero ---- */
.hero-full {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-1);
}
.hero-full video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}
.hero-full .container {
  position: relative;
  z-index: 2;
}
.hero-full .hero-content {
  text-align: center;
  margin: 0 auto;
}
.hero-full .hero-content h1 {
  color: #fff;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.25;
  margin-bottom: 20px;
}
.hero-full .hero-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 32px;
}
.hero-full .button {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- Inner-page banner (company/services) ---- */
.page-banner {
  position: relative;
  background: var(--gradient-1);
  padding: 170px 0 70px;
  text-align: center;
}
.page-banner h1 {
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0;
}
.page-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 12px;
}
@media (max-width: 767px) {
  .page-banner {
    padding: 130px 0 50px;
  }
}

/* ---- Quote inquiry form (mailto handoff — no backend yet) ---- */
.quote-form-area {
  padding: 70px 0 110px;
}
.quote-form-card {
  background: var(--white);
  border: 1px solid var(--light-1);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}
@media (max-width: 575px) {
  .quote-form-card {
    padding: 28px 20px;
  }
}
.quote-form-card .form-label {
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}
.quote-form-card .req {
  color: #e5484d;
}
.quote-form-card .form-control {
  border: 1px solid var(--light-1);
  border-radius: 8px;
  padding: 10px 14px;
}
.quote-form-card .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(12, 142, 215, 0.12);
}
.btn-quote-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  padding: 12px 32px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-quote-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.quote-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--dark-3);
}

/* ---- Services teaser "more" link (Home only) ---- */
.services-more {
  text-align: center;
  margin-top: 30px;
}
.services-more a {
  display: inline-block;
  font-weight: 700;
  color: var(--primary-dark);
}
.services-more a:hover {
  color: var(--primary);
}

/* ---- Kakao button (official brand color, reused everywhere) ---- */
.btn-kakao {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--kakao);
  color: var(--kakao-ink);
  font-weight: 700;
  border-radius: 50px;
  padding: 12px 28px;
  border: none;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.btn-kakao:hover,
.btn-kakao:focus {
  filter: brightness(0.94);
  color: var(--kakao-ink);
  transform: translateY(-1px);
}
.btn-kakao svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.navbar-btn .btn-kakao {
  padding: 9px 20px;
  font-size: 0.9rem;
}
.call-action .btn-kakao,
.contact-cta .btn-kakao {
  padding: 14px 34px;
  font-size: 1rem;
}

/* ---- Ghost button for use on dark/gradient backgrounds ---- */
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  border-radius: 50px;
  padding: 11px 26px;
  font-weight: 600;
  transition: background 0.2s ease;
}
.btn-ghost-light:hover,
.btn-ghost-light:focus {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* ---- Mockup placeholder blocks (real photos come later) ---- */
.mock-block {
  background: repeating-linear-gradient(
    135deg,
    var(--light-2),
    var(--light-2) 10px,
    var(--white) 10px,
    var(--white) 20px
  );
  border: 1.5px dashed var(--gray-3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gray-1);
  font-size: 0.85rem;
  line-height: 1.6;
  min-height: 180px;
  padding: 1rem;
}
.svc-mock.mock-block {
  min-height: 140px;
}
.thumb-mock.mock-block {
  min-height: 100px;
  font-size: 0.75rem;
}

/* ---- Contact banner (3-panel: kakao / quote / phone), directly under the hero ---- */
.contact-banner-area {
  background: #3a67b0;
  padding: 24px 0;
}
.contact-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.contact-banner-panel {
  flex: 0 0 350px;
  max-width: 100%;
  height: 150px;
  box-sizing: border-box;
  border-radius: 4px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Noto Sans KR", var(--font-family);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.contact-banner-panel:hover {
  transform: translateY(-3px);
  opacity: 0.94;
}
.contact-banner-panel svg {
  flex-shrink: 0;
}
.contact-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  flex: 1;
}
.contact-banner-title {
  color: var(--kakao-ink);
  font-weight: 900;
  font-size: 19px;
  line-height: 1;
  white-space: nowrap;
}
.contact-banner-pill {
  background: var(--kakao-ink);
  border-radius: 3px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.contact-banner-pill span {
  flex: 1;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  padding: 7px 0;
  white-space: nowrap;
}
.contact-banner-pill i {
  background: #1c1613;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  font-style: normal;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-banner-note {
  color: var(--kakao-ink);
  font-weight: 700;
  font-size: 11px;
  opacity: 0.85;
  white-space: nowrap;
}
.contact-banner-kakao {
  background: var(--kakao);
}
.contact-banner-quote {
  background: var(--primary);
}
.contact-banner-phone {
  background: var(--primary-dark);
}
.contact-banner-quote .contact-banner-title,
.contact-banner-quote .contact-banner-note {
  color: #fff;
}
.contact-banner-quote .contact-banner-pill {
  background: rgba(0, 0, 0, 0.22);
}
.contact-banner-quote .contact-banner-pill i {
  background: rgba(0, 0, 0, 0.32);
}
.contact-banner-phone-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.contact-banner-phone-icon span {
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
}
.contact-banner-phone-number {
  color: #fff;
  font-weight: 900;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0.3px;
  white-space: nowrap;
  flex: 1;
}
@media (max-width: 575px) {
  .contact-banner-panel {
    flex: 0 0 100%;
  }
  .contact-banner-note,
  .contact-banner-title,
  .contact-banner-phone-number {
    white-space: normal;
  }
}

/* ---- Trust strip: vertical stack of full-width cards, circular icon
   badge on the left, title+description on the right ---- */
.trust-strip {
  background: var(--light-3);
  padding: 60px 0;
}
.trust-strip .row {
  --bs-gutter-x: 0;
  row-gap: 20px;
  width: 900px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.trust-strip .trust-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  padding: 28px 32px;
}
.trust-strip .trust-icon-wrap {
  flex: none;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #f1f2f7;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.trust-strip .trust-item:hover .trust-icon-wrap {
  transform: scale(1.08);
}
.trust-strip .trust-icon {
  width: 42px;
  height: 42px;
  display: block;
}
.trust-strip .trust-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.trust-strip .trust-title {
  font-weight: 700;
  font-size: 19px;
  color: var(--black);
  line-height: 1.4;
}
.trust-strip .trust-desc {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--dark-3);
  line-height: 1.5;
}
@media (max-width: 575px) {
  .trust-strip .trust-item {
    padding: 22px;
    gap: 16px;
  }
  .trust-strip .trust-icon-wrap {
    width: 64px;
    height: 64px;
  }
  .trust-strip .trust-icon {
    width: 34px;
    height: 34px;
  }
}

/* ---- Service badge (e.g. "유료 옵션") ---- */
.svc-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 3px 10px;
  border-radius: 30px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---- Photo gallery: horizontal scroll-snap strip ---- */
.photo-gallery-area {
  padding-bottom: 90px;
}
.photo-gallery {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.photo-gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 16px;
  margin: 0;
  scrollbar-width: thin;
}
.photo-gallery-item {
  flex: 0 0 auto;
  width: clamp(230px, 30vw, 340px);
  scroll-snap-align: start;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--light-3);
}
.photo-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.photo-gallery-item figcaption {
  padding: 12px 4px 0;
  font-size: 0.88rem;
  color: var(--dark-3);
  text-align: center;
}
.gallery-nav {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--light-1);
  background: var(--white);
  color: var(--primary-dark);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.gallery-nav:hover {
  background: var(--primary);
  color: var(--white);
}
.gallery-nav:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
.photo-gallery.no-scroll .gallery-nav {
  display: none;
}
@media (max-width: 575px) {
  .gallery-nav {
    display: none;
  }
}

/* ---- Promise video band (muted, looping, non-interactive) ---- */
.promise-video-area {
  position: relative;
  overflow: hidden;
  height: 46vh;
  min-height: 320px;
  max-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promise-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.promise-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.55) 0%,
    rgba(15, 23, 42, 0.35) 50%,
    rgba(15, 23, 42, 0.55) 100%
  );
  z-index: 1;
}
.promise-video-area .container {
  position: relative;
  z-index: 2;
}
.promise-video-text {
  margin: 0 auto;
  max-width: 720px;
  text-align: center;
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  word-break: keep-all;
}
@media (max-width: 767px) {
  .promise-video-area {
    height: 40vh;
    min-height: 260px;
  }
  .promise-video-text {
    font-size: 1.15rem;
  }
}

/* ---- Process section (replaces pricing table) ---- */
.process-area {
  padding: 100px 0;
  background: var(--light-3);
}
@media (max-width: 767px) {
  .process-area {
    padding: 60px 0 40px;
  }
}
.process-steps {
  display: flex;
  gap: 24px;
}
@media (max-width: 991px) {
  .process-steps {
    flex-wrap: wrap;
  }
}
.process-step {
  flex: 1 1 0;
  background: var(--white);
  border: 1px solid var(--light-1);
  border-radius: 12px;
  padding: 30px 24px;
  position: relative;
  min-width: 220px;
}
@media (max-width: 991px) {
  .process-step {
    flex: 1 1 45%;
  }
}
.process-step .step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 18px;
}
.process-step h5 {
  font-weight: 700;
  margin-bottom: 8px;
}
.process-step p {
  color: var(--dark-3);
  font-size: 0.92rem;
  margin: 0;
}
.process-step .step-arrow {
  display: none;
  position: absolute;
  right: -30px;
  top: 44px;
  font-size: 1.3rem;
  color: var(--gray-3);
}
@media (min-width: 992px) {
  .process-step .step-arrow {
    display: block;
  }
  .process-step:last-child .step-arrow {
    display: none;
  }
}

/* ---- Contact: kakao CTA panel (replaces the lorem contact form) ---- */
.contact-cta {
  text-align: center;
  padding: 60px 40px;
}
@media (max-width: 767px) {
  .contact-cta {
    padding: 40px 20px;
  }
}
.contact-cta .note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--dark-3);
}

/* ---- Contact ---- */
.contact-section {
  padding: 90px 0 60px;
}

/* ---- Floating Kakao consult button (bottom-right, always on) ---- */
.kakao-float {
  position: fixed;
  right: 30px;
  bottom: 95px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.kakao-float-btn {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  background: var(--kakao);
  color: var(--kakao-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}
.kakao-float-btn svg {
  width: 30px;
  height: 30px;
}
.kakao-float:hover .kakao-float-btn {
  transform: scale(1.06);
}
.kakao-float-bubble {
  position: relative;
  background: var(--white);
  color: var(--kakao-ink);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
}
.kakao-float-bubble::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  width: 10px;
  height: 10px;
  background: var(--white);
  transform: translateY(-50%) rotate(45deg);
}
@media (max-width: 480px) {
  .kakao-float {
    right: 20px;
    bottom: 85px;
  }
  .kakao-float-bubble {
    display: none;
  }
  .kakao-float-btn {
    width: 50px;
    height: 50px;
  }
}

/* ---- Scroll reveal (fade + rise, once) ---- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- Subtle hover lift on cards ---- */
.single-services,
.process-step {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.single-services:hover,
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

/* ---- Service/scale cards: icon in a soft rounded-square tile, laid out
   horizontally next to the title+description (icon left, text right). ---- */
.services-eight .single-services {
  display: flex;
  align-items: center;
  gap: 24px;
  border: none;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}
.services-eight .single-services .service-icon {
  width: 96px;
  height: 96px;
  flex: none;
  border-radius: 22px;
  background: #f1f2f7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.services-eight .single-services:hover .service-icon {
  background: #f1f2f7;
  border-color: transparent;
}
.services-eight .single-services:hover .service-icon::after {
  opacity: 0;
}
.service-icon img {
  width: 56px;
  height: 56px;
  display: block;
  transition: transform 0.3s ease;
}
.single-services:hover .service-icon img {
  transform: scale(1.1) rotate(-4deg);
}
.services-eight .single-services .service-content {
  text-align: left;
}
.services-eight .single-services .service-content h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
}
.services-eight .single-services .service-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 480px) {
  .services-eight .single-services .service-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }
  .service-icon img {
    width: 42px;
    height: 42px;
  }
  .services-eight .single-services .service-content h4 {
    font-size: 19px;
  }
}
.contact-section .contact-item-wrapper .contact-item .contact-icon {
  background: var(--light-3);
}
.contact-icon img {
  width: 26px;
  height: 26px;
  display: block;
}

/* ---- FAQ accordion ---- */
.faq-area {
  padding: 100px 0 110px;
}
@media (max-width: 767px) {
  .faq-area {
    padding: 60px 0 50px;
  }
}
.faq-accordion .accordion-item {
  border: 1px solid var(--light-1);
  border-radius: 12px !important;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-accordion .accordion-button {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--black);
  padding: 22px 24px;
  box-shadow: none !important;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-dark);
  background: var(--light-3);
}
.faq-accordion .accordion-button::after {
  flex-shrink: 0;
}
.faq-accordion .accordion-body {
  padding: 0 24px 22px;
  color: var(--dark-3);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- Shared footer (nav + business info + map), injected on every page ---- */
.site-footer {
  background: rgba(42, 60, 154, 0.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.6fr;
  gap: 40px;
  padding: 80px 0 50px;
}
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    padding: 50px 0 40px;
  }
}
@media (max-width: 575px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.footer-widget h5 {
  font-weight: 700;
  margin-bottom: 22px;
  color: #fff;
}
.footer-widget.f-about .logo {
  display: inline-block;
  line-height: 0;
}
.footer-widget.f-about p {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 16px;
}
.footer-widget.f-about .copyright-text {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.85);
}
.footer-widget.f-about .copyright-text span {
  display: block;
}
.footer-widget.f-link ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-widget.f-link li {
  margin-bottom: 12px;
}
.footer-widget.f-link li:last-child {
  margin: 0;
}
.footer-widget.f-link a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}
.footer-widget.f-link a:hover {
  color: #fff;
}
.footer-widget.f-link a.kakao-link {
  color: #fff;
  font-weight: 700;
}
.f-biz p {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
}
.f-biz p b {
  color: #fff;
  font-weight: 600;
  margin-right: 6px;
}
/* ---- Company page: map + address (last section) ---- */
.company-map-area {
  padding: 100px 0 110px;
}
@media (max-width: 767px) {
  .company-map-area {
    padding: 60px 0 50px;
  }
}
.company-map-address {
  color: var(--dark-3);
  margin-top: 8px;
}
.company-map {
  border-radius: 16px;
  overflow: hidden;
  line-height: 0;
}
.company-map img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border: 0;
}
