:root {
  --bg-ink: #04080d;
  --bg-steel: #0b1820;
  --card: #f7f9fb;
  --accent: #ff7a12;
  --accent-soft: #ffd8b0;
  --blueprint: #6fb7ff;
  --blueprint-soft: rgba(111, 183, 255, 0.12);
  --text: #f5f7fa;
  --muted: #8da0ad;
  --radius: 12px;
  --shadow: 0 20px 46px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 1px,
      rgba(255, 122, 18, 0.035) 1px,
      rgba(255, 122, 18, 0.035) 32px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1px,
      rgba(255, 122, 18, 0.035) 1px,
      rgba(255, 122, 18, 0.035) 32px
    ),
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 0.5px,
      rgba(111, 183, 255, 0.018) 0.5px,
      rgba(111, 183, 255, 0.018) 48px
    ),
    linear-gradient(135deg, #04080d 0%, #08131a 24%, #0a2330 49%, #0a3243 74%, #050d13 100%),
    radial-gradient(circle at 18% 28%, rgba(255, 122, 18, 0.15) 0%, transparent 38%),
    radial-gradient(circle at 78% 22%, rgba(111, 183, 255, 0.13) 0%, transparent 34%),
    radial-gradient(circle at 82% 72%, rgba(255, 216, 176, 0.08) 0%, transparent 34%);
  background-size: 32px 32px, 32px 32px, 48px 48px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  margin: 0 0 0.6rem;
  font-family: "Syne", sans-serif;
  line-height: 1.1;
  color: #f7fbff;
}

p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

.bg-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.28;
  animation: drift 12s ease-in-out infinite;
}

.shape-a {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #ff7a12, #f7bf81);
  top: -90px;
  right: -80px;
}

.shape-b {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, rgba(111, 183, 255, 0.24), rgba(255, 216, 176, 0.14));
  bottom: 18%;
  left: -110px;
  animation-delay: -3s;
}

.shape-c {
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, #ff7a12, rgba(111, 183, 255, 0.18));
  bottom: -40px;
  right: 22%;
  animation-delay: -6s;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) translateX(0) scale(1);
  }
  50% {
    transform: translateY(-16px) translateX(8px) scale(1.05);
  }
}

.site-header {
  width: min(1100px, 92%);
  margin: 24px auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(111, 183, 255, 0.18);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  background: rgba(4, 8, 13, 0.9);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  grid-template-areas: "brand nav menu lang ruler";
  align-items: center;
  column-gap: 12px;
  row-gap: 10px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.4);
}

