:root {
  --ink: #111312;
  --muted: #656d66;
  --paper: #f7f4ed;
  --paper-2: #ebe5d8;
  --white: #ffffff;
  --charcoal: #171a17;
  --green: #24362f;
  --green-2: #0f201c;
  --gold: #c8912d;
  --gold-2: #e5b553;
  --line: rgba(17, 19, 18, .12);
  --shadow: 0 28px 80px rgba(18, 24, 20, .18);
  --radius: 22px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 237, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.topbar {
  background: var(--green-2);
  color: rgba(255, 255, 255, .84);
  font-size: 14px;
}

.topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar a {
  color: var(--gold-2);
  font-weight: 800;
}

.nav-wrap {
  background: rgba(255, 255, 255, .68);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.brand img {
  width: 54px;
  height: 46px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
}

.brand strong {
  display: block;
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
  font-size: 13.5px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.primary-nav a {
  position: relative;
  padding: 8px 0;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-phone {
  font-weight: 900;
  color: var(--green);
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.btn-dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(17, 19, 18, .18);
}

.btn-gold {
  background: var(--gold);
  color: #15120b;
  box-shadow: 0 14px 30px rgba(200, 145, 45, .28);
}

.btn-light {
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, .38);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 19, 17, .94) 0%, rgba(10, 19, 17, .76) 44%, rgba(10, 19, 17, .36) 100%),
    linear-gradient(0deg, rgba(10, 19, 17, .72), rgba(10, 19, 17, .08));
}

.hero__grid {
  min-height: 780px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 56px;
  padding: 120px 0 80px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: "Arial Narrow", Impact, Haettenschweiler, "Franklin Gothic Heavy", sans-serif;
  font-weight: 900;
  line-height: .92;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 26px;
  font-size: clamp(52px, 8.6vw, 118px);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(38px, 5.2vw, 74px);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.4vw, 36px);
}

.lead {
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.45;
}

.hero__copy p {
  max-width: 740px;
  color: rgba(255, 255, 255, .82);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-card {
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  border-top: 6px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 82px;
  line-height: .8;
}

.hero-card > span {
  display: block;
  color: var(--green);
  font-weight: 900;
  line-height: 1.2;
}

.hero-card ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.hero-card li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.trust-bar {
  background: var(--green-2);
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.trust-grid div {
  min-height: 112px;
  padding: 24px 18px;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.trust-grid span {
  display: block;
  margin-bottom: 9px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
}

.trust-grid strong {
  font-size: 16px;
  line-height: 1.3;
}

.section {
  padding: 110px 0;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 46px;
}

.section-heading p,
.split-heading p,
.proof-copy p,
.about-copy p,
.estimate-copy p,
.area-grid p {
  color: var(--muted);
  font-size: 17px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .75fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 44px;
}

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

.service-card {
  min-height: 470px;
  display: grid;
  grid-template-rows: 220px 1fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(20, 22, 19, .08);
  transition: transform .22s ease, box-shadow .22s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card div {
  padding: 24px;
}

.service-card span,
.why-card span,
.process-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
}

.service-card h3 {
  font-size: 30px;
}

.service-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.service-card a,
.text-link {
  color: var(--green);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
}

.service-card--wide {
  grid-column: span 2;
}

.secondary-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.secondary-services span,
.city-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.proof-section {
  background: var(--charcoal);
  color: var(--white);
}

.proof-layout {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 56px;
  align-items: center;
}

.proof-copy p {
  color: rgba(255, 255, 255, .72);
}

.proof-copy .text-link {
  color: var(--gold-2);
}

.proof-mosaic {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
}

.proof-mosaic figure,
.gallery-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #20231f;
}

.proof-mosaic img,
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.proof-mosaic figure:hover img,
.gallery-grid figure:hover img {
  transform: scale(1.045);
}

.mosaic-large {
  grid-row: span 2;
  min-height: 540px;
}

.proof-mosaic figure:not(.mosaic-large) {
  min-height: 262px;
}

figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 15px;
  color: var(--white);
  background: rgba(15, 32, 28, .88);
  border-left: 4px solid var(--gold);
  border-radius: 14px;
}

figcaption strong,
figcaption span {
  display: block;
}

figcaption span {
  color: rgba(255, 255, 255, .74);
  font-size: 14px;
}

.why-section {
  background: var(--paper-2);
}

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

.why-card,
.process-card {
  min-height: 228px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(20, 22, 19, .06);
}

.why-card h3,
.process-card h3 {
  font-size: 28px;
}

.why-card p,
.process-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(360px, .88fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-media div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, .92);
  border-left: 5px solid var(--gold);
  border-radius: 16px;
}

