:root {
  --gold: #ffb600;
  --ink: #111111;
  --charcoal: #1c1c1c;
  --muted: #666666;
  --line: #e8e3d8;
  --paper: #ffffff;
  --soft: #f7f4ed;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.14);
  --font-heading: "Montserrat", Arial, sans-serif;
  --font-body: "Arimo", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  opacity: 1;
  transition: opacity 0.22s ease;
}

body.is-leaving {
  opacity: 0;
}

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

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

button,
input {
  font: inherit;
}

.container {
  width: min(1170px, calc(100% - 32px));
  margin: 0 auto;
}

.section-pad {
  padding: 96px 0;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
  color: #fff;
  transition: background 0.25s ease, box-shadow 0.25s ease, min-height 0.25s ease;
}

.topbar.is-sticky {
  min-height: 72px;
  background: rgba(17, 17, 17, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

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

.brand-logo {
  width: 158px;
  height: auto;
  filter: brightness(0) invert(1);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(13px, 1.25vw, 22px);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.desktop-nav > a,
.nav-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 30px 0;
}

.nav-trigger::before {
  width: 5px;
  height: 5px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  order: 2;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease;
}

.desktop-nav > a::after,
.nav-trigger::after {
  position: absolute;
  left: 0;
  bottom: 24px;
  width: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transition: width 0.2s ease;
}

.desktop-nav > a:hover::after,
.nav-dropdown:hover .nav-trigger::after,
.nav-dropdown:focus-within .nav-trigger::after,
.nav-dropdown.is-open .nav-trigger::after {
  width: 100%;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: stretch;
}

.nav-dropdown:hover .nav-trigger::before,
.nav-dropdown:focus-within .nav-trigger::before,
.nav-dropdown.is-open .nav-trigger::before {
  transform: rotate(225deg) translate(-1px, -1px);
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 40;
  width: min(520px, calc(100vw - 48px));
  max-height: calc(100vh - 108px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  overflow-y: auto;
  background: rgba(18, 18, 18, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.nav-submenu::before {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: var(--gold);
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.is-open .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-service {
  position: relative;
  min-height: 48px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 10px 12px 10px 15px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.35;
  text-transform: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.035);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.nav-service::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transition: opacity 0.18s ease;
}

.nav-service span {
  position: relative;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.nav-service small {
  position: relative;
  display: none;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
}

.nav-service:hover,
.nav-service:focus-visible {
  border-color: rgba(255, 182, 0, 0.34);
  background: rgba(255, 182, 0, 0.1);
  outline: none;
  transform: translateY(-1px);
}

.nav-service:hover::before,
.nav-service:focus-visible::before {
  opacity: 1;
}

.nav-service-all {
  grid-column: 1 / -1;
  min-height: 42px;
  background: rgba(255, 182, 0, 0.14);
  border-color: rgba(255, 182, 0, 0.28);
}

.nav-service-all span {
  color: var(--gold);
}

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

.phone-link {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
}

.header-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.header-cta.primary {
  background: var(--gold);
  color: #111;
}

.header-cta.primary:hover {
  background: #fff;
}

.header-cta.outline {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
}

.header-cta.outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

@media (max-width: 1180px) {
  .topbar {
    padding: 0 24px;
  }

  .brand-logo {
    width: 142px;
  }

  .desktop-nav {
    gap: 15px;
    font-size: 12px;
  }

  .nav-submenu {
    width: min(430px, calc(100vw - 36px));
    grid-template-columns: 1fr;
  }

  .phone-link {
    display: none;
  }

  .header-cta {
    padding: 0 13px;
  }
}

.icon-button {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  cursor: pointer;
}

.icon-button span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 3px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  background: #111;
}

.sub-hero {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: end;
  padding: 140px 0 70px;
  overflow: hidden;
  color: #fff;
  background: #111;
}

.sub-hero::before {
  position: absolute;
  inset: 0;
  background: var(--sub-hero-image, url("/assets/images/miranur-prefabrik-prefabrik-yapi-hero.jpeg")) center / cover;
  transform: translateY(var(--parallax, 0));
  content: "";
}

.sub-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.36));
  content: "";
}

.sub-hero .container {
  position: relative;
  z-index: 1;
}

.sub-hero h1 {
  max-width: 840px;
  margin: 10px 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.04;
  text-transform: uppercase;
}

.sub-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

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

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

.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: translateX(18px);
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 6s ease;
}

.hero-slide.is-active img {
  transform: scale(1);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.22));
}

