/* Alpex.lv — Homepage Redesign */
/* Brand: Navy #1E212C / Red #C1171F / Roboto Slab + Manrope */

:root {
  --c-navy: #1E212C;
  --c-navy-deep: #171A25;
  --c-red: #C1171F;
  --c-red-hover: #A4131A;
  --c-text: #41434E;
  --c-muted: #949494;
  --c-border: #CACACA;
  --c-divider: #DDDDDD;
  --c-bg-off: #F2F2F2;
  --c-bg-warm: #FAF9F8;
  --c-white: #FFFFFF;

  --font-display: "Roboto Slab", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;

  --r-card: 8px;
  --r-btn: 6px;

  --section-pad: 96px;
  --container: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--c-navy-deep);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-size: 56px; }
h2 { font-size: 40px; }
h3 { font-size: 22px; font-weight: 600; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--r-btn);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}
.btn-red {
  background: var(--c-red);
  color: var(--c-white);
}
.btn-red:hover { background: var(--c-red-hover); }
.btn-outline-white {
  background: transparent;
  color: var(--c-white);
  border: 2px solid rgba(255,255,255,0.85);
}
.btn-outline-white:hover { background: var(--c-white); color: var(--c-navy); }
.btn-outline-navy {
  background: transparent;
  color: var(--c-navy);
  border: 2px solid var(--c-navy);
}
.btn-outline-navy:hover { background: var(--c-navy); color: var(--c-white); }
.btn-ghost-red {
  color: var(--c-red);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}
.btn-ghost-red .arrow { transition: transform 160ms ease; }
.btn-ghost-red:hover .arrow { transform: translateX(4px); }

/* ---------- HEADER ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-divider);
  height: 78px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
}
.header-logo img { height: 40px; }
.header-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.header-nav a {
  color: var(--c-navy-deep);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 6px 0;
  transition: color 160ms ease;
}
.header-nav a:hover { color: var(--c-red); }
.header-nav a.active { color: var(--c-red); }
.header-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--c-red);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--c-navy-deep);
  font-size: 16px;
}
.header-phone .pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-red);
  position: relative;
  flex-shrink: 0;
}
.header-phone .pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--c-red);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 720px;
  overflow: hidden;
  background: var(--c-navy-deep);
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1200ms ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23,26,37,0.92) 0%, rgba(23,26,37,0.72) 45%, rgba(23,26,37,0.45) 75%, rgba(23,26,37,0.30) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  width: 100%;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(193,23,31,0.18);
  border: 1px solid rgba(193,23,31,0.6);
  color: #FFC9CC;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  margin-bottom: 20px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #FF3B43;
  box-shadow: 0 0 0 0 rgba(255,59,67,0.7);
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,59,67,0.7); opacity: 1; }
  50% { box-shadow: 0 0 0 8px rgba(255,59,67,0); opacity: 0.6; }
}
.hero h1 {
  color: var(--c-white);
  font-size: 60px;
  line-height: 1.05;
  margin-bottom: 20px;
  max-width: 720px;
}
.hero h1 .accent { color: var(--c-red); }
.hero-sub {
  font-size: 20px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.5;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}
.hero-meta .clock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Hero phone block */
.hero-phone {
  background: rgba(23,26,37,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 28px;
  color: var(--c-white);
  position: relative;
}
.hero-phone-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #FF6B71;
  margin-bottom: 14px;
}
.hero-phone-label .live {
  width: 8px; height: 8px; border-radius: 50%;
  background: #FF3B43;
  animation: blink 1.4s ease-in-out infinite;
}
.hero-phone-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  color: var(--c-white);
  display: block;
  letter-spacing: -0.01em;
}
.hero-phone-num:hover { color: #FFB3B7; }
.hero-phone-divider {
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 18px 0;
}
.hero-phone-second {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
  font-weight: 600;
}
.hero-phone-num-2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: rgba(255,255,255,0.92);
  display: block;
}
.hero-phone-hours {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.hero-phone-hours strong {
  color: var(--c-white);
  font-weight: 700;
}

/* Hero slider controls */
.hero-controls {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(23,26,37,0.6);
  backdrop-filter: blur(10px);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-dots { display: flex; gap: 8px; }
.hero-dot {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.hero-dot.is-active { background: rgba(255,255,255,0.25); }
.hero-dot.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-red);
  animation: progress 6s linear forwards;
  transform-origin: left;
}
@keyframes progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.hero-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-white);
  transition: background 160ms ease;
}
.hero-arrow:hover { background: rgba(255,255,255,0.1); }
.hero-counter {
  font-family: var(--font-display);
  color: var(--c-white);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  min-width: 56px;
  text-align: center;
}
.hero-counter span { color: rgba(255,255,255,0.45); }

