/* ==========================================================================
   Klempnerservice Notdienst 24 — home.css
   Homepage-only styles. Loaded after global.css (replaces style.css on index.php).
   All classes are prefixed "hx-" so nothing here can leak into other pages.
   Brand tokens come from global.css (:root).
   ========================================================================== */

/* ---------- Base helpers ---------- */

.hx-ico {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-endeavour);
}
.hx-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.hx-on-dark .hx-eyebrow,
.hx-hero .hx-eyebrow {
  color: #8fc2f0;
}

.hx-lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--color-text-soft);
}

/* Scroll reveal — only hidden when JS is available (html.js is set in <head>) */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s var(--ease) var(--d, 0s),
    transform 0.7s var(--ease) var(--d, 0s);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hx-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1000px 520px at 85% 0%, rgba(0, 83, 153, 0.75), transparent 70%),
    linear-gradient(165deg, #022754 0%, #02306a 60%, #013a78 100%);
  padding: 64px 0 150px;
}

.hx-hero-pipe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.9;
}
.hx-hero-pipe path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 2;
}

.hx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 72px;
  align-items: center;
}

.hx-hero-copy {
  animation: hxRise 0.8s var(--ease) both;
}

.hx-hero h1 {
  color: #fff;
  font-weight: 800;
  font-size: clamp(2rem, 1.1rem + 3.4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.hx-hero h1 .hx-l {
  display: block;
  white-space: nowrap;
}
.hx-hero h1 .hx-247 {
  color: #ff5a63;
}

.hx-hero-desc {
  max-width: 37rem;
  margin: 0 0 34px;
  font-size: 1.12rem;
  line-height: 1.7;
  color: rgba(238, 244, 250, 0.88);
}

.hx-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hx-hero-ctas .btn {
  padding: 17px 30px;
  font-size: 1rem;
}
.hx-hero-ctas .btn-primary {
  animation: hxPulse 2.8s ease-in-out 1.2s infinite;
}

.hx-hero-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 0;
  font-size: 0.95rem;
  color: rgba(238, 244, 250, 0.75);
}
.hx-hero-phone a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.28);
  transition: border-color 0.2s var(--ease);
}
.hx-hero-phone a:hover {
  border-color: #ff5a63;
}

/* Media composition */
.hx-hero-media {
  position: relative;
  padding: 0 0 36px 44px;
  animation: hxRise 0.9s var(--ease) 0.12s both;
}
.hx-hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px 28px 130px 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-navy-light);
}
.hx-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.hx-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(2, 39, 84, 0.45));
}
.hx-hero-media::before {
  content: "";
  position: absolute;
  top: 22px;
  right: -16px;
  bottom: 14px;
  left: 70px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px 28px 130px 28px;
  z-index: -1;
}

.hx-hero-inset {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36%;
  aspect-ratio: 3 / 4;
  border: 5px solid #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.hx-hero-inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hx-hero-inset span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 10px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  background: linear-gradient(0deg, rgba(2, 39, 84, 0.92), transparent);
}

.hx-badge {
  position: absolute;
  top: 26px;
  right: -14px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 270px;
  padding: 14px 18px 14px 14px;
  background: #fff;
  color: var(--color-navy);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}
.hx-badge-num {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  position: relative;
}
.hx-badge-num::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22b357;
  border: 2px solid #fff;
  animation: hxDot 2s ease-out infinite;
}
.hx-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.25;
}
.hx-badge small {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--color-text-soft);
}

@keyframes hxRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes hxPulse {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(239, 0, 11, 0.28);
  }
  50% {
    box-shadow: 0 10px 24px rgba(239, 0, 11, 0.28), 0 0 0 10px rgba(239, 0, 11, 0.12);
  }
}
@keyframes hxDot {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 179, 87, 0.55);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(34, 179, 87, 0);
  }
}

/* ==========================================================================
   FACT STRIP (overlaps hero)
   ========================================================================== */

.hx-strip {
  position: relative;
  z-index: 2;
  margin-top: -78px;
}
.hx-strip-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-line);
}
.hx-fact {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 26px 26px;
  position: relative;
}
.hx-fact + .hx-fact::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: var(--color-line);
}
.hx-fact .hx-ico {
  width: 28px;
  height: 28px;
  color: var(--color-endeavour);
  margin-top: 2px;
}
.hx-fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.3;
  color: var(--color-navy);
}
.hx-fact span {
  display: block;
  margin-top: 3px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--color-text-soft);
}

/* ==========================================================================
   SERVICES
   ========================================================================== */

