/*
Theme Name: HM del Mar Premium
Theme URI: https://hmdelmar.com
Author: HM del Mar
Author URI: https://hmdelmar.com
Description: Tema WordPress corporativo para HM del Mar enfocado en freight forwarding y servicios logisticos.
Version: 1.2.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: hm-del-mar-premium
*/

:root {
  --color-dark: #0f1a2a;
  --color-navy: #12263f;
  --color-steel: #223b5b;
  --color-ink: #1a2a3d;
  --color-body: #5d6b79;
  --color-line: #d9e0e8;
  --color-soft: #f4f7fa;
  --color-white: #ffffff;
  --color-accent: #f49c2f;
  --color-accent-soft: #ffe7ca;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 12px 30px rgba(15, 30, 52, 0.08);
  --shadow-md: 0 24px 56px rgba(12, 24, 41, 0.14);
  --container: 100%;
  --font-head: "Barlow", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-ink);
  line-height: 1.6;
  background: linear-gradient(180deg, #edf2f7 0%, #f7fafc 100%);
}

a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-head);
  color: var(--color-navy);
  line-height: 1.14;
}

p {
  margin: 0;
}

.hm-container {
  width: var(--container);
  margin: 0;
  border-radius: 0;
  overflow: visible;
  background: var(--color-white);
  border: 0;
  box-shadow: var(--shadow-md);
}

.hm-topstrip {
  background: var(--color-dark);
  color: #b3c2d1;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  padding: 0 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.hm-topstrip-item {
  white-space: nowrap;
}

.hm-topbar {
  position: relative;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 2rem;
  border-bottom: 1px solid var(--color-line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.hm-topbar.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
}

.hm-topbar-placeholder {
  display: none;
}

.hm-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  max-width: min(46vw, 540px);
}

.hm-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 88px;
  height: 28px;
  max-width: 88px;
  max-height: 28px;
  overflow: hidden;
}

.hm-brand-logo-image,
.hm-brand img,
.hm-brand .custom-logo {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 88px !important;
  max-height: 28px !important;
  object-fit: contain;
}

@media (max-width: 900px) {
  .hm-brand {
    max-width: 72vw;
    gap: 0.55rem;
  }

  .hm-brand-logo {
    width: 78px;
    height: 24px;
    max-width: 78px;
    max-height: 24px;
  }

  .hm-brand-logo-image,
  .hm-brand img,
  .hm-brand .custom-logo {
    max-width: 78px !important;
    max-height: 24px !important;
  }

  .hm-brand-name {
    font-size: 0.9rem;
  }

  .hm-brand-subtitle {
    display: none;
  }
}

.hm-brand-mark {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-white);
  background: linear-gradient(145deg, #16345b 0%, #0f243f 100%);
}

.hm-brand-name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.hm-brand-subtitle {
  display: block;
  margin-top: 0.05rem;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #7a8896;
}

.hm-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  min-height: 40px;
  padding: 0.48rem 0.8rem;
  background: #fff;
  color: var(--color-navy);
  font-weight: 600;
}

.hm-nav-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hm-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.hm-nav-list a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #33465b;
  padding: 0.35rem 0.2rem;
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.hm-nav-list a:hover,
.hm-nav-list .current-menu-item > a,
.hm-nav-list .current_page_item > a {
  color: var(--color-navy);
  border-bottom-color: var(--color-accent);
}

.hm-main {
  padding: 2.2rem 2rem;
}

.hm-eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  font-weight: 700;
  color: #7d8b98;
}

.hm-hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1rem;
  align-items: stretch;
  position: relative;
  isolation: isolate;
}

.hm-hero-has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: var(--radius-md);
  background: var(--hm-hero-bg) center/cover no-repeat;
}

.hm-hero-has-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--radius-md);
  background: var(--hm-hero-filter-color, #0f1a2a);
  opacity: var(--hm-hero-filter-opacity, 0.35);
  pointer-events: none;
}

/* Dark fallback so the hero never renders white text on a light void
   when no background image is set in the Customizer. */
.hm-hero:not(.hm-hero-has-bg) {
  background: linear-gradient(135deg, #16324f 0%, #0f2135 56%, #0c1a2b 100%);
  border-radius: var(--radius-md);
}

.hm-hero-copy {
  color: #d8e3ee;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  padding: 2.6rem 2.4rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Left-to-right scrim: guarantees headline/CTA contrast over any photo
   while letting the image breathe on the right. */
.hm-hero-has-bg .hm-hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(8, 18, 31, 0.9) 0%,
    rgba(8, 18, 31, 0.66) 44%,
    rgba(8, 18, 31, 0.14) 80%,
    rgba(8, 18, 31, 0) 100%
  );
}

.hm-hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  /* background: radial-gradient(circle, rgba(244, 156, 47, 0.24) 0%, rgba(244, 156, 47, 0) 68%); */
}

.hm-hero-copy .hm-eyebrow {
  color: #9fb0c1;
}

.hm-hero h1 {
  color: #ffffff;
  margin-top: 0.7rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  max-width: 13ch;
  letter-spacing: -0.02em;
}

.hm-hero-text {
  margin-top: 1rem;
  max-width: 56ch;
  color: #c2ced9;
  font-size: 1.03rem;
}

.hm-hero-tags {
  margin: 0.95rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hm-hero-tags li {
  font-size: 0.76rem;
  color: #d2deea;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.3rem 0.52rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.hm-actions {
  margin-top: 1.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.66rem;
}

.hm-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.62rem 1.05rem;
  transition: transform 170ms ease, box-shadow 170ms ease, background-color 170ms ease;
}

.hm-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.hm-btn-primary {
  color: #1d2430;
  background: var(--color-accent);
}

.hm-btn-primary:hover {
  background: #ffa93f;
}

.hm-btn-secondary {
  color: var(--color-navy);
  border-color: #b9c8d6;
  background: #fff;
}

.hm-btn-secondary:hover {
  border-color: #8fa4b8;
}

.hm-btn-ghost {
  color: #30455e;
  border-color: var(--color-line);
  background: #fff;
}

.hm-btn-ghost:hover {
  border-color: #bfc9d4;
}

.hm-hero-media {
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(16, 39, 64, 0.5), rgba(14, 25, 43, 0.78)),
    linear-gradient(135deg, #3f5e7f 0%, #1d3048 42%, #18263a 100%);
  min-height: 420px;
}

