:root {
  --bg: #120d0a;
  --bg-soft: #1c1510;
  --surface: rgba(34, 24, 18, 0.72);
  --surface-strong: rgba(43, 31, 23, 0.94);
  --surface-soft: rgba(255, 248, 238, 0.08);
  --text: #f3eadf;
  --muted: #c8b8a7;
  --line: rgba(216, 187, 145, 0.18);
  --gold: #c8a061;
  --gold-bright: #e7c990;
  --gold-deep: #a97933;
  --forest: #20342d;
  --forest-soft: #2b443b;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(200, 160, 97, 0.22), transparent 24%),
    radial-gradient(circle at 82% 22%, rgba(97, 65, 35, 0.18), transparent 18%),
    linear-gradient(180deg, #080605 0%, #16100c 30%, #110c09 100%);
  letter-spacing: 0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(231, 201, 144, 0.04), transparent 28%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.2));
  z-index: -1;
}

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

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 56px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 18px;
}

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

.brand-mark {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  padding: 0;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

.lang-toggle {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 248, 238, 0.04);
  backdrop-filter: blur(12px);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 999px;
  cursor: pointer;
  transition: 180ms ease;
}

.lang-btn.active {
  background: linear-gradient(135deg, #2f2218, #1a130f);
  color: var(--gold-bright);
  box-shadow: inset 0 0 0 1px rgba(231, 201, 144, 0.16);
}

.header-call,
.button,
.contact-card {
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.header-call {
  padding: 13px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(41, 29, 22, 0.95), rgba(24, 17, 13, 0.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--gold-bright);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.header-call:hover,
.button:hover,
.contact-card:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding: 42px 0 36px;
}

.hero-copy {
  position: relative;
}

.hero-copy::after {
  content: "MN";
  position: absolute;
  top: -32px;
  left: -10px;
  font-family: "Fraunces", serif;
  font-size: clamp(6rem, 10vw, 8rem);
  color: rgba(231, 201, 144, 0.05);
  letter-spacing: -0.08em;
  pointer-events: none;
  z-index: -1;
}

.hero-rule {
  width: 120px;
  height: 1px;
  margin: 0 0 24px;
  background: linear-gradient(90deg, var(--gold-bright), transparent);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(3.5rem, 7vw, 6.8rem);
  max-width: 12ch;
  text-wrap: balance;
}

.hero-text {
  margin: 28px 0 0;
  max-width: 54ch;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--muted);
}

.hero-signature {
  margin: 22px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  color: var(--gold-bright);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.83rem;
}

.button-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1a120d;
  box-shadow: 0 18px 34px rgba(169, 121, 51, 0.28);
}

.button-secondary {
  background: rgba(255, 248, 238, 0.04);
  border: 1px solid var(--line);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-highlights li {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 248, 238, 0.04);
  border: 1px solid rgba(216, 187, 145, 0.14);
  font-weight: 700;
  color: #efe1d0;
  backdrop-filter: blur(10px);
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto -24px -24px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(187, 138, 59, 0.34), transparent 72%);
  filter: blur(6px);
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.hero-card img {
  aspect-ratio: 0.95 / 1;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
}

.hero-card-content {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(21, 16, 13, 0.68), rgba(10, 8, 6, 0.84));
  backdrop-filter: blur(14px);
  color: #f8f0e6;
  border: 1px solid rgba(231, 201, 144, 0.12);
}

.hero-card-content span {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--gold-bright);
}

.hero-card-content strong {
  font-family: "Fraunces", serif;
  font-size: 1.12rem;
  line-height: 1.35;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 30px 0 12px;
}

.service-strip-item {
  padding: 20px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(35, 25, 18, 0.92), rgba(24, 17, 13, 0.9));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-strip-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(231, 201, 144, 0.35), transparent);
}

.strip-label {
  font-family: "Fraunces", serif;
  font-weight: 600;
  color: var(--gold-bright);
  font-size: 1.08rem;
}

