/* =============================================================
   AKILA — REDESIGN SYSTEM v0.1
   Editorial Bogotano · proyectos como protagonistas
   ============================================================= */

:root {
  /* Brand — verde Akila intocable */
  --ak-green: #95b747;
  --ak-green-deep: #6f8e30;
  --ak-green-soft: #e7efd3;
  --ak-coral: #e74256;
  --ak-coral-deep: #b32a3c;

  /* Neutrals — hueso cálido + grafito */
  --bg: #f7f4ed;
  --bg-elev: #ffffff;
  --ink: #1c1b19;
  --ink-2: #3a3833;
  --muted: #8a857b;
  --line: #e6e0d3;
  --surface-dark: #141413;
  --surface-dark-2: #23221f;

  /* Type */
  --font-display: "Fraunces", "GT Sectra", "Tiempos Headline", Georgia, serif;
  --font-ui: "Inter", "Söhne", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Scale */
  --step--1: clamp(0.83rem, 0.81rem + 0.10vw, 0.89rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.20vw, 1.13rem);
  --step-1:  clamp(1.20rem, 1.13rem + 0.36vw, 1.42rem);
  --step-2:  clamp(1.44rem, 1.32rem + 0.59vw, 1.80rem);
  --step-3:  clamp(1.73rem, 1.55rem + 0.92vw, 2.28rem);
  --step-4:  clamp(2.07rem, 1.79rem + 1.40vw, 2.89rem);
  --step-5:  clamp(2.49rem, 2.06rem + 2.11vw, 3.66rem);
  --step-6:  clamp(2.99rem, 2.35rem + 3.13vw, 4.64rem);
  --step-7:  clamp(3.58rem, 2.66rem + 4.59vw, 5.88rem);

  /* Layout */
  --container: 1280px;
  --container-wide: 1480px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 4px;
  --radius-lg: 12px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset minimal -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--ak-green); color: #fff; }

/* Type ---------------------------------------------------------- */
.h-display, h1.h-display, h2.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.04;
  color: var(--ink);
  margin: 0;
}
.eyebrow {
  font-family: var(--font-ui);
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ak-green-deep);
  font-weight: 600;
}
.lead {
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 60ch;
}

/* Container ----------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: var(--container-wide); }
.container--bleed { max-width: none; padding-inline: 0; }

/* Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--ak-green); color: #fff; }
.btn--primary:hover { background: var(--ak-green-deep); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--bg); }
.btn--ghost { background: transparent; color: var(--ink); padding-inline: 0; }
.btn--ghost:hover { color: var(--ak-green-deep); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: var(--surface-dark-2); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Header -------------------------------------------------------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 237, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.site-nav__logo img { height: 38px; width: auto; }
.site-nav__links { display: flex; gap: 32px; }
.site-nav__links a {
  font-size: var(--step--1); font-weight: 500; color: var(--ink);
  letter-spacing: 0.02em;
  position: relative; padding: 6px 0;
}
.site-nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--ak-green); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav__links a:hover::after { transform: scaleX(1); }
@media (max-width: 880px) {
  .site-nav__links { display: none; }
}
.site-nav__cta {
  display: flex; align-items: center; gap: 14px;
}
.site-nav__portal {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 10px 14px;
  border-radius: 100px;
  border: 1px solid var(--line);
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.site-nav__portal:hover { border-color: var(--ak-green); color: var(--ak-green-deep); background: var(--ak-green-soft); }
.site-nav__portal svg { width: 16px; height: 16px; }
@media (max-width: 720px) {
  .site-nav__portal span, .site-nav__portal { font-size: 0; padding: 10px; }
  .site-nav__portal svg { width: 18px; height: 18px; }
}

/* HERO ---------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(40px, 6vw, 96px);
  padding-bottom: clamp(60px, 8vw, 120px);
  overflow: hidden;
}
.hero--compact {
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(36px, 4vw, 56px);
  text-align: center;
}
.hero__copy--center { max-width: 900px; margin: 0 auto; text-align: center; }
.hero__copy--center .hero__sub { margin-inline: auto; }
.hero__copy--center .hero__ctas { justify-content: center; }
.hero--compact .hero__title { font-size: var(--step-6); }
.hero--compact .hero__sub { font-size: var(--step-1); margin-top: 20px; }
.hero--compact .hero__ctas { margin-top: 28px; }

/* HERO MINI ---------------------------------------------------- */
.hero--mini {
  padding-top: clamp(20px, 2vw, 32px);
  padding-bottom: clamp(14px, 1.6vw, 20px);
}
.hero__mini-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}
@media (max-width: 720px) {
  .hero__mini-grid { grid-template-columns: 1fr; }
}
.hero--mini .hero__title {
  font-size: clamp(1.6rem, 1.1rem + 2.0vw, 2.6rem);
  margin-top: 6px;
  max-width: 26ch;
}
.hero--mini .hero__ctas { margin-top: 0; }
.hero--mini .eyebrow { font-size: 11px; }

