/* Dedicated phone layout. Desktop styles remain untouched. */
@media (max-width: 767px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  body {
    font-size: 16px;
    line-height: 1.65;
  }

  nav {
    height: 64px !important;
    padding: 0 !important;
  }

  .nav-container {
    height: 64px;
    padding: 0 24px !important;
  }

  .logo .nav-logo-img {
    width: 142px !important;
    max-width: 142px !important;
    height: 42px !important;
  }

  .mobile-menu-btn {
    width: 40px;
    height: 40px;
    padding: 8px;
    align-items: flex-end;
    justify-content: center;
  }

  .mobile-menu-btn span { width: 24px; }

  .lang-switch {
    right: 67px !important;
    top: 15px !important;
    gap: 3px !important;
    font-size: 9px !important;
  }

  .lang-switch a { padding: 6px 3px; }

  .nav-links {
    top: 64px;
    padding: 24px !important;
    gap: 16px !important;
    border-top: 1px solid rgba(255,255,255,.08);
  }

  .nav-links a { font-size: 12px; }

  section { padding: 56px 24px; }

  .section-header {
    max-width: none;
    margin: 0 0 30px;
    text-align: left;
  }

  .section-tag {
    display: block;
    margin-bottom: 10px;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: .2em;
  }

  .section-header h2,
  #over-ons .section-header h2 {
    margin-bottom: 14px;
    font-size: clamp(30px, 8.5vw, 35px);
    line-height: 1.08;
    letter-spacing: -.02em;
    overflow-wrap: normal;
    word-break: normal;
  }

  .section-header p,
  .about-text p,
  .contact-info p {
    font-size: 16px;
    line-height: 1.65;
  }

  /* Compact, image-led mobile hero. */
  .hero {
    min-height: 0 !important;
    height: auto;
    padding: 0;
    align-items: flex-start;
    background-position: 58% center;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(5,12,9,.94) 0%, rgba(6,13,10,.82) 58%, rgba(5,10,8,.45) 100%);
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 91px 24px 30px !important;
  }

  .hero-kicker {
    gap: 10px;
    margin-bottom: 13px;
    font-size: 10px;
    letter-spacing: 2px;
  }

  .hero-kicker span { width: 28px; }

  .hero h1 {
    margin: 0 0 15px;
    font-size: clamp(30px, 8.4vw, 34px) !important;
    line-height: 1.06 !important;
    letter-spacing: -1px !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
  }

  .hero h1 strong {
    display: inline-block;
    max-width: 100%;
    font-size: clamp(23px, 6.65vw, 28px);
    letter-spacing: -1.1px;
    white-space: nowrap;
  }

  .hero-lead {
    max-width: 34rem;
    margin: 0 0 20px;
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  .hero-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
    min-height: 44px;
    padding: 12px 8px;
    font-size: 9px;
    line-height: 1.35;
    letter-spacing: .1em;
    text-align: center;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px 18px;
    max-width: none;
    margin-top: 22px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(5,12,9,.48);
    backdrop-filter: blur(5px);
  }

  .hero-facts div,
  .hero-facts div:first-child { padding: 0; border: 0; }
  .hero-facts b { margin-bottom: 2px; font-size: 11px; line-height: 1.35; }
  .hero-facts span { font-size: 9px; line-height: 1.45; }
  .scroll-indicator,
  .trustline,
  .trust-strip { display: none; }

  /* Services */
  #diensten { padding-top: 52px; }
  .services-grid { gap: 12px; }
  .service-card { padding: 23px 22px !important; }
  .service-brand-icon {
    width: 64px !important;
    height: 48px !important;
    margin: 0 0 12px !important;
  }
  .service-card h3 { margin-bottom: 7px; font-size: 24px; line-height: 1.15; }
  .service-card p { font-size: 15px; line-height: 1.6; }

  /* About */
  #over-ons { padding-top: 54px; padding-bottom: 56px; }
  #over-ons .section-header { margin-bottom: 28px; }
  .about-content { gap: 28px; }
  .about-text h3 { margin-bottom: 12px; font-size: 28px; line-height: 1.15; }
  .about-text p { margin-bottom: 14px; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
  .stat { padding: 18px 10px; }
  .stat-number { font-size: 24px; line-height: 1.1; }
  .stat-label { font-size: 9px; line-height: 1.4; letter-spacing: .1em; }
  .about-image-placeholder { aspect-ratio: 4 / 3; }

  /* Editorial story order: intro, image, context, action. */
  .superyacht-section { padding: 54px 24px !important; }
  .superyacht-wrap { display: grid !important; grid-template-columns: 1fr !important; gap: 0 !important; }
  .superyacht-copy { display: contents; }
  .superyacht-copy .section-tag { order: 1; margin-bottom: 10px; }
  .superyacht-copy h2 {
    order: 2;
    margin: 0 0 15px;
    font-size: clamp(30px, 8.5vw, 35px);
    line-height: 1.08;
    letter-spacing: -.04em;
  }
  .superyacht-copy > p:not(.sy-note) { order: 3; margin-bottom: 22px; font-size: 16px; line-height: 1.65; }
  .superyacht-gallery {
    order: 4;
    grid-template-columns: 1.4fr 1fr !important;
    grid-template-rows: 205px 112px !important;
    gap: 7px;
    margin-bottom: 22px;
  }
  .superyacht-gallery .sy-main { grid-column: 1 / -1 !important; }
  .superyacht-gallery:before { left: 9px; top: 9px; padding: 8px 10px; font-size: 7px; }
  .superyacht-copy .sy-note { order: 5; margin: 0 0 20px; font-size: 14px; line-height: 1.6; }
  .sy-button { order: 6; width: 100%; min-height: 48px; justify-content: center; padding: 14px; text-align: center; }

  /* Work gallery */
  #projecten { padding-top: 54px; }
  #projecten .section-header { margin-bottom: 20px; }
  .work-intro { margin: 0 0 26px; text-align: left; font-size: 15px; line-height: 1.65; }
  #projecten .gallery-grid { grid-template-columns: 1fr !important; gap: 10px; padding: 0; }
  #projecten .project-card,
  #projecten .project-card:nth-child(n) { grid-column: 1 / -1; aspect-ratio: 4 / 3 !important; }

  /* Contact details come before the longer request guidance. */
  #contact { padding-top: 54px; }
  #contact .section-header { margin-bottom: 28px; }
  .contact-container { gap: 30px; }
  .contact-info { display: flex; flex-direction: column; }
  .contact-info h3 { order: 1; margin-bottom: 16px; font-size: 27px; line-height: 1.15; }
  .contact-details { order: 2; margin: 0 0 8px; }
  .contact-info > p { order: 3; margin: 0; }
  .contact-item { gap: 14px; margin-bottom: 18px; }
  .contact-item-content h4 { margin-bottom: 2px; }
  .contact-item-content p { overflow-wrap: anywhere; font-size: 15px; }
  .contact-form { padding: 24px 20px; }
  .form-group { margin-bottom: 17px; }
  .form-group input,
  .form-group textarea { padding: 13px; font-size: 16px; }
  .form-group textarea { min-height: 120px; }

  footer { padding: 48px 24px 24px; }
  .footer-content { gap: 28px; padding-bottom: 28px; }
  .footer-bottom { align-items: flex-start; text-align: left; }
}

@media (max-width: 374px) {
  .nav-container { padding-right: 18px !important; padding-left: 18px !important; }
  .logo .nav-logo-img { width: 132px !important; max-width: 132px !important; }
  .lang-switch { right: 57px !important; }
  section,
  .superyacht-section { padding-right: 24px !important; padding-left: 24px !important; }
  .hero-content { padding-right: 24px !important; padding-left: 24px !important; }
  .hero h1 strong { font-size: 23px; letter-spacing: -1.25px; }
  .hero-facts { gap: 12px; padding: 15px; }
}
