/* =========================================================
   GAID LANDING — guías (estilo Drumelia /es/guias).
   Hero (reutiliza .blog_hero, fondo blanco) + intro + bloque de
   zonas (rejilla de guías de zona) + tarjetas Compra / Venta.
   Escala fluida 1200 → 1920+ con clamp().
   ========================================================= */

/* ----- HERO: intro bajo el H1 ----- */
.gaid_hero__title { margin-bottom: clamp(20px, 2.2vw, 32px); }
.gaid_hero__intro {
  font-family: "Inter", "Inter Metric Fallback", sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 0.75vw + 7px, 25px);
  line-height: 150%;
  color: #3C3C3B;
  margin: 0 auto;
  max-width: 980px;
}

/* ----- HERO: pestañas Гайды / Блог ----- */
.gaid_hero__tabs {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 2vw, 40px);
  margin-top: clamp(24px, 2.6vw, 40px);
}
.gaid_hero__tab {
  position: relative;
  font-family: "Inter", "Inter Metric Fallback", sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 0.4vw + 9px, 17px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8A8A8A;
  text-decoration: none;
  padding-bottom: 8px;
  cursor: pointer;
  transition: color .2s ease;
}
.gaid_hero__tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
  transition: background-color .2s ease;
}
.gaid_hero__tab:hover { color: #010101; }
.gaid_hero__tab:hover::after { background: #E1E1E1; }
.gaid_hero__tab.is-active { color: #010101; }
.gaid_hero__tab.is-active::after { background: #C9A87C; }

/* =========================================================
   ZONES — encabezado + rejilla de guías de zona (tarjetas con foto)
   ========================================================= */
.gaid_zones {
  background: #FFFFFF;
  padding: clamp(48px, 5vw, 96px) clamp(50px, 5vw, 96px);
  max-width: 1920px;
  margin: 0 auto;
}
.gaid_zones__head {
  max-width: 980px;
  margin: 0 auto clamp(40px, 4vw, 72px);
  text-align: center;
}
.gaid_zones__title {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(32px, 1.6vw + 12px, 56px);
  line-height: 110%;
  letter-spacing: 0.02em;
  color: #010101;
  margin: 0 0 clamp(16px, 1.6vw, 24px);
  text-transform: uppercase;
}
.gaid_zones__desc {
  font-family: "Inter", "Inter Metric Fallback", sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 0.6vw + 8px, 22px);
  line-height: 150%;
  color: #3C3C3B;
  margin: 0;
}

.gaid_zones__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2vw, 40px) clamp(20px, 1.8vw, 32px);
}
.gaid_zones__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.gaid_zones__photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.gaid_zones__photo-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}
.gaid_zones__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.gaid_zones__card:hover .gaid_zones__photo { transform: scale(1.04); }
.gaid_zones__arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  border: 1.6px solid #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.12);
  transition: background .2s;
}
.gaid_zones__card:hover .gaid_zones__arrow { background: rgba(255, 255, 255, 0.25); }
.gaid_zones__name {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(24px, 1vw + 14px, 36px);
  line-height: 120%;
  letter-spacing: 0.02em;
  color: #010101;
  margin: clamp(16px, 1.5vw, 24px) 0 6px;
}
.gaid_zones__cta {
  font-family: "Inter", "Inter Metric Fallback", sans-serif;
  font-weight: 400;
  font-size: clamp(13px, 0.4vw + 8px, 16px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #41545C;
  transition: color .2s;
}
.gaid_zones__card:hover .gaid_zones__cta { color: #010101; }
.gaid_zones__empty {
  text-align: center;
  font-family: "Inter", "Inter Metric Fallback", sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 0.6vw + 8px, 22px);
  color: #8A8A8A;
  padding: clamp(40px, 5vw, 80px) 0;
  margin: 0;
}

/* =========================================================
   PROCESS GUIDES — tarjetas modernas Compra / Venta.
   Degradados premium (slate-teal de marca + bronce cálido), línea de
   acento champán, brillo superior y botón circular de flecha animado.
   ========================================================= */
.gaid_process {
  max-width: 1920px;
  margin: 0 auto clamp(64px, 7vw, 128px);
  padding: 0 clamp(50px, 5vw, 96px);
}
/* When the buy/sell cards sit directly under the hero (cards first, zones
   after) they need their own top breathing room — the zones block used to
   provide it. */
.gaid_process--top {
  margin-top: clamp(32px, 4vw, 72px);
}
.gaid_process__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2vw, 32px);
}
/* Single card (e.g. only the «Guía de compra» card, no «Guía de venta») —
   span the full content width instead of leaving an empty second column. */