/* MOSAIC — proyectos como protagonistas ----------------------- */
.mosaic {
  padding-top: clamp(8px, 1vw, 16px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.mosaic__filters {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-bottom: clamp(12px, 1.4vw, 18px);
}
/* CAROUSEL ----------------------------------------------------- */
.carousel { position: relative; }
.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--card-gap, 18px)) / 4);
  gap: var(--card-gap, 18px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.carousel__track::-webkit-scrollbar { display: none; }
@media (max-width: 1280px) { .carousel__track { grid-auto-columns: calc((100% - 2 * var(--card-gap, 18px)) / 3); } }
@media (max-width: 980px)  { .carousel__track { grid-auto-columns: calc((100% - var(--card-gap, 18px)) / 2); } }
@media (max-width: 640px)  { .carousel__track { grid-auto-columns: 88%; } }

.carousel__nav {
  position: absolute; top: 38%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
  cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease);
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.3);
}
.carousel__nav:hover { background: var(--ak-green-deep); transform: translateY(-50%) scale(1.06); }
.carousel__nav svg { width: 22px; height: 22px; }
.carousel__nav--prev { left: -22px; }
.carousel__nav--next { right: -22px; }
@media (max-width: 720px) { .carousel__nav { display: none; } }

.carousel__dots {
  display: flex; gap: 8px; justify-content: center;
  margin-top: 28px;
}
.carousel__dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line); border: 0; padding: 0;
  cursor: pointer;
  transition: width .3s var(--ease), background .3s var(--ease);
}
.carousel__dots button[aria-current="true"] { width: 28px; background: var(--ak-green); border-radius: 100px; }

/* CARD (modernizada, sin badge verde superior) ---------------- */
.card {
  display: flex; flex-direction: column;
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  color: var(--ink);
  scroll-snap-align: start;
}
.card[hidden] { display: none !important; }
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -28px rgba(28,27,25,.3);
  border-color: var(--ak-green);
}
.card__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--ink);
}
.card__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transition: transform 1.2s var(--ease);
}
.card:hover .card__media img { transform: scale(1.06); }

