:root {
  --black: #080808;
  --black-soft: #111111;
  --charcoal: #181818;
  --gold: #d8b86f;
  --gold-light: #f0d69a;
  --gold-deep: #a98442;
  --cream: #f5f0e6;
  --paper: #fbf8f1;
  --ink: #1d1913;
  --muted: #746d62;
  --line: rgba(216, 184, 111, .28);
  --radius: 22px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  background: rgba(8, 8, 8, .88);
  border-bottom: 1px solid rgba(216, 184, 111, .15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background .25s ease, box-shadow .25s ease;
}
.header.scrolled { background: rgba(8, 8, 8, .97); box-shadow: 0 12px 34px rgba(0,0,0,.22); }
.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: 205px 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: 185px; max-height: 58px; object-fit: contain; object-position: left center; }
.menu { display: flex; justify-content: center; gap: 28px; }
.menu a {
  position: relative;
  padding: 12px 0;
  color: #eee4d4;
  font-size: .86rem;
  letter-spacing: .04em;
}
.menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 4px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .2s ease;
}
.menu a:hover::after, .menu a:focus-visible::after { width: 100%; }
.menu-button { display: none; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: #15110b;
  font-weight: 800;
  font-size: .91rem;
  box-shadow: 0 14px 34px rgba(168,132,66,.18);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 18px 40px rgba(168,132,66,.26); }
.button-small { min-height: 42px; padding: 0 18px; font-size: .82rem; }
.button-ghost { background: transparent; color: var(--gold-light); box-shadow: none; }

.hero {
  position: relative;
  min-height: 800px;
  display: grid;
  align-items: center;
  padding: 145px 0 90px;
  color: #f5edde;
  background:
    radial-gradient(circle at 82% 26%, rgba(216,184,111,.15), transparent 28%),
    radial-gradient(circle at 18% 78%, rgba(216,184,111,.08), transparent 25%),
    linear-gradient(135deg, #050505 0%, #111111 48%, #080808 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  right: -170px; top: 145px;
  border: 1px solid rgba(216,184,111,.11);
  border-radius: 50%;
  box-shadow: 0 0 0 75px rgba(216,184,111,.025), 0 0 0 150px rgba(216,184,111,.018);
}
.hero-lines {
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image: linear-gradient(rgba(216,184,111,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(216,184,111,.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to right, rgba(0,0,0,.7), transparent 75%);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.7), transparent 75%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr .92fr; align-items: center; gap: 70px; }
.eyebrow, .section-label {
  margin: 0;
  color: var(--gold-deep);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .22em;
}
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--gold); }
.eyebrow::before { content: ""; width: 42px; height: 1px; background: currentColor; }
.hero h1 {
  max-width: 680px;
  margin: 18px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(3.35rem, 6.2vw, 6.6rem);
  line-height: .94;
  letter-spacing: -.04em;
}
.hero h1 span { color: var(--gold-light); }
.hero-area { margin: 0 0 30px; color: #cfc5b6; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-services { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.hero-services span { padding: 9px 12px; border: 1px solid rgba(216,184,111,.23); color: #d5c9b6; font-size: .75rem; text-transform: uppercase; letter-spacing: .11em; }

.logo-stage {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 44px;
  border: 1px solid rgba(216,184,111,.32);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.012));
  box-shadow: 0 38px 100px rgba(0,0,0,.42);
  overflow: hidden;
}
.logo-stage::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(216,184,111,.09); border-radius: 22px; }
.logo-stage img { position: relative; z-index: 2; width: 100%; filter: drop-shadow(0 16px 30px rgba(0,0,0,.48)); }
.logo-glow { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(216,184,111,.11); filter: blur(70px); }

.intro-strip { position: relative; z-index: 4; margin-top: -34px; }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 34px 38px;
  border: 1px solid #e3d8c5;
  border-radius: var(--radius);
  background: rgba(251,248,241,.97);
  box-shadow: var(--shadow);
}
.intro-grid h2 { margin: 8px 0 0; font-family: Georgia, serif; font-weight: 400; font-size: clamp(1.8rem,3vw,2.7rem); }
.intro-phone { display: grid; gap: 6px; margin: 0; text-align: right; }
.intro-phone span { color: var(--muted); font-size: .83rem; }
.intro-phone a { color: var(--gold-deep); font-size: 1.28rem; font-weight: 900; }

