:root {
  --color-primary: #0B1F3A;
  --color-accent: #D4AF37;
  --color-bg: #F5F7FA;
  --color-white: #FFFFFF;
  --color-text: #1A1A1A;
  --color-muted: #5B6776;
  --color-border: rgba(11, 31, 58, 0.12);
  --shadow-sm: 0 6px 18px rgba(11, 31, 58, 0.08);
  --shadow-md: 0 14px 34px rgba(11, 31, 58, 0.14);
  --radius-sm: 12px;
  --radius-md: 18px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transform: translateY(-160%);
  transition: transform 160ms ease;
  z-index: 2000;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid rgba(212, 175, 55, 0.45);
  outline-offset: 2px;
}

.site {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section--tight {
  padding: 56px 0;
}

.section__head {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.section__head--flush {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 999px;
}

.h1 {
  margin: 0;
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.h2 {
  margin: 0;
  font-size: clamp(26px, 2.2vw, 36px);
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.lead {
  margin: 0;
  font-size: 16px;
  color: var(--color-muted);
}

.lead--lg {
  font-size: 18px;
}

.h2--sm {
  font-size: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease, border-color 140ms ease, color 140ms ease;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.btn:focus {
  outline: 2px solid rgba(212, 175, 55, 0.45);
  outline-offset: 2px;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary);
}

.btn-primary:hover {
  background: #ddb945;
}

.btn-secondary {
  background: transparent;
  border-color: rgba(11, 31, 58, 0.28);
  color: var(--color-primary);
}

.btn-secondary:hover {
  border-color: rgba(11, 31, 58, 0.42);
}

.btn-secondary-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--color-white);
}

.btn-secondary-light:hover {
  border-color: rgba(212, 175, 55, 0.7);
  color: var(--color-white);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11, 31, 58, 0.08);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--color-primary);
  color: var(--color-accent);
  font-weight: 700;
}

.brand__mark--logo {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(11, 31, 58, 0.12);
  width: 52px;
  height: 52px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.logo-img {
  display: block;
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-img--nav {
  max-height: 50px;
}

.brand__text {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(11, 31, 58, 0.86);
  font-weight: 500;
  transition: background-color 140ms ease, color 140ms ease;
}

.nav__link:hover {
  background: rgba(11, 31, 58, 0.06);
  color: var(--color-primary);
}

.nav__link.is-active {
  color: var(--color-primary);
  background: rgba(212, 175, 55, 0.18);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.3);
}

.nav__cta {
  margin-left: 6px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(11, 31, 58, 0.16);
  border-radius: 12px;
  background: var(--color-white);
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
}

.nav-toggle__bar {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.86);
  display: block;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(86vh - 72px);
  padding: 84px 0;
  color: var(--color-white);
}

.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero__slide.active {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.3), transparent);
}

.hero__controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 3;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero__prev,
.hero__next {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.hero__prev:hover,
.hero__next:hover {
  background: rgba(0, 0, 0, 0.65);
  transform: scale(1.02);
}

.hero__dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 3;
}

.hero__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 5px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.hero__dot:hover {
  transform: scale(1.12);
}

.hero__dot.active {
  background: #fff;
}

.hero__content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  padding-left: 80px;
  padding-right: 24px;
  color: #fff;
  text-align: left;
  max-width: 700px;
}

.hero__content .eyebrow {
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero__title {
  margin: 10px 0 0;
  font-weight: 800;
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero__subtitle {
  font-size: 18px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.85);
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero__btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
}

.hero__btn-secondary:hover {
  background: rgba(0, 0, 0, 0.34);
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

.hero__slide.active .hero__content {
  animation: fadeUp 1s ease;
}

@media (max-width: 760px) {
  .hero__content {
    left: 50%;
    transform: translate(-50%, -50%);
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    width: min(700px, calc(100% - 24px));
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__controls {
    display: none;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.who__actions {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid--2 {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--2eq {
  grid-template-columns: repeat(2, 1fr);
}

.cta--card {
  border-radius: 18px;
}

.services__cta {
  margin-top: 26px;
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 0 rgba(11, 31, 58, 0.03);
}

.card--padded {
  padding: 22px;
}

.card--hover {
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.4);
}

.service {
  display: grid;
  gap: 14px;
}

.service__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.16);
  color: var(--color-primary);
}

.icon {
  width: 22px;
  height: 22px;
  display: block;
}

.service__title {
  margin: 0;
  font-size: 16px;
  color: var(--color-primary);
  font-weight: 700;
}

.service__desc {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.bullet {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
}

.bullet__dot {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.18);
  display: grid;
  place-items: center;
}

.bullet__text {
  margin: 0;
  color: rgba(11, 31, 58, 0.88);
  font-weight: 500;
}

.media {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-sm);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 12px;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(11, 31, 58, 0.1);
  background: rgba(255, 255, 255, 0.6);
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 58, 0.0), rgba(11, 31, 58, 0.24));
  opacity: 0;
  transition: opacity 140ms ease;
}

.gallery__item:hover::after {
  opacity: 1;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.cta {
  background: var(--color-primary);
  color: var(--color-white);
}

.cta__inner {
  display: grid;
  gap: 16px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.cta .h2 {
  color: var(--color-white);
}

.cta .lead {
  color: rgba(255, 255, 255, 0.82);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.project-card {
  display: grid;
  overflow: hidden;
  text-decoration: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.10);
  border: 1px solid rgba(11, 31, 58, 0.12);
  position: relative;
}

.project-card__media {
  position: relative;
  border-radius: 0;
}

.project-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 31, 58, 0.0), rgba(11, 31, 58, 0.38));
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transform: scale(1);
  transition: transform 220ms ease;
}

