/* ============================================================
   HOMEPAGE REFERENCE CSS — Sandang Garment
   Design System untuk landing page profesional
   Prefix: sg-
   ============================================================ */

/* ── CSS Variables ──
   NOTE: real design tokens live in style.css :root.
   This block is intentionally NOT redefining them anymore — every var()
   below now resolves through style.css to the Trust & Authority palette.
   Leave commented for reference / future overrides. */
/*
:root {
  See style.css for the canonical token set:
    --sg-navy / --sg-gray-blue / --sg-soft-gray / --sg-text / --sg-accent / --sg-font
  All map to the new navy + sky blue palette via style.css aliases.
}
*/

/* ── Reset / Base ── */
.sg-container {
  max-width: var(--sg-container);
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ── Section spacing ── */
.sg-section {
  padding: 80px 0;
}
.sg-section-white {
  background: var(--sg-white);
}
.sg-section-soft {
  background: var(--sg-soft-gray);
}
.sg-section-dark {
  background: var(--sg-navy);
  color: var(--sg-white);
}
.sg-section-alt {
  background: var(--sg-soft-gray);
}
.sg-pad-sm { padding: 50px 0; }
.sg-pad-lg { padding: 100px 0; }

/* ── Section Title ── */
.sg-section-title {
  text-align: center;
  margin-bottom: 48px;
}
.sg-section-title h2 {
  font-family: var(--sg-font);
  font-size: 36px;
  font-weight: 700;
  color: var(--sg-navy);
  margin: 0 0 12px;
  line-height: 1.25;
}
.sg-section-title p {
  font-family: var(--sg-font);
  font-size: 16px;
  color: var(--sg-text);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.65;
}
.sg-section-title.sg-title-light h2 { color: var(--sg-white); }
.sg-section-title.sg-title-light p { color: rgba(255,255,255,0.8); }

.sg-gold-line {
  width: 60px;
  height: 3px;
  background: var(--sg-navy);
  margin: 16px auto 0;
}
.sg-title-light .sg-gold-line { background: rgba(255,255,255,0.4); }

/* ── Grid ── */
.sg-grid {
  display: grid;
  gap: 24px;
}
.sg-col-2 { grid-template-columns: repeat(2, 1fr); }
.sg-col-3 { grid-template-columns: repeat(3, 1fr); }
.sg-col-4 { grid-template-columns: repeat(4, 1fr); }
.sg-col-5 { grid-template-columns: repeat(5, 1fr); }
.sg-col-6 { grid-template-columns: repeat(6, 1fr); }

/* ── Buttons ── */
.sg-btn {
  display: inline-block;
  font-family: var(--sg-font);
  font-weight: 500;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--sg-radius-sm);
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  line-height: 1.4;
}
.sg-btn-primary {
  background: var(--sg-navy);
  color: var(--sg-white);
}
.sg-btn-primary:hover {
  background: var(--sg-gray-blue);
  color: var(--sg-white);
}
.sg-btn-secondary {
  background: transparent;
  color: var(--sg-white);
  border: 2px solid var(--sg-white);
}
.sg-btn-secondary:hover {
  background: var(--sg-white);
  color: var(--sg-navy);
}
.sg-btn-outline {
  background: transparent;
  color: var(--sg-navy);
  border: 2px solid var(--sg-navy);
}
.sg-btn-outline:hover {
  background: var(--sg-navy);
  color: var(--sg-white);
}
.sg-btn-sm { padding: 10px 20px; font-size: 13px; }
.sg-btn-lg { padding: 18px 36px; font-size: 16px; }

/* ── SECTION CTA wrapper ── */
.sg-section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ============================================================
   HEADER
   ============================================================ */
.sg-header {
  background: var(--sg-white);
  border-bottom: 2px solid var(--sg-soft-gray);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
}
.sg-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.sg-header-logo img {
  max-height: 45px;
  width: auto;
}
.sg-header-logo a {
  font-family: var(--sg-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--sg-navy);
  text-decoration: none;
}
.sg-header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.sg-header-nav a {
  font-family: var(--sg-font);
  font-size: 15px;
  font-weight: 500;
  color: var(--sg-text);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.sg-header-nav a:hover,
.sg-header-nav a.active {
  color: var(--sg-navy);
}
.sg-header-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--sg-navy);
}
.sg-header-cta {
  margin-left: 20px;
}
.sg-header-cta .sg-btn {
  padding: 10px 24px;
  font-size: 14px;
}
/* Mobile nav */
.sg-header-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--sg-navy);
  cursor: pointer;
}
.sg-header-mobile {
  display: none;
}
@media (max-width: 1024px) {
  .sg-header-nav { gap: 16px; }
  .sg-header-nav a { font-size: 13px; }
}
@media (max-width: 768px) {
  .sg-header-toggle { display: block; }
  .sg-header-nav, .sg-header-cta { display: none; }
  .sg-header-mobile.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--sg-white);
    border-bottom: 2px solid var(--sg-border);
    padding: 20px;
    gap: 12px;
    z-index: 999;
  }
  .sg-header-mobile.active a {
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--sg-border);
  }
}

