/* ============================================
   GEMMA DESARROLLOS INMOBILIARIOS
   styles.css · v2.0 · Sistema Tierra Firme
   Brandkit Gemma · Junio 2026
   ============================================ */

/* ---------- TOKENS GEMMA · TIERRA FIRME v2.0 ---------- */
:root {
  /* Neutros · 35% Negro Tierra · 48% Hueso Cálido */
  --gm-black: #161310;
  --gm-black-soft: #2A2520;
  --gm-white: #FAF6EE;
  --gm-white-pure: #FFFFFF;

  /* Warm scale */
  --gm-warm-50: #F3EFE6;
  --gm-warm-100: #EDE7DB;
  --gm-warm-200: #DDD2C0;
  --gm-warm-300: #C9BCA8;
  --gm-warm-500: #8A8A73;
  --gm-warm-700: #4A4A3C;

  /* Materiales · 12% Arena · 6% Piedra */
  --gm-stone: #6A6A55;
  --gm-sand: #E4D9CA;
  --gm-earth: #A8A691;
  --gm-cement: #C9BCA8;

  /* Acento primario · Terracota Tostada · 3% · CTA y detalles */
  --gm-terracota: #B14B3B;
  --gm-terracota-soft: #E7CCC4;
  --gm-terracota-deep: #8C3829;

  /* Acento secundario · Olivo Seco · 1% · estados positivos */
  --gm-olivo: #7C8466;
  --gm-olivo-soft: #D6DAC8;
  --gm-olivo-deep: #5C6B48;

  /* Estados */
  --gm-success: #5C6B48;
  --gm-warning: #C77D3A;
  --gm-danger: #8C3829;

  /* Tipografías · Tierra Firme */
  --gm-font-display: 'Libre Franklin', 'Arial Narrow', Arial, sans-serif;
  --gm-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --gm-font-mono: 'IBM Plex Mono', 'JetBrains Mono', 'Courier New', monospace;

  /* Otros */
  --gm-radius-sm: 4px;
  --gm-radius-md: 8px;
  --gm-radius-lg: 16px;
  --gm-radius-xl: 24px;
  --gm-shadow-sm: 0 1px 2px rgba(22, 19, 16, 0.04), 0 1px 3px rgba(22, 19, 16, 0.06);
  --gm-shadow-md: 0 4px 12px rgba(22, 19, 16, 0.06), 0 8px 24px rgba(22, 19, 16, 0.04);
  --gm-shadow-lg: 0 12px 32px rgba(22, 19, 16, 0.08), 0 24px 48px rgba(22, 19, 16, 0.06);
  --gm-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gm-ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --gm-transition: 300ms var(--gm-ease);

  --gm-container: 1280px;
  --gm-container-narrow: 1080px;
  --gm-gutter: clamp(24px, 5vw, 80px);
}

/* ---------- RESET ---------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gm-black);
  background: var(--gm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--gm-transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  color: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Focus accesible */
:focus-visible {
  outline: 2px solid var(--gm-terracota);
  outline-offset: 3px;
  border-radius: var(--gm-radius-sm);
}

/* Selection */
::selection {
  background: var(--gm-terracota);
  color: var(--gm-white-pure);
}

/* ---------- UTILIDADES ---------- */
.gm-container {
  width: 100%;
  max-width: var(--gm-container);
  margin: 0 auto;
  padding: 0 var(--gm-gutter);
}

.gm-mono {
  font-family: var(--gm-font-mono);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gm-eyebrow {
  font-family: var(--gm-font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gm-warm-700);
  margin: 0 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.gm-eyebrow--light {
  color: var(--gm-warm-300);
}

.gm-eyebrow__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gm-terracota);
  border-radius: 50%;
}

.gm-h2 {
  font-family: var(--gm-font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--gm-black);
  margin: 0 0 24px;
}

.gm-h2 em {
  font-style: normal;
  font-weight: inherit;
  color: var(--gm-warm-700);
}

.gm-h2--light {
  color: var(--gm-white);
}

.gm-h2--light em {
  color: var(--gm-warm-300);
}

.gm-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--gm-warm-700);
  margin: 0 0 20px;
  max-width: 56ch;
}

.gm-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gm-warm-700);
  max-width: 56ch;
}

