:root {
  --bg: #090b10;
  --bg-soft: #11141c;
  --panel: #171a22;
  --line: #2a2f3f;
  --text: #f1f4fb;
  --muted: #b6becf;
  --brand: #f0222f;
  --brand-dark: #bb0f1a;
  --ease-out-strong: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.loader-wrap {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(8, 9, 13, 0.95);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.loader-wrap.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-box {
  width: min(420px, 88vw);
  border: 1px solid var(--line);
  background: #11151d;
  border-radius: 12px;
  padding: 16px;
  animation: loaderFloat 1.8s ease-in-out infinite;
}

.loader-box p {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 700;
}

.loader-pulse {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2a2f3f, #41495f, #2a2f3f);
  background-size: 200% 100%;
  animation: pulse 1.1s linear infinite;
}

@keyframes pulse {
  to { background-position: -200% 0; }
}

@keyframes loaderFloat {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 0 rgba(240, 34, 47, 0); }
  50% { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(240, 34, 47, 0.22); }
}

@keyframes driftGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes badgeBlink {
  0%, 100% { box-shadow: 0 0 0 rgba(240, 34, 47, 0.1); }
  50% { box-shadow: 0 0 0 10px rgba(240, 34, 47, 0); }
}

@keyframes pinPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.28); opacity: 0.7; }
}

@keyframes heroKenburns {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.08); }
}

@keyframes shineSweep {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(160%); }
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 82px;
  border-bottom: 1px solid #3b1218;
  background: rgba(8, 9, 13, 0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  gap: 14px;
  animation: headerIn 0.7s var(--ease-out-strong) both;
}

@keyframes headerIn {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

.brand img {
  width: 92px;
  height: auto;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.desktop-nav a {
  color: #d8ddea;
  text-decoration: none;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.4px;
  transition: color 0.25s ease, text-underline-offset 0.25s ease;
}

.desktop-nav a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-link {
  color: #d8ddea;
  text-decoration: none;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
}

.btn-call,
.btn-back {
  text-decoration: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft), border-color 0.25s ease;
}

.btn-call {
  background: var(--brand);
  color: #fff;
}

.btn-call:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(240, 34, 47, 0.26);
}

.btn-back {
  border: 1px solid #404656;
  color: #fff;
}

.btn-back:hover {
  transform: translateY(-2px);
  border-color: #5a647d;
}

.btn-call::after,
.btn-solid::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -40%;
  width: 40%;
  height: 160%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
  transform: translateX(-120%);
}

.btn-call:hover::after,
.btn-solid:hover::after {
  animation: shineSweep 0.8s ease forwards;
}

.menu-btn {
  display: none;
  border: 1px solid #404656;
  background: transparent;
  color: #fff;
  border-radius: 8px;
  padding: 8px 11px;
}

.mobile-nav {
  display: none;
  border-bottom: 1px solid #3b1218;
  background: #0f131b;
  padding: 10px 22px 14px;
  flex-direction: column;
  gap: 8px;
  transform-origin: top;
}

.mobile-nav.open {
  display: flex;
  animation: menuDrop 0.35s var(--ease-out-strong) both;
}

@keyframes menuDrop {
  from { opacity: 0; transform: translateY(-10px) scaleY(0.96); }
  to { opacity: 1; transform: translateY(0) scaleY(1); }
}

.mobile-nav a {
  color: #e3e8f5;
  text-decoration: none;
  font-weight: 700;
}

