:root{
  --bg:#0b0d10;
  --bg2:#0f1319;
  --card:#121826;
  --text:#e9edf3;
  --muted:#b9c3d1;
  --line:rgba(255,255,255,.10);
  --gold:rgba(224,196,140,.95);
  --shadow: 0 14px 40px rgba(0,0,0,.35);
  --radius: 18px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  color:var(--text);
  background:linear-gradient(180deg,var(--bg), #07090c 55%, var(--bg));
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.container{
  width:min(1120px, calc(100% - 40px));
  margin:0 auto;
}

a{ color:inherit; text-decoration:none; }
a:hover{ opacity:.92; }

.topbar{
  position:sticky;
  top:0;
  z-index:100;
  backdrop-filter: blur(10px);
  background:rgba(11,13,16,.70);
  border-bottom:1px solid var(--line);
}

.topbar__inner{
  display:flex;
  align-items:center;
  gap:16px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:500;
  letter-spacing:.2px;
}
.brand__mark{
  width:38px; height:38px;
  border-radius:12px;
  display:grid; place-items:center;
  border:1px solid rgba(224,196,140,.35);
  box-shadow: 0 0 0 6px rgba(224,196,140,.06);
  color:var(--gold);
  font-family:Fraunces, serif;
}
.brand__mark--small{
  width:30px; height:30px;
  border-radius:10px;
  box-shadow:none;
}
.brand__text{
  font-family:Fraunces, serif;
  font-size:18px;
}

.nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:16px;
  font-size:14px;
  color:var(--muted);
}
.nav a{ padding:10px 10px; border-radius:12px; }
.nav a:hover{ background:rgba(255,255,255,.05); color:var(--text); }

.pill{
  border:1px solid rgba(224,196,140,.25);
  color:var(--text) !important;
}

.lang{
  display:flex;
  gap:8px;
  margin-left:8px;
}
.lang__btn{
  background:transparent;
  border:1px solid var(--line);
  color:var(--muted);
  border-radius:999px;
  padding:8px 10px;
  font-size:12px;
  cursor:pointer;
}
.lang__btn.is-active{
  border-color: rgba(224,196,140,.35);
  color:var(--text);
}

.burger{
  display:none;
  margin-left:6px;
  background:transparent;
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px;
  cursor:pointer;
}
.burger span{
  display:block;
  width:18px;
  height:2px;
  background:var(--muted);
  margin:4px 0;
}

.mobile{
  border-top:1px solid var(--line);
  padding:10px 0 14px;
}
.mobile a{
  display:block;
  padding:12px 0;
  color:var(--muted);
}
.mobile a:hover{ color:var(--text); }

.hero{
  position:relative;
  min-height:92vh;
  display:grid;
  align-items:center;
  overflow:hidden;
  border-bottom:1px solid var(--line);
}
.hero__bg{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;

  background:
    radial-gradient(900px 520px at 20% 30%, rgba(224,196,140,.10), transparent 60%),
    radial-gradient(900px 520px at 80% 60%, rgba(90,130,200,.10), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 30%),
    url("imagenes/Panoramica santiago.jpg");

  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;

  filter:saturate(.88) contrast(.96) brightness(.88);
  transform:scale(1.03);
}

.hero__bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    90deg,
    rgba(11,13,16,.90),
    rgba(11,13,16,.58),
    rgba(11,13,16,.86)
  );
}

.hero__inner{
  position:relative;
  z-index:2;
  padding:92px 0 88px;
  max-width:860px;
}

.eyebrow{
  color:rgba(233,237,243,.82);
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  margin:0 0 16px;
}

.title{
  font-family:Fraunces, serif;
  font-size: clamp(38px, 5vw, 64px);
  line-height:1.02;
  letter-spacing:-0.02em;
  margin:0 0 18px;
  max-width:780px;
}

.subtitle{
  color:var(--muted);
  font-size:17px;
  line-height:1.8;
  margin:0 0 30px;
  max-width:700px;
}

