:root {
  --ink: #07111a;
  --ink-2: #0d1c28;
  --ink-3: #102535;
  --gold: #d4a63a;
  --gold-light: #f0c35a;
  --paper: #f6f4ef;
  --white: #ffffff;
  --muted: #6f7780;
  --line: rgba(10, 24, 36, 0.12);
  --dark-line: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 44px rgba(5, 12, 18, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

a {
  color: inherit;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.45rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.button--gold {
  background: linear-gradient(135deg, #d4a63a, #f0c35a);
  color: #fff;
  box-shadow: 0 12px 28px rgba(212, 166, 58, 0.28);
}

.button--ghost {
  border-color: rgba(212, 166, 58, 0.9);
  background: rgba(5, 15, 25, 0.34);
  color: #fff;
}

.button--ghost-dark {
  border-color: rgba(7, 17, 26, 0.18);
  background: #fff;
  color: var(--ink);
}

.button--center {
  margin: 1.6rem auto 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  padding: 0 clamp(4.8rem, 8vw, 6.5rem);
  background: rgba(5, 15, 25, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
}

.site-header__brand,
.site-footer__brand,
.admin-sidebar__brand,
.login-card__brand {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 72px;
  object-fit: contain;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(1.6rem, 3vw, 2.6rem);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-header__nav a {
  text-decoration: none;
}

.site-header__nav a.is-active {
  color: var(--gold-light);
}

.nav-call {
  padding: 0.82rem 1.2rem;
  border-radius: 4px;
  background: linear-gradient(135deg, #d4a63a, #f0c35a);
  box-shadow: 0 10px 25px rgba(212, 166, 58, 0.25);
  font-weight: 800;
}

.phone-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  background: url("../icons/phone.svg") no-repeat center;
  background-size: contain;
}

.site-header__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
}

.site-header__toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px auto;
  border-radius: 4px;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 96px clamp(4.8rem, 8vw, 6.5rem) 64px;
  background-image: url("../images/hero-roof-bg.png");
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(180deg, rgba(5, 15, 25, 0.04) 0%, rgba(5, 15, 25, 0.32) 100%);
}

.hero__content {
  position: relative;
  width: min(560px, 100%);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.5rem, 5.65vw, 5.55rem);
  line-height: 1.03;
  font-weight: 800;
}

.hero h1 span,
h2 span {
  color: var(--gold-light);
}

.hero p {
  max-width: 500px;
  margin: 1.35rem 0 1.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.24rem;
  line-height: 1.55;
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__proof {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 500;
}

.hero__proof span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero__proof span::first-letter {
  color: var(--gold-light);
}

.section-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.9rem 0;
}

.why .section-inner {
  position: relative;
  z-index: 1;
  padding: 2rem 0 2.25rem;
}

h2 {
  margin: 0 0 1.75rem;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.section-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(18, 51, 72, 0.52), transparent 37%),
    radial-gradient(circle at 50% 100%, rgba(212, 166, 58, 0.08), transparent 28%),
    linear-gradient(180deg, #020b14 0%, #061827 48%, #020b14 100%);
  color: #fff;
}

.why::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1.05rem;
  width: min(860px, 72vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(212, 166, 58, 0.18), rgba(240, 195, 90, 0.9), rgba(212, 166, 58, 0.18), transparent);
  box-shadow: 0 0 16px rgba(240, 195, 90, 0.35);
  opacity: 0.72;
}

.why h2::after {
  content: "";
  display: block;
  width: 84px;
  height: 2px;
  margin: 0.5rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.why h2 {
  margin-bottom: 1.42rem;
  font-size: clamp(2rem, 3.75vw, 3.05rem);
  letter-spacing: 0;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.why article {
  position: relative;
  padding: 0.72rem 1.65rem 0.92rem;
  text-align: center;
  min-width: 0;
}

.why article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.075);
}

.icon {
  color: var(--gold-light);
  display: grid;
  place-items: center;
  min-height: 64px;
}

.icon svg {
  width: 56px;
  height: 56px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(212, 166, 58, 0.16));
}

.icon .icon__handshake {
  width: 68px;
  height: 68px;
}

.why h3 {
  margin: 0.58rem 0 0.58rem;
  font-size: 1.16rem;
  line-height: 1.16;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.why p {
  margin: 0 auto;
  max-width: 260px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.services {
  background: #fff;
}

.card-grid,
.realization-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(7, 17, 26, 0.08);
}

.card-media {
  position: relative;
  overflow: hidden;
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 9, 14, 0.06) 0%, rgba(3, 9, 14, 0.72) 100%),
    linear-gradient(90deg, rgba(3, 9, 14, 0.38) 0%, rgba(3, 9, 14, 0) 58%);
}

