/* ==========================================================================
   Alcora Construcciones — Constructora
   Paleta premium: negro/carbón, beige, dorado/cobre. Mucho espacio negativo.
   ========================================================================== */

:root {
  --black: #0d0c0a;
  --charcoal: #14120f;
  --charcoal-2: #1c1914;
  --beige: #d8cbb5;
  --beige-soft: #f3ede3;
  --gold: #b08d57;
  --white: #fdfbf8;

  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; margin: 0 0 18px; letter-spacing: 0.01em; }

.wrap { max-width: 1220px; margin: 0 auto; padding: 0 32px; }
.section { padding: 110px 0; }

.eyebrow {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 18px;
}

/* ---------- Nav ---------- */
.nav {
  position: static;
  z-index: 100;
  background: rgba(13, 12, 10, 0.92);
  backdrop-filter: blur(8px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.logo { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; letter-spacing: 0.12em; color: #fff; }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: #f0ece3; }
.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 9px 20px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-cta:hover { background: var(--gold); color: #fff !important; }

/* ---------- Hero ---------- */
.hero { position: relative; height: calc(100vh - 120px); min-height: 520px; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,12,10,0.9) 0%, rgba(13,12,10,0.45) 55%, rgba(13,12,10,0.55) 100%); }
.hero-content { position: relative; color: #fff; max-width: 760px; }
.hero-content .eyebrow { color: var(--gold); }
.hero-content h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.08; color: #fff; font-weight: 600; }
.hero-lead { font-size: 1.08rem; color: var(--beige); max-width: 48ch; margin-bottom: 34px; font-weight: 300; }

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 30px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn-primary:hover { transform: translateY(-2px); background: #96774a; }
.btn-primary.full { width: 100%; text-align: center; border: none; cursor: pointer; font-family: inherit; }

/* ---------- Últimas obras ---------- */
.destacadas h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 50px; }
.prop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 34px;
}
.prop-img {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: filter 0.4s ease;
}
.prop:hover .prop-img { filter: brightness(0.92); }
.prop-tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(13,12,10,0.85); color: var(--gold);
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 6px 12px;
}
.prop-info { padding: 20px 4px; }
.prop-info h3 { font-size: 1.35rem; margin-bottom: 8px; }
.prop-info p { font-size: 0.86rem; color: #7d7566; margin: 0; }

/* ---------- Nosotros ---------- */
.nosotros { background: var(--charcoal); color: var(--beige-soft); }
.nosotros-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.nosotros-img { height: 480px; background-size: cover; background-position: center; }
.nosotros .eyebrow { color: var(--gold); }
.nosotros-text h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); max-width: 18ch; }
.nosotros-text p { color: #cfc4ad; font-weight: 300; margin-bottom: 20px; }
.nosotros-datos { display: flex; gap: 40px; list-style: none; padding: 0; margin-top: 30px; flex-wrap: wrap; }
.nosotros-datos li { display: flex; flex-direction: column; }
.nosotros-datos strong { font-family: var(--font-head); font-size: 1.7rem; color: var(--gold); }
.nosotros-datos span { font-size: 0.78rem; color: #a99f89; }

/* ---------- Testimonios ---------- */
.testimonios h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom: 50px; max-width: 22ch; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.testi { margin: 0; padding: 30px 28px; background: var(--beige-soft); border-left: 2px solid var(--gold); }
.testi p { font-size: 1rem; font-style: italic; margin: 0 0 16px; }
.testi footer { font-size: 0.82rem; color: #8a7f6b; letter-spacing: 0.03em; }

/* ---------- Contacto ---------- */
.contacto { background: var(--black); color: #fff; }
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.contacto h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); max-width: 18ch; }
.contacto-lead { color: var(--beige); font-weight: 300; margin-bottom: 26px; }
.contacto-datos p { margin: 10px 0; font-size: 0.92rem; color: #cfc4ad; }

.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; gap: 8px; color: var(--beige); }
.form input {
  font-family: inherit; font-size: 0.95rem; padding: 12px 14px;
  border: 1px solid #3a3630; background: var(--charcoal-2); color: #fff;
}
.form input:focus { outline: 1px solid var(--gold); }
.form-note { font-size: 0.74rem; color: #7d7566; text-align: center; margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--black); border-top: 1px solid #26221c; padding: 40px 0; color: #7d7566; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.footer .logo { color: #fff; font-size: 1.2rem; }
.footer p { font-size: 0.8rem; margin: 0; }
.footer-credit a { color: var(--gold); }
.footer-credit a:hover { text-decoration: underline; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nosotros-grid, .contacto-grid { grid-template-columns: 1fr; }
  .nosotros-img { height: 320px; }
}
@media (max-width: 720px) {
  .nav-links { gap: 16px; font-size: 0.72rem; }
  .nav-links a:not(.nav-cta) { display: none; }
  .section { padding: 64px 0; }
}
