/* ==========================================================================
   The Rise — responsive rules
   Desktop ≥ 1200 | Laptop 992–1199 | Tablet 768–991 | Phone < 768 | Small < 480
   ========================================================================== */

/* Large desktop */
@media (min-width: 1400px) {
	.tr-container, .tr-header__inner { max-width: 1280px; }
	.tr-hero__inner { grid-template-columns: minmax(0, 1fr) 420px; }
}

/* Laptop */
@media (max-width: 1199px) {
	.tr-hero__inner { grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; }
	.tr-hero__title { font-size: 60px; }
	.tr-hero__price { font-size: 56px; }
	.tr-hero__tagline { font-size: 24px; }
	.tr-hero__configs, .tr-hero__price-label { font-size: 20px; }
	.tr-title--bold { font-size: 42px; }
	.tr-developers__title { font-size: 36px; }
	.tr-developers__grid { gap: 40px; }
	.tr-location__grid { gap: 40px; }
	.tr-location__map iframe, .tr-location__img { height: 400px; }
}

/* Tablet and below */
@media (max-width: 991px) {
	:root { --tr-section: 64px; }

	.tr-header__inner { grid-template-columns: auto 1fr auto; }
	.tr-header__partners { display: none; }
	.tr-header__phone span { display: none; }
	.tr-header__cta { display: none; }
	.tr-header__toggle { display: flex; }

	.tr-hero { min-height: 0; }
	.tr-hero__inner { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; padding-bottom: 48px; }
	.tr-hero__card { max-width: 520px; width: 100%; }
	.tr-hero__title { font-size: 52px; }
	.tr-hero__price { font-size: 48px; }
	.tr-hero__tagline { font-size: 22px; }

	.tr-strip { display: block; }

	.tr-location__grid { grid-template-columns: 1fr; gap: 32px; }
	.tr-location__map iframe, .tr-location__img { height: 360px; }

	.tr-investment__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tr-investment__cards { grid-template-columns: 1fr; }

	.tr-amenities__grid { gap: 24px; }
	.tr-amenity__media { height: 220px; }

	.tr-developers__grid { grid-template-columns: 1fr; gap: 36px; }
	.tr-developers__media { max-width: 520px; }
	.tr-developers__img { aspect-ratio: 4 / 3; }

	.tr-footer__grid { grid-template-columns: 1fr; gap: 24px; }
	.tr-footer__legal { flex-direction: column; gap: 6px; }
}

/* Phones */
@media (max-width: 767px) {
	:root { --tr-section: 56px; }

	.tr-container { padding: 0 20px; }
	.tr-header__inner { padding: 0 16px; }
	.tr-header__logo { height: 36px; }

	.tr-hero__inner { padding-top: 44px; padding-bottom: 40px; }
	.tr-hero__eyebrow { font-size: 16px; }
	.tr-hero__title { font-size: 40px; }
	.tr-hero__tagline { font-size: 20px; margin-bottom: 20px; }
	.tr-hero__price-label { font-size: 18px; }
	.tr-hero__price { font-size: 44px; }
	.tr-hero__configs { font-size: 18px; }
	.tr-hero__card { padding: 24px 20px 18px; }
	.tr-hero__card-title { font-size: 20px; }


	.tr-title { font-size: 28px; letter-spacing: 0.12em; }
	.tr-title--bold { font-size: 34px; }
	.tr-title--light { font-size: 24px; }
	.tr-subtitle { font-size: 14px; }

	.tr-intro__stats { grid-template-columns: 1fr; gap: 16px; margin-bottom: 48px; }
	.tr-stat { padding: 18px 12px; }
	.tr-stat__value { font-size: 28px; }

	.tr-payment__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.tr-pay { padding: 20px 12px; }
	.tr-pay__percent { font-size: 28px; }

	.tr-location__distances { gap: 10px 16px; }
	.tr-location__map iframe, .tr-location__img { height: 300px; }

	.tr-investment__tiles { gap: 12px; }
	.tr-tile { padding: 22px 12px 18px; }
	.tr-tile__icon { width: 56px; height: 56px; font-size: 20px; }
	.tr-card { padding: 24px 20px; }

	.tr-tabs__btn { padding: 9px 20px; font-size: 12px; }

	.tr-gallery__grid { gap: 10px; }
	.tr-gallery__item, .tr-gallery__item::after { border-radius: 14px; }
	.tr-tabs { gap: 12px; margin-bottom: 32px; }

	.tr-amenities { padding: 24px 0 40px; }
	.tr-amenities .tr-title { margin-bottom: 32px; }
	.tr-amenities .tr-subtitle { margin: -20px 0 32px; }
	.tr-amenities__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.tr-amenity__media { height: auto; aspect-ratio: 4 / 3; }
	.tr-amenity__name { margin-top: 12px; font-size: 12px; letter-spacing: 0.08em; }

	.tr-developers__title { font-size: 30px; }
	.tr-developers__sub { font-size: 15px; }

	.tr-float { right: 14px; bottom: 14px; }
	.tr-float__callback { padding: 11px 16px; font-size: 14px; }
	.tr-float__wa { width: 44px; height: 44px; font-size: 22px; }

	.tr-thanks__actions .tr-btn { width: 100%; }
}

/* Small phones */
@media (max-width: 479px) {
	.tr-hero__title { font-size: 36px; }
	.tr-hero__price { font-size: 38px; }
	.tr-hero__tagline { font-size: 18px; }
	.tr-intro__stats { grid-template-columns: 1fr; }
	.tr-location__distances { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tr-investment__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tr-tile__text { font-size: 12px; }
	.tr-form__phone .wpcf7-form-control-wrap[data-name="country_code"] { flex-basis: 112px; width: 112px; }
	.tr-form__phone select { font-size: 14px; padding-right: 24px; }
}

@media (max-width: 359px) {
	.tr-payment__grid, .tr-investment__tiles { grid-template-columns: 1fr; }
}

/* Short landscape phones: let the hero scroll rather than squash */
@media (max-height: 600px) and (orientation: landscape) {
	.tr-hero { min-height: 0; }
}
