/* Shared touch layouts; loaded after each page's component styles. */
html { scroll-padding-top: 88px; }
button.menu-toggle { border: 0; background: transparent; font: inherit; }
.dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: none; }

@media (max-width: 1100px) {
  .navbar, .navbar.scrolled { padding: 10px 0; background: #fff; }
  .navbar .container { justify-content: space-between; gap: 16px; padding-inline: 20px; }
  .navbar .logo { min-width: 0; }
  .navbar .logo img { max-width: 200px; object-fit: contain; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; margin-left: auto; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 12px 20px 20px; padding-bottom: max(20px, env(safe-area-inset-bottom)); max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 12px 24px rgba(15,23,42,.12); border-top: 1px solid #e8edf1; }
  .nav-links.active { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links > li { width: 100%; }
  .nav-links a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; font-size: 16px; line-height: 1.5; }
  .dropdown-menu { position: static; display: grid; grid-template-columns: 1fr; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 2px solid #dbe6ee; border-radius: 0; margin: 4px 0 8px 16px; padding: 0; background: #f7f9fb; }
  .dropdown-menu a { font-size: 14px; padding-left: 16px; }
}

@media (max-width: 768px) {
  :root { --font-size-5xl: 2rem; --font-size-4xl: 1.75rem; --font-size-3xl: 1.5rem; --font-size-2xl: 1.25rem; --spacing-3xl: 44px; }
  body { -webkit-text-size-adjust: 100%; }
  .container { padding-inline: 20px; }
  h1, h2, h3, h4, p, a { overflow-wrap: break-word; letter-spacing: 0; }
  h1, h2, h3, h4 { line-height: 1.35; }
  .grid, .hotel-grid { gap: 20px; }
  .grid > *, .hotel-grid > *, .contact-grid > * { min-width: 0; }
  .section-header, .section-title-area { margin-bottom: 28px; }
  .section-header p, .section-title-area p { font-size: 16px; line-height: 1.75; }
  .btn, .btn-cta { min-height: 48px; padding: 12px 20px; font-size: 16px; justify-content: center; }
  .hero { min-height: 540px; min-height: min(620px, 84svh); padding: 112px 0 48px; }
  .hero .hero-content > img { max-width: min(280px, 100%); height: auto !important; }
  .hero-content > div { gap: 12px !important; }
  .page-banner { padding: 108px 0 44px; }
  .card { padding: 24px; border-radius: 8px; }
  .card:hover, .hotel-card:hover, .gallery-item:hover { transform: none; }
  .card-icon { width: 48px; height: 48px; margin-bottom: 16px; }
  .about-content, .contact-grid { gap: 28px; }
  .about-image img { height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; }
  .about-text p { font-size: 16px; line-height: 1.8; }
  .timeline { padding-left: 24px; }
  .timeline-item { padding-bottom: 28px; }
  .timeline-item::before { left: -29px; }
  .home-stats .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .home-stats .grid > div > p:first-child { font-size: 34px !important; line-height: 1.2; }
  .home-stats .grid > div > p:last-child { font-size: 14px; margin-bottom: 0; }
  .footer { padding-top: 36px; }
  .footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; text-align: left; }
  .footer-brand, .footer-content > div:last-child { grid-column: 1 / -1; }
  .footer h4 { margin-bottom: 12px; }
  .footer-links li { margin-bottom: 0; }
  .footer-links a { display: flex; align-items: center; min-height: 44px; font-size: 14px; }
  .footer-brand p, .footer-bottom { font-size: 14px; }

  .hotel-hero { min-height: 540px; min-height: min(620px, 88svh); padding: 112px 0 48px; background-position: 72% center; }
  .hotel-hero h1 { font-size: 36px; line-height: 1.25; margin-bottom: 18px; }
  .hotel-hero .hero-eyebrow { font-size: 13px; gap: 8px; margin-bottom: 20px; }
  .hotel-hero .hero-eyebrow::before { width: 22px; flex: 0 0 22px; }
  .hotel-hero .hero-subtitle { font-size: 20px !important; text-align: left; }
  .hotel-hero .hero-lead { font-size: 16px; line-height: 1.8; margin-bottom: 24px; }
  .hotel-hero .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hotel-hero .hero-actions .btn { padding-inline: 10px; }
  .brand-intro-content { gap: 24px; }
  .brand-text h2 { font-size: 26px; }
  .brand-text p { font-size: 16px; }
  .brand-text .slogan { font-size: 18px; }
  .stat-item { padding: 14px 0; }
  .stat-item .number { font-size: 30px; }
  .hotel-card-image { height: auto; aspect-ratio: 16 / 10; }
  .hotel-card-content { padding: 20px; }
  .hotel-card h4 { font-size: 21px; }
  .hotel-card .description { font-size: 15px; }
  .hotel-meta { font-size: 13px; gap: 8px 12px; }
  .hotel-contact, .project-summary a { min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; margin-top: 8px; }
  .project-summary { padding: 20px; gap: 8px; }
  .hotel-cta h2 { font-size: 26px; }

  .advertising-hero { padding: 112px 0 48px; }
  .advertising-hero h1 { font-size: 36px; }
  .advertising-hero .tagline { font-size: 22px; line-height: 1.5; }
  .advertising-hero .subtitle { font-size: 16px; line-height: 1.8; }
  .hero-proof { gap: 8px; }
  .hero-proof span { font-size: 13px; padding: 8px 12px; }
  .about-stats, .client-grid, .capabilities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stat-card { padding: 20px 12px; }
  .stat-card .stat-number { font-size: 26px; }
  .client-card { padding: 14px 10px; min-height: 76px; }
  .client-card .client-name { font-size: 15px; }
  .gallery-item > img { height: auto; aspect-ratio: 4 / 3; }
  .case-modal-media { touch-action: pan-y pinch-zoom; }
  .case-modal-dialog { height: 100dvh; max-height: 100dvh; }
  .case-modal-media img { max-height: 56dvh; }
  .case-modal-info { padding: 20px; padding-bottom: max(20px, env(safe-area-inset-bottom)); max-height: 42dvh; }
  .case-modal-close { top: max(12px, env(safe-area-inset-top)); width: 44px; height: 44px; }
  .case-modal-prev { left: 8px; }
  .case-modal-next { right: 8px; }
  .case-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .case-thumb img { height: 64px; }

  .jx-hero { min-height: 0; padding: 112px 0 48px; }
  .jx-hero h1 { font-size: 36px; }
  .jx-hero .subtitle { font-size: 23px; line-height: 1.5; }
  .jx-hero p { font-size: 16px; }
  .jx-section { padding: 44px 0; }
  .jx-title h2 { font-size: 28px; }
  .jx-title span { letter-spacing: 0; }
  .jx-about, .jx-service-layout { gap: 24px; }
  .jx-feature-img { width: 100%; height: auto; max-height: none; object-fit: contain; }
  .jx-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .jx-proof-item { padding: 20px 10px; }
  .jx-proof-item b { font-size: 26px; }
  .jx-service-group { padding: 20px; }
  .jx-service-group h3 { padding: 10px 12px; font-size: 18px; }

  .contact-section { padding-top: 108px; min-height: 0; }
  .contact-info, .contact-form { padding: 24px 20px; border-radius: 8px; }
  .contact-info h3, .contact-form h3 { font-size: 24px; margin-bottom: 20px; }
  .contact-item { gap: 12px; margin-bottom: 20px; }
  .contact-item:last-child { margin-bottom: 0; }
  .form-group { margin-bottom: 20px; }
  .form-group input, .form-group textarea { min-height: 48px; padding: 12px; font-size: 16px; scroll-margin-top: 90px; }
  .form-group textarea { min-height: 140px; }
  .notification { left: 16px; right: 16px !important; max-width: calc(100% - 32px); }
}

@media (max-width: 360px) {
  .container, .navbar .container { padding-inline: 16px; }
  .hotel-hero h1 { font-size: 32px; }
  .hotel-hero .hero-eyebrow { font-size: 12px; }
  .hotel-hero .hero-actions .btn { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