/* ============================================================
   HERO SPLIT
   ============================================================ */
.sg-hero {
  padding: 80px 0 90px;
  background: var(--sg-white);
}
.sg-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.sg-hero-content h1 {
  font-family: var(--sg-font);
  font-size: 48px;
  font-weight: 700;
  color: var(--sg-navy);
  line-height: 1.2;
  margin: 0 0 20px;
}
.sg-hero-content .sg-hero-subtitle {
  font-family: var(--sg-font);
  font-size: 17px;
  color: var(--sg-text);
  line-height: 1.7;
  margin: 0 0 12px;
}
.sg-hero-content .sg-hero-eyebrow {
  font-family: var(--sg-font);
  font-size: 13px;
  color: var(--sg-gray-blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.sg-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0 30px;
}
.sg-hero-trust span {
  font-family: var(--sg-font);
  font-size: 14px;
  color: var(--sg-text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.sg-hero-trust span i {
  color: var(--sg-navy);
  font-size: 12px;
}
.sg-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.sg-hero-microtrust {
  font-family: var(--sg-font);
  font-size: 13px;
  color: var(--sg-text);
  margin-top: 16px;
}
.sg-hero-image-wrapper {
  position: relative;
}
.sg-hero-image-wrapper img {
  width: 100%;
  border-radius: var(--sg-radius-md);
  box-shadow: var(--sg-shadow-lg);
}
.sg-hero-main-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  border-radius: var(--sg-radius-md);
  box-shadow: var(--sg-shadow-lg);
}
@media (max-width: 1024px) {
  .sg-hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .sg-hero-content { order: 2; }
  .sg-hero-image-wrapper { order: 1; max-width: 500px; margin: 0 auto; }
  .sg-hero-actions { justify-content: center; }
  .sg-hero-trust { justify-content: center; }
  .sg-hero-content h1 { font-size: 36px; }
}
@media (max-width: 480px) {
  .sg-hero { padding: 50px 0 60px; }
  .sg-hero-content h1 { font-size: 28px; }
  .sg-hero-content .sg-hero-subtitle { font-size: 15px; }
}

/* ============================================================
   TRUSTED LOGOS STRIP
   ============================================================ */
.sg-trust-strip {
  background: var(--sg-white);
  padding: 60px 0;
}
.sg-trust-strip .sg-section-title {
  margin-bottom: 36px;
}
.sg-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}
.sg-logo-card {
  background: var(--sg-white);
  border-radius: var(--sg-radius-lg);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--sg-shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--sg-border);
}
.sg-logo-card:hover {
  box-shadow: var(--sg-shadow-md);
  transform: translateY(-2px);
}
.sg-logo-card img {
  max-height: 48px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s;
}
.sg-logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
.sg-logo-card .sg-logo-label {
  font-family: var(--sg-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--sg-gray-blue);
  margin-top: 8px;
}
/* When no logo image, show text placeholder */
.sg-logo-placeholder {
  width: 64px;
  height: 64px;
  background: var(--sg-soft-gray);
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--sg-gray-blue);
}
@media (max-width: 1024px) {
  .sg-logo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .sg-logo-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ============================================================
   BENEFIT CARDS
   ============================================================ */
.sg-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.sg-benefit-card {
  background: var(--sg-gray-blue);
  color: var(--sg-white);
  padding: 40px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.sg-benefit-card:first-child { border-radius: var(--sg-radius-xl) 0 0 var(--sg-radius-xl); }
.sg-benefit-card:last-child  { border-radius: 0 var(--sg-radius-xl) var(--sg-radius-xl) 0; }

.sg-benefit-card:hover {
  background: var(--sg-navy);
  transform: translateY(-4px);
}
.sg-benefit-card .sg-benefit-icon {
  font-size: 32px;
  margin-bottom: 20px;
  opacity: 0.9;
}
.sg-benefit-card h4 {
  font-family: var(--sg-font);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.3;
}
.sg-benefit-card p {
  font-family: var(--sg-font);
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
  margin: 0;
}
@media (max-width: 1024px) {
  .sg-benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .sg-benefit-card:first-child { border-radius: var(--sg-radius-lg) 0 0 0; }
  .sg-benefit-card:nth-child(2)  { border-radius: 0 var(--sg-radius-lg) 0 0; }
  .sg-benefit-card:nth-child(3)  { border-radius: 0 0 0 var(--sg-radius-lg); }
  .sg-benefit-card:last-child   { border-radius: 0 0 var(--sg-radius-lg) 0; }
}
@media (max-width: 480px) {
  .sg-benefit-grid { grid-template-columns: 1fr; }
  .sg-benefit-card { border-radius: var(--sg-radius-md) !important; }
}

/* ============================================================
   SERVICE IMAGE CARDS
   ============================================================ */
.sg-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.sg-service-card {
  background: var(--sg-white);
  border-radius: var(--sg-radius-lg);
  overflow: hidden;
  box-shadow: var(--sg-shadow-sm);
  transition: all 0.3s ease;
  position: relative;
}
.sg-service-card:hover {
  box-shadow: var(--sg-shadow-lg);
  transform: translateY(-6px);
}
.sg-service-card__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.sg-service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.sg-service-card:hover .sg-service-card__image img {
  transform: scale(1.08);
}
.sg-service-card__body {
  padding: 20px;
}
.sg-service-card__body h4 {
  font-family: var(--sg-font);
  font-size: 16px;
  font-weight: 600;
  color: var(--sg-navy);
  margin: 0 0 8px;
}
.sg-service-card__body p {
  font-family: var(--sg-font);
  font-size: 13px;
  color: var(--sg-text);
  line-height: 1.55;
  margin: 0 0 14px;
}
.sg-service-card__body .sg-btn {
  font-size: 13px;
  padding: 8px 18px;
}
@media (max-width: 1024px) {
  .sg-service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .sg-service-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PRODUCT TABLE
   ============================================================ */
.sg-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--sg-radius-lg);
  border: 2px solid var(--sg-gray-blue);
}
.sg-product-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sg-font);
  min-width: 700px;
}
.sg-product-table thead {
  background: var(--sg-navy);
  color: var(--sg-white);
}
.sg-product-table thead th {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}
.sg-product-table thead th:first-child {
  width: 300px;
}
.sg-product-table thead th:nth-child(2) {
  width: 300px;
}
.sg-product-table thead th:nth-child(3) {
  width: auto;
}
.sg-product-table tbody td {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--sg-text-dark);
  text-align: center;
  border-bottom: 1px solid var(--sg-border);
  vertical-align: middle;
}
.sg-product-table tbody tr:nth-child(even) {
  background: var(--sg-soft-gray);
}
.sg-product-table tbody tr:hover {
  background: rgba(105,118,143,0.08);
}
.sg-product-table tbody td:first-child {
  font-weight: 600;
  color: var(--sg-navy);
}

