/* ==========================================================================
   Zephyr Child — global.css
   Shared styles loaded on every page.
   
   Dependencies:
   - 01-var.css (design tokens: spacing, shadows, flex, transitions)
   - Zephyr Theme Options (color variables: --color-*)
   
   Naming convention:  Block__Element--Modifier  (BEM-like, lowercase, kebab-case)
   Units:               rem for spacing/sizing, em for typography-relative
   ========================================================================== */

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
#page-header .l-subheader.at_middle {
  border-bottom-left-radius: var(--sp-5);
  border-bottom-right-radius: var(--sp-5);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   General
   -------------------------------------------------------------------------- */

.sty-sec-01 {
  background: #fff;
}

.sg-sty-banner-01 {
  outline: 2px solid var(--color-content-border);
  outline-offset: var(--sp-3);
  border-radius: var(--sp-3);
}

.sg-sty-banner-02 {
  border-radius: var(--sp-5);
}

.sty-experts-lan,
.sty-tips-inner {
  background: #fff;
  padding: 1rem;
  margin-top: 1rem;
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
  border-right: 3px solid #ddd;
}

.sty-tips-inner {
  margin-top: 1.5rem;
}

.sty-tips-inner__success {
  border: 1px solid #ddd;
  border-right: 4px solid #169407;
}

.sty-tips-inner__success h3 {
  color: #169407;
}

.sty-tips-inner__alert {
  border: 1px solid #ddd;
  border-right: 4px solid var(--color-content-secondary);
}

.sty-tips-inner__alert h3 {
  color: var(--color-content-secondary);
}

.sty-tips-inner__danger {
  border: 1px solid #ddd;
  border-right: 4px solid #f34c4c;
}

.sty-tips-inner__danger h3 {
  color: #f34c4c;
}

.sty-update-posts-date {
  background: #daf3d8;
  padding: var(--sp-1) var(--sp-2);
  border-radius: var(--sp-2);
  font-size: 0.8rem;
  margin-right: var(--sp-1);
}

@media (max-width: 640px) {
  .sg-sty-banner-01 {
    outline: unset;
  }

  .sty-tempalte-inner-page .sg-acf-reading-time {
    display: none;
  }
}

.sg-table thead th {
  background: var(--color-bg-section) !important;
  color: var(--color-content-primary) !important;
  border-bottom: 0 !important;
  border: 1px solid #ddd;
}

p {
  text-align: justify;
}

/* --------------------------------------------------------------------------
   Gravity Forms
   -------------------------------------------------------------------------- */

/* Hide the required fields legend — cleaner UI */
.gform_heading .gform_required_legend {
  display: none;
}

/* Success message — subtle card with brand undertone */
.sty-forms .gform_confirmation_message {
  text-align: center;
  border: 1px solid var(--color-content-border);
  padding: var(--sp-6);
  border-radius: var(--sp-4);
  background: var(--color-bg-section);
}

/* Shared field styles */
.sty-forms input[type="text"],
.sty-forms input[type="radio"],
.sty-forms textarea,
.sty-forms input[type="tel"] {
  border: 1px solid var(--color-content-border) !important;
  border-radius: 0.5rem !important;
  box-shadow: unset !important;
}

/* Focus state — slightly darker border */
.sty-forms input[type="text"]:focus,
.sty-forms input[type="radio"]:focus,
.sty-forms input[type="tel"]:focus {
  border-color: var(--color-content-faded) !important;
  outline: unset !important;
}

/* Submit button — ghost style, primary border */
.sty-forms .gform-footer input[type="submit"] {
  background: var(--color-content-bg) !important;
  box-shadow: unset !important;
  border: 1px solid var(--color-content-primary) !important;
  border-radius: 0.5rem !important;
  padding: var(--sp-3) var(--sp-6) !important;
  color: var(--color-content-primary) !important;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.sty-forms .gform-footer input[type="submit"]:not(.w-btn):hover {
  background: #fff !important;
  color: var(--color-content-primary) !important;
}

.sty-forms .gform-footer input[type="submit"]:focus {
  outline: unset !important;
}

/* ==========================================================================
   Component: Video Card (Premium)
   ========================================================================== */

.sg-card-video {
  position: relative;
  background: var(--color-content-bg);
  border-radius: var(--sp-4);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--duration-300) var(--ease-smooth);
}

