:root {
  --ink: #121826;
  --muted: #5f6b7a;
  --line: #d9e1ea;
  --paper: #f8fbfd;
  --white: #ffffff;
  --green: #18b866;
  --green-dark: #0a7f45;
  --amber: #f0b429;
  --blue: #2563eb;
  --shadow: 0 18px 50px rgba(18, 24, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 64px);
  background: rgba(248, 251, 253, 0.92);
  border-bottom: 1px solid rgba(217, 225, 234, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 8px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-whatsapp {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 26px rgba(24, 184, 102, 0.24);
}

.btn-whatsapp:hover {
  background: var(--green-dark);
}

.btn-secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(54px, 8vw, 110px) clamp(18px, 4vw, 64px) 42px;
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-copy,
.section-heading p,
.cta-panel p,
.quick-contact p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 26px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 9px 12px;
  color: #2b3a4a;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.repair-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(300px, calc(100% - 36px));
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.repair-card strong,
.repair-card span {
  display: block;
}

.repair-card span {
  color: var(--muted);
}

.quick-contact,
.section,
.cta-panel,
.site-footer {
  margin: 0 clamp(18px, 4vw, 64px);
}

.quick-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 35px rgba(18, 24, 38, 0.07);
}

.quick-contact h2 {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.section {
  padding: 86px 0 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.process-step {
  min-height: 100%;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--ink);
  background: #eaf1ff;
  border-radius: 8px;
  font-weight: 900;
}

.service-card p,
.process-step p {
  color: var(--muted);
}

.service-card a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--green-dark);
  font-weight: 900;
}

.process-section {
  padding-top: 76px;
}

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

.process-step span {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-weight: 900;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 88px;
  padding: clamp(28px, 5vw, 52px);
  color: var(--white);
  background: linear-gradient(135deg, #101827 0%, #173b4d 52%, #0b7a48 100%);
  border-radius: 8px;
}

.cta-panel p,
.cta-panel .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.cta-panel h2 {
  margin-bottom: 10px;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(24, 184, 102, 0.34);
  font-weight: 900;
}

.visit-popup {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(18, 24, 38, 0.62);
}

.visit-popup.is-hidden {
  display: none;
}

.popup-box {
  position: relative;
  width: min(460px, 100%);
  padding: clamp(26px, 6vw, 42px);
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.popup-box h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.popup-box p:not(.eyebrow) {
  color: var(--muted);
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: #eef3f8;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.popup-whatsapp {
  width: 100%;
  margin-top: 10px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0 96px;
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
  font-size: 1.1rem;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--green-dark);
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content,
  .hero-media {
    grid-column: 1 / -1;
  }

  .hero-media,
  .hero-media img {
    min-height: 390px;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.94rem;
  }

  .header-cta {
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .hero-actions,
  .quick-contact,
  .cta-panel,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  .quick-contact .btn,
  .cta-panel .btn {
    width: 100%;
  }

  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .hero-media img {
    min-height: 320px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    min-height: 50px;
    padding: 0 16px;
  }
}