/* Section divider pattern */
.hero-bottom-pattern {
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  z-index: 2;
  pointer-events: none;
}
.hero-bottom-pattern svg { width: 100%; height: 60px; display: block; }

/* ---------- TRUST BAR ---------- */
.trust-bar {
  background: var(--c-bg-warm);
  padding: 40px 0;
  border-bottom: 1px solid var(--c-divider);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-cell {
  padding: 12px 24px;
  border-left: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.trust-cell:first-child { border-left: none; padding-left: 0; }
.trust-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.trust-num .red { color: var(--c-red); }
.trust-label {
  font-size: 14px;
  color: var(--c-muted);
  margin-top: 6px;
  line-height: 1.4;
}

/* ---------- SECTION HEADERS ---------- */
.section { padding: var(--section-pad) 0; }
.section-warm { background: var(--c-bg-warm); }
.section-off { background: var(--c-bg-off); }
.section-navy { background: var(--c-navy); color: var(--c-white); }

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--c-red);
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: "–";
  margin-right: 8px;
  color: var(--c-red);
}
.section-eyebrow::after {
  content: "–";
  margin-left: 8px;
  color: var(--c-red);
}
.section-head h2 { margin-bottom: 16px; }
.section-head p {
  font-size: 17px;
  color: var(--c-text);
  line-height: 1.6;
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: visible;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  cursor: pointer;
}
.service-card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 3px;
  background: var(--c-red);
  border-radius: var(--r-card) var(--r-card) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
  z-index: 1;
}
.service-card:hover {
  border-color: var(--c-navy);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(23,26,37,0.10);
}
.service-card:hover::before { transform: scaleX(1); }
.service-photo {
  width: 100%;
  aspect-ratio: 12 / 5;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 4px;
}
.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.service-card:hover .service-photo img {
  transform: scale(1.05);
}
.service-card h3 {
  font-size: 22px;
  margin: 0;
}
.service-card p {
  font-size: 15px;
  color: var(--c-text);
  line-height: 1.55;
  margin: 0;
}
.service-card .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--c-divider);
  font-size: 13px;
  color: var(--c-muted);
  font-weight: 500;
}
.service-card .meta .arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--c-bg-warm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-navy);
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}
.service-card:hover .meta .arrow {
  background: var(--c-red);
  color: var(--c-white);
  transform: translateX(4px);
}

.services-footer {
  text-align: center;
  margin-top: 48px;
}

/* ---------- WHY ALPEX ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--c-red);
  margin-bottom: 14px;
}
.why-grid h2 { margin-bottom: 20px; max-width: 480px; }
.why-grid p.lead {
  font-size: 17px;
  color: var(--c-text);
  margin-bottom: 32px;
  line-height: 1.65;
  max-width: 520px;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.why-item {
  display: flex;
  gap: 16px;
  padding: 16px 18px;
  background: var(--c-white);
  border-radius: var(--r-card);
  border: 1px solid var(--c-divider);
  align-items: flex-start;
}
.why-check {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--c-red);
  color: var(--c-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.why-item-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.why-item h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-navy-deep);
  margin: 0;
}
.why-item p {
  font-size: 14px;
  color: var(--c-text);
  margin: 0;
  line-height: 1.5;
}

.why-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--c-navy);
}
.why-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.why-media-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: var(--c-white);
  border-radius: 8px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}
.why-media-badge .num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--c-red);
  line-height: 1;
}
.why-media-badge .txt {
  font-size: 13px;
  color: var(--c-text);
  line-height: 1.4;
}
.why-media-badge .txt strong {
  display: block;
  color: var(--c-navy-deep);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
}

/* ---------- SEGMENTS ---------- */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.segment-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-red);
  border-radius: var(--r-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.segment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(23,26,37,0.08);
}
.segment-icon {
  width: 56px; height: 56px;
  border-radius: 8px;
  background: var(--c-bg-warm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-navy);
}
.segment-card h3 { margin: 0; font-size: 22px; }
.segment-card p {
  font-size: 15px;
  color: var(--c-text);
  line-height: 1.55;
  margin: 0;
}
.segment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.segment-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--c-bg-warm);
  border-radius: 4px;
  color: var(--c-navy-deep);
}