.card__info {
  padding: 14px 16px 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.card__tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center; gap: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ak-green-deep);
  padding: 4px 9px;
  background: var(--ak-green-soft);
  border-radius: 100px;
}
.card__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-2);
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
}
.card__data {
  list-style: none;
  padding: 10px 0 0;
  margin: 0;
  display: grid;
  gap: 6px;
  border-top: 1px solid var(--line);
}
.card__data li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-size: 12px;
}
.card__data span {
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 10px;
}
.card__data strong {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
  font-size: 13px;
}
.card__cta {
  font-size: 12px;
  font-weight: 600;
  color: var(--ak-green-deep);
  margin-top: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card:hover .card__cta { color: var(--ink); }
.mosaic__grid .project {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  isolation: isolate;
  aspect-ratio: 3/4;
}
/* Row 1: 5 centro Bogotá · Row 2: Venecia + Sabana + CTA */
.project--m1, .project--m2, .project--m3, .project--m4, .project--m5 {
  grid-column: span 1;
}
.project--m6, .project--m7 {
  grid-column: span 2;
  aspect-ratio: 6/4;
}
.mosaic__cta {
  grid-column: span 1;
  aspect-ratio: 3/4;
  background: var(--ak-green);
  color: #fff;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 2vw, 28px);
  text-decoration: none;
  transition: background .25s var(--ease);
}
.mosaic__cta:hover { background: var(--ak-green-deep); }
.mosaic__cta strong { font-family: var(--font-display); font-size: var(--step-2); font-weight: 400; line-height: 1.1; }
.mosaic__cta span { font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; }

@media (max-width: 1100px) {
  .mosaic__grid { grid-template-columns: repeat(3, 1fr); }
  .project--m6, .project--m7 { grid-column: span 1; aspect-ratio: 3/4; }
  .mosaic__cta { aspect-ratio: 3/4; }
}
@media (max-width: 640px) {
  .mosaic__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .mosaic__grid { grid-template-columns: 1fr; }
  .mosaic__grid .project { aspect-ratio: 4/5; grid-column: 1 !important; }
}

/* En el mosaico el body más compacto */
.mosaic__grid .project__body { padding: clamp(14px, 1.6vw, 22px); gap: 8px; }
.mosaic__grid .project__logo { height: 38px; }
.mosaic__grid .project--m1 .project__logo,
.mosaic__grid .project--m4 .project__logo { height: 56px; }
.mosaic__grid .project__title { font-size: var(--step-2); }
.mosaic__grid .project__meta { font-size: 11px; letter-spacing: 0.06em; }
.mosaic__grid .project__price { font-size: var(--step--1); }
.mosaic__grid .project__badge { top: 14px; left: 14px; font-size: 10px; padding: 5px 10px; }

/* FEATURED ROW (proyectos above the fold) ----------------------- */
.featured {
  padding-bottom: clamp(60px, 7vw, 100px);
  position: relative;
  z-index: 2;
}
.featured__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(20px, 2.4vw, 32px);
  flex-wrap: wrap;
  gap: 16px;
}
.featured__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.6vw, 24px);
}
@media (max-width: 980px) {
  .featured__row { grid-template-columns: 1fr 1fr; }
  .featured__row .project--feat:nth-child(3) { grid-column: span 2; aspect-ratio: 16/9; }
}
@media (max-width: 640px) {
  .featured__row { grid-template-columns: 1fr; }
  .featured__row .project--feat:nth-child(3) { grid-column: auto; aspect-ratio: 4/5; }
}
.project--feat {
  position: relative;
  display: block;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  isolation: isolate;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 0.85fr 1.15fr; }
}
.hero__copy { position: relative; z-index: 2; }
.hero__title {
  font-size: var(--step-7);
  margin-top: 18px;
}
.hero__title em {
  font-style: italic;
  color: var(--ak-green-deep);
}
.hero__sub {
  margin-top: 24px;
  font-size: var(--step-1);
  color: var(--ink-2);
  max-width: 46ch;
}
.hero__ctas {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px;
}
.hero__showcase {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 30px 80px -30px rgba(28,27,25,.35);
}
.hero__showcase img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.hero__showcase:hover img { transform: scale(1.04); }
.hero__showcase::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 50%;
  background: linear-gradient(to top, rgba(20,20,19,.85), transparent);
}
.hero__showcase-meta {
  position: absolute; left: 28px; right: 28px; bottom: 24px; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  color: #fff;
}
.hero__showcase-meta .logo {
  height: 64px; width: auto; filter: brightness(0) invert(1);
}
.hero__showcase-meta .info { text-align: right; font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.9; }
.hero__showcase-meta .info strong { display: block; font-family: var(--font-display); font-size: var(--step-2); font-weight: 400; text-transform: none; letter-spacing: 0; margin-bottom: 4px; }
.hero__k {
  position: absolute; right: -8vw; top: -4vw;
  font-family: var(--font-display); font-size: 38vw; line-height: 0.8;
  color: var(--ak-green); opacity: 0.07;
  pointer-events: none; user-select: none; z-index: 0;
}