.hm-hero-media::before {
  content: "";
  position: absolute;
  inset: 12% 10% 16% auto;
  width: 42%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
}

.hm-hero-media::after {
  content: "";
  position: absolute;
  inset: auto auto 12% 10%;
  width: 58%;
  height: 42%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
}

.hm-hero-media-overlay {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(9, 24, 40, 0.52);
  color: #fff;
}

.hm-hero-media-overlay p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #cad8e5;
}

.hm-hero-media-overlay strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 1.25rem;
}

.hm-hero-media-overlay span {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.84rem;
  color: #b9cad9;
}

.hm-kpi-band {
  margin-top: 1rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: #f9fbfd;
  padding: 0.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.hm-kpi-band article {
  border-radius: 12px;
  border: 1px solid #e3eaf0;
  background: #fff;
  padding: 0.85rem;
}

.hm-kpi-band strong {
  display: block;
  color: var(--color-navy);
  font-family: var(--font-head);
  font-size: 1.1rem;
}

.hm-kpi-band p {
  margin-top: 0.35rem;
  color: var(--color-body);
  font-size: 0.88rem;
}

.hm-section {
  padding-top: 2.2rem;
}

.hm-main-home .hm-section {
  padding-top: 1.75rem;
}

.hm-section-plain {
  background: transparent;
}

.hm-frame-block {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-white);
  padding: 1.05rem;
}

.hm-home-trust {
  margin-top: 1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0.1rem 0;
  display: grid;
  gap: 0.65rem;
}

.hm-home-trust-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.hm-home-trust-logos span {
  border: 1px solid #dde5ec;
  border-radius: 999px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: #6e7e8d;
  font-weight: 700;
}

.hm-home-trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.hm-home-trust-metrics p {
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0.2rem 0.1rem;
  font-size: 0.84rem;
  color: var(--color-body);
  background: transparent;
}

.hm-home-trust-metrics strong {
  color: var(--color-navy);
}

.hm-home-resolve {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.hm-home-resolve-card {
  border: 1px solid #e3eaf0;
  border-radius: 12px;
  background: #fff;
  padding: 0.9rem;
}

.hm-home-resolve-card h3 {
  margin-top: 0.5rem;
  font-size: 1.2rem;
}

.hm-home-resolve-card ul {
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.46rem;
}

.hm-home-resolve-card li {
  color: var(--color-body);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 0.42rem;
}

.hm-home-resolve-card li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hm-home-resolve-card-accent {
  background: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%);
}

.hm-section-header {
  max-width: 75ch;
}

.hm-section-header h2 {
  margin-top: 0.56rem;
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  letter-spacing: -0.01em;
}

.hm-section-desc {
  margin-top: 0.72rem;
  color: var(--color-body);
}

.hm-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.9rem;
}

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

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

.hm-card {
  border: 1px solid var(--color-line);
  border-radius: 14px;
  padding: 1.1rem;
  background: #fff;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.hm-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: #c9d4de;
}

.hm-card h3 {
  font-size: 1.08rem;
}

.hm-card p {
  margin-top: 0.45rem;
  color: var(--color-body);
}

.hm-service-card {
  position: relative;
  padding-top: 1.4rem;
}

.hm-service-card::before {
  content: "";
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: var(--color-accent);
  position: absolute;
  left: 1.1rem;
  top: 1rem;
}

.hm-service-card-alt {
  background: linear-gradient(165deg, #fbf7f1 0%, #fff 100%);
}

.hm-text-link {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-navy);
}

.hm-text-link::after {
  content: "+";
  color: var(--color-accent);
}

.hm-about-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.hm-about-story {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  gap: 0.9rem;
  align-items: stretch;
}

.hm-about-story-main {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  padding: 1.3rem;
}

.hm-about-story-main h2 {
  margin-top: 0.58rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  max-width: 22ch;
}

.hm-about-story-main p {
  margin-top: 0.72rem;
  color: var(--color-body);
  max-width: 68ch;
}

.hm-about-story-points {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.48rem;
}

.hm-about-story-points li {
  border-top: 1px solid #e2e9f1;
  padding-top: 0.48rem;
  color: #3f5266;
  font-size: 0.93rem;
}

.hm-about-story-side {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0.7rem;
}

.hm-about-story-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #2a4768;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, #163453 0%, #102740 100%);
  padding: 1.2rem;
}

.hm-about-story-card::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -26px;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: var(--color-accent);
  opacity: 0.12;
}

.hm-about-story-card .hm-eyebrow {
  color: #9cb3c9;
}

.hm-about-story-card h3 {
  margin-top: 0.54rem;
  color: #ffffff;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
}

.hm-about-story-card p {
  margin-top: 0.66rem;
  color: #d6e3ef;
}

.hm-about-story-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.hm-about-story-metrics article {
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: #ffffff;
  padding: 0.76rem 0.7rem;
}

.hm-about-story-metrics strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.26rem;
  line-height: 1;
  color: var(--color-navy);
}

.hm-about-story-metrics span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6f8090;
  font-weight: 700;
}

.hm-home-split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 0.9rem;
}

.hm-home-value,
.hm-home-quickcard {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-white);
  padding: 1.1rem;
}

.hm-home-value-list {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.hm-home-value-list li {
  color: var(--color-body);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 0.45rem;
}

.hm-home-value-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hm-home-quickcard {
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fc 100%);
}

.hm-home-quickcard h3 {
  margin-top: 0.56rem;
  font-size: 1.2rem;
}

.hm-home-quickcard p {
  margin-top: 0.55rem;
  color: var(--color-body);
}

