/* ==========================================================================
   home.css - Home Page Specific Content Sections (Shinyoung Lofarma)
   - PC Desktop (>= 1181px): Original Pixel (px) Base Layout & Coordinates
   - Mobile / Tablet (<= 1180px -> 210px): Dynamic REM & Responsive Grid/Cards
   ========================================================================== */

/* Main Title Area Shared Styles (PC Base) */
.main-title-area .sub-title {
  display: block;
  font-size: 16px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: .06em;
  margin-bottom: 18px;
}

.main-title-area .title {
  font-size: clamp(38px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: -.06em;
  margin: 0 0 34px;
  font-weight: 850;
}

.main-title-area .title .text {
  display: block;
}

.main-title-area .desc {
  font-size: 22px;
  color: #4a5362;
  letter-spacing: -.04em;
}

/* ==========================================================================
   1. Key Visual Hero Section
   ========================================================================== */
.key-visual {
  padding: 0;
  height: 100vh;
  min-height: 760px;
  background: #000;
}

.key-visual-inner,
.swiper-key-visual,
.kv-wrapper,
.kv-slide {
  height: 100%;
}

.kv-wrapper {
  position: relative;
}

.kv-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s var(--ease), visibility .8s;
}

.kv-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.key-visual-img,
.key-visual-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}

.kv-slide:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .20), rgba(255, 255, 255, .18), rgba(0, 0, 0, .12));
}

.kv-slide.is-black:after {
  background: linear-gradient(90deg, rgba(0, 0, 0, .16), rgba(255, 255, 255, .38), rgba(0, 0, 0, .12));
}

.key-visual-content {
  position: absolute;
  z-index: 2;
  left: 7vw;
  top: 50%;
  transform: translateY(-50%);
  max-width: 680px;
}

.kv-slide.is-black .key-visual-content {
  color: #222;
}

.kv-slide.is-right .key-visual-content {
  left: auto;
  right: 7vw;
  text-align: right;
}

.kv-slide.is-bottom .key-visual-content {
  top: auto;
  bottom: 13vh;
  transform: none;
}

.kv-slide.is-top .key-visual-content {
  top: 22vh;
  transform: none;
}

.key-visual-content .sub-title {
  display: block;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -.04em;
}

.key-visual-content .title {
  display: block;
  font-size: clamp(54px, 7vw, 92px);
  line-height: .96;
  font-weight: 700;
  letter-spacing: -.075em;
}

.key-visual-content .desc {
  margin-top: 26px;
  font-size: 20px;
  opacity: .85;
}

.group-btn {
  position: absolute;
  z-index: 4;
  right: 60px;
  top: 50%;
  display: flex;
  gap: 12px;
}

.btn-key-visual,
.btn-intro-lab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
}

.btn-key-visual:before,
.btn-intro-lab:before {
  content: "→";
  font-size: 24px;
}

.btn-key-visual-prev:before,
.btn-intro-lab-prev:before {
  content: "←";
}

.key-visual-function {
  position: absolute;
  z-index: 5;
  left: 7vw;
  bottom: 60px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #fff;
}

.key-visual-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
}

.line-progress {
  position: relative;
  width: 180px;
  height: 3px;
  background: rgba(255, 255, 255, .35);
  overflow: hidden;
}

.line-progress-current {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: #fff;
}

.btn-control {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  position: relative;
}

.btn-control:before {
  content: "Ⅱ";
  font-weight: 900;
}

.btn-control.is-play:before {
  content: "▶";
  font-size: 13px;
}

.scroll-down {
  position: absolute;
  right: 60px;
  bottom: 54px;
  z-index: 5;
  color: #fff;
  font-size: 12px;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
}

.scroll-down:after {
  content: "";
  display: block;
  width: 1px;
  height: 70px;
  background: #fff;
  margin: 14px auto 0;
  animation: scrollLine 1.6s infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ==========================================================================
   Transition Animations (Reveal on Scroll)
   ========================================================================== */
[data-animate] {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 0.09s);
  will-change: opacity, transform;
}

[data-animate="fadeIn"] {
  transform: none;
}

