@font-face {
  font-family: Manrope;
  src: url("../assets/fonts/manrope-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("../assets/fonts/manrope-bold.ttf") format("truetype");
  font-weight: 600 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #171916;
  --surface: #1e211d;
  --surface-raised: #272a25;
  --text: #f5f3ed;
  --muted: #b4b8ae;
  --line: #3b3e36;
  --accent: #d2b582;
  --accent-text: #161813;
  --paper: #ecebe4;
  --paper-text: #252820;
  --font-body: Manrope, system-ui, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: clamp(1.4rem, 2vw, 1.75rem);
  --text-2xl: clamp(2rem, 3.6vw, 3.25rem);
  --text-hero: clamp(3.2rem, 6.8vw, 6rem);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.045em;
  font-weight: 700;
}
h2 {
  font-size: var(--text-2xl);
}
h3 {
  font-size: var(--text-lg);
}
p {
  color: var(--muted);
}
a,
button {
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.section {
  padding-block: var(--space-24);
  scroll-margin-top: var(--space-4);
}
.eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.17em;
  color: var(--accent);
  margin-bottom: var(--space-6);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip-link {
  position: fixed;
  top: 0;
  left: var(--space-4);
  transform: translateY(-120%);
  z-index: 100;
  background: var(--accent);
  color: var(--accent-text);
  padding: var(--space-3);
}
.skip-link:focus {
  transform: none;
}
.topbar {
  background: #22251f;
  color: #c6c7bd;
  font-size: var(--text-xs);
  border-bottom: 1px solid #363a30;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  padding-block: var(--space-2);
}
.topbar a:hover {
  color: #fff;
}
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #171916;
  color: #f5f3ed;
  border-bottom: 1px solid #393c33;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: 90px;
}
.brand {
  display: block;
  width: 190px;
  height: 66px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.brand img {
  width: 190px;
  max-width: none;
  height: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
nav {
  display: flex;
  gap: var(--space-8);
  align-items: center;
}
nav a {
  font-size: var(--text-sm);
  color: #c1c4b9;
}
nav a:hover {
  color: #d2b582;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  background: var(--accent);
  color: var(--accent-text);
  padding: var(--space-4) var(--space-6);
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: var(--text-sm);
  font-weight: 700;
}
.button:hover {
  filter: brightness(1.09);
  transform: translateY(-2px);
}
.header .button {
  background: #d2b582;
  color: #171916;
}
.button-small {
  padding: var(--space-3) var(--space-5);
  min-height: 44px;
}
.button-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  width: 44px;
  height: 44px;
  border-radius: 3px;
  font-size: var(--text-lg);
}
.header .icon-button {
  border-color: #494c43;
}
.icon-button:hover {
  background: var(--surface-raised);
}
.menu-button {
  display: none;
}
.hero {
  position: relative;
  min-height: 660px;
  height: min(760px, calc(100svh - 125px));
  color: #f5f3ed;
  isolation: isolate;
  display: flex;
  align-items: center;
}
.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}
.hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(13, 18, 12, 0.94),
      rgba(13, 18, 12, 0.68) 44%,
      rgba(13, 18, 12, 0.13) 100%
    ),
    linear-gradient(0deg, rgba(13, 18, 12, 0.5), transparent 30%);
}
.hero-content {
  padding-block: var(--space-16);
}
.hero .eyebrow {
  color: #e0c79c;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.status-dot {
  height: 6px;
  width: 6px;
  background: #d2b582;
  border-radius: 50%;
}
.hero h1 {
  font-size: var(--text-hero);
  line-height: 1.04;
  max-width: 820px;
  font-weight: 600;
  letter-spacing: -0.065em;
}
.hero h1 span {
  color: #d2b582;
}
.hero-description {
  color: #d1d5ca;
  margin-top: var(--space-8);
  line-height: 1.85;
  max-width: 530px;
}
.hero-actions {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}
.hero .button {
  background: #d2b582;
  color: #171916;
}
.hero .button-outline {
  background: rgba(23, 25, 22, 0.3);
  color: #f5f3ed;
  border-color: #7e8575;
}
.hero-caption {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-12);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  line-height: 1.6;
}
.hero-caption small {
  font-size: var(--text-xs);
  letter-spacing: 0;
  color: #bdc4b6;
}
.caption-line {
  width: 32px;
  height: 1px;
  background: #d2b582;
}
.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  right: var(--space-16);
  font-size: var(--text-xs);
  display: flex;
  gap: var(--space-6);
  align-items: center;
}
.hero-scroll span {
  font-size: var(--text-lg);
}
.service-strip {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.service-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: var(--space-6);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.service-strip span {
  padding-inline: var(--space-6);
  border-right: 1px solid var(--line);
  text-align: center;
}
.service-strip span:first-child {
  padding-left: 0;
}
.service-strip span:last-child {
  border: 0;
  padding-right: 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
.section-heading > p {
  font-size: var(--text-sm);
  line-height: 1.9;
  max-width: 350px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.service-card {
  padding: var(--space-8);
  border-right: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  transition: background 0.3s;
}
.service-card:last-child {
  border: 0;
}
.service-card:hover {
  background: var(--surface-raised);
}
.service-number {
  font-size: var(--text-xs);
  color: var(--muted);
  position: absolute;
  right: var(--space-6);
  top: var(--space-6);
}
.service-icon {
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--accent);
  height: 68px;
  line-height: 1;
}
.service-card h3 {
  margin-bottom: var(--space-4);
  letter-spacing: -0.03em;
}
.service-card p {
  font-size: var(--text-sm);
  line-height: 1.8;
  flex: 1;
}
.service-card a {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}
.service-card a:hover {
  color: var(--accent);
}
.gallery-section {
  background: var(--surface);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
}
.about-photo {
  position: relative;
  height: 560px;
  overflow: hidden;
  border-radius: 3px;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.about-photo > span {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  right: var(--space-6);
  padding: var(--space-5);
  background: #171916e8;
  color: #fff;
  font-size: var(--text-lg);
  font-weight: 700;
}
.about-photo small {
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.1em;
}
.about-copy > p:not(.eyebrow) {
  margin-top: var(--space-6);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-6);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
  border: 0;
  background: none;
  padding: var(--space-3) 0;
  min-height: 44px;
}
.text-link:hover {
  color: var(--accent);
}
.about-copy .text-link {
  margin-top: var(--space-5);
}
.about-signature {
  border-top: 1px solid var(--line);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  font-weight: 800;
  letter-spacing: 0.03em;
}
.about-signature span {
  display: block;
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: var(--space-1);
}
.commitments {
  background: var(--paper);
  color: var(--paper-text);
}
.commitments .eyebrow {
  color: #735927;
}
.commitment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-12);
  margin-top: var(--space-12);
}
.commitment-grid article {
  padding-top: var(--space-6);
  border-top: 1px solid #babcaf;
}
.commitment-grid span {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: #686d60;
}
.commitment-grid h3 {
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
}
.commitment-grid p {
  color: #5b6056;
  font-size: var(--text-sm);
}
.process-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}
.process-grid li {
  border-top: 1px solid var(--line);
  padding-top: var(--space-6);
}
.process-grid li > span {
  display: block;
  color: var(--accent);
  font-size: var(--text-xl);
  margin-bottom: var(--space-8);
}
.process-grid h3 {
  margin-bottom: var(--space-4);
}
.process-grid p {
  font-size: var(--text-sm);
}
.faq-section {
  background: var(--surface);
}
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-20);
}
.faq-layout .text-link {
  margin-top: var(--space-6);
}
details {
  border-bottom: 1px solid var(--line);
  padding-block: var(--space-5);
}
details:first-child {
  border-top: 1px solid var(--line);
}
summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  position: relative;
  padding-right: var(--space-8);
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  position: absolute;
  right: 0;
  color: var(--accent);
  font-size: var(--text-lg);
}
details[open] summary::after {
  content: "−";
}
details p {
  font-size: var(--text-sm);
  padding-top: var(--space-4);
}
.contact-section {
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-20);
}
.contact-copy h2 span {
  color: var(--accent);
}
.contact-copy > p:not(.eyebrow) {
  margin-top: var(--space-6);
  max-width: 370px;
}
.contact-copy > a {
  display: block;
  overflow-wrap: anywhere;
}
.contact-phone {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-top: var(--space-10);
  margin-bottom: var(--space-3);
}
.contact-phone span {
  color: var(--accent);
  margin-left: var(--space-5);
}
.location {
  display: block;
  color: var(--muted);
  font-size: var(--text-sm);
  margin-top: var(--space-4);
}
.contact-note {
  border-left: 2px solid var(--accent);
  padding-left: var(--space-5);
  color: var(--muted);
  font-size: var(--text-sm);
  margin-top: var(--space-10);
}
.quote-form {
  background: var(--surface);
  padding: var(--space-8);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.form-intro {
  font-size: var(--text-xs);
  margin-top: var(--space-2);
  margin-bottom: var(--space-6);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.field {
  margin-bottom: var(--space-5);
  min-width: 0;
}
label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
label span {
  font-weight: 400;
  color: var(--muted);
}
input,
select,
textarea {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 3px;
  min-height: 48px;
  padding: var(--space-3);
  font-size: var(--text-base);
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 0.85;
}
textarea {
  resize: vertical;
  min-height: 120px;
}
input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #d68c78;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  line-height: 1.7;
  margin-block: var(--space-5);
}
.consent input {
  width: 18px;
  height: 18px;
  min-height: 0;
  flex-shrink: 0;
  margin-top: 4px;
  accent-color: var(--accent);
}
.consent a {
  text-decoration: underline;
  color: var(--text);
}
.form-submit {
  width: 100%;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  font-size: var(--text-sm);
  margin-top: var(--space-4);
  color: var(--accent);
}
.request-ready {
  border-top: 1px solid var(--line);
  padding-top: var(--space-6);
  margin-top: var(--space-4);
}
.request-ready h3 {
  margin-bottom: var(--space-3);
}
.request-ready p {
  font-size: var(--text-sm);
}
pre {
  font: var(--text-sm) / 1.7 var(--font-body);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--bg);
  padding: var(--space-4);
}
.ready-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
footer {
  background: #11140f;
  color: #f5f3ed;
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-16);
  padding-bottom: var(--space-12);
}
.footer-brand p {
  font-size: var(--text-sm);
  margin-top: var(--space-4);
  color: #adb3a4;
}
.footer-grid h2 {
  font-size: var(--text-sm);
  letter-spacing: 0;
  margin-bottom: var(--space-5);
}
.footer-grid > div:not(:first-child) > a {
  display: block;
  color: #b5bbac;
  font-size: var(--text-sm);
  padding-block: var(--space-1);
  overflow-wrap: anywhere;
}
.footer-grid a:hover {
  color: #d2b582;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
  font-size: var(--text-xs);
  border-top: 1px solid #343a2e;
  padding-block: var(--space-6);
  color: #aeb5a3;
}
.footer-bottom > div {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}
:root {
  --whatsapp: #25D366;
  --phone: #d2b582;
}