.hx-services {
  padding: 112px 0 104px;
}
.hx-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 56px;
}
.hx-head h2 {
  margin: 0;
  text-wrap: balance;
}
.hx-head p {
  margin: 0;
}

.hx-svc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 72px;
  align-items: start;
}

.hx-svc-list {
  border-bottom: 1px solid var(--color-line);
}
.hx-svc {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 40px;
  gap: 18px;
  align-items: center;
  padding: 26px 8px 26px 4px;
  border-top: 1px solid var(--color-line);
  transition: background 0.25s var(--ease), padding 0.25s var(--ease);
}
.hx-svc-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: #9eb0c4;
  transition: color 0.25s var(--ease);
}
.hx-svc h3 {
  margin: 0 0 4px;
  font-size: 1.3rem;
  transition: color 0.25s var(--ease);
}
.hx-svc p {
  margin: 0;
  max-width: 34rem;
  font-size: 0.97rem;
  line-height: 1.55;
}
.hx-svc-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--color-line);
  color: var(--color-navy);
  transition: all 0.25s var(--ease);
}
.hx-svc-arrow .hx-ico {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}
.hx-svc-thumb {
  display: none;
}
.hx-svc:hover,
.hx-svc:focus-visible,
.hx-svc.is-active {
  background: linear-gradient(90deg, var(--color-ice), rgba(244, 248, 251, 0));
  padding-left: 14px;
}
.hx-svc:hover h3,
.hx-svc.is-active h3 {
  color: var(--color-endeavour);
}
.hx-svc:hover .hx-svc-num,
.hx-svc.is-active .hx-svc-num {
  color: var(--color-red);
}
.hx-svc:hover .hx-svc-arrow,
.hx-svc.is-active .hx-svc-arrow {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #fff;
  transform: translateX(4px);
}

.hx-svc-more {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
  margin-top: 26px;
  font-size: 0.95rem;
  color: var(--color-text-soft);
}
.hx-svc-more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--color-endeavour);
  border-bottom: 1.5px solid rgba(0, 83, 153, 0.25);
  transition: border-color 0.2s var(--ease);
}
.hx-svc-more a:hover {
  border-color: var(--color-endeavour);
}

.hx-svc-visual {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  aspect-ratio: 4 / 5;
  border-radius: 24px 24px 24px 100px;
  overflow: hidden;
  background: var(--color-navy);
  box-shadow: var(--shadow-lg);
}
.hx-svc-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.5s var(--ease), transform 0.9s var(--ease);
}
.hx-svc-visual img.is-active {
  opacity: 1;
  transform: none;
}
.hx-svc-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(2, 39, 84, 0.7));
}
.hx-svc-caption {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 22px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hx-svc-caption::before {
  content: "";
  width: 22px;
  height: 2px;
  background: #ff5a63;
}

/* ==========================================================================
   TRUST
   ========================================================================== */

.hx-trust {
  padding: 104px 0;
  background: var(--color-ice);
}
.hx-trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 80px;
  align-items: center;
}
.hx-trust-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 100px 24px 24px 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hx-trust-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hx-trust h2 {
  text-wrap: balance;
}
.hx-trust-list {
  margin-top: 34px;
  border-top: 1px solid var(--color-line);
}
.hx-trust-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-line);
}
.hx-trust-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  color: var(--color-endeavour);
  box-shadow: var(--shadow-sm);
}
.hx-trust-item h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}
.hx-trust-item p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ==========================================================================
   PROCESS
   ========================================================================== */

.hx-process {
  padding: 104px 0;
}
.hx-process-head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.hx-process-head .hx-eyebrow {
  justify-content: center;
}
.hx-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.hx-steps::before {
  content: "";
  position: absolute;
  left: 16.6%;
  right: 16.6%;
  top: 34px;
  height: 0;
  border-top: 2px dashed var(--color-line);
}
.hx-step {
  position: relative;
  text-align: center;
  padding: 0 12px;
}
.hx-step-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--color-navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--color-navy);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.hx-step:hover .hx-step-num {
  background: var(--color-navy);
  color: #fff;
  transform: translateY(-4px);
}
.hx-step:last-child .hx-step-num {
  border-color: var(--color-red);
  color: var(--color-red);
}
.hx-step:last-child:hover .hx-step-num {
  background: var(--color-red);
  color: #fff;
}
.hx-step h3 {
  margin-bottom: 10px;
}
.hx-step p {
  max-width: 21rem;
  margin: 0 auto;
}

/* ==========================================================================
   COVERAGE (Deutschlandweit)
   ========================================================================== */

