/* 1. Variables y estilos generales */
:root {
  --gold: #d7a950;
  --light: #ffe3a0;
  --bg: #090909;
  --muted: #b9b6b0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: #fff; font-family: Montserrat, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: min(1160px, 90%); margin: auto; }
.gold { color: var(--gold); }
.eyebrow { color: var(--gold); font-size: .75rem; letter-spacing: .32em; text-transform: uppercase; font-weight: 700; }

/* 2. Cabecera y navegación */
header { position: sticky; top: 0; z-index: 10; background: #090909ed; border-bottom: 1px solid #cda14d33; backdrop-filter: blur(15px); }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 1.12rem; letter-spacing: .11em; font-weight: 900; }
.brand small { display: block; font-size: .51rem; letter-spacing: .28em; color: var(--gold); margin-top: 3px; }
.mark { font-size: 2.3rem; line-height: 1; font-weight: 900; color: var(--gold); font-style: italic; }
.links { display: flex; gap: 26px; align-items: center; font-size: .78rem; font-weight: 600; }
.links a:hover { color: var(--gold); }
.menu { display: none; background: none; border: 1px solid #b88c42; color: #fff; padding: 9px 12px; cursor: pointer; }

/* 3. Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 23px; border: 1px solid var(--gold); font-size: .8rem; font-weight: 800; letter-spacing: .04em; transition: .25s; cursor: pointer; }
.btn.primary { background: linear-gradient(110deg, #a77529, #f8d88d, #b88632); color: #100d07; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 30px #d7a95033; }

/* 4. Portada */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 20% 35%, #342713 0%, transparent 38%), linear-gradient(115deg, #151515, #050505 65%); border-bottom: 1px solid #b88c4255; }
.hero::before, .hero::after { content: ""; position: absolute; width: 300px; height: 300px; border: 2px solid #cda14d55; transform: rotate(45deg); pointer-events: none; }
.hero::before { top: -245px; left: -130px; }
.hero::after { bottom: -280px; right: -110px; }
.hero-grid { min-height: 620px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 70px; padding: 85px 0; }
.hero h1 { font-size: clamp(3rem, 7vw, 6.2rem); letter-spacing: -.065em; line-height: 1.05; margin: 18px 0; }
.hero h1 span { background: linear-gradient(120deg, #b47a25, #ffe8ac, #a56b20); background-clip: text; color: transparent; }
.hero p { color: #d6d2cb; line-height: 1.9; max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-panel { border-left: 1px solid var(--gold); padding: 20px 0 20px 35px; }
.hero-panel h2 { font-size: clamp(1.5rem, 2.5vw, 2.4rem); line-height: 1.3; }
.hero-panel ul { padding: 0; list-style: none; }
.hero-panel li { display: flex; gap: 16px; align-items: center; margin: 22px 0; color: #eee; }
.circle { border: 1px solid var(--gold); color: var(--gold); width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; font-size: 1.35rem; flex-shrink: 0; }

/* 5. Secciones y servicios */
.section { padding: 95px 0; scroll-margin-top: 78px; }
.section h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 12px 0 18px; }
.lead { max-width: 700px; color: var(--muted); line-height: 1.8; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.service { padding: 32px; background: linear-gradient(140deg, #1a1a1a, #0d0d0d); border: 1px solid #9e7a373b; transition: .3s; }
.service:hover { border-color: var(--gold); transform: translateY(-6px); }
.service .symbol { font-size: 2rem; color: var(--gold); }
.service h3 { font-size: 1rem; margin: 24px 0 12px; }
.service p { color: var(--muted); font-size: .86rem; line-height: 1.8; }

/* 6. Nosotros */
.about { background: #111; border-block: 1px solid #bd91412e; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.visual { min-height: 370px; display: flex; align-items: center; justify-content: center; background: linear-gradient(140deg, #292012, #0b0b0b); border: 1px solid #ad8549; position: relative; overflow: hidden; }
.visual::before { content: ""; position: absolute; inset: 18px; border: 1px solid #b48a4050; }
.visual .bigmark { font-size: clamp(8rem, 20vw, 14rem); font-weight: 900; font-style: italic; background: linear-gradient(130deg, #9c651d, #ffe8a7, #b47c26); background-clip: text; color: transparent; }
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.ticks span { color: #e8d3a8; font-size: .86rem; }

/* 7. Portafolio */
.portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 35px; }
.project { min-height: 290px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid #b98b3b66; background: radial-gradient(circle at 55% 20%, #5b4526, #181818 55%, #090909); }
.project:nth-child(2) { background: linear-gradient(145deg, #100f0c, #735122, #101010); }
.project:nth-child(3) { background: linear-gradient(35deg, #101010, #292929, #9b7334); }
.project .mock { font-size: 3rem; font-weight: 900; color: #e7c078; margin: auto; letter-spacing: -.1em; }
.project h3 { margin: 0 0 6px; }
.project p { font-size: .8rem; color: #e0d6c7; margin: 0; }

/* 8. Contacto y pie de página */
.contact { background: linear-gradient(125deg, #211a10, #080808); text-align: center; border-top: 1px solid #a37c3a; }
.contact .lead { margin: 0 auto 30px; }
.contact-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; }
.location { color: #bcae96; font-size: .8rem; margin-top: 25px; }
footer { padding: 30px 0; border-top: 1px solid #cda14d33; color: #a9a39a; font-size: .75rem; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* 9. Animaciones */
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }

/* 10. Diseño adaptable */
@media (max-width: 800px) {
  .menu { display: block; }
  .links { display: none; position: absolute; top: 77px; left: 0; right: 0; background: #101010; flex-direction: column; padding: 25px; border-bottom: 1px solid var(--gold); }
  .links.open { display: flex; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero-grid { padding: 65px 0; min-height: 0; }
  .hero-panel { padding-left: 22px; }
  .services, .portfolio { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .services, .portfolio { grid-template-columns: 1fr; }
  .section { padding: 65px 0; }
  .hero h1 { font-size: 3.25rem; }
  .ticks { grid-template-columns: 1fr; }
  .nav { min-height: 70px; }
  .links { top: 69px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