.sg-card-video:hover {
  box-shadow: var(--shadow-lg);
}

/* ── Video Wrapper ── */
.sg-video-wrap {
  position: relative;
  display: flex;
  width: 100%;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  background: var(--color-content-primary);
}

.sg-video-wrap .sg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Play Button Overlay ── */
.sg-video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: var(--color-video-overlay);
  transition: opacity var(--duration-500) var(--ease-smooth);
}

/* ── Play Icon ── */
.sg-video-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(0.625rem);
  border-radius: var(--rounded-full);
  transition:
    transform 0.35s var(--ease-smooth),
    opacity 0.35s var(--ease-smooth);
  animation: sg-pulse-play 1.8s infinite;
}

.sg-video-icon-svg {
  width: 1.875rem;
  height: 1.875rem;
}

/* ── Playing State ── */
.sg-video--playing .sg-video-play-btn {
  opacity: 0;
}

.sg-video--playing .sg-video-icon {
  opacity: 0;
  transform: scale(0.6);
  animation: none;
}

/* ── Caption ── */
.sg-video-caption {
  padding: var(--sp-3) var(--sp-5);
  text-align: center;
  background: var(--color-content-bg);
}

.sg-video-caption p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-content-heading);
  text-align: center;
}

/* ── Pulse Play Animation ── */
@keyframes sg-pulse-play {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
  }
  70% {
    box-shadow: 0 0 0 1.25rem rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* ── Aspect Ratio Fallback ── */
@supports not (aspect-ratio: 16 / 9) {
  .sg-video-wrap {
    padding-bottom: 56.25%;
  }

  .sg-video-wrap .sg-video {
    position: absolute;
    top: 0;
    left: 0;
  }
}

@media (max-width: 640px) {
  .sg-video-play-btn {
    display: none;
  }
}

/* ==========================================================================
   Component: Card Grid (Feature Cards)
   ========================================================================== */

.sg-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-5);
}

/* ── Individual Card ── */
.sg-card-item {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--sp-4);
  padding: var(--sp-8) var(--sp-6) var(--sp-6);
  transition:
    transform var(--duration-300) var(--ease-smooth),
    box-shadow var(--duration-300) var(--ease-smooth),
    border-color var(--duration-300) var(--ease-smooth);
}

.sg-card-item:hover {
  transform: translateY(-0.375rem);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* ── Icon ── */
.sg-card-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--sp-3);
  background: var(--color-white-smoke);
  margin-bottom: var(--sp-5);
  transition: background var(--duration-300) var(--ease-smooth);
}

.sg-card-item__icon i {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-content-secondary);
  transition: color var(--duration-300) var(--ease-smooth);
}

.sg-card-item:hover .sg-card-item__icon {
  background: var(--color-content-secondary);
}

.sg-card-item:hover .sg-card-item__icon i {
  color: #ffffff;
}

/* ── Title ── */
.sg-card-item__title {
  font-family: var(--h3-font-family, inherit);
  margin: 0 0 var(--sp-3);
  padding: 0;
}

/* ── Text ── */
.sg-card-item__text {
  font-family: var(--font-body, "VM_Regular");
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin: 0 0 var(--sp-5);
  padding: 0;
  flex: 1;
}

/* ── Link ── */
.sg-card-item__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-family);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-content-primary);
  text-decoration: none;
  margin-top: auto;
  transition:
    color var(--duration-200) var(--ease-smooth),
    gap var(--duration-200) var(--ease-smooth);
}

.sg-card-item__link:hover {
  color: var(--color-secondary-dark);
  gap: var(--sp-3);
}

.sg-card-item__link span {
  display: inline;
}

.sg-card-item__link i {
  font-size: 0.75em;
  transition: transform var(--duration-200) var(--ease-smooth);
}

.sg-card-item__link:hover i {
  transform: translateX(-0.25rem);
}

