.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(500px, 74vh, 760px);
  padding: clamp(2.8rem, 8vw, 5.8rem) 0;
  overflow: hidden;
  background-image:
    linear-gradient(
      90deg,
      rgba(248, 248, 248, 0.98) 0%,
      rgba(248, 248, 248, 0.95) 38%,
      rgba(248, 248, 248, 0.72) 58%,
      rgba(248, 248, 248, 0.32) 72%,
      rgba(248, 248, 248, 0.08) 100%
    ),
    url("../assets/images/home/hero-bg.jpg");
  background-position: left top, center right;
  background-size: cover, cover;
}

#services-overview {
  scroll-margin-top: 120px;
}

.hero::after {
  content: "";
  position: absolute;
  right: -15%;
  bottom: -110px;
  width: min(65vw, 860px);
  height: 250px;
  background: linear-gradient(120deg, #d90a3b, #fd4552);
  clip-path: polygon(0 67%, 30% 0, 100% 28%, 78% 100%, 24% 86%);
  opacity: 0.95;
  transform: rotate(-7deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-kicker {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6e6e74;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title {
  margin-top: 0.8rem;
  margin-bottom: 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.3rem, 6.3vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #11131a;
  max-width: 14ch;
}

.hero-title span {
  color: #dd0a3d;
}

.hero-subtitle {
  max-width: 54ch;
  color: #666a70;
  font-size: clamp(1rem, 1.65vw, 1.36rem);
}

.hero-cta {
  margin-top: 1.6rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, #df0b3d, #bf0833);
  color: #fff;
  text-transform: uppercase;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  font-weight: 700;
}

.hero-btn:hover {
  background: linear-gradient(135deg, #bf0833, #a6072b);
}

@media (max-width: 980px) {
  .hero {
    min-height: 560px;
    padding: 3.4rem 0;
    background-image:
      linear-gradient(
        90deg,
        rgba(248, 248, 248, 0.98) 0%,
        rgba(248, 248, 248, 0.92) 54%,
        rgba(248, 248, 248, 0.68) 74%,
        rgba(248, 248, 248, 0.4) 100%
      ),
      url("../assets/images/home/hero-bg.jpg");
    background-position: left top, 72% center;
  }

  .hero::after {
    right: -28%;
    width: min(78vw, 700px);
    height: 210px;
    transform: rotate(-8deg);
  }

  .hero-title {
    max-width: 13.4ch;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 500px;
    padding: 2.8rem 0;
    background-image:
      linear-gradient(
        90deg,
        rgba(248, 248, 248, 0.98) 0%,
        rgba(248, 248, 248, 0.94) 67%,
        rgba(248, 248, 248, 0.8) 100%
      ),
      url("../assets/images/home/hero-bg.jpg");
    background-position: left top, 78% center;
  }

  .hero::after {
    right: -30%;
    bottom: -130px;
    width: 115%;
    height: 170px;
  }

  .hero-title {
    font-size: clamp(1.9rem, 11.4vw, 2.8rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-btn {
    min-height: 52px;
    padding: 0.8rem 1.5rem;
    font-size: 0.78rem;
  }
}

.about-intro {
  position: relative;
  background: #f4f4f4;
  overflow: hidden;
}

.about-intro::before,
.about-intro::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.about-intro::before {
  left: -110px;
  top: 80px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 222, 111, 0.45) 0%, rgba(251, 222, 111, 0) 68%);
}

.about-intro::after {
  right: -110px;
  top: 70px;
  width: 260px;
  height: 420px;
  background:
    linear-gradient(145deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.015));
  clip-path: polygon(32% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.6;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  gap: clamp(1.4rem, 2.8vw, 2.4rem);
  align-items: center;
}

.intro-copy {
  max-width: 660px;
}

.intro-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 500;
  color: #5f6268;
  font-size: 0.95rem;
}

.intro-kicker i {
  color: #d90a3b;
  width: 16px;
  height: 16px;
}

.intro-copy h2 {
  margin-top: 0.8rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4.3vw, 4rem);
  line-height: 1.05;
  color: #10131a;
  max-width: 14ch;
}

.intro-copy > p {
  margin-top: 1rem;
  color: #6a6f74;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
  max-width: 54ch;
}

.intro-accent {
  color: #b10a32;
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  line-height: 1.35;
  margin-top: 1.4rem;
}

.intro-features {
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.intro-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.intro-feature span {
  width: 88px;
  height: 76px;
  background: #d90a3b;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.intro-feature span i {
  width: 34px;
  height: 34px;
}

.intro-feature h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 1.6vw, 1.6rem);
  line-height: 1.2;
  color: #161920;
}

.intro-dot {
  width: 16px;
  height: 16px;
  color: #d90a3b;
}

.intro-actions {
  margin-top: 2.1rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.intro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0.8rem 2.2rem;
  background: #131822;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.intro-btn:hover {
  background: #0a0f18;
}

.intro-signature {
  font-size: clamp(1.7rem, 3.1vw, 2.7rem);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  color: #14161e;
  margin: 0;
}

.intro-visual {
  position: relative;
  min-height: 660px;
}

.visual-main,
.visual-sub {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 28px 45px -34px rgba(0, 0, 0, 0.55);
}

.visual-main {
  top: 10px;
  right: 0;
  width: min(100%, 440px);
  height: 490px;
  z-index: 1;
}

.visual-sub {
  left: 0;
  bottom: 0;
  width: min(88%, 390px);
  height: 300px;
  z-index: 2;
}

.visual-main img,
.visual-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-main img {
  object-position: 78% center;
}

.visual-sub img {
  object-position: 38% center;
}

.quality-badge {
  position: absolute;
  top: 90px;
  left: 5%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #d90a3b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.25;
  padding: 1rem;
  border: 7px solid #f4f4f4;
  z-index: 4;
}

.visual-accent {
  position: absolute;
  right: 58px;
  bottom: 66px;
  width: 45px;
  height: 45px;
  background: #d90a3b;
}

@media (max-width: 1240px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-copy h2 {
    max-width: 18ch;
  }

  .intro-visual {
    width: min(640px, 100%);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 860px) {
  .intro-feature span {
    width: 74px;
    height: 64px;
  }

  .intro-feature span i {
    width: 28px;
    height: 28px;
  }

  .intro-feature h3 {
    font-size: 1.22rem;
  }

  .intro-visual {
    min-height: 560px;
  }

  .visual-main {
    width: min(100%, 370px);
    height: 430px;
  }

  .visual-sub {
    width: min(84%, 330px);
    height: 260px;
  }

  .quality-badge {
    width: 126px;
    height: 126px;
    font-size: 0.72rem;
    top: 72px;
  }
}

@media (max-width: 640px) {
  .about-intro::after,
  .about-intro::before {
    display: none;
  }

  .intro-copy h2 {
    max-width: 100%;
  }

  .intro-accent {
    font-size: 1.35rem;
  }

  .intro-features {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .intro-dot {
    display: none;
  }

  .intro-actions {
    gap: 1rem;
  }

  .intro-visual {
    min-height: 470px;
  }

  .visual-main {
    position: relative;
    width: 100%;
    height: 300px;
    right: auto;
    top: auto;
  }

  .visual-sub {
    width: min(88%, 290px);
    height: 210px;
    left: 0;
    bottom: 0;
  }

  .quality-badge {
    left: auto;
    right: 8px;
    top: 248px;
    width: 108px;
    height: 108px;
  }

  .visual-accent {
    right: 8px;
    bottom: 8px;
    width: 32px;
    height: 32px;
  }
}

.services-showcase {
  position: relative;
  background: #f5f5f5;
}

.services-showcase::before {
  content: "";
  position: absolute;
  left: 0;
  top: 120px;
  width: 180px;
  height: 360px;
  background: linear-gradient(180deg, rgba(20, 25, 34, 0.05), rgba(20, 25, 34, 0));
  clip-path: polygon(0 0, 100% 10%, 68% 100%, 0 84%);
  pointer-events: none;
}

.services-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.services-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.94rem;
  color: #5f6369;
}

.services-kicker i {
  width: 16px;
  height: 16px;
  color: #d90a3b;
}

.services-head h2 {
  margin-top: 0.65rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4.1vw, 3.9rem);
  line-height: 1.06;
  color: #12151d;
  max-width: 16ch;
}

.services-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: #d90a3b;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  font-weight: 700;
  white-space: nowrap;
}

.services-all-btn:hover {
  background: #bb0833;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  position: relative;
  background: #fff;
  border: 1px solid #ececec;
  display: flex;
  flex-direction: column;
}

.service-media {
  display: block;
  height: 270px;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-media-1 img {
  object-position: 72% center;
}

.service-media-2 img {
  object-position: 58% center;
}

.service-media-3 img {
  object-position: 85% center;
}

.service-icon {
  position: absolute;
  left: 1.6rem;
  top: 230px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #d90a3b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 24px -22px rgba(15, 20, 30, 0.5);
}

.service-icon i {
  width: 33px;
  height: 33px;
}

.service-body {
  padding: 3.2rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-body h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.2;
  color: #141822;
}

.service-body p {
  margin-top: 0.8rem;
  color: #6b7076;
  font-size: 1.08rem;
  line-height: 1.65;
}

.service-body a {
  display: inline-flex;
  margin-top: auto;
  padding-top: 1rem;
  color: #bc0a35;
  font-weight: 700;
}

@media (max-width: 1120px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .services-showcase::before {
    display: none;
  }

  .services-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-all-btn {
    min-height: 50px;
    padding: 0.75rem 1.2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .service-media {
    height: 230px;
  }

  .service-icon {
    width: 80px;
    height: 80px;
    top: 194px;
    left: 1.1rem;
  }

  .service-icon i {
    width: 28px;
    height: 28px;
  }

  .service-body {
    padding: 2.7rem 1.1rem 1.2rem;
  }

  .service-body p {
    font-size: 1rem;
  }
}

.why-choose {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      105deg,
      rgba(11, 14, 22, 0.93) 0%,
      rgba(12, 16, 25, 0.88) 52%,
      rgba(12, 16, 25, 0.78) 100%
    ),
    url("../assets/images/home/trust.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.why-choose::before {
  content: "";
  position: absolute;
  pointer-events: none;
  left: -120px;
  top: -30px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0));
}

.why-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
}

