/* ── RESPONSIVE STYLES ── */

/* ── TABLET: 1024px ── */
@media (max-width: 1024px) {
  :root {
    --section-gap: 80px;
  }

  .container {
    padding: 0 28px;
  }

  .header-inner {
    padding: 0 28px;
  }

  .main-nav {
    gap: 24px;
  }

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

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

  .portfolio-item--large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .portfolio-item--large .portfolio-item__image {
    min-height: 380px;
  }

  .philosophy-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .philosophy-image-stack {
    height: 440px;
  }

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

  .testimonials-wrapper .testimonial-card:last-child {
    grid-column: span 2;
    max-width: 500px;
    margin: 0 auto;
  }

  .process-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .process-image {
    height: 400px;
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

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

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

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

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

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

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .service-feature {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .service-feature--reverse {
    direction: ltr;
  }

  .service-feature__image {
    height: 380px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }

  .pricing-card--featured {
    transform: scale(1);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .map-wrapper {
    margin-top: 60px;
    height: 360px;
  }
}

/* ── MOBILE LARGE: 768px ── */
@media (max-width: 768px) {
  :root {
    --section-gap: 64px;
    --header-height: 68px;
  }

  .container {
    padding: 0 20px;
  }

  .header-inner {
    padding: 0 20px;
  }

  .main-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(2.1rem, 8vw, 3.4rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

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

  .stat-item {
    padding: 16px 20px;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card__image {
    height: 220px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .portfolio-item--large {
    grid-column: span 1;
  }

  .portfolio-item--large .portfolio-item__image {
    min-height: 300px;
  }

  .portfolio-item__image {
    min-height: 220px;
  }

  .philosophy-image-stack {
    height: 320px;
  }

  .philosophy-img-main {
    width: 70%;
    height: 75%;
  }

  .philosophy-img-accent {
    width: 50%;
    height: 50%;
  }

  .testimonials-wrapper {
    grid-template-columns: 1fr;
  }

  .testimonials-wrapper .testimonial-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

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

  .cta-actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .footer-legal-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

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

  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .service-feature {
    gap: 36px;
  }

  .service-feature__image {
    height: 280px;
  }

  .contact-form-wrapper {
    padding: 28px 24px;
  }

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

  .page-hero {
    padding: 140px 0 60px;
  }

  .page-hero__title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .mobile-nav-overlay__link {
    font-size: 1.6rem;
  }

  .section-header {
    margin-bottom: 44px;
  }

  .philosophy-pillars {
    gap: 24px;
  }

  .process-steps::before {
    left: 20px;
  }

  .process-step__number {
    width: 40px;
    height: 40px;
  }

  .map-wrapper {
    height: 280px;
    margin-top: 48px;
  }

  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }

  .notice-banner {
    padding: 10px 20px;
    font-size: 0.75rem;
  }
}

/* ── MOBILE SMALL: 480px ── */
@media (max-width: 480px) {
  .hero-badge {
    font-size: 0.65rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

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

  .pricing-grid {
    max-width: 100%;
  }

  .section-title {
    font-size: clamp(1.7rem, 6vw, 2.6rem);
  }

  .philosophy-image-stack {
    height: 260px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .contact-form-wrapper {
    padding: 24px 18px;
  }

  .opening-hours {
    padding: 18px;
  }

  .footer-brand__text {
    max-width: 100%;
  }
}

/* ── PRINT ── */
@media print {
  .site-header,
  .mobile-nav-overlay,
  .scroll-top-btn,
  .hero-scroll,
  .notice-banner {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero {
    min-height: auto;
    padding: 48px 0;
  }

  .hero-bg,
  .hero-overlay {
    display: none;
  }

  .hero-content {
    color: #000;
  }

  .hero-title,
  .hero-subtitle,
  .hero-badge {
    color: #000;
    animation: none;
  }
}

/* ── HIGH CONTRAST ── */
@media (prefers-contrast: high) {
  :root {
    --color-text-primary: #000;
    --color-text-secondary: #333;
    --color-border: rgba(0,0,0,0.3);
  }
}