/* Casa Dios homepage hero: larger CTAs only; no site-wide button or header changes. */
.casa-hero-cta-enlarged {
  width: min(100%, 600px);
  max-width: 100%;
  gap: 16px;
  align-items: stretch;
  margin-top: 30px;
}
.casa-hero-cta-enlarged .casa-hero-cta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: 100%;
  gap: 14px;
  align-items: stretch;
}
.casa-hero-cta-enlarged .casa-hero-cta-row > a {
  box-sizing: border-box;
  display: inline-flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 66px;
  height: auto;
  padding: 17px 21px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-family: inherit;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.22;
  font-weight: 750;
  text-align: center;
  white-space: normal;
  overflow-wrap: normal;
}
.casa-hero-cta-enlarged .casa-hero-cta-row > a svg {
  width: 23px;
  height: 23px;
  min-width: 23px;
  flex: 0 0 23px;
}
/* Preserve the existing green gradient, highlight, dimensional shadow and transitions. */
.casa-hero-cta-enlarged .casa-hero-cta-second > a.casa-call-green-3d {
  min-height: 66px;
  padding: 17px 21px;
  font-weight: 750;
  white-space: normal;
}
@media (max-width: 600px) {
  .casa-hero-cta-enlarged { gap: 12px; }
  .casa-hero-cta-enlarged .casa-hero-cta-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .casa-hero-cta-enlarged .casa-hero-cta-row > a,
  .casa-hero-cta-enlarged .casa-hero-cta-second > a.casa-call-green-3d {
    min-height: 60px;
    width: 100%;
    padding: 13px 10px;
    font-size: clamp(12px, 3.4vw, 16px);
    gap: 7px;
    line-height: 1.2;
  }
  .casa-hero-cta-enlarged .casa-hero-cta-row > a svg {
    width: 19px;
    height: 19px;
    min-width: 19px;
    flex-basis: 19px;
  }
}
@media (max-width: 360px) {
  .casa-hero-cta-enlarged .casa-hero-cta-row { gap: 8px; }
  .casa-hero-cta-enlarged .casa-hero-cta-row > a,
  .casa-hero-cta-enlarged .casa-hero-cta-second > a.casa-call-green-3d {
    padding: 12px 7px;
    font-size: 12px;
    gap: 5px;
  }
  .casa-hero-cta-enlarged .casa-hero-cta-row > a svg {
    width: 17px; height: 17px; min-width: 17px; flex-basis: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .casa-hero-cta-enlarged .casa-hero-cta-row > a { scroll-behavior: auto; }
}

/* v10: Increase the desktop/tablet home hero film frame height by 20%,
   keeping the existing video width, styling, playback and controls.
   Original 16:9 height becomes 1.2 x original => aspect ratio 40:27. */
@media (min-width: 640px) {
  [data-testid="hero-video-card"] > div:first-child > div:first-child {
    aspect-ratio: 40 / 27 !important;
  }
}