.why-copy {
  max-width: 900px;
}

.why-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.93rem;
}

.why-kicker i {
  width: 16px;
  height: 16px;
  color: #ef0c4d;
}

.why-copy h2 {
  margin-top: 0.7rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4.4vw, 4.15rem);
  line-height: 1.05;
  max-width: 14ch;
}

.why-copy > p {
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.8;
  max-width: 58ch;
}

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

.why-feature {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 90px;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.why-feature span {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ef0c4d;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-feature span i {
  width: 28px;
  height: 28px;
}

.why-feature h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 1.7vw, 1.7rem);
  line-height: 1.15;
}

@media (max-width: 1160px) {
  .why-copy h2 {
    max-width: 17ch;
  }
}

@media (max-width: 760px) {
  .why-choose::before {
    display: none;
  }

  .why-features {
    grid-template-columns: 1fr;
  }

  .why-feature {
    min-height: 82px;
  }

  .why-feature span {
    width: 54px;
    height: 54px;
  }

  .why-feature span i {
    width: 24px;
    height: 24px;
  }
}

.emergency-block {
  background: #f2efef;
}

.emergency-shell {
  position: relative;
}

.emergency-top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: start;
  background:
    linear-gradient(100deg, rgba(11, 14, 22, 0.95), rgba(13, 17, 27, 0.88)),
    url("../assets/images/home/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: clamp(1.2rem, 2.5vw, 2rem);
}