main {
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero {
  min-height: calc(100svh - 82px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  background-image: url("../assets/img/17.jpeg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transform-origin: center;
  animation: heroKenburns 12s ease-in-out infinite alternate;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 9, 14, 0.9) 0%, rgba(10, 11, 16, 0.62) 45%, rgba(14, 13, 10, 0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  padding: 0 clamp(16px, 4vw, 56px) clamp(18px, 4vw, 34px);
}

.dispatch-pill {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  animation: badgeBlink 1.8s ease-in-out infinite;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  line-height: 1.02;
}

h1 {
  margin-top: 14px;
  font-size: clamp(3rem, 8vw, 6rem);
  text-transform: uppercase;
}

h1 span {
  color: var(--brand);
}

.hero-content p {
  margin-top: 12px;
  color: #d2d8e7;
  max-width: 60ch;
  font-size: 1.04rem;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-solid,
.btn-ghost {
  text-decoration: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 800;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
}

.btn-solid {
  background: var(--brand);
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft), background-color 0.25s ease;
}

.btn-solid i {
  margin-right: 8px;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.54);
  color: #fff;
  background: rgba(18, 20, 28, 0.48);
  transition: transform 0.25s var(--ease-soft), border-color 0.25s ease, background-color 0.25s ease;
}

.btn-solid:hover,
.btn-ghost:hover {
  transform: translateY(-2px);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.88);
  background: rgba(28, 31, 42, 0.7);
}

.services-section,
.trust-section,
.coverage-section {
  margin-top: 0;
  min-height: 100svh;
  padding: clamp(26px, 5vw, 56px) clamp(16px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid #281117;
}

.services-section {
  background: linear-gradient(180deg, #080b11, #0d1018);
}

.trust-section {
  background: linear-gradient(180deg, #090b10, #0a0c12);
}

.coverage-section {
  background: linear-gradient(180deg, #0a0d14, #0d111a);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  width: min(1240px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.section-head h2,
.trust-section h2,
.coverage-left h2 {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.section-head p,
.trust-section > p,
.coverage-left > p {
  color: var(--muted);
  margin: 8px 0 0;
}

.section-head a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.service-card {
  grid-column: span 4;
  border: 1px solid #312838;
  background: var(--panel);
  border-radius: 12px;
  padding: 18px;
  transition: transform 0.35s var(--ease-out-strong), border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-main {
  grid-column: span 8;
  background: linear-gradient(160deg, #161a22, #15171e 56%, #171922);
}

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(240, 34, 47, 0.16);
  border: 1px solid rgba(240, 34, 47, 0.28);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  transition: transform 0.35s var(--ease-soft), border-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 34, 47, 0.55);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.33);
}

.service-card:hover .icon-box {
  transform: rotate(-6deg) scale(1.08);
  border-color: rgba(240, 34, 47, 0.6);
}

.service-card h3 {
  margin-top: 14px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  text-transform: uppercase;
}

.service-card p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.service-main ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.service-main li {
  color: #e6ebf6;
  font-weight: 600;
}

.service-main li::before {
  content: "\2714";
  color: var(--brand);
  margin-right: 8px;
}

.trust-section {
  border-top: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  text-align: center;
}

.trust-section > h2,
.trust-section > p,
.trust-grid {
  width: min(1240px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.trust-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trust-grid article {
  padding: 12px;
  transition: transform 0.3s var(--ease-soft), background-color 0.3s ease;
  border-radius: 12px;
}

.trust-grid article:hover {
  transform: translateY(-4px);
  background: rgba(18, 23, 34, 0.7);
}

.trust-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto;
  border-radius: 50%;
  border: 3px solid var(--brand);
  display: grid;
  place-items: center;
  color: var(--brand);
  font-size: 1.6rem;
}

.trust-grid h3 {
  margin-top: 12px;
  font-size: clamp(1.55rem, 3vw, 2rem);
  text-transform: uppercase;
}

.trust-grid p {
  margin-top: 8px;
  color: var(--muted);
}

.coverage-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: center;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.coverage-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.coverage-list article {
  border: 1px solid #312838;
  border-radius: 10px;
  background: var(--panel);
  padding: 12px;
  display: flex;
  gap: 10px;
  transition: transform 0.3s var(--ease-soft), border-color 0.3s ease;
}

.coverage-list article:hover {
  transform: translateX(5px);
  border-color: rgba(240, 34, 47, 0.5);
}

.coverage-list i {
  color: var(--brand);
  font-size: 1.2rem;
  margin-top: 4px;
}

.coverage-list h3 {
  font-size: 1.35rem;
  text-transform: uppercase;
}

.coverage-list p {
  margin-top: 4px;
  color: var(--muted);
}

.coverage-map {
  border: 2px solid var(--brand);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  min-height: 420px;
  background: #130f16;
  transition: transform 0.45s var(--ease-out-strong), box-shadow 0.45s var(--ease-out-strong);
}

.coverage-map:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.36);
}

.coverage-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.65) contrast(1.05) brightness(0.7);
}

.map-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  background: rgba(16, 21, 33, 0.9);
  border: 1px solid rgba(240, 34, 47, 0.45);
  color: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 800;
  animation: badgeBlink 2.2s ease-in-out infinite;
}

.pin {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid #ffd6d9;
  position: absolute;
  z-index: 2;
  animation: pinPulse 1.9s ease-in-out infinite;
}

.p2 { animation-delay: 0.2s; }
.p3 { animation-delay: 0.4s; }
.p4 { animation-delay: 0.6s; }
.p5 { animation-delay: 0.8s; }

.p1 { top: 28%; left: 38%; }
.p2 { top: 36%; left: 53%; }
.p3 { top: 46%; left: 45%; }
.p4 { top: 58%; left: 61%; }
.p5 { top: 66%; left: 32%; }

.portfolio-section,
.contact-section,
.emergency-section {
  min-height: 100svh;
  padding: clamp(26px, 5vw, 56px) clamp(16px, 4vw, 56px);
  border-top: 1px solid #281117;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portfolio-section {
  background: linear-gradient(180deg, #090d14, #0e121b);
}

.emergency-section {
  background: linear-gradient(180deg, #111624, #151b2a);
}

.contact-section {
  background: linear-gradient(180deg, #090b10, #0f131c);
}

.portfolio-grid {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.portfolio-item {
  display: block;
  border: 1px solid #312838;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  background: #151923;
  transition: transform 0.35s var(--ease-out-strong), border-color 0.35s ease, box-shadow 0.35s ease;
}

.portfolio-item:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 34, 47, 0.52);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.34);
}

.portfolio-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease-soft), filter 0.55s ease;
}

.portfolio-item:hover img {
  transform: scale(1.07);
  filter: saturate(1.08) contrast(1.06);
}

.portfolio-copy {
  padding: 12px;
}

.portfolio-copy small {
  color: #c4cad8;
  display: block;
  margin-bottom: 6px;
}

.portfolio-copy strong {
  color: #f2f5fc;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.2px;
}

.city-list {
  width: min(1240px, 100%);
  margin: 18px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.city-list span {
  border: 1px solid #364056;
  border-radius: 999px;
  padding: 8px 12px;
  color: #e0e6f5;
  background: rgba(18, 23, 35, 0.78);
  font-size: 0.9rem;
  transition: transform 0.25s var(--ease-soft), border-color 0.25s ease, background-color 0.25s ease;
}

.city-list span:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 34, 47, 0.62);
  background: rgba(31, 38, 55, 0.95);
}

