:root {
  color-scheme: dark;
  --bg: #070909;
  --panel: #111616;
  --panel-2: #171d1b;
  --line: #31423a;
  --text: #f3f6f4;
  --muted: #b7c3bb;
  --green: #8ad17f;
  --green-2: #45e085;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(138, 209, 127, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 209, 127, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 12% 8%, rgba(69, 224, 133, 0.16), transparent 28rem),
    var(--bg);
  background-size: 34px 34px, 34px 34px, auto, auto;
  color: var(--text);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(138, 209, 127, 0.22);
  background: rgba(7, 9, 9, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-size: 1.55rem;
  font-weight: 900;
  box-shadow: 0 0 22px rgba(138, 209, 127, 0.35);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

nav {
  display: flex;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.65fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5.5rem) 0 2rem;
}

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

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 0.96;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 9vw, 7.7rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.hero p:not(.eyebrow),
.contact p {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
}

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

.primary-button,
.secondary-button,
.contact-actions a,
.toolbar a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(138, 209, 127, 0.55);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.primary-button {
  position: relative;
  isolation: isolate;
  min-height: 58px;
  border-color: rgba(255, 255, 255, 0.62);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 34%),
    linear-gradient(135deg, var(--green), var(--green-2));
  color: #041008;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  box-shadow: 0 14px 42px rgba(69, 224, 133, 0.22);
}

.primary-button::after {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
  border-radius: 10px;
  background: rgba(69, 224, 133, 0.18);
  filter: blur(10px);
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 52px rgba(69, 224, 133, 0.32);
}

.secondary-button,
.contact-actions a,
.toolbar a {
  background: rgba(17, 22, 22, 0.86);
}

.hero-media,
.promo-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(138, 209, 127, 0.35);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-media img,
.promo-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.service-strip,
.gallery,
.contact {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(138, 209, 127, 0.28);
  border-radius: 8px;
  background: rgba(138, 209, 127, 0.28);
}

.service-strip article {
  min-height: 124px;
  padding: 1.25rem;
  background: rgba(17, 22, 22, 0.92);
}

.service-strip span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-strip strong {
  display: block;
  margin-top: 0.5rem;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.gallery {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: clamp(1.3rem, 4vw, 2rem);
  border-top: 1px solid rgba(138, 209, 127, 0.38);
  border-bottom: 1px solid rgba(138, 209, 127, 0.38);
}

.contact p {
  max-width: 620px;
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.whatsapp-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.6rem);
  bottom: clamp(1rem, 3vw, 1.6rem);
  z-index: 20;
  display: grid;
  width: 66px;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.42), transparent 26%),
    linear-gradient(135deg, #25d366, #12a850);
  color: #031109;
  font-weight: 1000;
  text-decoration: none;
  box-shadow: 0 18px 50px rgba(18, 168, 80, 0.36);
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(37, 211, 102, 0.34);
  border-radius: inherit;
}

.whatsapp-float span {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  letter-spacing: 0;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.03);
}

.repairs-dialog {
  width: min(1040px, calc(100% - 1rem));
  max-height: min(760px, calc(100vh - 2rem));
  padding: 0;
  border: 1px solid rgba(138, 209, 127, 0.42);
  border-radius: 8px;
  background: #09100d;
  color: var(--text);
  box-shadow: var(--shadow);
}

.repairs-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(5px);
}

.dialog-top,
.toolbar,
.fine-print,
.notice {
  padding-inline: clamp(1rem, 3vw, 1.5rem);
}

.dialog-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(138, 209, 127, 0.22);
}

.dialog-top h2 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
}

.icon-button {
  width: 44px;
  aspect-ratio: 1;
  border: 1px solid rgba(138, 209, 127, 0.44);
  border-radius: 6px;
  background: var(--panel);
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
  padding-block: 1rem;
}

.toolbar label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.toolbar input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(138, 209, 127, 0.38);
  border-radius: 6px;
  background: var(--panel);
  color: var(--text);
  padding: 0.75rem 0.9rem;
  outline: none;
}

.toolbar input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(138, 209, 127, 0.12);
}

.notice,
.fine-print {
  color: var(--muted);
  font-size: 0.9rem;
}

.table-wrap {
  max-height: 430px;
  overflow: auto;
  border-top: 1px solid rgba(138, 209, 127, 0.18);
  border-bottom: 1px solid rgba(138, 209, 127, 0.18);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 0.78rem 1rem;
  border-bottom: 1px solid rgba(138, 209, 127, 0.16);
  text-align: left;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #0d1511;
  color: var(--green);
  font-size: 0.78rem;
  text-transform: uppercase;
}

td {
  color: #edf5ef;
}

td:nth-child(3),
td:nth-child(4) {
  font-weight: 900;
  white-space: nowrap;
}

.fine-print {
  margin: 0;
  padding-block: 1rem 1.25rem;
}

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

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .contact,
  .toolbar {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 9ch;
  }

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

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .brand {
    align-items: flex-start;
  }

  .hero-actions a,
  .hero-actions button,
  .contact-actions a,
  .toolbar a {
    width: 100%;
  }
}