.float-stack {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
  text-decoration: none;
  border: none;
  margin-bottom: 0.65rem;
}

.float-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
  animation: waPulse 2.5s ease-in-out infinite;
}

.float-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37,211,102,0.5);
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.35); }
  50% { box-shadow: 0 12px 36px rgba(37,211,102,0.6); }
}

.float-phone {
  background: var(--phone);
  color: #171916;
  box-shadow: 0 8px 24px rgba(210,181,130,0.35);
  animation: phonePulse 2.5s ease-in-out infinite;
}

.float-phone:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(210,181,130,0.5);
}

@keyframes phonePulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(210,181,130,0.35); }
  50% { box-shadow: 0 12px 36px rgba(210,181,130,0.6); }
}

.float-tooltip {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: #171916;
  color: var(--accent);
  padding: 0.35rem 0.75rem;
  border-radius: 3px;
  font-size: var(--text-xs);
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), visibility 0.2s, transform 0.2s var(--ease);
  border: 1px solid var(--line);
  pointer-events: none;
  z-index: 1001;
}

.float-phone:hover .float-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(-8px);
}

@media (max-width: 480px) {
  .float-whatsapp { animation: none; }
  .float-phone { animation: none; }
  .float-btn { width: 46px; height: 46px; }
  .float-tooltip {
    display: none;
  }
}
dialog {
  background: #171916;
  color: #f5f3ed;
  border: 1px solid #555b4a;
  border-radius: 4px;
  max-width: min(1100px, calc(100% - 32px));
  max-height: 92svh;
  padding: var(--space-8);
  overflow: auto;
}
dialog::backdrop {
  background: #080a08e8;
  backdrop-filter: blur(6px);
}
dialog > img {
  height: 65svh;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  margin: auto;
}
dialog > p {
  text-align: center;
  margin-top: var(--space-5);
  color: #d9ddcf;
}
.document-main {
  min-height: 70svh;
  padding-block: var(--space-20);
}
.document-content {
  max-width: 800px;
}
.document-content h1 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-8);
}
.document-content h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}
.document-content p {
  margin-bottom: var(--space-4);
}
.document-content a {
  text-decoration: underline;
}
.legal-notice {
  padding: var(--space-5);
  border: 1px solid var(--line);
  background: var(--surface);
  margin-block: var(--space-6);
}
.sr-stage {
  height: 480px;
  position: relative;
  background: #080808;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-top: var(--space-8);
}
#three-container {
  width: 100%;
  height: 100%;
}
.sr-phase {
  font-size: var(--text-lg);
  color: var(--accent);
  margin-top: var(--space-4);
}
.sr-progress-wrap {
  height: 3px;
  background: var(--line);
  margin-block: var(--space-4);
}
.sr-progress {
  height: 100%;
  background: var(--accent);
  width: 0;
}
.sr-finish {
  display: none;
}
.sr-finish.visible {
  display: block;
}
.service-strip {
  display: block;
}
.service-strip-mobile {
  display: none;
}
@media (max-width: 1200px) {
  .container {
    width: calc(100% - 64px);
  }
  nav {
    gap: var(--space-5);
  }
  .nav-wrap {
    gap: var(--space-4);
  }
  .brand {
    width: 160px;
  }
  .brand img {
    width: 160px;
  }
  .service-card {
    padding: var(--space-6);
  }
  .service-card h3 {
    font-size: var(--text-base);
  }
  .about-grid,
  .contact-grid,
  .faq-layout {
    gap: var(--space-12);
  }
  .project figcaption {
    display: block;
  }
  .project figcaption > span {
    display: block;
    margin-top: var(--space-1);
  }
}
@media (max-width: 980px) {
  .menu-button {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .menu-button span {
    height: 1px;
    width: 18px;
    background: currentColor;
    transition: transform 0.2s;
  }
  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 90px;
    background: #171916;
    border-bottom: 1px solid #494c43;
    padding: var(--space-6) var(--space-8);
  }
  nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
  }
  nav a {
    padding: var(--space-3);
    font-size: var(--text-base);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card:nth-child(2) {
    border-right: 0;
  }
  .service-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .service-card h3 {
    font-size: var(--text-lg);
  }
  .about-photo {
    height: 500px;
  }
  .commitment-grid {
    gap: var(--space-6);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-scroll {
    right: var(--space-8);
  }
}
@media (max-width: 640px) {
  .container {
    width: calc(100% - 40px);
  }
  .topbar .container {
    justify-content: center;
  }
  .topbar .container > span {
    display: none;
  }
  .nav-wrap {
    height: 76px;
    gap: var(--space-2);
  }
  .brand {
    width: 136px;
    height: 54px;
  }
  .brand img {
    width: 136px;
  }
  .nav-actions {
    gap: var(--space-2);
  }
  .nav-actions > .button {
    display: none;
  }
  .icon-button {
    width: 44px;
    height: 44px;
  }
  .header nav {
    top: 76px;
  }
  .hero {
    height: auto;
    min-height: 710px;
    align-items: flex-start;
  }
  .hero-content {
    padding-top: var(--space-16);
    padding-bottom: var(--space-20);
  }
  .hero-photo img {
    object-position: 62% center;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #10160eeb, #10160e8f),
      linear-gradient(0deg, #10160e99, transparent);
  }
  .hero h1 {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
    line-height: 1.1;
  }
  .hero-description {
    margin-top: var(--space-6);
  }
  .hero-description br {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
    margin-top: var(--space-6);
  }
  .hero .button {
    justify-content: space-between;
  }
  .hero-caption {
    margin-top: var(--space-8);
  }
  .hero-scroll {
    right: var(--space-5);
    bottom: var(--space-5);
  }
  .service-strip {
    display: none;
  }
  .section {
    padding-block: var(--space-16);
  }
  .section-heading {
    display: block;
    margin-bottom: var(--space-8);
  }
  .section-heading > p,
  .section-heading > .text-link {
    margin-top: var(--space-5);
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: var(--space-8);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .service-card:nth-child(3) {
    border-bottom: 1px solid var(--line);
  }
  .service-icon {
    height: 56px;
  }
  .service-card a {
    font-size: var(--text-sm);
    margin-top: var(--space-6);
  }
  .about-grid,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .about-photo {
    height: 390px;
  }
  .about-grid .about-copy {
    order: -1;
  }
  .commitment-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .process-grid {
    gap: var(--space-8) var(--space-6);
  }
  .process-grid li > span {
    margin-bottom: var(--space-5);
  }
  .process-grid h3 {
    font-size: var(--text-base);
  }
  .quote-form {
    padding: var(--space-5);
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-phone {
    font-size: var(--text-xl);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
  .footer-brand {
    grid-column: span 2;
  }
  .footer-bottom {
    flex-direction: column;
    padding-bottom: var(--space-24);
  }
  .footer-bottom > div {
    gap: var(--space-4);
  }
  .float-stack {
    bottom: var(--space-4);
    right: var(--space-4);
  }
  dialog {
    padding: var(--space-6) var(--space-4);
  }
  dialog > img {
    height: 60svh;
  }
  .sr-stage {
    height: 350px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .photo-button:hover img {
    transform: none;
  }
}
.header .icon-button:hover {
  background: #34392e;
}
footer .footer-grid > div:not(:first-child) > a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
@media (max-width: 640px) {
  .hero-scroll {
    left: var(--space-5);
    right: auto;
    max-width: calc(100% - 100px);
  }
}
@media print {
  body {
    background: white;
    color: black;
  }
  .topbar,
  header,
  .hero,
  .service-strip,
  .section:not(.contact-section),
  .contact-copy,
  footer,
  .float-stack,
  .quote-form > :not(.request-ready) {
    display: none !important;
  }
  .section,
  .quote-form {
    padding: 0;
    border: 0;
    background: white;
  }
  .container {
    width: 100%;
  }
  .contact-grid {
    display: block;
  }
  .request-ready {
    display: block !important;
    border: 0;
  }
  .request-ready p,
  .ready-actions {
    display: none;
  }
  pre {
    background: white;
    color: black;
  }
}

/* ---- Mejoras v2.1 ---- */
.service-icon {
  display: block;
  height: auto;
  margin-bottom: var(--space-5);
}
.service-icon svg {
  display: block;
}
.form-title {
  margin-bottom: var(--space-4);
}
#openCvModal {
  margin-top: var(--space-4);
}
.cv-dialog {
  max-width: 400px;
  padding: var(--space-6);
}
.cv-dialog .lightbox-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 32px;
  height: 32px;
  font-size: var(--text-base);
  border-color: var(--line);
  background: transparent;
}
.cv-dialog .lightbox-close:hover {
  background: var(--surface-raised);
}
.cv-dialog h3 {
  margin: 0 0 var(--space-2);
}
.cv-intro {
  color: var(--muted);
  margin-bottom: var(--space-6);
}
.cv-dialog form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.cv-submit {
  width: 100%;
}
.cv-note,
.field-hint {
  font-size: var(--text-xs);
  color: var(--muted);
}
.cv-note {
  margin: 0;
  text-align: center;
}
.cv-note a {
  text-decoration: underline;
}
/* El botón flotante de WhatsApp no tapa el aviso "Descubre" del hero */
.hero-scroll {
  right: calc(var(--space-16) + 72px);
}
@media (max-width: 640px) {
  .hero-scroll {
    right: auto;
    left: var(--space-5);
  }
  .hero-photo img {
    object-position: 68% center;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #10160ecc, #10160e66),
      linear-gradient(0deg, #10160eb3, transparent 60%);
  }
}
/* Evita que el botón flotante tape el pie de página en móvil */
@media (max-width: 640px) {
  footer {
    padding-bottom: 4.5rem;
  }
}

/* ======== Brillos y efectos visuales (v2.2) ======== */
:root {
  --glow: rgba(210, 181, 130, 0.35);
  --gold-grad: linear-gradient(100deg, #b98f4d 0%, #e6c98c 35%, #d2b582 55%, #ecd49a 75%, #b98f4d 100%);
}

/* Cabecera con cristal y línea dorada */
.header {
  background: rgba(23, 25, 22, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(210, 181, 130, 0.55), transparent) 1;
}

/* Portada: título dorado con destello que recorre el texto */
.hero h1 span {
  background: var(--gold-grad);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: goldShine 7s ease-in-out infinite;
}
@keyframes goldShine {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0 0; }
}
/* Resplandor ambiental en la portada */
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, rgba(210, 181, 130, 0.22), transparent 62%);
  pointer-events: none;
  z-index: -1;
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}
.status-dot {
  box-shadow: 0 0 0 0 var(--glow);
  animation: dotPulse 2.4s ease-out infinite;
}
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(210, 181, 130, 0.7); }
  100% { box-shadow: 0 0 0 12px rgba(210, 181, 130, 0); }
}

/* Botones: brillo que cruza al pasar el ratón + halo */
.button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease);
}
.button:not(.button-outline)::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  z-index: -1;
  transition: left 0.7s var(--ease);
}
.button:not(.button-outline):hover::before {
  left: 130%;
}
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -6px var(--glow), 0 0 0 1px rgba(210, 181, 130, 0.35);
}
.button-outline:hover {
  box-shadow: 0 0 22px -4px var(--glow);
  border-color: var(--accent);
}
.hero-actions .button:first-child {
  animation: ctaGlow 3.2s ease-in-out infinite;
}
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(210, 181, 130, 0); }
  50% { box-shadow: 0 0 30px 2px rgba(210, 181, 130, 0.45); }
}

