/* K11 Proyectos — hoja de estilos compartida */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Expanded:wght@600;700;800&family=Archivo:wght@400;500;600&display=swap');

:root {
  --ink: #1a1a1a;
  --steel: #1e3a5f;
  --steel-light: #5c7694;
  --paper: #ffffff;
  --paper-alt: #f2f2f1;
  --line: #e0e0de;
  --line-strong: #c7c7c4;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Archivo Expanded', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
}

a { color: inherit; text-decoration: none; }

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

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

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 40px; width: auto; }
.brand-name {
  font-family: 'Archivo Expanded', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
}
.brand-name .sub {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--steel);
  text-transform: uppercase;
  margin-top: 1px;
}

nav.main-nav {
  display: flex;
  gap: 2px;
}
nav.main-nav a {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 10px 16px;
  position: relative;
  color: var(--ink);
}
nav.main-nav a::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 2px;
  background: var(--steel);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
nav.main-nav a:hover::after,
nav.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
nav.main-nav a[aria-current="page"] { color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 780px) {
  nav.main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 8px 28px 20px;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
  background: var(--ink);
  color: var(--paper);
}
.btn:hover { background: var(--steel); border-color: var(--steel); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn.ghost:hover { border-color: var(--ink); background: transparent; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 100px 0 90px;
  background:
    linear-gradient(var(--paper) 0%, var(--paper) 100%),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 64px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--steel);
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  max-width: 820px;
}
.hero p.lead {
  max-width: 560px;
  font-size: 17.5px;
  color: var(--steel);
  margin-top: 22px;
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Page hero (sub pages) ---------- */
.page-head {
  padding: 64px 0 44px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-alt);
}
.page-head .hero-eyebrow { margin-bottom: 14px; }
.page-head h1 { font-size: clamp(30px, 4.5vw, 44px); }
.page-head p.lead { max-width: 620px; font-size: 16px; color: var(--steel); margin-top: 16px; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-alt { background: var(--paper-alt); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); }
.section-num {
  font-family: 'Archivo Expanded', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--steel);
  text-transform: uppercase;
}

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 30px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.18s ease;
}
.service-card:hover { background: var(--paper-alt); }
.service-index {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--steel-light);
}
.service-card h3 { font-size: 19px; margin: 20px 0 10px; }
.service-card p { font-size: 14.5px; color: var(--steel); margin: 0; }

.service-card--featured {
  position: relative;
  background: var(--paper-alt);
  box-shadow: inset 3px 0 0 var(--steel);
}
.service-badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--steel);
  padding: 4px 10px;
  width: fit-content;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- Projects grid ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line);
}
.project-card {
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.project-photo {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--paper-alt);
}
.project-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.project-card:hover .project-photo img { transform: scale(1.04); }
.project-body { padding: 26px 28px 30px; }
.project-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}
.project-body h3 { font-size: 21px; margin: 10px 0 8px; }
.project-body p { font-size: 14.5px; color: var(--steel); margin: 0 0 14px; }
.project-meta {
  display: flex;
  gap: 18px;
  font-size: 12.5px;
  color: var(--steel-light);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  flex-wrap: wrap;
}
.project-meta strong { color: var(--ink); font-weight: 600; }

@media (max-width: 760px) {
  .projects-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border: 1px solid var(--line);
}
.contact-info {
  padding: 48px 44px;
  border-right: 1px solid var(--line);
}
.contact-map-block {
  background: var(--paper-alt);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:first-of-type { padding-top: 0; }
.contact-item .label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  width: 120px;
  flex-shrink: 0;
  padding-top: 2px;
}
.contact-item .value { font-size: 15.5px; }
.contact-item .value a:hover { color: var(--steel); }
.hours-row { display: flex; justify-content: space-between; font-size: 14.5px; padding: 6px 0; }
.hours-row span:first-child { color: var(--steel); }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { border-right: none; border-bottom: 1px solid var(--line); }
}

