
/* Landing A.2 - Casas vacacionales, bungalows y glamping */
:root {
  --a2-navy: #03111f;
  --a2-teal: #008b8f;
  --a2-teal-bright: #1dd1d1;
  --a2-orange: #ff7a1a;
  --a2-blue: #2764d8;
  --a2-green: #168b61;
  --a2-purple: #6847cf;
  --a2-yellow: #f5a623;
  --a2-border: rgba(14, 27, 49, .11);
  --a2-line: #dce9ef;
  --a2-soft: #f6fbfd;
}

.a2-body {
  background: #f7fbfd;
}

.a2-header {
  background: rgba(3, 17, 31, .90);
  backdrop-filter: blur(18px);
}

.a2-header .header-inner {
  min-height: 74px;
}

.a2-header .header-cta {
  background: linear-gradient(135deg, var(--a2-teal), #0fb3b5);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 139, 143, .25);
}

.a2-main {
  overflow: hidden;
}

.a2-hero {
  position: relative;
  min-height: 620px;
  color: #fff;
  background: var(--a2-navy);
  overflow: hidden;
}

.a2-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,17,31,.98) 0%, rgba(3,17,31,.85) 38%, rgba(3,17,31,.32) 68%, rgba(3,17,31,.86) 100%),
    url("../images/landings/a2-casas/hero-casas-vacacionales.webp");
  background-size: cover;
  background-position: center;
}

.a2-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 26%, rgba(29,209,209,.16), transparent 26%),
    radial-gradient(circle at 82% 40%, rgba(255,122,26,.12), transparent 22%);
  pointer-events: none;
}

.a2-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .45fr);
  gap: 48px;
  align-items: center;
  min-height: 620px;
  padding: 108px 0 42px;
}

.a2-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: rgba(255,255,255,.74);
  font-size: .82rem;
  font-weight: 850;
}

.a2-breadcrumb a:hover {
  color: var(--a2-teal-bright);
}

.a2-title {
  max-width: 780px;
  font-size: clamp(3.1rem, 4.4vw, 5.1rem);
  line-height: .99;
  letter-spacing: -.055em;
  margin-bottom: 24px;
}

.a2-title span {
  color: var(--a2-teal-bright);
}

.a2-hero-text {
  max-width: 620px;
  color: rgba(255,255,255,.88);
  font-size: 1.07rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.a2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.a2-actions svg,
.a2-final-actions svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.a2-btn-outline {
  color: #fff;
  border: 1px solid rgba(255,255,255,.36);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
}

.a2-trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, max-content));
  gap: 28px;
  align-items: center;
}

.a2-trust-row > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: rgba(255,255,255,.88);
  font-size: .82rem;
  font-weight: 850;
}