.gm-section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}

.gm-section--dark {
  background: var(--gm-black);
  color: var(--gm-white);
}

.gm-section--warm {
  background: var(--gm-warm-50);
}

.gm-section__header {
  margin-bottom: clamp(48px, 6vw, 80px);
  max-width: 720px;
}

.gm-section__intro {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--gm-warm-700);
  line-height: 1.6;
  max-width: 56ch;
}

.gm-section__intro--light {
  color: var(--gm-warm-300);
}

/* ---------- BUTTONS ---------- */
.gm-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--gm-font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all var(--gm-transition);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.gm-btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--gm-transition);
}

.gm-btn:hover svg {
  transform: translateX(4px);
}

.gm-btn--primary {
  background: var(--gm-black);
  color: var(--gm-white);
  border-color: var(--gm-black);
}

.gm-btn--primary:hover {
  background: var(--gm-terracota);
  border-color: var(--gm-terracota);
}

.gm-btn--ghost {
  background: transparent;
  color: var(--gm-black);
  border-color: var(--gm-warm-300);
}

.gm-btn--ghost:hover {
  border-color: var(--gm-black);
  background: var(--gm-black);
  color: var(--gm-white);
}

.gm-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--gm-black);
  border-bottom: 1px solid var(--gm-warm-300);
  padding-bottom: 4px;
  transition: all var(--gm-transition);
}

.gm-link-arrow::after {
  content: "→";
  transition: transform var(--gm-transition);
}

.gm-link-arrow:hover {
  color: var(--gm-terracota-deep);
  border-bottom-color: var(--gm-terracota-deep);
}

.gm-link-arrow:hover::after {
  transform: translateX(4px);
}

/* ============================================
   HEADER
   ============================================ */
.gm-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all var(--gm-transition);
  border-bottom: 1px solid transparent;
}

.gm-header.is-scrolled {
  background: rgba(250, 246, 238, 0.92);
  border-bottom-color: var(--gm-warm-200);
}

.gm-header__inner {
  max-width: var(--gm-container);
  margin: 0 auto;
  padding: 18px var(--gm-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: padding var(--gm-transition);
}

.gm-header.is-scrolled .gm-header__inner {
  padding-top: 12px;
  padding-bottom: 12px;
}

.gm-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.gm-header__logo-img {
  height: 40px;
  width: auto;
  display: block;
  transition: opacity var(--gm-transition), height var(--gm-transition);
}

.gm-header__logo-sub {
  font-family: var(--gm-font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gm-warm-500);
  padding-left: 12px;
  border-left: 1px solid var(--gm-warm-300);
  line-height: 1.2;
  max-width: 90px;
  transition: color var(--gm-transition);
}

.gm-header.is-scrolled .gm-header__logo-img {
  height: 34px;
}

.gm-header__logo:hover .gm-header__logo-img {
  opacity: 0.7;
}

.gm-header__logo:hover .gm-header__logo-sub {
  color: var(--gm-black);
}

.gm-nav {
  display: flex;
  flex: 1;
  justify-content: center;
}

.gm-nav__list {
  display: flex;
  gap: 32px;
}

.gm-nav__link {
  font-size: 1.02rem;
  font-weight: 400;
  color: var(--gm-warm-700);
  position: relative;
  padding: 4px 0;
  transition: color var(--gm-transition);
}

.gm-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gm-terracota);
  transition: width var(--gm-transition);
}

.gm-nav__link:hover {
  color: var(--gm-black);
}

.gm-nav__link:hover::after {
  width: 100%;
}

.gm-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--gm-terracota);
  color: var(--gm-white-pure);
  font-family: var(--gm-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all var(--gm-transition);
  flex-shrink: 0;
}

.gm-header__cta:hover {
  background: var(--gm-terracota-deep);
  transform: translateY(-1px);
}

.gm-header__cta-icon {
  width: 16px;
  height: 16px;
}

.gm-header__burger {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.gm-header__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gm-black);
  transition: all var(--gm-transition);
  transform-origin: center;
}

body.gm-menu-open .gm-header__burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.gm-menu-open .gm-header__burger span:nth-child(2) {
  opacity: 0;
}

body.gm-menu-open .gm-header__burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.gm-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gm-white);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--gm-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px var(--gm-gutter) 40px;
}