.hm-services-visual-row {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.hm-services-compact .hm-card {
  padding: 0.88rem;
}

.hm-services-compact .hm-service-card {
  padding-top: 1.25rem;
}

.hm-services-compact .hm-service-card h3 {
  font-size: 1rem;
}

.hm-services-banner {
  border: 1px solid #e2e9f0;
  border-radius: 14px;
  background: linear-gradient(160deg, #ffffff 0%, #f4f8fb 100%);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 0.8rem;
  padding: 1rem;
  align-items: stretch;
}

.hm-services-banner-copy h2 {
  margin-top: 0.55rem;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.hm-services-banner-copy p {
  margin-top: 0.62rem;
  color: var(--color-body);
  max-width: 56ch;
}

.hm-services-banner-copy .hm-btn {
  margin-top: 0.9rem;
}

.hm-services-banner-visual {
  position: relative;
  border-radius: 12px;
  border: 1px solid #d7e1ea;
  /* background:
    linear-gradient(160deg, rgba(18, 38, 63, 0.08), rgba(15, 26, 42, 0.05)),
    #eef4f9; */
  background:
    linear-gradient(160deg, rgba(15, 26, 42, 0.16), rgba(15, 26, 42, 0.04)),
    var(--hm-services-image-3) center/cover no-repeat;
  min-height: 220px;
  overflow: hidden;
}

.hm-services-banner-visual span {
  position: absolute;
  border: 1px solid #bccad8;
  border-radius: 999px;
}

.hm-services-banner-visual span:nth-child(1) {
  width: 110px;
  height: 110px;
  right: 12%;
  top: 16%;
}

.hm-services-banner-visual span:nth-child(2) {
  width: 170px;
  height: 170px;
  right: 22%;
  bottom: -18%;
}

.hm-services-banner-visual span:nth-child(3) {
  width: 240px;
  height: 240px;
  left: -20%;
  top: -22%;
}

.hm-services-banner-has-image-3 span:nth-child(3) {
  border: 0;
  box-shadow: 0 14px 34px rgba(12, 24, 41, 0.22);
}

.hm-home-coverage {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 0.9rem;
}

.hm-home-coverage-copy,
.hm-home-coverage-visual {
  border: 1px solid #e2e9f0;
  border-radius: 12px;
  background: #fff;
  padding: 0.95rem;
}

.hm-home-coverage-copy h2 {
  margin-top: 0.58rem;
  font-size: clamp(1.3rem, 2.4vw, 1.95rem);
}

.hm-home-coverage-copy p {
  margin-top: 0.62rem;
  color: var(--color-body);
}

.hm-home-coverage-copy .hm-btn {
  margin-top: 0.9rem;
}

.hm-home-coverage-visual {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(18, 38, 63, 0.06), rgba(15, 26, 42, 0.03)),
    var(--color-white);
  display: grid;
  align-items: center;
  justify-items: center;
  min-height: 200px;
}

.hm-home-coverage-visual span {
  position: absolute;
  border: 1px solid #c8d4df;
  border-radius: 999px;
}

.hm-home-coverage-visual span:nth-child(1) {
  width: 150px;
  height: 150px;
}

.hm-home-coverage-visual span:nth-child(2) {
  width: 210px;
  height: 210px;
}

.hm-home-coverage-has-image-2 span:nth-child(2) {
  border: 0;
  background:
    linear-gradient(160deg, rgba(15, 26, 42, 0.16), rgba(15, 26, 42, 0.04)),
    var(--hm-coverage-image-2) center/cover no-repeat;
  box-shadow: 0 14px 34px rgba(12, 24, 41, 0.22);
}

.hm-home-coverage-visual span:nth-child(3) {
  width: 270px;
  height: 270px;
  border-color: #b9c8d6;
}

.hm-home-cases .hm-actions {
  margin-top: 0.9rem;
}

.hm-main-home .hm-services-light .hm-card {
  box-shadow: none;
}

.hm-visual-slot {
  border: 1px dashed #c3cfdb;
  border-radius: 12px;
  background: linear-gradient(180deg, #f9fbfd 0%, #f2f7fb 100%);
  min-height: 130px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #6f7f8f;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  font-weight: 600;
  padding: 0.7rem;
}

.hm-visual-slot-small {
  min-height: 96px;
  margin-bottom: 0.65rem;
}

.hm-about-panel {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-line);
  padding: 1.3rem;
  background: #f8fafc;
}

.hm-about-panel h2 {
  margin-top: 0.56rem;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
}

.hm-about-panel p {
  margin-top: 0.7rem;
  color: var(--color-body);
}

.hm-about-panel .hm-btn {
  margin-top: 1rem;
}

.hm-about-panel-dark {
  background: linear-gradient(160deg, #172f4f 0%, #11253e 100%);
  border-color: #1f3f64;
}

.hm-about-panel-dark .hm-eyebrow,
.hm-about-panel-dark h2,
.hm-about-panel-dark p {
  color: #d7e4ef;
}

.hm-about-panel-dark .hm-btn-secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
}

.hm-about-commitments {
  margin-top: 0.95rem;
}

.hm-about-gallery {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.8rem;
}

.hm-about-photo {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%);
  min-height: 240px;
  display: grid;
  place-items: center;
  grid-column: span 2;
}

.hm-about-photo:first-child {
  grid-column: span 3;
  min-height: 310px;
}

.hm-about-photo:nth-child(2) {
  grid-column: span 3;
  min-height: 310px;
}

.hm-about-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}

.hm-about-photo figcaption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  padding: 0.48rem 0.62rem;
  border-radius: 999px;
  background: rgba(15, 26, 42, 0.78);
  color: #ffffff;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.hm-hero-copy .hm-btn-secondary,
.hm-cta .hm-btn-secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
}

.hm-section-soft {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #f6f9fc 0%, #eef4f9 100%);
  padding: 1.4rem;
}

.hm-steps {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  counter-reset: hm-steps;
}

.hm-steps li {
  border: 1px solid #d6e0ea;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  padding: 1rem;
}