.hero-content {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: min(1170px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  padding-top: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  transform: translateX(-50%);
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1,
.hero h2 {
  max-width: 820px;
  margin: 12px 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.02;
  text-transform: uppercase;
}

.hero p {
  max-width: 660px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
}

.hero-selling-points {
  display: grid;
  gap: 8px;
  max-width: 620px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.hero-selling-points li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
}

.hero-selling-points li::before {
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
  box-shadow: 0 0 0 4px rgba(255, 182, 0, 0.18);
}

.hero-buttons {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-buttons .btn {
  min-height: 56px;
  padding: 0 30px;
  font-size: 13px;
}

.btn-call {
  background: #fff;
  color: #111;
}

.btn-call:hover {
  background: var(--gold);
  color: #111;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
  margin-top: 22px;
}

.hero-proof span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: #111;
}

.btn-primary:hover {
  background: #111;
  border-color: #111;
  color: #fff;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.slider-controls {
  position: absolute;
  right: 44px;
  bottom: 44px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

.slider-controls button {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.slider-controls button::before {
  display: block;
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.slider-controls [data-prev]::before {
  content: "<";
}

.slider-controls [data-next]::before {
  content: ">";
}

.intro {
  background: var(--paper);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: start;
}

.content-media {
  position: sticky;
  top: 96px;
}

.content-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.content-copy h2,
.content-copy h3 {
  margin-top: 0;
}

.content-copy p {
  margin: 0 0 18px;
}

.service-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding: 16px 18px 16px 44px;
  background: var(--soft);
  color: var(--charcoal);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
}

.service-list li::before {
  position: absolute;
  left: 18px;
  top: 17px;
  color: var(--gold);
  content: "✓";
}

.seo-block {
  background: var(--soft);
}

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

.seo-card {
  min-height: 230px;
  padding: 30px;
  background: #fff;
  border-top: 4px solid var(--gold);
}

.seo-card p {
  margin-bottom: 0;
}

.intro-grid,
.faq-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

h2 {
  margin: 10px 0 0;
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 20px;
}

p {
  color: var(--muted);
}

.text-link {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  border-bottom: 2px solid var(--gold);
}

.stats {
  padding: 52px 0;
  background: var(--ink);
  color: #fff;
}

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

.stat {
  display: grid;
  gap: 4px;
  text-align: center;
}

.stat span {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}

.stat small {
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.structures {
  background: var(--soft);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 34px;
}

.section-lead {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--muted);
}

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

.structure-card {
  min-width: 0;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.structure-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.structure-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.structure-card div {
  padding: 24px;
}

.structure-card span {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  border-bottom: 2px solid var(--gold);
}

.experience {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.experience-bg {
  position: absolute;
  inset: -8%;
  background: var(--experience-image, url("/assets/images/miranur-prefabrik-konteyner-yapi-hero.jpeg")) center / cover;
  transform: translateY(var(--parallax, 0));
}

.experience-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

.experience-content {
  position: relative;
  z-index: 1;
  padding: 92px 0;
}

.experience h2 {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.feature-grid article {
  min-height: 230px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease, transform 0.2s ease;
}

.feature-grid article:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.13);
}

.feature-grid span {
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 800;
}

.feature-grid p {
  color: rgba(255, 255, 255, 0.7);
}

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

.home-gallery-grid .gallery-item {
  aspect-ratio: 4 / 3;
}

.gallery-item {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #111;
  cursor: pointer;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.gallery-item::after {
  position: absolute;
  inset: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 28px;
  content: "+";
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-item-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  background: rgba(17, 17, 17, 0.78);
  color: #fff;
  text-align: left;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(10px);
}

.gallery-item-caption strong {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
}

.gallery-item-caption small {
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.gallery-item:hover img {
  transform: scale(1.08);
  opacity: 0.62;
}

.gallery-item:hover::after,
.gallery-item:hover .gallery-item-caption,
.gallery-item:focus-visible::after,
.gallery-item:focus-visible .gallery-item-caption {
  opacity: 1;
}

.gallery-item:hover .gallery-item-caption,
.gallery-item:focus-visible .gallery-item-caption {
  transform: translateY(0);
}

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

.gallery-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.54fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.gallery-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: #fff;
}

.gallery-summary span {
  min-height: 94px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.gallery-summary span:last-child {
  border-right: 0;
}

.gallery-summary strong {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1;
}

.gallery-summary small {
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.gallery-filters span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--charcoal);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.gallery-filters span:first-child {
  border-color: var(--gold);
  background: var(--gold);
  color: #111;
}

.gallery-page-grid .gallery-item {
  aspect-ratio: 4 / 3;
}

.gallery-page-grid .gallery-item:nth-child(7n + 1),
.gallery-page-grid .gallery-item:nth-child(7n + 5) {
  grid-row: span 2;
  aspect-ratio: auto;
}

.project-gallery .gallery-item,
.project-gallery .gallery-item.tall,
.project-gallery .gallery-item.wide,
.project-gallery .gallery-item:nth-child(7n + 1),
.project-gallery .gallery-item:nth-child(7n + 5) {
  grid-column: auto;
  grid-row: auto;
  aspect-ratio: 4 / 3;
}

.project-gallery .gallery-item {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

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

.reference-carousel {
  position: relative;
}

.reference-viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.reference-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 54px) / 4);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.reference-track::-webkit-scrollbar {
  display: none;
}

.reference-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.reference-track .logo-card {
  scroll-snap-align: start;
}

.reference-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.reference-controls button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.reference-controls button:hover {
  border-color: var(--gold);
  background: var(--gold);
}

.logo-card {
  min-height: 120px;
  display: grid;
  place-items: center;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.logo-card img {
  max-height: 58px;
  object-fit: contain;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-list a,
.contact-list span {
  display: grid;
  gap: 2px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
}

.contact-list strong {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list span span,
.contact-list em {
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
}

.contact-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.contact-highlights span {
  padding: 8px 10px;
  background: rgba(255, 182, 0, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  background: #171717;
  color: #fff;
}

.cta-band::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255, 182, 0, 0.18), transparent 48%);
  content: "";
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.cta-inner h2 {
  margin: 0 0 10px;
}

.cta-inner p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: #227a3a;
  font-size: 14px;
}

.offer-form.is-sent .form-status {
  color: #227a3a;
}

.offer-form.is-error .form-status {
  color: #b3261e;
}

.site-footer {
  background: #111;
  color: #fff;
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.footer-brand img {
  width: 210px;
  height: auto;
  margin-bottom: 20px;
}

.footer-brand p,
.footer-contact p,
.footer-bottom {
  color: rgba(255, 255, 255, 0.68);
}

.footer-title {
  margin: 0 0 18px;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold);
}

.footer-contact p {
  margin: 0 0 8px;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--gold);
}

.faq {
  background: var(--soft);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-item button {
  width: 100%;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.accordion-item button::after {
  color: var(--gold);
  content: "+";
  font-size: 26px;
}

.accordion-item.is-open button::after {
  content: "-";
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.accordion-item.is-open .accordion-panel {
  max-height: 160px;
}

.contact {
  padding: 92px 0;
  background:
    linear-gradient(120deg, rgba(255, 182, 0, 0.08), transparent 42%),
    var(--ink);
  color: #fff;
}

.contact p {
  color: rgba(255, 255, 255, 0.68);
}

.contact-card {
  position: sticky;
  top: 104px;
  padding: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-card h2 {
  max-width: 520px;
}

.offer-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.form-head h2 {
  margin-top: 6px;
  font-size: clamp(28px, 3vw, 38px);
}

.form-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

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

.offer-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.offer-form input,
.offer-form select,
.offer-form textarea {
  width: 100%;
  border: 1px solid #ded8ca;
  border-radius: 6px;
  background: #fbfaf7;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.offer-form input,
.offer-form select {
  min-height: 52px;
  padding: 0 14px;
}

.offer-form textarea {
  min-height: 132px;
  padding: 14px;
  resize: vertical;
}

.offer-form input:focus,
.offer-form select:focus,
.offer-form textarea:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 182, 0, 0.16);
}

.offer-form button[type="submit"] {
  width: fit-content;
  min-width: 180px;
  min-height: 54px;
}

.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 28;
  width: 46px;
  height: 46px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 182, 0, 0.44);
  border-radius: 4px;
  background: #111;
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
  font-family: var(--font-heading);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.whatsapp-mark {
  width: 22px;
  height: 22px;
  display: inline-flex;
  flex: 0 0 22px;
}

.whatsapp-mark svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.whatsapp:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #111;
  transform: translateY(-2px);
}

.cookie-consent {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: min(760px, calc(100% - 36px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 182, 0, 0.34);
  border-radius: 6px;
  background: rgba(17, 17, 17, 0.96);
  color: #fff;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.24s ease, transform 0.24s ease;
  backdrop-filter: blur(14px);
}

.cookie-consent.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-copy {
  display: grid;
  gap: 4px;
}

.cookie-copy strong {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 900;
}

.cookie-copy p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.cookie-actions button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.cookie-secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
}

.cookie-primary {
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #111;
}

.mobile-panel,
.page-overlay,
.lightbox {
  position: fixed;
  opacity: 0;
  pointer-events: none;
}

.mobile-panel {
  top: 0;
  left: 0;
  z-index: 50;
  width: min(390px, 88vw);
  height: 100dvh;
  max-height: 100vh;
  padding: 78px 22px 24px;
  display: grid;
  align-content: start;
  gap: 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(17, 17, 17, 0.98);
  color: #fff;
  box-shadow: 18px 0 54px rgba(0, 0, 0, 0.28);
  transform: translateX(-100%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.mobile-panel a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.mobile-menu-label {
  margin-top: 6px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 0;
  background: transparent;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.mobile-menu-label::after {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease;
}

.mobile-menu-label.is-open::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.mobile-service-list {
  max-height: 0;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.035);
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.22s ease, padding 0.22s ease, opacity 0.18s ease, margin 0.22s ease;
}

.mobile-service-list.is-open {
  max-height: 320px;
  margin: 0 0 4px;
  padding: 8px;
  opacity: 1;
  pointer-events: auto;
}

.mobile-panel .mobile-service-link {
  display: grid;
  gap: 2px;
  min-height: 58px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.045);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  text-transform: none;
}

.mobile-panel .mobile-service-link strong {
  font-family: var(--font-heading);
  font-size: 13px;
  line-height: 1.25;
}

.mobile-panel .mobile-service-link small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.25;
}

.mobile-panel .mobile-panel-cta {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  color: #fff;
}

.mobile-panel .mobile-panel-cta.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #111;
}

.close-button,
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.close-button::before,
.close-button::after,
.lightbox-close::before,
.lightbox-close::after {
  position: absolute;
  top: 20px;
  left: 10px;
  width: 20px;
  height: 2px;
  background: #fff;
  content: "";
}

.close-button::before,
.lightbox-close::before {
  transform: rotate(45deg);
}

.close-button::after,
.lightbox-close::after {
  transform: rotate(-45deg);
}

.page-overlay {
  inset: 0;
  z-index: 45;
  background: rgba(0, 0, 0, 0.55);
  transition: opacity 0.25s ease;
}

.page-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox {
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 70px 88px;
  background: rgba(0, 0, 0, 0.88);
  transition: opacity 0.2s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-frame {
  display: grid;
  gap: 14px;
  justify-items: center;
  margin: 0;
  touch-action: pan-y;
}

.lightbox-frame img {
  max-width: min(1040px, 92vw);
  max-height: 76vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.lightbox.is-changing .lightbox-frame img {
  opacity: 0.45;
  transform: scale(0.985);
}

.lightbox-frame figcaption,
.lightbox-count {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
}

.lightbox-count {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.55);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.44);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  border-color: var(--gold);
  background: rgba(246, 178, 35, 0.18);
  outline: none;
}

.lightbox-nav:active {
  transform: translateY(-50%) scale(0.96);
}

.lightbox-nav span {
  display: block;
  margin-top: -3px;
  font-size: 42px;
  line-height: 1;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

@media (max-width: 980px) {
  .topbar {
    padding: 0 18px;
  }

  .desktop-nav,
  .phone-link,
  .header-cta {
    display: none;
  }

  .icon-button {
    display: block;
  }

  .hero {
    min-height: 780px;
  }

  .hero h1,
  .hero h2 {
    max-width: 760px;
  }

  .hero p {
    max-width: 620px;
  }

  .intro-grid,
  .content-grid,
  .cta-inner,
  .faq-grid,
  .contact-grid,
  .stats-grid,
  .structure-carousel,
  .feature-grid,
  .seo-grid,
  .logo-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .gallery-overview {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .reference-track {
    grid-auto-columns: calc((100% - 18px) / 2);
  }

  .content-media {
    position: static;
  }

  .contact-card {
    position: static;
  }

  .lightbox {
    padding: 70px 72px;
  }
}

@media (max-width: 680px) {
  .mobile-panel {
    width: min(100vw, 390px);
    padding: 72px 18px 22px;
  }

  .mobile-panel a {
    min-height: 44px;
    font-size: 12px;
  }

  .mobile-service-list {
    gap: 7px;
    padding: 7px;
  }

  .mobile-panel .mobile-service-link {
    min-height: 54px;
    padding: 10px 11px;
  }

  .section-pad {
    padding: 68px 0;
  }

  .hero {
    min-height: 900px;
  }

  .hero-content {
    padding-top: 68px;
    justify-content: center;
  }

  .hero h1,
  .hero h2 {
    font-size: 35px;
    line-height: 1.02;
  }

  .hero p {
    margin-bottom: 22px;
    font-size: 17px;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: min(100%, 360px);
  }

  .hero-buttons .btn {
    width: 100%;
    min-height: 52px;
  }

  .hero-proof {
    gap: 8px;
    margin-top: 16px;
  }

  .hero-proof span {
    min-height: 34px;
    font-size: 11px;
  }

  .slider-controls {
    right: 16px;
    bottom: 20px;
  }

  .intro-grid,
  .content-grid,
  .cta-inner,
  .faq-grid,
  .contact-grid,
  .stats-grid,
  .structure-carousel,
  .feature-grid,
  .seo-grid,
  .logo-grid,
  .gallery-page-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .reference-track {
    grid-auto-columns: 82%;
  }

  .lightbox {
    align-items: center;
    padding: 72px 16px 88px;
  }

  .lightbox-frame img {
    max-width: 100%;
    max-height: 66vh;
  }

  .lightbox-nav {
    top: auto;
    bottom: 26px;
    width: 48px;
    height: 48px;
    transform: none;
  }

  .lightbox-nav:active {
    transform: scale(0.96);
  }

  .lightbox-prev {
    left: calc(50% - 72px);
  }

  .lightbox-next {
    right: calc(50% - 72px);
  }

  .lightbox-count {
    bottom: 34px;
    font-size: 12px;
  }

  .whatsapp {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
  }

  .whatsapp-mark {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 78px;
    width: auto;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 15px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .section-head {
    display: block;
  }

  .contact {
    padding: 68px 0;
  }

  .contact-card,
  .offer-form {
    padding: 24px;
  }

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

  .offer-form button[type="submit"] {
    width: 100%;
  }

  .home-gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.wide {
    grid-column: span 1;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-summary {
    grid-template-columns: 1fr;
  }

  .gallery-summary span {
    min-height: 76px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .gallery-summary span:last-child {
    border-bottom: 0;
  }

  .project-gallery .gallery-item,
  .project-gallery .gallery-item.tall,
  .project-gallery .gallery-item.wide {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }
}
