:root {
  --navy: #0b0d29;
  --navy-2: #15183a;
  --heading: #1a1a1a;
  --yellow: #e8b800;
  --yellow-dark: #c99a00;
  --text: #222;
  --muted: #6b7280;
  --line: #e6e8ee;
  --soft: #f6f7fa;
  --bg: #fff;
  --header: 58px;
  --font: "Roboto", system-ui, sans-serif;
  --display: "Chivo", "Roboto", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
address { font-style: normal; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; color: var(--heading); }

.skip {
  position: absolute;
  left: -999px;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}
.skip:focus { left: 1rem; top: 1rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.wrap {
  width: min(1140px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.topbar {
  background: #fff;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo {
  display: block;
  margin-right: auto;
}
.logo img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.topbar__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
  font-size: 0.9rem;
}
.topbar__meta li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.topbar__meta svg {
  width: 16px;
  height: 16px;
  fill: var(--yellow-dark);
  flex-shrink: 0;
}
.topbar__meta a { color: var(--text); text-decoration: none; }
.topbar__meta a:hover { color: var(--yellow-dark); }

.nav-bar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #fff;
}
.nav-bar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav {
  display: flex;
  gap: 2rem;
}
.nav a {
  color: var(--heading);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.55rem 0;
}
.nav a:hover { color: var(--yellow-dark); }
.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--heading);
  padding: 0.4rem 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: var(--navy);
  text-decoration: none;
  border: 0;
  padding: 0.78rem 1.35rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  flex-shrink: 0;
}
.btn:hover { background: var(--yellow-dark); }
.btn--hero {
  min-width: 160px;
  background: var(--yellow);
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}
.btn--ghost:hover { background: #fff; color: var(--navy); }

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.62) 8%, rgba(0,0,0,.38) 55%, rgba(0,0,0,.22)),
    url("../images/hero.jpg") center/cover no-repeat;
}
.hero__content {
  position: relative;
  padding: 5.5rem 0 5.8rem;
  max-width: 46rem;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  font-weight: 500;
}
.hero p {
  margin: 0;
  font-size: 1.12rem;
  color: #e8e8ee;
  max-width: 38rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.section {
  padding: 5rem 0;
  scroll-margin-top: calc(var(--header) + 8px);
}
.section h2 {
  font-size: 2rem;
  margin: 0 0 1rem;
}
.about h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  background: var(--heading);
  margin: 0.7rem 0 1.2rem;
}
.about__copy { max-width: 40rem; }
.about p { margin: 0 0 1rem; }
.about .btn { margin-top: 0.6rem; }

.cta-band {
  background: #fff;
  color: var(--heading);
  padding: 2.4rem 0;
  text-align: center;
  border-block: 1px solid var(--line);
}
.cta-band p {
  font-family: var(--display);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  margin: 0 0 1rem;
}
.cta-band .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services { background: var(--soft); }
.services__head {
  text-align: right;
  margin-bottom: 2.4rem;
}
.services__head p {
  color: var(--muted);
  margin: 0;
  max-width: 34rem;
  margin-left: auto;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.svc-card {
  background: #fff;
  box-shadow: 0 8px 28px rgba(2, 32, 71, .06);
}
.svc-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.svc-card__body {
  padding: 1.4rem 1.2rem 1.6rem;
  text-align: center;
}
.svc-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.2rem;
}
.svc-card p {
  margin: 0 0 1rem;
  color: #444;
}
.svc-card a {
  color: var(--heading);
  font-weight: 700;
  text-decoration: none;
}
.svc-card a:hover { color: var(--yellow-dark); }

.features__head { margin-bottom: 2rem; }
.features__head p { color: var(--muted); margin: 0; }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.feat-grid li {
  border: 1px solid var(--line);
  padding: 1.4rem 1.1rem;
  background: #fff;
}
.feat-icon {
  display: inline-block;
  color: var(--yellow-dark);
  font-weight: 700;
  font-family: var(--display);
  margin-bottom: 0.5rem;
}
.feat-grid h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.feat-grid p { margin: 0; color: #555; font-size: 0.95rem; }

.gallery h2 { margin-bottom: 0.4rem; }
.gallery__note { color: var(--muted); margin: 0 0 1.6rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.gallery-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.4rem;
  align-items: start;
}
.contact address a {
  font-weight: 700;
  text-decoration: none;
}
.contact address a:hover { color: var(--yellow-dark); }
.form { display: grid; gap: 0.75rem; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.form input,
.form textarea {
  font: inherit;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--soft);
}
.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--yellow);
  border-color: var(--yellow);
}
.map { margin-top: 2.2rem; }
.map iframe {
  width: 100%;
  height: 340px;
  border: 0;
}

.footer {
  background: #fff;
  color: var(--text);
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}
.footer h2 {
  color: var(--heading);
  font-size: 1.15rem;
  margin: 0 0 0.8rem;
}
.footer a { color: var(--heading); text-decoration: none; }
.footer a:hover { color: var(--yellow-dark); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer__copy {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.float-btns {
  position: fixed;
  left: 14px;
  bottom: 18px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.float-btns a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.float-btns svg { width: 22px; height: 22px; }
.float-btns__phone { background: #e54b4b; }
.float-btns__wa { background: #25d366; }

@media (max-width: 1100px) {
  .topbar__meta li:first-child { display: none; }
}

@media (max-width: 980px) {
  .svc-grid,
  .feat-grid,
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .services__head { text-align: left; }
  .services__head p { margin-left: 0; }
}

@media (max-width: 800px) {
  :root { --header: 52px; }
  .topbar__meta { display: none; }
  .topbar .btn { display: none; }
  .topbar__inner { min-height: 50px; }
  .nav-toggle { display: inline-flex; }
  .nav-bar__inner { justify-content: flex-end; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 0.4rem 0 0.8rem;
  }
  .nav a { padding: 0.7rem 1.2rem; }
  .site-header.is-open .nav { display: flex; }
  .logo img { height: 40px; }
  .hero { min-height: 70vh; }
  .svc-grid,
  .feat-grid,
  .gallery-grid,
  .contact__grid,
  .footer__grid,
  .form__row { grid-template-columns: 1fr; }
  .gallery-grid img,
  .svc-card img { height: 200px; }
  .services__head { text-align: left; }
}