.brand {
  grid-area: brand;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.brand span {
  color: var(--accent);
}

.main-nav {
  grid-area: nav;
  display: flex;
  min-width: 0;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.main-nav a {
  text-decoration: none;
  color: #eef4f8;
  font-weight: 600;
  letter-spacing: 0.035em;
  font-size: clamp(0.8rem, 0.7vw + 0.6rem, 0.92rem);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 0.88rem;
  border-radius: 999px;
  border: 1px solid rgba(111, 183, 255, 0.24);
  background: linear-gradient(135deg, rgba(111, 183, 255, 0.12), rgba(255, 122, 18, 0.08));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  color: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.main-nav a:hover {
  border-color: rgba(111, 183, 255, 0.54);
  background: linear-gradient(135deg, rgba(111, 183, 255, 0.2), rgba(255, 122, 18, 0.14));
  box-shadow: 0 14px 30px rgba(111, 183, 255, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.lang-toggle {
  grid-area: lang;
  border: 1px solid rgba(111, 183, 255, 0.28);
  background: rgba(111, 183, 255, 0.1);
  color: #fff;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

/* Ruler toggle button */
.ruler-toggle {
  grid-area: ruler;
  border: 1px solid rgba(255, 122, 18, 0.12);
  background: rgba(4, 8, 13, 0.6);
  color: var(--blueprint);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.ruler-toggle[aria-pressed="true"] {
  background: linear-gradient(135deg, rgba(111,183,255,0.06), rgba(255,122,18,0.06));
  color: #fff;
}

.menu-btn {
  grid-area: menu;
  display: none;
  border: none;
  background: linear-gradient(135deg, #ff6f14, #83c1ff);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

main {
  width: min(1100px, 92%);
  margin: 28px auto 70px;
}

.section {
  margin-top: 42px;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  left: 0;
  top: -18px;
  width: 84px;
  height: 1px;
  background: linear-gradient(90deg, rgba(111, 183, 255, 0.9), rgba(255, 122, 18, 0.18));
}

.section::after {
  content: '';
  position: absolute;
  left: 94px;
  top: -21px;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(111, 183, 255, 0.7);
  transform: rotate(45deg);
  background: rgba(4, 8, 13, 0.85);
}

.hero {
  text-align: center;
  display: grid;
  place-items: center;
  gap: 0.15rem;
}

.hero h1 {
  font-size: clamp(1.5rem, 4.5vw, 2.6rem);
  margin: 0;
  text-transform: uppercase;
}

.hero-title {
  display: block;
  font-family: "Bauhaus 93", "Bauhaus", "Syne", sans-serif;
  letter-spacing: 0.03em;
  white-space: normal;
}

.hero-title .hero-subbrand {
  display: block;
  margin-left: 0.5ch;
  font-size: 0.95em;
  font-weight: 600;
  line-height: 1;
}

.hero-subtitle {
  display: block;
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  font-style: italic;
  font-weight: 400;
  margin: 0.15rem 0 0.5rem 0;
  line-height: 1.3;
  letter-spacing: 0.09em;
  color: #d3dee6;
}

.kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--blueprint);
  margin-bottom: 0.8rem;
}

.hero-copy {
  max-width: 62ch;
  color: #aebbc5;
  margin: 0.45rem auto 0;
  text-align: center;
}

.end-product-page .hero-copy {
  max-width: 68ch;
}

.end-product-page .end-product-grid {
  margin-top: 1.2rem;
}

.end-product-empty {
  min-height: 220px;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.empty-state {
  width: 100%;
  border-radius: 12px;
  border: 1px dashed rgba(111, 183, 255, 0.34);
  background: linear-gradient(135deg, rgba(4, 8, 13, 0.72), rgba(10, 35, 48, 0.86));
  padding: 1.4rem;
  display: grid;
  gap: 0.65rem;
  align-content: center;
  text-align: center;
  color: #e9f4fb;
}

.empty-state span {
  font-family: "Syne", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
}

.empty-state small {
  color: #b9c8d2;
  line-height: 1.5;
}

.hero::before,
.hero::after {
  content: '';
  align-self: stretch;
  width: 100%;
  max-width: 620px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111, 183, 255, 0.32), rgba(255, 122, 18, 0.18), transparent);
}

.hero-actions {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  text-decoration: none;
  padding: 0.78rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #ff6f14, #7cc0ff);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-ghost {
  color: #f3f7fb;
  border: 1px solid rgba(111, 183, 255, 0.24);
  background: rgba(6, 12, 19, 0.78);
}

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

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

.stat {
  background: linear-gradient(180deg, rgba(10, 24, 35, 0.96), rgba(7, 18, 27, 0.9));
  border: 1px solid rgba(111, 183, 255, 0.16);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.stat h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--blueprint);
  letter-spacing: 0.06em;
}

.stat p {
  color: #b8c6cf;
}

/* Gallery styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
  position: relative;
}

.gallery-grid::before {
  content: '';
  position: absolute;
  inset: -10px 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(111, 183, 255, 0.38), rgba(255, 122, 18, 0.14), rgba(111, 183, 255, 0.28));
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  display: block;
  aspect-ratio: 16/9;
}

.gallery-grid figure::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  width: 10px;
  height: 10px;
  border-top: 1px solid rgba(111, 183, 255, 0.7);
  border-left: 1px solid rgba(111, 183, 255, 0.7);
}

.gallery-grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 300ms ease, filter 300ms ease;
}

.gallery-grid img:hover {
  transform: scale(1.04);
  filter: brightness(1.06);
}

/* Caption overlay */
.thumb-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px;
  font-size: 0.85rem;
  color: #b8c6cf;
  background: linear-gradient(180deg, rgba(4,8,13,0.0), rgba(4,8,13,0.5));
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Fallback for browsers that don't support aspect-ratio */
@supports not (aspect-ratio: 1/1) {
  .gallery-grid figure {
    height: 0;
    padding-top: 56.25%; /* 16:9 */
  }
  .gallery-grid img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
}
@media (max-width: 700px) {
  .features {
    grid-template-columns: 1fr;
  }

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

/* Lightbox styles */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(3, 12, 20, 0.75);
  z-index: 1200;
}

.lightbox[aria-hidden="false"] {
  display: flex;
}

.lb-image-wrap {
  max-width: 92vw;
  max-height: 82vh;
  display: grid;
  place-items: center;
}

.lb-picture {
  display: block;
}

.lb-image-wrap img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.6);
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 20px;
}

.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

.lb-prev:focus, .lb-next:focus, .lb-close:focus { outline: 2px solid rgba(232,93,58,0.6); }

/* Blur-up placeholder */
.gallery-thumb.blur-up {
  filter: blur(10px) saturate(0.9);
  transform: scale(1.02);
  transition: filter 600ms ease, transform 400ms ease;
}

.gallery-thumb.loaded {
  filter: blur(0) saturate(1);
  transform: scale(1);
}

.lb-caption {
  color: #e6e6e6;
  max-width: 92vw;
  text-align: center;
  padding: 12px 22px;
  font-size: 0.95rem;
}

.card,
.panel,
.cta {
  background: linear-gradient(180deg, rgba(8, 18, 26, 0.99), rgba(5, 11, 17, 0.95));
  border: 1px solid rgba(111, 183, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.38);
  position: relative;
  overflow: hidden;
}

.card::after,
.panel::after,
.cta::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 14px;
  height: 14px;
  border-top: 1px solid rgba(111, 183, 255, 0.7);
  border-right: 1px solid rgba(111, 183, 255, 0.7);
}

.card {
  padding: 20px;
}

.card::before,
.panel::before,
.cta::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--blueprint), rgba(255, 122, 18, 0.26));
}