.sg-card-blog {
  padding: var(--sp-6);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .sg-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .sg-card-grid {
    grid-template-columns: 1fr;
  }

  .sg-card-item {
    padding: var(--sp-6) var(--sp-5);
  }
}

/* ==========================================================================
   Component: Features — Premium Factory Trust
   ========================================================================== */

.sg-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  background: #ffffff;
  overflow: hidden;
}

/* ── Feature Item ── */
.sg-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
  border-radius: var(--sp-4);
  position: relative;
  background: linear-gradient(180deg, var(--color-bg-section) 0%, #ffffff 100%);
  transition:
    box-shadow var(--duration-300) var(--ease-smooth),
    transform var(--duration-300) var(--ease-smooth);
}

.sg-feature-item:hover {
  box-shadow: inset 0 0 0 1px var(--color-border-light);
  position: relative;
  z-index: 1;
}

/* Divider — only between columns */
.sg-feature-item:not(:last-child)::after {
  display: none;
}

/* Top accent bar — always visible */

/* ── Icon ── */
.sg-feature-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: var(--sp-3);
  background: #ffffff;
  margin-bottom: var(--sp-6);
  border: 1px solid var(--color-border-light);
}

.sg-feature-item__icon i {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-content-primary);
}

/* ── Title ── */
.sg-feature-item__title {
  font-family: var(--font-h4, "VM_Bold");
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-content-heading);
  margin: 0 0 var(--sp-4);
  padding: 0;
  letter-spacing: 0;
}

/* ── Text ── */
.sg-feature-item__text {
  font-family: var(--font-body, "VM_Regular");
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin: 0;
  padding: 0;
  text-align: center;
}

/* ── Responsive: Tablet ── */
@media (max-width: 1024px) {
  .sg-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .sg-feature-item:nth-child(even)::after {
    display: none;
  }
}

/* ── Responsive: Mobile ── */
@media (max-width: 640px) {
  .sg-features {
    grid-template-columns: 1fr;
  }

  .sg-feature-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: var(--sp-8);
    bottom: var(--sp-8);
    left: 0;
    width: 1px;
    background: var(--color-border-light);
  }

  .sg-feature-item {
    align-items: center;
    text-align: center;
    padding: var(--sp-8) var(--sp-6);
    border-bottom: 1px solid var(--color-border-light);
    border-radius: 0;
  }

  .sg-feature-item:last-child {
    border-bottom: none;
  }

  .sg-feature-item::after {
    display: none;
  }

  .sg-feature-item__text {
    max-width: 100%;
  }
}

/* ── CTA Row ── */
.sg-features__cta {
  margin-top: var(--sp-14);
  text-align: center;
}

.sg-features__cta a:hover {
  text-decoration: none !important;
}

.sg-features__cta-inner {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-5);
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--rounded-full);
  padding: var(--sp-2) var(--sp-6) var(--sp-2) var(--sp-2);
  box-shadow: var(--shadow-sm);
}

.sg-features__cta-text {
  font-family: var(--font-body, "VM_Medium");
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-content-text);
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.sg-features__cta-text strong {
  font-family: var(--font-body, "VM_Bold");
  font-weight: 700;
  color: var(--color-content-heading);
  direction: ltr;
  display: inline-block;
  margin-right: var(--sp-1);
}

.sg-features__cta-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--color-content-secondary);
  color: #ffffff;
  font-family: var(--font-body, "VM_SemiBold");
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--rounded-full);
  white-space: nowrap;
  transition:
    background var(--duration-200) var(--ease-smooth),
    gap var(--duration-200) var(--ease-smooth);
}

.sg-features__cta-link:hover {
  gap: var(--sp-3);
  color: #ffffff !important;
  cursor: pointer;
}

.sg-features__cta-link i {
  font-size: 0.75em;
  transition: transform var(--duration-200) var(--ease-smooth);
}

.sg-features__cta-link:hover i {
  transform: translateX(-0.25rem);
}