/* ============================================================
   ABOUT SPLIT
   ============================================================ */
.sg-about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.sg-about-text {
  margin-bottom: 24px;
}
.sg-about-text p {
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 14px;
  color: var(--sg-text);
}
.sg-about-text p:last-child { margin-bottom: 0; }
.sg-about-card-light {
  background: var(--sg-white);
  color: var(--sg-navy);
  border-radius: var(--sg-radius-xl);
  padding: 48px 40px;
  box-shadow: var(--sg-shadow-lg);
}
.sg-about-card-light p {
  font-family: var(--sg-font);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 20px;
  color: var(--sg-text);
}
.sg-about-card-light .sg-about-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.sg-about-card-light .sg-about-bullets li {
  font-family: var(--sg-font);
  font-size: 15px;
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.sg-about-card-light .sg-about-bullets li i {
  color: var(--sg-gold);
  font-size: 14px;
  margin-top: 3px;
}
.sg-about-card-white {
  background: var(--sg-soft-gray);
  border-radius: var(--sg-radius-xl);
  padding: 48px 40px;
}
.sg-about-card-white h3 {
  font-family: var(--sg-font);
  font-size: 24px;
  font-weight: 700;
  color: var(--sg-navy);
  margin: 0 0 24px;
}
.sg-about-card-white .sg-about-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sg-about-card-white .sg-about-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.sg-about-card-white .sg-about-bullets li:last-child { border-bottom: none; padding-bottom: 0; }
.sg-about-card-white .sg-about-bullets li i {
  color: var(--sg-navy);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}
.sg-about-card-white .sg-about-bullets li strong {
  display: block;
  font-size: 15px;
  color: var(--sg-navy);
  margin-bottom: 4px;
}
.sg-about-card-white .sg-about-bullets li p {
  font-size: 13.5px;
  color: var(--sg-text);
  line-height: 1.55;
  margin: 0;
}
.sg-about-card-white img {
  width: 100%;
  border-radius: var(--sg-radius-md);
}
@media (max-width: 1024px) {
  .sg-about-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PROCESS / TIMELINE
   ============================================================ */
.sg-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sg-process-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 24px;
  background: var(--sg-white);
  border-radius: var(--sg-radius-lg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.sg-process-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.sg-process-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--sg-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sg-process-icon i {
  font-size: 22px;
  color: var(--sg-white);
}
.sg-process-body h4 {
  font-family: var(--sg-font);
  font-size: 16px;
  font-weight: 600;
  color: var(--sg-navy);
  margin: 0 0 6px;
}
.sg-process-body p {
  font-family: var(--sg-font);
  font-size: 13.5px;
  color: var(--sg-text);
  line-height: 1.55;
  margin: 0;
}
/* Alt section: icon matches gold */
.sg-section-alt .sg-process-icon { background: var(--sg-gold); }
.sg-section-alt .sg-process-icon i { color: var(--sg-navy); }
.sg-section-alt .sg-process-step { background: var(--sg-white); }

@media (max-width: 1024px) {
  .sg-process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sg-process-grid { grid-template-columns: 1fr; }
  .sg-process-step { flex-direction: column; align-items: center; text-align: center; }
  .sg-process-icon { margin-bottom: 8px; }
}

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.sg-testimonial-card {
  background: var(--sg-navy);
  color: var(--sg-white);
  border-radius: var(--sg-radius-xl);
  padding: 32px 28px;
  transition: all 0.3s ease;
}
.sg-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sg-shadow-lg);
}
.sg-testi-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.sg-testi-avatar {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sg-font);
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
}
.sg-testi-name {
  font-family: var(--sg-font);
  font-size: 16px;
  font-weight: 600;
  display: block;
}
.sg-testi-company {
  font-family: var(--sg-font);
  font-size: 13px;
  opacity: 0.7;
  display: block;
  margin-top: 2px;
}
.sg-stars {
  margin-top: 6px;
}
.sg-stars i {
  font-size: 12px;
  color: #FFD700;
  margin-right: 2px;
}
.sg-testimonial-card blockquote {
  font-family: var(--sg-font);
  font-size: 15px;
  line-height: 1.65;
  opacity: 0.9;
  margin: 0;
  font-style: italic;
  border: none;
  padding: 0;
}
.sg-testi-tag {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--sg-font);
  font-size: 12px;
  background: rgba(255,255,255,0.12);
  padding: 4px 12px;
  border-radius: 20px;
  color: rgba(255,255,255,0.8);
}