.section { padding: 108px 0; }
.section-heading { max-width: 720px; margin-bottom: 46px; }
.section-heading h2, .realestate-title h2, .overview-card h2, .contact-main h2 {
  margin: 11px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.03em;
}
.section-heading h2 { font-size: clamp(2.7rem, 5vw, 4.8rem); }
.legal-section { background: linear-gradient(180deg, #fbf8f1 0%, #f3ede1 100%); }
.legal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border: 1px solid #ded2bf;
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: 0 18px 55px rgba(0,0,0,.07);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-light), transparent); }
.service-card:hover { transform: translateY(-7px); border-color: #cfb47d; box-shadow: 0 26px 62px rgba(0,0,0,.10); }
.service-index { position: absolute; top: 22px; right: 22px; color: #b8aa96; font-size: .72rem; letter-spacing: .12em; }
.service-symbol { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 66px; border: 1px solid #d9c28e; border-radius: 50%; color: var(--gold-deep); font-family: Georgia, serif; font-size: 1.45rem; }
.service-card h3 { margin: 0; font-family: Georgia, serif; font-size: 2rem; font-weight: 400; }

.realestate-section { position: relative; color: #f3e9d8; background: #0b0b0b; overflow: hidden; }
.realestate-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 5% 20%, rgba(216,184,111,.11), transparent 30%), linear-gradient(135deg, transparent 0 55%, rgba(216,184,111,.025) 55% 56%, transparent 56%); }
.realestate-grid { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; align-items: start; }
.section-label-light { color: var(--gold); }
.realestate-title { position: sticky; top: 120px; }
.realestate-title h2 { max-width: 520px; font-size: clamp(3rem, 5.5vw, 5.6rem); line-height: .98; }
.gold-rule { width: 85px; height: 2px; margin: 28px 0; background: linear-gradient(90deg, var(--gold), transparent); }
.realestate-title img { width: min(390px, 100%); opacity: .9; }
.realestate-list { border-top: 1px solid var(--line); }
.estate-row { min-height: 132px; display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.estate-row span { color: var(--gold); font-size: .72rem; letter-spacing: .13em; }
.estate-row h3 { margin: 0; font-family: Georgia, serif; font-weight: 400; font-size: clamp(1.75rem, 3vw, 2.8rem); line-height: 1.1; }

.overview-section { background: #eee6d8; }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.overview-card { min-height: 480px; padding: 46px; border-radius: 28px; box-shadow: var(--shadow); }
.overview-card h2 { margin-top: 24px; font-size: clamp(2.2rem,4vw,4.1rem); line-height: 1.28; }
.dark-card { color: #f3e9d8; background: linear-gradient(145deg, #0c0c0c, #1b1b1b); border: 1px solid rgba(216,184,111,.28); }
.light-card { background: #fffdf8; border: 1px solid #ddcfb8; }
.light-card h2 { font-size: clamp(1.75rem,3.1vw,3.15rem); }

.contact-section { padding: 0 0 104px; background: linear-gradient(to bottom, #eee6d8 0 50%, #080808 50% 100%); }
.contact-panel {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 42px;
  padding: 42px;
  border: 1px solid rgba(216,184,111,.34);
  border-radius: 28px;
  color: #f3e9d8;
  background: linear-gradient(135deg, #111, #1d1d1d);
  box-shadow: 0 35px 80px rgba(0,0,0,.30);
}
.contact-logo { padding: 14px; border: 1px solid rgba(216,184,111,.15); border-radius: 18px; background: #090909; }
.contact-main h2 { max-width: 650px; margin-top: 9px; font-size: clamp(2rem,4vw,3.8rem); line-height: 1.02; }
.contact-main p:not(.section-label) { margin: 10px 0 0; color: #c5bbad; }
.contact-action { display: grid; justify-items: end; gap: 14px; }
.phone-link { color: var(--gold-light); font-size: 1.28rem; font-weight: 900; }

.footer { padding: 34px 0 42px; color: #beb4a5; background: #080808; border-top: 1px solid rgba(216,184,111,.12); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.footer-inner strong { display: block; color: #eee2d0; font-family: Georgia, serif; font-size: 1rem; font-weight: 400; }
.footer-inner span { display: block; margin-top: 6px; font-size: .75rem; letter-spacing: .08em; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; font-size: .8rem; }
.footer nav a:hover { color: var(--gold-light); }
.mobile-call { display: none; }

/* El contenido siempre es visible. Las animaciones son progresivas y no dependen de JavaScript. */
.fade-up { animation: fadeUp .7s ease both; }
.delay-one { animation-delay: .08s; }
.delay-two { animation-delay: .16s; }
.delay-three { animation-delay: .24s; }
@keyframes fadeUp { from { opacity: .25; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; }
}

@media (max-width: 1000px) {
  .header-inner { grid-template-columns: 175px 1fr auto; gap: 18px; }
  .brand img { width: 165px; }
  .menu { gap: 17px; }
  .menu a { font-size: .78rem; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 780px; }
  .logo-stage { max-width: 760px; min-height: 360px; }
  .legal-grid { grid-template-columns: repeat(2, 1fr); }
  .realestate-grid { grid-template-columns: 1fr; gap: 50px; }
  .realestate-title { position: static; }
  .realestate-title img { max-width: 420px; }
  .contact-panel { grid-template-columns: 180px 1fr; }
  .contact-action { grid-column: 2; justify-items: start; grid-template-columns: auto auto; align-items: center; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 70px; grid-template-columns: 1fr auto; }
  .brand img { width: 150px; max-height: 48px; }
  .header-call { display: none; }
  .menu-button {
    width: 44px; height: 44px;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 1px solid rgba(216,184,111,.28);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }
  .menu-button span { display: block; width: 19px; height: 1px; background: var(--gold-light); transition: transform .2s ease, opacity .2s ease; }
  .menu-button.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button.active span:nth-child(2) { opacity: 0; }
  .menu-button.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .menu {
    position: absolute;
    top: 70px; left: 0; right: 0;
    display: grid;
    gap: 0;
    padding: 9px 20px 15px;
    background: rgba(8,8,8,.985);
    border-top: 1px solid rgba(216,184,111,.1);
    border-bottom: 1px solid rgba(216,184,111,.16);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .menu a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .hero { padding: 118px 0 82px; }
  .hero h1 { font-size: clamp(3.15rem, 14vw, 4.6rem); }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .logo-stage { min-height: 260px; padding: 25px; border-radius: 22px; }
  .intro-strip { margin-top: -26px; }
  .intro-grid { grid-template-columns: 1fr; padding: 28px; }
  .intro-phone { text-align: left; }
  .section { padding: 78px 0; }
  .legal-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 240px; }
  .service-symbol { margin-bottom: 48px; }
  .estate-row { min-height: 110px; grid-template-columns: 44px 1fr; }
  .overview-grid { grid-template-columns: 1fr; }
  .overview-card { min-height: 390px; padding: 32px; }
  .contact-section { padding-bottom: 80px; }
  .contact-panel { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .contact-logo { max-width: 260px; }
  .contact-action { grid-column: auto; grid-template-columns: 1fr; justify-items: start; width: 100%; }
  .contact-action .button { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer nav { justify-content: flex-start; }
  .mobile-call {
    position: fixed;
    z-index: 900;
    right: 16px; bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid var(--gold);
    border-radius: 999px;
    color: #15110b;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
    box-shadow: 0 16px 40px rgba(0,0,0,.35);
    font-weight: 900;
  }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 2.82rem; }
  .hero-services span { font-size: .68rem; }
  .section-heading h2 { font-size: 2.45rem; }
  .realestate-title h2 { font-size: 3rem; }
  .overview-card h2 { font-size: 2.05rem; }
  .light-card h2 { font-size: 1.68rem; }
}
