:root{
  --bg: #07090d;
  --bg2:#0a0d13;
  --panel:#0f141c;
  --line: rgba(255,255,255,.12);

  --text:#f5f5f5;
  --muted: rgba(255,255,255,.72);

  --gold:#c9a227;
  --gold2:#b68e1f;

  --shadow: 0 20px 60px rgba(0,0,0,.55);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.92}

.container{
  width:min(1120px, calc(100% - 40px));
  margin:0 auto;
}

/* FLASH */
.flash{
  margin:18px 0;
  padding:12px 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  border-radius:10px;
}

/* HEADER */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(7,9,13,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.header-top{padding:10px 0}
.header-top-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  letter-spacing:.2px;
}
.brand-logo{
  width:34px;
  height:34px;
  object-fit:contain;
}
.brand-name{font-size:16px}

.header-phone{
  color: var(--muted);
  font-size:14px;
  margin-right:12px;
}
.lang-switch a{
  display:inline-block;
  padding:6px 8px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.10);
  margin-left:6px;
  font-size:13px;
  color: var(--muted);
}
.lang-switch a.active{
  border-color: rgba(201,162,39,.55);
  color: var(--text);
}

.header-nav{
  border-top:1px solid rgba(255,255,255,.08);
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
}

.nav-toggle{
  display:none;
  background:transparent;
  border:1px solid rgba(255,255,255,.18);
  color:var(--text);
  border-radius:10px;
  padding:8px 10px;
  cursor:pointer;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.nav-links a{
  color: rgba(255,255,255,.88); /* <-- CLAVE: visible */
  font-size:14px;
  padding:8px 10px;
  border-radius:10px;
}
.nav-links a:hover{
  background: rgba(255,255,255,.06);
}

.nav-pay{
  border:1px solid rgba(201,162,39,.45);
}
.nav-hello{
  color:rgba(255,255,255,.75);
  font-size:13px;
  padding:8px 10px;
}

/* MAIN */
.site-main{}

/* HERO (unificado, centrado, fondo uniforme) */
.hero-unified{
  position:relative;
  padding:64px 0 46px;
  overflow:hidden;
  background: linear-gradient(180deg, var(--bg), var(--bg2));
}

.hero-bg-unified{
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(900px 400px at 20% 20%, rgba(201,162,39,.25), transparent 60%),
    radial-gradient(900px 400px at 80% 0%, rgba(255,255,255,.06), transparent 60%);
  pointer-events:none;
}

.hero-content{position:relative}
.hero-center{
  text-align:center;
  max-width: 920px;
  margin:0 auto;
}

.hero-kicker{
  display:inline-block;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.85);
  font-size:13px;
  margin-bottom:14px;
}

.hero-title-center{
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight:700;
  letter-spacing:.3px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.06;
  margin: 0 0 10px;
  color: var(--gold);
}

.hero-sub-center{
  margin:0 auto 26px;
  color: var(--muted);
  font-size: 16px;
  max-width: 680px;
}

/* FOTO: sin bordes + translúcida + centrada debajo del título */
.hero-photo-wrap{
  position:relative;
  display:flex;
  justify-content:center;
  margin: 10px 0 18px;
  min-height: 240px;
}
.hero-photo-ghost{
  width:min(760px, 96%);
  height:auto;
  opacity: .18;        /* <-- translúcida */
  filter: saturate(1.05) contrast(1.05);
  border-radius: 0;    /* <-- sin bordes */
  box-shadow: none;    /* <-- sin borde/sombra */
  mix-blend-mode: normal;
}

/* Botones */
.hero-actions{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin: 12px 0 22px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  border:1px solid transparent;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:active{transform: translateY(1px)}

.btn-gold{
  background: linear-gradient(180deg, var(--gold), var(--gold2));
  color:#111;
  font-weight:700;
}
.btn-ghost{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  color: var(--text);
}
.btn-outline{
  background: transparent;
  border-color: rgba(201,162,39,.45);
  color: var(--text);
}

/* métricas */
.hero-metrics{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  margin: 16px 0 14px;
}
.metric{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 12px 14px;
  min-width: 170px;
}
.metric-big{
  font-weight:800;
  font-size: 18px;
}
.metric-small{
  color: rgba(255,255,255,.72);
  font-size: 13px;
  margin-top: 4px;
}

/* contacto */
.hero-contact-row{
  display:flex;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
  color: rgba(255,255,255,.75);
  font-size: 13px;
  margin-top: 14px;
}
.hero-contact-row span{color: rgba(255,255,255,.92)}
.hero-contact-row a{color: rgba(255,255,255,.92); text-decoration: underline}

/* secciones */
.section-dark{
  padding: 44px 0;
  background: linear-gradient(180deg, var(--bg2), var(--bg));
  border-top: 1px solid rgba(255,255,255,.06);
}

.cards-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
}
.service-card h3{
  margin:0 0 8px;
  font-size: 18px;
}
.service-card p{
  margin:0 0 12px;
  color: rgba(255,255,255,.72);
  line-height: 1.45;
}
.service-card a{
  color: var(--gold);
  text-decoration: underline;
}

/* Case review */
.case-wrap{max-width:720px}
.page-title{
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", Times, serif;
  color: var(--gold);
  font-size: 36px;
}
.page-sub{margin:0 0 18px; color: var(--muted)}
.case-form{
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 18px;
}
.case-form label{
  display:block;
  margin: 10px 0 6px;
  color: rgba(255,255,255,.85);
  font-size: 13px;
}
.case-form input, .case-form textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  color: var(--text);
  outline:none;
}
.case-form input:focus, .case-form textarea:focus{
  border-color: rgba(201,162,39,.55);
}

/* FOOTER */
.site-footer{
  border-top:1px solid rgba(255,255,255,.06);
  padding: 18px 0;
  background: var(--bg);
}
.footer-inner{
  display:flex;
  justify-content:center;
  color: rgba(255,255,255,.65);
  font-size: 13px;
  text-align:center;
}

/* Responsive */
@media (max-width: 980px){
  .cards-3{grid-template-columns: 1fr}
}
@media (max-width: 860px){
  .nav-toggle{display:inline-flex}
  .nav-links{
    display:none;
    width:100%;
    padding-top:10px;
  }
  body.nav-open .nav-links{display:flex}
  .nav-inner{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }
}