/* ============================================================
   STATS COUNTER DARK OVERLAY
   ============================================================ */
.sg-stats-section {
  background: var(--sg-navy);
  background-image: linear-gradient(rgba(17,47,71,0.92), rgba(17,47,71,0.92));
  padding: 80px 0;
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.sg-stats-section .sg-section-title h2 { color: var(--sg-white); }
.sg-stats-section .sg-section-title p { color: rgba(255,255,255,0.75); }

.sg-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  margin-top: 40px;
}
.sg-stat-card {
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--sg-radius-md);
  padding: 36px 20px;
  color: var(--sg-white);
  transition: all 0.3s ease;
}
.sg-stat-card:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}
.sg-stat-number {
  font-family: var(--sg-font);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}
.sg-stat-label {
  font-family: var(--sg-font);
  font-size: 14px;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 768px) {
  .sg-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .sg-stats-grid { grid-template-columns: 1fr; }
  .sg-stat-number { font-size: 36px; }
}

/* ============================================================
   LEAD FORM
   ============================================================ */
.sg-lead-section {
  background: var(--sg-navy);
  padding: 80px 0;
}
.sg-lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.sg-lead-content h2 {
  font-family: var(--sg-font);
  font-size: 36px;
  font-weight: 700;
  color: var(--sg-white);
  margin: 0 0 16px;
  line-height: 1.25;
}
.sg-lead-content p {
  font-family: var(--sg-font);
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin: 0 0 24px;
}
.sg-lead-form {
  background: var(--sg-white);
  border-radius: var(--sg-radius-lg);
  padding: 36px 32px;
  box-shadow: var(--sg-shadow-lg);
}
.sg-lead-form .sg-form-group {
  margin-bottom: 16px;
}
.sg-lead-form input,
.sg-lead-form textarea,
.sg-lead-form select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--sg-border);
  border-radius: var(--sg-radius-sm);
  font-family: var(--sg-font);
  font-size: 15px;
  transition: border-color 0.2s;
  background: var(--sg-white);
  box-sizing: border-box;
}
.sg-lead-form input:focus,
.sg-lead-form textarea:focus,
.sg-lead-form select:focus {
  outline: none;
  border-color: var(--sg-navy);
}
.sg-lead-form textarea { min-height: 100px; resize: vertical; }
.sg-lead-form .sg-btn { width: 100%; }
@media (max-width: 1024px) {
  .sg-lead-grid { grid-template-columns: 1fr; }
  .sg-lead-content { text-align: center; }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.sg-final-cta {
  background: var(--sg-navy);
  background-image: linear-gradient(rgba(10,31,51,0.93), rgba(10,31,51,0.93));
  padding: 100px 0;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.sg-final-cta h2 {
  font-family: var(--sg-font);
  font-size: 40px;
  font-weight: 700;
  color: var(--sg-white);
  margin: 0 0 16px;
  line-height: 1.25;
}
.sg-final-cta p {
  font-family: var(--sg-font);
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.65;
}
.sg-final-cta .sg-btn {
  font-size: 16px;
  padding: 16px 40px;
}
@media (max-width: 480px) {
  .sg-final-cta h2 { font-size: 28px; }
  .sg-final-cta { padding: 70px 0; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.sg-footer {
  background: var(--sg-navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
  font-family: var(--sg-font);
}
.sg-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.sg-footer-brand h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--sg-white);
  margin: 0 0 12px;
}
.sg-footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.sg-footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--sg-white);
  margin: 0 0 16px;
}
.sg-footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.2s;
}
.sg-footer-col a:hover { color: var(--sg-white); }
.sg-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.sg-footer-bottom p { font-size: 13px; margin: 0; }
.sg-footer-social { display: flex; gap: 16px; }
.sg-footer-social a {
  color: rgba(255,255,255,0.5);
  font-size: 18px;
  transition: color 0.2s;
}
.sg-footer-social a:hover { color: var(--sg-white); }
@media (max-width: 1024px) {
  .sg-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .sg-footer-grid { grid-template-columns: 1fr; }
  .sg-footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   CARDS (Generic — updated)
   ============================================================ */
.sg-trust-card,
.sg-audience-card {
  background: var(--sg-white);
  border-radius: var(--sg-radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--sg-shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--sg-border);
  cursor: default;
}
.sg-trust-card:hover,
.sg-audience-card:hover {
  box-shadow: var(--sg-shadow-lg);
  transform: translateY(-4px);
  border-color: var(--sg-navy);
}
.sg-trust-icon,
.sg-audience-icon {
  width: 64px;
  height: 64px;
  background: var(--sg-soft-gray);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--sg-navy);
  margin-bottom: 16px;
  transition: all 0.3s;
}
.sg-trust-card:hover .sg-trust-icon,
.sg-audience-card:hover .sg-audience-icon {
  background: var(--sg-navy);
  color: var(--sg-white);
}
.sg-trust-card h4,
.sg-audience-card h4 {
  font-family: var(--sg-font);
  font-size: 17px;
  font-weight: 600;
  color: var(--sg-navy);
  margin: 0 0 8px;
}
.sg-trust-card p,
.sg-audience-card p {
  font-family: var(--sg-font);
  font-size: 14px;
  color: var(--sg-text);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   PORTFOLIO GRID (updated)
   ============================================================ */
.sg-portfolio-card {
  background: var(--sg-white);
  border-radius: var(--sg-radius-lg);
  overflow: hidden;
  box-shadow: var(--sg-shadow-sm);
  transition: all 0.3s ease;
}
.sg-portfolio-card:hover {
  box-shadow: var(--sg-shadow-lg);
  transform: translateY(-4px);
}
.sg-portfolio-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s;
}
.sg-portfolio-card:hover img { transform: scale(1.05); }
.sg-portfolio-card .sg-portfolio-body {
  padding: 16px;
}
.sg-portfolio-card h4 {
  font-family: var(--sg-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--sg-navy);
  margin: 0 0 4px;
}
.sg-portfolio-card p {
  font-family: var(--sg-font);
  font-size: 13px;
  color: var(--sg-text);
  margin: 0;
}

