.homes-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(24px, 2.3vw, 36px) 4.1%;
  background: #1c5657;
  color: #f7f8f8;
  scroll-margin-top: 16px;
}
.homes-background, .homes-background-shade { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; }
.homes-background { object-fit: cover; object-position: center; }
.homes-background-shade { z-index: -1; background: linear-gradient(180deg, rgba(6, 42, 43, 0.08), rgba(8, 21, 22, 0.03) 45%, rgba(35, 23, 18, 0.2)); }
.homes-panel {
  position: relative;
  width: min(100%, 1200px);
  margin-inline: auto;
  padding: 22px 40px 20px 48px;
  border: 2px solid rgba(233, 239, 233, 0.48);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(23, 54, 52, 0.4), rgba(24, 35, 33, 0.5) 57%, rgba(43, 33, 29, 0.76));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.16), 0 20px 65px rgba(9, 24, 25, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.homes-header { display: flex; min-height: 44px; align-items: center; gap: clamp(28px, 7vw, 100px); }
.homes-brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 10px; font-size: 36px; font-weight: 650; letter-spacing: -0.06em; line-height: 1; }
.homes-brand svg { width: 22px; height: 30px; fill: #ff2b43; }
.homes-nav { display: flex; align-items: center; gap: 32px; font-size: 13px; font-weight: 400; white-space: nowrap; }
.homes-nav a, .homes-nav button { position: relative; display: inline-flex; min-height: 44px; align-items: center; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.homes-nav-current::after { position: absolute; right: 55%; bottom: 7px; left: 0; height: 2px; background: #fa2a42; content: ""; }
.homes-nav a:hover, .homes-nav button:hover { color: #ffafb7; }
.homes-reserve, .home-book { display: inline-flex; align-items: center; justify-content: center; gap: 20px; border-radius: 9px; background: #d61331; color: #fff; font-size: 15px; line-height: 1.2; transition: background-color 160ms ease; }
.homes-reserve { width: 148px; min-height: 44px; flex-shrink: 0; margin-left: auto; border: 1px solid rgba(255, 112, 132, 0.65); box-shadow: inset 0 1px 2px rgba(255, 213, 221, 0.25); border-radius: 13px; }
.homes-reserve span, .home-book span { font-size: 25px; font-weight: 350; line-height: 1; }
.homes-reserve:hover, .home-book:hover { background: #b90c28; }
.homes-content { margin-top: 28px; margin-left: 24px; }
.homes-intro { margin-left: 20px; }
.homes-location { margin: 0 0 6px; color: #ff3049; font-size: 12px; font-weight: 600; letter-spacing: 0.09em; line-height: 1.35; text-transform: uppercase; }
.homes-intro h2 { width: max-content; max-width: 75%; margin: 0; font-size: clamp(44px, 3.8vw, 60px); font-weight: 650; letter-spacing: -0.025em; line-height: 0.94; transform: scaleX(1.3); transform-origin: left; }
.homes-subtitle { margin: 4px 0 0; color: #f2f5f4; font-size: 18px; font-weight: 400; letter-spacing: -0.015em; line-height: 1.4; }
.homes-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 16px; margin-top: 26px; scroll-margin-top: 26px; }
.home-card { display: flex; min-width: 0; flex-direction: column; }
.home-photo { display: block; width: 100%; height: auto; aspect-ratio: 1.2; border: 1px solid rgba(243, 244, 235, 0.48); border-radius: 9px; object-fit: cover; object-position: center; }
.home-photo--equipales { object-position: 50% center; }
.home-photo--quijote { object-position: 50% center; }
.home-photo--xolos { object-position: 52% center; }
.home-photo--atlantika { object-position: 50% center; }
.home-card-details { display: flex; flex: 1; flex-direction: column; padding: 10px 3px 0; }
.home-number { position: relative; display: block; align-self: flex-start; padding-bottom: 5px; color: #f2f4f3; font-size: 35px; font-weight: 450; letter-spacing: -0.02em; line-height: 1; transform: scaleX(1.2); transform-origin: left; }
.home-number::after { position: absolute; bottom: 0; left: 1px; width: 27px; height: 3px; background: linear-gradient(90deg, #ff2c49 68%, #ffe0e5 68%); content: ""; }
.home-card h3 { margin: 6px 0; color: #fff; font-size: 17px; font-weight: 400; letter-spacing: 0.005em; line-height: 1.25; text-transform: uppercase; }
.home-capacity { margin: 0; color: #fff; font-size: 10.5px; font-weight: 400; letter-spacing: 0.12em; line-height: 1.5; text-transform: uppercase; }
.home-description { flex: 1; margin: 8px 0 12px; color: #fff; font-size: 14px; font-weight: 400; line-height: 1.5; }
.home-book { width: 100%; min-height: 44px; padding: 9px 14px; }
.homes-timeline { position: absolute; top: 90px; left: 54px; display: flex; width: 1px; height: 260px; flex-direction: column; align-items: center; gap: 26px; padding-top: 28px; background: rgba(246, 250, 247, 0.9); }
.homes-timeline span { display: block; width: 10px; height: 10px; flex: 0 0 10px; border: 2px solid #fff; border-radius: 50%; background: #f7f8f8; }
.homes-timeline .is-current { background: #ff3049; }
.homes-footer { display: flex; min-height: 34px; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; margin-left: -20px; }
.homes-pagination { display: flex; align-items: center; gap: 12px; }
.homes-pagination span { width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.homes-pagination .is-current { border: 1px solid #fff; background: #ff3049; }
.homes-pagination i { position: relative; display: block; width: 200px; height: 2px; margin-left: 12px; background: rgba(240, 242, 241, 0.3); }
.homes-pagination i::before { position: absolute; top: 0; left: 0; width: 37%; height: 100%; background: #f6f3e9; content: ""; }
.homes-video-toggle { display: inline-flex; min-height: 34px; align-items: center; gap: 7px; padding: 6px 11px; border: 1px solid rgba(255, 255, 255, 0.32); border-radius: 999px; background: rgba(11, 32, 32, 0.25); color: #fff; font-size: 11px; cursor: pointer; }
.homes-video-toggle [data-video-icon] { font-size: 13px; }
.homes-section a:focus-visible, .homes-section button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

.homes-contact { width: min(calc(100% - 36px), 520px); max-height: calc(100svh - 48px); overflow-y: auto; overscroll-behavior: contain; padding: 34px; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 24px; background: #143c3b; color: #fff; box-shadow: 0 24px 90px rgba(0, 0, 0, 0.4); }
.homes-contact::backdrop { background: rgba(5, 20, 22, 0.7); backdrop-filter: blur(6px); }
.homes-contact h2 { margin: 18px 0 12px; font-size: 30px; line-height: 1.1; letter-spacing: -0.04em; }
.homes-contact > p:not(.homes-location) { margin: 0 0 24px; color: #e3ece9; font-size: 16px; line-height: 1.5; }
.homes-contact-close { position: absolute; top: 10px; right: 10px; display: grid; width: 40px; height: 40px; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 30px; cursor: pointer; }
.homes-contact-links { display: grid; gap: 10px; }
.homes-contact-links a { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 10px; font-size: 15px; }
.homes-contact-links a:hover { background: rgba(255, 255, 255, 0.1); }

@media (max-width: 1100px) {
  .homes-panel { padding: 20px 30px; }
  .homes-header { gap: 32px; }
  .homes-nav { gap: 26px; }
  .homes-brand { font-size: 34px; }
  .homes-content { margin-left: 0; }
  .homes-intro { margin-left: 0; }
  .homes-timeline { display: none; }
  .homes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
  .homes-footer { margin-left: 0; }
  .home-card h3 { font-size: 18px; }
  .home-capacity { font-size: 11px; }
}

@media (max-width: 960px) {
  .homes-header { flex-wrap: wrap; gap: 14px 24px; }
  .homes-nav { order: 3; width: 100%; }
  .homes-content { margin-top: 28px; }
}

@media (max-width: 760px) {
  .homes-section { padding: 20px 18px; }
  .homes-panel { padding: 20px 20px 18px; border-radius: 24px; }
  .homes-header { flex-wrap: wrap; justify-content: space-between; gap: 14px; }
  .homes-brand { gap: 9px; font-size: 32px; }
  .homes-brand svg { width: 22px; height: 30px; }
  .homes-nav { order: 3; width: 100%; justify-content: flex-start; gap: 26px; font-size: 13px; }
  .homes-reserve { width: 128px; min-height: 44px; gap: 12px; margin: 0; font-size: 14px; border-radius: 12px; }
  .homes-content { margin-top: 20px; }
  .homes-location { font-size: 11px; }
  .homes-intro h2 { max-width: 100%; font-size: clamp(34px, 6.8vw, 48px); line-height: 1.05; transform: none; }
  .homes-subtitle { margin-top: 10px; font-size: 16px; line-height: 1.45; }
  .homes-grid { gap: 24px 16px; margin-top: 22px; }
  .home-card h3 { font-size: 17px; }
  .home-capacity { font-size: 10px; letter-spacing: 0.1em; }
  .home-number { font-size: 32px; }
  .home-description { font-size: 14px; }
  .home-book { gap: 10px; font-size: 14px; }
  .homes-pagination { gap: 10px; }
  .homes-pagination i { width: 80px; margin-left: 4px; }
  .homes-pagination span { width: 8px; height: 8px; }
  .homes-footer { gap: 12px; margin-top: 20px; }
}

@media (max-width: 540px) {
  .homes-panel { padding-inline: 18px; }
  .homes-brand { font-size: 32px; }
  .homes-reserve { width: 116px; }
  .homes-nav { gap: 22px; font-size: 12px; }
  .homes-grid { grid-template-columns: 1fr; gap: 24px; }
  .home-card h3 { font-size: 18px; }
  .home-capacity { font-size: 11px; }
  .home-description { font-size: 15px; }
  .home-book { min-height: 46px; font-size: 15px; }
  .homes-pagination i { width: 40px; }
  .homes-video-toggle { padding-inline: 8px; font-size: 10px; }
  .homes-footer { flex-wrap: wrap; }
  .homes-contact { padding: 30px 22px 24px; }
}
