/* ==========================================================
   Lukas 79 — Arquitectura y construcción
   Diseño propio, claro y minimalista.
   ========================================================== */
:root {
  --bg:       #F8F6F1;
  --panel:    #EFEBE1;
  --ink:      #201D18;
  --ink-soft: #6B6458;
  --accent:   #54321F;   /* madera/tierra quemada, uso puntual */
  --line:     #E1DCCF;
  --white:    #FFFFFF;

  --font-display: 'Newsreader', Georgia, serif;
  --font-body: 'Inter', -apple-system, Segoe UI, sans-serif;

  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

.eyebrow {
  font-size: 14px;
  font-style: italic;
  font-family: var(--font-display);
  color: var(--ink-soft);
  margin: 0 0 28px;
}

/* ==========================================================
   Header
   ========================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 26px 0;
  transition: background-color .25s ease, padding .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(248, 246, 241, 0.92);
  backdrop-filter: blur(6px);
  padding: 16px 0;
  border-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo { height: 30px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 34px; }

.main-nav a {
  text-decoration: none;
  font-size: 14px;
  color: var(--ink);
}

.nav-cta {
  padding: 8px 16px;
  border: 1px solid var(--ink);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px; height: 24px;
  position: relative;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 0; right: 0;
  height: 1px; background: var(--ink);
}
.nav-toggle span:first-child { top: 4px; }
.nav-toggle span:last-child { bottom: 4px; }

/* ==========================================================
   Hero — imagen completa, titular centrado abajo
   ========================================================== */
.hero {
  position: relative;
  height: 92vh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; }

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

.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(32,29,24,0) 55%, rgba(32,29,24,.55) 100%);
}

.hero-content {
  position: relative;
  text-align: center;
  padding-bottom: 64px;
  color: var(--white);
}

.hero-title {
  font-size: clamp(40px, 7vw, 84px);
  letter-spacing: -.01em;
}
.hero-title em { font-style: italic; color: var(--white); }

.hero-place {
  margin: 18px 0 0;
  font-size: 14px;
  letter-spacing: .04em;
  color: #EDE9DE;
}

/* ==========================================================
   Intro / stats
   ========================================================== */
.intro { padding: 120px 0 100px; }

.intro-inner { max-width: 760px; }

.intro-lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.45;
  margin: 0 0 56px;
}

.stats {
  display: flex;
  gap: 64px;
  margin: 0;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.stat dt {
  font-family: var(--font-display);
  font-size: 34px;
  font-style: italic;
}
.stat dd {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.35;
}

/* ==========================================================
   Trabajo / galería
   ========================================================== */
.work { padding: 20px 0 110px; }

.work-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}

.work-item {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
}

.work-item img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.work-item--tall img { height: 100%; }
.work-item--tall { grid-row: span 2; }

.work-item figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ==========================================================
   Servicios — lista editorial
   ========================================================== */
.services { padding: 20px 0 110px; }

.services-inner { max-width: 900px; }

.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.service-row h3 {
  font-size: 22px;
  font-weight: 400;
}

.service-row p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 52ch;
  font-size: 15px;
  align-self: center;
}

/* ==========================================================
   CTA band
   ========================================================== */
.cta-band {
  background: var(--panel);
  padding: 100px 0;
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  margin-bottom: 36px;
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 2px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent); }

/* ==========================================================
   Footer
   ========================================================== */
.site-footer { background: var(--bg); padding: 80px 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.footer-logo { height: 24px; margin-bottom: 18px; }

.footer-brand p { margin: 0 0 6px; color: var(--ink-soft); font-size: 14.5px; }
.footer-brand a { text-decoration: none; }

.footer-heading {
  font-size: 13px;
  font-style: italic;
  font-family: var(--font-display);
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.footer-nav { display: flex; flex-direction: column; }
.footer-nav a { text-decoration: none; font-size: 15px; padding: 5px 0; }

.social-icons { display: flex; gap: 12px; }
.social-icons a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  text-decoration: none;
}
.social-icons a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.footer-fine { margin-top: 18px; font-size: 13px; color: var(--ink-soft); }

.footer-bottom { padding: 22px 0; font-size: 13px; color: var(--ink-soft); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 860px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-item--tall { grid-row: span 1; }
  .work-item--tall img { height: 340px; }
  .stats { gap: 40px; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 32px 20px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; width: 100%; }
  .nav-toggle { display: block; }

  .work-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
}