@media (max-width: 640px) {
  .sg-features__cta {
    margin-top: var(--sp-8);
  }

  .sg-features__cta-inner {
    width: 100%;
    flex-direction: column;
    border-radius: var(--sp-4);
    padding: var(--sp-5);
    gap: var(--sp-4);
  }
}

.sty-cta-sidebar-landing .sg-sidebar-cta {
  background: #ffffff;
}

.sty-cta-sidebar-landing .sg-features__cta-inner {
  padding: var(--sp-2) var(--sp-4);
}

/* ==========================================================================
   Component: Highlights — Core Advantages (4-Column)
   ========================================================================== */

.sg-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--sp-4);
  overflow: hidden;
}

.sg-highlights__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-5);
  padding: var(--sp-8);
  position: relative;
  transition: background var(--duration-300) var(--ease-smooth);
}

/* Vertical divider between columns — only internal ones */
.sg-highlights__item:not(:first-child)::after {
  content: "";
  position: absolute;
  top: var(--sp-6);
  bottom: var(--sp-6);
  right: 0;
  width: 1px;
  background: var(--color-border-light);
}

.sg-highlights__item:hover {
  background: var(--color-bg-section);
}

/* ── Icon ── */
.sg-highlights__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50% 50% 50% 0;
  background: var(--color-bg-section);
  position: relative;
  transition: background var(--duration-300) var(--ease-smooth);
}

.sg-highlights__icon::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50% 50% 50% 0;
  border: 1px solid var(--color-content-primary);
  opacity: 0.2;
  transition: opacity var(--duration-300) var(--ease-smooth);
}

.sg-highlights__item:hover .sg-highlights__icon {
  background: var(--color-content-primary);
}

.sg-highlights__item:hover .sg-highlights__icon::after {
  opacity: 0;
}

.sg-highlights__icon i {
  font-size: 1.25rem;
  color: var(--color-content-primary);
  transition: color var(--duration-300) var(--ease-smooth);
}

.sg-highlights__item:hover .sg-highlights__icon i {
  color: #ffffff;
}

/* ── Title ── */
.sg-highlights__title {
  font-family: var(--font-h4, "VM_Bold");
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-content-heading);
  margin: 0;
  padding: 0;
  letter-spacing: 0;
}

/* ── Text ── */
.sg-highlights__text {
  font-family: var(--font-body, "VM_Regular");
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin: 0;
  padding: 0;
}

/* ── Responsive: Tablet (2 columns) ── */
@media (max-width: 1024px) {
  .sg-highlights {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Remove divider from third item (first in second row) */
  .sg-highlights__item:nth-child(3)::after {
    display: none;
  }

  /* Add horizontal divider between rows */
  .sg-highlights__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--color-border-light);
  }
}

/* ── Responsive: Mobile (1 column) ── */
@media (max-width: 640px) {
  .sg-highlights {
    grid-template-columns: 1fr;
  }

  .sg-highlights__item {
    align-items: center;
    text-align: center;
    padding: var(--sp-6);
    border-bottom: 1px solid var(--color-border-light);
  }

  .sg-highlights__item:last-child {
    border-bottom: none;
  }

  .sg-highlights__item::after {
    display: none;
  }

  .sg-highlights__icon {
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
  }

  .sg-highlights__icon::after {
    border-radius: 50%;
  }
}

.sg-highlights_cta .sg-features__cta-link {
  background: var(--color-content-primary);
}

/* ==========================================================================
   Component: CTA
   ========================================================================== */

.sg-sidebar-cta {
  background: var(--color-bg-section);
  border: 1px solid var(--color-border-light);
  border-radius: var(--sp-4);
  padding: var(--sp-6);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  box-shadow: var(--shadow-sm);
}

.sg-sidebar-cta__title {
  color: var(--color-content-primary);
}

.sg-sidebar-cta__price {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  border-radius: var(--sp-3);
  padding: var(--sp-1) var(--sp-4);
}

.sg-sidebar-cta__price-label {
  font-family: var(--font-body, "VM_Regular");
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0;
}

.sg-sidebar-cta__price-date {
  font-family: var(--font-body, "VM_Bold");
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-content-secondary);
  direction: ltr;
  display: inline-block;
}