/* ============================================================
   PRODUCT GRID (updated)
   ============================================================ */
.sg-product-card {
  background: var(--sg-white);
  border-radius: var(--sg-radius-lg);
  overflow: hidden;
  box-shadow: var(--sg-shadow-sm);
  transition: all 0.3s ease;
  text-align: center;
}
.sg-product-card:hover {
  box-shadow: var(--sg-shadow-lg);
  transform: translateY(-4px);
}
.sg-product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s;
}
.sg-product-card:hover img { transform: scale(1.05); }
.sg-product-card .sg-product-body {
  padding: 20px 16px;
}
.sg-product-card h4 {
  font-family: var(--sg-font);
  font-size: 16px;
  font-weight: 600;
  color: var(--sg-navy);
  margin: 0;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes sgFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.sg-animate {
  animation: sgFadeUp 0.6s ease forwards;
}

/* ============================================================
   SCROLL REVEAL (matching footer JS)
   ============================================================ */
.sg-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.sg-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE HELPERS
   ============================================================ */
@media (max-width: 768px) {
  .sg-section { padding: 50px 0; }
  .sg-section-title h2 { font-size: 28px; }
  .sg-section-title { margin-bottom: 32px; }
  .sg-col-3, .sg-col-4, .sg-col-5, .sg-col-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .sg-section { padding: 40px 0; }
  .sg-section-title h2 { font-size: 24px; }
  .sg-col-2, .sg-col-3, .sg-col-4, .sg-col-5, .sg-col-6 { grid-template-columns: 1fr; }
  .sg-container { padding: 0 16px; }
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.sg-wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  background: var(--sg-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(45,183,66,0.4);
  transition: all 0.3s;
}
.sg-wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(45,183,66,0.5);
}
.sg-wa-float i {
  font-size: 26px;
  color: var(--sg-white);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.sg-back-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 9998;
  width: 44px;
  height: 44px;
  background: var(--sg-navy);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--sg-white);
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--sg-shadow-sm);
  transition: all 0.3s;
}
.sg-back-top:hover { background: var(--sg-gray-blue); }
.sg-back-top.visible { display: flex; }