body.gm-menu-open .gm-mobile-menu {
  opacity: 1;
  pointer-events: auto;
}

.gm-mobile-menu nav {
  text-align: center;
  width: 100%;
}

.gm-mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.gm-mobile-menu__link {
  font-family: var(--gm-font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 700;
  color: var(--gm-black);
  font-style: normal;
  letter-spacing: -0.02em;
}

.gm-mobile-menu__cta {
  display: inline-flex;
  padding: 16px 32px;
  background: var(--gm-terracota);
  color: var(--gm-white-pure);
  border-radius: 999px;
  font-family: var(--gm-font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================
   HERO
   ============================================ */
.gm-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 140px var(--gm-gutter) 80px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--gm-warm-50) 0%, var(--gm-white) 100%);
}

.gm-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.gm-hero__bg-grain {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.45 0 0 0 0 0.4 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.gm-hero__bg-lines {
  position: absolute;
  top: 0;
  right: -10%;
  width: 70%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, transparent 60%, var(--gm-warm-100) 60%, var(--gm-warm-100) 60.3%, transparent 60.3%),
              linear-gradient(135deg, transparent 0%, transparent 75%, var(--gm-sand) 75%, var(--gm-sand) 75.4%, transparent 75.4%),
              linear-gradient(135deg, transparent 0%, transparent 88%, var(--gm-warm-200) 88%, var(--gm-warm-200) 88.5%, transparent 88.5%);
  opacity: 0.6;
}

.gm-hero__inner {
  max-width: var(--gm-container);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
  animation: gm-hero-in 1.2s var(--gm-ease) both;
}

.gm-eyebrow--hero {
  margin-bottom: 32px;
  color: var(--gm-warm-700);
  font-size: 0.86rem;
  letter-spacing: 0.2em;
  gap: 13px;
}

.gm-hero__title {
  font-family: var(--gm-font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6.4vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--gm-black);
  margin: 0 0 32px;
  max-width: 18ch;
  animation: gm-hero-in 1.2s var(--gm-ease) 0.1s both;
}

.gm-hero__title em {
  font-style: normal;
  font-weight: inherit;
  color: var(--gm-warm-700);
}

.gm-hero__subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--gm-warm-700);
  max-width: 56ch;
  margin: 0 0 40px;
  animation: gm-hero-in 1.2s var(--gm-ease) 0.25s both;
}

.gm-hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 80px;
  animation: gm-hero-in 1.2s var(--gm-ease) 0.4s both;
}

.gm-hero__tagline {
  display: flex;
  align-items: center;
  gap: 20px;
  animation: gm-hero-in 1.2s var(--gm-ease) 0.55s both;
}

.gm-hero__tagline-line {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gm-warm-300);
  flex-shrink: 0;
}

.gm-hero__tagline-text {
  font-family: var(--gm-font-display);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  color: var(--gm-warm-700);
  letter-spacing: -0.005em;
}

.gm-hero__scroll {
  position: absolute;
  bottom: 32px;
  right: var(--gm-gutter);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gm-warm-500);
  z-index: 1;
}

.gm-hero__scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: var(--gm-warm-300);
  position: relative;
  overflow: hidden;
}

.gm-hero__scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gm-black);
  animation: gm-scroll-line 2.4s ease-in-out infinite;
}

@keyframes gm-scroll-line {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

@keyframes gm-hero-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   PRESENTACIÓN
   ============================================ */
/* ============================================
   PRESENTACIÓN · Sobre Gemma
   ============================================ */
.gm-presentation__figure {
  position: relative;
  margin: 0 0 clamp(40px, 6vw, 80px);
  width: 100%;
}

.gm-presentation__photo {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--gm-radius-md);
  box-shadow: var(--gm-shadow-lg);
  display: block;
}

.gm-presentation__caption {
  margin-top: 14px;
  text-align: right;
  color: var(--gm-warm-500);
}

.gm-presentation__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.gm-presentation__bullets {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 8px;
}

.gm-presentation__bullets li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gm-warm-200);
  color: var(--gm-black);
  font-size: 1rem;
  line-height: 1.5;
}

.gm-presentation__bullets li:last-child {
  border-bottom: none;
}

