/* ============================================
   MODEL DETAIL PAGES - Editorial Architecture Style
   A refined, magazine-quality presentation
   ============================================ */

/* Custom Properties for Model Pages */
:root {
  --model-hero-height: 100vh;
  --model-accent: #D4A373;
  --model-dark: #1a1a1a;
  --model-cream: #F8F5F0;
  --model-spacing-unit: clamp(1rem, 3vw, 2rem);
  --playfair: 'Playfair Display', Georgia, serif;
}

/* ============================================
   MODEL HERO SECTION
   ============================================ */
.model-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  height: auto;
  display: flex;
  align-items: flex-end;
  padding-top: 70px; /* Header height */
  padding-bottom: clamp(2rem, 5vh, 4rem);
  overflow: visible;
  box-sizing: border-box;
}

.model-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.model-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease-out forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.model-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.2) 70%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

/* Back Navigation */
.model-back-link {
  position: absolute;
  top: 100px;
  left: clamp(1rem, 5vw, 3rem);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  transition: all 0.3s ease;
}

.model-back-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateX(-4px);
}

.model-back-link svg {
  transition: transform 0.3s ease;
}

.model-back-link:hover svg {
  transform: translateX(-4px);
}

/* Hero Content */
.model-hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
  text-align: center;
}

.model-hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--model-accent);
  color: var(--model-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.model-hero-badge-popular {
  background: linear-gradient(135deg, #2D6A4F 0%, #1B4332 100%);
  color: white;
}

.model-hero-badge-premium {
  background: linear-gradient(135deg, #8B4557 0%, #6B3344 100%);
  color: white;
}

.model-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: 1rem;
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.model-hero-tagline {
  font-family: var(--playfair);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

/* Hero Specs Bar */
.model-hero-specs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3rem);
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

.hero-spec {
  text-align: center;
}

.hero-spec-value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  line-height: 1;
}

.hero-spec-unit {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  vertical-align: super;
}

.hero-spec-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

.hero-spec-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
}

/* Scroll Indicator */
.model-scroll-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeSlideUp 0.8s ease forwards, bounce 2s ease-in-out infinite;
  animation-delay: 0.6s, 1.4s;
  opacity: 0;
  cursor: pointer;
}

.model-scroll-indicator:hover {
  color: white;
}

.model-scroll-indicator svg {
  animation: bounceArrow 2s ease-in-out infinite;
}

@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Floating Price Tag */
.model-hero-price {
  position: absolute;
  bottom: clamp(2rem, 5vh, 4rem);
  right: clamp(1rem, 5vw, 3rem);
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.25rem 1.75rem;
  border-radius: 4px;
  text-align: right;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: fadeSlideLeft 0.8s ease forwards;
  animation-delay: 0.7s;
  opacity: 0;
}

.price-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gray);
  margin-bottom: 0.25rem;
}

.price-amount {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
}

.price-note {
  display: block;
  font-size: 0.6875rem;
  color: var(--color-gray);
  margin-top: 0.25rem;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   GALLERY SECTION - E-commerce Style Slideshow
   ============================================ */
.model-gallery {
  background: var(--model-cream);
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

/* Main Image Display */
.gallery-main {
  margin-bottom: 1rem;
}

.gallery-main-wrapper {
  position: relative;
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/10;
}

@media (min-width: 768px) {
  .gallery-main-wrapper {
    aspect-ratio: 16/9;
  }
}

/* Slides Container */
.gallery-slides {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-slide.active {
  opacity: 1;
  z-index: 1;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #1a1a1a;
}

/* Navigation Arrows */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.gallery-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.gallery-nav svg {
  color: #1a1a1a;
}

.gallery-nav-prev {
  left: 1rem;
}

.gallery-nav-next {
  right: 1rem;
}

@media (max-width: 640px) {
  .gallery-nav {
    width: 40px;
    height: 40px;
  }

  .gallery-nav-prev {
    left: 0.5rem;
  }

  .gallery-nav-next {
    right: 0.5rem;
  }
}

/* Image Counter */
.gallery-counter {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 10;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.05em;
}

.gallery-separator {
  margin: 0 0.25rem;
  opacity: 0.5;
}

/* Expand Button */
.gallery-expand {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 10;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.gallery-expand:hover {
  background: white;
  transform: scale(1.1);
}

.gallery-expand svg {
  color: #1a1a1a;
}

/* Gallery Info/Caption */
.gallery-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
}

.gallery-room-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gray);
}

.gallery-room-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--model-dark);
}

/* Thumbnail Strip */
.gallery-thumbnails {
  position: relative;
}

.thumbnail-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.thumbnail-track::-webkit-scrollbar {
  display: none;
}

.gallery-thumb {
  flex-shrink: 0;
  width: 100px;
  height: 75px;
  position: relative;
  border: 3px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  padding: 0;
  transition: all 0.3s ease;
}

.gallery-thumb:hover {
  border-color: rgba(212, 163, 115, 0.5);
}

