:root {
  --bg: #071013;
  --bg-soft: #0d171a;
  --panel: rgba(15, 24, 28, 0.9);
  --panel-strong: #142126;
  --panel-border: rgba(135, 157, 150, 0.14);
  --text: #f2f4f2;
  --text-muted: #a7b6b0;
  --text-soft: #cbd2cf;
  --accent: #92ceb2;
  --accent-deep: #6ca389;
  --accent-warm: #83968d;
  --accent-fade: rgba(143, 200, 175, 0.1);
  --shadow: 0 28px 70px rgba(1, 5, 7, 0.45);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-width: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Noto Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(143, 200, 175, 0.07), transparent 30%),
    radial-gradient(circle at 82% 16%, rgba(123, 142, 134, 0.08), transparent 24%),
    linear-gradient(180deg, #071013 0%, #0a1417 28%, #0d181b 58%, #071013 100%);
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 84%);
  opacity: 0.22;
}

body.is-locked {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
  border: 0;
  background: none;
}

.page-shell {
  position: relative;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 18px 0 128px;
}

.bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
  opacity: 0.65;
}

.bg-orb-left {
  width: 320px;
  height: 320px;
  left: -110px;
  top: 140px;
  background: rgba(63, 212, 198, 0.14);
}

.bg-orb-right {
  width: 280px;
  height: 280px;
  right: -100px;
  top: 420px;
  background: rgba(121, 142, 134, 0.14);
}