.hm-steps li::before {
  counter-increment: hm-steps;
  content: "0" counter(hm-steps);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  min-height: 2.2rem;
  border-radius: 999px;
  border: 1px solid #c2d1df;
  color: var(--color-navy);
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.hm-steps h3 {
  font-size: 1rem;
}

.hm-steps p {
  margin-top: 0.45rem;
  color: var(--color-body);
  font-size: 0.92rem;
}

.hm-cta {
  margin-top: 2.2rem;
  border-radius: var(--radius-md);
  border: 1px solid #284a70;
  background: linear-gradient(162deg, #143154 0%, #112640 100%);
  padding: 1.5rem;
}

.hm-cta .hm-eyebrow {
  color: #9cb2c9;
}

.hm-cta h2 {
  margin-top: 0.56rem;
  color: #fff;
  font-size: clamp(1.6rem, 2.7vw, 2.3rem);
}

.hm-cta p {
  margin-top: 0.72rem;
  color: #c5d4e2;
  max-width: 70ch;
}

.hm-breadcrumb {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #7a8997;
  font-size: 0.84rem;
}

.hm-breadcrumb a {
  color: var(--color-navy);
}

.hm-page-hero {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: linear-gradient(170deg, #f8fbfd 0%, #f0f5fa 100%);
  padding: 1.2rem;
}

.hm-page-hero h1 {
  margin-top: 0.58rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.hm-content-wrap {
  margin-top: 1rem;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: #fff;
  padding: 1.2rem;
}

.hm-contact-shell {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 0.9rem;
  align-items: start;
}

.hm-contact-stack {
  display: grid;
  gap: 0.7rem;
}

.hm-main-contact .hm-page-hero {
  padding: 1rem;
}

.hm-main-contact .hm-contact-shell {
  margin-top: 0.75rem;
  gap: 0.7rem;
}

.hm-main-contact .hm-contact-panel {
  padding: 1rem;
}

.hm-contact-panel {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  background: var(--color-white);
}

.hm-contact-panel h2 {
  margin-top: 0.56rem;
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
}

.hm-contact-panel-dark {
  background: linear-gradient(162deg, #143154 0%, #112640 100%);
  border-color: #284a70;
}

.hm-contact-panel-dark .hm-eyebrow {
  color: #9cb2c9;
}

.hm-contact-panel-dark h2 {
  color: #ffffff;
}

.hm-contact-panel-minimal {
  height: fit-content;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

.hm-contact-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.hm-contact-list li {
  border-bottom: 1px solid var(--color-line);
  padding: 0.62rem 0;
  color: var(--color-body);
  display: grid;
  gap: 0.16rem;
}

.hm-main-contact .hm-contact-list {
  margin-top: 0.7rem;
}

.hm-main-contact .hm-contact-list li {
  padding: 0.5rem 0;
}

.hm-contact-list a {
  color: var(--color-navy);
}

.hm-contact-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: #7a8997;
  font-weight: 700;
}

.hm-contact-form-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-soft) 100%);
}

.hm-contact-visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%);
}

.hm-contact-visual::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -26px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: var(--color-accent);
  opacity: 0.08;
}

.hm-contact-visual h3 {
  margin-top: 0.48rem;
  font-size: 1.05rem;
  color: var(--color-navy);
}

.hm-contact-steps {
  margin: 0.72rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.hm-contact-steps li {
  color: var(--color-body);
  font-size: 0.89rem;
  line-height: 1.5;
}

.hm-contact-intro {
  margin-top: 0.62rem;
  color: var(--color-body);
}

.hm-main-contact .hm-contact-intro {
  margin-top: 0.45rem;
}

.hm-contact-form-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: var(--color-accent);
  opacity: 0.12;
  filter: blur(34px);
  pointer-events: none;
}

.hm-contact-orbit-label {
  margin-top: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.7rem;
  font-weight: 700;
  color: #7a8997;
}

.hm-main-contact .hm-contact-orbit-label {
  margin-top: 0.58rem;
}

.hm-contact-orbit {
  margin-top: 0.35rem;
  margin-bottom: 0.8rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 180px;
}

.hm-contact-orbit::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--color-line);
  transform: translateY(-50%);
}

.hm-contact-orbit span {
  position: relative;
  z-index: 1;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
}

.hm-contact-orbit span:first-child {
  border-color: var(--color-navy);
  background: var(--color-navy);
}

.hm-contact-orbit span:last-child {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.hm-form-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.hm-field {
  display: grid;
  gap: 0.32rem;
}

.hm-field-full {
  grid-column: span 2;
}

.hm-field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: #203449;
}

.hm-field input,
.hm-field select,
.hm-field textarea {
  width: 100%;
  min-height: 44px;
  border-radius: 9px;
  border: 1px solid #c7d3de;
  padding: 0.6rem 0.7rem;
  font: inherit;
  color: var(--color-ink);
  background: #fff;
}

.hm-field textarea {
  min-height: 120px;
  resize: vertical;
}

.hm-form-note {
  margin-top: 0.7rem;
  color: var(--color-body);
  font-size: 0.84rem;
}

.hm-main .wpcf7 {
  margin-top: 0.6rem;
}

.hm-main .wpcf7 form {
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: var(--color-soft);
  padding: 1.15rem;
}

.hm-main-contact .wpcf7 form {
  padding: 0.95rem;
}

.hm-main .wpcf7 form > p {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.hm-main-contact .wpcf7 form > p {
  gap: 0.62rem;
}

.hm-main .wpcf7 label {
  display: grid;
  gap: 0.34rem;
  color: var(--color-navy);
  font-size: 0.84rem;
  font-weight: 600;
}

.hm-main .wpcf7 label:has(textarea) {
  grid-column: span 2;
}

.hm-main .wpcf7 input[type="text"],
.hm-main .wpcf7 input[type="email"],
.hm-main .wpcf7 input[type="tel"],
.hm-main .wpcf7 textarea,
.hm-main .wpcf7 select {
  width: 100%;
  min-height: 46px;
  border-radius: 10px;
  border: 1px solid var(--color-line);
  background: var(--color-white);
  padding: 0.64rem 0.72rem;
  font: inherit;
  color: var(--color-ink);
}

.hm-main .wpcf7 textarea {
  min-height: 130px;
  resize: vertical;
}

.hm-main .wpcf7 input:focus,
.hm-main .wpcf7 textarea:focus,
.hm-main .wpcf7 select:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 2px var(--color-accent);
}

.hm-main .wpcf7 .wpcf7-form-control-wrap {
  display: block;
}

.hm-main .wpcf7 .wpcf7-not-valid-tip {
  margin-top: 0.28rem;
  font-size: 0.78rem;
}

.hm-main .wpcf7 .wpcf7-spinner {
  margin: 0.35rem 0 0 0.45rem;
}

.hm-main .wpcf7 .wpcf7-submit {
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--color-accent);
  color: var(--color-dark);
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.62rem 1.05rem;
  cursor: pointer;
  transition: transform 140ms ease, background-color 140ms ease;
}

.hm-main .wpcf7 .wpcf7-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.hm-main .wpcf7 form .wpcf7-response-output {
  margin: 0.8rem 0 0;
  border: 1px solid var(--color-line);
  background: var(--color-white);
  color: var(--color-body);
  border-radius: 10px;
  padding: 0.7rem 0.75rem;
  font-size: 0.84rem;
}

.hm-main-contact .hm-cta {
  margin-top: 1.2rem;
  padding: 1.1rem;
}