.sg-sidebar-cta__text {
  font-family: var(--font-body, "VM_Regular");
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
  padding: 0;
  text-align: center;
}

.sg-sidebar-cta .sg-features__cta {
  margin-top: var(--sp-3);
}

.sg-sidebar-cta__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-body, "VM_Bold");
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-content-heading);
  text-decoration: none;
  direction: ltr;
}

.sg-sidebar-cta__phone i {
  font-size: 0.875em;
  color: var(--color-content-primary);
}

.sg-sidebar-cta__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--color-content-primary);
  color: #ffffff;
  font-family: var(--font-body, "VM_SemiBold");
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--rounded-full);
  white-space: nowrap;
  transition:
    background var(--duration-200) var(--ease-smooth),
    gap var(--duration-200) var(--ease-smooth);
}

.sg-sidebar-cta__link:hover {
  background: var(--color-content-heading);
  gap: var(--sp-3);
  color: #ffffff;
}

.sg-sidebar-cta__link i {
  font-size: 0.75em;
  transition: transform var(--duration-200) var(--ease-smooth);
}

.sg-sidebar-cta__link:hover i {
  transform: translateX(-0.25rem);
}

/* ==========================================================================
   Component: Engagement
   ========================================================================== */

.sg-engagement {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--sp-4);
  overflow: hidden;
}

.sg-engagement__item {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border-bottom: 1px solid var(--color-border-light);
  transition: background var(--duration-200) var(--ease-smooth);
}

.sg-engagement__item:last-child {
  border-bottom: none;
}

.sg-engagement__item:hover {
  background: var(--color-bg-section);
}

/* ── Icon ── */
.sg-engagement__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--sp-2);
  background: var(--color-bg-section);
}

.sg-engagement__icon i {
  font-size: 0.9375rem;
  color: var(--color-content-primary);
}

.sg-engagement__item--rating .sg-engagement__icon {
  background: #fdf2e7;
}

.sg-engagement__item--rating .sg-engagement__icon i {
  color: var(--color-content-secondary);
}

/* ── Label ── */
.sg-engagement__label {
  font-family: var(--font-body, "VM_Medium");
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-content-heading);
}

/* ── Value ── */
.sg-engagement__value {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
}

/* ==========================================================================
   Component: Footer
   ========================================================================== */

#page-footer {
  background: #ffffff;
  border-top: 1px solid var(--color-border-light);
}

/* ── Grid ── */
.sg-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
  padding: var(--sp-16) 0 var(--sp-10);
  padding-left: var(--sp-8);
  padding-right: var(--sp-8);
}

/* ── Columns ── */
.sg-footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.sg-footer__logo {
  max-width: 230px;
  height: auto;
}

.sg-footer__heading {
  font-family: var(--font-h5, "VM_SemiBold");
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-content-heading);
  margin: 0;
  padding: 0;
  letter-spacing: 0;
}

/* ── Links ── */
.sg-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.sg-footer__links li {
  margin: 0;
}

.sg-footer__links a {
  font-family: var(--font-body, "VM_Regular");
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--duration-200) var(--ease-smooth);
}

.sg-footer__links a:hover {
  color: var(--color-content-primary);
}

/* ── Contact ── */
.sg-footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.sg-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
}

.sg-footer__contact-item i {
  flex-shrink: 0;
  margin-top: 0.2em;
  font-size: 0.875rem;
  color: var(--color-content-primary);
  opacity: 0.6;
}

.sg-footer__contact-item div {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.sg-footer__contact-item span {
  font-family: var(--font-body, "VM_Regular");
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.sg-footer__contact-item a {
  font-family: var(--font-body, "VM_SemiBold");
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-content-heading);
  text-decoration: none;
  direction: ltr;
  display: inline-block;
  transition: color var(--duration-200) var(--ease-smooth);
}

.sg-footer__contact-item a:hover {
  color: var(--color-content-primary);
}

/* ── About ── */
.sg-footer__about {
  font-family: var(--font-body, "VM_Regular");
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin: 0;
  padding: 0;
}

/* ── Social Icons ── */
.sg-footer__social {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.sg-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--sp-2);
  background: var(--color-bg-section);
  text-decoration: none;
  transition:
    background var(--duration-200) var(--ease-smooth),
    transform var(--duration-200) var(--ease-smooth);
}