/* ---------- EMERGENCY BAND ---------- */
.emergency {
  background: var(--c-navy-deep);
  color: var(--c-white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.emergency::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-photo, none);
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  pointer-events: none;
}
.emergency-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.emergency-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  background: rgba(193,23,31,0.18);
  border: 1px solid rgba(193,23,31,0.5);
  color: #FFC9CC;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 4px;
  margin-bottom: 22px;
}
.emergency-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #FF3B43;
  animation: blink 1.4s ease-in-out infinite;
}
.emergency h2 {
  color: var(--c-white);
  font-size: 44px;
  margin-bottom: 18px;
  line-height: 1.1;
}
.emergency h2 .red { color: #FF6B71; }
.emergency p.lead {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
  max-width: 540px;
  line-height: 1.6;
}
.emergency-stats {
  display: flex;
  gap: 36px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.emergency-stat strong {
  font-family: var(--font-display);
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 4px;
}
.emergency-stat span {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.emergency-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.emergency-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--c-red);
}
.emergency-card-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #FF6B71;
  margin-bottom: 18px;
}
.emergency-card-label .ring {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #FF3B43;
  position: relative;
}
.emergency-card-label .ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #FF3B43;
  animation: pulse 1.6s ease-out infinite;
}
.emergency-phone {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: 6px;
  transition: color 160ms ease;
}
.emergency-phone:hover { color: #FFB3B7; }
.emergency-phone-sub {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-bottom: 28px;
}
.emergency-card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.emergency-card .btn-red {
  flex: 1;
  min-width: 140px;
}
.emergency-card .btn-outline-white {
  flex: 1;
  min-width: 140px;
}
.emergency-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 28px 0;
}
.emergency-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.emergency-row .ico {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FF6B71;
  flex-shrink: 0;
}
.emergency-row strong { color: var(--c-white); font-weight: 600; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--c-navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
  position: relative;
}
.footer-pattern {
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 50px;
  pointer-events: none;
  opacity: 0.5;
}
.footer-pattern svg { width: 100%; height: 100%; display: block; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-logo img { height: 42px; margin-bottom: 20px; }
.footer-about {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
  max-width: 320px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}
.footer-contact-item .ico {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FF6B71;
  flex-shrink: 0;
}
.footer-contact-item strong {
  display: block;
  color: var(--c-white);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 2px;
}
.footer-contact-item a { color: rgba(255,255,255,0.75); }
.footer-contact-item a:hover { color: var(--c-white); }

.footer-col h4 {
  color: var(--c-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 160ms ease;
}
.footer-links a:hover { color: var(--c-white); }

.footer-map {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  aspect-ratio: 4 / 3;
  background: rgba(255,255,255,0.04);
}
.footer-map img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.footer-map-pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--c-red);
  color: var(--c-white);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(193,23,31,0.4);
}
.footer-map-pin::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid var(--c-red);
  animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: var(--c-white); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  .hero h1 { font-size: 44px; }
  .hero { height: auto; min-height: 640px; padding: 60px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .segments-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .emergency-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  :root { --section-pad: 64px; }
  .header-nav { display: none; }
  .container { padding: 0 20px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .trust-cell:nth-child(3) { border-left: none; padding-left: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .emergency-phone { font-size: 32px; }
  .hero h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .alpex-redesign .swiper .slide-content .text .h1,
  .alpex-redesign .swiper .slide-content .text h1 {
    font-size: 32px;
    line-height: 115%;
  }
  .alpex-redesign .swiper .slide-content .text * {
    max-width: 100%;
  }
  .alpex-redesign .swiper .slide-content {
    padding-top: 80px;
  }
}
@media (max-width: 1024px) {
  .alpex-redesign .swiper-button-prev,
  .alpex-redesign .swiper-button-next {
    top: auto !important;
    bottom: 24px !important;
    transform: none !important;
    width: 40px !important;
    height: 40px !important;
  }
  .alpex-redesign .swiper-button-prev {
    left: calc(50% - 48px) !important;
  }
  .alpex-redesign .swiper-button-next {
    right: calc(50% - 48px) !important;
  }
}

@media (max-width: 720px) {
  .alpex-redesign .swiper-button-prev,
  .alpex-redesign .swiper-button-next {
    bottom: 16px !important;
    width: 36px !important;
    height: 36px !important;
  }
  .alpex-redesign .swiper-button-prev {
    left: calc(50% - 44px) !important;
  }
  .alpex-redesign .swiper-button-next {
    right: calc(50% - 44px) !important;
  }
  .alpex-redesign .swiper-button-prev::after,
  .alpex-redesign .swiper-button-next::after {
    width: 10px !important;
    height: 10px !important;
  }
}

@media (min-width: 1025px) {
  .alpex-redesign .swiper .slide-content {
    padding-left: 100px;
    padding-right: 100px;
  }
}