/* =====================================================
   Testimonial Dark Section Readability Fix
   -----------------------------------------------------
   Cause: style.css (loaded first) sets dark child colors
   (.sg-testi-name=#1F1D1D, .sg-testi-company=#888,
   blockquote=#555) that were never overridden on the navy
   card. Scoped to the DARK context (.sg-section-dark /
   .sg-key-testimonial) so the light/off-white testimonial
   variant in style.css (white card + dark text) is untouched.
   Real classes used by includes/sections/testimonial_grid.php:
   sg-testi-name, sg-testi-company, sg-testi-avatar,
   blockquote, sg-stars, sg-testi-tag.
   ===================================================== */
.sg-section-dark .sg-testimonial-card,
.sg-key-testimonial .sg-testimonial-card {
  color: #ffffff;
}

/* Client / company name — soft white, clearly legible */
.sg-section-dark .sg-testimonial-card .sg-testi-name,
.sg-key-testimonial .sg-testimonial-card .sg-testi-name {
  color: #ffffff !important;
}

/* Company / product sub-label */
.sg-section-dark .sg-testimonial-card .sg-testi-company,
.sg-key-testimonial .sg-testimonial-card .sg-testi-company {
  color: rgba(255, 255, 255, 0.72) !important;
  opacity: 1;
}

/* Quote / testimonial body */
.sg-section-dark .sg-testimonial-card blockquote,
.sg-key-testimonial .sg-testimonial-card blockquote {
  color: rgba(255, 255, 255, 0.82) !important;
  opacity: 1;
}

/* Product tag pill */
.sg-section-dark .sg-testimonial-card .sg-testi-tag,
.sg-key-testimonial .sg-testimonial-card .sg-testi-tag {
  color: rgba(255, 255, 255, 0.85) !important;
  background: rgba(255, 255, 255, 0.12);
}

/* Avatar initials — stay legible on navy */
.sg-section-dark .sg-testimonial-card .sg-testi-avatar,
.sg-key-testimonial .sg-testimonial-card .sg-testi-avatar {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Rating stars — keep amber, never inherit white */
.sg-section-dark .sg-testimonial-card .sg-stars i,
.sg-key-testimonial .sg-testimonial-card .sg-stars i {
  color: #F59E0B !important;
}