:root {
  --bg: #f1f1f1;
  --text: #171717;
  --muted: #7c7c7c;
  --accent: #292929;
  --line: rgba(23, 23, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

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

.page {
  min-height: 100vh;
}

.header,
.intro,
.footer {
  width: min(1720px, calc(100% - 112px));
  margin: 0 auto;
}

.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 32px;
  padding-top: 34px;
  position: relative;
}

.menu {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 0;
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100%;
}

.menu-group {
  min-width: 0;
}

.menu-group:first-child {
  grid-column: 1;
}

.menu-group:last-child {
  grid-column: 3;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 40px;
}

.nav-item {
  position: relative;
}

.has-submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 22px;
}

.nav-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  position: relative;
  cursor: pointer;
}

.submenu-toggle {
  display: inline-flex;
  align-items: center;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.has-submenu:hover > .submenu-toggle::after,
.has-submenu:focus-within > .submenu-toggle::after {
  transform: scaleX(1);
}

.nav-link.is-current::after {
  transform: scaleX(1);
}

.nav-right {
  justify-content: flex-end;
}

.submenu {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  min-width: 340px;
  display: grid;
  background: rgba(239, 239, 239, 0.98);
  box-shadow: 0 18px 32px rgba(23, 23, 23, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
  z-index: 6;
}

.submenu a {
  padding: 24px 48px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.48);
}

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

.submenu a.is-current-submenu {
  background: rgba(255, 255, 255, 0.66);
}

.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu,
.has-submenu.is-open > .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.brand {
  width: min(238px, 21vw);
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  position: relative;
  z-index: 1;
}

.menu-toggle,
.accordion-trigger {
  display: none;
}

.intro {
  padding: 28px 0 32px;
}

.intro p {
  margin: 0;
  max-width: 100%;
  color: #656565;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.hero-slider {
  position: relative;
  width: 100%;
  min-height: clamp(380px, 43vw, 680px);
  overflow: hidden;
  background: #e4e4e4;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 500ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.14)),
    url("background.png");
  background-size: cover;
  background-position: center center;
}

.hero-image-alt {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18)),
    radial-gradient(circle at center, rgba(255, 165, 79, 0.24), transparent 42%),
    url("background.png");
  background-position: center center, center center, center 55%;
  transform: scale(1.03);
}

.slider-controls {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
  z-index: 2;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.slider-dot.is-active {
  background: rgba(255, 255, 255, 0.92);
}

.footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 66px 0 40px;
}

.footer-item h2 {
  margin: 0 0 22px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-item a,
.footer-item address {
  color: #ababab;
  font-size: 18px;
  font-style: normal;
  line-height: 1.4;
}

.footer-item-center {
  text-align: center;
}

.footer-item-right {
  text-align: right;
}

.copyright {
  margin: 32px 0 0;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.contacts-page {
  width: min(1720px, calc(100% - 112px));
  margin: 0 auto;
  padding: 34px 0 0;
}

.about-page {
  width: min(1720px, calc(100% - 112px));
  margin: 0 auto;
  padding: 34px 0 0;
}

.trust-page {
  width: min(1720px, calc(100% - 112px));
  margin: 0 auto;
  padding: 34px 0 28px;
}

.projects-page {
  width: min(1720px, calc(100% - 112px));
  margin: 0 auto;
  padding: 34px 0 28px;
}

.service-page {
  width: min(1720px, calc(100% - 112px));
  margin: 0 auto;
  padding: 34px 0 28px;
}

.granites-page {
  width: min(1720px, calc(100% - 112px));
  margin: 0 auto;
  padding: 34px 0 28px;
}

.contacts-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 40px;
  align-items: start;
  padding-bottom: 48px;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 30px;
  align-items: start;
  padding-bottom: 36px;
}

.trust-hero {
  padding-bottom: 34px;
}

.projects-hero {
  padding-bottom: 34px;
}

.service-hero {
  padding-bottom: 30px;
}

.granites-hero {
  padding-bottom: 34px;
}

.section-eyebrow {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7b7b7b;
}

.contacts-hero h1,
.about-hero h1,
.project-detail-hero h1,
.section-head h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.contacts-lead {
  margin: 24px 0 0;
  max-width: 760px;
  color: #666;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.about-lead {
  margin: 24px 0 0;
  max-width: 920px;
  color: #666;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.trust-lead {
  margin: 24px 0 0;
  max-width: 920px;
  color: #666;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.projects-lead {
  margin: 24px 0 0;
  max-width: 980px;
  color: #666;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.service-lead {
  margin: 24px 0 0;
  max-width: 900px;
  color: #666;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.granites-lead {
  margin: 24px 0 0;
  max-width: 980px;
  color: #666;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.granites-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 30px;
}

.granite-card {
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(244, 244, 244, 0.96));
  box-shadow: 0 18px 34px rgba(23, 23, 23, 0.04);
}