/* TRUST BAR ----------------------------------------------------- */
.trust {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(28px, 4vw, 44px) 0;
}
.trust--video {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 8vw, 110px) 0;
  isolation: isolate;
}
.trust__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
.trust__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20,20,19,0.78), rgba(20,20,19,0.6) 50%, rgba(20,20,19,0.78));
  z-index: 1;
  pointer-events: none;
}
.trust__inner { position: relative; z-index: 2; }
.trust__row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(16px, 2vw, 32px);
}
@media (max-width: 1180px) { .trust__row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .trust__row { grid-template-columns: repeat(2, 1fr); } }
.trust__item { text-align: left; }
.trust__num {
  font-family: var(--font-display); font-size: var(--step-4); line-height: 1; color: var(--ak-green); margin-bottom: 6px;
}
.trust__label { font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }

/* PROJECTS GRID — the heart -------------------------------------- */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-bottom: clamp(40px, 5vw, 64px);
  flex-wrap: wrap;
}
.section__title { font-size: var(--step-5); max-width: 18ch; }
.section__title em { font-style: italic; color: var(--ak-green-deep); }

.filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 40px;
}
.filter-chip {
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--ink-2);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: var(--step--1);
  font-weight: 500;
  transition: all .25s var(--ease);
}
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter-chip em {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  background: var(--ak-green-soft);
  color: var(--ak-green-deep);
  border-radius: 100px;
  vertical-align: middle;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.filter-chip[aria-pressed="true"] em {
  background: var(--ak-green);
  color: #fff;
}

.projects {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(20px, 2vw, 32px);
}
.project {
  grid-column: span 12;
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  isolation: isolate;
}
.project--lg { grid-column: span 8; aspect-ratio: 4/3; }
.project--md { grid-column: span 4; aspect-ratio: 3/4; }
.project--sq { grid-column: span 6; aspect-ratio: 1/1; }
@media (max-width: 880px) {
  .project--lg, .project--md, .project--sq { grid-column: span 12; aspect-ratio: 4/5; }
}
.project__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), filter .5s var(--ease);
}
.project:hover .project__img { transform: scale(1.06); }
.project::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,20,19,0) 35%, rgba(20,20,19,0.78) 100%);
  z-index: 1;
}
.project__body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(20px, 2.5vw, 36px);
  color: #fff;
  display: flex; flex-direction: column; gap: 14px;
}
.project__logo { height: 56px; width: auto; max-width: 60%; filter: brightness(0) invert(1); }
.project__meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: var(--step--1); letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.9; }
.project__meta span::after { content: "·"; margin-left: 14px; opacity: 0.6; }
.project__meta span:last-child::after { content: ""; }
.project__title {
  font-family: var(--font-display); font-size: var(--step-3); font-weight: 400; line-height: 1.1;
}
.project__price {
  font-size: var(--step-0); color: rgba(255,255,255,.85);
}
.project__price strong { color: #fff; font-weight: 600; }
.project__badge {
  position: absolute; top: 20px; left: 20px; z-index: 3;
  background: var(--ak-green); color: #fff;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
  padding: 6px 12px; border-radius: 100px;
}
.project__badge--edge { background: var(--bg); color: var(--ak-green-deep); }

/* INTENT SELECTOR ---------------------------------------------- */
.intents {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
@media (max-width: 880px) { .intents { grid-template-columns: 1fr; } }
.intent {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  transition: all .3s var(--ease);
  display: flex; flex-direction: column; gap: 16px;
  min-height: 240px;
}
.intent:hover { border-color: var(--ak-green); transform: translateY(-4px); }
.intent__icon {
  width: 44px; height: 44px; color: var(--ak-green-deep);
}
.intent__title { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.1; }
.intent__desc { color: var(--ink-2); font-size: var(--step-0); }
.intent__arrow { margin-top: auto; color: var(--ak-green-deep); font-weight: 600; font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; }
.intent__arrow::after { content: " →"; }

/* EDGE / SUSTAINABILITY ---------------------------------------- */
.edge {
  background: var(--surface-dark);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 96px);
  display: grid; gap: clamp(32px, 4vw, 56px);
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .edge { grid-template-columns: 1fr 1fr; align-items: center; } }
.edge h2.edge__title,
.edge .edge__title { color: var(--bg); font-size: var(--step-5); }
.edge .edge__title em { color: var(--ak-green); font-style: italic; }
.edge__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.edge__stat strong { display: block; font-family: var(--font-display); font-size: var(--step-4); color: var(--ak-green); line-height: 1; margin-bottom: 8px; }
.edge__stat span { font-size: var(--step--1); opacity: 0.75; letter-spacing: 0.05em; text-transform: uppercase; }

/* BLOG · LAYOUT EDITORIAL ------------------------------------- */
.editorial__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}
.editorial__nav {
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap;
}
.editorial__cat {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  transition: color .25s var(--ease);
  position: relative;
}
.editorial__cat:hover { color: var(--ink); }
.editorial__cat[aria-current="true"] {
  color: var(--ink);
  font-weight: 600;
}
.editorial__cat[aria-current="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--ak-green);
}