/* ---------- Quote form ---------- */
.form-wrap {
  border: 1px solid var(--line);
  padding: 48px 44px;
  max-width: 760px;
}
.form-row { margin-bottom: 26px; }
.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 9px;
}
label .req { color: var(--ink); }
input, select, textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  padding: 11px 2px;
  font-family: 'Archivo', sans-serif;
  font-size: 15.5px;
  color: var(--ink);
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
}
.checkbox-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.check-pill {
  border: 1px solid var(--line-strong);
  padding: 9px 16px;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.check-pill input { width: auto; }
.form-note {
  font-size: 13px;
  color: var(--steel-light);
  margin-top: 6px;
}
.form-success {
  display: none;
  border: 1px solid var(--ink);
  padding: 30px;
  margin-top: 20px;
}
.form-success.show { display: block; }
.form-success h3 { font-size: 18px; margin-bottom: 8px; }
.form-success p { font-size: 14.5px; color: var(--steel); margin: 0; }
.form-error {
  display: none;
  border: 1px solid #b23b3b;
  padding: 20px 24px;
  margin-top: 20px;
}
.form-error.show { display: block; }
.form-error p { font-size: 14.5px; color: #b23b3b; margin: 0; }

/* Honeypot: oculto para personas, visible para bots que rellenan todo */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Stats strip ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 34px 28px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat .num {
  font-family: 'Archivo Expanded', sans-serif;
  font-weight: 800;
  font-size: 38px;
}
.stat .label {
  font-size: 12.5px;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}
@media (max-width: 760px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--ink);
  color: var(--paper-alt);
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #3a3a3a;
}
.footer-brand img { height: 34px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 13.5px; color: #a8a8a6; max-width: 280px; }
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a8a8a6;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 14px;
  color: #e4e4e2;
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 12.5px;
  color: #8a8a88;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Architect contact card ---------- */
.architect-card {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}
.architect-card h3 { font-size: 18px; margin: 10px 0 8px; }
.architect-card p { font-size: 14px; color: var(--steel); margin: 0 0 16px; }

/* ---------- Instagram CTA ---------- */
.instagram-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.instagram-cta h2 { font-size: clamp(24px, 3.2vw, 32px); }
.instagram-cta .lead { max-width: 480px; }

/* ---------- Misc ---------- */
.divider-note {
  font-size: 13px;
  color: var(--steel-light);
  border-left: 2px solid var(--steel);
  padding-left: 14px;
  max-width: 480px;
}

/* ---------- Tarjetas de proyecto como enlace ---------- */
a.project-card { color: inherit; }
.project-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}
a.project-card:hover .project-more { text-decoration: underline; }
.pendiente { color: var(--steel-light); font-style: italic; }

/* ---------- Página de obra ---------- */
.obra-hero {
  position: relative;
  height: clamp(340px, 62vh, 620px);
  overflow: hidden;
  background: var(--ink);
}
.obra-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.obra-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 48px;
  background: linear-gradient(to top, rgba(10,20,35,0.85) 0%, rgba(10,20,35,0.25) 55%, rgba(10,20,35,0) 100%);
  color: var(--paper);
}
.obra-hero-overlay .wrap { width: 100%; }
.obra-hero h1 { font-size: clamp(30px, 5vw, 54px); max-width: 820px; }
.hero-eyebrow.light { color: #c9d6e6; }
.hero-eyebrow.light::before { background: #c9d6e6; }
.breadcrumb {
  font-size: 13px;
  color: #c9d6e6;
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb span { margin: 0 6px; }

.obra-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.obra-text .lead { font-size: 18px; color: var(--ink); margin: 0 0 32px; }
.obra-h2 { font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.obra-alcance { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.obra-alcance li {
  padding: 13px 0 13px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 15px;
}
.obra-alcance li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 21px;
  width: 12px;
  height: 2px;
  background: var(--steel);
}
.obra-ficha {
  border: 1px solid var(--line);
  border-top: 3px solid var(--steel);
  padding: 30px 28px;
  background: var(--paper);
  position: sticky;
  top: 100px;
}
.obra-ficha dl { margin: 0 0 26px; }
.obra-ficha dl > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.obra-ficha dt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  padding-top: 2px;
  flex-shrink: 0;
}
.obra-ficha dd { margin: 0; text-align: right; }
.obra-ficha .btn { width: 100%; justify-content: center; }

@media (max-width: 860px) {
  .obra-layout { grid-template-columns: 1fr; gap: 40px; }
  .obra-ficha { position: static; }
}

/* ---------- Galería ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 6px;
}
.gallery-item {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--line);
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.2s ease;
}
.gallery-item:hover img { transform: scale(1.05); opacity: 0.92; }
@media (max-width: 520px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 3px; }
}

/* ---------- Visor de fotos (lightbox) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(8,12,20,0.94);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 84vh;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.lb-btn {
  position: absolute;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  width: 52px;
  height: 52px;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-btn:hover { background: rgba(255,255,255,0.2); }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 18px; top: 18px; }
.lb-count {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: #c9d6e6;
  font-size: 13px;
  letter-spacing: 0.1em;
}
@media (max-width: 600px) {
  .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; width: 46px; height: 46px; }
  .lb-count { bottom: 24px; }
}

/* ---------- Navegación entre obras ---------- */
.obra-nav { border-top: 1px solid var(--line); }
.obra-nav-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
}
.obra-nav-link {
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.obra-nav-link.next { text-align: right; align-items: flex-end; }
.obra-nav-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}
.obra-nav-title {
  font-family: 'Archivo Expanded', sans-serif;
  font-weight: 800;
  font-size: clamp(16px, 2.2vw, 22px);
  line-height: 1.15;
}
.obra-nav-link:hover .obra-nav-title { color: var(--steel); }
.obra-nav-all {
  align-self: center;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  padding: 12px 18px;
  margin: 0 24px;
}
.obra-nav-all:hover { border-color: var(--ink); }
@media (max-width: 680px) {
  .obra-nav-grid { grid-template-columns: 1fr 1fr; }
  .obra-nav-all { grid-column: 1 / -1; grid-row: 2; text-align: center; margin: 0 0 28px; }
  .obra-nav-link { padding: 28px 0; }
}

/* Última tarjeta impar: ocupa todo el ancho en horizontal (evita hueco gris) */
@media (min-width: 761px) {
  .projects-grid > .project-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    flex-direction: row;
  }
  .projects-grid > .project-card:last-child:nth-child(odd) .project-photo {
    flex: 0 0 50%;
    aspect-ratio: auto;
    min-height: 340px;
    position: relative;
  }
  .projects-grid > .project-card:last-child:nth-child(odd) .project-photo img {
    position: absolute;
    inset: 0;
  }
  .projects-grid > .project-card:last-child:nth-child(odd) .project-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* hCaptcha */
.h-captcha { min-height: 78px; }
.captcha-note { color: #b23b3b; }

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 250;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover, .wa-float:focus-visible { transform: scale(1.07); box-shadow: 0 8px 24px rgba(0,0,0,.28); }
.wa-float:focus-visible { outline: 3px solid var(--steel); outline-offset: 3px; }
@media (max-width: 600px) { .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; } }


/* ---------- Renovación oct-2026 ---------- */

/* Enlaces subrayados (contacto y pie) */
a.link-u {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  color: var(--steel);
}
a.link-u:hover { text-decoration-thickness: 2px; }
footer.site-footer a.link-u { color: #e4e4e2; }
footer.site-footer a.link-u:hover { color: var(--paper); }

/* Iconos de redes / contacto */
.social-icons { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.social-icons a {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  color: var(--steel);
  transition: background .2s, color .2s, border-color .2s;
}
.social-icons a:hover { background: var(--steel); color: var(--paper); border-color: var(--steel); }
.social-icons--footer { margin-top: 6px; }
.social-icons--footer a { width: 38px; height: 38px; border-color: #4a4a4a; color: #e4e4e2; margin: 0; }
.social-icons--footer a:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* Pie de foto en galerías (fotos con nombre) */
.gallery-item { position: relative; }
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 10px 8px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em; line-height: 1.25;
  color: #fff;
  background: linear-gradient(to top, rgba(10,20,35,.85), rgba(10,20,35,0));
  pointer-events: none;
}
@media (max-width: 520px) { .gallery-cap { font-size: 9.5px; padding: 12px 5px 4px; } }

/* Estadísticas centradas */
.stats-strip .stat { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* Catálogo de 5 servicios: 3 arriba, 2 abajo centrados */
.services-grid--5 {
  grid-template-columns: repeat(6, 1fr);
  border: none;
}
.services-grid--5 .service-card {
  grid-column: span 2;
  border: 1px solid var(--line);
  margin: 0 -1px -1px 0;
  justify-content: flex-start;
}
.services-grid--5 .service-card:nth-child(4) { grid-column: 2 / span 2; }
.services-grid--5 .service-card h3 { margin-top: 26px; }
.services-grid--5 .service-card--featured .service-badge { align-self: flex-start; }
@media (max-width: 900px) {
  .services-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .services-grid--5 .service-card,
  .services-grid--5 .service-card:nth-child(4) { grid-column: auto; }
  .services-grid--5 .service-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .services-grid--5 { grid-template-columns: 1fr; }
}

/* Icono de Instagram junto al título */
.ig-title { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ig-badge {
  width: 58px; height: 58px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--steel); color: var(--paper);
  border-radius: 14px;
  transition: transform .2s, background .2s;
}
.ig-badge:hover { transform: scale(1.06); background: var(--ink); }
@media (max-width: 600px) { .ig-badge { width: 46px; height: 46px; border-radius: 11px; } .ig-badge svg { width: 26px; height: 26px; } }

/* Portada Transmex Cd. Juárez (foto vertical del equipo) */
.obra-hero > img.pos-equipo { object-position: center 48%; }
.project-photo img.pos-equipo { object-position: center 45%; }



/* =========================================================
   Rediseño: acentos en azul marino
   ========================================================= */
:root { --navy: #1e3a5f; --navy-deep: #142a46; --navy-soft: #e8eef5; }

/* Franja azul superior en el encabezado */
.site-header { border-top: 4px solid var(--navy); }

/* Botón principal en azul */
.btn { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--navy); color: var(--navy); }

/* Títulos de sección con subrayado corto azul */
.section-head h2::after, .instagram-cta h2 + p::before { content: none; }
.section-head h2 { position: relative; padding-bottom: 14px; }
.section-head h2::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 56px; height: 4px; background: var(--navy);
}

/* Hero con panel de valores */
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.hero-panel {
  background: var(--navy); color: #fff; padding: 38px 36px;
  box-shadow: 18px 18px 0 var(--navy-soft);
}
.hero-panel-title {
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: #c9d6e6; margin-bottom: 22px; display: flex; align-items: center; gap: 10px;
}
.hero-panel-title::before { content: ''; width: 26px; height: 2px; background: #c9d6e6; }
.hero-panel ol { list-style: none; margin: 0; padding: 0; }
.hero-panel li { display: flex; gap: 18px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.16); }
.hero-panel li:first-child { border-top: none; padding-top: 0; }
.hero-panel li span {
  font-family: 'Archivo Expanded', sans-serif; font-weight: 800; font-size: 14px;
  color: #8fb0d6; min-width: 26px; padding-top: 2px;
}
.hero-panel strong { font-family: 'Archivo Expanded', sans-serif; font-size: 17px; display: block; margin-bottom: 4px; }
.hero-panel p { margin: 0; font-size: 14px; color: #d5e0ec; line-height: 1.5; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-panel { box-shadow: 10px 10px 0 var(--navy-soft); }
}

/* Franja de estadísticas en azul */
.stats-strip { background: var(--navy); border-color: var(--navy); }
.stats-strip .stat { border-right-color: rgba(255,255,255,.14); padding: 40px 24px; }
.stats-strip .stat .num { color: #fff; }
.stats-strip .stat .label { color: #b9cbe0; }
@media (max-width: 760px) { .stats-strip .stat { border-bottom: 1px solid rgba(255,255,255,.14); } }

/* Tarjetas de servicio: acento azul al pasar el mouse */
.service-card { position: relative; }
.service-card::before {
  content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px;
  background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card--featured { background: var(--navy); box-shadow: none; }
.service-card--featured h3 { color: #fff; }
.service-card--featured p { color: #d5e0ec; }
.service-card--featured .service-index { color: #8fb0d6; }
.service-card--featured .service-badge { background: #fff; color: var(--navy); }
.service-card--featured:hover { background: var(--navy-deep); }

/* Tarjetas de proyecto: etiqueta y "Ver obra" en azul, acento inferior */
a.project-card { position: relative; }
a.project-card::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 0;
  background: var(--navy); transition: width .35s ease;
}
a.project-card:hover::after { width: 100%; }

/* Bloque de Instagram en azul */
.instagram-section { background: var(--navy) !important; }
.instagram-section .section-num { color: #8fb0d6; }
.instagram-section h2 { color: #fff; }
.instagram-section .lead { color: #d5e0ec !important; }
.instagram-section .ig-badge { background: #fff; color: var(--navy); }
.instagram-section .ig-badge:hover { background: var(--navy-soft); }
.instagram-section .btn { background: #fff; color: var(--navy); border-color: #fff; }
.instagram-section .btn:hover { background: var(--navy-soft); border-color: var(--navy-soft); }

/* Encabezados de páginas internas en azul */
.page-head { background: var(--navy); border-bottom: none; }
.page-head h1 { color: #fff; }
.page-head .hero-eyebrow { color: #c9d6e6; }
.page-head .hero-eyebrow::before { background: #c9d6e6; }
.page-head p.lead { color: #d5e0ec; }
.page-head p.lead a { color: #fff; }

/* Ficha de obra con cabecera azul */
.obra-ficha { border-top: 4px solid var(--navy); }

/* Contacto: iconos a la izquierda de cada dato */
.contact-item { align-items: center; }
.contact-item .label { width: 150px; display: inline-flex; align-items: center; gap: 12px; padding-top: 0; }
.ci-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff; border-radius: 50%;
}
.ci-icon svg { width: 18px; height: 18px; }
@media (max-width: 520px) {
  .contact-item { flex-direction: column; align-items: flex-start; gap: 10px; }
  .contact-item .label { width: auto; }
}
.contact-map-block { border-top: 4px solid var(--navy); }

/* Logo nuevo K11 Proyectos */
.site-header .wrap { height: 92px; }
.brand { gap: 16px; }
.brand img { height: 72px; width: auto; display: block; }
.brand-name { border-left: 2px solid var(--navy); padding-left: 14px; }
.brand-name .sub { margin-top: 0; font-size: 10.5px; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); font-weight: 600; }
.footer-logo { display: inline-block; background: #fff; padding: 14px 20px; border-radius: 10px; margin-bottom: 18px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.footer-brand .footer-logo img { height: 76px; width: auto; margin: 0; filter: none; display: block; }
@media (max-width: 760px) {
  .site-header .wrap { height: 76px; }
  .brand img { height: 58px; }
  .brand-name { display: none; }
}
.obra-ficha { top: 116px; }
@media (min-width: 761px) {
  .site-header .wrap { height: 100px; }
  .brand img { height: 82px; }
  .obra-ficha { top: 124px; }
}

/* Catálogo de 6 servicios: rejilla de 3 x 2 */
.services-grid--6 .service-card h3 { margin-top: 26px; }
.services-grid--6 .service-card { justify-content: flex-start; }
.services-grid--6 .service-card--featured .service-badge { align-self: flex-start; }

/* ---------- Cómo trabajamos: dos modalidades ---------- */
.modalidades-lead { margin: -8px 0 36px; max-width: 640px; }
.modalidad {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  border: 1px solid var(--line);
  background: var(--paper, #fff);
  margin-bottom: 28px;
}
.modalidad:last-child { margin-bottom: 0; }
.modalidad-head { padding: 38px 34px; display: flex; flex-direction: column; gap: 14px; }
.modalidad-head h3 { font-size: 26px; margin: 0; }
.modalidad-head p { margin: 0; font-size: 15px; line-height: 1.65; }
.modalidad-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.modalidad-ideal {
  margin-top: auto; padding-top: 14px; font-size: 13.5px; font-weight: 600;
}
.modalidad-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
}
.modalidad-steps li {
  padding: 28px 28px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.modalidad-steps li:nth-child(n+3) { border-bottom: none; }
.modalidad-steps h4 { font-size: 17px; margin: 12px 0 8px; }
.modalidad-steps p { font-size: 14px; color: var(--steel); margin: 0; }

/* Modalidad 01: panel azul marino */
.modalidad--integral .modalidad-head { background: var(--steel); color: #fff; }
.modalidad--integral .modalidad-head h3 { color: #fff; }
.modalidad--integral .modalidad-head p { color: rgba(255,255,255,0.85); }
.modalidad--integral .modalidad-tag,
.modalidad--integral .modalidad-ideal { color: rgba(255,255,255,0.7); }
.modalidad--integral .modalidad-ideal { border-top: 1px solid rgba(255,255,255,0.2); }

/* Modalidad 02: panel claro con acento lateral */
.modalidad--existente .modalidad-head { box-shadow: inset 4px 0 0 var(--steel); }
.modalidad--existente .modalidad-head h3 { color: var(--ink); }
.modalidad--existente .modalidad-head p { color: var(--steel); }
.modalidad--existente .modalidad-tag,
.modalidad--existente .modalidad-ideal { color: var(--steel-light, var(--steel)); }
.modalidad--existente .modalidad-ideal { border-top: 1px solid var(--line); }
.modalidad--existente .modalidad-steps li { background: var(--paper-alt); }

@media (max-width: 900px) {
  .modalidad { grid-template-columns: 1fr; }
  .modalidad-steps li { border-left: none; border-top: 1px solid var(--line); border-bottom: none; }
  .modalidad-steps li:nth-child(even) { border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .modalidad-steps { grid-template-columns: 1fr; }
  .modalidad-steps li:nth-child(even) { border-left: none; }
  .modalidad-head { padding: 30px 24px; }
  .modalidad-steps li { padding: 24px; }
}
