:root {
  --ink: #15202b;
  --soft-ink: #52616f;
  --line: rgba(21, 32, 43, 0.12);
  --blue: #145da0;
  --deep: #0c2d42;
  --green: #0f4c45;
  --gold: #c39a4a;
  --paper: #f5f7f8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 35, 52, 0.16);
  --font-body: "Manrope", Aptos, "Segoe UI", Arial, sans-serif;
  --font-hero: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--soft-ink);
  line-height: 1.72;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: var(--white);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled,
body.subpage .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(21, 32, 43, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: clamp(150px, 17vw, 230px);
  min-width: 150px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 8px 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.66)),
    linear-gradient(90deg, rgba(12, 45, 66, 0.2), rgba(195, 154, 74, 0.1));
  box-shadow: 0 14px 34px rgba(8, 28, 43, 0.16);
  backdrop-filter: blur(10px);
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: saturate(1.08) contrast(1.06);
}

.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.82;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  opacity: 1;
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  padding: 11px;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero,
.page-hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: center;
  padding: 132px clamp(18px, 5vw, 64px) 46px;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 28, 43, 0.88), rgba(8, 28, 43, 0.32) 58%, rgba(8, 28, 43, 0.68)),
    var(--hero-image) center / cover;
}

.hero {
  --hero-image: none;
  background: #0c2d42;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transition: opacity 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.slide-one {
  background-image: linear-gradient(90deg, rgba(8, 28, 43, 0.88), rgba(8, 28, 43, 0.32) 58%, rgba(8, 28, 43, 0.68)), url("assets/living-room-wide.png");
}

.slide-two {
  background-image: linear-gradient(90deg, rgba(8, 28, 43, 0.88), rgba(8, 28, 43, 0.32) 58%, rgba(8, 28, 43, 0.68)), url("assets/sea-view.png");
}

.slide-three {
  background-image: linear-gradient(90deg, rgba(8, 28, 43, 0.88), rgba(8, 28, 43, 0.32) 58%, rgba(8, 28, 43, 0.68)), url("assets/building-exterior.png");
}

.flats-hero {
  --hero-image: url("assets/bedroom-main.png");
}

.gallery-hero {
  --hero-image: url("assets/sea-view.png");
}

.features-hero,
.view-hero {
  --hero-image: url("assets/building-exterior.png");
}

.contact-hero {
  --hero-image: url("assets/living-room-bright.png");
}

.hero-content,
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  font-family: var(--font-hero);
  font-size: clamp(3.4rem, 9vw, 8.6rem);
  line-height: 0.92;
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(2.8rem, 6.6vw, 6.2rem);
}

h2 {
  font-size: clamp(2rem, 4.6vw, 4.5rem);
  line-height: 1;
}

h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.25;
}

.hero-copy,
.page-hero p {
  max-width: 690px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.02rem, 1.6vw, 1.26rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 0 22px;
  font-weight: 900;
  cursor: pointer;
}

.btn.primary {
  color: #171109;
  background: var(--gold);
}

.btn.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(820px, 100%);
  margin-top: 78px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(9, 31, 48, 0.62);
  backdrop-filter: blur(16px);
}

.hero-panel div {
  padding: 20px;
}

.hero-panel div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.hero-panel span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: clamp(70px, 9vw, 118px) clamp(18px, 5vw, 64px);
}

.intro-grid,
.split-section,
.room-detail,
.home-showcase,
.security-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: center;
}

.intro-copy p {
  margin-top: 0;
  font-size: 1.06rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 32px;
  background: var(--line);
}

.stats div {
  min-height: 116px;
  padding: 22px;
  background: var(--white);
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  color: var(--deep);
  font-size: 1.15rem;
}

.stats span {
  margin-top: 7px;
  color: var(--soft-ink);
}

.home-showcase {
  padding: 8px clamp(18px, 5vw, 64px) clamp(72px, 9vw, 118px);
}

.section-center {
  max-width: 840px;
  margin: 0 auto 54px;
  text-align: center;
}

.home-features {
  padding: clamp(76px, 9vw, 116px) clamp(18px, 5vw, 64px);
  background: #f4efeb;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.feature-cards article {
  display: grid;
  min-height: 220px;
  place-items: center;
  align-content: center;
  gap: 20px;
  padding: 28px 18px;
  text-align: center;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
  transform-origin: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 1px solid rgba(20, 93, 160, 0.28);
  border-radius: 50%;
  color: var(--blue);
}

.feature-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;

  display: block;
}

.feature-cards h3 {
  font-size: 1rem;
  text-transform: uppercase;
}