.section {
  padding: 92px 0 0;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading.narrow {
  max-width: 760px;
}

.section-heading h2 {
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  max-width: 13ch;
  text-wrap: balance;
}

.service-grid,
.benefit-grid,
.steps-grid {
  display: grid;
  gap: 20px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.benefit-grid {
  grid-template-columns: repeat(3, 1fr);
}

.steps-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-visual {
  margin-top: 34px;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.feature-visual img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: center;
}

.card,
.benefit,
.contact-panel,
.step-card,
.not-found {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card {
  padding: 32px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
}

.card::before,
.benefit::before,
.step-card::before,
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(231, 201, 144, 0.22), rgba(231, 201, 144, 0.02), rgba(255, 255, 255, 0.04));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.card h3 {
  margin: 0 0 14px;
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
  font-weight: 600;
}

.card p,
.benefit p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-accent {
  position: relative;
}

.section-accent::after {
  content: "";
  position: absolute;
  top: 28px;
  right: 0;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 160, 97, 0.1), transparent 70%);
  z-index: -1;
}

.benefit {
  padding: 28px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.benefit strong {
  display: block;
  margin-bottom: 12px;
  font-family: "Fraunces", serif;
  font-size: 1.16rem;
  color: var(--gold-bright);
}

.step-card {
  padding: 30px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(231, 201, 144, 0.18), rgba(122, 84, 39, 0.12));
  color: var(--gold-bright);
  font-weight: 800;
  letter-spacing: 0.08em;
  border: 1px solid rgba(231, 201, 144, 0.14);
}

.step-card h3 {
  margin: 0 0 12px;
  font-family: "Fraunces", serif;
  font-size: 1.32rem;
  font-weight: 600;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-section {
  padding-bottom: 28px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
  padding: 34px;
  border-radius: 34px;
  position: relative;
  overflow: hidden;
}

.contact-card-list {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: grid;
  gap: 6px;
  padding: 22px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 248, 238, 0.06), rgba(255, 248, 238, 0.03));
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.contact-card span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--gold-bright);
  font-weight: 800;
}

.contact-card strong {
  font-family: "Fraunces", serif;
  font-size: 1.14rem;
  word-break: break-word;
  font-weight: 500;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 0 8px;
  color: var(--muted);
  border-top: 1px solid rgba(216, 187, 145, 0.12);
  margin-top: 42px;
}

.site-footer strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-family: "Fraunces", serif;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-links a {
  font-weight: 700;
  color: var(--gold-bright);
}

.not-found {
  margin-top: 56px;
  padding: 36px;
  border-radius: 32px;
}

.not-found h1 {
  margin: 0 0 16px;
  font-family: "Fraunces", serif;
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  line-height: 0.95;
}

.not-found p {
  max-width: 52ch;
  color: var(--muted);
  line-height: 1.7;
}

[data-lang] {
  display: none;
}

body.lang-en [data-lang="en"],
body.lang-es [data-lang="es"] {
  display: revert;
}

@media (max-width: 980px) {
  .hero,
  .contact-panel,
  .service-grid,
  .benefit-grid,
  .service-strip,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .section-heading h2 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
  }

  .site-header {
    flex-direction: column;
    align-items: stretch;
  }

  .brand {
    justify-content: center;
  }

  .hero-copy::after {
    left: 0;
    top: -20px;
  }

  .header-actions {
    justify-content: space-between;
  }

  .header-call {
    padding-inline: 16px;
    text-align: center;
  }

  .hero {
    gap: 26px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 13vw, 4.2rem);
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .card,
  .benefit,
  .contact-panel,
  .step-card,
  .not-found {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-card,
  .service-strip-item,
  .card,
  .benefit,
  .contact-panel,
  .step-card,
  .site-footer,
  .feature-visual {
    opacity: 0;
    transform: translateY(20px);
    animation: rise 700ms ease forwards;
  }

  .hero-card {
    animation-delay: 120ms;
  }

  .service-strip-item:nth-child(1) {
    animation-delay: 160ms;
  }

  .service-strip-item:nth-child(2) {
    animation-delay: 220ms;
  }

  .service-strip-item:nth-child(3) {
    animation-delay: 280ms;
  }

  .card:nth-child(1),
  .benefit:nth-child(1) {
    animation-delay: 120ms;
  }

  .card:nth-child(2),
  .benefit:nth-child(2) {
    animation-delay: 180ms;
  }

  .card:nth-child(3),
  .benefit:nth-child(3),
  .step-card:nth-child(3) {
    animation-delay: 240ms;
  }

  .step-card:nth-child(1) {
    animation-delay: 120ms;
  }

  .step-card:nth-child(2) {
    animation-delay: 180ms;
  }

  .site-footer {
    animation-delay: 260ms;
  }

  .feature-visual {
    animation-delay: 260ms;
  }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
