:root {
  --ink: #111827;
  --muted: #5f6875;
  --paper: #fbfaf7;
  --white: #ffffff;
  --graphite: #192027;
  --green: #0f7b55;
  --green-dark: #07513a;
  --gold: #d5a84f;
  --clay: #a64f3c;
  --line: rgba(25, 32, 39, 0.12);
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Heebo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

img,
svg {
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 3px;
  width: calc(var(--scroll, 0) * 100%);
  background: linear-gradient(90deg, var(--gold), var(--green));
  transform-origin: right;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  width: min(1180px, calc(100% - 32px));
  padding: 10px 12px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.58);
  color: var(--white);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.site-header.is-scrolled {
  background: rgba(17, 24, 39, 0.86);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--graphite);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.main-nav a {
  transition: color 180ms ease;
}

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

.header-call,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
}

.header-call {
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.12);
  transition: background 180ms ease, transform 180ms ease;
}

.header-call:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.btn svg path:first-child:last-child,
.floating-whatsapp svg path,
.contact-actions .btn-primary svg path,
.hero-actions .btn-primary svg path {
  fill: currentColor;
  stroke: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04) translate3d(0, calc(var(--parallax, 0) * 18px), 0);
  transform-origin: center;
  filter: saturate(1.04) contrast(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 22% 26%, rgba(213, 168, 79, 0.26), transparent 28%),
    linear-gradient(90deg, rgba(8, 13, 20, 0.2), rgba(8, 13, 20, 0.38) 46%, rgba(8, 13, 20, 0.84));
}

.hero-content {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 148px 0 80px;
}

.eyebrow,
.form-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0;
}

.eyebrow::before,
.form-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.eyebrow.dark {
  color: var(--green);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(4.6rem, 12vw, 9.7rem);
  line-height: 0.9;
  font-weight: 900;
}

.hero-subtitle {
  max-width: 670px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 400;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  position: relative;
  min-width: 152px;
  padding: 0 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(130%);
  transition: transform 650ms ease;
}

.btn svg,
.btn span {
  position: relative;
  z-index: 1;
}

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

.btn:hover::after {
  transform: translateX(-130%);
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 18px 42px rgba(15, 123, 85, 0.32);
}

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

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.dark-btn {
  border-color: var(--line);
  background: var(--graphite);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
}

.trust-strip span {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.lead-band {
  position: relative;
  z-index: 2;
  margin-top: -34px;
  padding: 0 20px;
}

.quick-form {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(150px, 1fr)) auto;
  gap: 14px;
  align-items: end;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.quick-form h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.2;
}

.form-kicker {
  margin-bottom: 8px;
  color: var(--clay);
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

input,
select {
  height: 50px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  min-height: 118px;
  padding: 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(15, 123, 85, 0.68);
  box-shadow: 0 0 0 4px rgba(15, 123, 85, 0.1);
}

.btn-form {
  height: 50px;
  background: var(--graphite);
  color: var(--white);
}

.form-note {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 108px 0;
}

.section-copy h2,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.05;
  font-weight: 900;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-content: start;
}

.metrics article,
.service-card,
.timeline-item,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(17, 24, 39, 0.08);
}

.metrics article {
  display: grid;
  gap: 30px;
  min-height: 210px;
  padding: 22px;
}

.metrics strong {
  color: var(--gold);
  font-size: 2.6rem;
  line-height: 1;
}

.metrics span {
  color: var(--graphite);
  font-size: 1.05rem;
  font-weight: 800;
}

.services-section {
  display: block;
  padding-top: 30px;
}

.section-heading {
  max-width: 720px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.service-card {
  min-height: 310px;
  padding: 26px;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.service-card:hover {
  border-color: rgba(15, 123, 85, 0.28);
  box-shadow: 0 24px 64px rgba(17, 24, 39, 0.13);
  transform: translateY(-6px);
}

.icon-wrap {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(15, 123, 85, 0.1);
  color: var(--green);
}

.service-card h3,
.timeline-item h3 {
  margin: 22px 0 10px;
  font-size: 1.45rem;
}

.service-card p,
.timeline-item p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
}

.process-section {
  padding: 96px 20px;
  background: var(--graphite);
  color: var(--white);
}

.process-section .section-heading,
.timeline {
  width: min(1120px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.timeline-item {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.timeline-item::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--clay));
}

.timeline-item span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--graphite);
  font-weight: 900;
}

.timeline-item p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 6vw, 86px);
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 108px 0;
}

.contact-copy {
  align-self: center;
}

.contact-copy p {
  max-width: 610px;
  margin-top: 22px;
  font-size: 1.1rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 55;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.36);
  transition: transform 180ms ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
}

.floating-whatsapp svg {
  width: 29px;
  height: 29px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .quick-form,
  .section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .metrics article,
  .service-card,
  .timeline-item {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    direction: ltr;
    width: calc(100% - 20px);
    gap: 8px;
    padding: 8px;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .site-header.is-scrolled {
    border-color: rgba(17, 24, 39, 0.08);
    background: rgba(255, 255, 255, 0.94);
    color: var(--graphite);
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.12);
    backdrop-filter: blur(14px);
  }

  .brand {
    flex: 1 1 auto;
    overflow: hidden;
    direction: rtl;
    justify-content: flex-start;
  }

  .brand-mark {
    display: none;
  }

  .brand strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.22);
  }

  .site-header.is-scrolled .brand strong {
    text-shadow: none;
  }

  .brand small,
  .header-call span {
    display: none;
  }

  .header-call {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    padding: 0;
    background: rgba(17, 24, 39, 0.54);
    backdrop-filter: blur(12px);
  }

  .site-header.is-scrolled .header-call {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 10px 26px rgba(15, 123, 85, 0.24);
    backdrop-filter: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-image {
    object-position: 43% center;
  }

  .hero-overlay {
    background:
      radial-gradient(circle at 24% 18%, rgba(213, 168, 79, 0.22), transparent 34%),
      linear-gradient(180deg, rgba(8, 13, 20, 0.24), rgba(8, 13, 20, 0.88));
  }

  .hero-content {
    width: min(100% - 28px, 1120px);
    padding-bottom: 54px;
  }

  .hero h1 {
    max-width: 100%;
    overflow-wrap: break-word;
    font-size: clamp(3rem, 14vw, 3.9rem);
    line-height: 0.98;
  }

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

  .btn {
    width: 100%;
  }

  .lead-band {
    margin-top: 0;
    padding: 20px 14px 0;
  }

  .trust-strip {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 260px;
    margin-top: 34px;
  }

  .quick-form,
  .contact-form {
    padding: 18px;
  }

  .section,
  .contact-section {
    width: min(100% - 28px, 1120px);
    padding: 72px 0;
  }

  .process-section {
    padding: 72px 14px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    width: min(100% - 28px, 1120px);
    padding-bottom: 96px;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-image {
    transform: none;
  }
}