/* Tarjetas de servicio: foco de luz que sigue al cursor */
.service-card {
  --mx: 50%;
  --my: 0%;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--mx) var(--my), var(--glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.service-card:hover::before {
  opacity: 1;
}
.service-card > * {
  position: relative;
}
.service-icon {
  transition: transform 0.4s var(--ease), filter 0.4s;
}
.service-card:hover .service-icon {
  transform: translateY(-4px) scale(1.08);
  filter: drop-shadow(0 0 10px var(--glow));
}

/* Galería: zoom suave, viñeta dorada y brillo en el icono */
.photo-button {
  position: relative;
}
.photo-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13, 18, 12, 0.55));
  box-shadow: inset 0 0 0 1px rgba(210, 181, 130, 0);
  opacity: 0;
  transition: opacity 0.4s, box-shadow 0.4s;
  pointer-events: none;
}
.project:hover .photo-button::after,
.photo-button:focus-visible::after {
  opacity: 1;
  box-shadow: inset 0 0 0 1px rgba(210, 181, 130, 0.7);
}
.filter {
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.2s;
}
.filter:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.filter.active {
  box-shadow: 0 6px 20px -6px var(--glow);
}

/* Foto "Nosotros" con marco de luz */
.about-photo {
  position: relative;
}
.about-photo::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 6px;
  background: var(--gold-grad);
  background-size: 250% 100%;
  opacity: 0.55;
  z-index: -1;
  filter: blur(14px);
  animation: goldShine 9s ease-in-out infinite;
}