.hm-main-contact .hm-cta h2 {
  margin-top: 0.4rem;
}

.hm-main-contact .hm-cta p {
  margin-top: 0.5rem;
}

.hm-archive-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.hm-footer {
  margin-top: 2.2rem;
  background: #111d2d;
  color: #d0dbe7;
  border-top: 1px solid #27374d;
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1rem;
}

.hm-footer .hm-brand-name,
.hm-footer .hm-footer-title {
  color: #fff;
}

.hm-footer-col {
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.hm-footer-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hm-footer-copy {
  font-size: 0.9rem;
  color: #9eb2c7;
}

.hm-footer-nav {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.32rem;
}

.hm-footer-nav a {
  color: #d8e3ef;
  font-size: 0.9rem;
}

.hm-footer-nav a:hover {
  color: var(--color-accent);
}

.hm-footer-meta {
  justify-content: space-between;
}

.hm-social-list {
  margin: 0.45rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.hm-social-list li {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 0.88rem;
}

.hm-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.hm-social-icon {
  width: 1.18rem;
  height: 1.18rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hm-social-icon svg {
  width: 1.18rem;
  height: 1.18rem;
  fill: currentColor;
}

.hm-social-link-static {
  cursor: default;
}

.hm-social-platform {
  font-weight: 700;
}

.hm-social-label {
  color: inherit;
}

.hm-social-list-light .hm-social-platform {
  color: var(--color-navy);
}

.hm-social-list-light .hm-social-link {
  color: var(--color-navy);
  border-color: #c8d5e1;
  background: #ffffff;
}

.hm-social-list-light .hm-social-link:hover {
  color: #ffffff;
  background: var(--color-navy);
  border-color: var(--color-navy);
  transform: translateY(-1px);
}

.hm-social-list-footer .hm-social-platform {
  color: #ffffff;
}

.hm-social-list-footer .hm-social-link {
  color: #d8e3ef;
  border-color: #3a5069;
  background: rgba(255, 255, 255, 0.04);
}

.hm-social-list-footer .hm-social-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: rgba(244, 156, 47, 0.08);
  transform: translateY(-1px);
}

.hm-reveal {
  transition: opacity 560ms ease, transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Only hide-then-reveal when JS is available, so content never stays
   invisible if the script fails or is blocked (no more blank hero flash). */
.hm-js .hm-reveal {
  opacity: 0;
  transform: translateY(16px);
}

.hm-js .hm-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hm-js .hm-reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .hm-topbar,
  .hm-main,
  .hm-footer,
  .hm-topstrip {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hm-kpi-band,
  .hm-home-trust-logos,
  .hm-home-trust-metrics,
  .hm-grid-3,
  .hm-grid-2,
  .hm-home-resolve,
  .hm-home-split,
  .hm-services-banner,
  .hm-home-coverage,
  .hm-about-story,
  .hm-about-story-metrics,
  .hm-services-visual-row,
  .hm-about-split,
  .hm-contact-shell,
  .hm-contact-stack,
  .hm-about-gallery,
  .hm-steps,
	  .hm-archive-grid,
	  .hm-footer {
	    grid-template-columns: 1fr;
	  }

  .hm-about-photo,
  .hm-about-photo:first-child,
  .hm-about-photo:nth-child(2) {
    grid-column: 1 / -1;
    min-height: 260px;
  }
	}

@media (max-width: 900px) {
  .hm-container {
    width: 100%;
    border-radius: 0;
    margin-top: 0;
  }

  .hm-topstrip {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    padding-top: 0.46rem;
    padding-bottom: 0.46rem;
  }

  .hm-topbar {
    position: relative;
    z-index: 40;
  }

  .hm-hero {
    grid-template-columns: 1fr;
  }

  .hm-menu-toggle {
    display: inline-flex;
  }

  .hm-nav-wrap {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem 1rem 1rem;
    background: #fff;
    border-bottom: 1px solid var(--color-line);
    box-shadow: 0 12px 30px rgba(13, 26, 43, 0.16);
  }

  .hm-nav-wrap.is-open {
    display: flex;
  }

  .hm-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .hm-nav-list a {
    width: 100%;
  }

  .hm-form-grid {
    grid-template-columns: 1fr;
  }

  .hm-main .wpcf7 form > p {
    grid-template-columns: 1fr;
  }

  .hm-main .wpcf7 label:has(textarea) {
    grid-column: span 1;
  }

  .hm-field-full {
    grid-column: span 1;
  }
}

/* ==========================================================================
   PREMIUM UI ENHANCEMENTS — refresh 2026
   Evolutionary polish layer (depth, rhythm, editorial imagery, restrained
   microinteractions). Loaded last so it composes on top of the base theme
   without altering its structure. Sober palette preserved.
   ========================================================================== */

:root {
  --shadow-xs: 0 1px 2px rgba(15, 30, 52, 0.06);
  --shadow-card: 0 10px 30px -14px rgba(12, 24, 41, 0.20);
  --shadow-card-hover: 0 24px 50px -20px rgba(12, 24, 41, 0.30);
  --shadow-float: 0 12px 34px -16px rgba(12, 24, 41, 0.40);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Brand motif: accent tick before every eyebrow -------------------- */
.hm-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hm-eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent);
}

/* --- Header / nav ----------------------------------------------------- */
.hm-topbar {
  transition: box-shadow 220ms ease, border-color 220ms ease;
}

.hm-topbar.is-fixed {
  box-shadow: var(--shadow-float);
  border-bottom-color: transparent;
}

.hm-nav-list a {
  position: relative;
  border-bottom: 0;
  padding-bottom: 0.45rem;
}

.hm-nav-list a::after {
  content: "";
  position: absolute;
  left: 0.2rem;
  right: 0.2rem;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms var(--ease-out);
}

.hm-nav-list a:hover::after,
.hm-nav-list .current-menu-item > a::after,
.hm-nav-list .current_page_item > a::after {
  transform: scaleX(1);
}

/* --- Buttons: refined depth + directional arrow on primary ------------ */
.hm-btn {
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out),
    background-color 180ms ease;
}

.hm-btn-primary::after {
  content: "\2192";
  margin-left: 0.55rem;
  transform: translateX(-2px);
  transition: transform 200ms var(--ease-out);
}

.hm-btn-primary:hover::after {
  transform: translateX(3px);
}

.hm-btn-primary:hover {
  background: #ffa93f;
  box-shadow: 0 12px 26px -10px rgba(244, 156, 47, 0.55);
}

/* --- Cards: layered depth + livelier hover ---------------------------- */
.hm-card {
  box-shadow: var(--shadow-card);
}

.hm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: #c4d1dd;
}