.a2-trust-row svg {
  width: 34px;
  height: 34px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  color: var(--a2-teal-bright);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.a2-phone-hero {
  position: relative;
  justify-self: center;
  width: 250px;
  height: 486px;
  padding: 9px;
  border-radius: 38px;
  border: 9px solid #071d32;
  background: #071d32;
  box-shadow: 0 28px 70px rgba(0,0,0,.32);
}

.a2-phone-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

.a2-whatsapp-bubble {
  position: absolute;
  right: -22px;
  top: 45%;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #21c563;
  border: 6px solid rgba(255,255,255,.82);
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}

.a2-whatsapp-bubble svg {
  width: 34px;
  height: 34px;
  display: block;
  fill: #fff;
}

.a2-section {
  padding: 58px 0;
}

.a2-section-tight {
  padding: 38px 0;
}

.a2-heading {
  text-align: center;
  max-width: 940px;
  margin: 0 auto 30px;
}

.a2-heading h2 {
  margin-bottom: 8px;
  color: var(--a2-navy);
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.a2-heading p {
  color: var(--color-slate-500);
  margin-bottom: 0;
}

.a2-challenges {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.a2-challenges article {
  display: grid;
  justify-items: center;
  text-align: center;
  min-height: 160px;
  padding: 22px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--a2-border);
  box-shadow: var(--shadow-card);
}

.a2-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #fff;
}

.a2-icon svg {
  width: 28px;
  height: 28px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.a2-icon.teal { background: var(--a2-teal); }
.a2-icon.orange { background: var(--a2-orange); }
.a2-icon.purple { background: var(--a2-purple); }
.a2-icon.green { background: var(--a2-green); }
.a2-icon.yellow { background: var(--a2-yellow); }

.a2-challenges h3 {
  color: var(--a2-navy);
  font-size: .98rem;
  margin-bottom: 7px;
}

.a2-challenges p {
  color: var(--color-slate-500);
  font-size: .82rem;
  line-height: 1.4;
  margin: 0;
}

.a2-solution {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(185px, 265px)
    minmax(250px, 330px)
    166px
    minmax(250px, 330px)
    minmax(185px, 265px);
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 350px;
  padding: 22px 24px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 50%, rgba(25,209,209,.11), rgba(25,209,209,0) 28%),
    linear-gradient(180deg, #fff 0%, #f8fcfd 100%);
  border: 1px solid rgba(208, 224, 233, .92);
  box-shadow: 0 18px 46px rgba(9, 30, 48, .08);
  overflow: hidden;
}

.a2-device,
.a2-panel,
.a2-orb {
  position: relative;
  z-index: 2;
}

.a2-device-left {
  justify-self: end;
  margin-right: -10px;
}

.a2-device-right {
  justify-self: start;
  margin-left: -10px;
}

.a2-laptop {
  position: relative;
  width: 100%;
  max-width: 295px;
  height: 178px;
  border: 8px solid #071d32;
  border-radius: 16px 16px 10px 10px;
  background: #071d32;
  box-shadow: 0 20px 44px rgba(6, 26, 45, .18);
  overflow: hidden;
}

.a2-laptop::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(215,230,238,.9);
  box-shadow: 13px 0 0 rgba(215,230,238,.9), 26px 0 0 rgba(215,230,238,.9);
}

.a2-laptop img,
.a2-phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.a2-phone {
  position: absolute;
  z-index: 3;
  width: 66px;
  height: 132px;
  right: -18px;
  bottom: 0;
  border: 6px solid #071d32;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(6, 26, 45, .20);
}

.a2-device-left .a2-phone {
  bottom: 20px;
}

.a2-panel {
  min-height: 294px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 38px;
  color: #fff;
  box-shadow: 0 16px 34px rgba(13, 36, 65, .12);
}

.a2-panel-left {
  padding-right: 56px;
  border-radius: 24px 0 0 24px;
  background: linear-gradient(135deg, #0b9ca1 0%, #087e84 100%);
  clip-path: polygon(0 0, 92.5% 0, 100% 50%, 92.5% 100%, 0 100%);
}

.a2-panel-right {
  padding-left: 56px;
  border-radius: 0 24px 24px 0;
  background: linear-gradient(135deg, #2f6de1 0%, #1c4db9 100%);
  clip-path: polygon(7.5% 0, 100% 0, 100% 100%, 7.5% 100%, 0 50%);
}

.a2-panel-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 950;
  letter-spacing: -.03em;
}

.a2-panel-logo span {
  color: var(--a2-orange);
}

.a2-panel h3 {
  color: #fff;
  margin: 0 0 16px;
  font-size: 1.35rem;
  line-height: 1.14;
}

.a2-panel ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255,255,255,.94);
  font-size: .9rem;
  line-height: 1.36;
}

.a2-panel li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 6px;
}

.a2-panel li::before {
  content: "✓";
  font-weight: 950;
}

.a2-orb {
  z-index: 5;
  display: grid;
  place-items: center;
  justify-self: center;
  width: 166px;
  height: 166px;
  margin-inline: -15px;
  padding: 16px;
  border-radius: 50%;
  color: #fff;
  text-align: center;
  background: radial-gradient(circle at 32% 24%, #143b66, #041726 78%);
  border: 5px solid rgba(25,209,209,.82);
  box-shadow: 0 0 0 10px rgba(25,209,209,.16), 0 22px 45px rgba(3,17,31,.28);
  box-sizing: border-box;
}

.a2-orb strong {
  display: grid;
  justify-items: center;
  gap: 4px;
  line-height: 1.04;
}

.a2-orb span {
  color: var(--a2-teal-bright);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.a2-orb em {
  color: #fff;
  font-style: normal;
  font-size: .78rem;
  font-weight: 950;
}

.a2-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 24px 12px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--a2-border);
  box-shadow: var(--shadow-card);
}