.content-section--dark .card-media::after {
  background:
    linear-gradient(180deg, rgba(3, 9, 14, 0.12) 0%, rgba(3, 9, 14, 0.82) 100%),
    linear-gradient(90deg, rgba(3, 9, 14, 0.46) 0%, rgba(3, 9, 14, 0.04) 62%);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}

.service-card .card-body,
.realization-card .card-body {
  padding: 1.25rem;
}

.service-card h3,
.realization-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  line-height: 1.25;
}

.service-card h3 {
  color: var(--gold);
}

.realization-card h3 {
  color: var(--gold-light);
  text-shadow: 0 1px 16px rgba(240, 195, 90, 0.18);
}

.service-card p,
.realization-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.45;
}

.service-card a,
.realization-card a {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}

.service-card a {
  color: var(--gold);
}

.realization-card a {
  color: var(--gold-light);
}

.realization-card {
  overflow: hidden;
  border: 1px solid var(--dark-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.075);
}

.realization-card img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
}

.realization-card p {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 600;
}

@media (min-width: 921px) {
  .service-card h3,
  .realization-card h3 {
    font-size: 1.08rem;
  }

  .realization-card {
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
  }

}

.contact {
  background: #fff;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.contact__grid a,
.contact__grid div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  align-items: center;
  padding: 1.2rem;
  text-decoration: none;
}

.contact__grid .contact__icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
}

.contact__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact__grid strong {
  display: block;
}

.contact__grid--page {
  max-width: 980px;
  margin: 0 auto;
}

.quote-form {
  width: min(980px, 100%);
  margin: 1.4rem auto 0;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(7, 17, 26, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 17, 26, 0.06);
}

.quote-form h2 {
  margin: 0 0 1.2rem;
  text-align: left;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.quote-form label,
.checkbox-field {
  display: grid;
  gap: 0.45rem;
  color: #303942;
  font-weight: 800;
}

.checkbox-field {
  grid-template-columns: auto 1fr;
  align-items: center;
  margin-top: 1rem;
  font-weight: 700;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
}

.subpage {
  padding-top: 90px;
  background: #fff;
}

.subpage-hero {
  display: flex;
  align-items: end;
  min-height: 320px;
  padding: 4rem clamp(1.5rem, 8vw, 6.5rem);
  background:
    linear-gradient(90deg, rgba(5, 15, 25, 0.88), rgba(5, 15, 25, 0.5)),
    url("../images/hero-roof-bg.png") center right / cover no-repeat;
  color: #fff;
}

.subpage-hero div {
  width: min(760px, 100%);
}

.subpage-hero p {
  margin: 0 0 0.8rem;
  color: var(--gold-light);
  font-weight: 800;
  text-transform: uppercase;
}

.subpage-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
}

.content-section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0;
}

