/*
Theme Name: ProHotel Modern
Theme URI: https://pro-hotel.pl/
Author: ProHotel.pl
Description: Niezależny motyw blokowy WordPress dla marki osobistej ProHotel.pl. Zbudowany pod Gutenberg Site Editor.
Version: 1.0.3
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: prohotel-modern
*/

:root {
  --ph-ink: #142033;
  --ph-muted: #687589;
  --ph-paper: #ffffff;
  --ph-mist: #f6f9ff;
  --ph-line: #dbe7f6;
  --ph-navy: #152f57;
  --ph-blue: #3b82f6;
  --ph-soft-blue: #eaf3ff;
  --ph-gold: #f2b94f;
  --ph-shadow: 0 28px 80px rgba(21, 47, 87, .12);
  --ph-radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(90deg, rgba(21, 47, 87, .04) 1px, transparent 1px),
    linear-gradient(rgba(21, 47, 87, .035) 1px, transparent 1px),
    var(--ph-mist);
  background-size: 42px 42px;
}

img {
  max-width: 100%;
}

.ph-wrap {
  width: min(1180px, calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

.ph-section {
  padding: clamp(72px, 8vw, 120px) 0;
}

.ph-section-head {
  max-width: 780px;
  margin-bottom: 38px;
}

.ph-kicker {
  margin-bottom: 12px;
  color: var(--ph-blue);
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
}

.ph-section-head h2,
.ph-copy h2,
.ph-contact h2 {
  margin-bottom: 14px;
  color: var(--ph-navy);
  font-size: clamp(1.68rem, 2.65vw, 2.46rem);
  line-height: 1.16;
  font-weight: 500;
  text-wrap: balance;
}

.ph-section-head p,
.ph-copy p,
.ph-service-card p,
.ph-trust-card p,
.ph-step p {
  color: var(--ph-muted);
  font-size: 1rem;
}

.ph-section-head p,
.ph-copy p,
.ph-service-card p:not(.ph-service-number),
.ph-trust-card p,
.ph-step p {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  text-wrap: pretty;
}

.ph-contact .ph-section-head p,
.ph-expert-caption span,
.ph-proof span,
.ph-logo-placeholder,
.ph-list li,
.ph-form-note,
.ph-form-status {
  text-align: left;
  hyphens: manual;
}

.ph-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(219, 231, 246, .82);
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.ph-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 8px 0;
}

.ph-logo img {
  width: 178px;
  max-height: 64px;
  height: auto;
  object-fit: contain;
}

.ph-nav {
  flex: 1;
  justify-content: flex-end;
  gap: 8px 18px;
  font-size: .88rem;
  font-weight: 500;
}

.ph-nav .wp-block-navigation-item__content {
  position: relative;
  padding: 9px 0;
}

.ph-nav .wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 2px;
  background: var(--ph-gold);
  transition: right .22s ease;
}

.ph-nav .wp-block-navigation-item__content:hover::after {
  right: 0;
}

.ph-btn:not(.wp-block-button),
.ph-nav-cta .wp-block-navigation-item__content,
.wp-block-button.ph-btn .wp-block-button__link,
.wp-block-button .wp-block-button__link.ph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ph-blue);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 16px 34px rgba(59, 130, 246, .18);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.ph-btn:not(.wp-block-button):hover,
.ph-nav-cta .wp-block-navigation-item__content:hover,
.wp-block-button.ph-btn .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link.ph-btn:hover {
  transform: translateY(-2px);
  background: #2563eb;
  color: #fff;
  box-shadow: 0 22px 48px rgba(59, 130, 246, .25);
}

.ph-btn-light:not(.wp-block-button),
.wp-block-button.ph-btn-light .wp-block-button__link,
.wp-block-button .wp-block-button__link.ph-btn-light {
  background: #fff;
  color: var(--ph-navy);
  border-color: var(--ph-line);
  box-shadow: none;
}