.project-card__body {
  padding: 16px 16px 18px;
  display: grid;
  gap: 6px;
}

.project-card__title {
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}

.project-card__meta {
  color: var(--color-muted);
  font-size: 14px;
}

.project-card__actions {
  margin-top: 10px;
  display: flex;
}

.project-card:hover .project-card__media::after {
  opacity: 1;
}

.project-card:hover .project-card__media img {
  transform: scale(1.045);
}

.project-card:hover {
  box-shadow: var(--shadow-md);
}

.project-card:hover::before {
  opacity: 1;
}

.project-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.0), rgba(212, 175, 55, 0.9), rgba(212, 175, 55, 0.0));
  opacity: 0;
  transition: opacity 180ms ease;
}

.projects-cta {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.projects-list {
  display: grid;
  gap: 16px;
}

.project {
  overflow: hidden;
}

.project--premium {
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.10);
}

.project__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  align-items: start;
}

.project__media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 58, 0.12);
  box-shadow: var(--shadow-sm);
}

.project__main {
  display: block;
  position: relative;
}

.project__main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 58, 0.0), rgba(11, 31, 58, 0.26));
  opacity: 0;
  transition: opacity 180ms ease;
}

.project__main:hover::after {
  opacity: 1;
}

.project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.project__content {
  display: grid;
  gap: 10px;
}

.project__title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}

.project__meta {
  color: var(--color-muted);
  font-weight: 600;
}

.project__desc {
  margin: 0;
  color: rgba(11, 31, 58, 0.84);
}

.project__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 6px;
}

.project__thumb {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 58, 0.12);
  background: rgba(255, 255, 255, 0.6);
}

.project__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 180ms ease;
}

.project__thumb:hover img {
  transform: scale(1.03);
}

.project__actions {
  margin-top: 4px;
}

.empty {
  background: var(--color-white);
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 18px;
  padding: 34px;
  box-shadow: var(--shadow-sm);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
}

.empty__icon {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.16);
  color: var(--color-primary);
}

.empty__title {
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.empty__text {
  color: var(--color-muted);
}

.project-view {
  display: grid;
  gap: 14px;
}

.project-view__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.project-view__title {
  margin: 0;
}

.project-view__meta {
  margin-top: 8px;
  color: var(--color-muted);
  font-weight: 600;
}

.project-view__gallery {
  display: grid;
  gap: 10px;
}

.project-view__main {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 58, 0.12);
  box-shadow: var(--shadow-md);
}

.project-view__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.project-view__thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.project-view__thumb {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 58, 0.12);
  display: block;
}

.project-view__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 180ms ease;
}

.project-view__thumb:hover img {
  transform: scale(1.04);
}

.project-view__body {
  border-radius: 18px;
}

.project-view__label {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(11, 31, 58, 0.68);
}

.project-view__desc {
  margin: 10px 0 0;
  color: rgba(11, 31, 58, 0.86);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
}

.modal[hidden] {
  display: none;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.68);
  backdrop-filter: blur(6px);
}