.a2-kpis div {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 6px;
  min-height: 130px;
  padding: 8px 12px;
  border-right: 1px solid var(--a2-line);
}

.a2-kpis div:last-child {
  border-right: 0;
}

.a2-kpi-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--a2-teal);
}

.a2-kpi-icon svg {
  width: 21px;
  height: 21px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.a2-kpis div:nth-child(2) .a2-kpi-icon { background: var(--a2-orange); }
.a2-kpis div:nth-child(3) .a2-kpi-icon { background: var(--a2-purple); }
.a2-kpis div:nth-child(4) .a2-kpi-icon { background: var(--a2-green); }
.a2-kpis div:nth-child(5) .a2-kpi-icon { background: var(--a2-yellow); }
.a2-kpis div:nth-child(6) .a2-kpi-icon { background: var(--a2-teal); }

.a2-kpis strong {
  color: var(--a2-teal);
  font-size: clamp(1.3rem, 1.8vw, 2rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.a2-kpis small {
  color: var(--color-slate-700);
  font-size: .78rem;
  line-height: 1.22;
  font-weight: 800;
}

.a2-why-grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

.a2-why-copy h2 {
  color: var(--a2-navy);
  font-size: clamp(1.7rem, 2.9vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  margin-bottom: 16px;
}

.a2-why-copy p {
  color: var(--color-slate-500);
  line-height: 1.55;
}

.a2-why-copy .btn {
  width: fit-content;
  margin-top: 22px;
  background: var(--a2-teal);
  color: #fff;
}

.a2-table-wrap {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--a2-border);
  box-shadow: var(--shadow-card);
  background: #fff;
}

.a2-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .83rem;
}

.a2-table th,
.a2-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #e8f0f4;
  border-right: 1px solid #e8f0f4;
  color: var(--color-slate-700);
  text-align: center;
}

.a2-table th:first-child,
.a2-table td:first-child {
  text-align: left;
  color: var(--a2-navy);
  font-weight: 850;
}

.a2-table th {
  background: #f2f7fa;
  color: var(--a2-navy);
  font-weight: 950;
}

.a2-table th:last-child {
  background: var(--a2-teal);
  color: #fff;
  text-align: left;
  padding-left: 28px;
}

.a2-table td:last-child {
  background: rgba(0,139,143,.08);
  color: var(--a2-navy);
  font-weight: 900;
  text-align: left;
  padding-left: 28px;
}

.a2-table td:last-child span {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--a2-teal);
  color: #fff;
  font-size: .72rem;
}

.a2-type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.a2-type-grid article {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--a2-border);
  box-shadow: var(--shadow-card);
}

.a2-type-grid img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
}

.a2-type-grid h3 {
  color: var(--a2-navy);
  margin: 18px 18px 8px;
}

.a2-type-grid p {
  color: var(--color-slate-500);
  margin: 0 18px 20px;
  font-size: .9rem;
  line-height: 1.42;
}

.a2-type-icon {
  position: absolute;
  top: 142px;
  left: 20px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 5px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--a2-teal);
}

.a2-type-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.a2-type-icon.orange { background: var(--a2-orange); }
.a2-type-icon.green { background: var(--a2-green); }
.a2-type-icon.forest { background: #2f8f75; }

.a2-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 28px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--a2-border);
  box-shadow: var(--shadow-card);
}

.a2-process article {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
  padding: 6px 18px;
}

.a2-process article:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -8px;
  top: 42%;
  transform: translateY(-50%);
  color: var(--a2-teal);
  font-size: 1.4rem;
  font-weight: 900;
}

.a2-process b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--a2-teal);
  color: #fff;
}

.a2-process article:nth-child(2) b { background: var(--a2-orange); }
.a2-process article:nth-child(3) b { background: var(--a2-purple); }
.a2-process article:nth-child(4) b { background: var(--a2-green); }
.a2-process article:nth-child(5) b { background: var(--a2-yellow); }

.a2-process article > span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(0,139,143,.28);
  color: var(--a2-teal);
  background: #f5fcfd;
  font-size: 1.7rem;
}

.a2-process h3 {
  color: var(--a2-navy);
  font-size: .92rem;
  margin-bottom: 2px;
}

.a2-process p {
  color: var(--color-slate-500);
  font-size: .75rem;
  line-height: 1.35;
  margin: 0;
}

