:root {
  --bg: #0b0c0d;
  --bg-2: #121415;
  --bg-3: #191c1e;
  --bg-4: #22262a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f1ea;
  --muted: #b4aea3;
  --faint: #7d776e;
  --gold: #e8c547;
  --gold-2: #f3d56a;
  --orange: #f05a28;
  --whatsapp: #25d366;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

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

a { color: inherit; }

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

html.splash-pending,
html.splash-pending body { overflow: hidden; }

.splash {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #0b0c0d;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 16px) 24px 24px;
  opacity: 1;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
html.splash-pending .splash {
  display: flex;
  visibility: visible;
}
html.splash-pending .splash[aria-hidden="false"] {
  pointer-events: auto;
}
.splash.is-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.splash-inner {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 28rem;
  opacity: 0;
  transform: translateY(10px);
  animation: splash-in 0.45s var(--ease) forwards;
}
.splash-inner img {
  width: 88px;
  height: auto;
}
.splash-name {
  margin: 0;
  font-family: "Syne", "Outfit", sans-serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.splash-line {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.splash-line b { color: var(--gold); font-weight: 700; }
.splash-line i { color: var(--orange); font-style: normal; font-weight: 700; }

@keyframes splash-in {
  to { opacity: 1; transform: none; }
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 2000;
  background: var(--gold);
  color: #111;
  padding: 8px 12px;
  border-radius: 8px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}

h1, h2, h3, .display {
  font-family: "Syne", "Outfit", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 62ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.25s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #14110a; }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-wa { background: var(--whatsapp); color: #06210d; }
.btn-orange { background: var(--orange); color: #fff; }

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(11, 12, 13, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 12, 13, 0.92);
}
.nav-inner {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name strong {
  font-family: "Syne", sans-serif;
  font-size: 15px;
  letter-spacing: 0.08em;
}
.brand-name span {
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  position: relative;
  text-decoration: none;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 8px; }
.lang,
.fx {
  display: flex;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
}
.lang button,
.fx button {
  background: transparent;
  color: var(--muted);
  border: 0;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.fx button {
  padding: 6px 7px;
  font-size: 10px;
  letter-spacing: 0.04em;
}
.lang button.active,
.fx button.active {
  background: var(--gold);
  color: #14110a;
}
.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
}
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }

/* Hero */
.hero {
  position: relative;
  min-height: min(100svh, 920px);
  display: grid;
  align-items: end;
  padding: calc(var(--nav-h) + 40px) 0 0;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,12,13,0.35) 0%, rgba(11,12,13,0.15) 30%, rgba(11,12,13,0.82) 78%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11,12,13,0.78) 0%, rgba(11,12,13,0.35) 52%, rgba(11,12,13,0.2) 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 36px;
}
.hero-tag {
  font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--text);
}
.hero-tag b { color: var(--gold); font-weight: 700; }
.hero-tag i { color: var(--orange); font-style: normal; font-weight: 700; }
.hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 5.4rem);
  max-width: 14ch;
  margin-bottom: 18px;
}
.hero p {
  max-width: 46ch;
  color: #e6e1d6;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  margin: 0 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 40px;
  margin-bottom: 0;
}
.stat {
  background: #101213;
  padding: 22px 20px 20px;
}
.stat strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.stat span {
  display: block;
  margin-top: 4px;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Sections */
section { padding: 110px 0; scroll-margin-top: calc(var(--nav-h) + 18px); }
#por-que { padding-top: 100px; }
.section-tight { padding-top: 0; }
body.no-scroll { overflow: hidden; }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin-bottom: 14px;
}