.is-visible [data-animate],
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ==========================================================================
   2. Key Info Section (주요현황 - OUR EXPERTISE)
   ========================================================================== */
.section-stats {
  background: #fff;
  padding: 120px 0;
  position: relative;
}

.stats-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: center;
}

.stats-left {
  padding-right: 20px;
}

.stats-right {
  display: flex;
  flex-direction: column;
}

.eyebrow-tag {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: fit-content;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 24px;
}

.stats-left .eyebrow-tag,
.split-text-wrap .eyebrow-tag,
.contact-left .eyebrow-tag {
  align-items: center !important;
  text-align: center !important;
  width: fit-content !important;
}

.section-header-center .eyebrow-tag,
.mall-content-wrap .eyebrow-tag {
  text-align: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow-tag .ko {
  font-size: 16px;
  font-weight: 850;
  color: var(--primary);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.eyebrow-tag .en {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.2em;
  margin-top: 6px;
  text-transform: uppercase;
  line-height: 1.2;
}

.eyebrow-tag.border-white .ko {
  color: #fff !important;
}

.eyebrow-tag.border-white .en {
  color: rgba(255, 255, 255, 0.55) !important;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin: 0 0 20px;
}

.section-title.text-white {
  color: #fff;
}

.section-desc {
  font-size: 17px;
  line-height: 1.8;
  color: #4a5362;
  margin: 0;
  word-break: keep-all;
}

.gradient-text {
  background: linear-gradient(135deg, #0046ff 0%, #00d2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-orange {
  background: linear-gradient(135deg, #ff6b00 0%, #ffb800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  border: 1px solid rgba(0, 70, 255, 0.08);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 70, 255, 0.02);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 70, 255, 0.08);
  border-color: rgba(0, 70, 255, 0.2);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--gray);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.stat-value {
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.stat-value .unit {
  font-size: 18px;
  font-weight: 700;
  margin-left: 2px;
  color: var(--dark);
}

/* ==========================================================================
   3. Business Areas (사업영역)
   ========================================================================== */
.section-business {
  background: #f5f7fb;
  padding: 120px 0;
  position: relative;
}

.section-header-center {
  text-align: center;
  margin-bottom: 60px;
}

.section-header-center .section-desc {
  max-width: 800px;
  margin: 0 auto;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.business-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px 30px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.business-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 70, 255, 0.08);
  border-color: rgba(0, 70, 255, 0.2);
}

.business-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

.business-card:hover .business-icon {
  transform: rotate(6deg) scale(1.08);
}

.business-icon svg {
  width: 28px;
  height: 28px;
}

.icon-blue {
  background: rgba(0, 70, 255, 0.06);
  color: var(--primary);
}

.icon-green {
  background: rgba(24, 182, 122, 0.06);
  color: var(--green);
}

.icon-light-blue {
  background: rgba(10, 140, 255, 0.06);
  color: var(--primary2);
}

.icon-orange {
  background: rgba(255, 184, 0, 0.06);
  color: #ffb800;
}

.business-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.text-blue {
  color: var(--primary);
}

.text-green {
  color: var(--green);
}

.text-light-blue {
  color: var(--primary2);
}

.text-orange {
  color: #d69a00;
}

.business-card-title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 16px;
  color: var(--dark);
  word-break: keep-all;
}

.business-card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray);
  margin: 0;
  word-break: keep-all;
}

.center-btn-container {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.btn:not(.btn-gnb):not(.btn-language):not(.btn-control):not(.btn-search) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 99px;
  padding: 14px 28px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 15px;
  text-decoration: none;
  box-sizing: border-box;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-primary,
.btn.btn-primary {
  background-color: var(--primary, #0046ff) !important;
  color: #ffffff !important;
  border: 1px solid var(--primary, #0046ff) !important;
  box-shadow: none !important;
}

.btn-primary:hover,
.btn.btn-primary:hover {
  background-color: #0036d0 !important;
  border-color: #0036d0 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: none !important;
}

.btn-secondary,
.btn.btn-secondary {
  background-color: #ffffff !important;
  color: var(--dark, #07111f) !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: none !important;
}

.btn-secondary:hover,
.btn.btn-secondary:hover {
  background-color: var(--dark, #07111f) !important;
  color: #ffffff !important;
  border-color: var(--dark, #07111f) !important;
  transform: translateY(-2px);
  box-shadow: none !important;
}

.btn-success,
.btn.btn-success {
  background-color: var(--green, #18b67a) !important;
  color: #ffffff !important;
  border: 1px solid var(--green, #18b67a) !important;
  box-shadow: none !important;
}

.btn-success:hover,
.btn.btn-success:hover {
  background-color: #139663 !important;
  border-color: #139663 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: none !important;
}

.btn-neutral,
.btn.btn-neutral {
  background-color: #f1f5f9 !important;
  color: var(--dark, #07111f) !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: none !important;
}

.btn-neutral:hover,
.btn.btn-neutral:hover {
  background-color: var(--dark, #07111f) !important;
  color: #ffffff !important;
  border-color: var(--dark, #07111f) !important;
  transform: translateY(-2px);
  box-shadow: none !important;
}

.btn-info,
.btn.btn-info {
  background-color: var(--primary2, #0a8cff) !important;
  color: #ffffff !important;
  border: 1px solid var(--primary2, #0a8cff) !important;
  box-shadow: none !important;
}

.btn-info:hover,
.btn.btn-info:hover {
  background-color: #0073e6 !important;
  border-color: #0073e6 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: none !important;
}

.btn-warning,
.btn.btn-warning {
  background-color: #ff9800 !important;
  color: #ffffff !important;
  border: 1px solid #ff9800 !important;
  box-shadow: none !important;
}

.btn-warning:hover,
.btn.btn-warning:hover {
  background-color: #e68500 !important;
  border-color: #e68500 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: none !important;
}

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   4. Products Section (제품소개)
   ========================================================================== */
.section-products {
  background: #fff;
  padding: 120px 0;
  position: relative;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.product-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 70, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 70, 255, 0.02);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 30px 60px rgba(0, 70, 255, 0.1);
  border-color: rgba(0, 70, 255, 0.2);
}

.product-image-container {
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  width: 100%;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image {
  transform: scale(1.1);
}

.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-badge-wrap {
  margin-bottom: 12px;
}

.product-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}

.badge-blue {
  background: rgba(0, 70, 255, 0.08);
  color: var(--primary);
}

.badge-green {
  background: rgba(24, 182, 122, 0.08);
  color: var(--green);
}

.badge-blue-outline {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary2);
}

.badge-orange-light {
  background: #fff8e6;
  color: #b25900;
}

.product-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--dark);
}

.product-highlight {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.highlight-blue {
  color: var(--primary);
}

.highlight-green {
  color: var(--green);
}

.highlight-light-blue {
  color: var(--primary2);
}

.highlight-orange {
  color: #b25900;
}

.product-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray);
  margin: 0 0 24px;
  flex-grow: 1;
  word-break: keep-all;
}

.product-action {
  margin-top: auto;
}

/* ==========================================================================
   5 & 6. Split layouts (Lofarma Partnership & Company)
   ========================================================================== */
.section-lofarma {
  background: #f5f7fb;
  padding: 120px 0;
  position: relative;
}

.section-company {
  background: #fff;
  padding: 120px 0;
  position: relative;
}

.split-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  align-items: center;
}

.split-image-wrap {
  position: relative;
}

.double-shadow-container {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  aspect-ratio: 16/9;
}

.double-shadow-container:hover {
  transform: scale(1.03) rotate(-1deg);
  box-shadow: 0 30px 60px rgba(0, 70, 255, 0.1);
}

.split-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.split-desc-main {
  font-size: 18px;
  line-height: 1.7;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 16px;
  word-break: keep-all;
}

.split-desc-sub {
  font-size: 16px;
  line-height: 1.8;
  color: #4a5362;
  margin: 0 0 32px;
  word-break: keep-all;
}

.split-action {
  display: flex;
}

/* ==========================================================================
   7. Professional Support (의료진 지원)
   ========================================================================== */
.section-support {
  background: #f5f7fb;
  padding: 120px 0;
  position: relative;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.support-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px 30px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.support-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 70, 255, 0.06);
  border-color: rgba(0, 70, 255, 0.15);
}

.support-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: rgba(0, 70, 255, 0.06);
  color: var(--primary);
  transition: transform 0.3s ease;
}

.support-card:hover .support-card-icon {
  transform: scale(1.1) rotate(-6deg);
}

.support-card-icon svg {
  width: 28px;
  height: 28px;
}

.support-card-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--dark);
}

.support-card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray);
  margin: 0 0 30px;
  flex-grow: 1;
  word-break: keep-all;
}

.support-card-action {
  margin-top: auto;
  padding-top: 10px;
}

.support-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 99px;
  background-color: var(--primary, #0046ff) !important;
  color: #ffffff !important;
  border: 1px solid var(--primary, #0046ff);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none !important;
  box-sizing: border-box;
}

.support-card-btn:hover {
  background-color: #0036d0 !important;
  border-color: #0036d0 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: none !important;
}

.support-card-btn .btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.support-card-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   8. Hospital Professional Mall (병원전문 쇼핑몰)
   ========================================================================== */
.section-mall {
  background: linear-gradient(135deg, #020914 0%, #002280 50%, #0046ff 100%);
  color: #fff;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.mall-pattern-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,%3Csvg width="80" height="80" viewBox="0 0 80 80" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M8 0h4v8H8V0zm0 8h4v8H8V8zm0 8h4v8H8v-8zm0 8h4v8H8v-8zm0 8h4v8H8v-8zm0 8h4v8H8v-8zm0 8h4v8H8v-8zm0 8h4v8H8v-8z" fill="%23ffffff" fill-opacity="0.015" fill-rule="evenodd"/%3E%3C/svg%3E');
  pointer-events: none;
  z-index: 1;
}

.mall-content-wrap {
  text-align: center;
  position: relative;
  z-index: 2;
}

.mall-desc {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
  margin: 0 auto 40px;
  word-break: keep-all;
}

.mall-action {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   9. Contact Section (최종 문의 영역)
   ========================================================================== */
.section-contact {
  background: #fff;
  padding: 120px 0;
  position: relative;
}

.contact-box {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(0, 70, 255, 0.08);
  border-radius: 32px;
  padding: 60px;
  box-shadow: 0 30px 70px rgba(0, 70, 255, 0.06);
}

.contact-layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 60px;
  align-items: center;
}

.contact-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-title {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.35;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  color: var(--dark);
}

.contact-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #4a5362;
  margin: 0 0 40px;
  word-break: keep-all;
}

.contact-info-list {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(0, 70, 255, 0.06);
  border-radius: 50%;
  color: var(--primary);
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-text {
  display: flex;
  flex-direction: column;
}

.contact-info-label {
  font-size: 12px;
  color: var(--gray);
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-info-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
}

.contact-info-value a {
  color: inherit;
  text-decoration: none;
}

.contact-right {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ==========================================================================
   Background Blob Effects
   ========================================================================== */
.blob-section {
  position: relative;
  overflow: hidden;
}

.blob-section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 70, 255, 0.05) 0%, rgba(0, 70, 255, 0) 70%);
  top: -100px;
  right: -100px;
  z-index: 0;
  pointer-events: none;
}

.blob-section::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.04) 0%, rgba(0, 198, 255, 0) 70%);
  bottom: -150px;
  left: -150px;
  z-index: 0;
  pointer-events: none;
}