.gallery-thumb.active {
  border-color: var(--model-accent);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.05);
}

.thumb-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.25rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  font-size: 0.625rem;
  font-weight: 600;
  color: white;
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .gallery-thumb {
    width: 120px;
    height: 80px;
  }

  .thumb-label {
    font-size: 0.6875rem;
    padding: 0.375rem;
  }
}

/* Lightbox Modal */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-close svg {
  color: white;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav svg {
  color: white;
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.1em;
}

@media (max-width: 640px) {
  .lightbox-nav {
    width: 44px;
    height: 44px;
  }

  .lightbox-prev {
    left: 0.75rem;
  }

  .lightbox-next {
    right: 0.75rem;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.model-features {
  padding: clamp(4rem, 10vw, 8rem) 0;
  background: white;
}

.features-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
}

.features-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.features-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--model-dark);
  line-height: 1.2;
}

.features-title em {
  font-family: var(--playfair);
  font-style: italic;
  font-weight: 400;
  color: var(--color-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.feature-block {
  padding: 2rem;
  background: var(--color-off-white);
  border-radius: 4px;
  transition: all 0.4s ease;
}

.feature-block:hover {
  background: white;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: white;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}

.feature-block h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--model-dark);
  margin-bottom: 0.75rem;
}

.feature-block p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-gray-dark);
  margin: 0;
}

/* ============================================
   SPECS SECTION
   ============================================ */
.model-specs-section {
  padding: clamp(4rem, 10vw, 8rem) 0;
  background: var(--model-dark);
  color: white;
}

.specs-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .specs-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.specs-content {
  max-width: 500px;
}

.specs-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--model-accent);
  margin-bottom: 1rem;
}

.specs-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  color: white;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.specs-title em {
  font-family: var(--playfair);
  font-style: italic;
  font-weight: 400;
  color: var(--model-accent);
}

.specs-description {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
}

.specs-list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-row .spec-name {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
}

.spec-row .spec-value {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: white;
}

/* Specs Visual Card */
.specs-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.specs-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.specs-card-header {
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.specs-card-header span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--model-accent);
}

.specs-card-content {
  padding: 1.5rem;
}

.room-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.room-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.room-item:last-child {
  border-bottom: none;
}

.room-name {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.room-size {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
}

/* ============================================
   CTA SECTION
   ============================================ */
.model-cta {
  position: relative;
  padding: clamp(5rem, 12vw, 10rem) 0;
  overflow: hidden;
}

.model-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.model-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);
  transform: scale(1.1);
}

.model-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 67, 50, 0.95) 0%,
    rgba(8, 28, 21, 0.95) 100%
  );
}

.model-cta-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.model-cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: white;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.model-cta-content h2 em {
  font-family: var(--playfair);
  font-style: italic;
  font-weight: 400;
  color: var(--model-accent);
}

.model-cta-content > p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.model-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 480px) {
  .model-cta-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.model-cta-price {
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  display: inline-block;
}

.cta-price-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.25rem;
}

.cta-price-amount {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  line-height: 1.1;
}

.cta-price-note {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
}

/* ============================================
   OTHER MODELS SECTION
   ============================================ */
.other-models {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: var(--color-off-white);
}

.other-models-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.other-models-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--model-dark);
}

.other-models-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .other-models-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.other-model-card {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
}

.other-model-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.other-model-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.other-model-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.other-model-card:hover .other-model-image img {
  transform: scale(1.08);
}

.other-model-info {
  padding: 1.25rem;
}

.other-model-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-cream);
  color: var(--color-primary);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

.other-model-info h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--model-dark);
  margin-bottom: 0.25rem;
}

.other-model-specs {
  font-size: 0.8125rem;
  color: var(--color-gray);
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 767px) {
  .model-hero-price {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 2rem;
    text-align: center;
    display: inline-block;
  }

  .model-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-spec-divider {
    display: none;
  }

  .model-hero-specs {
    gap: 1.5rem;
  }
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Focus states for accessibility */
.model-back-link:focus,
.other-model-card:focus,
.model-scroll-indicator:focus {
  outline: 2px solid var(--model-accent);
  outline-offset: 4px;
}

/* ============================================
   SHORT SCREEN HEIGHT OPTIMIZATIONS
   ============================================ */
@media (max-height: 700px) {
  .model-hero {
    padding-top: 75px;
    padding-bottom: clamp(1.5rem, 4vh, 3rem);
  }

  .model-hero-title {
    font-size: clamp(2rem, 8vw, 4rem);
  }

  .model-hero-tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 1.5rem;
  }

  .hero-spec-value {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }

  .model-scroll-indicator {
    margin-top: 1.5rem;
  }
}

@media (max-height: 500px) {
  .model-hero {
    min-height: auto;
    height: auto;
    padding: 80px 0 1.5rem;
  }

  .model-hero-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .model-hero-tagline {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .model-hero-specs {
    gap: 1rem;
  }

  .hero-spec-divider {
    height: 30px;
  }

  .model-scroll-indicator {
    display: none;
  }
}