.ph-hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  padding: clamp(54px, 7vw, 86px) 0 48px;
  background:
    linear-gradient(110deg, rgba(21, 47, 87, .92) 0%, rgba(21, 47, 87, .76) 48%, rgba(21, 47, 87, .22) 100%),
    url("https://pro-hotel.pl/wp-content/uploads/2017/11/onepress2_hero.jpg") center/cover;
  color: #fff;
  isolation: isolate;
}

.ph-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22vh;
  background: linear-gradient(0deg, rgba(246, 249, 255, 1), rgba(246, 249, 255, 0));
  z-index: -1;
}

.ph-hero::after {
  content: "PROHOTEL";
  position: absolute;
  right: -2vw;
  bottom: 2vh;
  z-index: -1;
  color: rgba(255, 255, 255, .04);
  font-size: clamp(5rem, 15vw, 15rem);
  line-height: .8;
  font-weight: 500;
}

.ph-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(330px, .82fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.ph-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: #dbeafe;
  font-size: .82rem;
  font-weight: 500;
  text-transform: uppercase;
}

.ph-eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--ph-gold);
}

.ph-hero h1 {
  max-width: 820px;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(2.35rem, 4.8vw, 4.65rem);
  line-height: 1.06;
  font-weight: 500;
}

.ph-hero-lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.ph-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.ph-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--ph-radius);
  overflow: hidden;
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.ph-proof {
  min-height: 110px;
  padding: 17px;
  border-right: 1px solid rgba(255, 255, 255, .14);
}

.ph-proof:last-child {
  border-right: 0;
}

.ph-proof strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 1.13rem;
  line-height: 1.1;
  font-weight: 500;
}

.ph-proof-icon {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .92;
}

.ph-proof span {
  color: rgba(255, 255, 255, .68);
  font-size: .9rem;
}

.ph-expert-stage {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
}

.ph-expert-card {
  position: relative;
  min-height: 575px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
  box-shadow: 0 38px 110px rgba(0, 0, 0, .32);
}

.ph-expert-card img {
  width: 100%;
  height: 100%;
  min-height: 575px;
  object-fit: cover;
  object-position: 50% 20%;
}

.ph-expert-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(21, 47, 87, .82) 0%, rgba(21, 47, 87, .24) 48%, rgba(21, 47, 87, .04) 100%);
}

.ph-expert-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  color: #fff;
}

.ph-expert-caption strong {
  display: block;
  font-size: 1.35rem;
}

.ph-expert-caption span {
  display: block;
  max-width: 430px;
  margin-top: 8px;
  color: rgba(255, 255, 255, .72);
  font-size: .95rem;
  line-height: 1.55;
  font-weight: 500;
}

.ph-floating-note,
.ph-audit-ticket {
  position: absolute;
  z-index: 3;
  width: min(270px, 58vw);
  padding: 20px;
  border-radius: var(--ph-radius);
  box-shadow: var(--ph-shadow);
}

.ph-floating-note {
  left: -42px;
  top: 46px;
  background: #fff;
  color: var(--ph-navy);
}

.ph-floating-note small {
  display: block;
  margin-bottom: 8px;
  color: var(--ph-blue);
  font-weight: 500;
  text-transform: uppercase;
}

.ph-audit-ticket {
  right: -30px;
  bottom: 74px;
  background: var(--ph-gold);
  color: #20160a;
}

.ph-diagnosis {
  margin-top: -38px;
  position: relative;
  z-index: 5;
  padding-top: 0;
}

.ph-diagnosis-panel {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--ph-shadow);
  border: 1px solid rgba(219, 231, 246, .9);
}

.ph-diagnosis-copy {
  padding: clamp(28px, 4vw, 52px);
  background: #fff;
}

.ph-diagnosis-visual {
  position: relative;
  min-height: 410px;
  padding: clamp(24px, 4vw, 44px);
  background:
    linear-gradient(135deg, rgba(59, 130, 246, .82), rgba(21, 47, 87, .9)),
    url("https://apart-torun.pl/wp-content/uploads/2025/11/337082519.jpg") center/cover;
  color: #fff;
}