.hm-service-card::before {
  transition: width 240ms var(--ease-out), background-color 240ms ease;
}

.hm-service-card:hover::before {
  width: 54px;
}

/* --- Home hero polish ------------------------------------------------- */
.hm-hero h1 {
  letter-spacing: -0.025em;
}

/* --- Home coverage: full-bleed operational photo, no floating circle -- */
.hm-home-coverage-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hm-home-coverage-has-image-2 {
  border: 0;
  padding: 0;
  min-height: 320px;
  background:
    linear-gradient(180deg, rgba(8, 18, 31, 0) 46%, rgba(8, 18, 31, 0.5) 100%),
    var(--hm-coverage-image-2) center / cover no-repeat;
  transition: transform 600ms var(--ease-out);
}

.hm-home-coverage-has-image-2 > span {
  display: none;
}

/* --- Home process steps: crisper number badges ------------------------ */
.hm-steps li {
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out),
    border-color 200ms ease;
}

.hm-steps li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: #c4d1dd;
}

.hm-steps li::before {
  background: linear-gradient(160deg, #16345b 0%, #0f243f 100%);
  color: #fff;
  border-color: transparent;
  font-family: var(--font-head);
}

/* --- Services banner + coverage image: gentle zoom on section hover --- */
.hm-services-banner:hover .hm-services-banner-visual {
  transform: scale(1.015);
}

.hm-services-banner-visual {
  transition: transform 600ms var(--ease-out);
}

/* --- Page hero (interior pages): more presence ------------------------ */
.hm-page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(244, 156, 47, 0.09) 0%, rgba(244, 156, 47, 0) 42%),
    linear-gradient(160deg, #ffffff 0%, #eef4fa 100%);
  box-shadow: var(--shadow-xs);
}

/* --- Nosotros: fill the dark "Base operativa" card, richer metrics ---- */
.hm-about-story-card {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(244, 156, 47, 0.12) 0%, rgba(244, 156, 47, 0) 46%),
    linear-gradient(160deg, #163453 0%, #102740 100%);
}

.hm-about-story-card .hm-eyebrow,
.hm-about-story-card h3,
.hm-about-story-card p {
  position: relative;
  z-index: 1;
}

/* route-line motif anchored to the bottom fills the card meaningfully */
.hm-about-story-card::before {
  content: "";
  position: absolute;
  left: 1.3rem;
  right: 1.3rem;
  bottom: 1.35rem;
  height: 2px;
  z-index: 1;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.26) 0 8px,
    transparent 8px 16px
  );
}

.hm-about-story-card p {
  margin-bottom: 1.9rem;
}

.hm-about-story-metrics article {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.hm-about-story-metrics article::before {
  content: "";
  position: absolute;
  left: 0.7rem;
  top: 0;
  width: 22px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--color-accent);
}

.hm-about-story-metrics article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.hm-about-story-metrics strong {
  font-size: 1.5rem;
}

/* --- Nosotros gallery: editorial hover (zoom + scrim + caption) ------- */
.hm-about-photo {
  box-shadow: var(--shadow-card);
}

.hm-about-photo img {
  transition: transform 700ms var(--ease-out);
}

.hm-about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(8, 18, 31, 0) 42%,
    rgba(8, 18, 31, 0.62) 100%
  );
  transition: opacity 320ms ease;
}

.hm-about-photo:hover img {
  transform: scale(1.06);
}

.hm-about-photo figcaption {
  z-index: 2;
  left: 1rem;
  bottom: 0.95rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  transition: transform 320ms var(--ease-out);
}

.hm-about-photo figcaption::before {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent);
}

.hm-about-photo:hover figcaption {
  transform: translateY(-3px);
}

/* --- Final CTA blocks: soft accent glow ------------------------------- */
.hm-cta {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.hm-cta::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 156, 47, 0.18) 0%, rgba(244, 156, 47, 0) 68%);
  pointer-events: none;
}

.hm-cta > * {
  position: relative;
  z-index: 1;
}

/* --- Contact: make the no-form fallback look intentional -------------- */
.hm-form-note {
  margin-top: 1rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--color-line);
  border-left: 3px solid var(--color-accent);
  border-radius: 10px;
  background: var(--color-soft);
  color: #4a5a6a;
}

.hm-contact-list a {
  transition: color 160ms ease;
}

.hm-contact-list a:hover {
  color: var(--color-accent);
}

/* --- Responsive polish ------------------------------------------------ */
@media (max-width: 900px) {
  .hm-hero-copy {
    border-radius: var(--radius-md);
  }

  /* full scrim on mobile — text sits directly over the photo */
  .hm-hero-has-bg .hm-hero-copy::before {
    background: linear-gradient(
      180deg,
      rgba(8, 18, 31, 0.82) 0%,
      rgba(8, 18, 31, 0.66) 52%,
      rgba(8, 18, 31, 0.8) 100%
    );
  }

  .hm-home-coverage-has-image-2 {
    min-height: 240px;
  }

  .hm-about-story-metrics article::before {
    left: 0.7rem;
  }
}

/* ==========================================================================
   ITERATION 2 — Editorial direction
   Timeline, real-photo bands, editorial gallery, card icons, stronger CTAs,
   sticky contact, header polish, mobile compaction, staggered reveals.
   ========================================================================== */

/* --- Utilities --- */
.hm-btn-lg {
  min-height: 52px;
  padding: 0.82rem 1.5rem;
  font-size: 0.92rem;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hm-nav-list a {
  letter-spacing: 0.01em;
}

/* --- Header: mobile hamburger icon --- */
.hm-menu-toggle-bars,
.hm-menu-toggle-bars::before,
.hm-menu-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-navy);
  transition: transform 240ms var(--ease-out), opacity 160ms ease, background-color 160ms ease;
}

.hm-menu-toggle-bars {
  position: relative;
}

.hm-menu-toggle-bars::before {
  content: "";
  position: absolute;
  left: 0;
  top: -6px;
}

.hm-menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
}

.hm-menu-toggle[aria-expanded="true"] .hm-menu-toggle-bars {
  background: transparent;
}

