/* ============================================================
   KATARAS — landing.css  (mobile-first)
   Bloques SEO propios del motor de landings. El resto de la
   página reutiliza las secciones y el CSS de la home.
   ============================================================ */

.landing { background: var(--color-bg); color: var(--color-dark); }

.ld-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Etiqueta / títulos (mismo lenguaje que .srv-tag / .srv-title) ── */
.ld-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-yellow);
  background: var(--color-blue);
  padding: 4px 14px;
  border-radius: 999px;
  align-self: flex-start;
}

.ld-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  line-height: .98;
  letter-spacing: .01em;
  color: var(--color-dark);
  margin: 0;
}

.ld-title__accent { display: block; color: var(--color-blue); }

.ld-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  max-width: 900px;
}

.ld-header--light .ld-title { color: #fff; }

/* ── Migas de pan ── */
.ld-crumbs {
  background: #f4f5f7;
  border-bottom: 1px solid rgba(2,2,2,.06);
}

.ld-crumbs__list {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: .8rem;
  color: rgba(2,2,2,.55);
}

.ld-crumbs__list li + li::before { content: '›'; margin-right: 6px; color: rgba(2,2,2,.35); }

.ld-crumbs__list a { color: var(--color-blue); text-decoration: none; font-weight: 600; }
.ld-crumbs__list a:hover { text-decoration: underline; }
.ld-crumbs__list [aria-current] { color: var(--color-dark); font-weight: 600; }

/* ── Intro ── */
.ld-intro { padding: 72px 0 64px; background: var(--color-bg); }

.ld-intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.ld-intro__text { display: flex; flex-direction: column; gap: 16px; }

.ld-intro__text p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(2,2,2,.72);
  margin: 0;
}

.ld-intro__local {
  padding: 16px 18px;
  border-left: 4px solid var(--color-yellow);
  background: #f4f5f7;
  border-radius: 0 12px 12px 0;
  color: var(--color-dark) !important;
}

.ld-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ── Botones ── */
.ld-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.ld-btn:hover { transform: translateY(-2px); }

.ld-btn--wa { background: #25d366; color: #062a12; }
.ld-btn--wa:hover { background: #1fbf5b; }

.ld-btn--ghost {
  border: 2px solid rgba(2,2,2,.15);
  color: var(--color-dark);
  background: transparent;
}

.ld-btn--ghost:hover { border-color: var(--color-blue); color: var(--color-blue); }

.ld-btn--lg { min-height: 56px; padding: 0 30px; font-size: 1.05rem; }

/* ── Tarjetas ── */
.ld-card {
  background: #fff;
  border: 1px solid rgba(2,2,2,.08);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ld-card p { margin: 0; font-size: .93rem; line-height: 1.7; color: rgba(2,2,2,.68); }

.ld-card__title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: var(--color-dark);
}

.ld-card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(27,62,150,.08);
  color: var(--color-blue);
  font-size: 1.15rem;
}

.ld-card--dark {
  background: var(--color-blue);
  border-color: transparent;
  border-bottom: 4px solid var(--color-yellow);
  color: #fff;
}

.ld-card--dark .ld-card__title { color: #fff; }

.ld-card__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-yellow);
  margin: 10px 0 0 !important;
}

.ld-checks { display: flex; flex-direction: column; gap: 10px; }

.ld-checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .93rem;
  line-height: 1.5;
  color: rgba(255,255,255,.9);
}

.ld-checks i { color: var(--color-yellow); margin-top: 4px; font-size: .8rem; }

.ld-links { display: flex; flex-direction: column; gap: 8px; }

.ld-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.ld-links a i { color: var(--color-yellow); font-size: .75rem; }
.ld-links a:hover { color: var(--color-yellow); }

/* ── Tarjeta con foto (sub-servicios con 'imagen') ── */
.ld-card--photo { padding: 0; overflow: hidden; gap: 0; }

.ld-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e5e7eb;
}

.ld-card__media img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,0,0,1);
}