.gaid_process__grid--solo {
  grid-template-columns: 1fr;
}
.gaid_process__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #FFFFFF;
  padding: clamp(40px, 4vw, 76px) clamp(32px, 3.5vw, 64px) clamp(40px, 4vw, 72px);
  min-height: clamp(300px, 28vw, 480px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease;
}
/* Soft top-right light wash */
.gaid_process__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(115% 80% at 100% 0%, rgba(255, 255, 255, .14), transparent 58%);
  opacity: .9;
  transition: opacity .45s ease;
}
/* Thin champagne accent line at the top */
.gaid_process__card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #C9A87C 0%, rgba(201, 168, 124, .25) 45%, transparent 80%);
}
.gaid_process__card--buy,
.gaid_process__card--tax  { background: linear-gradient(145deg, #10171A 0%, #2C3B42 58%, #41545C 100%); }
.gaid_process__card--sell,
.gaid_process__card--mortgage { background: linear-gradient(145deg, #2A2724 0%, #4C4640 55%, #756B60 100%); }
.gaid_process__card:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 32px 60px -34px rgba(0, 0, 0, .65);
}
.gaid_process__card:hover::before { opacity: 1; }

.gaid_process__title {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(30px, 1.5vw + 14px, 56px);
  line-height: 110%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 clamp(16px, 1.6vw, 24px);
}
.gaid_process__text {
  font-family: "Inter", "Inter Metric Fallback", sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 0.6vw + 8px, 22px);
  line-height: 155%;
  margin: 0 0 auto;
  max-width: 520px;
  color: rgba(255, 255, 255, .82);
}
.gaid_process__cta {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 1.2vw, 20px);
  margin-top: clamp(28px, 3vw, 48px);
}
.gaid_process__cta-label {
  font-family: "Inter", "Inter Metric Fallback", sans-serif;
  font-weight: 500;
  font-size: clamp(13px, 0.4vw + 8px, 15px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
}
.gaid_process__cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(38px, 3vw, 46px);
  height: clamp(38px, 3vw, 46px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4);
  transition: background-color .35s ease, border-color .35s ease, transform .35s ease;
}
.gaid_process__cta-arrow svg { display: block; }
.gaid_process__cta-arrow svg path { stroke: #FFFFFF; }
.gaid_process__card:hover .gaid_process__cta-arrow {
  background: #C9A87C;
  border-color: #C9A87C;
  transform: translateX(4px);
}
.gaid_process__card:hover .gaid_process__cta-arrow svg path { stroke: #10171A; }

/* =========================================================
   ADAPTIVE
   ========================================================= */
@media (max-width: 1280px) {
  .gaid_zones__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .gaid_zones__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .gaid_zones { padding: 32px 30px; }
  .gaid_zones__grid { grid-template-columns: 1fr; gap: 28px; }
  .gaid_zones__photo-wrap { aspect-ratio: 3 / 2; }
  .gaid_process { padding: 0 30px; }
  .gaid_process__grid { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .gaid_zones { padding: 24px 16px; }
  .gaid_process { padding: 0 16px; }
  .gaid_process__card { padding: 28px 24px 32px; min-height: 0; }
}