.hm-menu-toggle[aria-expanded="true"] .hm-menu-toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}

.hm-menu-toggle[aria-expanded="true"] .hm-menu-toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* --- Hero: service microdata chips --- */
.hm-hero-chips {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hm-hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e6eef6;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  padding: 0.34rem 0.72rem 0.34rem 0.56rem;
}

.hm-chip-icon {
  display: inline-flex;
  color: var(--color-accent);
}

.hm-chip-icon svg {
  width: 16px;
  height: 16px;
}

/* --- Home coverage copy (plain variant, borderless) --- */
.hm-home-coverage-copy-plain {
  border: 0;
  padding: 0.95rem 0.2rem;
}

/* --- Home "Operación en campo": real operational photos --- */
.hm-field-ops-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.hm-field-photo {
  position: relative;
  margin: 0;
  min-height: 240px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-card);
}

.hm-field-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  transition: transform 700ms var(--ease-out);
}

.hm-field-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 31, 0) 45%, rgba(8, 18, 31, 0.62) 100%);
}

.hm-field-photo:hover img {
  transform: scale(1.06);
}

.hm-field-photo figcaption {
  position: absolute;
  left: 1rem;
  bottom: 0.9rem;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hm-field-photo figcaption::before {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent);
}

/* --- Process timeline --- */
.hm-timeline {
  position: relative;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.hm-timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  z-index: 0;
  background: repeating-linear-gradient(90deg, #cdd8e3 0 9px, transparent 9px 17px);
}

.hm-timeline-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hm-timeline-node {
  position: relative;
  z-index: 1;
  margin: 0 auto 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(160deg, #16345b 0%, #0f243f 100%);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  border: 3px solid var(--color-white);
  box-shadow: 0 8px 18px -8px rgba(12, 24, 41, 0.5);
}

.hm-timeline-icon {
  display: inline-flex;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
}

.hm-timeline-icon svg {
  width: 24px;
  height: 24px;
}

.hm-timeline-body h3 {
  font-size: 1.02rem;
}

.hm-timeline-body p {
  margin: 0.42rem auto 0;
  max-width: 30ch;
  color: var(--color-body);
  font-size: 0.9rem;
}

.hm-timeline-step:nth-child(2) {
  transition-delay: 80ms;
}

.hm-timeline-step:nth-child(3) {
  transition-delay: 160ms;
}

.hm-timeline-step:nth-child(4) {
  transition-delay: 240ms;
}

/* --- Nosotros editorial gallery --- */
.hm-about-editorial-head {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1rem 1.4rem;
  align-items: end;
}

.hm-about-editorial-lead {
  justify-self: end;
  max-width: 34ch;
  text-align: right;
  color: var(--color-body);
  font-size: 1.02rem;
}

.hm-about-editorial-grid {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 150px;
  gap: 0.7rem;
}

.hm-about-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-card);
}

.hm-about-tile-lead {
  grid-column: span 2;
  grid-row: span 2;
}

.hm-about-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms var(--ease-out);
}

.hm-about-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 31, 0) 44%, rgba(8, 18, 31, 0.64) 100%);
}

.hm-about-tile:hover img {
  transform: scale(1.06);
}

.hm-about-tile figcaption {
  position: absolute;
  left: 0.85rem;
  bottom: 0.75rem;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hm-about-tile figcaption::before {
  content: "";
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent);
}

.hm-about-tile-lead figcaption {
  left: 1rem;
  bottom: 0.95rem;
  font-size: 0.86rem;
}

/* --- Card icons (Misión / Visión) + value-card accent --- */
.hm-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--color-line);
  background: linear-gradient(160deg, #eef4fa 0%, #ffffff 100%);
  color: var(--color-navy);
}

.hm-card-icon svg {
  width: 23px;
  height: 23px;
}

.hm-about-commitments .hm-card {
  position: relative;
  overflow: hidden;
}

.hm-about-commitments .hm-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.1rem;
  width: 34px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--color-accent);
  transition: width 240ms var(--ease-out);
}

.hm-about-commitments .hm-card:hover::before {
  width: 58px;
}

/* --- CTA: solid navy + subtle logistic image + direct contact --- */
.hm-cta {
  background: linear-gradient(162deg, #143154 0%, #0f2238 100%);
}

.hm-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url(assets/images/about/patio-contenedores-evergreen.jpeg) center / cover no-repeat;
  opacity: 0.1;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

.hm-cta-inner {
  position: relative;
  z-index: 1;
}

.hm-cta-contact {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
}

.hm-cta-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #e6eef6;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 160ms ease;
}

.hm-cta-contact-item:hover {
  color: var(--color-accent);
}

.hm-cta-contact-icon {
  display: inline-flex;
  color: var(--color-accent);
}

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

/* --- Contact: hierarchy + sticky side block --- */
.hm-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hm-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--color-line);
  background: #f1f6fa;
  color: var(--color-navy);
}

.hm-contact-icon svg {
  width: 19px;
  height: 19px;
}

.hm-contact-detail {
  display: grid;
  gap: 0.12rem;
}

/* --- Staggered reveal for grouped items --- */
.hm-js .hm-reveal.hm-stagger {
  opacity: 1;
  transform: none;
}

.hm-js .hm-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
}

.hm-js .hm-stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

.hm-stagger.is-visible > *:nth-child(2) {
  transition-delay: 70ms;
}

.hm-stagger.is-visible > *:nth-child(3) {
  transition-delay: 140ms;
}

.hm-stagger.is-visible > *:nth-child(4) {
  transition-delay: 210ms;
}

.hm-stagger.is-visible > *:nth-child(5) {
  transition-delay: 280ms;
}

@media (prefers-reduced-motion: reduce) {
  .hm-js .hm-stagger > * {
    opacity: 1;
    transform: none;
  }
}

/* --- Sticky contact side block (desktop only) --- */
@media (min-width: 1121px) {
  .hm-contact-stack {
    position: sticky;
    top: 92px;
    align-self: start;
  }
}

/* --- Tablet / mobile compaction --- */
@media (max-width: 1120px) {
  /* keep the KPI metrics as a compact row instead of stacking tall */
  .hm-about-story-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hm-about-editorial-head {
    grid-template-columns: 1fr;
  }

  .hm-about-editorial-lead {
    justify-self: start;
    text-align: left;
  }

  .hm-about-editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 150px;
  }

  .hm-about-tile-lead {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 210px;
  }
}