.granite-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.granite-card-body {
  display: grid;
  gap: 12px;
  padding: 24px 24px 28px;
}

.granite-card-body h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.granite-card-body p {
  margin: 0;
  color: #5f5f5f;
  font-size: 16px;
  line-height: 1.5;
}

.granites-description-card {
  padding: 34px 36px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(244, 244, 244, 0.96));
  box-shadow: 0 18px 34px rgba(23, 23, 23, 0.04);
}

.granites-description-card h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.granites-description-card p {
  margin: 0 0 16px;
  color: #5f5f5f;
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.granites-description-card p:last-child {
  margin-bottom: 0;
}

.service-visual {
  padding-bottom: 30px;
}

.service-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  padding-bottom: 30px;
}

.service-figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 34px rgba(23, 23, 23, 0.05);
}

.service-figure img {
  width: 100%;
  height: min(640px, 48vw);
  min-height: 340px;
  object-fit: cover;
}

.service-figure-secondary img {
  height: 100%;
  min-height: 340px;
}

.service-figure figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  margin: 0;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  color: #444;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.service-content {
  display: grid;
  gap: 28px;
}

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

.service-card {
  padding: 30px 32px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 34px rgba(23, 23, 23, 0.04);
}

.service-card-accent {
  background:
    radial-gradient(circle at top right, rgba(225, 178, 52, 0.14), transparent 35%),
    rgba(255, 255, 255, 0.62);
}

.service-card h2,
.service-cta h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.service-card p,
.service-text-block li {
  color: #5f5f5f;
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

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

.service-text-block {
  padding: 28px 30px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(244, 244, 244, 0.96));
  box-shadow: 0 18px 34px rgba(23, 23, 23, 0.04);
}

.service-text-block ul {
  margin: 0;
  padding-left: 22px;
}

.service-text-block li + li {
  margin-top: 10px;
}

.service-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 36px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(244, 244, 244, 0.96));
  box-shadow: 0 18px 34px rgba(23, 23, 23, 0.04);
}

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

.about-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-button-dark {
  background: #181818;
  border-color: #181818;
  color: #fff;
}

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

.fact-card {
  display: grid;
  gap: 10px;
  min-height: 140px;
  padding: 24px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(245, 245, 245, 0.88));
  box-shadow: 0 18px 34px rgba(23, 23, 23, 0.04);
}

.fact-card strong {
  font-size: clamp(28px, 2.8vw, 44px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.fact-card span {
  color: #666;
  font-size: 15px;
  line-height: 1.4;
}

.about-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 24px;
  align-items: stretch;
  padding-bottom: 36px;
}

.about-photo {
  margin: 0;
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 420px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 18px 34px rgba(23, 23, 23, 0.05);
}

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

.about-photo figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  margin: 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  color: #4f4f4f;
  font-size: 14px;
  line-height: 1.4;
}

.about-content {
  padding-bottom: 28px;
}

.about-text {
  display: grid;
  gap: 22px;
}

.about-text p {
  margin: 0;
  color: #5f5f5f;
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.about-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 28px;
}

.story-card {
  padding: 30px 32px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 18px 34px rgba(23, 23, 23, 0.04);
}

.story-card-accent {
  background:
    radial-gradient(circle at top right, rgba(225, 178, 52, 0.14), transparent 35%),
    rgba(255, 255, 255, 0.6);
}

.story-card h2,
.about-cta h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.story-card p:last-child {
  margin-bottom: 0;
}

.about-text-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.about-text-block {
  padding: 4px 0 0;
}

.about-text-block-wide {
  grid-column: 1 / -1;
  max-width: 980px;
}