.hx-coverage {
  position: relative;
  overflow: hidden;
  padding: 104px 0;
  color: #fff;
  background: linear-gradient(160deg, #022754 0%, #013463 60%, #004482 100%);
}
.hx-coverage::before {
  content: "";
  position: absolute;
  right: -180px;
  top: 50%;
  width: 760px;
  height: 760px;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 0 0 90px rgba(255, 255, 255, 0.018),
    0 0 0 91px rgba(255, 255, 255, 0.06),
    0 0 0 180px rgba(255, 255, 255, 0.012),
    0 0 0 181px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.hx-coverage-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 72px;
  align-items: center;
}
.hx-coverage h2 {
  color: #fff;
}
.hx-coverage p {
  color: rgba(238, 244, 250, 0.82);
}
.hx-coverage .hx-note {
  margin: 28px 0 32px;
  padding-left: 18px;
  border-left: 3px solid #ff5a63;
  font-size: 0.98rem;
}
.hx-regions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.hx-region {
  padding: 22px 22px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.hx-region:hover {
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-3px);
}
.hx-region h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8fc2f0;
}
.hx-region h3 .hx-ico {
  width: 18px;
  height: 18px;
}
.hx-region ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.hx-region li {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #fff;
}

/* Coverage: linked local pages */
.hx-region--links {
  grid-column: 1 / -1;
}
.hx-region--links a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.hx-region--links a:hover,
.hx-region--links a:focus-visible {
  color: #8fc2f0;
  border-color: #8fc2f0;
}

/* ==========================================================================
   PRICING
   ========================================================================== */

.hx-pricing {
  padding: 104px 0;
}
.hx-pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: start;
}
.hx-pricing h2 {
  text-wrap: balance;
}
.hx-pricing-aside {
  margin-top: 30px;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--color-ice);
  border: 1px solid var(--color-line);
}
.hx-pricing-aside strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  color: var(--color-navy);
}
.hx-pricing-aside p {
  margin: 0;
  font-size: 0.97rem;
}
.hx-factors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--color-line);
  border-radius: 22px;
  overflow: hidden;
}
.hx-factor {
  padding: 32px 30px 34px;
  background: #fff;
  transition: background 0.25s var(--ease);
}
.hx-factor:nth-child(odd) {
  border-right: 1px solid var(--color-line);
}
.hx-factor:nth-child(-n + 2) {
  border-bottom: 1px solid var(--color-line);
}
.hx-factor:hover {
  background: var(--color-ice);
}
.hx-factor .hx-ico {
  width: 30px;
  height: 30px;
  margin-bottom: 18px;
  color: var(--color-endeavour);
}
.hx-factor h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}
.hx-factor p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ==========================================================================
   EMERGENCY HELP
   ========================================================================== */

.hx-emergency {
  position: relative;
  padding: 104px 0;
  background: var(--color-ice);
}
.hx-emergency-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}
.hx-emergency-head h2 {
  margin: 0 0 12px;
}
.hx-emergency-head p {
  margin: 0;
  max-width: 40rem;
}
.hx-emergency-head .hx-eyebrow {
  color: var(--color-red);
}
.hx-emergency-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hx-aid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hx-aid {
  position: relative;
  padding: 34px 30px 32px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.hx-aid::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 5px;
  background: var(--color-endeavour);
}
.hx-aid:first-child::before {
  background: var(--color-navy);
}
.hx-aid.is-red::before {
  background: var(--color-red);
}
.hx-aid:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.hx-aid h3 {
  margin: 0 0 18px;
  font-size: 1.15rem;
}
.hx-aid ul {
  display: grid;
  gap: 14px;
}
.hx-aid li {
  position: relative;
  padding-left: 28px;
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--color-text);
}
.hx-aid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-mist)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-4.9' fill='none' stroke='%23005399' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 16px no-repeat;
}
.hx-danger {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 18px 24px;
  border-radius: 16px;
  background: #fff4f4;
  border: 1px solid #ffd0d3;
  color: #7a0006;
  font-size: 0.97rem;
  line-height: 1.5;
}
.hx-danger .hx-ico {
  width: 28px;
  height: 28px;
  color: var(--color-red);
}
.hx-danger strong {
  color: var(--color-red-dark);
}

/* ==========================================================================
   FAQ (uses .faq-item / .faq-question markup so js/main.js handles toggling)
   ========================================================================== */

