.profile-hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: #fff;
}

.profile-hero__media,
.profile-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.profile-hero__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-position, center);
}

.profile-hero,
.profile-hero .profile-hero__content {
  min-height: clamp(520px, 55vw, 680px);
}

.profile-hero__overlay {
  background:
    linear-gradient(90deg, rgba(3, 16, 32, 0.96), rgba(7, 27, 51, 0.7), rgba(7, 27, 51, 0.28)),
    linear-gradient(0deg, rgba(3, 16, 32, 0.76), rgba(3, 16, 32, 0.12) 58%, rgba(3, 16, 32, 0.28));
}

.profile-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  min-height: 640px;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0 48px;
}

.profile-hero h1 {
  max-width: 840px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.8rem, 6vw, 5.1rem);
  line-height: 0.98;
}

.profile-hero .profile-logo {
  position: relative;
  inset: auto;
  width: clamp(124px, 16vw, 220px);
  height: clamp(78px, 9vw, 112px);
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-bottom: 3px solid rgba(216, 52, 52, 0.86);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  object-fit: contain;
  padding: 10px;
}

.profile-hero p:not(.brand-kicker) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 1.5vw, 1.28rem);
  line-height: 1.55;
}

.profile-return-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.profile-return-link:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.profile-actions .button,
.contact-card__actions .button,
.profile-footer-cta .button {
  gap: 10px;
  min-height: 54px;
  padding: 14px 22px;
}

.profile-actions .button--primary,
.contact-card__actions .button--primary,
.profile-footer-cta .button--primary {
  border-color: var(--np-red);
  background: var(--np-red);
  color: #fff;
  box-shadow: 0 16px 34px rgba(216, 52, 52, 0.28);
}

.profile-actions .button--primary:hover,
.contact-card__actions .button--primary:hover,
.profile-footer-cta .button--primary:hover {
  border-color: var(--np-red-dark);
  background: var(--np-red-dark);
}

.profile-actions .button--light,
.contact-card__actions .button--secondary,
.profile-footer-cta .button--secondary {
  border-color: var(--np-green);
  background: var(--np-green);
  color: #fff;
  box-shadow: 0 16px 34px rgba(47, 143, 91, 0.22);
  backdrop-filter: blur(8px);
}

.profile-actions .button--light:hover,
.contact-card__actions .button--secondary:hover,
.profile-footer-cta .button--secondary:hover {
  border-color: #267a4c;
  background: #267a4c;
}

.profile-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  font-weight: 850;
}

.profile-trust-badges span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.profile-trust-badges svg {
  color: rgba(255, 255, 255, 0.82);
}

.profile-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 30px;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px) 0 30px;
}

.profile-main {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.profile-section,
.contact-card {
  position: relative;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid rgba(7, 27, 51, 0.1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(7, 27, 51, 0.08);
}

.profile-section::before {
  position: absolute;
  top: 0;
  right: 22px;
  left: 22px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, rgba(216, 52, 52, 0.92), rgba(216, 52, 52, 0));
  content: "";
}

.profile-section h2,
.contact-card h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  line-height: 1.08;
}

