@font-face {
  font-family: "Gosha Sans";
  src: url("../fonts/GoshaSans-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gosha Sans";
  src: url("../fonts/GoshaSans-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #F80906;
  --anthracite: #111111;
  --black: #070707;
  --white: #FFFFFF;
  --grey: #B8B8B8;
  --line: rgba(255,255,255,.12);
  --line-red: rgba(248,9,6,.55);
  --panel: rgba(17,17,17,.82);
}

* {
  box-sizing: border-box;
}

html,
body,
button,
input,
select,
textarea,
label,
a,
p,
span,
strong,
em,
li,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Gosha Sans", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Gosha Sans", Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(248,9,6,.10), transparent 22%),
    var(--black);
  color: var(--white);
  letter-spacing: .02em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(248,9,6,.13), transparent 24%),
    radial-gradient(circle at 75% 20%, rgba(255,255,255,.07), transparent 18%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 38%);
  z-index: 0;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  z-index: 1;
  background-image: url("../images/gashi-lines.svg");
  background-size: 880px auto;
  background-position: top left;
  background-repeat: repeat;
  mix-blend-mode: screen;
  mask-image:
    linear-gradient(180deg, rgba(0,0,0,.95), rgba(0,0,0,.45) 48%, transparent 86%),
    linear-gradient(90deg, rgba(0,0,0,.75), transparent 70%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(22px, 5vw, 68px);
  background: linear-gradient(180deg, rgba(7,7,7,.92), rgba(7,7,7,.55), transparent);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand img {
  width: 42px;
  height: 52px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 25px;
  line-height: .82;
  letter-spacing: .34em;
  font-weight: 700;
}

.brand em {
  display: block;
  margin-top: 8px;
  color: var(--grey);
  font-size: 12px;
  font-style: normal;
  letter-spacing: .42em;
}

.nav {
  display: flex;
  gap: 28px;
  color: rgba(255,255,255,.76);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

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

.header-call {
  padding: 13px 18px;
  border: 1px solid var(--line-red);
  color: var(--white);
  font-weight: 700;
  letter-spacing: .13em;
}

.hero {
  position: relative;
  min-height: 860px;
  display: grid;
  align-items: center;
  padding: 135px clamp(28px, 5vw, 78px) 75px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-dark-remodel.jpg");
  background-size: cover;
  background-position: center right;
  filter: saturate(.9) contrast(1.08);
  transform: scale(1.02);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,7,7,.98) 0%, rgba(7,7,7,.86) 36%, rgba(7,7,7,.44) 62%, rgba(7,7,7,.2) 100%),
    linear-gradient(180deg, rgba(7,7,7,.35) 0%, rgba(7,7,7,.15) 45%, rgba(7,7,7,.92) 100%);
  z-index: 1;
}

.hero-content,
.hero-card,
.section,
.intro-strip,
.site-footer {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 13px;
  letter-spacing: .38em;
  text-transform: uppercase;
  font-weight: 700;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 26px;
  font-size: clamp(58px, 7.8vw, 118px);
  line-height: .88;
  letter-spacing: .035em;
  text-transform: uppercase;
  font-weight: 700;
}

h1 span { color: var(--red); }

.hero-copy {
  max-width: 690px;
  color: rgba(255,255,255,.78);
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.55;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid var(--line);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 13px;
}

.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.btn-secondary {
  background: rgba(255,255,255,.04);
  color: var(--white);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 660px;
}

.hero-proof span {
  border: 1px solid var(--line);
  padding: 10px 12px;
  color: rgba(255,255,255,.8);
  background: rgba(17,17,17,.52);
}

.hero-card {
  position: absolute;
  right: clamp(28px, 5vw, 78px);
  bottom: 82px;
  width: min(420px, calc(100vw - 56px));
  padding: 32px;
  background: rgba(17,17,17,.74);
  border: 1px solid var(--line-red);
  backdrop-filter: blur(16px);
}

.card-number {
  color: var(--red);
  font-weight: 700;
  letter-spacing: .2em;
}

.hero-card h2 {
  margin: 16px 0 10px;
  font-size: 33px;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-card p {
  color: var(--grey);
  line-height: 1.55;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-red);
  border-bottom: 1px solid var(--line);
  background: rgba(17,17,17,.92);
}

.intro-strip div {
  padding: 30px clamp(24px, 4vw, 68px);
  border-right: 1px solid var(--line);
}