.cards-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 100%;
  transition: transform 0.25s var(--ease), border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(232, 197, 71, 0.1);
  color: var(--gold);
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.eco-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  margin-top: 16px;
  padding: 22px 24px;
  text-align: left;
  font: inherit;
  color: inherit;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s ease;
}
.eco-teaser:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.eco-teaser:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.eco-teaser-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}
.eco-teaser .kicker { margin: 0; }
.eco-line {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.eco-more {
  flex: none;
  color: var(--gold);
  font-family: "Syne", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.modal-box.eco-box {
  width: min(640px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
}
.eco-box h3 {
  font-size: 1.15rem;
  margin: 18px 0 6px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.split img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--line);
}
.split img.photo-diagram {
  object-fit: contain;
  background: #050505;
}
.split figure.photo-diagram-wrap {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #050505;
}
.split figure.photo-diagram-wrap img {
  flex: 1 1 auto;
  width: 100%;
  min-height: 320px;
  border: none;
  border-radius: 0;
  object-fit: contain;
  background: #050505;
}
.split figure.photo-diagram-wrap figcaption {
  position: static;
  background: var(--bg-3);
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
}
.checklist { list-style: none; padding: 0; margin: 24px 0 0; }
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.checklist li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
}

.tech-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}
.tech-photos {
  display: grid;
  gap: 14px;
}
.tech-photo {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--line);
  margin: 0;
}
.tech-photo-cad {
  min-height: 380px;
  background: #eceff2;
}
.tech-photo-cad img {
  object-fit: contain;
}
.tech-photo-sm { min-height: 240px; }
.tech-photo img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  flex: 1 1 auto;
}
.tech-photo figcaption {
  position: static;
  background: var(--bg-3);
  padding: 12px 16px;
  border-radius: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
}
.tech-stack { display: grid; gap: 14px; }
.spec-box {
  background: var(--gold);
  color: #16130b;
  border-radius: 22px;
  padding: 26px;
}
.spec-box h3 {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.spec-box .big {
  font-family: "Syne", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.spec-box p { margin: 8px 0 0; font-size: 0.95rem; }
.info-box {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 24px;
}
.info-box h3 { font-size: 1.15rem; margin-bottom: 8px; }
.info-box p { margin: 0; color: var(--muted); }

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.step {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  transition: transform 0.25s var(--ease), border-color 0.25s ease;
}
.step:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}
.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.step-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}
.step .n {
  font-family: "Syne", sans-serif;
  font-size: 2rem;
  color: rgba(232, 197, 71, 0.28);
  line-height: 1;
  margin-bottom: 0;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.homes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.home {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  cursor: pointer;
}
.home-photo {
  position: relative;
  background: #111;
  overflow: hidden;
}
.home-photo:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -3px;
}
.home-photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.home:hover .home-photo img { transform: scale(1.04); }
.home-meta {
  padding: 14px 16px 18px;
}
.home-meta h3 { font-size: 1.4rem; }
.home-meta p { margin: 6px 0 0; color: #ddd6c8; font-size: 0.92rem; }
.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px 0;
}
.gallery-thumb {
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
  flex-shrink: 0;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-thumb:hover,
.gallery-thumb:focus-visible {
  border-color: var(--gold);
  outline: none;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 4px 10px;
  color: #efe8d8;
}

.also {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.also-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  min-height: 0;
}
.also-photo-main {
  position: relative;
  margin: 0;
  min-height: 240px;
  background: #111;
  cursor: pointer;
  overflow: hidden;
  flex: 1;
}
.also-photo-main:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -3px;
}
.also-count {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  pointer-events: none;
  background: rgba(11, 12, 13, 0.72);
}
.also-photo-main img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.also-photo-main:hover img { transform: scale(1.04); }
.also-photo .gallery-thumbs {
  padding: 10px 12px 12px;
}
.also > div {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.also h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 10px;
}
.also p:not(.kicker) {
  color: var(--muted);
  margin: 0 0 18px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 12px;
}
.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
}
.gallery figure:first-child { grid-row: 1 / span 2; }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 13px;
  background: rgba(11,12,13,0.7);
  padding: 6px 10px;
  border-radius: 999px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}
.gold-panel {
  background: var(--gold);
  color: #17140c;
  border-radius: 24px;
  padding: 32px;
}
.gold-panel h3 {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.gold-panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.gold-panel li { font-weight: 600; }
.orange-panel {
  background: var(--orange);
  color: #1a0b05;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.orange-panel h3 {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.orange-panel p { margin: 0; font-weight: 600; font-size: 1.05rem; }

.notice {
  margin-top: 18px;
  border: 1px solid rgba(232,197,71,0.25);
  background: rgba(232,197,71,0.08);
  color: #efe4bf;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 0.95rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
}
.contact-ways { display: grid; gap: 12px; }
.way {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}
.way h3 { font-size: 1.05rem; margin-bottom: 4px; }
.way p { margin: 0 0 12px; color: var(--muted); font-size: 0.95rem; }
.form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
}
.form label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 6px;
}
.form input,
.form textarea {
  width: 100%;
  background: #0c0d0e;
  border: 1px solid var(--line-strong);
  color: var(--text);
  border-radius: 12px;
  padding: 13px 14px;
  margin-bottom: 14px;
  outline: none;
}
.form input:focus,
.form textarea:focus { border-color: var(--gold); }
.form button { width: 100%; }

footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--faint);
  font-size: 14px;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--gold); }

.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: #06210d;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}
.wa-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.38);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .splash-inner { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0,0,0,0.72);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-box {
  width: min(420px, 100%);
  background: #141618;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: 28px;
}
.modal-box h2 { margin-bottom: 8px; }
.modal-box p { color: var(--muted); margin: 0 0 16px; }
.modal-box input {
  width: 100%;
  background: #0c0d0e;
  border: 1px solid var(--line-strong);
  color: var(--text);
  border-radius: 12px;
  padding: 13px 14px;
  margin-bottom: 12px;
}
.modal-close {
  display: block;
  margin: 12px auto 0;
  background: none;
  border: 0;
  color: var(--faint);
  cursor: pointer;
}