.modal__dialog {
  position: relative;
  width: min(980px, calc(100% - 32px));
  margin: 6vh auto 0;
  background: var(--color-white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: var(--shadow-md);
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(11, 31, 58, 0.12);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.modal__img {
  width: 100%;
  height: auto;
  display: block;
  background: rgba(245, 247, 250, 0.8);
}

.redirect {
  border-radius: 18px;
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.redirect__title {
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  font-size: 18px;
}

.redirect__text {
  color: var(--color-muted);
}

.redirect__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}

.logo-preview {
  margin-top: 12px;
  border-radius: 18px;
  border: 1px solid rgba(11, 31, 58, 0.12);
  background: rgba(245, 247, 250, 0.7);
  padding: 14px;
  display: grid;
  place-items: center;
}

.logo-settings__grid {
  margin-top: 18px;
  gap: 16px;
}

.logo-preview--lg {
  padding: 18px;
}

.logo-preview__img {
  max-width: 100%;
  height: 70px;
  width: auto;
  object-fit: contain;
}

.logo-preview__img--lg {
  height: 96px;
}

.dropzone {
  border: 1px dashed rgba(11, 31, 58, 0.22);
  border-radius: 16px;
  padding: 16px;
  background: rgba(245, 247, 250, 0.55);
  color: rgba(11, 31, 58, 0.84);
  display: grid;
  gap: 6px;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.dropzone:hover {
  border-color: rgba(212, 175, 55, 0.38);
  background: rgba(212, 175, 55, 0.10);
}

.dropzone:focus {
  outline: 2px solid rgba(212, 175, 55, 0.55);
  outline-offset: 2px;
}

.dropzone.is-dragover {
  border-color: rgba(212, 175, 55, 0.55);
  background: rgba(212, 175, 55, 0.14);
  box-shadow: inset 0 0 0 2px rgba(212, 175, 55, 0.20);
  transform: translateY(-1px);
}

.dropzone__title {
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}

.dropzone__meta {
  font-size: 13px;
  color: rgba(11, 31, 58, 0.70);
}

.dropzone__input {
  display: none;
}


.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #0b1f3a;
  box-shadow: 0 14px 34px rgba(11, 31, 58, 0.28);
  z-index: 3000;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.wa-float:focus {
  outline: 2px solid rgba(212, 175, 55, 0.55);
  outline-offset: 3px;
}

.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(11, 31, 58, 0.34);
  filter: saturate(1.05);
}

.wa-float__icon {
  width: 28px;
  height: 28px;
  display: block;
}

.wa-float__tooltip {
  position: absolute;
  right: 68px;
  bottom: 50%;
  transform: translateY(50%);
  background: rgba(11, 31, 58, 0.94);
  color: var(--color-white);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
}

.wa-float:hover .wa-float__tooltip {
  opacity: 1;
  transform: translateY(50%) translateX(-2px);
}

.auth {
  padding: 92px 0;
  display: grid;
  place-items: center;
}

.auth__shell {
  width: min(520px, calc(100% - 32px));
  margin: 0 auto;
}

.auth__card {
  background: var(--color-white);
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  padding: 26px;
}

.auth__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.auth__mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--color-primary);
  color: var(--color-accent);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.auth__mark--logo {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(11, 31, 58, 0.12);
  box-shadow: var(--shadow-sm);
}

.logo-img--auth {
  max-height: 50px;
}

.auth__title {
  margin: 0;
  color: var(--color-primary);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.auth__subtitle {
  margin: 6px 0 0;
  color: var(--color-muted);
  font-size: 14px;
}

.form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.field {
  position: relative;
}

.input {
  width: 100%;
  padding: 18px 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(11, 31, 58, 0.18);
  background: rgba(245, 247, 250, 0.75);
  color: var(--color-text);
  transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.input::placeholder {
  color: transparent;
}

.field label {
  position: absolute;
  left: 14px;
  top: 15px;
  padding: 0 6px;
  color: rgba(11, 31, 58, 0.64);
  transform-origin: left top;
  transition: transform 140ms ease, color 140ms ease, background-color 140ms ease;
  pointer-events: none;
}

.input:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18);
  background: var(--color-white);
}

.input:focus + label,
.input:not(:placeholder-shown) + label {
  transform: translateY(-12px) scale(0.86);
  color: var(--color-primary);
  background: var(--color-bg);
  border-radius: 10px;
}

.form__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(11, 31, 58, 0.82);
  font-weight: 500;
  user-select: none;
}

.check__input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
}

.check__label {
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.auth__bottom {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
}

.muted {
  color: var(--color-muted);
}

.link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color 140ms ease;
}

.link:hover {
  color: var(--color-accent);
}

.alert {
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid transparent;
  font-size: 14px;
  margin-top: 12px;
}

.alert--error {
  background: rgba(179, 38, 30, 0.08);
  border-color: rgba(179, 38, 30, 0.22);
  color: #7a1b14;
}

.alert--success {
  background: rgba(38, 110, 62, 0.1);
  border-color: rgba(38, 110, 62, 0.22);
  color: #1a5a31;
}

