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

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background-color: #ffffff;
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Top bar */
.top-bar {
  background: #111827;
  color: #f9fafb;
  font-size: 0.9rem;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  gap: 0.75rem;
}

.top-bar-text {
  opacity: 0.9;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  font-weight: 600;
}

.logo-main {
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.logo-sub {
  font-size: 0.8rem;
  color: #6b7280;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 2px;
  background: #ef4444;
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #111827;
  border-radius: 999px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.btn-primary {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

.btn-outline {
  background: transparent;
  border-color: #d1d5db;
  color: #111827;
}

.btn-outline:hover {
  background: #f9fafb;
}

.btn-phone {
  background: #f97316;
  color: #ffffff;
  border-color: #f97316;
  font-size: 0.9rem;
  padding-inline: 1.2rem;
}

.btn-light {
  background: #ffffff;
  color: #111827;
  border-color: #ffffff;
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-light {
  background: #f9fafb;
}

.section-accent {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #ffffff;
}

/* Hero */
.hero {
  padding-top: 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 3.2vw + 1rem, 2.8rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero p {
  color: #4b5563;
  max-width: 34rem;
}

.hero .accent {
  color: #ef4444;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
}

.hero-badges span {
  background: #f3f4f6;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
}

/* Hero card */
.hero-card {
  background: #111827;
  color: #f9fafb;
  padding: 1.75rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.hero-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.hero-card ul {
  list-style: disc;
  padding-left: 1.2rem;
  font-size: 0.95rem;
}

.hero-card li + li {
  margin-top: 0.25rem;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

/* Generic layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 2.5rem;
}

/* Cards */
.icon-card,
.service-card,
.feature-box {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.section-light .icon-card,
.section-light .service-card,
.section-light .feature-box {
  background: #ffffff;
}

.icon-card:hover,
.service-card:hover,
.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
  border-color: #e11d48;
}

.icon-card h3,
.service-card h2,
.feature-box h3 {
  margin-bottom: 0.5rem;
}

.icon-card p,
.service-card p,
.feature-box p {
  font-size: 0.95rem;
  color: #4b5563;
}

/* Lists */
.checklist {
  list-style: none;
  margin-top: 1rem;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.85rem;
  color: #16a34a;
}

.bullet-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  font-size: 0.93rem;
  color: #4b5563;
}

.bullet-list li + li {
  margin-top: 0.25rem;
}

/* Page header */
.page-header {
  text-align: left;
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.page-header p {
  color: #4b5563;
  max-width: 40rem;
}

/* CTA */
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.cta-inner p {
  max-width: 28rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Contact form */
.contact-form {
  background: #f9fafb;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.9rem;
}

label {
  font-size: 0.9rem;
  font-weight: 500;
}

input,
select,
textarea {
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  padding: 0.6rem 0.75rem;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.2);
}

textarea {
  resize: vertical;
}

.muted {
  color: #6b7280;
  font-size: 0.9rem;
}

.small {
  font-size: 0.8rem;
}

/* Map */
.map-container {
  margin-top: 1rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.map-container iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

/* Footer */
.footer {
  margin-top: 3rem;
  background: #111827;
  color: #e5e7eb;
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  padding: 2.5rem 0 1.5rem;
}

.footer h3,
.footer h4 {
  margin-bottom: 0.75rem;
}

.footer a {
  color: #e5e7eb;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-col ul li + li {
  margin-top: 0.3rem;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  text-align: center;
  padding: 0.75rem 0 1.25rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible,
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 0.75rem 1.5rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform-origin: top;
    transform: scaleY(0.9);
    transition: max-height 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open {
    max-height: 220px;
    opacity: 1;
    transform: scaleY(1);
  }

  .nav-links li {
    padding: 0.2rem 0;
  }

  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 2rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .map-container iframe {
    height: 260px;
  }
}