.gm-presentation__bullets .gm-mono {
  color: var(--gm-terracota);
  flex-shrink: 0;
}

/* ============================================
   TAGLINE BAND
   ============================================ */
.gm-tagline-band {
  background: var(--gm-warm-100);
  padding: clamp(80px, 10vw, 140px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gm-tagline-band::before,
.gm-tagline-band::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  background: var(--gm-warm-300);
}

.gm-tagline-band::before { left: 8%; }
.gm-tagline-band::after { right: 8%; }

.gm-tagline-band__text {
  font-family: var(--gm-font-display);
  font-weight: 800;
  font-style: normal;
  font-size: clamp(1.6rem, 5vw, 3.5rem);
  line-height: 1.05;
  color: var(--gm-black);
  letter-spacing: -0.025em;
  max-width: 22ch;
  margin: 0 auto;
}

.gm-tagline-band__text em {
  font-style: normal;
  color: var(--gm-warm-700);
}

.gm-tagline-band__sub {
  margin-top: 32px;
  color: var(--gm-warm-500);
}

/* ============================================
   DESARROLLOS
   ============================================ */
.gm-developments__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}

.gm-card {
  background: var(--gm-white-pure);
  border: 1px solid var(--gm-warm-200);
  border-radius: var(--gm-radius-md);
  overflow: hidden;
  transition: all var(--gm-transition);
  display: flex;
  flex-direction: column;
}

.gm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gm-shadow-md);
  border-color: var(--gm-warm-300);
}

.gm-card__image {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  background: var(--gm-warm-100);
}

.gm-card__image--gemma1 {
  background: url('assets/desarrollos/gemma-1.jpg?v=3') center/cover no-repeat, var(--gm-warm-200);
}

.gm-card__image--satori {
  background: url('assets/desarrollos/satori.jpg?v=3') center/cover no-repeat, var(--gm-warm-200);
}

.gm-card__image--gemma2 {
  background: url('assets/desarrollos/gemma-2.jpg?v=3') center/cover no-repeat, var(--gm-warm-200);
}

.gm-card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22,19,16,0.18) 0%, transparent 30%, transparent 70%, rgba(22,19,16,0.12) 100%);
  pointer-events: none;
}

.gm-card__index {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--gm-white);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  z-index: 1;
}

.gm-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gm-card__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gm-warm-700);
  margin-bottom: 16px;
}

.gm-card__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.gm-card__status-dot--launch { background: var(--gm-terracota); }
.gm-card__status-dot--obra { background: var(--gm-warning); }
.gm-card__status-dot--pozo { background: var(--gm-warning); }
.gm-card__status-dot--done { background: var(--gm-olivo); }

.gm-card__title {
  font-family: var(--gm-font-display);
  font-weight: 600;
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  color: var(--gm-black);
  margin: 0 0 8px;
}

.gm-card__location {
  color: var(--gm-warm-700);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.gm-card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--gm-warm-200);
  border-bottom: 1px solid var(--gm-warm-200);
  margin-bottom: 20px;
}

.gm-card__meta li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.9rem;
  color: var(--gm-black);
}

.gm-card__meta .gm-mono {
  color: var(--gm-warm-500);
}

.gm-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gm-black);
  font-weight: 500;
  font-size: 0.92rem;
  margin-top: auto;
  transition: color var(--gm-transition);
}

.gm-card__cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--gm-transition);
}

.gm-card__cta:hover {
  color: var(--gm-terracota-deep);
}

.gm-card__cta:hover svg {
  transform: translateX(4px);
}

.gm-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 4px;
}

.gm-card__actions .gm-card__cta {
  margin-top: 0;
}

.gm-btn--info {
  background: var(--gm-black);
  color: var(--gm-white);
  border-color: var(--gm-black);
  padding: 11px 22px;
  font-size: 0.78rem;
}

.gm-btn--info:hover {
  background: var(--gm-terracota);
  border-color: var(--gm-terracota);
}

/* ============================================
   MÉTODO
   ============================================ */
.gm-method__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: gm-method;
  border-top: 1px solid rgba(250, 246, 238, 0.15);
}

.gm-method__step {
  padding: 48px 32px 48px 0;
  position: relative;
  border-right: 1px solid rgba(250, 246, 238, 0.15);
  padding-left: 32px;
}