.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 36px;
  margin-bottom: 28px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(244, 244, 244, 0.96));
  box-shadow: 0 18px 34px rgba(23, 23, 23, 0.04);
}

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

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 30px;
}

.project-detail-page {
  width: min(1720px, calc(100% - 112px));
  margin: 0 auto;
  padding: 34px 0 28px;
}

.project-detail-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 34px;
}

.project-detail-copy {
  max-width: 980px;
}

.project-detail-lead {
  margin: 24px 0 0;
  max-width: 860px;
  color: #666;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.project-gallery-section {
  padding-bottom: 30px;
}

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

.project-gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 34px rgba(23, 23, 23, 0.05);
  min-height: 260px;
}

.project-gallery-trigger {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.project-gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.project-gallery-item:hover img,
.project-gallery-trigger:focus-visible img {
  transform: scale(1.04);
}

.project-description-section {
  padding-bottom: 28px;
}

.project-description-card {
  padding: 34px 36px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(244, 244, 244, 0.96));
  box-shadow: 0 18px 34px rgba(23, 23, 23, 0.04);
}

.project-description-card h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.project-description-content p,
.project-description-content ul {
  color: #5f5f5f;
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.project-description-content p {
  margin: 0 0 16px;
}

.project-description-content ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.project-description-content li + li {
  margin-top: 8px;
}

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

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 10, 10, 0.74);
  backdrop-filter: blur(8px);
  cursor: zoom-out;
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 32px));
  margin: 4vh auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-dialog img {
  max-width: 100%;
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.32);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border-radius: 32px;
  background: #ddd;
  box-shadow: 0 18px 34px rgba(23, 23, 23, 0.08);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.08), rgba(12, 12, 12, 0.74));
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card-body {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  color: #fff;
}

.project-card-body h2 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.project-card-body p {
  margin: 0;
  max-width: 90%;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
}

.project-more {
  position: absolute;
  left: 24px;
  top: 24px;
  z-index: 2;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  padding: 14px 20px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.project-card:hover .project-more,
.project-card:focus-within .project-more {
  opacity: 1;
  transform: translateY(0);
}

.projects-description-card {
  padding: 34px 36px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(244, 244, 244, 0.96));
  box-shadow: 0 18px 34px rgba(23, 23, 23, 0.04);
}

.projects-description-card h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.projects-description-card p:last-child {
  margin-bottom: 0;
}

.projects-description-card p {
  color: #5f5f5f;
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.trust-card {
  display: grid;
  gap: 20px;
  padding: 26px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(244, 244, 244, 0.94));
  box-shadow: 0 18px 34px rgba(23, 23, 23, 0.04);
}

.trust-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.trust-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
}

.trust-logo-wrap img {
  max-width: 100%;
  max-height: 96px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.contacts-summary {
  display: grid;
  gap: 18px;
}

.contact-card,
.feedback-card,
.map-card {
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 34px rgba(23, 23, 23, 0.04);
}

.contact-card {
  padding: 24px 28px;
}

.contact-card h2 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7b7b7b;
}

.contact-card a,
.contact-card address {
  font-size: 22px;
  font-style: normal;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  padding-bottom: 28px;
}

.feedback-card,
.map-card {
  padding: 32px;
}

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

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

.feedback-form label {
  display: grid;
  gap: 10px;
}

.feedback-form span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7b7b7b;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 18px;
  background: rgba(241, 241, 241, 0.92);
  padding: 16px 18px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  outline: none;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  border-color: rgba(23, 23, 23, 0.36);
}

.feedback-form-full {
  grid-column: 1 / -1;
}

.feedback-form textarea {
  resize: vertical;
  min-height: 160px;
}

.submit-button {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  background: #181818;
  color: #fff;
  padding: 16px 28px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.map-frame {
  overflow: hidden;
  border-radius: 24px;
  min-height: 460px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.08)),
    url("background.png");
  background-size: cover;
  background-position: center;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  display: block;
}

.map-caption {
  margin: 18px 0 0;
  color: #7b7b7b;
  font-size: 16px;
  line-height: 1.4;
}