.home-showcase img,
.room-detail img {
  min-height: 520px;
  box-shadow: var(--shadow);
}

.home-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(54px, 8vw, 88px) clamp(18px, 5vw, 64px);
  color: var(--white);
  background: var(--deep);
}

.testimonials {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) repeat(2, minmax(240px, 1fr));
  gap: 28px;
  align-items: center;
  padding: clamp(78px, 9vw, 126px) clamp(18px, 5vw, 64px);
  background: var(--white);
}

.testimonial-copy {
  max-width: 430px;
}

.testimonial-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 52px);
  text-align: center;
  background: #fbfbfb;
  box-shadow: var(--shadow);
}

.quote-mark {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #c97861;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.testimonial-card p {
  margin: 0 auto 26px;
  max-width: 360px;
  color: #333;
  font-size: 1.04rem;
}

.testimonial-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
}

.testimonial-card small {
  margin-top: 8px;
  color: var(--soft-ink);
  font-weight: 600;
}

.home-cta h2 {
  max-width: 820px;
}

.address-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px clamp(18px, 5vw, 64px);
  color: var(--white);
  background: var(--green);
}

.address-strip strong {
  color: var(--gold);
}

.apartment-grid,
.rental-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.apartment-card,
.rental-box,
.amenity {
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}

.apartment-card img {
  height: 330px;
}

.apartment-card div,
.rental-box,
.amenity {
  padding: 26px;
}

.apartment-card span,
.rental-box span,
.amenity span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-weight: 900;
}

.room-detail {
  background: var(--white);
}