.ld-card--photo:hover .ld-card__media img { transform: scale(1.05); }

.ld-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 24px;
}

.ld-card--photo .ld-card__icon {
  margin-top: -43px;
  border: 3px solid #fff;
  background: var(--color-yellow);
  color: var(--color-dark);
  position: relative;
  z-index: 1;
}

/* ── Obra destacada ── */
.ld-obra { padding: 72px 0; background: var(--color-dark); color: #fff; }

.ld-obra__header { max-width: 820px; }

.ld-title__accent--yellow { color: var(--color-yellow); }

.ld-obra__lead { margin: 4px 0 0; font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,.72); }

.ld-obra__steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  counter-reset: obra;
}

.ld-obra__step { display: flex; flex-direction: column; gap: 8px; }

.ld-obra__fig {
  position: relative;
  margin: 0 0 6px;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}

.ld-obra__fig img { display: block; width: 100%; height: 100%; object-fit: cover; }

.ld-obra__num {
  position: absolute;
  left: 12px; top: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
  padding: 7px 11px 5px;
  border-radius: 999px;
  background: var(--color-yellow);
  color: var(--color-dark);
}

.ld-obra__step h3 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.ld-obra__step p { margin: 0; font-size: .9rem; line-height: 1.65; color: rgba(255,255,255,.65); }

.ld-obra__foot {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.ld-obra__claves {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.ld-obra__claves li { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: rgba(255,255,255,.88); }
.ld-obra__claves i { color: var(--color-yellow); font-size: .8rem; }

/* ── Grillas ── */
.ld-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

/* ── Sub-servicios ── */
.ld-sub { padding: 72px 0; background: #f4f5f7; }

/* ── Beneficios ── */
.ld-benef { padding: 72px 0; background: var(--color-dark); color: #fff; }

.ld-benef__item {
  padding: 24px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ld-benef__num {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--color-yellow);
}

.ld-benef__item h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.ld-benef__item p { margin: 0; font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.65); }

/* ── Cobertura ── */
.ld-cob { padding: 72px 0; background: var(--color-bg); }

.ld-cob__lead { margin: 0 0 20px; font-size: 1rem; line-height: 1.7; color: rgba(2,2,2,.72); }

.ld-cob__zonas { display: grid; grid-template-columns: 1fr; gap: 28px; }

.ld-cob__zona h3 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin: 0 0 12px;
}

.ld-cob__zona h3 a { color: inherit; text-decoration: none; }
.ld-cob__zona h3 a:hover { text-decoration: underline; }

.ld-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.ld-chips a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f4f5f7;
  border: 1px solid rgba(2,2,2,.08);
  color: var(--color-dark);
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}

.ld-chips a i { color: var(--color-yellow); font-size: .75rem; }

.ld-chips a:hover { background: var(--color-blue); border-color: var(--color-blue); color: #fff; }

.ld-cob__more { margin: 22px 0 0; }

.ld-cob__more a {
  color: var(--color-blue);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ld-cob__more a:hover { text-decoration: underline; }

/* ── CTA final ── */
.ld-final { padding: 64px 0 72px; background: var(--color-blue); color: #fff; }

.ld-final__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.ld-final__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: .98;
  margin: 0 0 10px;
  color: #fff;
}

.ld-final p { margin: 0; font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,.75); max-width: 640px; }

/* ── Hero: en las landings el H1 lleva lugares largos ── */
.hero-section--landing .hero-h1 { font-size: clamp(2.4rem, 8.5vw, 5rem); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 700px) {
  .ld-obra__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld-obra__foot { flex-direction: row; align-items: center; justify-content: space-between; }
  .ld-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld-cob__zonas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .ld-intro__grid { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); align-items: start; }
  .ld-intro__aside { position: sticky; top: 90px; }
  .ld-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ld-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ld-cob__zonas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ld-final__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .ld-intro, .ld-sub, .ld-benef, .ld-cob, .ld-obra { padding-top: 88px; padding-bottom: 88px; }
  .ld-obra__steps { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
}