.content-section--dark {
  width: 100%;
  padding-left: max(1rem, calc((100% - 1180px) / 2));
  padding-right: max(1rem, calc((100% - 1180px) / 2));
  background:
    radial-gradient(circle at 50% 0%, rgba(30, 74, 105, 0.2), transparent 34%),
    linear-gradient(180deg, #06111c 0%, #071522 100%);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 0.7fr;
  gap: 2rem;
  align-items: start;
}

.content-grid h2 {
  text-align: left;
  overflow-wrap: anywhere;
}

.content-grid p {
  color: #47515b;
  font-size: 1.05rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.company-info-section__text {
  min-width: 0;
}

.company-info-admin {
  display: grid;
  gap: 1rem;
}

.content-note {
  display: grid;
  gap: 0.5rem;
  padding: 1.5rem;
  border-left: 3px solid var(--gold);
  background: #f7f4ee;
}

.content-note strong {
  font-size: 1.1rem;
}

.content-note span {
  color: #59616a;
}

.site-footer {
  background: rgba(5, 15, 25, 0.98);
  color: rgba(255, 255, 255, 0.68);
}

.site-footer__mobile {
  display: none;
}

.site-footer__inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.15rem 0 1rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.95fr;
  gap: 1.25rem;
  align-items: start;
}

.site-footer__brand .brand-logo {
  height: 48px;
}

.site-footer__about p {
  margin-top: 0.55rem;
}

.site-footer h3 {
  margin: 0 0 0.45rem;
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0.22rem 0;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.45;
}

.site-footer__inner a:hover,
.site-footer__inner a:focus-visible {
  color: #fff;
}

.site-footer strong {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer__bottom {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.7rem 0 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}

.site-footer__bottom a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}

.site-footer__bottom a:hover,
.site-footer__bottom a:focus-visible {
  color: #fff;
}

.flash-stack {
  position: fixed;
  top: 88px;
  right: 16px;
  z-index: 80;
  display: grid;
  gap: 0.6rem;
}

.flash {
  padding: 0.8rem 1rem;
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
  font-weight: 700;
}

.flash--success {
  border-left: 4px solid #2d9b63;
}

.flash--error,
.flash--warning {
  border-left: 4px solid var(--gold);
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: linear-gradient(135deg, var(--ink), var(--ink-3));
}

.login-card {
  width: min(420px, 100%);
  display: grid;
  gap: 1rem;
  padding: 2rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin: 1rem 0 0.5rem;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px 1fr;
  background: #f4f5f6;
}

.admin-sidebar {
  padding: 1.4rem;
  background: linear-gradient(180deg, var(--ink), var(--ink-2));
  color: #fff;
}

.admin-sidebar nav {
  display: grid;
  gap: 0.4rem;
  margin-top: 2rem;
}

.admin-sidebar nav a {
  padding: 0.95rem 1rem;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.admin-sidebar nav a.is-active,
.admin-sidebar nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.admin-main {
  padding: clamp(1rem, 3vw, 2.2rem);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.admin-header h1 {
  margin: 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.stat-grid article,
.admin-panel,
.admin-form,
.preview-panel {
  border: 1px solid rgba(7, 17, 26, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(7, 17, 26, 0.05);
}

.stat-grid article {
  padding: 1.4rem;
  text-align: center;
}

.stat-grid strong {
  display: block;
  font-size: 2rem;
}

.stat-grid span {
  color: var(--muted);
}

.admin-panel,
.admin-form {
  padding: 1.4rem;
}

.admin-form__section h2 {
  margin: 0 0 1rem;
  text-align: left;
  font-size: 1.25rem;
}

.admin-form__section--spaced {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(7, 17, 26, 0.08);
}

.why-admin-list {
  display: grid;
  gap: 1rem;
}

.why-admin-item {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid rgba(7, 17, 26, 0.08);
  border-radius: 6px;
  background: #fafafa;
}

.why-admin-item__icon {
  min-height: 56px;
  padding-top: 0.2rem;
}

.why-admin-item__icon svg {
  width: 48px;
  height: 48px;
}

.why-admin-item__fields {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.admin-panel--stacked {
  margin-top: 1.2rem;
}

.admin-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.admin-panel__header h2 {
  margin: 0;
  text-align: left;
  font-size: 1.25rem;
}

.admin-list {
  display: grid;
  gap: 0.8rem;
}

.admin-list article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: center;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(7, 17, 26, 0.08);
}

.admin-list img {
  width: 72px;
  height: 54px;
  border-radius: 4px;
  object-fit: cover;
}

.admin-list__badge {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 6px;
  background: rgba(212, 166, 58, 0.14);
  color: var(--gold);
  font-weight: 900;
}

.admin-list span,
.admin-list p {
  color: var(--muted);
}

.admin-list--large article {
  grid-template-columns: 130px 1fr auto;
}

.admin-list--large img {
  width: 130px;
  height: 90px;
}

.admin-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.admin-row-actions form {
  margin: 0;
}

.button--small {
  min-height: auto;
  padding: 0.55rem 0.8rem;
  font-size: 0.82rem;
}

.button--neutral {
  background: #eef1f4;
  color: #17212b;
  border: 1px solid rgba(7, 17, 26, 0.1);
}

.button--danger {
  background: #b42318;
  color: #fff;
  border: 1px solid #b42318;
}

.button--danger:hover,
.button--neutral:hover {
  transform: translateY(-1px);
}

.admin-form label {
  display: grid;
  gap: 0.45rem;
  color: #303942;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(7, 17, 26, 0.14);
  border-radius: 4px;
  padding: 0.9rem 1rem;
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.2rem;
}

.admin-form--split {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 1.4rem;
}

.file-box {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed rgba(7, 17, 26, 0.2);
  border-radius: 6px;
  background: #fafafa;
}

.file-box small {
  color: var(--muted);
  font-weight: 600;
}

.quote-list {
  display: grid;
  gap: 1rem;
}

.quote-card {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(7, 17, 26, 0.08);
}

.quote-card:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.quote-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.quote-card__header strong,
.quote-card__header span {
  display: block;
}

.quote-card__header span,
.quote-card p {
  color: var(--muted);
}

.quote-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  margin: 0 0 1rem;
}

.quote-card dl div {
  padding: 0.8rem;
  border-radius: 6px;
  background: #f7f8f9;
}

.quote-card dt {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quote-card dd {
  margin: 0;
  font-weight: 700;
}

.quote-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.quote-photos img {
  width: 92px;
  height: 72px;
  border-radius: 4px;
  object-fit: cover;
}

.preview-panel {
  padding: 1rem;
}

.preview-panel h2 {
  margin: 0 0 1rem;
  text-align: left;
  font-size: 1rem;
}

.preview-panel img {
  width: 100%;
  aspect-ratio: 1.35;
  border-radius: 6px;
  object-fit: cover;
}

@media (max-width: 920px) {
  .site-header {
    height: 90px;
    padding: 0 1.25rem;
  }

  .cta-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .legacy-phone-symbol {
    display: none;
  }

  .site-header__toggle {
    display: block;
  }

  .site-header__nav {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    display: none;
    padding: 1rem 1.25rem 1.35rem;
    background: rgba(5, 13, 20, 0.98);
  }

  .site-header__nav.is-open {
    display: grid;
  }

  .nav-call {
    width: 100%;
    min-height: 42px;
    margin-top: 16px;
    padding: 0.68rem 1rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #c99527, #e4b748);
    box-shadow: none;
    font-size: 0.88rem;
    line-height: 1.1;
    text-align: center;
  }

  .hero {
    min-height: 520px;
    align-items: end;
    padding-top: 120px;
    padding-bottom: 48px;
    background-position: center center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(4, 10, 16, 0.88) 0%, rgba(4, 10, 16, 0.64) 58%, rgba(4, 10, 16, 0.28) 100%),
      linear-gradient(180deg, rgba(5, 12, 18, 0.2) 0%, rgba(5, 12, 18, 0.9) 100%);
  }

  .hero h1 {
    max-width: 90%;
    font-size: clamp(2.05rem, 7.6vw, 3rem);
    line-height: 1.16;
  }

  .hero p {
    max-width: 90%;
    font-size: 1.16rem;
    line-height: 1.55;
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

  .hero__actions {
    gap: 0.48rem;
  }

  .hero__actions .button {
    min-height: 38px;
    padding-top: 0.58rem;
    padding-bottom: 0.58rem;
  }

  .hero__proof {
    gap: 0.7rem;
  }

  .hero__proof span {
    font-size: 0.88rem;
  }

  .card-grid,
  .realization-grid,
  .contact__grid,
  .site-footer__inner,
  .stat-grid,
  .form-grid,
  .admin-form--split,
  .content-grid {
    grid-template-columns: 1fr;
  }

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

  .why .section-inner {
    padding: 1.6rem 0 1.9rem;
  }

  .why h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.65rem, 5.5vw, 2.15rem);
  }

  .why h2::after {
    margin-top: 0.4rem;
  }

  .why article {
    padding: 0.7rem 0.9rem;
    text-align: center;
  }

  .why article + article {
    border-left: 0;
  }

  .why article:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.055);
  }

  .why article:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.055);
  }

  .icon {
    text-align: center;
    min-height: 54px;
  }

  .icon svg {
    width: 48px;
    height: 48px;
  }

  .why h3 {
    margin: 0.38rem 0 0.35rem;
    font-size: 1rem;
  }

  .why p {
    max-width: 210px;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 0.18rem;
    padding: 12px 20px 24px;
    margin: 0 10px 10px;
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 18px 18px;
    border-top-color: rgba(255, 255, 255, 0.1);
  }

  .site-footer__inner {
    width: auto;
    margin: 16px 10px 0;
    padding: 24px 20px 0;
    gap: 0;
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
  }

  .footer-section {
    margin-bottom: 0;
    padding-bottom: 20px;
  }

  .footer-section:last-child {
    padding-bottom: 20px;
  }

  .footer-section + .footer-section {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-footer__brand .brand-logo {
    height: 50px;
  }

  .site-footer__about p {
    display: none;
  }

  .site-footer__about {
    display: none;
  }

  .site-footer h3 {
    margin-bottom: 0.28rem;
  }

  .site-footer a,
  .site-footer p {
    margin: 0.12rem 0;
    font-size: 0.86rem;
    line-height: 1.2;
  }

  .site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-footer__bottom,
  .site-footer__bottom a {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.46);
  }

  .site-footer__bottom a {
    margin-top: 8px;
    opacity: 0.5;
    color: var(--gold-light);
  }

  .quote-card dl {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    height: 65px;
  }

  .site-footer__brand .brand-logo {
    height: 46px;
  }

  .section-inner {
    width: min(100% - 1.2rem, 1180px);
    padding: 3rem 0;
  }

  .subpage {
    padding-top: 90px;
  }

  .subpage-hero {
    min-height: 260px;
    padding: 3rem 1.2rem;
    background-position: center center;
  }

  .content-section {
    width: min(100% - 1.2rem, 1180px);
    padding: 3rem 0;
  }

  .site-footer__inner {
    width: auto;
    margin: 12px 10px 0;
    padding: 24px 20px 0;
    gap: 0;
  }

  .site-footer__bottom {
    width: auto;
    margin: 0 10px 10px;
    padding: 12px 20px 24px;
    text-align: left;
  }

  .site-footer__brand .brand-logo {
    height: 44px;
  }

  .footer-section {
    margin-bottom: 0;
  }

  .hero {
    min-height: 520px;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .hero__content {
    max-width: 90%;
  }

  .hero h1,
  .hero p {
    max-width: 100%;
  }

  .hero__proof {
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .hero__proof span {
    width: 100%;
    font-size: 0.82rem;
  }

  .why__grid {
    grid-template-columns: 1fr;
  }

  .why .section-inner {
    padding: 1.35rem 0 1.55rem;
  }

  .why.section-dark {
    margin-bottom: 0;
  }

  .site-footer {
    padding-top: 12px;
  }

  .why h2 {
    margin-bottom: 0.8rem;
    font-size: 1.55rem;
  }

  .why article,
  .why article:nth-child(even),
  .why article:nth-child(n + 3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
    padding: 0.58rem 0.75rem;
  }

  .why article:first-child {
    border-top: 0;
  }

  .icon {
    min-height: 46px;
  }

  .icon svg {
    width: 42px;
    height: 42px;
  }

  .why h3 {
    margin: 0.28rem 0 0.24rem;
    font-size: 0.96rem;
  }

  .why p {
    max-width: 260px;
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .service-card .card-body,
  .realization-card .card-body,
  .admin-panel,
  .admin-form,
  .quote-form {
    padding: 1rem;
  }

  .admin-header {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-sidebar nav {
    grid-template-columns: 1fr;
  }

  .admin-list--large article,
  .admin-list article,
  .why-admin-item {
    grid-template-columns: 84px 1fr;
  }

  .admin-list--large img,
  .admin-list img {
    width: 84px;
    height: 64px;
  }

  .admin-row-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .quote-card__header {
    display: grid;
  }
}

@media (max-width: 768px) {
  .site-footer {
    width: 100%;
    margin: 0;
    padding: 12px 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    background:
      linear-gradient(180deg, rgba(7, 17, 26, 0.96) 0%, rgba(5, 15, 25, 0.98) 100%);
    box-shadow: none;
  }

  .site-footer__inner,
  .site-footer__bottom {
    display: none;
  }

  .site-footer__mobile {
    display: flex;
  }

  .footer-contact {
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 340px;
    margin: 10px auto 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .footer-contact-header {
    margin: 0;
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .footer-line {
    position: relative;
    height: 1px;
    margin: 18px 0 0;
  }

  .footer-line::before,
  .footer-line::after {
    content: "";
    position: absolute;
    top: 0;
    width: 38%;
    height: 1px;
    background: linear-gradient(to right, transparent, #d4af37);
  }

  .footer-line::before {
    left: 0;
  }

  .footer-line::after {
    right: 0;
    background: linear-gradient(to left, transparent, #d4af37);
  }

  .footer-logo {
    position: absolute;
    top: -22px;
    left: 50%;
    width: 44px;
    height: 44px;
    padding: 4px;
    transform: translateX(-50%);
    background-color: #0b1d2a;
    background-image: url("../images/logo.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }

  .footer-contact-header h3 {
    margin: 28px 0 0;
    color: #fff;
    font-size: 17px;
    letter-spacing: 3px;
    line-height: 1.2;
    text-align: center;
  }

  .footer-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    margin: 0 0 10px;
    padding-bottom: 14px;
    padding-left: 10px;
    text-decoration: none;
  }

  .footer-item:not(.footer-item--last)::after {
    content: "";
    position: absolute;
    left: 60px;
    right: 10%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
  }

  .footer-item--last {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .footer-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    min-width: 42px;
    margin-left: 5px;
    border: 1px solid rgba(212, 175, 55, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease;
  }

  .footer-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #d4af37;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .footer-item:active .footer-icon {
    background: rgba(212, 175, 55, 0.1);
    border-color: #d4af37;
  }

  .footer-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-top: 0;
    line-height: 1.2;
  }

  .footer-main {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .footer-sub {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    line-height: 1.2;
  }

  .footer-bottom-divider {
    width: 85%;
    height: 1px;
    margin: 20px auto;
    background: linear-gradient(to right, transparent, rgba(255, 215, 0, 0.2), transparent);
  }

  .footer-bottom {
    padding-bottom: 15px;
    text-align: center;
  }

  .footer-copy {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.3;
  }

  .footer-copy span {
    color: #d4af37;
  }

  .site-footer .footer-panel {
    color: #d4af37;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
  }

  .site-footer .footer-panel:visited {
    color: #d4af37;
  }

  .site-footer .footer-panel:active {
    opacity: 0.7;
  }
}
