/* ==========================================================================
   Platinum Communications — Responsive Adjustments
   Layout/overflow only — desktop design & interactions unchanged
   ========================================================================== */

/* Shared fluid media / text safety (all breakpoints) */
img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
  height: auto;
}

.site-logo,
.footer-brand img {
  height: auto;
}

.footer-address,
.footer-desc,
.page-banner__lead,
.cta-band p,
.svc-card__text,
.why-gallery__text,
.mv-card p,
.contact-form-wrap p {
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

/* --------------------------------------------------------------------------
   ≤1199px — large tablet / small desktop
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .hero__orbits {
    width: 360px;
    height: 360px;
    right: -100px;
    opacity: 0.28;
  }

  .values-orbit__stage {
    --orbit-size: min(460px, 100%);
  }
}

/* --------------------------------------------------------------------------
   ≤991px — tablet / collapsed nav
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .trust-card {
    aspect-ratio: auto;
    min-height: 260px;
  }

  .page-home .site-header {
    position: sticky;
    top: 0;
    background: var(--plc-white);
    border-bottom: 1px solid var(--plc-border);
  }

  .page-home .site-header:not(.is-scrolled) .nav-link {
    color: var(--plc-navy);
  }

  .page-home .site-header:not(.is-scrolled) .site-logo-dark { display: block; }
  .page-home .site-header:not(.is-scrolled) .site-logo-light { display: none; }

  .page-home .site-header:not(.is-scrolled) .navbar-toggler {
    border-color: var(--plc-border);
    background: transparent;
  }

  .page-home .site-header:not(.is-scrolled) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23102A43' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  .page-home .site-header:not(.is-scrolled) .header-phone-btn {
    border-color: var(--plc-blue);
    color: var(--plc-blue);
  }

  .page-home .site-header:not(.is-scrolled) .btn-cta {
    background: var(--plc-gradient);
    color: var(--plc-white);
  }

  .navbar-collapse {
    background: var(--plc-white);
    border: 1px solid var(--plc-border);
    border-radius: var(--plc-radius);
    padding: 1rem;
    margin-top: 0.75rem;
    box-shadow: var(--plc-shadow);
  }

  .navbar-nav .nav-link {
    padding: 0.65rem 0.75rem !important;
    color: var(--plc-navy) !important;
  }

  .navbar-nav .nav-link::after { display: none; }

  .btn-cta {
    width: 100%;
    margin-top: 0.75rem;
    text-align: center;
    white-space: normal;
  }

  .navbar .btn-cta {
    white-space: normal;
  }

  .hero {
    min-height: auto;
    padding: 7.5rem 0 5.5rem;
    align-items: center;
  }

  .hero h1 { max-width: none; }

  .hero__content .row {
    --bs-gutter-y: 2rem;
  }

  .hero-process {
    justify-content: flex-start;
    margin-top: 0.75rem;
    max-width: 100%;
  }

  .hero__orbits {
    opacity: 0.2;
    width: 280px;
    height: 280px;
    right: -80px;
  }

  .hero__scroll {
    bottom: 3.25rem;
  }

  .sheet {
    margin-top: -2.5rem;
    border-radius: 28px 28px 0 0;
    padding-top: 3rem;
  }

  .section { padding: 4rem 0; }

  .media-stack {
    min-height: 360px;
    max-width: 480px;
    margin: 0 auto 1rem;
  }

  .page-banner {
    padding: 5rem 0 3.5rem;
  }

  .page-banner__lead {
    font-size: 1.05rem;
    max-width: none;
  }

  .values-section {
    overflow-x: clip;
  }

  .values-orbit {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .cta-band--photo {
    padding: 4.5rem 0;
  }

  .cta-band h2 {
    font-size: clamp(1.65rem, 4vw, 2.4rem);
  }

  .media-frame__overlay-badge {
    max-width: calc(100% - 1.5rem);
  }

  .footer-grid {
    gap: 1.75rem 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   ≤767px — mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .trust-card-wrap {
    --trust-shape: 96px;
    --trust-badge: 56px;
  }

  .trust-card {
    min-height: 250px;
    padding: 1.85rem 1.5rem 4.5rem;
    border-radius: 26px;
  }

  .trust-card__title {
    font-size: 1.4rem;
    padding-right: 3.5rem;
  }

  .trust-card__rule {
    margin-top: 1rem;
    width: 60%;
  }

  .trust-card__text {
    margin-top: 1.15rem;
    font-size: 1rem;
    padding-right: 4rem;
  }

  .trust-card__icon {
    width: 44px;
    height: 44px;
    right: 1.35rem;
    bottom: 1.35rem;
  }

  .trust-card__num {
    top: 10px;
    right: 10px;
    font-size: 0.75rem;
  }

  .site-logo {
    width: auto;
    height: auto;
    max-width: 80px;
  }

  .navbar-brand {
    max-width: calc(100% - 6.5rem);
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  .site-header .navbar {
    min-height: 0;
  }

  .site-header .container {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  .header-phone-btn,
  .navbar-toggler {
    width: 42px;
    height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    padding: 6.5rem 0 4.5rem;
    text-align: left;
  }

  .hero__copy {
    font-size: 1rem;
    max-width: none;
  }

  .hero-process {
    min-height: auto;
    flex-wrap: nowrap;
    gap: 0;
    justify-content: flex-start;
    margin-top: 0.5rem;
    overflow: visible;
  }

  .hero-process__circle {
    width: 88px;
    margin-left: -1rem !important;
    flex-shrink: 0;
  }

  .hero-process__circle:first-child {
    margin-left: 0 !important;
  }

  .hero-process__ripple { display: none; }

  .hero-process__title {
    font-size: 0.68rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn-arrow {
    width: 100%;
    justify-content: space-between;
  }

  .hero__actions .btn-arrow span {
    flex: 1;
    justify-content: center;
  }

  .sheet { margin-top: -1.75rem; padding-top: 2.5rem; }

  .media-stack { min-height: 300px; }

  .media-stack__main { width: 88%; }
  .media-stack__inset { width: 46%; bottom: 4%; }

  .contact-form-wrap { padding: 1.5rem; }

  /* Prevent iOS zoom on focus — keeps form usable on phones */
  .form-control,
  .form-select,
  textarea.form-control {
    font-size: 16px;
  }

  .cta-band--photo { padding: 4rem 0; }

  .cta-band .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  /* Keep single CTA buttons content-sized (centered), not stretched empty */
  .cta-band .btn-arrow {
    width: auto;
    max-width: 100%;
  }

  /* Paired CTAs (home) still go full width with label + arrow ends */
  .cta-band .hero__actions .btn-arrow {
    width: 100%;
    justify-content: space-between;
  }

  .cta-band .hero__actions .btn-arrow span {
    flex: 1;
    justify-content: center;
  }

  .footer-brand img {
    width: auto;
    height: auto;
    max-width: 110px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1.25rem;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
  }

  .site-footer {
    padding-top: 2.25rem;
  }

  .footer-bottom {
    margin-top: 1.5rem;
    flex-wrap: wrap;
  }

  .footer-bottom p {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .footer-social {
    margin-left: auto;
  }

  .mv-card {
    padding: 1.5rem;
  }

  .stat-block {
    padding: 1.35rem 1rem;
  }

  .svc-slider__viewport {
    margin: 0;
  }
}

/* --------------------------------------------------------------------------
   ≤575px — small phones
   -------------------------------------------------------------------------- */
@media (max-width: 575.98px) {
  body { font-size: 1rem; }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-social {
    margin-left: 0;
  }

  h1 { font-size: clamp(2rem, 9vw, 2.6rem); }

  .section-head { margin-bottom: 2rem; }

  .section {
    padding: 3.25rem 0;
  }

  .trust-card-wrap {
    --trust-shape: 84px;
    --trust-badge: 48px;
  }

  .trust-card {
    min-height: 260px;
    padding: 1.75rem 1.4rem 4.25rem;
    border-radius: 28px;
  }

  .trust-card__title {
    font-size: 1.45rem;
    padding-right: 3rem;
  }

  .trust-card__text {
    padding-right: 0;
    max-width: none;
  }

  .trust-card__icon {
    width: 44px;
    height: 44px;
    right: 1.25rem;
    bottom: 1.25rem;
  }

  .stat-block strong { font-size: 2rem; }

  .media-stack {
    min-height: 260px;
  }

  .media-frame__overlay-badge {
    padding: 0.65rem 0.85rem;
    font-size: 0.85rem;
  }

  .page-banner {
    padding: 4.25rem 0 2.75rem;
  }

  .page-banner__lead {
    font-size: 0.98rem;
  }

  .breadcrumb {
    font-size: 0.85rem;
    flex-wrap: wrap;
  }

  .contact-form-wrap {
    padding: 1.25rem;
    border-radius: 18px;
  }

  .hero {
    padding: 5.75rem 0 3.75rem;
  }

  .hero-process__circle {
    width: 78px;
    margin-left: -0.85rem !important;
    padding: 0.45rem;
  }

  .hero-process__circle:first-child {
    margin-left: 0 !important;
  }

  .hero-process__num {
    font-size: 1.1rem;
  }

  .hero-process__title {
    font-size: 0.6rem;
  }

  .hero__scroll {
    display: none;
  }

  .hero__orbits {
    display: none;
  }

  .cta-band--photo {
    padding: 3.25rem 0;
  }

  .error-page {
    padding: 3.5rem 0;
    min-height: 50vh;
  }
}

/* --------------------------------------------------------------------------
   ≤389px — very small phones
   -------------------------------------------------------------------------- */
@media (max-width: 389.98px) {
  .site-logo {
    height: 44px;
    max-width: 108px;
  }

  .site-header .container {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }

  .hero-process__circle {
    width: 70px;
    margin-left: -0.7rem !important;
  }

  .hero-process__circle:first-child {
    margin-left: 0 !important;
  }

  .hero-process__title {
    font-size: 0.52rem;
  }

  .values-orbit__card {
    width: 4.8rem;
    min-height: 3.4rem;
  }

  .values-orbit__card span {
    font-size: 0.5rem;
  }

  .why-gallery__item--5 {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .why-gallery__item--5 .why-gallery__media {
    max-width: 100%;
  }
}

/* Landscape phones — keep hero usable */
@media (max-height: 480px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 5rem 0 3rem;
  }

  .hero__scroll {
    display: none;
  }

  .page-banner {
    padding: 4rem 0 2.5rem;
  }
}