.emergency-left {
  max-width: 860px;
}

.emergency-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.em-tab {
  border: 0;
  min-width: 148px;
  min-height: 54px;
  padding: 0.75rem 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.92rem;
  font-weight: 700;
  background: #fff;
  color: #171a21;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.em-tab.active {
  background: #e70842;
  color: #fff;
}

.emergency-panels {
  margin-top: 1.3rem;
}

.emergency-content {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 1.2rem;
  align-items: center;
}

.em-panel {
  display: none;
}

.em-panel.active {
  display: grid;
}

.emergency-media {
  position: relative;
  width: 100%;
  height: 255px;
  overflow: hidden;
}

.emergency-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% center;
}

.emergency-copy h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.55rem, 2.7vw, 2.5rem);
  color: #fff;
  line-height: 1.12;
  max-width: 18ch;
}

.emergency-copy ul {
  list-style: none;
  margin-top: 0.8rem;
  display: grid;
  gap: 0.55rem;
}

.emergency-copy li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.95rem, 1.18vw, 1.06rem);
}

.emergency-copy li i {
  width: 19px;
  height: 19px;
  color: #fff;
  flex-shrink: 0;
}

.emergency-card {
  background: #fff;
  color: #131722;
  padding: clamp(1.4rem, 2.5vw, 2.2rem);
  transform: translateY(52px);
}