.intro-strip div:last-child { border-right: none; }

.intro-strip span {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.intro-strip strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
}

.section {
  padding: 110px clamp(28px, 5vw, 78px);
}

.section-head {
  max-width: 900px;
  margin-bottom: 42px;
}

.section-head h2,
.detail-copy h2,
.estimate-copy h2 {
  font-size: clamp(42px, 4.6vw, 72px);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--anthracite);
}

.service-card.large {
  grid-row: span 2;
  min-height: 878px;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.88) contrast(1.08);
  transition: transform .55s ease;
}

.service-card:hover img { transform: scale(1.04); }

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(7,7,7,.88) 100%);
}

.service-card div {
  position: absolute;
  z-index: 2;
  left: 34px;
  right: 34px;
  bottom: 34px;
}

.service-card p {
  color: var(--red);
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 700;
}

.service-card h3 {
  max-width: 720px;
  font-size: clamp(27px, 2.6vw, 42px);
  line-height: 1.02;
  text-transform: uppercase;
}

.detail-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  background: #0b0b0b;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-image {
  border: 1px solid var(--line-red);
  overflow: hidden;
}

.detail-image img {
  width: 100%;
  height: 660px;
  object-fit: cover;
}

.detail-copy p {
  color: rgba(255,255,255,.74);
  font-size: 18px;
  line-height: 1.65;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: rgba(255,255,255,.86);
  line-height: 1.4;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 10px;
  background: var(--red);
}

.process-section {
  background:
    linear-gradient(180deg, rgba(17,17,17,.7), rgba(7,7,7,.96)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 120px);
}

.narrow { max-width: 720px; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-grid article {
  background: #0b0b0b;
  padding: 34px;
  min-height: 260px;
}

.process-grid span {
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .28em;
}

.process-grid h3 {
  margin: 54px 0 12px;
  font-size: 28px;
  text-transform: uppercase;
}

.process-grid p {
  color: var(--grey);
  line-height: 1.55;
}

.estimate-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 5vw, 75px);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(248,9,6,.16), transparent 30%),
    #090909;
}

.estimate-copy p {
  color: rgba(255,255,255,.72);
  font-size: 18px;
  line-height: 1.65;
}

.phone-large {
  display: inline-block;
  margin-top: 20px;
  color: var(--red);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 700;
  letter-spacing: .08em;
}

.estimate-form {
  padding: 34px;
  background: rgba(17,17,17,.78);
  border: 1px solid var(--line-red);
}

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

label {
  display: grid;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--grey);
  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.38);
  color: var(--white);
  padding: 15px 14px;
  font: inherit;
  letter-spacing: .03em;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--red);
}

textarea { resize: vertical; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 34px clamp(24px, 5vw, 70px);
  border-top: 1px solid var(--line);
  background: #070707;
  color: var(--grey);
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.footer-brand img {
  width: 30px;
}

.site-footer p { margin: 0; }

@media (max-width: 980px) {
  .nav { display: none; }
  .header-call { display: none; }
  .hero { min-height: 850px; }
  .hero-card { position: relative; right: auto; bottom: auto; margin-top: 42px; }
  .intro-strip,
  .service-grid,
  .detail-section,
  .process-grid,
  .estimate-section {
    grid-template-columns: 1fr;
  }
  .service-card.large { min-height: 520px; }
  .service-card { min-height: 420px; }
  .detail-image img { height: 520px; }
}

@media (max-width: 640px) {
  .site-header { padding: 18px 18px; }
  .brand strong { font-size: 22px; }
  .brand em { font-size: 10px; }
  .hero { padding: 115px 20px 55px; min-height: 820px; }
  h1 { font-size: 58px; }
  .hero-proof span { font-size: 13px; }
  .intro-strip div { border-right: none; border-bottom: 1px solid var(--line); }
  .section { padding: 70px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .estimate-form { padding: 22px; }
}


/* V3 tightening: prevents headline/card crowding on smaller screens */
@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  h1 {
    font-size: clamp(48px, 14vw, 72px);
    line-height: .92;
    max-width: 100%;
  }

  .hero-copy {
    font-size: 17px;
    line-height: 1.55;
  }

  .hero-card {
    margin-top: 36px;
    width: 100%;
  }

  .intro-strip strong {
    font-size: 18px;
  }

  .section-head h2,
  .detail-copy h2,
  .estimate-copy h2 {
    font-size: clamp(34px, 10vw, 52px);
    line-height: 1;
  }

  .service-card.large,
  .service-card {
    min-height: 420px;
  }

  .service-card h3 {
    font-size: 25px;
    line-height: 1.05;
  }
}


/* PATCH: Gashi branded linework background */
.hero::before,
.services-section::before,
.process-section::before,
.estimate-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("../images/gashi-lines.svg");
  background-size: 980px auto;
  background-position: top left;
  background-repeat: repeat;
  opacity: .18;
  mix-blend-mode: screen;
  z-index: 1;
}