.sg-footer__social-link:hover {
  transform: translateY(-2px);
}

.sg-footer__social-link i {
  font-size: 1rem;
  color: var(--color-content-primary);
  transition: color var(--duration-200) var(--ease-smooth);
}

.sg-footer__social-link:hover {
  background: var(--color-content-primary);
}

.sg-footer__social-link:hover i {
  color: #ffffff;
}

/* ── Bottom Bar ── */
.sg-footer__bottom {
  border-top: 1px solid var(--color-border-light);
  padding: var(--sp-5) var(--sp-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
  max-width: 1200px;
  margin: 0 auto;
}

.sg-footer__copyright {
  font-family: var(--font-body, "VM_Regular");
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin: 0;
}

.sg-footer__credit {
  font-family: var(--font-body, "VM_Regular");
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin: 0;
}

.sg-footer__credit a {
  color: var(--color-content-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--duration-200) var(--ease-smooth);
}

.sg-footer__credit a:hover {
  color: var(--color-content-heading);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .sg-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-8) var(--sp-6);
  }
}

@media (max-width: 640px) {
  .sg-footer__col {
    border-top: 1px solid #ddd;
    padding-top: var(--sp-3);
  }

  .sg-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
    padding: var(--sp-10) var(--sp-5);
  }

  .sg-footer__bottom {
    flex-direction: column;
    text-align: center;
    padding: var(--sp-4) var(--sp-5);
  }
}

/* ==========================================================================
   Component: Floating Contact — Modern
   ========================================================================== */
.sg-float-contact a:hover {
  text-decoration: none !important;
}
.sg-float-contact {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: var(--z-index-fixed);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-3);
}

/* ── Trigger Button ── */
.sg-float-contact__trigger {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: var(--rounded-full);
  background: #ffffff;
  border: 1px solid var(--color-content-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition:
    transform var(--duration-200) var(--ease-smooth),
    box-shadow var(--duration-200) var(--ease-smooth),
    background var(--duration-200) var(--ease-smooth);
  position: relative;
  z-index: 2;
}

.sg-float-contact__trigger:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

/* Pulse ring */
.sg-float-contact__trigger::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: var(--rounded-full);
  background: var(--color-content-primary);
  opacity: 0.08;
  animation: sg-float-pulse 2.4s infinite ease-out;
}

@keyframes sg-float-pulse {
  0% {
    transform: scale(1);
    opacity: 0.08;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.sg-float-contact__trigger-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-300) var(--ease-smooth);
}

.sg-float-contact__trigger-icon i {
  font-size: 1.375rem;
  color: var(--color-content-primary);
  transition:
    opacity var(--duration-300) var(--ease-smooth),
    transform var(--duration-300) var(--ease-smooth);
}

.sg-float-contact__trigger-icon .fa-phone {
  animation: sg-float-ring 3s infinite ease-in-out;
}

/* Icon swap — phone to x */
.sg-float-contact__trigger-icon .fa-xmark {
  display: none;
}

.sg-float-contact__trigger.is-active .sg-float-contact__trigger-icon .fa-phone {
  display: none;
}

.sg-float-contact__trigger.is-active .sg-float-contact__trigger-icon .fa-xmark {
  display: block;
}

@keyframes sg-float-ring {
  0%,
  100% {
    transform: rotate(0);
  }
  5% {
    transform: rotate(12deg);
  }
  10% {
    transform: rotate(-12deg);
  }
  15% {
    transform: rotate(8deg);
  }
  20% {
    transform: rotate(-8deg);
  }
  25% {
    transform: rotate(0);
  }
}

.sg-float-contact__trigger.is-active {
  background: var(--color-content-secondary);
  border-color: var(--color-content-secondary);
}

.sg-float-contact__trigger.is-active i {
  color: #ffffff;
}