.card h2,
.panel h3,
.cta h2,
.thumb-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px;
  font-size: 0.85rem;
  color: #b8c6cf;
  background: linear-gradient(180deg, rgba(4,8,13,0.0), rgba(4,8,13,0.5));
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card h2,
.panel h3,
.cta h2 {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.showcase-header {
  margin-bottom: 14px;
  position: relative;
  padding-top: 8px;
}

.showcase-header::after {
  content: '';
  display: block;
  width: min(240px, 42vw);
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(90deg, rgba(111, 183, 255, 0.8), rgba(255, 122, 18, 0.22));
}

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

.panel {
  padding: 20px;
  min-height: 170px;
}

.cta {
  padding: 26px;
  display: grid;
  gap: 12px;
}

.contact-copy {
  display: grid;
  gap: 12px;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: #f0f0f0;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(111, 183, 255, 0.18);
  background: rgba(6, 15, 23, 0.76);
  color: #fff;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  font: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(111, 183, 255, 0.48);
  outline-offset: 2px;
}

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

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.contact-page {
  width: min(1100px, 92%);
  margin: 28px auto 70px;
}

.contact-hero {
  text-align: center;
  display: grid;
  place-items: center;
  gap: 0.15rem;
}

.contact-hero .hero-title {
  font-size: clamp(1.5rem, 4.5vw, 2.6rem);
}

.contact-hero .contact-since {
  margin-left: 0;
  font-size: 0.58em;
  font-weight: 700;
  line-height: 1.1;
  color: #56c7ff;
  text-shadow: 0 0 8px rgba(86, 199, 255, 0.75), 0 0 18px rgba(86, 199, 255, 0.35);
}

.contact-lead {
  max-width: 56ch;
  color: #aebbc5;
}

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

.contact-supplement {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.contact-card {
  padding: 22px;
  border-radius: 12px;
  border: 1px solid rgba(111, 183, 255, 0.18);
  background: linear-gradient(180deg, rgba(6, 15, 23, 0.88), rgba(4, 8, 13, 0.94));
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card p {
  color: #d7e1e8;
  margin-bottom: 0.45rem;
}

.contact-meta {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.contact-meta div {
  display: grid;
  gap: 0.35rem;
}

.contact-meta dt {
  color: var(--blueprint);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 700;
}

.contact-meta dd {
  margin: 0;
}

.contact-meta a {
  color: #f7fbff;
  text-decoration: none;
}

.contact-meta a:hover,
.contact-back-link:hover {
  text-decoration: underline;
}

.contact-map-card {
  display: grid;
  gap: 14px;
}

.map-frame {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(111, 183, 255, 0.18);
  min-height: 220px;
  background: rgba(6, 15, 23, 0.76);
}

.map-link-preview {
  display: grid;
  align-content: center;
  gap: 0.45rem;
  padding: 24px;
  text-decoration: none;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(4, 8, 13, 0.42), rgba(4, 8, 13, 0.88)),
    radial-gradient(circle at top left, rgba(111, 183, 255, 0.2), transparent 42%),
    radial-gradient(circle at bottom right, rgba(255, 122, 18, 0.2), transparent 36%);
  color: #f7fbff;
  border: 1px solid rgba(111, 183, 255, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.map-link-preview:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 122, 18, 0.32);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.map-route-btn {
  width: 100%;
  justify-self: stretch;
  text-decoration: none;
  text-align: center;
  border-color: rgba(255, 122, 18, 0.22);
  background: rgba(6, 15, 23, 0.78);
}

.map-link-label {
  font-family: "Syne", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-link-detail,
.map-summary {
  color: #d2dde5;
}

.map-link-detail {
  font-size: 0.94rem;
  line-height: 1.5;
}

.map-summary {
  margin: 0;
}

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

.contact-action-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.contact-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-action-card p {
  color: #aebbc5;
}

.contact-wa-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.contact-call-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  color: #f7fbff;
  border: 1px solid rgba(111, 183, 255, 0.18);
  background: rgba(6, 15, 23, 0.76);
}

.contact-email-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  color: #f7fbff;
  border: 1px solid rgba(255, 122, 18, 0.22);
  background: rgba(12, 18, 24, 0.78);
}

.form-note {
  color: #aebbc5;
  font-size: 0.92rem;
}

.form-status {
  min-height: 1.4em;
  color: #8dc7ff;
  font-weight: 600;
}

.site-footer {
  width: min(1100px, 92%);
  margin: 0 auto 30px;
  color: #8798a5;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .stats,
  .features,
  .grid,
  .contact-details,
  .contact-supplement {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .menu-btn {
    display: inline-flex;
  }

  main {
    width: min(1100px, 94%);
    margin: 22px auto 54px;
  }

  .site-header {
    width: min(1100px, 94%);
    padding: 12px 14px;
  }

  .lang-toggle {
    padding: 0.5rem 0.75rem;
  }

  .main-nav {
    position: absolute;
    top: 78px;
    right: 3%;
    width: 190px;
    flex-direction: column;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(111, 183, 255, 0.22);
    background: rgba(4, 8, 13, 0.9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .main-nav a {
    width: 100%;
    padding: 0.62rem 0.8rem;
    font-size: 0.84rem;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .stats,
  .features,
  .grid,
  .contact-details,
  .contact-supplement {
    grid-template-columns: 1fr;
  }

  .stat,
  .card,
  .panel {
    padding: 16px;
  }

  .cta {
    padding: 20px;
  }

  .section::before {
    width: 60px;
  }

  .section::after {
    left: 68px;
  }

  .hero::before,
  .hero::after {
    max-width: 92vw;
  }

  .hero-copy {
    max-width: 34ch;
  }

  .gallery-grid img {
    height: 150px;
  }

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

  .hero-copy {
    max-width: 34ch;
  }

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

  .contact-page {
    width: min(1100px, 94%);
    margin: 22px auto 54px;
  }

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

  .contact-hero {
    text-align: center;
  }

  .site-header {
    row-gap: 10px;
  }
}

/* Mobile performance improvements: reduce animations, increase tap targets */
@media (max-width: 700px) {
  body {
    background-attachment: scroll;
  }

  /* hide decorative drifting shapes to save CPU/GPU */
  .bg-shapes { display: none; }

  /* ensure buttons are large enough for touch */
  .btn, .menu-btn, .ruler-toggle, .lang-toggle {
    min-height: 40px;
    padding: 0.7rem 0.9rem;
    touch-action: manipulation;
  }

  .main-nav a {
    width: 100%;
    padding: 0.58rem 0.72rem;
    font-size: 0.8rem;
  }

  /* reduce gallery thumb height slightly for phones */
  .gallery-grid img { height: 150px; }

  /* slightly narrower hero copy to avoid long lines */
  .hero-copy { max-width: 40ch; }

  /* disable heavy transforms/animations on shapes */
  .shape { animation: none !important; filter: blur(6px) !important; opacity: 0.16 !important; }
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .bg-shapes, .shape {
    display: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Blueprint rulers and measurement markers */
.blueprint-rulers {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1100;
}
/* hidden by default; add `.visible` to show */
.blueprint-rulers { display: none; }
.blueprint-rulers.visible { display: block; }
.blueprint-rulers .ruler-top,
.blueprint-rulers .ruler-left {
  position: absolute;
  color: var(--blueprint);
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  line-height: 1;
  opacity: 0.9;
}
.blueprint-rulers .ruler-top {
  left: 0;
  right: 0;
  top: 6px;
  height: 22px;
}
.blueprint-rulers .ruler-left {
  top: 0;
  bottom: 0;
  left: 6px;
  width: 46px;
}
.blueprint-rulers .tick {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blueprint);
  transform-origin: center;
}
.blueprint-rulers .ruler-top .tick {
  top: 0;
}
.blueprint-rulers .ruler-top .tick::before {
  content: '';
  display: block;
  width: 1px;
  height: 10px;
  background: var(--blueprint-soft);
  margin-bottom: 4px;
}
.blueprint-rulers .ruler-left .tick {
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  justify-content: flex-end;
  padding-right: 8px;
}
.blueprint-rulers .ruler-left .tick::before {
  content: '';
  display: block;
  width: 10px;
  height: 1px;
  background: var(--blueprint-soft);
  margin-right: 6px;
}

/* ===== OVERVIEW PAGE STYLES ===== */

.overview-page .hero,
.overview-page .hero h1,
.overview-page .hero .hero-subtitle {
  text-align: center;
}

/* Make overview page hero match .overview-hero styles */
.overview-page .hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, rgba(111, 183, 255, 0.08) 0%, rgba(255, 122, 18, 0.04) 100%);
  border-bottom: 1px solid rgba(111, 183, 255, 0.1);
}

.overview-page .hero h1 {
  font-size: clamp(1.5rem, 4.5vw, 2.6rem);
  margin: 0;
  text-transform: uppercase;
}

.overview-page .hero .hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  margin: 0;
  font-weight: 400;
}

.overview-main {
  min-height: 100vh;
}

.overview-hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, rgba(111, 183, 255, 0.08) 0%, rgba(255, 122, 18, 0.04) 100%);
  border-bottom: 1px solid rgba(111, 183, 255, 0.1);
}

.overview-hero h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  margin: 0 0 16px 0;
  background: linear-gradient(90deg, var(--blueprint) 0%, var(--accent) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.overview-hero .hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  margin: 0;
  font-weight: 400;
}

.overview-intro {
  padding: 80px 0;
}

.overview-intro h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  margin: 0 0 32px 0;
  color: var(--text);
}

.intro-content {
  max-width: 900px;
}

.intro-content p {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 24px 0;
}

.intro-content p:last-child {
  margin-bottom: 0;
}

.overview-fields {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(111, 183, 255, 0.03) 100%);
}

.overview-fields > .container > h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  margin: 0 0 60px 0;
  color: var(--text);
  text-align: center;
}