.cta{ display:flex; gap:12px; flex-wrap:wrap; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--line);
  font-size:14px;
}
.btn--primary{
  background:linear-gradient(180deg, rgba(224,196,140,.18), rgba(224,196,140,.10));
  border-color: rgba(224,196,140,.30);
  box-shadow: 0 12px 26px rgba(0,0,0,.22);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:13px 18px;
  border-radius:14px;
  border:1px solid var(--line);
  font-size:14px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.btn:hover{
  transform: translateY(-2px);
}
.btn--ghost{
  background:rgba(255,255,255,.05);
}
.btn--full{ width:100%; }

.trust{
  display:flex;
  gap:16px;
  margin-top:24px;
  color:rgba(233,237,243,.82);
  font-size:13px;
  flex-wrap:wrap;
}
.trust__item{ display:flex; align-items:center; gap:10px; }
.dot{
  width:8px; height:8px;
  border-radius:50%;
  background:rgba(224,196,140,.75);
  box-shadow:0 0 0 6px rgba(224,196,140,.08);
}

.section{ padding:72px 0; }
.section--dark{
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.00));
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section--contact{
  border-top:1px solid var(--line);
}

.section__head{ margin-bottom:26px; }
.section__head h2{
  font-family:Fraunces, serif;
  margin:0 0 10px;
  font-size:32px;
}
.muted{ color:var(--muted); line-height:1.7; margin:0; }

.grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:14px;
}
.card{
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius);
  padding:22px 20px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.card:hover{
  transform: translateY(-4px);
  border-color: rgba(224,196,140,.22);
  background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.04));
}
.card h3{
  margin:0 0 10px;
  font-size:17px;
}

.card p{
  margin:0;
  color:var(--muted);
  line-height:1.75;
  font-size:14px;
}

.split{
  margin-top:20px;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:start;
}
.list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}
.check{
  display:inline-grid;
  place-items:center;
  width:22px; height:22px;
  border-radius:8px;
  background:rgba(224,196,140,.10);
  border:1px solid rgba(224,196,140,.25);
  margin-right:10px;
  color:var(--gold);
}

.steps{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:14px;
}
.step{
  background:rgba(255,255,255,.03);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
}
.step__num{
  color:rgba(224,196,140,.9);
  font-weight:500;
  letter-spacing:.12em;
  font-size:12px;
  margin-bottom:10px;
}
.step h3{ margin:0 0 8px; font-size:15px; }
.step p{ margin:0; color:var(--muted); line-height:1.7; font-size:14px; }

.about{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:start;
}
.badge-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }
.badge{
  border:1px solid var(--line);
  color:rgba(233,237,243,.85);
  border-radius:999px;
  padding:8px 10px;
  font-size:12px;
  background:rgba(255,255,255,.04);
}

.about__photos{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:14px;
  margin-top:22px;
}

.profile-card{
  position:relative;
  margin:0;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  overflow:hidden;
  box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s ease;
}

.profile-card:hover{
  transform: translateY(-4px);
  border-color: rgba(224,196,140,.22);
}

.profile-card img{
  width:100%;
  height:340px;
  object-fit:cover;
  object-position:center top;
  display:block;
  filter:saturate(.88) contrast(1.04) brightness(.96);
}

.profile-overlay{
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:72px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:rgba(0,0,0,.92);
  opacity:0;
  visibility:hidden;
  z-index:2;
  transition: opacity .22s ease, visibility .22s ease;
  pointer-events:none;
  text-align:center;
}

.profile-card:hover .profile-overlay{
  opacity:1;
  visibility:visible;
}

.profile-overlay__text{
  margin:0;
  color:#f3f5f8;
  font-size:14px;
  line-height:1.7;
  max-width:90%;
}

.profile-card figcaption{
  position:relative;
  z-index:3;
  padding:16px 16px 18px;
  display:flex;
  flex-direction:column;
  gap:5px;
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00));
}

.profile-card strong{
  font-size:15px;
  font-weight:600;
  color:var(--text);
}

.profile-card span{
  font-size:13px;
  color:var(--muted);
}

@media (max-width: 700px){
  .about__photos{
    grid-template-columns: 1fr;
  }

  .profile-card img{
    height:280px;
  }

  .profile-overlay{
    display:none;
  }
}

.panel{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(224,196,140,.20);
  border-radius:var(--radius);
  padding:20px;
  box-shadow: var(--shadow);
}
.panel__title{
  margin:0 0 10px;
  font-family:Fraunces, serif;
  font-size:18px;
}
.panel__text{ margin:0; color:var(--muted); line-height:1.7; }
.panel__line{ height:1px; background:rgba(255,255,255,.10); margin:16px 0; }
.panel__small{ margin:0; color:rgba(185,195,209,.85); font-size:12px; line-height:1.6; }