.modal-box.gallery-box {
  width: min(920px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
}
.gallery-stage {
  position: relative;
  display: grid;
  place-items: center;
  background: #050505;
  border-radius: 16px;
  overflow: hidden;
  min-height: 240px;
}
.gallery-stage img {
  display: block;
  width: 100%;
  max-height: min(70vh, 640px);
  object-fit: contain;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 12, 13, 0.72);
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.gallery-nav:hover { background: rgba(11, 12, 13, 0.92); }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }
.gallery-count {
  text-align: center;
  color: var(--faint);
  font-size: 13px;
  margin: 10px 0 0;
}

.mobile-panel {
  display: none;
}

.mobile-toggle-label {
  margin: 10px 0 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  font-family: "Outfit", system-ui, sans-serif;
}
.mobile-panel .lang,
.mobile-panel .fx {
  width: 100%;
}
.mobile-panel .lang button,
.mobile-panel .fx button {
  flex: 1;
  padding: 10px 6px;
}

#guia-teaser {
  padding: 12px 0 0;
}
.teaser {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 30px;
}
.teaser h2 {
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  margin: 0 0 10px;
}
.teaser p {
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 62ch;
}
.teaser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-guide .guide {
  padding: calc(var(--nav-h) + 48px) 0 88px;
}
.guide-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 40px;
}
.guide-hero h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.55rem);
  margin: 0 0 12px;
}
.guide-hero .lede { margin: 0; }
.guide-aside {
  display: grid;
  gap: 14px;
}
.guide-copy h2 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  margin: 36px 0 12px;
}
.guide-copy h3 {
  font-size: 1.12rem;
  margin: 24px 0 8px;
}
.guide-copy p,
.guide-copy li {
  color: var(--muted);
}
.guide-copy ul {
  margin: 0 0 16px;
  padding-left: 1.15em;
}
.guide-copy[hidden] { display: none !important; }
.warn {
  border-left: 3px solid var(--orange);
  background: var(--bg-3);
  padding: 16px 18px;
  border-radius: 0 14px 14px 0;
  margin: 18px 0;
}
.warn p { margin: 0; }
.warn p + p { margin-top: 8px; }
.notice-box {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  color: var(--muted);
  font-size: 14px;
}
.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 28px;
  font-size: 15px;
}
.guide-table th,
.guide-table td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.guide-table th {
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.guide-table td:last-child,
.guide-table th:last-child { text-align: right; }
.guide-table td:last-child { font-variant-numeric: tabular-nums; }
.check-box {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 24px;
  margin: 16px 0 28px;
}
.check-box h3 { margin: 0 0 8px; }
.check-box p { color: var(--muted); margin: 0 0 12px; font-size: 0.95rem; }
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 28px;
}
.toc a {
  color: var(--gold);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.toc a:hover { text-decoration: underline; }
.fx-note {
  font-size: 13px;
  color: var(--faint);
  margin: -12px 0 28px;
}

@media (max-width: 1180px) {
  .nav-links { gap: 14px; }
  .fx button { padding: 6px 6px; }
}

@media (max-width: 1080px) {
  .nav-cta .btn { display: none; }
}

@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .mobile-panel.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: #0b0c0d;
    z-index: 49;
    padding: 28px 24px;
    gap: 18px;
  }
  .mobile-panel a {
    text-decoration: none;
    font-size: 1.3rem;
    font-family: "Syne", sans-serif;
  }
  .cards-6, .process, .homes, .tech-panel, .split, .about-grid, .contact-grid, .also, .guide-hero {
    grid-template-columns: 1fr;
  }
  .eco-teaser {
    flex-direction: column;
    align-items: flex-start;
  }
  .stats { grid-template-columns: 1fr 1fr; margin-bottom: 0; }
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px;
  }
  .gallery figure:first-child { grid-column: 1 / -1; }
  .hero { min-height: 92vh; }
  .hero-media img { object-position: center 70%; }
  .tech-photo, .tech-photo-cad { min-height: 260px; }
  .tech-photo-sm { min-height: 200px; }
  .split img,
  .split figure.photo-diagram-wrap,
  .split figure.photo-diagram-wrap img { min-height: 260px; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  section { padding: 76px 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery figure, .gallery figure:first-child { height: 220px; }
  .brand-name { display: none; }
  .hero h1 { max-width: 12ch; }
  .wa-fab span { display: none; }
  .wa-fab { padding: 15px; }
  .also > div { padding: 22px; }
  .teaser { padding: 22px; }
}