/* Compromisos, pasos y preguntas */
.commitment-grid article,
.process-grid li {
  position: relative;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.commitment-grid article:hover,
.process-grid li:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.commitment-grid article::before,
.process-grid li::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-grad);
  box-shadow: 0 0 12px var(--glow);
  transition: width 0.6s var(--ease);
}
.commitment-grid article:hover::before,
.process-grid li:hover::before {
  width: 100%;
}
.process-grid {
  counter-reset: paso;
}
.process-grid li h3::before {
  counter-increment: paso;
  content: "0" counter(paso);
  display: block;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: var(--space-2);
}
.faq-list details {
  transition: background 0.3s;
}

/* Formulario con halo al enfocar */
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--glow), 0 0 18px -4px var(--glow);
}
.quote-form {
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(210, 181, 130, 0.12);
}
.contact-phone {
  text-shadow: 0 0 24px var(--glow);
}

/* Aparición suave al hacer scroll (solo si hay JavaScript) */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.js-reveal .reveal.in {
  opacity: 1;
  transform: none;
}
/* Barra de progreso de lectura */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--gold-grad);
  box-shadow: 0 0 10px var(--glow);
  z-index: 60;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 span,
  .hero::after,
  .status-dot,
  .hero-actions .button:first-child,
  .about-photo::before {
    animation: none;
  }
  .js-reveal .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .button:not(.button-outline)::before {
    display: none;
  }
}
@media print {
  .scroll-progress,
  .hero::after {
    display: none;
  }
}
.hero {
  overflow: hidden;
}
.about-section {
  overflow-x: clip;
}

