:root {
  --green: #46592C;
  --green-dark: #2E3A1E;
  --gold: #E0A32E;
  --cream: #F4F1E8;
  --cream-2: #FBFAF5;
  --ink: #1A1D16;
  --ink-soft: #4A5044;
  --muted: #6B7360;
  --dark-text: #EDEADF;
  --border: rgba(26, 29, 22, 0.10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Archivo', Helvetica, sans-serif;
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }
::selection { background: var(--gold); color: var(--ink); }

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

.container { max-width: 1120px; margin: 0 auto; }

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Header */
.site-header { border-bottom: 1px solid var(--border); }
.site-header .container {
  padding: 20px 56px;
  display: flex;
  align-items: center;
}
.logo-mark { height: 56px; width: auto; }

/* Hero */
.hero { border-bottom: 1px solid var(--border); background: var(--cream-2); overflow: hidden; }
.hero .container {
  padding: 64px 56px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 30px; }
.hero-logo { height: 56px; width: auto; margin-bottom: 4px; }
.hero-h1 {
  margin: 0;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  max-width: 22ch;
  text-wrap: balance;
}
.hero-copy p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 48ch;
  text-align: justify;
  border-top: 1px solid rgba(26,29,22,0.12);
  padding-top: 24px;
}
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--green);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-visual .dot {
  position: absolute;
  top: 13%;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--gold);
}
.hero-visual .bars {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 0 34px;
}
.hero-visual .bars span { display: block; height: 16px; background: rgba(237,234,223,0.95); }
.hero-visual .bars span:nth-child(2) { width: 82%; background: rgba(237,234,223,0.72); }
.hero-visual .bars span:nth-child(3) { width: 64%; background: rgba(237,234,223,0.5); }
.hero-visual .bars span:nth-child(4) { width: 46%; background: rgba(237,234,223,0.3); }

/* Qué hacemos */
.section-wh { border-bottom: 1px solid var(--border); }
.section-wh .container { padding: 88px 56px; display: flex; flex-direction: column; gap: 48px; }
.wh-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.wh-grid h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.wh-heading { display: flex; flex-direction: column; gap: 18px; }
.wh-grid p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--ink-soft); text-align: justify; }

.wh-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.wh-card {
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wh-card h3 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.3; }
.wh-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

/* Nuestros proyectos */
.section-projects { background: var(--cream-2); border-bottom: 1px solid var(--border); }
.section-projects > .inner { padding: 56px 40px; display: flex; flex-direction: column; gap: 32px; }
.projects-heading { display: flex; flex-direction: column; gap: 8px; }
.projects-heading h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  max-width: 60ch;
}
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 28px;
  border-left: 1px solid var(--border);
}
.project-item:last-child { border-right: 1px solid var(--border); }
.project-photo {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
}
.project-photo img { width: 100%; height: 100%; object-fit: cover; }
.project-item .name { font-size: 16px; font-weight: 600; line-height: 1.3; }
.project-item .meta { font-size: 13px; color: var(--muted); }

/* Contacto */
.section-contact { background: var(--ink); }
.section-contact .container { padding: 88px 56px; display: flex; flex-direction: column; gap: 44px; }
.section-contact .eyebrow { color: rgba(237,234,223,0.55); }

.contact-form { display: flex; flex-direction: column; gap: 16px; max-width: 420px; }
.contact-form label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(237,234,223,0.6);
  display: block;
  margin-bottom: 8px;
}
.contact-form input {
  width: 100%;
  font-family: 'Archivo', Helvetica, sans-serif;
  font-size: 16px;
  color: var(--dark-text);
  background: transparent;
  border: 1px solid rgba(237,234,223,0.3);
  border-radius: 8px;
  padding: 14px 16px;
}
.contact-form input:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.contact-form button {
  font-family: 'Archivo', Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: var(--gold);
  border: none;
  border-radius: 8px;
  padding: 14px 20px;
  cursor: pointer;
  width: fit-content;
}
.contact-form button:disabled { opacity: 0.6; cursor: default; }
.form-status { font-size: 14px; min-height: 1.4em; }
.form-status.ok { color: var(--gold); }
.form-status.err { color: #E88; }

.site-footer-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(237,234,223,0.18);
  padding-top: 32px;
}
.footer-logo { height: 22px; width: auto; }

/* Mobile */
@media (max-width: 680px) {
  .site-header .container { padding: 16px 20px; }
  .hero .container { padding: 40px 20px 44px; grid-template-columns: 1fr; gap: 32px; }
  .section-wh .container { padding: 48px 20px; }
  .wh-grid { grid-template-columns: 1fr; gap: 24px; }
  .wh-cards { grid-template-columns: 1fr; }
  .section-projects > .inner { padding: 40px 20px; }
  .projects-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-contact .container { padding: 48px 20px; }

  .hero-logo { height: 42px; }
  .logo-mark { height: 42px; }
  .hero-h1 { font-size: 28px; }
  .wh-grid h2 { font-size: 26px; }

  .project-item { border-left: none; border-top: 1px solid var(--border); padding: 24px 0 0; }
  .project-item:first-child { border-top: none; padding-top: 0; }
  .project-item:last-child { border-right: none; }
}