/* ── Panel ── */
.sg-float-contact__panel {
  display: none;
  flex-direction: column;
  width: 380px;
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--sp-4);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.sg-float-contact__panel.is-open {
  display: flex;
  animation: sg-float-slide-up 0.35s var(--ease-smooth);
}

@keyframes sg-float-slide-up {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Header ── */
.sg-float-contact__header {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--color-border-light);
}

.sg-float-contact__header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--sp-3);
  background: var(--color-bg-section);
  flex-shrink: 0;
}

.sg-float-contact__header-icon i {
  font-size: 1.25rem;
  color: var(--color-content-primary);
}

.sg-float-contact__header-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  flex: 1;
}

.sg-float-contact__header-title {
  font-family: var(--font-body, "VM_SemiBold");
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-content-heading);
}

.sg-float-contact__header-sub {
  font-family: var(--font-body, "VM_Regular");
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.sg-float-contact__close {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--sp-2);
  background: var(--color-bg-section);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-200) var(--ease-smooth);
  flex-shrink: 0;
}

.sg-float-contact__close:hover {
  background: var(--color-content-primary);
}

.sg-float-contact__close:hover i {
  color: #ffffff;
}

.sg-float-contact__close i {
  font-size: 0.8125rem;
  color: var(--color-content-faded);
  transition: color var(--duration-200) var(--ease-smooth);
}

/* ── Body ── */
.sg-float-contact__body {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.sg-float-contact__item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-2);
  border-radius: var(--sp-3);
  text-decoration: none;
  border: 1px solid var(--color-border-light);
}

.sg-float-contact__manage {
  background: var(--color-content-bg);
}

.sg-float-contact__item-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--sp-2);
  background: #25d366;
}

.sg-float-contact__item-icon i {
  font-size: 1.25rem;
  color: #ffffff;
}

.sg-float-contact__item-content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
}

.sg-float-contact__item-label {
  font-family: var(--font-body, "VM_Regular");
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1;
}

.sg-float-contact__item-value {
  font-family: var(--font-body, "VM_Bold");
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-content-secondary);
  direction: ltr;
  text-align: right;
  line-height: 1;
}

.sg-float-contact__item-arrow {
  flex-shrink: 0;
  color: var(--color-content-faded);
  font-size: 0.625rem;
  opacity: 0;
  transition: opacity var(--duration-200) var(--ease-smooth);
}

.sg-float-contact__item:hover .sg-float-contact__item-arrow {
  opacity: 1;
}

/* ── Footer ── */
.sg-float-contact__footer {
  padding: var(--sp-4) var(--sp-6) var(--sp-5);
  border-top: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  background: var(--color-bg-section);
}

.sg-float-contact__call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--sp-3);
  background: var(--color-content-primary);
  color: #ffffff;
  font-family: var(--font-body, "VM_SemiBold");
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--duration-200) var(--ease-smooth);
}

.sg-float-contact__call-btn:hover {
  background: var(--color-content-heading);
  color: #ffffff;
}

.sg-float-contact__call-btn--outline {
  background: var(--color-alt-content-bg-alt);
  color: var(--color-content-primary);
  border: 1px solid var(--color-border-light);
}

.sg-float-contact__call-btn--outline:hover {
  border-color: var(--color-content-primary);
  background: var(--color-alt-content-bg-alt);
  color: var(--color-content-primary);
}

.sg-float-contact__call-btn i {
  font-size: 0.75em;
}

/* ── Mobile: Bottom Sheet ── */
@media (max-width: 640px) {
  .sg-float-contact {
    bottom: var(--sp-4);
    right: var(--sp-4);
    left: auto;
    align-items: flex-end;
  }

  .sg-float-contact__panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: var(--sp-6) var(--sp-6) 0 0;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 100;
    transform: translateY(100%);
    transition: transform 0.35s var(--ease-smooth);
  }

  .sg-float-contact__panel.is-open {
    display: flex;
    transform: translateY(0);
    animation: none;
  }

  .sg-float-contact__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 99;
  }

  .sg-float-contact__overlay.is-active {
    display: block;
  }
}
