:root {
  --bg: #050509;
  --surface: #0f1018;
  --surface-soft: #131726;
  --text: #f8f5ef;
  --muted: #b7b7c4;
  --line: #25283b;
  --brand-purple: #633a91;
  --brand-copper: #9a472e;
  --brand-copper-light: #a25633;
  --accent: var(--brand-purple);
  --accent-2: var(--brand-copper-light);
  --accent-3: #c9a227;
  --font-body: "Manrope", sans-serif;
  --font-display: "Prata", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 82% 20%, rgba(99, 58, 145, 0.22), transparent 38%),
    radial-gradient(circle at 12% 85%, rgba(154, 71, 46, 0.14), transparent 42%),
    linear-gradient(160deg, #050509, #090c14 58%, #0a0b12);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
  background-image:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.11) 0,
      rgba(255, 255, 255, 0.11) 1px,
      transparent 2px,
      transparent 3px
    );
  mix-blend-mode: soft-light;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 6vw;
  backdrop-filter: blur(16px);
  background: rgba(6, 7, 12, 0.72);
  border-bottom: 1px solid rgba(69, 74, 103, 0.35);
}

.header-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.35rem 0.65rem;
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}

.lang-btn.active {
  background: rgba(99, 58, 145, 0.28);
  color: var(--text);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(2.75rem, 6vw, 3.75rem);
  max-width: min(320px, 72vw);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.5rem 0.85rem;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 1.3rem;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav .nav-cta {
  color: var(--accent-3);
  border: 1px solid rgba(255, 196, 107, 0.6);
  padding: 0.35rem 0.8rem;
}

section {
  position: relative;
  padding: 6vw;
  border-top: 1px solid rgba(69, 74, 103, 0.3);
}

.hero {
  --hero-height: max(92svh, 700px);
  height: var(--hero-height);
  min-height: var(--hero-height);
  max-height: var(--hero-height);
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  background: #050509;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(160deg, rgba(5, 6, 11, 0.15), rgba(5, 6, 11, 0.55) 70%),
    radial-gradient(circle at 72% 14%, rgba(99, 58, 145, 0.32), transparent 40%),
    radial-gradient(circle at 20% 75%, rgba(154, 71, 46, 0.18), transparent 46%);
  mix-blend-mode: screen;
}

.hero-copy {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(2rem, 5vw, 4rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.hero .eyebrow {
  max-width: 28rem;
  line-height: 1.45;
}

.hero h1 {
  max-width: 14ch;
}

.hero-subtitle {
  max-width: 26rem;
  color: var(--accent-3);
  line-height: 1.35;
}

.hero-copy > p {
  max-width: 34rem;
}

.eyebrow {
  margin: 0;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 600;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 3rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.hero-actions {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.button {
  display: inline-block;
  text-decoration: none;
  border: 1px solid transparent;
  padding: 0.75rem 1.05rem;
  font-size: 0.92rem;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.2s ease, border-color 0.2s ease;
}

.button-cta {
  min-width: 11.75rem;
  text-align: center;
  white-space: nowrap;
}

.button-cta.button-solid {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(140deg, var(--brand-purple), var(--brand-copper));
  color: #f8f5ef;
  border: 1px solid rgba(154, 71, 46, 0.45);
  box-shadow: 0 10px 28px rgba(99, 58, 145, 0.28);
}

.button-cta.button-solid:hover {
  filter: brightness(1.08);
  box-shadow: 0 12px 32px rgba(99, 58, 145, 0.36);
}

.button:hover {
  transform: translateY(-1px);
}

.button-solid {
  background: linear-gradient(130deg, var(--brand-purple), var(--brand-copper));
  color: #f8f5ef;
  border-color: transparent;
}

.button-solid:hover {
  filter: brightness(1.08);
}

.button-ghost {
  border-color: rgba(69, 74, 103, 0.8);
  color: var(--text);
}

.button-ghost:hover {
  border-color: rgba(154, 71, 46, 0.8);
  color: var(--brand-copper-light);
}

.manifesto p,
.inspiration-text {
  max-width: 960px;
  font-family: var(--font-display);
  color: var(--text);
  font-size: clamp(1.25rem, 2.15vw, 1.65rem);
  line-height: 1.55;
}

.inspiration .section-head {
  margin-bottom: 1.25rem;
}

.inspiration-text + .inspiration-text {
  margin-top: 1rem;
}

.process-block .section-head {
  text-align: center;
}

.seo-local {
  padding: 0 1.5rem 2rem;
  max-width: 980px;
  margin: 0 auto;
}

.seo-local p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.gallery-intro {
  max-width: 760px;
  min-height: 4.5rem;
  margin-bottom: 1rem;
}

.gallery-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(220px, auto));
  gap: 1rem;
}

.gallery-thumb {
  margin: 0;
  padding: 0.5rem;
  border: 1px solid var(--line);
  background: rgba(8, 10, 18, 0.95);
  cursor: zoom-in;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.gallery-thumb:hover {
  border-color: rgba(99, 58, 145, 0.65);
  transform: translateY(-2px);
}

.gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: contain;
  object-position: center;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(5, 5, 9, 0.94);
  backdrop-filter: blur(8px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-img {
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  object-fit: contain;
  border: 1px solid var(--line);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: 1px solid var(--line);
  background: rgba(15, 16, 24, 0.9);
  color: var(--text);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.5rem 0.85rem;
  border-radius: 50%;
}

.lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
}

.lightbox-prev {
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-note {
  margin-top: 0.9rem;
  font-size: 0.9rem;
}

code {
  color: var(--accent-3);
}

.section-head {
  margin-bottom: 2rem;
}

.text-block {
  display: grid;
  gap: 1rem;
  max-width: 980px;
}

.letter .text-block {
  border-left: 2px solid rgba(99, 58, 145, 0.55);
  padding-left: 1.2rem;
}

.services-cta {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(99, 58, 145, 0.12), transparent 55%),
    var(--surface);
}

.services-cta .section-head {
  margin-bottom: 1rem;
}

.services-cta-text {
  max-width: 520px;
  margin: 0 auto 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

.big-line {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--text);
  margin-bottom: 1.1rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chips span {
  border: 1px solid rgba(154, 71, 46, 0.4);
  background: rgba(99, 58, 145, 0.1);
  color: var(--text);
  padding: 0.45rem 0.7rem;
  font-size: 0.82rem;
}

.contact-intro {
  max-width: 760px;
  margin-bottom: 1rem;
}

.contact-links a:link,
.contact-links a:visited {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(248, 245, 239, 0.35);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  color: var(--brand-copper-light);
  text-decoration-color: var(--brand-copper-light);
}

.quote {
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 6rem;
  border-top: none;
  background:
    radial-gradient(circle at 88% 12%, rgba(99, 58, 145, 0.14), transparent 36%),
    radial-gradient(circle at 8% 88%, rgba(154, 71, 46, 0.1), transparent 40%);
}

.quote-inner {
  width: 100%;
  max-width: 980px;
}

.quote-form {
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.quote-form label:last-of-type,
.quote-form button,
#form-note {
  grid-column: span 2;
}

input,
select,
textarea {
  padding: 0.65rem;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(9, 11, 19, 0.95);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(99, 58, 145, 0.8);
  box-shadow: 0 0 0 2px rgba(99, 58, 145, 0.15);
}

.site-footer {
  padding: 2rem 6vw 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 5, 10, 0.92);
  color: var(--muted);
  transition: opacity 0.3s ease;
}

.site-footer.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.footer-inner {
  max-width: 980px;
  margin: 0 auto;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-logo {
  display: block;
  height: 2rem;
  width: auto;
  margin-bottom: 0.35rem;
}

.footer-location {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.footer-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--accent-2);
}

.footer-meta {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: rgba(183, 183, 196, 0.85);
}

.footer-copy {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(183, 183, 196, 0.65);
}

.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 30;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.whatsapp-fab svg {
  width: 30px;
  height: 30px;
}

.whatsapp-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45);
}

@media (max-width: 980px) {
  .hero {
    --hero-height: auto;
    height: auto;
    min-height: 100svh;
    max-height: none;
    grid-template-columns: 1fr;
    grid-template-rows: 45svh auto;
  }

  .hero-media {
    height: 45svh;
    min-height: 45svh;
    max-height: 45svh;
  }

  .hero-copy {
    height: auto;
    min-height: 55svh;
    overflow-y: visible;
  }

  .gallery-grid-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(200px, auto));
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand controls"
      "nav nav";
  }

  .brand {
    grid-area: brand;
  }

  .header-controls {
    grid-area: controls;
  }

  .site-nav {
    grid-area: nav;
    position: static;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(69, 74, 103, 0.25);
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav.open {
    display: flex;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .gallery-grid-6 {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .pkg-grid,
  .rates-svc-grid {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    height: 2.5rem;
    max-width: min(260px, 85vw);
  }

  .quote-form label:last-of-type,
  .quote-form button,
  #form-note {
    grid-column: span 1;
  }

  .site-footer {
    padding-bottom: 6rem;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

.site-nav a.is-active {
  color: var(--brand-copper-light);
}

.rates-services,
.rates-block {
  padding: 3rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.rates-hero .section-head,
.rates-services .section-head,
.rates-block .section-head {
  text-align: center;
}

.rates-hero .section-head h1,
.rates-block .section-head h2 {
  margin-left: auto;
  margin-right: auto;
}

.rates-svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.rates-svc-cell {
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.rates-svc-cell {
  text-align: center;
}

.rates-svc-cell h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0.35rem 0 0.5rem;
}

.rates-svc-cell p:last-child {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Tarifarios */
.rates-hero {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.rates-pull {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.pkg-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.pkg-card {
  padding: 1.2rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(99, 58, 145, 0.1), transparent 50%),
    var(--surface);
}

.pkg-card.hi {
  border-color: rgba(154, 71, 46, 0.45);
  background:
    linear-gradient(145deg, rgba(154, 71, 46, 0.12), transparent 50%),
    rgba(99, 58, 145, 0.08);
}

.pkg-badge {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--brand-copper);
  color: var(--text);
  padding: 0.25rem 0.5rem;
  margin-bottom: 0.5rem;
}

.pkg-tier {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-copper-light);
  margin-bottom: 0.35rem;
}

.pkg-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.pkg-price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--brand-copper-light);
  margin-bottom: 0.15rem;
}

.pkg-unit {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.pkg-li {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
  padding-left: 0.75rem;
  position: relative;
}

.pkg-li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--brand-purple);
}

.rate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--surface);
  box-sizing: border-box;
}

.pkg-grid .rate-row {
  margin: 0;
  height: 100%;
  min-height: 5.75rem;
}

.pkg-grid .rate-row + .rate-row {
  margin-top: 0;
}

.rate-row.hi {
  border-color: rgba(99, 58, 145, 0.45);
}

.rate-row__body {
  flex: 1;
  min-width: 0;
}

.rate-row__price {
  flex-shrink: 0;
  text-align: right;
}

.rate-row__price .pkg-price {
  margin-bottom: 0.1rem;
}

.rate-row__price .pkg-unit {
  margin-bottom: 0;
}

.rates-note {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 0.75rem;
}

.rates-lead {
  max-width: 42rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 1rem;
}

.rates-process {
  max-width: 42rem;
  margin: 0 0 1rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--brand-copper-light);
  background: rgba(154, 71, 46, 0.06);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.7;
}

.rates-human {
  max-width: 42rem;
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
}

.cond-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 980px) {
  .pkg-grid {
    grid-template-columns: 1fr;
  }

  .cond-grid {
    grid-template-columns: 1fr;
  }
}