.gm-method__step:last-child {
  border-right: none;
}

.gm-method__num {
  margin-bottom: 32px;
  color: var(--gm-terracota-soft);
}

.gm-method__num .gm-mono {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
}

.gm-method__title {
  font-family: var(--gm-font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  letter-spacing: -0.015em;
  color: var(--gm-white);
  margin: 0 0 16px;
}

.gm-method__body {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--gm-warm-300);
  max-width: 28ch;
}

/* ============================================
   DIFERENCIALES
   ============================================ */
.gm-differentials__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.gm-diff {
  padding: 36px 0 8px;
  border-top: 1px solid var(--gm-warm-200);
}

.gm-diff__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gm-terracota-soft);
  color: var(--gm-terracota-deep);
  border-radius: var(--gm-radius-md);
  margin-bottom: 26px;
}

.gm-diff__icon svg {
  width: 32px;
  height: 32px;
}

.gm-diff__title {
  font-family: var(--gm-font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  color: var(--gm-black);
  margin: 0 0 14px;
}

.gm-diff__body {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gm-warm-700);
}

/* ============================================
   COMPRADORES E INVERSORES
   ============================================ */
.gm-audiences__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
}

.gm-audience {
  background: var(--gm-warm-50);
  border-radius: var(--gm-radius-lg);
  overflow: hidden;
  transition: all var(--gm-transition);
}

.gm-audience:hover {
  transform: translateY(-4px);
  box-shadow: var(--gm-shadow-md);
}

.gm-audience__visual {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gm-audience__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gm-audience__visual--live {
  background: linear-gradient(135deg, var(--gm-sand) 0%, var(--gm-warm-200) 100%);
}

.gm-audience__visual--invest {
  background: linear-gradient(135deg, var(--gm-stone) 0%, var(--gm-warm-700) 100%);
}

.gm-audience__shape {
  width: 60%;
  height: 60%;
  position: relative;
}

.gm-audience__shape--house {
  background:
    linear-gradient(135deg, transparent 50%, var(--gm-warm-50) 50%) top left / 50% 50% no-repeat,
    linear-gradient(225deg, transparent 50%, var(--gm-warm-50) 50%) top right / 50% 50% no-repeat,
    var(--gm-warm-100);
  border-radius: var(--gm-radius-sm);
  opacity: 0.7;
}

.gm-audience__shape--chart {
  background:
    linear-gradient(to top, var(--gm-warm-300) 30%, transparent 30%) 0 100% / 20% 100% no-repeat,
    linear-gradient(to top, var(--gm-warm-300) 50%, transparent 50%) 27% 100% / 20% 100% no-repeat,
    linear-gradient(to top, var(--gm-warm-300) 70%, transparent 70%) 54% 100% / 20% 100% no-repeat,
    linear-gradient(to top, var(--gm-terracota) 90%, transparent 90%) 81% 100% / 20% 100% no-repeat;
  opacity: 0.9;
}

.gm-audience__body {
  padding: clamp(28px, 4vw, 48px);
}

.gm-audience__tag {
  color: var(--gm-terracota);
  margin-bottom: 16px;
  display: block;
}

.gm-audience__title {
  font-family: var(--gm-font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--gm-black);
  margin: 0 0 16px;
}

.gm-audience__text {
  color: var(--gm-warm-700);
  margin-bottom: 28px;
  font-size: 1.02rem;
  line-height: 1.6;
}

/* ============================================
   CONTACTO
   ============================================ */
.gm-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.gm-contact__channels {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gm-contact__channels li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gm-warm-200);
}

.gm-contact__channels li:last-child {
  border-bottom: none;
}

.gm-contact__channels .gm-mono {
  color: var(--gm-warm-500);
}

.gm-contact__channels a {
  color: var(--gm-black);
  border-bottom: 1px solid transparent;
  transition: border-color var(--gm-transition);
}

.gm-contact__channels a:hover {
  border-bottom-color: var(--gm-terracota);
}

/* Form */
.gm-form {
  background: var(--gm-white-pure);
  border: 1px solid var(--gm-warm-200);
  border-radius: var(--gm-radius-lg);
  padding: clamp(28px, 4vw, 48px);
}