.glass-card,
.service-card,
.adv-card,
.industry-card,
.project-shot,
.photo-card,
.timeline-card,
.proof-chip,
.contact-item {
  background: linear-gradient(180deg, rgba(18, 29, 34, 0.94), rgba(10, 18, 22, 0.9));
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.section {
  position: relative;
  padding: 52px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2,
.hero h1,
.contact h2,
.modal-head h2 {
  margin: 0;
  font-family: "Noto Sans Display", sans-serif;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.section-head p:last-child,
.hero-lead,
.adv-copy > p,
.projects-copy > p {
  margin: 16px 0 0;
  color: var(--text-soft);
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, color 0.28s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent), #78b395);
  color: #081111;
}

.button-secondary {
  border: 1px solid rgba(135, 157, 150, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  margin-bottom: 28px;
  border: 1px solid rgba(183, 220, 228, 0.14);
  border-radius: 18px;
  background: rgba(10, 18, 22, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #74ac91);
  color: #072029;
  font-family: "Noto Sans Display", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-family: "Noto Sans Display", sans-serif;
  font-size: 1rem;
  letter-spacing: -0.04em;
}

.brand-copy span {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.site-nav {
  display: inline-flex;
  justify-content: center;
  gap: 22px;
  min-width: 0;
}

.site-nav a,
.mobile-nav a,
.phone-link,
.site-footer a {
  color: var(--text-muted);
  transition: color 0.24s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.mobile-nav a:hover,
.mobile-nav a:focus-visible,
.phone-link:hover,
.phone-link:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid rgba(183, 220, 228, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-btn {
  min-width: 48px;
  min-height: 38px;
  border-radius: 10px;
  color: var(--text-muted);
  font-weight: 700;
}

.lang-btn.is-active {
  background: rgba(143, 200, 175, 0.18);
  color: var(--text);
}

.phone-link {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: 14px;
  border: 1px solid rgba(151, 202, 202, 0.14);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.menu-toggle span + span {
  margin-top: 8px;
}

.mobile-menu {
  margin-top: -10px;
  margin-bottom: 12px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--panel-border);
  background: rgba(18, 42, 54, 0.96);
  box-shadow: var(--shadow);
}

.mobile-nav,
.mobile-contact {
  display: grid;
  gap: 12px;
}

.mobile-contact {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-cta {
  margin-top: 20px;
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 24px;
  align-items: start;
  padding-top: 36px;
}

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

.hero h1 {
  font-family: "Roboto Condensed", "Noto Sans Display", sans-serif;
  font-size: clamp(2.35rem, 3vw, 3.95rem);
  max-width: 560px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-lead {
  max-width: 560px;
  font-size: 0.98rem;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hero-metrics li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 6px;
  overflow: hidden;
  min-height: 168px;
  padding: 20px 18px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(19, 31, 35, 0.96), rgba(10, 18, 22, 0.94));
  border: 1px solid rgba(135, 157, 150, 0.16);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.hero-metrics li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  width: 54px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
}

.metric-value {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
  font-family: "Noto Sans Display", sans-serif;
  line-height: 1;
}

.metric-prefix,
.metric-suffix {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric-prefix:empty,
.metric-suffix:empty {
  display: none;
}

.metric-number {
  display: inline-block;
  font-size: clamp(2.5rem, 3vw, 3.55rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--accent);
  text-shadow: 0 8px 24px rgba(63, 212, 198, 0.08);
}

.metric-label {
  display: block;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.45;
}

.hero-visual {
  min-height: 0;
  padding-top: 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(240px, 0.84fr);
  grid-template-rows: 216px 164px auto;
  gap: 12px;
}

.hero-frame {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(135, 157, 150, 0.14);
  box-shadow: var(--shadow);
}

.hero-frame img,
.project-shot img,
.adv-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-frame-main {
  grid-column: 1;
  grid-row: 1 / 3;
}

.hero-frame-top {
  grid-column: 2;
  grid-row: 1;
}

.hero-frame-bottom {
  grid-column: 2;
  grid-row: 2;
}

.hero-note {
  grid-column: 1 / 3;
  grid-row: 3;
  padding: 20px 22px;
  border-radius: 18px;
}

.hero-note-title {
  margin: 0 0 8px;
  font-weight: 700;
}

.hero-note-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.hero-note-list li {
  position: relative;
  padding-left: 16px;
}

.hero-note-list li::before {
  content: "";
  position: absolute;
  top: 0.52rem;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

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

.proof-chip {
  padding: 18px 20px;
  border-radius: 16px;
}

.proof-chip span {
  display: block;
  font-weight: 700;
  line-height: 1.35;
}

.proof-chip small {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.service-card,
.adv-card,
.industry-card {
  padding: 24px;
  border-radius: 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(143, 200, 175, 0.12);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  color: var(--accent);
}

.service-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(63, 212, 198, 0.26);
  border-radius: 999px;
  background: rgba(63, 212, 198, 0.08);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-card h3,
.adv-card h3,
.industry-card h3,
.timeline-card h3,
.project-panel h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.3;
}

.service-card p,
.adv-card p,
.industry-card p,
.timeline-card p,
.project-panel li,
.faq-list p,
.contact-copy p,
.contact-item span,
.site-footer p {
  margin: 0;
  color: var(--text-muted);
}

.advantages {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 0.76fr);
  gap: 18px;
  align-items: start;
}

.quote-card {
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: 16px;
}

.quote-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.quote-card strong {
  font-family: "Noto Sans Display", sans-serif;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.adv-list {
  display: grid;
  gap: 18px;
}

.adv-visual {
  overflow: hidden;
  min-height: 100%;
  border-radius: 18px;
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}

.adv-visual img {
  height: 100%;
}

.projects-layout {
  display: block;
}

.project-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.project-shot {
  overflow: hidden;
  border-radius: 18px;
}

.project-shot-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.project-caption,
.photo-caption {
  display: grid;
  gap: 6px;
  padding: 16px 16px 18px;
}

.project-shot img {
  aspect-ratio: 1.28;
}

.project-shot-featured img {
  aspect-ratio: auto;
  min-height: 100%;
}

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

.photo-card {
  overflow: hidden;
  border-radius: 18px;
}

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

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

.photo-card-wide img {
  aspect-ratio: 1.5;
}

.project-kind {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(143, 200, 175, 0.2);
  background: rgba(143, 200, 175, 0.08);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-title {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.35;
}

.project-desc {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.project-panel {
  position: sticky;
  top: 116px;
  padding: 24px;
  border-radius: 18px;
}

.project-panel ul {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
  padding-left: 20px;
}

.project-panel-stat {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.project-panel-stat strong {
  font-family: "Noto Sans Display", sans-serif;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.project-panel small {
  color: var(--text-muted);
}

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

.timeline-card {
  position: relative;
  padding: 24px;
  border-radius: 16px;
}

.timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(143, 200, 175, 0.12);
  color: var(--accent);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.03);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin-top: 12px;
}

.contact-card {
  padding: 30px;
  border-radius: 20px;
}

.contact-copy {
  max-width: 760px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

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

.contact-item {
  padding: 18px;
  border-radius: 16px;
}

.contact-item span {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.contact-item a,
.contact-item strong {
  display: inline-block;
  font-weight: 700;
  line-height: 1.35;
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0 0;
  color: var(--text-muted);
}

.site-footer strong {
  display: block;
  color: var(--text);
  margin-bottom: 8px;
}

.site-footer-note {
  margin: 0;
  max-width: 320px;
  font-size: 0.74rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  opacity: 0.72;
}

.site-footer-note a {
  color: var(--text-muted);
}

.site-footer-note a:hover,
.site-footer-note a:focus-visible {
  color: var(--brand);
}

.floating-contact {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 28;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(135, 157, 150, 0.18);
  background: rgba(10, 18, 22, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.floating-contact-button {
  min-height: 52px;
  padding-inline: 20px;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 9, 14, 0.72);
  backdrop-filter: blur(6px);
}

.modal-dialog {
  position: relative;
  width: min(calc(100% - 24px), 860px);
  max-height: calc(100vh - 32px);
  margin: 16px auto;
  overflow: auto;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid rgba(183, 220, 228, 0.18);
  background: linear-gradient(180deg, rgba(31, 63, 78, 0.98), rgba(21, 46, 59, 0.98));
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(183, 220, 228, 0.18);
  color: var(--text);
  font-size: 1.5rem;
}

.modal-head {
  max-width: 620px;
  margin-bottom: 22px;
}

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

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form label span {
  font-size: 0.95rem;
  color: var(--text-soft);
  font-weight: 600;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(183, 220, 228, 0.2);
  border-radius: 16px;
  padding: 14px 16px;
  color: #153341;
  background: rgba(244, 250, 252, 0.96);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: rgba(63, 212, 198, 0.58);
  box-shadow: 0 0 0 4px rgba(63, 212, 198, 0.12);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(21, 51, 65, 0.54);
}

.lead-form select {
  color: #153341;
}

.lead-form select option {
  color: #14303d;
  background: #f3fbfd;
}

.lead-form select option:checked {
  color: #0b2230;
  background: #d8f6f2;
}

.lead-form .full-width,
.form-actions {
  grid-column: 1 / -1;
}

.form-actions {
  display: grid;
  gap: 12px;
  margin-top: 6px;
}

.form-note {
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

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

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

  .site-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero,
  .advantages,
  .projects-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    padding-top: 0;
  }

  .project-panel {
    position: static;
  }

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

@media (max-width: 920px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .section {
    padding: 42px 0;
  }

  .proof-ribbon,
  .service-grid,
  .industry-grid,
  .project-mosaic,
  .photo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 180px auto;
  }

  .hero-note {
    grid-column: 1 / 3;
  }

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

  .project-shot-featured,
  .photo-card-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .photo-card-wide img,
  .project-shot-featured img {
    aspect-ratio: 1.28;
  }

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

@media (max-width: 720px) {
  .site-header {
    top: 10px;
    padding: 14px;
    border-radius: 24px;
  }

  .phone-link {
    display: none;
  }

  .hero {
    padding-top: 14px;
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 12vw, 3.5rem);
    max-width: 100%;
  }

  .hero-metrics li {
    min-height: auto;
  }

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

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .hero-frame-main,
  .hero-frame-top,
  .hero-frame-bottom,
  .hero-note {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-note-list {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .modal-dialog {
    padding: 22px;
    border-radius: 18px;
  }

  .floating-contact {
    top: auto;
    bottom: 14px;
    right: 14px;
    transform: none;
  }

  .site-footer {
    flex-direction: column;
    align-items: start;
    padding-bottom: 90px;
  }
}

@media (max-width: 520px) {
  .page-shell {
    width: min(calc(100% - 14px), var(--max-width));
    padding-top: 10px;
  }

  .site-header {
    grid-template-columns: auto auto;
    gap: 10px;
    border-radius: 16px;
  }

  .brand-copy span {
    display: none;
  }

  .lang-switch {
    order: 2;
  }

  .menu-toggle {
    order: 3;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button,
  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }

  .modal-close {
    top: 12px;
    right: 12px;
  }

  .project-mosaic,
  .photo-wall {
    grid-template-columns: 1fr;
  }
}