.hx-faq {
  padding: 104px 0;
}
.hx-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 80px;
  align-items: start;
}
.hx-faq-intro {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}
.hx-faq-intro p {
  margin-bottom: 26px;
}
.hx-faq .faq-list {
  border-top: 1px solid var(--color-line);
}
.hx-faq .faq-item {
  border-bottom: 1px solid var(--color-line);
}
.hx-faq .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 26px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.35;
  color: var(--color-navy);
  transition: color 0.2s var(--ease);
}
.hx-faq .faq-question:hover {
  color: var(--color-endeavour);
}
.hx-faq .icon-plus {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--color-line);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.hx-faq .icon-plus::before,
.hx-faq .icon-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 2px;
  background: var(--color-navy);
  transition: transform 0.3s var(--ease), background 0.2s var(--ease);
}
.hx-faq .icon-plus::after {
  transform: rotate(90deg);
}
.hx-faq .faq-item.is-open .icon-plus {
  background: var(--color-navy);
  border-color: var(--color-navy);
}
.hx-faq .faq-item.is-open .icon-plus::before,
.hx-faq .faq-item.is-open .icon-plus::after {
  background: #fff;
}
.hx-faq .faq-item.is-open .icon-plus::after {
  transform: rotate(0deg);
}
.hx-faq .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.hx-faq .faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}
.hx-faq .faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}
.hx-faq .faq-answer-inner p {
  margin: 0;
  padding: 0 60px 28px 0;
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ==========================================================================
   FINAL CTA + CONTACT FORM
   ========================================================================== */

.hx-contact {
  position: relative;
  overflow: hidden;
  padding: 104px 0;
  color: #fff;
  background:
    radial-gradient(800px 420px at 0% 100%, rgba(0, 83, 153, 0.7), transparent 70%),
    linear-gradient(165deg, #022754 0%, #02306a 100%);
}
.hx-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.hx-contact h2 {
  color: #fff;
  text-wrap: balance;
}
.hx-contact p {
  color: rgba(238, 244, 250, 0.84);
}
.hx-contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 10px 0 28px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  letter-spacing: -0.01em;
  color: #fff;
}
.hx-contact-phone .hx-ico-wrap {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  flex: none;
  border-radius: 50%;
  background: var(--color-red);
  box-shadow: var(--shadow-red);
}
.hx-contact-phone .hx-ico {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}
.hx-contact-phone:hover .hx-ico-wrap {
  background: var(--color-red-dark);
}
.hx-contact-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}
.hx-contact-meta {
  display: grid;
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hx-contact-meta li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
  color: rgba(238, 244, 250, 0.9);
}
.hx-contact-meta .hx-ico {
  width: 22px;
  height: 22px;
  color: #8fc2f0;
}
.hx-contact-meta a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.hx-contact-meta a:hover {
  border-color: #fff;
}

/* Form card */
.contact-form-card {
  padding: 40px 38px 34px;
  border-radius: 24px;
  background: #fff;
  color: var(--color-text);
  box-shadow: var(--shadow-lg);
}
.contact-form-card h3 {
  margin: 0 0 6px;
}
.hx-contact .contact-form-card p {
  color: var(--color-text-soft);
}
.contact-form-card .hx-form-sub {
  margin: 0 0 24px;
  font-size: 0.96rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-navy);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-ice);
  border: 1.5px solid var(--color-line);
  border-radius: 12px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-group textarea {
  min-height: 118px;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--color-endeavour);
  box-shadow: 0 0 0 4px rgba(0, 83, 153, 0.14);
}
.form-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 4px 0 20px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-soft);
}
.form-consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-navy);
}
.form-status {
  margin: 14px 0 0;
  min-height: 1.4em;
  font-size: 0.92rem;
  font-weight: 600;
}
.form-status.is-success {
  color: #12803d;
}
.form-status.is-error {
  color: var(--color-red-dark);
}
.form-note {
  margin: 8px 0 0;
  font-size: 0.88rem;
}
.form-note a {
  font-weight: 700;
  color: var(--color-navy);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1100px) {
  .hx-hero-grid {
    gap: 40px;
  }
  .hx-svc-layout,
  .hx-trust-grid,
  .hx-coverage-grid,
  .hx-pricing-grid,
  .hx-contact-grid {
    gap: 48px;
  }
  .hx-strip-card {
    grid-template-columns: 1fr 1fr;
  }
  .hx-fact:nth-child(3)::before {
    display: none;
  }
  .hx-fact:nth-child(n + 3) {
    border-top: 1px solid var(--color-line);
  }
}