.gm-form__row {
  margin-bottom: 20px;
}

.gm-form__row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.gm-form__row--submit {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 0;
  margin-top: 32px;
}

.gm-form__field {
  display: block;
  position: relative;
}

.gm-form__label {
  display: block;
  font-family: var(--gm-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gm-warm-500);
  margin-bottom: 8px;
}

.gm-form__field input,
.gm-form__field select,
.gm-form__field textarea {
  width: 100%;
  padding: 12px 0;
  font-size: 1rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gm-warm-200);
  color: var(--gm-black);
  transition: border-color var(--gm-transition);
  border-radius: 0;
  outline: none;
}

.gm-form__field input:focus,
.gm-form__field select:focus,
.gm-form__field textarea:focus {
  border-bottom-color: var(--gm-black);
  outline: none;
}

.gm-form__field.is-error input,
.gm-form__field.is-error select,
.gm-form__field.is-error textarea {
  border-bottom-color: var(--gm-danger);
}

.gm-form__field textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.gm-form__field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%234A4A3C' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 18px;
  padding-right: 28px;
}

.gm-form__error {
  display: block;
  font-size: 0.8rem;
  color: var(--gm-danger);
  margin-top: 6px;
  min-height: 1em;
}

.gm-form__submit {
  flex: 1;
  justify-content: center;
  min-width: 200px;
}

.gm-form__legal {
  font-size: 0.78rem;
  color: var(--gm-warm-500);
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}

.gm-form__legal-link {
  color: var(--gm-warm-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gm-form__success {
  margin-top: 24px;
  padding: 20px;
  background: var(--gm-warm-50);
  border-left: 3px solid var(--gm-success);
  border-radius: 0 var(--gm-radius-sm) var(--gm-radius-sm) 0;
  font-size: 0.95rem;
  color: var(--gm-black);
}

/* ============================================
   FOOTER
   ============================================ */
.gm-footer {
  background: var(--gm-black);
  color: var(--gm-warm-300);
  padding: clamp(64px, 8vw, 100px) 0 0;
}

.gm-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(250, 246, 238, 0.1);
}

.gm-footer__brand {
  display: flex;
  flex-direction: column;
}

.gm-footer__logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  align-self: flex-start;
}

.gm-footer__logo {
  height: 44px;
  width: auto;
  display: block;
}

.gm-footer__logo-sub {
  font-family: var(--gm-font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gm-warm-500);
  padding-left: 12px;
  border-left: 1px solid var(--gm-warm-700);
  line-height: 1.2;
  max-width: 90px;
}

.gm-footer__tagline {
  font-family: var(--gm-font-display);
  font-style: normal;
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--gm-warm-300);
  max-width: 22ch;
}

.gm-footer__tagline em {
  font-style: normal;
  color: var(--gm-warm-50);
}

.gm-footer__heading {
  color: var(--gm-warm-500);
  margin-bottom: 20px;
}

.gm-footer__links,
.gm-footer__social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gm-footer__links a,
.gm-footer__social a {
  color: var(--gm-warm-300);
  font-size: 0.95rem;
  transition: color var(--gm-transition);
}

.gm-footer__links a:hover,
.gm-footer__social a:hover {
  color: var(--gm-white);
}

.gm-footer__bottom {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.gm-footer__bottom .gm-mono {
  color: var(--gm-warm-500);
}

.gm-footer__legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.gm-footer__legal a {
  font-family: var(--gm-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gm-warm-500);
  transition: color var(--gm-transition);
}

.gm-footer__legal a:hover {
  color: var(--gm-white);
}

/* ============================================
   WHATSAPP FLOTANTE
   ============================================ */
.gm-wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: var(--gm-white-pure);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 2px 8px rgba(0,0,0,0.12);
  z-index: 90;
  transition: all var(--gm-transition);
  animation: gm-wa-pulse 2.4s ease-in-out infinite;
}

.gm-wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0,0,0,0.18);
}

.gm-wa-float svg {
  width: 28px;
  height: 28px;
}

@keyframes gm-wa-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.gm-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms var(--gm-ease), transform 800ms var(--gm-ease);
}