.about-media strong,
.about-media span {
  display: block;
}

.about-copy blockquote {
  margin: 28px 0 0;
  padding: 24px;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 21px;
  line-height: 1.45;
}

.process-section {
  background: var(--white);
}

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

.process-card {
  min-height: 260px;
  border-radius: 18px;
}

.process-card h3 {
  font-size: 23px;
}

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

.gallery-grid figure {
  min-height: 360px;
  box-shadow: 0 18px 50px rgba(20, 22, 19, .08);
}

.service-area {
  background: var(--paper-2);
}

.area-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.estimate-section {
  padding: 100px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(15, 32, 28, .96), rgba(15, 32, 28, .82)),
    url("/wp-content/novamira-sandbox/jorge-general-services/assets/home-v2/working-in-starbusk-heic.jpg") center / cover;
}

.estimate-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, .7fr);
  gap: 58px;
  align-items: center;
}

.estimate-copy p {
  color: rgba(255, 255, 255, .78);
}

.estimate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.estimate-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.estimate-form label {
  display: grid;
  gap: 6px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfaf6;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 72px 0 28px;
  color: rgba(255, 255, 255, .78);
  background: #0a0d0b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .9fr .8fr;
  gap: 46px;
}

.brand--footer {
  min-width: 0;
  margin-bottom: 18px;
  color: var(--white);
}

.brand--footer small {
  color: var(--gold-2);
}

.site-footer h3 {
  color: var(--white);
  font-size: 24px;
}

.site-footer a {
  display: block;
  margin: 8px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

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

@media (max-width: 1120px) {
  .nav {
    gap: 14px;
  }

  .primary-nav {
    gap: 15px;
  }

  .nav-phone {
    display: none;
  }

  .service-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 860px) {
  :root {
    --container: min(100% - 32px, 720px);
  }

  .topbar__inner {
    justify-content: center;
    flex-wrap: wrap;
    padding: 9px 0;
  }

  .nav {
    min-height: 76px;
    justify-content: space-between;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 122px;
    display: grid;
    gap: 0;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: .2s ease;
  }

  body.nav-open .primary-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav a:last-child {
    border-bottom: 0;
  }

  .nav > .btn {
    display: none;
  }

  .hero,
  .hero__grid {
    min-height: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    padding: 92px 0 40px;
  }

  .hero-card {
    max-width: 440px;
  }

  .trust-grid,
  .proof-layout,
  .split-heading,
  .about-grid,
  .area-grid,
  .estimate-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .estimate-section {
    padding: 72px 0;
  }

  .proof-mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic-large,
  .proof-mosaic figure:not(.mosaic-large) {
    min-height: 330px;
  }

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

  .about-media img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 620px) {
  :root {
    --container: min(100% - 28px, 520px);
  }

  .topbar__inner span:nth-child(2) {
    display: none;
  }

  .brand img {
    width: 46px;
    height: 42px;
  }

  .brand strong {
    font-size: 13px;
  }

  h1 {
    font-size: clamp(43px, 14vw, 62px);
  }

  h2 {
    font-size: clamp(34px, 11vw, 50px);
  }

  .lead {
    font-size: 18px;
  }

  .hero__actions,
  .estimate-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

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

  .service-card,
  .service-card--wide {
    grid-column: auto;
    min-height: auto;
  }

  .service-card {
    grid-template-rows: 210px auto;
  }

  .trust-grid div {
    min-height: auto;
    padding: 18px 14px;
  }

  .proof-copy,
  .section-heading,
  .split-heading {
    margin-bottom: 30px;
  }

  .gallery-grid figure {
    min-height: 280px;
  }

  .estimate-form {
    padding: 20px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

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