@media (max-width: 1420px) {
  .header,
  .intro,
  .footer,
  .contacts-page,
  .about-page,
  .trust-page,
  .projects-page,
  .project-detail-page,
  .service-page,
  .granites-page {
    width: min(100% - 48px, 1720px);
  }

  .header {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .brand {
    width: min(220px, 34vw);
    justify-self: center;
    grid-column: auto;
    grid-row: auto;
  }

  .menu {
    grid-template-columns: 1fr;
    gap: 16px;
    grid-column: auto;
    grid-row: auto;
  }

  .menu-group:first-child,
  .menu-group:last-child {
    grid-column: auto;
  }

  .nav,
  .nav-right {
    justify-content: center;
    padding-top: 0;
    gap: 18px 24px;
  }

  .submenu {
    left: 50%;
    transform: translateX(-50%);
  }

  .contacts-hero,
  .contacts-grid,
  .about-gallery,
  .about-hero,
  .about-story-grid,
  .about-text-columns,
  .trust-grid,
  .project-gallery-grid,
  .projects-grid,
  .service-story,
  .service-columns,
  .service-gallery,
  .granites-grid {
    grid-template-columns: 1fr;
  }

  .about-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-detail-hero {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 760px) {
  .header,
  .intro,
  .footer,
  .contacts-page,
  .about-page,
  .trust-page,
  .projects-page,
  .project-detail-page,
  .service-page,
  .granites-page {
    width: min(100% - 32px, 1720px);
  }

  .header {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding-top: 24px;
    gap: 16px;
  }

  .brand {
    width: min(220px, 58vw);
    justify-self: start;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    justify-self: end;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
    padding: 10px 14px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .menu-toggle-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
  }

  .menu-toggle-icon span {
    display: block;
    width: 30px;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle-label {
  }

  .menu-toggle.is-open .menu-toggle-icon span:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle.is-open .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open .menu-toggle-icon span:nth-child(3) {
    transform: translateY(-3px) rotate(-45deg);
  }

  .menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    grid-template-columns: 1fr;
    gap: 12px;
    width: auto;
    padding: 14px;
    border: 1px solid rgba(222, 154, 0, 0.45);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 34px rgba(23, 23, 23, 0.08);
    z-index: 10;
  }

  .menu.is-open {
    display: grid;
  }

  .menu-group {
    border: 1px solid rgba(23, 23, 23, 0.08);
    border-radius: 18px;
    background: #f7f7f7;
    padding: 0;
    overflow: hidden;
  }

  .accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 0;
    padding: 16px 18px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .accordion-trigger::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(23, 23, 23, 0.14);
    font-size: 18px;
    line-height: 1;
  }

  .accordion-trigger[aria-expanded="true"]::after {
    content: "−";
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 18px 14px;
    animation: accordionReveal 180ms ease;
  }

  .nav-right {
    justify-content: flex-start;
  }

  .nav-item,
  .nav-link,
  .submenu {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 12px 0;
    border-top: 1px solid rgba(23, 23, 23, 0.08);
    text-align: left;
  }

  .nav-link::after {
    display: none;
  }

  .submenu-toggle {
    justify-content: space-between;
  }

  .submenu-toggle::after {
    content: "+";
    font-size: 18px;
    line-height: 1;
  }

  .has-submenu.is-open > .submenu-toggle::after {
    content: "−";
  }

  .submenu {
    position: static;
    min-width: 0;
    margin-top: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .submenu[hidden] {
    display: none;
  }

  .submenu a {
    padding: 12px 0 12px 18px;
    font-size: 13px;
    letter-spacing: 0.02em;
    border-bottom: 0;
    border-top: 1px solid rgba(23, 23, 23, 0.08);
  }

  .nav-link,
  .submenu a,
  .intro p,
  .contacts-lead,
  .footer-item h2,
  .footer-item a,
  .footer-item address {
    font-size: 14px;
  }

  .contacts-page {
    padding-top: 28px;
  }

  .about-page {
    padding-top: 28px;
  }

  .trust-page {
    padding-top: 28px;
  }

  .projects-page {
    padding-top: 28px;
  }

  .project-detail-page {
    padding-top: 28px;
  }

  .service-page {
    padding-top: 28px;
  }

  .granites-page {
    padding-top: 28px;
  }

  .contacts-hero {
    gap: 24px;
    padding-bottom: 28px;
  }

  .about-hero {
    padding-bottom: 24px;
  }

  .section-eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .contacts-hero h1,
  .section-head h2 {
    font-size: 28px;
  }

  .about-lead,
  .trust-lead,
  .projects-lead,
  .project-detail-lead,
  .service-lead,
  .granites-lead,
  .about-text p {
    font-size: 16px;
  }

  .granite-card {
    border-radius: 24px;
  }

  .granite-card img {
    height: 220px;
  }

  .granite-card-body {
    padding: 20px 20px 24px;
  }

  .granite-card-body h2 {
    font-size: 20px;
  }

  .granite-card-body p,
  .granites-description-card p {
    font-size: 16px;
  }

  .granites-description-card {
    padding: 24px 22px;
    border-radius: 24px;
  }

  .granites-description-card h2 {
    font-size: 24px;
  }

  .service-figure {
    border-radius: 24px;
  }

  .service-figure img {
    min-height: 240px;
    height: 52vw;
  }

  .service-figure figcaption {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 12px 14px;
    font-size: 13px;
  }

  .service-card,
  .service-text-block,
  .service-cta {
    padding: 24px 22px;
    border-radius: 24px;
  }

  .service-card h2,
  .service-cta h2 {
    font-size: 24px;
  }

  .service-card p,
  .service-text-block li {
    font-size: 16px;
  }

  .project-card {
    min-height: 340px;
    border-radius: 24px;
  }

  .project-card-body {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .project-card-body h2 {
    font-size: 22px;
  }

  .project-card-body p {
    max-width: 100%;
    font-size: 14px;
  }

  .project-more {
    left: 18px;
    top: 18px;
    opacity: 1;
    transform: none;
    padding: 12px 16px;
    font-size: 11px;
  }

  .projects-description-card,
  .project-description-card {
    padding: 24px 22px;
    border-radius: 24px;
  }

  .projects-description-card h2,
  .project-description-card h2 {
    font-size: 24px;
  }

  .projects-description-card p,
  .project-description-content p,
  .project-description-content ul {
    font-size: 16px;
  }

  .project-gallery-item,
  .project-gallery-item img {
    min-height: 220px;
  }

  .project-gallery-item {
    border-radius: 20px;
  }

  .lightbox-dialog {
    width: min(100% - 20px, 1280px);
    margin: 8vh auto;
  }

  .lightbox-dialog img {
    border-radius: 20px;
    max-height: 82vh;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 26px;
  }

  .trust-card {
    padding: 22px;
    border-radius: 24px;
    gap: 16px;
  }

  .trust-card h2 {
    font-size: 18px;
  }

  .trust-logo-wrap {
    min-height: 138px;
    padding: 18px;
    border-radius: 18px;
  }

  .trust-logo-wrap img {
    max-height: 74px;
  }

  .about-hero-actions,
  .about-facts {
    gap: 12px;
  }

  .about-button {
    width: 100%;
    min-height: 48px;
  }

  .fact-card {
    min-height: 0;
    padding: 20px;
    border-radius: 24px;
  }

  .fact-card strong {
    font-size: 28px;
  }

  .about-gallery {
    gap: 16px;
    padding-bottom: 24px;
  }

  .about-photo {
    border-radius: 24px;
    min-height: 260px;
  }

  .about-photo figcaption {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 12px 14px;
    font-size: 12px;
  }

  .story-card {
    padding: 24px 22px;
    border-radius: 24px;
  }

  .story-card h2,
  .about-cta h2 {
    font-size: 24px;
  }

  .about-cta {
    padding: 24px 22px;
    border-radius: 24px;
    margin-bottom: 24px;
  }

  .contact-card,
  .feedback-card,
  .map-card {
    border-radius: 24px;
  }

  .contact-card,
  .feedback-card,
  .map-card {
    padding: 22px;
  }

  .contact-card a,
  .contact-card address {
    font-size: 18px;
  }

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

  .feedback-form input,
  .feedback-form textarea {
    font-size: 14px;
    padding: 14px 16px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 320px;
  }

  .hero-slider {
    min-height: 260px;
  }

  .slider-controls {
    bottom: 14px;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0 32px;
  }

  .footer-item,
  .footer-item-center,
  .footer-item-right {
    text-align: left;
  }

  .copyright {
    margin-top: 20px;
    font-size: 12px;
  }
}

@keyframes accordionReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