/* ======== Galería automática (carrusel) ======== */
.showcase {
  margin-top: var(--space-10);
  outline: none;
}
.showcase-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 78vh;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  background: #10130f;
  border: 1px solid rgba(210, 181, 130, 0.35);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6), 0 0 40px -12px var(--glow);
  touch-action: pan-y;
}
.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--ease), visibility 0s linear 0.9s;
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition: opacity 0.9s var(--ease), visibility 0s;
}
.slide-button {
  all: unset;
  box-sizing: border-box;
  position: absolute;
  inset: 0;
  display: block;
  cursor: default;
  overflow: hidden;
}
.slide-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -6px;
}
.slide-bg,
.slide-fg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.slide-bg {
  object-fit: cover;
  filter: blur(26px) brightness(0.5) saturate(1.2);
  transform: scale(1.18);
}
.slide-fg {
  object-fit: contain;
  transform: scale(1);
  transition: transform 7s ease-out;
}
.slide.is-active .slide-fg {
  transform: scale(1.045);
}
.slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: var(--space-16) var(--space-8) var(--space-8);
  background: linear-gradient(0deg, rgba(10, 13, 9, 0.88), transparent);
  color: #f5f3ed;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
}
.slide figcaption h3 {
  font-size: var(--text-xl);
  letter-spacing: -0.03em;
  color: #f5f3ed;
  margin: 0;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.7s var(--ease) 0.25s, opacity 0.7s var(--ease) 0.25s;
}
.slide.is-active figcaption h3 {
  transform: none;
  opacity: 1;
}
.slide-tag {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #171916;
  background: var(--gold-grad);
  padding: 0.3rem 0.65rem;
  border-radius: 2px;
}
.showcase-count {
  position: absolute;
  top: var(--space-5);
  left: var(--space-5);
  z-index: 3;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  color: #e9e5d8;
  background: rgba(16, 19, 15, 0.65);
  border: 1px solid rgba(210, 181, 130, 0.35);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
}
.showcase-count b {
  color: #d2b582;
}
.showcase-nav,
.showcase-pause {
  position: absolute;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(16, 19, 15, 0.7);
  color: #f5f3ed;
  border: 1px solid rgba(210, 181, 130, 0.45);
  font: inherit;
  font-size: 1.15rem;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.showcase-nav {
  top: 50%;
  margin-top: -24px;
}
.showcase-prev {
  left: var(--space-5);
}
.showcase-next {
  right: var(--space-5);
}
.showcase-pause {
  right: var(--space-5);
  bottom: var(--space-5);
  width: 40px;
  height: 40px;
  font-size: 0.7rem;
}
.showcase-nav:hover,
.showcase-pause:hover {
  background: #d2b582;
  color: #171916;
  box-shadow: 0 0 22px var(--glow);
  transform: scale(1.08);
}
.showcase-nav:focus-visible,
.showcase-pause:focus-visible,
.thumb:focus-visible {
  outline: 2px solid #f5f3ed;
  outline-offset: 2px;
}
.showcase-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(245, 243, 237, 0.15);
  z-index: 3;
}
.showcase-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gold-grad);
  box-shadow: 0 0 10px var(--glow);
  transform-origin: 0 50%;
  transform: scaleX(0);
}
.showcase-progress span.run {
  animation: slideProgress var(--dur, 5500ms) linear forwards;
}
.showcase.is-paused .showcase-progress span.run {
  animation-play-state: paused;
}
@keyframes slideProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.showcase-thumbs {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding: 4px 4px var(--space-3);
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.thumb {
  flex: 0 0 auto;
  width: 108px;
  aspect-ratio: 3 / 2;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  opacity: 0.55;
  transition: opacity 0.3s, transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.thumb.is-active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 6px 20px -6px var(--glow), 0 0 14px -2px var(--glow);
}
@media (max-width: 640px) {
  .showcase-stage {
    aspect-ratio: 1 / 1;
    max-height: 72vh;
  }
  .slide figcaption {
    padding: var(--space-12) var(--space-5) var(--space-6);
  }
  .showcase-nav {
    width: 42px;
    height: 42px;
    margin-top: -21px;
  }
  .showcase-prev {
    left: var(--space-3);
  }
  .showcase-next {
    right: var(--space-3);
  }
  .thumb {
    width: 84px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .slide,
  .slide.is-active {
    transition: none;
  }
  .slide-fg,
  .slide.is-active .slide-fg {
    transform: none;
    transition: none;
  }
  .slide figcaption h3 {
    transition: none;
    transform: none;
    opacity: 1;
  }
  .showcase-progress {
    display: none;
  }
}
@media print {
  .showcase-nav,
  .showcase-pause,
  .showcase-thumbs {
    display: none;
  }
}