.ph-mini-dashboard {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  max-width: 520px;
  margin-left: auto;
}

.ph-dash-row {
  display: grid;
  grid-template-columns: 96px 1fr minmax(168px, auto);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--ph-radius);
  background: rgba(255, 255, 255, .12);
}

.ph-dash-row > span {
  font-weight: 500;
}

.ph-dash-row strong {
  font-size: .88rem;
  line-height: 1.35;
  font-weight: 500;
}

.ph-bar {
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  overflow: hidden;
}

.ph-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ph-gold);
}

.ph-dash-summary {
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: var(--ph-radius);
  background: rgba(6, 29, 47, .72);
  color: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 22px 54px rgba(0, 0, 0, .2);
}

.ph-dash-summary strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.04rem;
  line-height: 1.25;
  color: #fff;
  font-weight: 500;
}

.ph-dash-summary span {
  display: block;
  line-height: 1.55;
}

.ph-service-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (min-width: 1180px) {
  .ph-service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .ph-service-grid > .ph-service-card:nth-last-child(2) {
    grid-column: 2;
  }
}

.ph-service-card {
  position: relative;
  min-height: 380px;
  padding: 28px;
  border: 1px solid var(--ph-line);
  border-radius: var(--ph-radius);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 40px rgba(21, 47, 87, .05);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ph-service-card.ph-reveal {
  opacity: 1;
  transform: none;
}

.ph-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, .34);
  box-shadow: 0 24px 70px rgba(21, 47, 87, .1);
}

.ph-service-card img {
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  object-fit: contain;
}

.ph-service-card h3 {
  margin-bottom: 10px;
  color: var(--ph-navy);
  font-size: 1.18rem;
  font-weight: 500;
}

.ph-service-card p:not(.ph-service-number) {
  padding-right: 6px;
  font-size: .96rem;
  line-height: 1.62;
}

.ph-service-number {
  position: absolute;
  right: 24px;
  bottom: 18px;
  color: rgba(21, 47, 87, .08);
  font-size: 3.4rem;
  line-height: 1;
  font-weight: 500;
}

.ph-expert-band {
  background: #fff;
  border-top: 1px solid var(--ph-line);
  border-bottom: 1px solid var(--ph-line);
}

.ph-expert-split,
.ph-contact-grid,
.ph-trust-lab {
  display: grid;
  gap: clamp(28px, 5vw, 76px);
}

.ph-expert-split {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
}

.ph-portrait-stack {
  position: relative;
  min-height: 610px;
}

.ph-portrait-main {
  position: absolute;
  inset: 0 9% 7% 0;
  overflow: hidden;
  border-radius: 10px;
  background: var(--ph-navy);
  box-shadow: var(--ph-shadow);
}

.ph-portrait-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
}

.ph-credential {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 300px;
  padding: 22px;
  border-radius: var(--ph-radius);
  background: var(--ph-navy);
  color: #fff;
  box-shadow: 0 26px 70px rgba(21, 47, 87, .2);
}

.ph-credential strong {
  display: block;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--ph-gold);
  font-weight: 600;
}

.ph-quote {
  padding: 30px;
  border-left: 5px solid var(--ph-gold);
  border-radius: var(--ph-radius);
  background: var(--ph-mist);
  color: var(--ph-navy);
  font-size: 1.16rem;
}

.ph-process {
  background: var(--ph-navy);
  color: #fff;
}

.ph-process h2,
.ph-process h3,
.ph-process p,
.ph-contact h2,
.ph-contact p {
  color: #fff;
}

.ph-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .14);
}

.ph-step {
  min-height: 286px;
  padding: 28px;
  background: rgba(255, 255, 255, .08);
}

.ph-step.ph-reveal {
  opacity: 1;
  transform: none;
}