.coverage-list a {
  color: #dbe2f1;
  text-decoration: none;
}

.contact-wrap {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-panel {
  border: 1px solid #312838;
  border-radius: 12px;
  background: var(--panel);
  padding: 18px;
  transition: transform 0.3s var(--ease-soft), border-color 0.3s ease;
}

.contact-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 34, 47, 0.45);
}

.contact-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.contact-panel a {
  color: #f2f5fc;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #384158;
  background: #101521;
  color: #eef2fb;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: rgba(240, 34, 47, 0.7);
  box-shadow: 0 0 0 3px rgba(240, 34, 47, 0.18);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.social-row {
  margin-top: 12px;
  display: flex;
  gap: 12px;
}

.social-row a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #39425a;
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform 0.25s var(--ease-soft), border-color 0.25s ease, color 0.25s ease;
}

.social-row a:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 34, 47, 0.65);
  color: #ff8f96;
}

.footer.footer-main {
  background: #080b11;
  border-top: 1px solid #42131a;
  display: block;
  padding: clamp(22px, 4vw, 36px) clamp(16px, 4vw, 56px);
}

.footer-grid {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 0.8fr;
  gap: 16px;
}

.footer-card {
  border: 1px solid #2e3345;
  border-radius: 12px;
  background: #121722;
  padding: 14px;
  transition: transform 0.3s var(--ease-soft), border-color 0.3s ease;
}

.footer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 34, 47, 0.44);
}

.footer-card h3 {
  color: var(--brand);
  margin: 0 0 10px;
  font-size: 1.6rem;
}

.footer-card p,
.footer-card li,
.footer-card a {
  color: #ccd4e5;
  font-size: 0.92rem;
  line-height: 1.45;
  text-decoration: none;
}

.footer-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-bottom {
  width: min(1240px, 100%);
  margin: 14px auto 0;
  border-top: 1px solid #2d3345;
  padding-top: 12px;
  color: #9ca8c1;
  font-size: 0.9rem;
  text-align: center;
}

.footer {
  border-top: 1px solid #3b1218;
  padding: 14px 20px 24px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 12px;
}

.footer a {
  text-decoration: none;
  color: var(--brand);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  transition: opacity 0.68s var(--ease-out-strong), transform 0.68s var(--ease-out-strong);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero.reveal.in .dispatch-pill,
.hero.reveal.in h1,
.hero.reveal.in p,
.hero.reveal.in .hero-actions {
  animation: riseIn 0.75s var(--ease-out-strong) both;
}

.hero.reveal.in h1 { animation-delay: 120ms; }
.hero.reveal.in p { animation-delay: 220ms; }
.hero.reveal.in .hero-actions { animation-delay: 320ms; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1040px) {
  .desktop-nav {
    display: none;
  }

  .menu-btn {
    display: inline-block;
  }

  .btn-call,
  .btn-back,
  .login-link {
    display: none;
  }

  .services-grid,
  .portfolio-grid,
  .contact-wrap,
  .footer-grid,
  .coverage-section,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .services-section,
  .portfolio-section,
  .contact-section,
  .emergency-section,
  .trust-section,
  .coverage-section {
    min-height: 100svh;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .service-card,
  .service-main {
    grid-column: auto;
  }

  .coverage-map {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .header {
    padding: 0 14px;
  }

  .mobile-nav {
    padding: 10px 14px 14px;
  }

  .hero-content {
    padding: 0 14px 14px;
  }

  .service-main ul {
    grid-template-columns: 1fr;
  }
}