@media (max-width: 760px) {
  /* Process → vertical timeline */
  .hm-timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hm-timeline::before {
    top: 6px;
    bottom: 6px;
    left: 21px;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, #cdd8e3 0 9px, transparent 9px 17px);
  }

  .hm-timeline-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0.9rem;
    text-align: left;
    padding-bottom: 1.15rem;
  }

  .hm-timeline-node {
    margin: 0;
  }

  .hm-timeline-icon {
    margin-bottom: 0.2rem;
  }

  .hm-timeline-body p {
    margin-left: 0;
    max-width: none;
  }

  /* Values → 2 columns to halve vertical weight */
  .hm-about-commitments .hm-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Field ops photos stack a touch shorter */
  .hm-field-ops-grid {
    grid-template-columns: 1fr;
  }

  .hm-field-photo {
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .hm-about-editorial-grid {
    grid-auto-rows: 128px;
  }

  .hm-about-story-metrics strong {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   ITERATION 3 — Client portal access + commercial density
   Sober outline CTA, contextual portal blocks, services tracking band,
   tighter mobile header / Home / Nosotros.
   ========================================================================== */

/* --- Sober outline button (portal / secondary access) --- */
.hm-btn-outline {
  color: var(--color-navy);
  border-color: #b9c8d6;
  background: transparent;
  gap: 0.45rem;
}

.hm-btn-outline:hover {
  border-color: var(--color-navy);
  background: var(--color-navy);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.hm-btn-outline svg {
  width: 18px;
  height: 18px;
}

/* Primary button arrow is decorative; suppress it on the outline variant */
.hm-btn-outline::after {
  content: none;
}

/* --- Header nav: "Acceso clientes" --- */
.hm-nav-cta {
  margin-left: 0.3rem;
}

.hm-nav-cta-icon {
  display: inline-flex;
}

.hm-nav-cta-icon svg {
  width: 17px;
  height: 17px;
}

/* --- Footer portal link --- */
.hm-footer-portal {
  font-weight: 700;
  color: #ffffff;
}

/* --- Home process → portal note --- */
.hm-process-portal {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem 1.1rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--color-line);
  border-left: 3px solid var(--color-accent);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.hm-process-portal-icon {
  display: inline-flex;
  color: var(--color-accent);
}

.hm-process-portal-icon svg {
  width: 24px;
  height: 24px;
}

.hm-process-portal p {
  flex: 1 1 260px;
  margin: 0;
  color: var(--color-navy);
  font-weight: 600;
  font-size: 0.95rem;
}

.hm-process-portal .hm-btn {
  flex: 0 0 auto;
}

/* --- Contact: "Clientes activos" highlighted block --- */
.hm-clients-block {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon copy"
    "btn btn";
  gap: 0.3rem 0.9rem;
  align-items: center;
  border-color: #284a70;
  background: linear-gradient(160deg, #16345b 0%, #0f243f 100%);
}

.hm-clients-block-icon {
  grid-area: icon;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--color-accent);
}

.hm-clients-block-icon svg {
  width: 23px;
  height: 23px;
}

.hm-clients-block-copy {
  grid-area: copy;
}

.hm-clients-block .hm-eyebrow {
  color: #9cb2c9;
}

.hm-clients-block h3 {
  margin-top: 0.24rem;
  color: #ffffff;
  font-size: 1.02rem;
}

.hm-clients-block-btn {
  grid-area: btn;
  margin-top: 0.75rem;
  justify-self: start;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.hm-clients-block-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-dark);
}

/* --- Services: operational tracking band --- */
.hm-tracking-band {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 0.9rem;
  align-items: stretch;
  padding: 1.3rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  box-shadow: var(--shadow-card);
}

.hm-tracking-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hm-tracking-copy h2 {
  margin-top: 0.55rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.hm-tracking-copy p {
  margin-top: 0.62rem;
  color: var(--color-body);
  max-width: 52ch;
}

.hm-tracking-copy .hm-actions {
  margin-top: 1.1rem;
}

.hm-tracking-visual {
  min-height: 250px;
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 18, 31, 0) 45%, rgba(8, 18, 31, 0.45) 100%),
    var(--hm-tracking-img) center / cover no-repeat;
}

/* --- Header: mobile access CTA (dropdown) --- */
@media (max-width: 900px) {
  .hm-nav-cta {
    margin: 0.7rem 0 0;
    width: 100%;
    justify-content: center;
  }
}

/* --- Mobile compaction --- */
@media (max-width: 900px) {
  /* Header: tighter topbar, no wrapping subtitle */
  .hm-topbar {
    padding-top: 0.72rem;
    padding-bottom: 0.72rem;
  }

  .hm-brand-subtitle {
    display: none;
  }

  /* Nosotros "Quiénes somos": denser */
  .hm-about-story {
    gap: 0.7rem;
  }

  .hm-about-story-main {
    padding: 1.05rem;
  }

  .hm-about-story-main h2 {
    font-size: clamp(1.3rem, 5vw, 1.7rem);
  }

  .hm-about-story-main p {
    margin-top: 0.5rem;
  }

  .hm-about-story-points {
    margin-top: 0.75rem;
  }

  .hm-about-story-points li {
    padding-top: 0.42rem;
  }

  .hm-about-story-card {
    padding: 1.05rem;
  }

  .hm-about-story-card p {
    margin-bottom: 1.4rem;
  }

  .hm-about-story-side {
    gap: 0.6rem;
  }

  /* Services tracking band stacks */
  .hm-tracking-band {
    grid-template-columns: 1fr;
    padding: 1.05rem;
  }

  .hm-tracking-visual {
    min-height: 190px;
  }
}

@media (max-width: 760px) {
  /* Topstrip: keep phone + email on a single line */
  .hm-topstrip {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 1.3rem;
  }

  .hm-topstrip-item:nth-child(1),
  .hm-topstrip-item:nth-child(2) {
    display: none;
  }

  /* Home field ops: lead full-width + two below */
  .hm-field-ops-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hm-field-photo {
    min-height: 158px;
  }

  .hm-field-photo-lead {
    grid-column: 1 / -1;
    min-height: 200px;
  }
}

@media (max-width: 430px) {
  /* Very small: phone only in topstrip */
  .hm-topstrip-item:nth-child(4) {
    display: none;
  }
}