.services-section,
.process-section,
.estimate-section {
  position: relative;
  overflow: hidden;
}

.services-section > *,
.process-section > *,
.estimate-section > * {
  position: relative;
  z-index: 2;
}

/* PATCH: make all small copy readable and consistently Gosha */
.hero-copy,
.hero-card p,
.intro-strip strong,
.service-card h3,
.detail-copy p,
.process-grid p,
.estimate-copy p,
.site-footer,
input,
select,
textarea,
label {
  font-family: "Gosha Sans", Arial, sans-serif !important;
  font-weight: 400;
}

h1,
h2,
h3,
.brand strong,
.btn,
.header-call,
.eyebrow,
.process-grid span,
.service-card p,
.phone-large {
  font-family: "Gosha Sans", Arial, sans-serif !important;
  font-weight: 700;
}

/* PATCH: reduce fake/default browser look on form fields */
input,
select,
textarea,
button {
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}

/* PATCH: fix cramped uppercase headings from PDF review */
.section-head h2,
.detail-copy h2,
.estimate-copy h2 {
  letter-spacing: .05em;
}

.service-card h3 {
  letter-spacing: .035em;
  text-shadow: 0 2px 16px rgba(0,0,0,.65);
}


/* =========================================================
   Gashi Global System Patch: header, nav, footer, text rhythm
   Additive only — preserves the existing static site structure.
   ========================================================= */
:root {
  --container: min(1180px, calc(100vw - 56px));
  --container-wide: min(1320px, calc(100vw - 56px));
}

.site-header[data-system="gashi-global-header"] {
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.site-header .nav a {
  position: relative;
  padding: 6px 0;
  transition: color .18s ease, opacity .18s ease;
}

.site-header .nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.site-header .nav a:hover::after,
.site-header .nav a.is-active::after,
.site-header .nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-header .nav a.is-active,
.site-header .nav a[aria-current="page"] {
  color: var(--white);
}

.header-call {
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease;
}

.header-call:hover {
  background: rgba(248,9,6,.14);
  border-color: var(--red);
}

.site-footer[data-system="gashi-global-footer"] {
  padding: 58px clamp(24px, 5vw, 78px) 26px;
  background:
    radial-gradient(circle at 10% 10%, rgba(248,9,6,.10), transparent 28%),
    linear-gradient(180deg, rgba(8,8,8,.98), rgba(3,3,3,1));
  border-top: 1px solid rgba(248,9,6,.34);
  color: rgba(255,255,255,.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .75fr .85fr 1fr;
  gap: clamp(26px, 4vw, 64px);
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
}

.footer-col h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.footer-col p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.55;
}

.footer-col a {
  color: rgba(255,255,255,.82);
}

.footer-col a:hover,
.footer-bottom a:hover {
  color: var(--white);
}

.footer-identity p {
  max-width: 410px;
  margin-top: 18px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  max-width: 1320px;
  margin: 44px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.58);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1180px) {
  .nav { gap: 18px; font-size: 12px; letter-spacing: .14em; }
  .header-call { padding: 11px 14px; font-size: 12px; }
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-identity {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .site-footer[data-system="gashi-global-footer"] {
    padding: 44px 22px 24px;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom p + p {
    margin-top: 12px;
  }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .btn,
  .about-cta-actions .btn,
  .portfolio-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Homepage hero type lock — matches the About page scale for a consistent site system. */
.hero {
  min-height: min(760px, 100svh);
  padding-top: clamp(96px, 12vh, 130px);
  padding-bottom: clamp(70px, 10vh, 105px);
}

.hero h1 {
  max-width: 860px;
  font-size: clamp(48px, 5.5vw, 86px);
  line-height: .92;
  letter-spacing: .035em;
  margin-bottom: 24px;
}

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

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 64px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 64px);
    line-height: .9;
  }
}