@media (max-width: 900px) {
  .hx-hero {
    padding: 44px 0 120px;
  }
  .hx-hero-grid {
    grid-template-columns: 1fr;
  }
  .hx-hero-media {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
  .hx-hero-photo {
    aspect-ratio: 5 / 4;
    border-radius: 24px 24px 90px 24px;
  }

  .hx-head,
  .hx-svc-layout,
  .hx-trust-grid,
  .hx-coverage-grid,
  .hx-pricing-grid,
  .hx-faq-grid,
  .hx-contact-grid {
    grid-template-columns: 1fr;
  }
  .hx-head {
    gap: 14px;
    margin-bottom: 36px;
  }
  .hx-svc-visual {
    display: none;
  }
  .hx-svc {
    grid-template-columns: 76px minmax(0, 1fr) 36px;
    gap: 16px;
    padding: 18px 0;
  }
  .hx-svc-num {
    display: none;
  }
  .hx-svc-thumb {
    display: block;
    width: 76px;
    height: 76px;
    border-radius: 14px;
    object-fit: cover;
  }
  .hx-svc:hover,
  .hx-svc.is-active {
    padding-left: 0;
    background: none;
  }
  .hx-svc h3 {
    font-size: 1.1rem;
  }
  .hx-svc p {
    font-size: 0.92rem;
  }
  .hx-svc-arrow {
    width: 34px;
    height: 34px;
  }

  .hx-trust-photo {
    max-width: 440px;
    aspect-ratio: 5 / 4;
    border-radius: 80px 24px 24px 24px;
  }

  .hx-steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hx-steps::before {
    left: 35px;
    right: auto;
    top: 36px;
    bottom: 36px;
    height: auto;
    border-top: 0;
    border-left: 2px dashed var(--color-line);
  }
  .hx-step {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 22px;
    text-align: left;
    padding: 0;
  }
  .hx-step-num {
    margin: 0;
  }
  .hx-step p {
    margin: 0;
    max-width: none;
  }

  .hx-faq-intro {
    position: static;
  }
  .hx-emergency-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hx-aid-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hx-hero {
    padding: 32px 0 108px;
  }
  .hx-hero h1 {
    margin-bottom: 18px;
  }
  .hx-hero-desc {
    font-size: 1rem;
    margin-bottom: 26px;
  }
  .hx-hero-ctas {
    flex-direction: column;
  }
  .hx-hero-ctas .btn {
    width: 100%;
  }
  .hx-hero-media {
    padding: 0 0 28px 0;
  }
  .hx-hero-media::before {
    display: none;
  }
  .hx-hero-inset {
    left: 12px;
    width: 30%;
    border-width: 4px;
  }
  .hx-hero-inset span {
    display: none;
  }
  .hx-badge {
    top: 14px;
    right: 12px;
    left: 12px;
    max-width: none;
  }

  .hx-strip {
    margin-top: -64px;
  }
  .hx-strip-card {
    grid-template-columns: 1fr;
  }
  .hx-fact {
    padding: 18px 20px;
  }
  .hx-fact::before {
    display: none;
  }
  .hx-fact + .hx-fact {
    border-top: 1px solid var(--color-line);
  }

  .hx-services,
  .hx-trust,
  .hx-process,
  .hx-coverage,
  .hx-pricing,
  .hx-emergency,
  .hx-faq,
  .hx-contact {
    padding-top: 68px;
    padding-bottom: 68px;
  }
  .hx-services {
    padding-top: 80px;
  }

  .hx-trust-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
  }
  .hx-trust-ico {
    width: 44px;
    height: 44px;
  }
  .hx-regions {
    grid-template-columns: 1fr;
  }
  .hx-factors {
    grid-template-columns: 1fr;
  }
  .hx-factor:nth-child(odd) {
    border-right: 0;
  }
  .hx-factor:not(:last-child) {
    border-bottom: 1px solid var(--color-line);
  }
  .hx-emergency-cta .btn {
    flex: 1 1 100%;
  }
  .hx-danger {
    align-items: flex-start;
  }
  .hx-faq .faq-question {
    font-size: 1rem;
    padding: 22px 0;
  }
  .hx-faq .faq-answer-inner p {
    padding-right: 0;
  }
  .hx-contact-ctas .btn {
    flex: 1 1 100%;
  }
  .contact-form-card {
    padding: 28px 20px 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  /* leave room for the floating call/WhatsApp buttons at the page end */
  .hx-contact {
    padding-bottom: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hx-hero-copy,
  .hx-hero-media,
  .hx-hero-ctas .btn-primary,
  .hx-badge-num::after {
    animation: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