.field-card {
  background: linear-gradient(135deg, rgba(255, 122, 18, 0.06) 0%, rgba(111, 183, 255, 0.04) 100%);
  border: 1px solid rgba(111, 183, 255, 0.12);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 32px;
  transition: all 0.3s ease;
}

.field-card:hover {
  border-color: rgba(111, 183, 255, 0.24);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.field-header {
  margin-bottom: 24px;
}

.field-header h3 {
  font-family: "Syne", sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  margin: 0;
  background: linear-gradient(90deg, var(--accent) 0%, var(--blueprint) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.field-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field-content p {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

.field-services {
  margin-top: 16px;
}

.field-services h4 {
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px 0;
  font-size: clamp(14px, 1.1vw, 16px);
}

.field-services ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field-services li {
  font-size: clamp(13px, 1vw, 15px);
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}

.field-services li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.overview-closing {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(111, 183, 255, 0.08) 0%, rgba(255, 122, 18, 0.04) 100%);
  border-top: 1px solid rgba(111, 183, 255, 0.1);
  text-align: center;
}

.overview-closing h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  margin: 0 0 24px 0;
  color: var(--text);
}

.overview-closing p {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 32px 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.overview-closing .cta-button {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--blueprint) 100%);
  color: var(--bg-ink);
  border: none;
  border-radius: 20px;
  font-weight: 600;
  font-size: clamp(14px, 1.2vw, 16px);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 12px 28px rgba(255, 122, 18, 0.25);
}

.overview-closing .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 122, 18, 0.35);
}

@media (max-width: 920px) {
  .overview-hero {
    padding: 60px 0 40px;
  }

  .overview-intro,
  .overview-fields,
  .overview-closing {
    padding: 60px 0;
  }

  .field-card {
    padding: 32px;
  }
}

@media (max-width: 700px) {
  .overview-hero {
    padding: 40px 0 30px;
  }

  .overview-hero h1 {
    font-size: 28px;
  }

  .overview-hero .hero-subtitle {
    font-size: 14px;
  }

  .overview-intro,
  .overview-fields,
  .overview-closing {
    padding: 40px 0;
  }

  .overview-intro h2,
  .overview-fields > .container > h2,
  .overview-closing h2 {
    font-size: 24px;
  }

  .field-card {
    padding: 24px;
    margin-bottom: 20px;
  }

  .field-header h3 {
    font-size: 18px;
  }

  .field-content p {
    font-size: 13px;
  }

  .overview-closing .cta-button {
    display: block;
    width: 100%;
  }

  .blueprint-rulers { display: none; }
}

@media (max-width: 700px) {
  .blueprint-rulers { display: none; }
}