.dash__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dash__meta-title {
  font-weight: 700;
  color: var(--color-primary);
}

.dash__meta-desc {
  color: var(--color-muted);
  font-size: 14px;
}

.dash {
  background: var(--color-bg);
}

.dash__layout {
  display: flex;
  min-height: 100vh;
}

.dash__sidebar {
  width: 276px;
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.92);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.dash__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 16px;
  transition: background-color 140ms ease;
}

.dash__brand:hover {
  background: rgba(255, 255, 255, 0.08);
}

.dash__brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.14);
  color: var(--color-accent);
  font-weight: 800;
}

.dash__brand-mark--logo {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.logo-img--dash {
  max-height: 50px;
}

.dash__brand-text {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.dash__nav {
  display: grid;
  gap: 6px;
}

.dash__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.dash__link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
}

.dash__link.is-active {
  background: rgba(212, 175, 55, 0.18);
  color: var(--color-white);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.38);
}

.dash__icon {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
}

.dash__link.is-active .dash__icon {
  background: rgba(212, 175, 55, 0.22);
  color: var(--color-white);
}

.dash__sidebar-note {
  margin-top: auto;
  padding: 12px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dash__sidebar-title {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.dash__sidebar-user {
  margin-top: 6px;
  font-weight: 700;
  color: var(--color-white);
}

.dash__body {
  flex: 1;
  padding: 22px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.dash__topbar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dash__page {
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}

.dash__crumb {
  margin-top: 4px;
  font-size: 13px;
  color: var(--color-muted);
}

.dash__topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash__user {
  display: grid;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(11, 31, 58, 0.04);
  border: 1px solid rgba(11, 31, 58, 0.08);
}

.dash__user-label {
  font-size: 12px;
  color: var(--color-muted);
}

.dash__user-name {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 14px;
}

.dash__content {
  width: min(var(--container), 100%);
}

.dash__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.dash__stat {
  position: relative;
  overflow: hidden;
}

.dash__stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-accent);
}

.dash__stat-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash__stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.16);
  color: var(--color-primary);
}

.dash__stat-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(11, 31, 58, 0.74);
}

.dash__stat-value {
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--color-primary);
  margin-top: 4px;
}

.dash__stat-foot {
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 13px;
}

.dash__panel {
  display: grid;
  gap: 12px;
}

.dash__panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.dash__panel-title {
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-primary);
  font-size: 18px;
}

.dash__panel-sub {
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 13px;
}

.dash__panel-desc {
  margin: 0;
  color: rgba(11, 31, 58, 0.84);
}

.dash__images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.dash__image {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 58, 0.12);
  background: rgba(255, 255, 255, 0.6);
}

.dash__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.table-wrap {
  overflow: auto;
  border-radius: 16px;
  border: 1px solid rgba(11, 31, 58, 0.10);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
}

.table th,
.table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(11, 31, 58, 0.08);
  text-align: left;
  font-size: 14px;
}

.table thead th {
  position: sticky;
  top: 0;
  background: rgba(245, 247, 250, 0.92);
  backdrop-filter: blur(10px);
  color: rgba(11, 31, 58, 0.74);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
}

.table tbody tr:hover td {
  background: rgba(212, 175, 55, 0.06);
}

.table__right {
  text-align: right;
}

.table__strong {
  font-weight: 700;
  color: var(--color-primary);
}

.table__empty {
  text-align: center;
  padding: 22px 12px;
  color: var(--color-muted);
}

.table__actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.table__form {
  margin: 0;
}

.btn-sm {
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 13px;
}

.btn-danger {
  background: rgba(179, 38, 30, 0.12);
  color: #7a1b14;
  border-color: rgba(179, 38, 30, 0.22);
}

.btn-danger:hover {
  background: rgba(179, 38, 30, 0.16);
}

.dash__form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.input[type="file"] {
  padding: 14px;
  background: rgba(245, 247, 250, 0.75);
}

.field--file {
  display: grid;
  gap: 8px;
}

.field__label {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 13px;
}

.field__hint {
  color: var(--color-muted);
  font-size: 13px;
}

textarea.input {
  resize: vertical;
  min-height: 120px;
}

.quote__shell {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 16px;
  align-items: start;
}

.contact__shell {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 16px;
  align-items: start;
}

.contact__card {
  border-radius: 18px;
}

.contact__aside {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 250, 0.92));
}

.contact__aside-title {
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--color-primary);
  font-size: 16px;
}

.contact__aside-text {
  margin-top: 10px;
  color: rgba(11, 31, 58, 0.84);
}

