/* Large desktop */
@media (min-width: 1400px) {
  .hero {
    padding-top: 10rem;
  }
}

/* Desktop */
@media (max-width: 1200px) {
  .hero-grid,
  .hero-layout,
  .split-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
  }

  .featured-post {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-self: start;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet landscape */
@media (max-width: 1024px) {
  .section {
    padding: 6rem 0;
  }

  .nav {
    padding: 0.75rem 1.25rem;
    margin: 1rem 1.25rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    right: 1.5rem;
    background: rgba(17, 17, 17, 0.98);
    border: 1px solid rgba(232, 213, 183, 0.2);
    border-radius: 18px;
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    min-width: 220px;
    display: none;
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-links .nav-cta {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  body.nav-open {
    overflow: hidden;
  }

  .three-col {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }

  .blog-post-layout {
    grid-template-columns: 1fr;
  }
}

/* Tablet portrait / iPad */
@media (max-width: 768px) {
  h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
  }

  h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
  }

  .hero-stats,
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .luxury-pills {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-visual .hero-image {
    max-width: 100%;
  }

  .focus-bar {
    grid-template-columns: 1fr;
  }

  .focus-tab {
    border-right: none;
    border-bottom: 1px solid rgba(232, 213, 183, 0.1);
  }

  .focus-tab:last-child {
    border-bottom: none;
  }

  .luxury-bar {
    border-radius: 20px;
  }

  .three-col,
  .two-col,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-slider {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    width: 100%;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .newsletter {
    flex-direction: column;
  }

}

/* Mobile */
@media (max-width: 480px) {
  .section {
    padding: 4rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

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

  .hero-image {
    min-height: 240px;
  }

  .card {
    padding: 2rem;
  }

  .featured-post {
    padding: 2rem;
  }

  .stat-row {
    flex-direction: column;
  }

  .blog-sidebar {
    padding: 1.5rem;
  }

  .site-header {
    position: static;
  }

  body::after {
    content: none;
  }

  .nav {
    margin: 0.75rem 0.75rem 0;
    border-radius: 16px;
  }
}
