:root {
  --hg-navy: #123f7d;
  --hg-navy-dark: #0a2a56;
  --hg-coral: #cf4737;
  --hg-coral-dark: #b7382b;
  --hg-ink: #172133;
  --hg-muted: #667085;
  --hg-mist: #f3f5f7;
  --hg-cream: #fbf8f1;
  --hg-white: #ffffff;
  --hg-border: #dfe3e8;
  --hg-success: #1fa855;
  --hg-shadow: 0 18px 45px rgba(18, 63, 125, 0.12);
  --hg-ease: cubic-bezier(0.23, 1, 0.32, 1);
}

html { scroll-behavior: smooth; }

body {
  color: var(--hg-ink);
  background: var(--hg-white);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .font-display {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
}

a { color: var(--hg-navy); }
a:hover { color: var(--hg-coral); }

.section-pad { padding: 6rem 0; }
.section-pad-sm { padding: 4rem 0; }
.bg-mist { background: var(--hg-mist); }
.bg-cream { background: var(--hg-cream); }
.bg-navy { background: var(--hg-navy); color: #fff; }
.bg-coral { background: var(--hg-coral); color: #fff; }
.text-navy { color: var(--hg-navy) !important; }
.text-coral { color: var(--hg-coral) !important; }
.text-muted-custom { color: var(--hg-muted); }
.eyebrow {
  color: var(--hg-coral);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.navbar-hg {
  background: rgba(255, 255, 255, .97);
  border-top: 4px solid var(--hg-coral);
  border-bottom: 1px solid var(--hg-border);
  box-shadow: 0 7px 24px rgba(17, 32, 59, .06);
  backdrop-filter: blur(14px);
}

.navbar-hg .navbar-brand { min-width: 0; }
.brand-logo { width: auto; height: 40px; object-fit: contain; }
.brand-name { color: var(--hg-navy); font-size: 1.15rem; font-weight: 800; white-space: nowrap; }
.navbar-hg .nav-link {
  color: #202938;
  font-size: .92rem;
  font-weight: 600;
  padding: .6rem .75rem !important;
  position: relative;
}
.navbar-hg .nav-link::after {
  background: var(--hg-coral);
  bottom: .2rem;
  content: "";
  height: 2px;
  left: .75rem;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s var(--hg-ease);
  width: calc(100% - 1.5rem);
}
.navbar-hg .nav-link:hover::after,
.navbar-hg .nav-link.active::after { transform: scaleX(1); }
.navbar-hg .nav-link.active { color: var(--hg-coral); }

.btn {
  border-radius: .42rem;
  font-weight: 750;
  padding: .72rem 1.25rem;
  transition: transform .16s var(--hg-ease), box-shadow .2s var(--hg-ease), background .2s var(--hg-ease);
}
.btn:active { transform: scale(.97); }
.btn-hg { background: var(--hg-coral); border-color: var(--hg-coral); color: #fff; }
.btn-hg:hover, .btn-hg:focus { background: var(--hg-coral-dark); border-color: var(--hg-coral-dark); color: #fff; box-shadow: 0 10px 22px rgba(207,71,55,.24); }
.btn-navy { background: var(--hg-navy); border-color: var(--hg-navy); color: #fff; }
.btn-navy:hover, .btn-navy:focus { background: var(--hg-navy-dark); border-color: var(--hg-navy-dark); color: #fff; }
.btn-outline-navy { border-color: var(--hg-navy); color: var(--hg-navy); }
.btn-outline-navy:hover { background: var(--hg-navy); border-color: var(--hg-navy); color: #fff; }

.hero-home {
  align-items: center;
  background-image: linear-gradient(90deg, rgba(4,20,43,.79) 0%, rgba(4,20,43,.58) 54%, rgba(4,20,43,.26) 100%), url("../img/hero-warehouse.png");
  background-position: center;
  background-size: cover;
  color: #fff;
  display: flex;
  min-height: 610px;
  position: relative;
}
.hero-home::after {
  background: linear-gradient(90deg, var(--hg-coral) 0 32%, transparent 32% 100%);
  bottom: 0;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  width: 100%;
}
.hero-home h1 { font-size: clamp(3rem, 6vw, 5.8rem); line-height: 1.02; max-width: 820px; }
.hero-home .lead { font-size: clamp(1.08rem, 2vw, 1.35rem); max-width: 690px; }

.page-hero {
  background: linear-gradient(135deg, var(--hg-navy-dark), var(--hg-navy));
  color: #fff;
  overflow: hidden;
  padding: 6rem 0 5rem;
  position: relative;
}
.page-hero::after {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  content: "";
  height: 430px;
  position: absolute;
  right: -110px;
  top: -250px;
  width: 430px;
}
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.page-hero p { color: rgba(255,255,255,.82); font-size: 1.2rem; max-width: 760px; }

.stat-strip { background: var(--hg-navy); color: #fff; }
.stat-number { color: var(--hg-coral); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.7rem, 5vw, 4rem); font-weight: 700; line-height: 1; }
.stat-label { color: rgba(255,255,255,.78); font-size: .92rem; margin-top: .75rem; }

.section-title { color: var(--hg-navy); font-size: clamp(2.25rem, 4vw, 3.6rem); font-weight: 700; line-height: 1.1; }
.section-intro { color: var(--hg-muted); font-size: 1.1rem; max-width: 720px; }
.measure-720 { max-width: 720px; }
.measure-740 { max-width: 740px; }
.measure-760 { max-width: 760px; }

.feature-card, .division-card, .info-card, .brand-card {
  background: #fff;
  border: 1px solid var(--hg-border);
  border-radius: .65rem;
  box-shadow: 0 8px 26px rgba(17,32,59,.06);
  height: 100%;
  overflow: hidden;
  transition: transform .24s var(--hg-ease), box-shadow .24s var(--hg-ease), border-color .24s var(--hg-ease);
}
.feature-card:hover, .division-card:hover, .brand-card:hover {
  border-color: rgba(207,71,55,.35);
  box-shadow: var(--hg-shadow);
  transform: translateY(-5px);
}
.division-card img { height: 245px; object-fit: cover; transition: transform .45s var(--hg-ease); width: 100%; }
.division-card:hover img { transform: scale(1.035); }
.card-icon {
  align-items: center;
  background: rgba(207,71,55,.1);
  border-radius: .55rem;
  color: var(--hg-coral);
  display: inline-flex;
  font-size: 1.25rem;
  height: 45px;
  justify-content: center;
  width: 45px;
}
.stretched-link-clean { text-decoration: none; }

.image-panel { border-radius: .65rem; box-shadow: var(--hg-shadow); height: 470px; object-fit: cover; width: 100%; }
.logo-panel { max-height: 82px; max-width: 320px; object-fit: contain; }
.detail-list { list-style: none; margin: 0; padding: 0; }
.detail-list li { border-bottom: 1px solid var(--hg-border); padding: .72rem 0; }
.detail-list li:last-child { border-bottom: 0; }

.timeline { margin-left: 1rem; position: relative; }
.timeline::before { background: var(--hg-border); content: ""; height: calc(100% - 2rem); left: 22px; position: absolute; top: 2rem; width: 3px; }
.timeline-item { display: grid; gap: 1.5rem; grid-template-columns: 46px 1fr; padding-bottom: 2.6rem; position: relative; }
.timeline-marker { align-items: center; background: var(--hg-coral); border: 5px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--hg-border); color: #fff; display: flex; font-weight: 800; height: 46px; justify-content: center; position: relative; width: 46px; z-index: 2; }
.timeline-item h3 { color: var(--hg-navy); }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { display: flex; gap: .72rem; margin-bottom: .78rem; }
.check-list i { color: var(--hg-coral); margin-top: .18rem; }

.brand-filter .btn.active { background: var(--hg-navy); border-color: var(--hg-navy); color: #fff; }
.brand-card { padding: 2rem 1rem; text-align: center; }
.brand-card h3 { color: var(--hg-navy); font-size: 1.35rem; }
.brand-item[hidden] { display: none !important; }

.service-panel { background: var(--hg-mist); border-left: 5px solid var(--hg-coral); border-radius: .55rem; padding: 2rem; }
.city-chip { background: #fff; border: 1px solid var(--hg-border); border-radius: .45rem; color: var(--hg-navy); font-weight: 700; padding: .9rem .7rem; text-align: center; }

.form-shell { background: #fff; border: 1px solid var(--hg-border); border-radius: .7rem; box-shadow: var(--hg-shadow); padding: clamp(1.5rem, 4vw, 3rem); }
.form-label { color: var(--hg-navy); font-weight: 750; }
.form-control, .form-select {
  border-color: #cfd6df;
  border-radius: .42rem;
  padding: .78rem .9rem;
}
.form-control:focus, .form-select:focus { border-color: var(--hg-coral); box-shadow: 0 0 0 .22rem rgba(207,71,55,.13); }
.form-check-input:checked { background-color: var(--hg-coral); border-color: var(--hg-coral); }
.form-success { background: rgba(31,168,85,.08); border: 1px solid rgba(31,168,85,.32); border-radius: .55rem; color: #176d3a; padding: 2rem; text-align: center; }

.contact-row { display: grid; gap: 1rem; grid-template-columns: 42px 1fr; margin-bottom: 1.5rem; }
.contact-row i { color: var(--hg-coral); font-size: 1.35rem; }
.contact-row h3 { color: var(--hg-navy); font-family: "Segoe UI", Arial, sans-serif; font-size: 1rem; font-weight: 800; letter-spacing: 0; }

.whatsapp-float {
  align-items: center;
  background: #20bd5a;
  border-radius: 50%;
  bottom: 24px;
  box-shadow: 0 12px 28px rgba(18,65,34,.28);
  color: #fff;
  display: flex;
  font-size: 1.7rem;
  height: 58px;
  justify-content: center;
  position: fixed;
  right: 24px;
  text-decoration: none;
  transition: transform .2s var(--hg-ease), background .2s var(--hg-ease);
  width: 58px;
  z-index: 1050;
}
.whatsapp-float:hover { background: #159f49; color: #fff; transform: translateY(-4px) scale(1.03); }

.site-footer { background: var(--hg-navy-dark); color: rgba(255,255,255,.78); }
.site-footer h2, .site-footer h3 { color: #fff; font-family: "Segoe UI", Arial, sans-serif; font-size: 1rem; font-weight: 800; letter-spacing: 0; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-title { color: #ff816f; }
.site-footer hr { border-color: rgba(255,255,255,.15); }

.skip-link { background: #fff; color: #000; left: 1rem; padding: .6rem 1rem; position: fixed; top: -60px; z-index: 2000; }
.skip-link:focus { top: 1rem; }

@media (max-width: 991.98px) {
  .section-pad { padding: 4.5rem 0; }
  .navbar-hg .navbar-collapse { padding: 1rem 0 .5rem; }
  .navbar-hg .nav-link { padding-left: 0 !important; }
  .navbar-hg .nav-link::after { left: 0; width: 38px; }
  .hero-home { min-height: 620px; }
  .image-panel { height: 390px; }
}

@media (max-width: 575.98px) {
  .brand-name { display: none; }
  .brand-logo { height: 35px; }
  .hero-home h1 { font-size: 3rem; }
  .hero-home { min-height: 650px; }
  .page-hero { padding: 4.5rem 0 4rem; }
  .image-panel { height: 310px; }
  .whatsapp-float { bottom: 18px; height: 52px; right: 18px; width: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