.profile-section p {
  color: var(--np-muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.profile-copy {
  display: grid;
  gap: 16px;
}

.profile-copy p {
  margin: 0;
}

.profile-copy strong {
  color: var(--np-navy);
  font-weight: 900;
}

.profile-section--services {
  padding-bottom: 26px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.service-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 13px 15px;
  border: 1px solid rgba(7, 27, 51, 0.1);
  border-left: 3px solid rgba(216, 52, 52, 0.42);
  border-radius: 10px;
  background: #fff;
  color: var(--np-navy);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.service-item__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: rgba(216, 52, 52, 0.08);
  color: var(--np-navy);
  flex: 0 0 auto;
}

.service-item__icon svg {
  width: 19px;
  height: 19px;
}

.service-item__text {
  display: grid;
}

.service-item__text strong {
  color: var(--np-navy);
  font-size: 0.95rem;
  line-height: 1.2;
}

@media (hover: hover) {
  .service-item:hover {
    border-color: rgba(216, 52, 52, 0.24);
    border-left-color: var(--np-red);
    background: rgba(216, 52, 52, 0.025);
    box-shadow: 0 14px 30px rgba(7, 27, 51, 0.09);
    transform: translateY(-1px);
  }
}

.contact-card {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  gap: 14px;
  min-width: 0;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(90deg, rgba(216, 52, 52, 0.74), rgba(216, 52, 52, 0) 34%) top left / 100% 3px no-repeat,
    radial-gradient(circle at 100% 0%, rgba(47, 143, 91, 0.16), transparent 34%),
    linear-gradient(145deg, #031020, #092441);
  color: #fff;
  box-shadow: 0 24px 70px rgba(3, 16, 32, 0.24);
}

.contact-card h2 {
  margin-bottom: 0;
}

.contact-card__intro {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.55;
}

.contact-card__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 4px 0 2px;
}

.contact-card__actions .button {
  width: 100%;
}

.profile-hero .brand-kicker,
.contact-card .brand-kicker,
.profile-gallery-section .brand-kicker,
.profile-section .brand-kicker {
  color: var(--np-navy);
}

.profile-hero .brand-kicker,
.contact-card .brand-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.contact-card h2,
.contact-card .contact-list a,
.contact-card .contact-list p {
  color: #fff;
}

.contact-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-list a,
.contact-list p {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 3px 10px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-list a > svg,
.contact-list p > svg {
  grid-row: span 2;
  align-self: center;
  color: rgba(255, 255, 255, 0.82);
}

.social-links {
  display: grid;
  gap: 8px;
}

.social-button {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  text-transform: capitalize;
  font-weight: 900;
  letter-spacing: 0;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.social-button:hover {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.contact-list span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.77rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-list p svg {
  margin-right: 0;
}

.contact-block {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}

.contact-block > span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-block p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.contact-block--notice {
  padding: 12px;
  border: 1px solid rgba(216, 52, 52, 0.28);
  border-radius: 10px;
  background: rgba(216, 52, 52, 0.08);
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.area-tags em {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff;
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 800;
}

.profile-gallery-section {
  background: var(--np-cream);
  padding: 0 0 24px;
}

.profile-gallery-section__inner {
  display: grid;
  gap: 18px;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.profile-gallery-section h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  line-height: 1.1;
}

.profile-gallery-section__copy {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--np-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.gallery--feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.35fr);
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(7, 27, 51, 0.1);
  border-top: 3px solid rgba(216, 52, 52, 0.5);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(7, 27, 51, 0.08);
}

.gallery--even {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(7, 27, 51, 0.1);
  border-top: 3px solid rgba(216, 52, 52, 0.5);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(7, 27, 51, 0.08);
}

.gallery--single {
  grid-template-columns: minmax(0, 1fr);
}

.gallery--single-thumb {
  grid-template-columns: minmax(180px, 320px);
  width: fit-content;
  max-width: 100%;
}

.gallery__supporting {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.gallery-thumb {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid rgba(7, 27, 51, 0.1);
  border-radius: 10px;
  background: #f8f6f0;
  cursor: zoom-in;
  overflow: hidden;
  align-self: start;
}

a.gallery-thumb {
  color: inherit;
  text-decoration: none;
}

.gallery-thumb:hover {
  border-color: rgba(216, 52, 52, 0.26);
}

.gallery-thumb__caption {
  display: block;
  padding: 10px 10px 12px;
  background: #fff;
  color: var(--np-navy);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.gallery-thumb--feature {
  min-height: 100%;
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
  transition: transform 180ms ease;
}

.gallery-thumb--feature img {
  height: 100%;
  min-height: 310px;
}

.gallery--even .gallery-thumb img {
  height: auto;
  aspect-ratio: 1 / 1;
}

.gallery-thumb--contain img {
  padding: 16px;
  border: 0;
  background: #fff;
  object-fit: contain;
}

.gallery-thumb:hover img {
  transform: scale(1.03);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(3, 16, 32, 0.88);
}

.gallery-lightbox img {
  width: auto;
  height: auto;
  max-width: min(1280px, 92vw);
  max-height: 84vh;
  border-radius: var(--radius);
  background: #f8f6f0;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.gallery-lightbox__image--photo {
  width: min(1180px, 90vw);
  height: min(780px, 82vh);
}

.gallery-lightbox__image--badge {
  width: min(760px, 86vw);
  height: min(560px, 72vh);
}

.gallery-lightbox__close {
  position: fixed;
  top: 20px;
  right: 20px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: #fff;
  color: var(--np-navy);
  font-weight: 900;
  cursor: pointer;
}

body[data-lightbox-open="true"] {
  overflow: hidden;
}

.profile-footer-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  width: min(var(--max), calc(100% - 36px));
  margin: 6px auto clamp(44px, 7vw, 82px);
  padding: 28px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(216, 52, 52, 0.76), rgba(216, 52, 52, 0) 32%) top left / 100% 3px no-repeat,
    radial-gradient(circle at 0% 0%, rgba(47, 143, 91, 0.2), transparent 28%),
    linear-gradient(135deg, #031020, #092441);
  color: #fff;
  box-shadow: 0 24px 70px rgba(3, 16, 32, 0.2);
}

.profile-footer-cta__icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
}

.profile-footer-cta h2 {
  margin-bottom: 6px;
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.profile-footer-cta p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.profile-footer-cta__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