.ph-step p {
  color: rgba(255, 255, 255, .86);
  text-align: left;
  hyphens: manual;
}

.ph-step h3 {
  color: #fff;
}

.ph-step-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
}

.ph-step-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .92;
}

.ph-step-num {
  display: block;
  color: var(--ph-gold);
  font-size: .9rem;
  font-weight: 500;
}

.ph-trust-lab {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ph-partners .ph-section-head {
  margin-bottom: 22px;
}

.ph-partners .ph-logo-slider {
  margin-top: 0;
  margin-bottom: 32px;
  padding: 18px;
  border: 1px solid var(--ph-line);
  border-radius: var(--ph-radius);
  background: #fff;
  box-shadow: 0 12px 44px rgba(21, 47, 87, .06);
}

.ph-partner-showcase,
.ph-object-gallery {
  min-height: 340px;
  padding: 30px;
  border: 1px solid var(--ph-line);
  border-radius: var(--ph-radius);
  background: #fff;
  box-shadow: 0 12px 44px rgba(21, 47, 87, .06);
  overflow: hidden;
}

.ph-partner-showcase h3 {
  margin-bottom: 12px;
  color: var(--ph-navy);
  font-size: 1.18rem;
  font-weight: 500;
}

.ph-logo-slider {
  position: relative;
  margin-top: 26px;
  overflow: hidden;
}

.ph-logo-slider::before,
.ph-logo-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 44px;
  pointer-events: none;
}

.ph-logo-slider::before {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.ph-logo-slider::after {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.ph-logo-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  gap: 14px;
  animation: ph-logo-loop 24s linear infinite;
}

.ph-logo-track figure,
.ph-logo-placeholder,
.ph-partner-logo {
  flex: 0 0 auto;
  display: grid !important;
  place-items: center;
  width: 224px;
  height: 92px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--ph-line);
  border-radius: 8px;
  background: var(--ph-mist);
}

.ph-partner-logo {
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.ph-partner-logo:hover,
.ph-partner-logo:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, .34);
  box-shadow: 0 14px 30px rgba(21, 47, 87, .08);
}

.ph-partner-logo-static {
  pointer-events: none;
}

.ph-logo-placeholder {
  color: var(--ph-navy);
  font-size: .96rem;
  line-height: 1.18;
  font-weight: 600;
  text-align: center;
}

.ph-logo-track img,
.ph-partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.editor-styles-wrapper .ph-logo-track {
  flex-wrap: wrap;
  width: auto;
  animation: none;
}

@keyframes ph-logo-loop {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.ph-object-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
  background: var(--ph-navy);
}

.ph-object-card {
  position: relative;
  min-height: 312px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #102b3d;
}

.ph-object-card img {
  width: 100%;
  height: 100%;
  min-height: 312px;
  object-fit: cover;
}

.ph-object-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  color: var(--ph-navy);
  font-size: .86rem;
  line-height: 1.35;
}

.ph-trust-card {
  min-height: 340px;
  padding: 30px;
  border-radius: var(--ph-radius);
  background: #fff;
  border: 1px solid var(--ph-line);
  box-shadow: 0 12px 44px rgba(21, 47, 87, .06);
}

.ph-trust-card h3 {
  margin-bottom: 12px;
  color: var(--ph-navy);
  font-size: 1.18rem;
  line-height: 1.22;
  font-weight: 500;
}

.ph-trust-card-dark {
  background:
    linear-gradient(135deg, rgba(21, 47, 87, .94), rgba(21, 47, 87, .78)),
    url("https://www.akacja-ciechocinek.pl/wp-content/uploads/2019/10/www8.jpg") center/cover no-repeat,
    var(--ph-navy);
  color: #fff;
}

.ph-trust-card-dark h3,
.ph-trust-card-dark p,
.ph-trust-card-dark li {
  color: #fff;
}

.ph-trust-card-dark .ph-list li {
  color: rgba(255, 255, 255, .88);
}