.editorial__layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 980px) {
  .editorial__layout { grid-template-columns: 1fr; }
}

/* HERO POST */
.editorial__hero {
  display: flex; flex-direction: column;
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  color: var(--ink);
}
.editorial__hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -28px rgba(28,27,25,.25);
  border-color: var(--ak-green);
}
.editorial__hero-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--ink);
}
.editorial__hero-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.editorial__hero:hover .editorial__hero-img img { transform: scale(1.04); }
.editorial__pill {
  position: absolute; top: 18px; left: 18px;
  background: var(--bg);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 100px;
}
.editorial__hero-body {
  padding: clamp(24px, 2.5vw, 36px);
  display: flex; flex-direction: column; gap: 14px;
}
.editorial__meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ak-green-deep);
  font-weight: 600;
}
.editorial__hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-4);
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
}
.editorial__hero-title em {
  font-style: italic;
  color: var(--ak-green-deep);
}
.editorial__hero-excerpt {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}
.editorial__readmore {
  font-size: 13px;
  font-weight: 600;
  color: var(--ak-green-deep);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* LISTADO COMPACTO */
.editorial__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; flex-direction: column;
}
.editorial__list li {
  border-bottom: 1px solid var(--line);
}
.editorial__list li:first-child { border-top: 1px solid var(--line); }
.editorial__list a {
  display: grid;
  grid-template-columns: auto 92px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  color: var(--ink);
  transition: padding .3s var(--ease);
}
.editorial__list a:hover {
  padding-left: 8px;
}
.editorial__list a:hover .editorial__num { color: var(--ak-green); }
.editorial__list a:hover h4 { color: var(--ak-green-deep); }
.editorial__num {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-style: italic;
  color: var(--muted);
  transition: color .3s var(--ease);
  line-height: 1;
}
.editorial__list-img {
  width: 92px;
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}
.editorial__list-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.editorial__list a:hover .editorial__list-img img { transform: scale(1.08); }
.editorial__list h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-1);
  line-height: 1.2;
  margin: 6px 0 0;
  color: var(--ink);
  transition: color .25s var(--ease);
}
@media (max-width: 480px) {
  .editorial__list a { grid-template-columns: auto 72px 1fr; gap: 12px; }
  .editorial__list-img { width: 72px; }
}

/* FOOTER ------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--bg);
  margin-top: clamp(80px, 10vw, 140px);
  position: relative;
}
.site-footer a { transition: color .25s var(--ease); }
.site-footer a:hover { color: var(--ak-green); }

/* CTA stripe */
.footer__cta {
  background: linear-gradient(180deg, var(--surface-dark-2), var(--ink));
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: clamp(40px, 5vw, 72px) 0;
}
.footer__cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}
@media (max-width: 880px) { .footer__cta-inner { grid-template-columns: 1fr; } }
.footer__cta h2.footer__cta-title,
.footer__cta .footer__cta-title {
  color: var(--bg) !important;
  font-size: var(--step-4);
  margin-top: 10px;
  max-width: 22ch;
}
.footer__cta .footer__cta-title em { color: var(--ak-green) !important; font-style: italic; }
.footer__cta-actions {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
}
.footer__cta-tel {
  color: rgba(247,244,237,.7);
  text-transform: none; letter-spacing: 0;
  font-weight: 400;
}
.footer__cta-tel strong { color: var(--bg); font-weight: 600; margin-left: 4px; }
.footer__cta-tel:hover { color: var(--ak-green); }