.contact{
  display:grid;
  grid-template-columns: 1.0fr 1.0fr;
  gap:18px;
  align-items:start;
}
.contact__meta{
  margin-top:18px;
  display:grid;
  gap:12px;
}
.meta{
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:14px 14px;
}
.meta__label{ display:block; font-size:12px; color:rgba(185,195,209,.90); margin-bottom:6px; }
.meta__value{ color:rgba(233,237,243,.92); font-size:14px; }

.form{
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
.field{ display:block; margin-bottom:12px; }
.field span{
  display:block;
  font-size:12px;
  color:rgba(185,195,209,.90);
  margin-bottom:6px;
}
input, select, textarea{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(10,12,15,.6);
  color:var(--text);
  padding:12px 12px;
  outline:none;
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(224,196,140,.35);
  box-shadow: 0 0 0 6px rgba(224,196,140,.08);
}
.fineprint{
  margin:12px 0 0;
  color:rgba(185,195,209,.85);
  font-size:12px;
  line-height:1.6;
}

.footer{
  border-top:1px solid var(--line);
  padding:18px 0;
  background:rgba(255,255,255,.02);
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.footer__name{ color:rgba(233,237,243,.92); font-size:14px; }
.footer__right a{ color:rgba(185,195,209,.92); font-size:13px; }
.footer__right a:hover{ color:var(--text); }

/* Responsive */
@media (max-width: 900px){
  .grid{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr 1fr; }
  .about{ grid-template-columns: 1fr; }
  .contact{ grid-template-columns: 1fr; }
  .nav{ display:none; }
  .burger{ display:inline-block; margin-left:auto; }
  .lang{ margin-left:0; }
}

@media (max-width: 520px){
  .steps{ grid-template-columns: 1fr; }
}

.hero-gallery{
  padding:28px 0 8px;
}

.hero-gallery__grid{
  display:grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap:14px;
}

.hero-gallery__item{
  margin:0;
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}

.hero-gallery__item img{
  width:100%;
  height:240px;
  object-fit:cover;
  display:block;
  filter:saturate(.90) contrast(1.02) brightness(.96);
  transition: transform .35s ease;
}

.hero-gallery__item:hover img{
  transform:scale(1.03);
}

.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.94);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:999;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
}

.lightbox.active{
  opacity:1;
  pointer-events:auto;
}

.lightbox-img{
  max-width:min(92vw, 1400px);
  max-height:86vh;
  border-radius:10px;
  box-shadow:0 20px 60px rgba(0,0,0,.6);
  object-fit:contain;
}

.lightbox-close{
  position:absolute;
  top:24px;
  right:28px;
  width:48px;
  height:48px;
  border:none;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  color:white;
  font-size:32px;
  line-height:1;
  cursor:pointer;
  display:grid;
  place-items:center;
  transition:background .2s ease, transform .2s ease;
}

.lightbox-close:hover{
  background:rgba(255,255,255,.16);
  transform:scale(1.04);
}

.lightbox-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:54px;
  height:54px;
  border:none;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  color:white;
  font-size:28px;
  cursor:pointer;
  display:grid;
  place-items:center;
  transition:background .2s ease, transform .2s ease;
}

.lightbox-nav:hover{
  background:rgba(255,255,255,.16);
  transform:translateY(-50%) scale(1.04);
}

.lightbox-nav--prev{
  left:24px;
}

.lightbox-nav--next{
  right:24px;
}

.hero-gallery__item img{
  cursor:pointer;
}

@media (max-width: 700px){
  .lightbox-close{
    top:16px;
    right:16px;
    width:44px;
    height:44px;
    font-size:28px;
  }

  .lightbox-nav{
    width:46px;
    height:46px;
    font-size:24px;
  }

  .lightbox-nav--prev{
    left:12px;
  }

  .lightbox-nav--next{
    right:12px;
  }
}

@media (max-width: 900px){
  .hero-gallery__grid{
    grid-template-columns:1fr;
  }

  .hero-gallery__item img{
    height:220px;
  }
}