.a2-final-cta {
  position: relative;
  color: #fff;
  background: var(--a2-navy);
  overflow: hidden;
}

.a2-final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,17,31,.97), rgba(3,48,60,.82), rgba(3,17,31,.95)),
    url("../images/landings/a2-casas/cta-casas-growth.webp");
  background-size: cover;
  background-position: center;
}

.a2-final-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 190px;
  padding: 38px 44px;
}

.a2-final-card h2 {
  max-width: 650px;
  color: #fff;
  font-size: clamp(1.9rem, 2.8vw, 2.8rem);
  line-height: 1.06;
  margin-bottom: 10px;
}

.a2-final-card p {
  max-width: 680px;
  color: rgba(255,255,255,.78);
  margin: 0;
}

.a2-final-actions {
  display: flex;
  gap: 14px;
}

.a2-final-actions .btn {
  min-width: 230px;
  gap: 12px;
}

.a2-final-points {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: rgba(255,255,255,.78);
  font-size: .82rem;
  font-weight: 800;
}

.a2-final-points span::before {
  content: "◎";
  margin-right: 8px;
  color: var(--a2-teal-bright);
}

@media (max-width: 1180px) {
  .a2-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 102px 0 42px;
  }

  .a2-phone-hero {
    justify-self: start;
    width: 220px;
    height: 428px;
  }

  .a2-trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .a2-challenges {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .a2-solution {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "device-left device-right"
      "panel-left panel-right"
      "orb orb";
    gap: 18px;
    padding: 24px;
  }

  .a2-device-left { grid-area: device-left; }
  .a2-device-right { grid-area: device-right; }
  .a2-panel-left { grid-area: panel-left; }
  .a2-panel-right { grid-area: panel-right; }
  .a2-orb { grid-area: orb; }

  .a2-device-left,
  .a2-device-right {
    justify-self: center;
    margin: 0;
    width: 100%;
  }

  .a2-laptop {
    max-width: 390px;
    height: 220px;
    margin-inline: auto;
  }

  .a2-panel {
    min-height: 300px;
    padding: 30px 28px;
    clip-path: none;
    border-radius: 24px;
  }

  .a2-orb {
    margin: 4px auto 0;
  }

  .a2-kpis,
  .a2-type-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .a2-why-grid,
  .a2-final-card {
    grid-template-columns: 1fr;
  }

  .a2-process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .a2-process article:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .a2-hero::before {
    background:
      linear-gradient(180deg, rgba(3,17,31,.97), rgba(3,17,31,.74), rgba(3,17,31,.97)),
      url("../images/landings/a2-casas/hero-casas-vacacionales.webp");
    background-size: cover;
    background-position: center;
  }

  .a2-hero-grid {
    padding: 92px 0 34px;
    gap: 24px;
  }

  .a2-title {
    font-size: clamp(2.35rem, 10vw, 3.45rem);
    line-height: 1.02;
  }

  .a2-hero-text {
    font-size: 1rem;
  }

  .a2-actions,
  .a2-final-actions {
    flex-direction: column;
  }

  .a2-actions .btn,
  .a2-final-actions .btn {
    width: 100%;
  }

  .a2-trust-row,
  .a2-challenges,
  .a2-kpis,
  .a2-type-grid,
  .a2-process {
    grid-template-columns: 1fr;
  }

  .a2-phone-hero {
    width: 196px;
    height: 382px;
  }

  .a2-solution {
    grid-template-columns: 1fr;
    grid-template-areas:
      "device-left"
      "panel-left"
      "orb"
      "panel-right"
      "device-right";
    gap: 16px;
    padding: 16px;
    border-radius: 22px;
  }

  .a2-laptop {
    max-width: 100%;
    height: clamp(170px, 56vw, 230px);
  }

  .a2-phone {
    display: none;
  }

  .a2-panel {
    min-height: auto;
    padding: 26px 22px;
  }

  .a2-orb {
    width: 148px;
    height: 148px;
    padding: 13px;
  }

  .a2-kpis div {
    border-right: 0;
    border-bottom: 1px solid var(--a2-line);
  }

  .a2-kpis div:last-child {
    border-bottom: 0;
  }

  .a2-table {
    min-width: 780px;
  }

  .a2-table-wrap {
    overflow-x: auto;
  }

  .a2-final-card {
    padding: 34px 22px;
  }
}