.amenities {
  background: #edf2f4;
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.amenity {
  min-height: 236px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.security-photo {
  min-height: 500px;
  background: url("assets/security-camera.png") center / cover;
  box-shadow: var(--shadow);
}

.building-photo {
  background-image: url("assets/building-exterior.png");
  background-position: center;
}

.gallery {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-auto-rows: 360px;
  gap: 8px;
  padding: 8px;
  background: var(--ink);
}

.gallery img:first-child {
  grid-row: span 2;
}

.gallery-page {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 340px;
  padding: clamp(18px, 4vw, 42px);
  background: var(--paper);
}

.gallery-page img {
  box-shadow: 0 1px 0 var(--line);
  cursor: zoom-in;
}

.gallery-page img:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.contact-copy {
  max-width: 660px;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 44px);
  background: linear-gradient(180deg, var(--paper), #eef3f4);
}

.contact-heading {
  max-width: 920px;
}

.contact-heading p {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  color: var(--deep);
  font-weight: 900;
}

.contact-info-panel {
  display: grid;
  gap: 18px;
}

.contact-details {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: stretch;
}

.contact-info-card,
.contact-map {
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-info-card {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
}

.contact-info-card .section-kicker {
  margin-bottom: 0;
}

.contact-info-card h3 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.contact-info-line {
  display: grid;
  gap: 5px;
  border-left: 3px solid rgba(20, 93, 160, 0.25);
  padding: 6px 0 6px 16px;
}

.contact-info-line span {
  color: var(--soft-ink);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-info-line strong {
  color: var(--deep);
  line-height: 1.45;
}

.contact-whatsapp {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 0 22px;
  color: var(--white);
  background: #25d366;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(12, 45, 66, 0.18);
}

.contact-whatsapp:hover {
  color: var(--white);
  background: #1fbd5b;
}

.contact-whatsapp img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.contact-map {
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}

.contact-map iframe {
  display: block;
  width: 100%;
  min-height: 430px;
  border: 0;
}

.map-route {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  margin: 18px;
  border-radius: 3px;
  padding: 0 24px;
  color: #171109;
  background: var(--gold);
  font-weight: 900;
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 5vw, 42px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 13px;
  color: var(--ink);
  background: #fbfbfa;
  font: inherit;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(20, 93, 160, 0.22);
  border-color: var(--blue);
}

.lead-form .btn {
  width: 100%;
  border: 0;
}

.form-note {
  min-height: 24px;
  margin: 0;
  font-size: 0.9rem;
}

.site-footer {
  color: var(--white);
  background: #0c2d42;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 1.15fr;
  gap: clamp(30px, 6vw, 86px);
  padding: clamp(70px, 8vw, 118px) clamp(18px, 8vw, 170px);
}

.footer-main h3 {
  margin-bottom: 26px;
  font-family: var(--font-display);
  font-size: 2rem;
}

.footer-main p,
.footer-main a {
  display: block;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-main strong {
  color: var(--white);
}

.footer-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.footer-form input {
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0 18px;
  color: var(--white);
  background: transparent;
  font: inherit;
}

.footer-form input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.footer-form button {
  width: max-content;
  min-height: 54px;
  border: 0;
  padding: 0 34px;
  color: var(--white);
  background: var(--gold);
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.footer-bottom {
  padding: 28px clamp(18px, 5vw, 64px);
  text-align: center;
  color: rgba(255, 255, 255, 0.76);
  background: #082638;
}

.footer-bottom a {
  color: var(--gold);
  font-weight: 800;
}

.footer-bottom a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.whatsapp-button {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 1000;
  display: inline-flex;
  width: auto;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 0 22px;
  color: #ffffff;
  background: #25d366;
  box-shadow: 0 14px 34px rgba(12, 45, 66, 0.28);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-button:hover {
  color: #ffffff;
  background: #1fbd5b;
  box-shadow: 0 18px 38px rgba(12, 45, 66, 0.34);
  transform: translateY(-2px);
}

.whatsapp-button:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.35);
  outline-offset: 4px;
}

.whatsapp-button .whatsapp-icon {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  min-width: 24px;
  max-width: 24px;
  height: 24px;
  min-height: 24px;
  max-height: 24px;
  object-fit: contain;
}

.hero-content,
.page-hero-inner {
  opacity: 0;
  transform: translateY(22px);
}

.page-ready .hero-content,
.page-ready .page-hero-inner {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.7s ease var(--reveal-delay, 0ms),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

.feature-cards article:hover {
  z-index: 2;
  transform: translateY(-7px) scale(1.025);
  box-shadow: 0 20px 42px rgba(16, 35, 52, 0.15);
}

.feature-cards article:hover .feature-icon {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
  transform: scale(1.08);
}

.feature-cards article:hover .feature-icon svg,
.feature-cards article:hover .feature-icon svg * {
  stroke: currentColor !important;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 18px;
  padding: clamp(64px, 7vw, 92px) clamp(18px, 4vw, 56px) 28px;
  color: var(--white);
  background: rgba(4, 16, 25, 0.94);
  backdrop-filter: blur(8px);
}

.lightbox figure {
  min-width: 0;
  margin: 0;
  text-align: center;
}

.lightbox [data-lightbox-image] {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 150px);
  margin: 0 auto;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.lightbox figcaption {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.lightbox button {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.lightbox button:hover,
.lightbox button:focus-visible {
  background: var(--blue);
  transform: scale(1.06);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
}

.lightbox-prev {
  justify-self: end;
}

.lightbox-next {
  justify-self: start;
}

body.lightbox-open {
  overflow: hidden;
}

.apartment-card,
.amenity,
.testimonial-card,
.gallery-page img {
  position: relative;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.apartment-card:hover,
.amenity:hover,
.testimonial-card:hover,
.gallery-page img:hover {
  z-index: 2;
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 18px 42px rgba(16, 35, 52, 0.16);
}

.feature-icon {
  transition: color 0.28s ease, background-color 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-content,
  .page-hero-inner,
  .page-ready .hero-content,
  .page-ready .page-hero-inner,
  .scroll-reveal,
  .scroll-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .feature-cards article,
  .feature-icon,
  .apartment-card,
  .amenity,
  .testimonial-card,
  .gallery-page img,
  .whatsapp-button {
    transition: none;
  }
}

@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    top: 76px;
    left: 18px;
    right: 18px;
    transform: none;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px;
  }

  .menu-toggle {
    display: block;
  }

  .hero,
  .page-hero {
    min-height: 760px;
  }

  .hero-panel,
  .intro-grid,
  .split-section,
  .contact-section,
  .contact-details,
  .room-detail,
  .home-showcase,
  .security-band,
  .address-strip,
  .apartment-grid,
  .rental-list,
  .amenity-grid,
  .stats,
  .feature-cards,
  .testimonials,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .hero-panel div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .home-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery,
  .gallery-page {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }

  .gallery img:first-child,
  .gallery-page img:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .contact-map iframe {
    min-height: 340px;
  }
}

@media (max-width: 620px) {
  .hero,
  .page-hero {
    min-height: 690px;
    padding-top: 116px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  .hero-actions .btn,
  .address-strip .btn {
    width: 100%;
  }

  .home-showcase img,
  .room-detail img,
  .security-photo {
    min-height: 360px;
  }

  .apartment-card img {
    height: 250px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .whatsapp-button {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    min-height: 52px;
    padding: 0 18px;
  }

  .contact-info-card {
    padding: 24px;
  }

  .lightbox {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 6px;
    padding: 70px 8px 22px;
  }

  .lightbox button {
    width: 44px;
    height: 44px;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
  }

}
