/* Tablet */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }

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

  .feature-item:nth-child(2) {
    border-right: none;
  }

  .feature-item:nth-child(3),
  .feature-item:nth-child(4) {
    border-top: 1px solid var(--border);
  }

  .programs-grid,
  .classes-grid,
  .benefits-grid,
  .service-pricing {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5) {
    grid-column: span 1;
  }

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

  .about-grid,
  .bmi-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image img {
    height: 400px;
  }

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

  .plan-card.featured {
    transform: none;
  }

  .plan-card.featured:hover {
    transform: translateY(-5px);
  }
}

/* Mobile Landscape */
@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 2.2rem;
  }

  /* Navigation */
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 30px 20px;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    font-size: 1rem;
  }

  /* Hero */
  .hero {
    height: 90vh;
    min-height: 500px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    text-align: center;
  }

  .slider-arrows {
    padding: 0 15px;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-item {
    padding: 25px 20px;
  }

  .feature-item:nth-child(2) {
    border-right: none;
  }

  .feature-item:nth-child(3) {
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }

  .feature-item:nth-child(4) {
    border-top: 1px solid var(--border);
    border-right: none;
  }

  /* Programs, Classes */
  .programs-grid,
  .classes-grid {
    grid-template-columns: 1fr;
  }

  .class-card {
    height: 280px;
  }

  /* Plans */
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  /* About */
  .about-text h2 {
    font-size: 2rem;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-experience {
    bottom: -15px;
    right: -10px;
    padding: 18px 22px;
  }

  .about-experience .number {
    font-size: 1.8rem;
  }

  /* BMI */
  .bmi-content h2 {
    font-size: 2rem;
  }

  .bmi-calculator {
    padding: 25px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item {
    height: 200px;
  }

  /* Contact */
  .contact-info h2 {
    font-size: 2rem;
  }

  .contact-form {
    padding: 25px;
  }

  /* CTA */
  .cta-section h2 {
    font-size: 2.2rem;
  }

  .cta-section .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer {
    padding: 50px 0 25px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Page Header */
  .page-header {
    padding: 140px 0 60px;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  /* Transformation */
  .transformation-grid {
    grid-template-columns: 1fr;
  }

  .transformation-card .images img {
    height: 200px;
  }

  /* Team */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-card img {
    height: 220px;
  }

  /* Benefits */
  .benefits-grid,
  .service-pricing {
    grid-template-columns: 1fr;
  }

  .service-hero h1 {
    font-size: 2.8rem;
  }

  /* BMI Calculator Row */
  .bmi-calculator .row {
    grid-template-columns: 1fr;
  }

  /* Table */
  .schedule-table {
    font-size: 0.85rem;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 10px 12px;
  }
}

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

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 35px;
  }

  .hero {
    height: 85vh;
    min-height: 450px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .hero-text {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 14px 36px;
    font-size: 1rem;
  }

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

  .feature-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

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

  .feature-item:nth-child(3) {
    border-top: none;
    border-right: none;
  }

  .feature-item:nth-child(4) {
    border-top: none;
    border-right: none;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-image img {
    height: 300px;
  }

  .about-experience {
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: 15px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .page-header h1 {
    font-size: 2rem;
  }

  .service-hero h1 {
    font-size: 2.2rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
    bottom: 20px;
    right: 20px;
  }
}