.em-card-kicker {
  color: #666b71;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.92rem;
}

.emergency-card h3 {
  margin-top: 0.6rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 3.1vw, 2.7rem);
  line-height: 1.08;
  max-width: 13ch;
}

.emergency-card > p {
  margin-top: 0.85rem;
  color: #6c7076;
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.55;
  max-width: 38ch;
}

.em-call {
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.em-call span {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #e70842;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.em-call span i {
  width: 28px;
  height: 28px;
}

.em-call p {
  color: #666a70;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
}

.em-call a {
  display: inline-flex;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.3rem, 1.8vw, 1.75rem);
  font-weight: 700;
  color: #0e1219;
}

.stats-grid {
  margin-top: 4.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat-item {
  text-align: center;
}

.stat-item span {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: #e70842;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stat-item span i,
.stat-item span svg {
  width: 118px;
  height: 118px;
}

.stat-item h3 {
  margin-top: 0.8rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.1rem, 3.2vw, 3.3rem);
  line-height: 1;
  color: #0e131d;
}

.stat-item p {
  margin-top: 0.4rem;
  color: #5f646a;
  font-size: 1.02rem;
}

@media (max-width: 1260px) {
  .emergency-top {
    grid-template-columns: 1fr;
  }

  .emergency-card {
    transform: none;
  }

  .stats-grid {
    margin-top: 2rem;
  }
}

@media (max-width: 920px) {
  .emergency-content {
    grid-template-columns: 1fr;
  }

  .emergency-media {
    max-width: 320px;
  }

  .em-call span {
    width: 60px;
    height: 60px;
  }

  .em-call span i {
    width: 24px;
    height: 24px;
  }

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

  .stat-item span {
    width: 98px;
    height: 98px;
  }

  .stat-item span i,
  .stat-item span svg {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 620px) {
  .em-tab {
    min-width: 118px;
    min-height: 46px;
    font-size: 0.8rem;
    padding: 0.65rem 0.9rem;
  }

  .emergency-copy h2,
  .emergency-card h3 {
    max-width: 100%;
  }

  .em-call {
    gap: 0.75rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .stat-item span {
    width: 84px;
    height: 84px;
  }

  .stat-item span i,
  .stat-item span svg {
    width: 52px;
    height: 52px;
  }
}