.ph-trust-card-dark .ph-list li::before {
  background: var(--ph-gold);
}

.ph-trust-card-dark .wp-block-buttons {
  justify-content: center;
  margin-top: 24px;
}

.ph-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.ph-list li {
  display: flex;
  gap: 12px;
  color: #344653;
}

.ph-list li::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--ph-gold);
}

.ph-contact {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #102744, #173c68);
  color: #fff;
}

.ph-contact .ph-wrap {
  position: relative;
  z-index: 1;
}

.ph-contact-grid {
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: start;
}

.ph-contact-box {
  display: grid;
  gap: 14px;
}

.ph-contact-line {
  padding: 18px;
  border-radius: var(--ph-radius);
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
}

.ph-contact-line span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, .58);
  font-size: .78rem;
  text-transform: uppercase;
}

.ph-contact-line strong {
  display: block;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.ph-contact-line a {
  color: inherit;
  text-decoration: none;
}

.ph-contact-line a:hover,
.ph-contact-line a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ph-form-card {
  padding: clamp(22px, 4vw, 34px);
  border-radius: 10px;
  background: #fff;
  color: var(--ph-ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .24);
}

.ph-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ph-field {
  display: grid;
  gap: 7px;
  color: var(--ph-navy);
  font-size: .9rem;
  font-weight: 500;
}

.ph-field--full {
  grid-column: 1 / -1;
}

.ph-field input,
.ph-field textarea {
  width: 100%;
  border: 1px solid var(--ph-line);
  border-radius: 6px;
  padding: 14px;
  color: var(--ph-ink);
  background: #fff;
}

.ph-field textarea {
  min-height: 150px;
  resize: vertical;
}

.ph-form-note,
.ph-form-status {
  margin: 12px 0 0;
  color: var(--ph-muted);
  font-size: .9rem;
}

.ph-form-status--success {
  color: #116149;
}

.ph-form-status--error {
  color: #a13f35;
}

.ph-footer {
  padding: 18px 0;
  background: #081d29;
  color: rgba(255, 255, 255, .62);
  font-size: .92rem;
}

.ph-footer .ph-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ph-footer-logo {
  flex: 0 0 auto;
  margin: 0;
}

.ph-footer-logo img {
  display: block;
  width: 132px;
  height: auto;
}

.ph-footer p {
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.ph-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.ph-reveal.is-visible,
.editor-styles-wrapper .ph-reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 1040px) {
  .ph-header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .ph-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    padding: 0 0 8px;
  }

  .ph-hero-grid,
  .ph-diagnosis-panel,
  .ph-expert-split,
  .ph-contact-grid,
  .ph-trust-lab {
    grid-template-columns: 1fr;
  }

  .ph-expert-stage {
    min-height: 560px;
  }

  .ph-service-grid,
  .ph-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .ph-floating-note {
    left: 18px;
  }

  .ph-audit-ticket {
    right: 18px;
  }
}

@media (max-width: 680px) {
  .ph-logo img {
    width: 138px;
  }

  .ph-nav {
    font-size: .84rem;
  }

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

  .ph-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.45rem);
  }

  .ph-hero-actions,
  .ph-proof-strip,
  .ph-service-grid,
  .ph-timeline,
  .ph-object-gallery,
  .ph-form-grid {
    grid-template-columns: 1fr !important;
  }

  .ph-proof {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }

  .ph-expert-card,
  .ph-expert-card img {
    min-height: 470px;
  }

  .ph-floating-note,
  .ph-audit-ticket {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
  }

  .ph-portrait-stack {
    min-height: 520px;
  }

  .ph-portrait-main {
    inset: 0 0 80px 0;
  }

  .ph-credential {
    left: 20px;
    right: 20px;
    max-width: none;
  }

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

  .ph-footer .ph-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .ph-footer-logo img {
    width: 118px;
  }

  .ph-footer p {
    text-align: left;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ph-logo-track {
    animation: none;
  }
}