.contact__divider {
  height: 1px;
  background: rgba(11, 31, 58, 0.10);
  margin: 16px 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.contact__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.quote__card {
  border-radius: 18px;
}

.quote__aside {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 250, 0.92));
}

.quote__aside-title {
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--color-primary);
  font-size: 16px;
}

.quote__steps {
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(11, 31, 58, 0.84);
  display: grid;
  gap: 8px;
}

.quote__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.quote__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.field--select label {
  transform: translateY(-12px) scale(0.86);
  color: var(--color-primary);
  background: var(--color-bg);
  border-radius: 10px;
}

select.input {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(11, 31, 58, 0.7) 50%),
    linear-gradient(135deg, rgba(11, 31, 58, 0.7) 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position:
    calc(100% - 20px) calc(50% + 2px),
    calc(100% - 14px) calc(50% + 2px),
    100% 0;
  background-size: 6px 6px, 6px 6px, 2.5em 2.5em;
  background-repeat: no-repeat;
}

.expand {
  display: inline-block;
  text-align: left;
}

.expand__summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.expand__summary::-webkit-details-marker {
  display: none;
}

.expand[open] .expand__summary {
  color: var(--color-accent);
}

.expand__panel {
  margin-top: 10px;
  width: min(520px, 60vw);
  background: rgba(245, 247, 250, 0.9);
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 14px;
  padding: 12px;
}

.expand__meta {
  display: grid;
  gap: 6px;
  color: rgba(11, 31, 58, 0.84);
  font-size: 13px;
}

.expand__k {
  font-weight: 800;
  color: rgba(11, 31, 58, 0.72);
}

.expand__msg {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(11, 31, 58, 0.10);
  color: rgba(11, 31, 58, 0.86);
  font-size: 14px;
}

.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.9);
  padding: 56px 0 26px;
  margin-top: 80px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 28px;
}

.social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social__link {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.social__link:hover {
  transform: translateY(-2px) scale(1.02);
  background: rgba(212, 175, 55, 0.18);
  border-color: rgba(212, 175, 55, 0.32);
  color: var(--color-accent);
}

.social__link:focus {
  outline: 2px solid rgba(212, 175, 55, 0.55);
  outline-offset: 2px;
}

.social__link i {
  font-size: 18px;
  line-height: 1;
}

.social--light .social__link {
  background: rgba(11, 31, 58, 0.04);
  border-color: rgba(11, 31, 58, 0.12);
  color: rgba(11, 31, 58, 0.82);
}

.social--light .social__link:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: rgba(212, 175, 55, 0.34);
  color: var(--color-primary);
}

.footer__name {
  font-weight: 700;
  font-size: 18px;
  color: var(--color-white);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  margin-bottom: 12px;
}

.logo-img--footer {
  max-height: 50px;
}

.footer__tagline {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.footer__title {
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.84);
  transition: color 140ms ease;
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.footer__bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__copy {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

@media (max-width: 980px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--2 {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project__grid {
    grid-template-columns: 1fr;
  }

  .project__gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-view__thumbs {
    grid-template-columns: repeat(4, 1fr);
  }



  .dash__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash__layout {
    flex-direction: column;
  }

  .dash__sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }

  .dash__nav {
    grid-auto-flow: column;
    grid-auto-columns: minmax(180px, 1fr);
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .dash__sidebar-note {
    display: none;
  }

  .dash__images {
    grid-template-columns: repeat(2, 1fr);
  }

  .quote__shell {
    grid-template-columns: 1fr;
  }

  .contact__shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 64px 0;
  }

  .auth {
    padding: 72px 0;
  }

  .auth__card {
    padding: 20px;
    border-radius: 18px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    right: 16px;
    top: 66px;
    left: 16px;
    background: var(--color-white);
    border: 1px solid rgba(11, 31, 58, 0.12);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    padding: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav__link {
    justify-content: space-between;
    border-radius: 14px;
  }

  .nav__cta {
    width: 100%;
    margin-left: 0;
  }

  .brand__mark--logo {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .logo-img--nav {
    height: 40px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project__gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-view__thumbs {
    grid-template-columns: repeat(3, 1fr);
  }

  .modal__dialog {
    margin-top: 10vh;
  }



  .dash__body {
    padding: 16px;
  }

  .dash__topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .dash__topbar-right {
    justify-content: space-between;
  }

  .dash__stats {
    grid-template-columns: 1fr;
  }

  .dash__images {
    grid-template-columns: 1fr;
  }

  .quote__grid {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .expand__panel {
    width: min(520px, calc(100vw - 56px));
  }
}

