:root {
  --primary: #d50000;
  --primary-dark: #aa0000;
  --text: #3d3d49;
  --muted: #7b7b86;
  --bg: #f5f3f3;
  --soft-pink: #f1dddd;
  --soft-pink-2: #f8ecec;
  --white: #ffffff;
  --line: #ddd7d7;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
textarea {
  font-family: inherit;
}

.container {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 85px 0;
}

.section-tag {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.center-title {
  text-align: center;
}

.red-title {
  color: var(--primary);
  margin-bottom: 42px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
}

.muted {
  color: var(--muted);
}

/* Top Bar */
.topbar {
  background: #f4f4f4;
  border-bottom: 1px solid #eceaea;
}

.topbar-inner {
  min-height: 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.topbar-right a {
  color: #4f4f55;
  font-size: 0.92rem;
}

.topbar-right i {
  color: var(--primary);
  margin-right: 6px;
}

/* Navbar */
.navbar {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
}

.mobile-brand {
  display: none;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.mobile-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.mobile-brand-text {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: 0.3s ease;
  font-weight: 600;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  color: #fff;
  border: 2px solid #fff;
  padding: 10px 31px;
  border-radius: 999px;
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary);
}

.btn-glass {
  padding: 13px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(5px);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.9rem;
  cursor: pointer;
  line-height: 1;
}

.mobile-contact-link {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(35, 35, 35, 0.68) 0%,
    rgba(35, 35, 35, 0.42) 40%,
    rgba(35, 35, 35, 0.16) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-text {
  max-width: 650px;
  color: #fff;
  padding: 75px 0 95px 32px;
}

.hero-text h1 {
  font-size: clamp(2.6rem, 5vw, 4.65rem);
  line-height: 0.98;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-text p {
  max-width: 570px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Feature */
.feature-wrap {
  position: relative;
  margin-top: -58px;
  z-index: 5;
}

.feature-card {
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.feature-item {
  padding: 36px 28px;
  text-align: center;
  position: relative;
}

.feature-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 22%;
  height: 56%;
  width: 1px;
  background: #ead3d3;
}

.feature-icon {
  font-size: 1.38rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.feature-item h2,
.feature-item h4 {
  font-size: 1.06rem;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* Services */
.services {
  background: #f5f3f3;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 44px;
  align-items: start;
}

.services-left h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  max-width: 440px;
  margin-bottom: 12px;
}

.services-right {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.service-box {
  min-height: 112px;
  background: var(--soft-pink-2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-weight: 600;
  color: #565661;
  line-height: 1.1;
}

.badges-row {
  margin-top: 34px;
  background: var(--soft-pink);
  border-radius: 12px;
  padding: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.license-box {
  min-height: 116px;
  background: #fbf7f7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

/* Why Choose Us */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}

.why-images {
  position: relative;
  min-height: 525px;
}

.why-img {
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.image-top {
  max-width: 360px;
  height: 320px;
  position: absolute;
  left: 0;
  top: 0;
}

.image-bottom {
  max-width: 290px;
  height: 300px;
  position: absolute;
  left: 145px;
  bottom: 0;
}

.why-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  margin-bottom: 24px;
  max-width: 500px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why-item {
  width: 100%;
  background: #fff;
  border: none;
  border-radius: 12px;
  padding: 20px 22px;
  text-align: left;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: 0.25s ease;
}

.why-item:hover {
  transform: translateY(-2px);
}

.why-item.active {
  background: #f4e6e6;
}

.why-item h3,
.why-item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #3f3f48;
}

.why-item p {
  font-size: 0.92rem;
  color: var(--muted);
  display: none;
}

.why-item.active p {
  display: block;
}

/* Locations */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.location-box {
  min-height: 74px;
  background: var(--soft-pink-2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  font-size: 1.08rem;
  font-weight: 600;
  color: #565661;
}

.last-location {
  grid-column: 2 / 3;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 36px;
  align-items: start;
}

.faq-left {
  padding-top: 12px;
}

.faq-left h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin-bottom: 14px;
  max-width: 400px;
}

.faq-left p {
  color: var(--muted);
  max-width: 300px;
}

.faq-right {
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid #d7d2d2;
  padding: 10px 0;
}

.faq-question {
  width: 90%;
  background: transparent;
  border: none;
  padding: 16px 0;
  font-size: 1rem;
  font-weight: 500;
  color: #444;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--muted);
  font-size: 0.95rem;
  padding-right: 24px;
}

.faq-item.active .faq-answer {
  max-height: 220px;
  padding-bottom: 12px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.05fr 0.8fr;
  gap: 40px;
  align-items: end;
}

.contact-image {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.contact-form-area h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 2px solid #676767;
  background: transparent;
  padding: 8px 0 10px;
  outline: none;
  font-size: 1rem;
}

.form-group textarea {
  min-height: 90px;
  resize: vertical;
}

.contact-info {
  padding-bottom: 18px;
}

.info-block {
  margin-bottom: 28px;
}

.info-block h3,
.info-block h4 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.info-block p,
.info-block a {
  color: #555;
}

.socials {
  display: flex;
  gap: 18px;
  margin-top: 28px;
}

.socials a {
  font-size: 1.8rem;
  color: #111;
  transition: 0.3s ease;
}

.socials a:hover {
  color: var(--primary);
}

/* Footer */
.footer {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 62px 0 50px;
}

.footer-small {
  font-size: 0.8rem;
  opacity: 0.86;
  margin-bottom: 10px;
}

.footer h2,
.footer h3 {
  font-size: 2rem;
  margin-bottom: 18px;
}

.footer-btn {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.footer-address {
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.footer-copy {
  font-size: 0.82rem;
  opacity: 0.92;
}

.footer-designer {
  margin-top: 14px;
}

.designer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 500;
}

.designer-logo {
  width: 48px;
  height: 24px;
  object-fit: contain;
  display: block;
}

/* Scroll Top */
.scroll-top-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff2a2a, #d50000);
  color: #fff;
  font-size: 1.12rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(213, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Popup */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 2000;
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.popup-box {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px 24px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.popup-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
}

.popup-icon.success {
  background: #1fbf5b;
}

.popup-icon.error {
  background: #e53935;
}

.popup-box h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.popup-box p {
  color: var(--muted);
  margin-bottom: 18px;
}

.popup-close-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  cursor: pointer;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1100px) {
  .services-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .faq-left h2,
  .faq-left p {
    max-width: 100%;
  }

  .contact-info {
    padding-bottom: 0;
  }
}

@media (max-width: 900px) {
  .desktop-topbar {
    display: none;
  }

  .mobile-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    flex: 1 1 auto;
  }

  .mobile-brand-text {
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .desktop-contact-btn {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    flex: 0 0 auto;
  }

  .nav-inner {
    min-height: 68px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 24px 18px;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-contact-link {
    display: block;
  }

  .hero-text {
    padding: 70px 0 90px 20px;
  }

  .feature-card,
  .badges-row {
    grid-template-columns: 1fr;
  }

  .feature-item:not(:last-child)::after {
    display: none;
  }

  .license-box {
    min-height: 98px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .section {
    padding: 65px 0;
  }

  .hero {
    min-height: 520px;
  }

  .hero-text {
    padding: 62px 0 82px 12px;
  }

  .hero-text h1 {
    font-size: 2.6rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-primary,
  .btn-glass {
    width: 100%;
    justify-content: center;
  }

  /* Services mobile */
  .services-left {
    text-align: center;
  }

  .services-left h2 {
    max-width: 100%;
  }

  .services-right {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .service-box {
    min-height: 92px;
    font-size: 0.95rem;
    padding: 12px 8px;
  }

  /* Center stacked images on mobile */
  .why-images {
    min-height: 430px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 10px;
    position: relative;
  }

  .image-top {
    max-width: 220px;
    width: 220px;
    height: 250px;
    left: 0;
    top: 0;
  }

  .image-bottom {
    max-width: 180px;
    width: 180px;
    height: 220px;
    left: 95px;
    bottom: 0;
  }

  .why-content {
    text-align: center;
  }

  .why-content h2 {
    max-width: 100%;
  }

  .why-item {
    text-align: left;
  }

  /* Locations mobile */
  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .last-location {
    grid-column: 1 / -1;
    justify-self: end;
    width: calc(50% - 7px);
  }

  /* FAQ mobile */
  .faq-left {
    text-align: center;
  }

  .faq-left h2,
  .faq-left p {
    max-width: 100%;
  }

  .faq-question {
    font-size: 0.98rem;
  }

  .contact-image {
    height: 360px;
  }

  .contact-grid {
    gap: 28px;
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-copy {
    margin-bottom: 10px;
  }

  .footer-designer {
    margin-top: 2px;
  }
}

@media (max-width: 520px) {
  .mobile-brand-text {
    font-size: 0.88rem;
  }

  .hero-text h1 {
    font-size: 2.35rem;
  }

  .hero-text p {
    font-size: 0.98rem;
  }

  .feature-item {
    padding: 28px 20px;
  }

  .service-box {
    min-height: 86px;
    font-size: 0.88rem;
  }

  .license-box {
    min-height: 92px;
    font-size: 0.9rem;
  }

  .why-images {
    max-width: 280px;
    min-height: 390px;
  }

  .image-top {
    width: 200px;
    height: 230px;
    max-width: 200px;
  }

  .image-bottom {
    width: 165px;
    height: 200px;
    max-width: 165px;
    left: 82px;
  }

  .last-location {
    width: calc(50% - 7px);
  }

  .socials {
    justify-content: flex-start;
  }
}