/* ==========================================================================
   Section Responsive Breakpoints (Mobile / Tablet <= 1180px -> 210px)
   ========================================================================== */
@media (max-width: 1180px) {

  .section,
  .section-stats,
  .section-business,
  .section-products,
  .section-lofarma,
  .section-company,
  .section-support,
  .section-mall,
  .section-contact {
    padding: 80px 0 !important;
  }

  .key-visual {
    padding: 0 !important;
  }

  .stats-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .stats-left {
    padding-right: 0;
  }

  .stats-left .eyebrow-tag,
  .split-text-wrap .eyebrow-tag,
  .contact-left .eyebrow-tag {
    align-items: center;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .business-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .split-text-wrap {
    align-items: center;
  }

  .split-layout.reverse-desktop {
    display: flex;
    flex-direction: column-reverse;
  }

  .split-action {
    display: flex;
    justify-content: center;
  }

  .support-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-left {
    text-align: center;
  }

  .contact-info-list {
    justify-content: center;
  }
}

@media (max-width: 850px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {

  .section,
  .section-stats,
  .section-business,
  .section-products,
  .section-lofarma,
  .section-company,
  .section-support,
  .section-mall,
  .section-contact {
    padding: 60px 0 !important;
  }

  .key-visual {
    padding: 0 !important;
  }

  .swiper-key-visual .group-btn {
    display: none !important;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .business-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .contact-box {
    padding: 30px 20px;
  }

  .contact-info-list {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 28px;
  }

  .contact-title {
    font-size: 20px;
  }

  .contact-desc {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .contact-box {
    padding: 30px 16px;
  }

  .btn-large {
    padding: 14px 20px;
    font-size: 15px;
  }

  .contact-info-list {
    gap: 16px;
  }

  .contact-info-value {
    font-size: 16px;
  }

  .business-card,
  .support-card {
    padding: 30px 20px;
  }
}

@media (max-width: 320px) {
  .contact-box {
    padding: 24px 10px;
  }

  .btn-large {
    padding: 12px 12px;
    font-size: 13px;
  }

  .contact-info-icon {
    width: 36px;
    height: 36px;
  }

  .contact-info-icon svg {
    width: 16px;
    height: 16px;
  }

  .contact-info-value {
    font-size: 13px;
  }

  .contact-info-item {
    gap: 8px;
  }

  .business-card,
  .support-card {
    padding: 24px 12px;
  }
}

/* Custom Key Visual Action Buttons */
.kv-content-buttons {
  margin-top: 35px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-kv-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none !important;
  background-color: #1a73e8;
  color: #ffffff !important;
}

.btn-kv-action:hover {
  background-color: #1557b0;
  transform: translateY(-2px);
  box-shadow: none !important;
}

.btn-kv-action.btn-kv-secondary {
  background-color: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff !important;
  box-shadow: none !important;
}

.btn-kv-action.btn-kv-secondary:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
  box-shadow: none !important;
}

/* If the slide is black (light background, dark text) */
.kv-slide.is-black .btn-kv-action {
  background-color: #222222;
  color: #ffffff !important;
}

.kv-slide.is-black .btn-kv-action:hover {
  background-color: #444444;
  box-shadow: none !important;
}

.kv-slide.is-black .btn-kv-action.btn-kv-secondary {
  background-color: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.18);
  color: #222222 !important;
  box-shadow: none !important;
}

.kv-slide.is-black .btn-kv-action.btn-kv-secondary:hover {
  background-color: rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.3);
  box-shadow: none !important;
}

@media (max-width: 767px) {
  .kv-content-buttons {
    margin-top: 25px;
    gap: 10px;
    justify-content: flex-start;
  }

  .btn-kv-action {
    padding: 10px 22px;
    font-size: 14px;
  }

  .key-visual-content {
    left: 20px;
    right: 20px;
    max-width: calc(100% - 40px);
  }

  .key-visual-content .sub-title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .key-visual-content .title {
    font-size: clamp(28px, 8vw, 42px);
    line-height: 1.1;
  }

  .key-visual-content .desc {
    font-size: 14px;
    margin-top: 14px;
  }

  .key-visual-function {
    left: 20px;
    bottom: 30px;
    gap: 16px;
  }

  .line-progress {
    width: 80px;
  }

  .btn-control {
    width: 36px;
    height: 36px;
  }

  .scroll-down {
    right: 20px;
    bottom: 30px;
  }
}

@media (max-width: 500px) {
  .kv-content-buttons {
    display: none !important;
  }
}