/* Top grid */
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr;
  gap: clamp(28px, 3vw, 56px);
  padding: clamp(56px, 7vw, 96px) 0 56px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 1100px) { .footer__top { grid-template-columns: 1fr 1fr 1fr; } .footer__brand, .footer__contact { grid-column: span 3; } }
@media (max-width: 640px)  { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand, .footer__contact { grid-column: span 2; } }

/* Brand block */
.footer__brand { max-width: 38ch; }
.footer__logo { display: inline-block; }
.footer__logo img { height: 44px; filter: brightness(0) invert(1); }
.footer__tagline {
  color: rgba(247,244,237,.7);
  font-size: var(--step-0);
  line-height: 1.55;
  margin: 22px 0 0;
}
.footer__tagline strong { color: var(--bg); font-weight: 600; }
.footer__badges {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 22px;
}
.footer__badge {
  display: inline-flex; align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ak-green);
  padding: 6px 12px;
  border: 1px solid rgba(149,183,71,.3);
  border-radius: 100px;
  background: rgba(149,183,71,.06);
}
.footer__social {
  display: flex; gap: 10px;
  margin-top: 22px;
}
.footer__social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: var(--bg);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.footer__social a:hover { background: var(--ak-green); color: var(--ink); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }

/* Link cols */
.footer__col h4 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247,244,237,.5);
  margin: 0 0 22px;
  font-weight: 600;
}
.footer__col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.footer__col a { font-size: 15px; color: rgba(247,244,237,.85); }

/* Contact */
.footer__contact h4 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247,244,237,.5);
  margin: 0 0 22px;
  font-weight: 600;
}
.footer__contact-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 18px;
}
.footer__contact-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(247,244,237,.75);
}
.footer__contact-list svg {
  width: 18px; height: 18px;
  color: var(--ak-green);
  margin-top: 2px;
}
.footer__contact-list a { color: rgba(247,244,237,.85); white-space: nowrap; }
.footer__contact-list a strong { color: var(--bg); font-weight: 600; white-space: nowrap; }
.footer__contact-list li { white-space: nowrap; min-width: 0; }
.footer__contact-list li > div { min-width: 0; }
.footer__contact { min-width: 220px; }

/* Bottom row */
.footer__bottom {
  padding: 28px 0 36px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-size: 12px;
  color: rgba(247,244,237,.5);
  flex-wrap: wrap;
}
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a { color: rgba(247,244,237,.65); }

/* FLOATING WHATSAPP + STICKY MOBILE ---------------------------- */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 32px -8px rgba(0,0,0,.35);
  transition: transform .25s var(--ease);
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 28px; height: 28px; }
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: none;
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  padding: 10px;
  gap: 8px;
}
.mobile-cta a {
  flex: 1; text-align: center; padding: 14px;
  border-radius: var(--radius);
  font-size: var(--step--1); font-weight: 600;
}
.mobile-cta a:first-child { background: var(--ak-green); color: #fff; }
.mobile-cta a:last-child { background: var(--ink); color: var(--bg); }
@media (max-width: 720px) { .mobile-cta { display: flex; } body { padding-bottom: 76px; } .wa-fab { bottom: 88px; } }

/* STYLEGUIDE specific ------------------------------------------ */
.sg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.sg-swatch { aspect-ratio: 4/3; border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); font-size: var(--step--1); }
.sg-swatch code { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.sg-card { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.sg-divider { height: 1px; background: var(--line); margin: 60px 0; }