.gm-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE — 4 breakpoints
   - desktop:           > 1024px
   - tablet landscape:  961-1024px
   - tablet portrait:   641-960px
   - mobile large:      481-640px
   - mobile small:      ≤ 480px
   ============================================ */

/* Tablet landscape · ≤ 1024 — sólo afecta header (oculta nav cuando se aprieta) */
@media (max-width: 960px) {
  .gm-nav {
    display: none;
  }

  .gm-header__cta {
    display: none;
  }

  .gm-header__burger {
    display: flex;
  }

  .gm-developments__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gm-developments__grid .gm-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
    margin: 0 auto;
  }

  .gm-method__steps {
    grid-template-columns: repeat(2, 1fr);
    border-bottom: 1px solid rgba(250, 246, 238, 0.15);
  }

  .gm-method__step:nth-child(odd) {
    border-right: 1px solid rgba(250, 246, 238, 0.15);
  }

  .gm-method__step:nth-child(even) {
    border-right: none;
  }

  .gm-method__step:nth-child(-n+2) {
    border-bottom: 1px solid rgba(250, 246, 238, 0.15);
  }

  .gm-differentials__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 40px;
  }

  .gm-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 48px 40px;
  }
}

/* Tablet portrait · ≤ 768 — colapso de grids a una columna */
@media (max-width: 768px) {
  :root {
    --gm-gutter: 28px;
  }

  .gm-section {
    padding: 72px 0;
  }

  .gm-hero {
    padding: 120px 28px 60px;
    min-height: 90vh;
  }

  .gm-hero__scroll {
    display: none;
  }

  .gm-presentation__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .gm-presentation__photo {
    aspect-ratio: 4/3;
  }

  .gm-developments__grid {
    grid-template-columns: 1fr;
  }

  .gm-developments__grid .gm-card:last-child {
    max-width: 100%;
  }

  .gm-audiences__grid {
    grid-template-columns: 1fr;
  }

  .gm-contact__grid {
    grid-template-columns: 1fr;
  }

  .gm-form__row--2col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gm-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .gm-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .gm-tagline-band::before,
  .gm-tagline-band::after {
    display: none;
  }

  /* Reducir ancho del headline en mobile para evitar texto súper grande sobre 2 líneas raras */
  .gm-hero__title {
    font-size: clamp(2.2rem, 9vw, 3.6rem);
  }

  .gm-eyebrow--hero {
    font-size: 0.74rem;
    letter-spacing: 0.16em;
  }

  .gm-h2 {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
  }
}

/* Mobile large · ≤ 640 — ajustes de header y diferenciales */
@media (max-width: 640px) {
  .gm-differentials__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }

  .gm-footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .gm-presentation__bullets li {
    font-size: 0.94rem;
  }
}

/* Mobile small · ≤ 480 */
@media (max-width: 480px) {
  :root {
    --gm-gutter: 20px;
  }

  .gm-header__logo-sub {
    display: none;
  }

  .gm-header__inner {
    gap: 12px;
  }

  .gm-hero {
    padding: 110px 20px 48px;
  }

  .gm-hero__ctas {
    width: 100%;
    flex-direction: column;
  }

  .gm-hero__ctas .gm-btn {
    width: 100%;
    justify-content: center;
  }

  .gm-hero__tagline {
    gap: 12px;
  }

  .gm-hero__tagline-line {
    width: 36px;
  }

  .gm-method__steps {
    grid-template-columns: 1fr;
    border-bottom: none;
  }

  .gm-method__step {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 36px;
    padding-bottom: 36px;
    border-right: none !important;
    border-bottom: 1px solid rgba(250, 246, 238, 0.15) !important;
  }

  .gm-method__step:last-child {
    border-bottom: none !important;
  }

  .gm-differentials__grid {
    grid-template-columns: 1fr;
  }

  .gm-form__row--submit {
    flex-direction: column;
    align-items: stretch;
  }

  .gm-form__submit {
    width: 100%;
  }

  .gm-contact__channels li {
    grid-template-columns: 80px 1fr;
    gap: 12px;
    font-size: 0.92rem;
  }

  .gm-wa-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }

  .gm-wa-float svg {
    width: 26px;
    height: 26px;
  }

  .gm-presentation__photo {
    aspect-ratio: 3/2;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .gm-reveal {
    opacity: 1;
    transform: none;
  }
}
