/* Estilos exclusivos da homepage (paginas/index.html). */
html,
body {
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background:
    radial-gradient(
      circle at 14% 8%,
      rgba(75, 152, 205, 0.24) 0,
      rgba(75, 152, 205, 0) 38%
    ),
    radial-gradient(
      circle at 82% 22%,
      rgba(230, 199, 122, 0.16) 0,
      rgba(230, 199, 122, 0) 36%
    ),
    linear-gradient(160deg, #040f22 0%, #09294a 46%, #0b3f6f 100%);
  background-attachment: fixed;
}

.hp-water-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#hpWaterCanvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.82;
  transform: scale(1.01);
  will-change: transform;
}

#content {
  padding: 0;
  position: relative;
  z-index: 1;
}

.site-header {
  --nav-blue: #e4f1fc;
  --gold: #e6c77a;
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(4, 15, 34, 0.68) 0%,
    rgba(4, 15, 34, 0.34) 55%,
    rgba(4, 15, 34, 0.08) 100%
  );
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
}

.site-header .menu-container {
  position: relative;
  z-index: 1;
}

.site-header .nav-toggle {
  color: #e4f1fc;
  border-color: rgba(172, 215, 246, 0.42);
  background: rgba(8, 23, 45, 0.42);
}

.site-header .nav .submenu {
  background: rgba(7, 22, 43, 0.94);
  border-color: rgba(172, 215, 246, 0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-header .nav .submenu a {
  color: #d8e9f7;
}

.site-header .nav .submenu a:hover,
.site-header .nav .submenu a:focus-visible {
  background: rgba(172, 215, 246, 0.14);
  color: #e6c77a;
}

.site-footer {
  background: transparent !important;
  border-top: 1px solid rgba(172, 215, 246, 0.2) !important;
  color: #cde3f4 !important;
}

.site-footer .container {
  background: transparent !important;
}

.site-footer {
  position: relative;
  z-index: 1;
}

.site-footer .footer-contacts h3,
.site-footer .footer-contacts a,
.site-footer .footer-disclaimer p,
.site-footer .footer-disclaimer small,
.site-footer .footer-bottom {
  color: #cde3f4 !important;
}

.site-footer .footer-contacts a:hover {
  color: #e6c77a !important;
}

.site-footer .footer-bottom {
  border-top-color: rgba(172, 215, 246, 0.24) !important;
}

.hpv2 {
  --hp-bg-1: #040f22;
  --hp-bg-2: #09294a;
  --hp-bg-3: #0b3f6f;
  --hp-card: rgba(8, 23, 45, 0.7);
  --hp-card-border: rgba(173, 214, 246, 0.24);
  --hp-soft: #9ccbe9;
  --hp-copy: #d8e9f7;
  --hp-title: #f2f8ff;
  --hp-gold: #e6c77a;
  --hp-gold-2: #cda65b;
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: var(--hp-copy);
  font-family: "Merriweather Sans", "Segoe UI", Arial, sans-serif;
  background: transparent;
}

.hpv2 h1,
.hpv2 h3 {
  font-family: "Merriweather Sans", "Segoe UI", Arial, sans-serif;
  margin: 0;
  color: var(--hp-title);
}

.hpv2 h2 {
  font-family: "Merriweather Sans", "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  margin: 0;
  color: var(--hp-title);
}

.hp-shell {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hp-hero {
  padding: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: block;
}

.hp-hero-copy {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  width: 100%;
  padding: clamp(24px, 5vw, 72px);
}

.hp-hero-copy-row {
  display: grid;
  grid-template-columns: clamp(170px, 19vw, 250px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3.6vw, 39px);
  width: min(100%, 1240px);
}

.hp-hero-logo-anchor {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  pointer-events: none;
}

.hp-hero-logo-anchor::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 62%;
  width: 152%;
  height: 152%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(10, 44, 86, 0.74) 0%,
    rgba(7, 33, 70, 0.48) 46%,
    rgba(7, 33, 70, 0.16) 72%,
    rgba(7, 33, 70, 0) 100%
  );
  filter: blur(26px);
  z-index: 0;
}

.hp-floating-logo {
  position: fixed;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  z-index: 1002;
  pointer-events: none;
  will-change: left, top, width, height, opacity;
}

.hp-floating-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(3, 10, 24, 0.45));
}

.hp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  margin: 0 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(230, 199, 122, 0.45);
  color: #f6ddb0;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(13, 38, 67, 0.65);
  backdrop-filter: blur(6px);
}

.hp-hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--hp-gold);
  box-shadow: 0 0 18px rgba(230, 199, 122, 0.9);
}

.hp-hero-title {
  --hp-hero-title-size: clamp(2rem, 6.6vw, 4.75rem);
  margin: 0;
  font-family: "Syne", "Trebuchet MS", sans-serif;
  font-weight: 500;
  font-size: var(--hp-hero-title-size);
  line-height: 1.14;
  letter-spacing: -0.02em;
  width: 100%;
  text-shadow: none;
}

.hp-hero-title-stack {
  position: relative;
  justify-self: start;
  width: 100%;
  max-width: 100%;
  min-height: clamp(170px, 19vw, 250px);
}

.hp-hero-intro-only {
  position: absolute;
  inset: 0;
  margin: 0;
  font-family: "Syne", "Trebuchet MS", sans-serif;
  font-weight: 500;
  font-size: clamp(1.65rem, 3.7vw, 3rem);
  line-height: 1.53;
  letter-spacing: -0.02em;
  color: #ffffff;
  white-space: pre-line;
  display: none;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
}

.hp-hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1625em;
}

.hp-hero-title .line-accent {
  color: var(--hp-gold);
}

.hp-hero-sub {
  margin: 22px 0 0;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  color: #c7dff3;
  max-width: 57ch;
  min-height: 1.7em;
}

.hp-hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 11px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.hp-btn:hover {
  transform: translateY(-2px);
}

.hp-btn-primary {
  color: #0b1f38;
  background: linear-gradient(180deg, #ecd18e, #ddb96f);
  border: 1px solid #dab46a;
  box-shadow: 0 12px 24px rgba(20, 10, 0, 0.28);
}

.hp-btn-secondary {
  color: #d9ecfa;
  border: 1px solid rgba(173, 214, 246, 0.38);
  background: rgba(11, 32, 58, 0.48);
}

.hp-hero-visual {
  --hp-hero-bottom-crop: 40px;
  position: relative;
  z-index: 1;
  align-self: stretch;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
  border: none;
  box-shadow: none;
}

.hp-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: calc(100% + var(--hp-hero-bottom-crop));
  object-fit: cover;
  object-position: 0% 50%;
  filter: none;
  transform-origin: center center;
  transform: scale(1.16);
  backface-visibility: hidden;
  will-change: object-position, transform;
}

.hp-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(100% + var(--hp-hero-bottom-crop));
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(18, 74, 128, 0.22) 0%,
      rgba(11, 50, 96, 0.42) 44%,
      rgba(8, 34, 74, 0.62) 72%,
      rgba(4, 18, 44, 0.78) 100%
    ),
    radial-gradient(
      circle at 22% 24%,
      rgba(80, 150, 220, 0.18),
      rgba(80, 150, 220, 0) 52%
    );
}

.hp-video-rotate-btn {
  position: absolute;
  right: clamp(12px, 2.2vw, 22px);
  top: calc(var(--hp-header-offset, 74px) + clamp(8px, 1.2vw, 14px));
  z-index: 4;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(173, 214, 246, 0.52);
  background: rgba(8, 24, 45, 0.72);
  color: #e7f3ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 0.24s ease,
    background-color 0.24s ease,
    color 0.24s ease;
}

.hp-video-rotate-btn:hover,
.hp-video-rotate-btn:focus-visible {
  border-color: rgba(230, 199, 122, 0.8);
  background: rgba(230, 199, 122, 0.18);
  color: #f8e3b3;
  outline: none;
}

.hp-marquee-wrap {
  border-top: 1px solid rgba(172, 215, 246, 0.22);
  border-bottom: 1px solid rgba(172, 215, 246, 0.22);
  background: rgba(9, 25, 49, 0.62);
  overflow: hidden;
}

.hp-marquee-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 12px 0;
  white-space: nowrap;
  color: #b7d8ee;
  font-size: 0.89rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hp-marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hp-marquee-track span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--hp-gold);
  box-shadow: 0 0 12px rgba(230, 199, 122, 0.9);
}

.hp-section {
  padding: clamp(56px, 7vw, 94px) 0;
}

.hp-heading {
  max-width: 62ch;
  margin-bottom: 24px;
}

.hp-heading h2 {
  font-size: clamp(1.6rem, 4vw, 3rem);
  line-height: 1.05;
}

.hp-heading p {
  margin: 14px 0 0;
  color: #c0dbef;
}

.hp-switch-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.hp-switch-cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hp-switch-cards--profiles .hp-switch-card {
  aspect-ratio: 4 / 5;
}

.hp-switch-cards--profiles .hp-switch-card p {
  max-width: 100%;
}

.hp-switch-cards--profiles .hp-switch-card h3 {
  transition: margin-bottom 0.42s ease, color 0.42s ease;
}

.hp-switch-cards--profiles .hp-switch-card.is-active h3 {
  color: var(--hp-gold);
}

.hp-switch-cards--profiles .hp-switch-card.is-active .hp-switch-card-shade {
  top: 70%;
}

.hp-switch-cards--profiles .hp-switch-card.is-active p {
  max-height: 180px;
}

.hp-profiles-mobile-panel {
  display: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 10px 0 0;
  padding: 12px 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(168, 205, 236, 0.32);
  background: rgba(7, 21, 40, 0.74);
  box-shadow: 0 12px 24px rgba(4, 12, 24, 0.36);
  text-align: left;
  overflow: hidden;
  min-height: 82px;
  height: var(--hp-profiles-mobile-panel-height, auto);
}

.hp-profiles-mobile-panel h3 {
  margin: 0;
  color: #f3f9ff;
  font-size: 0.92rem;
  line-height: 1.24;
}

.hp-profiles-mobile-panel h4 {
  margin: 3px 0 0;
  color: var(--hp-gold);
  font-size: 0.76rem;
  line-height: 1.25;
  font-weight: 600;
}

.hp-profiles-mobile-desc {
  margin: 7px 0 2px;
  color: #d8e9f6;
  font-size: 0.73rem;
  line-height: 1.34;
  min-height: calc(2 * 1.34em);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hp-switch-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 2;
  border: 1px solid rgba(160, 202, 233, 0.32);
  box-shadow: 0 14px 34px rgba(4, 13, 26, 0.34);
  background: rgba(7, 20, 38, 0.72);
  isolation: isolate;
  transition:
    box-shadow 0.45s ease,
    border-color 0.45s ease;
  transform-origin: center center;
  cursor: default;
}

#hpSwitchCards .hp-switch-card {
  aspect-ratio: 1 / 1.9;
}

.hp-switch-card-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    var(--card-image, none),
    linear-gradient(155deg, rgba(11, 38, 67, 0.92), rgba(9, 27, 49, 0.98));
  background-size: cover;
  background-position: center;
  filter: grayscale(1) saturate(0.82) contrast(1.03);
  transform: scale(1.02);
  opacity: 0.82;
  will-change: filter, transform, opacity;
}

.hp-switch-card-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(5, 17, 33, 0.05) 0%,
      rgba(5, 17, 33, 0.85) 86%
    ),
    radial-gradient(
      circle at 75% 18%,
      rgba(230, 199, 122, 0.34),
      rgba(230, 199, 122, 0)
    );
  opacity: 0.62;
  backdrop-filter: blur(0px) saturate(100%);
  -webkit-backdrop-filter: blur(0px) saturate(100%);
  transition:
    opacity 0.45s ease,
    top 0.45s ease,
    bottom 0.45s ease,
    backdrop-filter 0.45s ease,
    -webkit-backdrop-filter 0.45s ease,
    background 0.45s ease;
  will-change: opacity;
}

.hp-switch-card-content {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  will-change: transform, opacity;
}

.hp-switch-card-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  margin-bottom: 0;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #0d233f;
  background: linear-gradient(180deg, #ebd08d, #dab66c);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.42s ease,
    transform 0.42s ease,
    max-height 0.42s ease,
    margin-bottom 0.42s ease;
}

.hp-switch-card h3 {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  margin-bottom: 0;
  transition: margin-bottom 0.42s ease;
}

.hp-switch-card h4 {
  margin: 4px 0 0;
  color: var(--hp-gold);
  font-size: clamp(0.82rem, 1.45vw, 0.95rem);
  line-height: 1.3;
  font-weight: 600;
}

.hp-switch-card p {
  margin: 0;
  position: relative;
  z-index: 1;
  color: #d3e7f6;
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 22ch;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    max-height 0.45s ease;
}

.hp-switch-note {
  margin: 14px 0 0;
  color: #a8c9e2;
  font-size: 0.86rem;
}

.hp-switch-card.is-active {
  border-color: rgba(230, 199, 122, 0.55);
  box-shadow: 0 28px 52px rgba(5, 14, 28, 0.54);
}

.hp-switch-card.is-active .hp-switch-card-bg {
  filter: grayscale(0) saturate(1.08) contrast(1.09);
}

.hp-switch-card.is-active .hp-switch-card-shade {
  top: 75%;
  bottom: 0;
  opacity: 1;
  background: linear-gradient(
    180deg,
    rgba(6, 18, 36, 0.18) 0%,
    rgba(6, 18, 36, 0.72) 100%
  );
  backdrop-filter: blur(10px) saturate(122%);
  -webkit-backdrop-filter: blur(10px) saturate(122%);
}

.hp-switch-card.is-active .hp-switch-card-tag {
  opacity: 1;
  max-height: 36px;
  margin-bottom: 12px;
  transform: translateY(0);
}

.hp-switch-card.is-active h3 {
  margin-bottom: 8px;
}

.hp-switch-card.is-active p {
  opacity: 1;
  max-height: 130px;
  transform: translateY(0);
}

.hp-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hp-metric {
  border-radius: 14px;
  border: 1px solid rgba(168, 205, 236, 0.34);
  background: rgba(8, 24, 45, 0.72);
  padding: 18px 16px;
}

.hp-metric-value {
  display: block;
  color: var(--hp-gold);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  font-family: "Syne", sans-serif;
  font-weight: 700;
}

.hp-metric-label {
  color: #cde3f4;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
}

.hp-journey-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 22px;
}

.hp-journey-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: rgba(160, 202, 233, 0.3);
}

.hp-journey-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, #8cd3ff, var(--hp-gold));
  transform-origin: left center;
}

.hp-journey-step {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(160, 202, 233, 0.3);
  background: rgba(8, 24, 45, 0.64);
}

.hp-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  color: #11233d;
  background: linear-gradient(180deg, #ead08f, #dab66c);
  margin-bottom: 10px;
}

.hp-journey-step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.hp-journey-step p {
  margin: 0;
  color: #bed9ee;
  font-size: 0.93rem;
  line-height: 1.55;
}

.hp-contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 32px);
  align-items: stretch;
}

.hp-contact-heading {
  max-width: none;
  margin-bottom: 12px;
}

.hp-contact-title {
  width: 100%;
  white-space: nowrap;
}

.hp-contact-intro {
  border-radius: 16px;
  border: 1px solid rgba(168, 205, 236, 0.28);
  background:
    radial-gradient(
      circle at 20% 12%,
      rgba(140, 211, 255, 0.2),
      rgba(140, 211, 255, 0) 42%
    ),
    rgba(8, 24, 45, 0.62);
  padding: clamp(22px, 4vw, 34px);
}

.hp-contact-intro h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.45rem);
  line-height: 1.08;
  margin-bottom: 12px;
}

.hp-contact-intro p {
  margin: 0 0 16px;
  color: #cfe4f4;
  line-height: 1.55;
}

.hp-contact-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.hp-contact-points li {
  position: relative;
  padding-left: 18px;
  color: #b9d8ec;
  font-size: 0.93rem;
  line-height: 1.45;
}

.hp-contact-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--hp-gold);
  box-shadow: 0 0 12px rgba(230, 199, 122, 0.8);
}

.hp-contact-panel {
  border-radius: 16px;
  border: 1px solid rgba(205, 166, 91, 0.42);
  background:
    radial-gradient(
      circle at 82% 16%,
      rgba(230, 199, 122, 0.18),
      rgba(230, 199, 122, 0) 42%
    ),
    linear-gradient(145deg, rgba(9, 30, 54, 0.88), rgba(8, 25, 47, 0.92));
  box-shadow: 0 22px 44px rgba(4, 12, 24, 0.45);
  padding: clamp(20px, 3.7vw, 32px);
}

.hp-contact-msg {
  margin-bottom: 14px;
  border: 1px solid rgba(126, 227, 160, 0.42);
  background: rgba(22, 91, 51, 0.28);
  color: #d6f7e0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.9rem;
}

.hp-contact-form {
  display: grid;
  gap: 14px;
}

.hp-contact-field {
  display: grid;
  gap: 7px;
}

.hp-contact-field label {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: #d4e8f8;
}

.hp-contact-form input,
.hp-contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(159, 202, 232, 0.36);
  background: rgba(7, 22, 42, 0.72);
  color: #ecf6ff;
  font-family: inherit;
  font-size: 0.96rem;
  padding: 11px 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hp-contact-form input::placeholder,
.hp-contact-form textarea::placeholder {
  color: rgba(206, 227, 243, 0.64);
}

.hp-contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.hp-contact-form input:focus-visible,
.hp-contact-form textarea:focus-visible {
  border-color: rgba(230, 199, 122, 0.8);
  box-shadow: 0 0 0 3px rgba(230, 199, 122, 0.2);
  background: rgba(8, 26, 50, 0.9);
}

.hp-contact-error {
  color: #ffd2d2;
  font-size: 0.82rem;
  line-height: 1.35;
}

.hp-contact-submit {
  justify-self: start;
  margin-top: 4px;
}

.hp-cta {
  margin-bottom: 28px;
}

.hp-cta-box {
  border-radius: 18px;
  padding: clamp(24px, 5vw, 40px);
  border: 1px solid rgba(205, 166, 91, 0.46);
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(230, 199, 122, 0.2),
      rgba(230, 199, 122, 0) 44%
    ),
    linear-gradient(120deg, rgba(9, 30, 54, 0.9), rgba(10, 43, 75, 0.92));
  box-shadow: 0 22px 46px rgba(3, 10, 22, 0.42);
}

.hp-cta-box h2 {
  font-size: clamp(1.5rem, 4vw, 2.8rem);
}

.hp-cta-box p {
  margin: 12px 0 22px;
  max-width: 62ch;
  color: #d7e9f6;
}

@media (max-width: 1100px) {
  .hp-switch-cards,
  .hp-metrics-grid,
  .hp-journey-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-contact-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .hp-shell {
    width: min(1240px, calc(100% - 28px));
  }

  .hp-hero {
    padding-top: 0;
    padding-bottom: 0;
  }

  .hp-hero-copy {
    align-items: center;
    padding: clamp(86px, 20vw, 122px) 14px 18px;
  }

  .hp-hero-copy-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    align-self: stretch;
    width: 100%;
    margin: 0;
  }

  .hp-hero-logo-anchor {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(116px, 37vw, 182px);
  }

  .hp-hero-logo-anchor::after {
    top: 72%;
    width: 178%;
    height: 178%;
    filter: blur(30px);
  }

  .hp-hero-title {
    --hp-hero-title-size: clamp(1.28rem, 6.1vw, 1.92rem);
    justify-self: start;
    width: min(100%, 36ch);
    font-size: var(--hp-hero-title-size);
    line-height: 1.08;
    letter-spacing: -0.01em;
    text-align: left;
  }

  .hp-hero-title-stack {
    width: min(100%, 36ch);
    min-height: auto;
  }

  .hp-hero-intro-only {
    font-size: calc(var(--hp-hero-title-size) - 2pt);
    line-height: 1.56;
    white-space: pre-line;
  }

  .hp-hero-visual {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hp-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hp-contact-intro,
  .hp-contact-panel {
    padding: 18px;
  }

  .hp-contact-title {
    white-space: normal;
  }

  .hp-btn {
    width: 100%;
  }

  .hp-metrics-grid,
  .hp-journey-track {
    grid-template-columns: 1fr;
  }

  .hp-switch-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #hpSwitchCards .hp-switch-card {
    aspect-ratio: 1 / 1.805;
  }

  .hp-switch-card-content {
    text-align: center;
  }

  .hp-switch-card-tag {
    margin-left: auto;
    margin-right: auto;
  }

  .hp-switch-card p {
    margin-left: auto;
    margin-right: auto;
  }

  .hp-switch-cards:not(.hp-switch-cards--profiles) .hp-switch-card h3 {
    font-size: 0.92rem;
    margin-bottom: 4px;
  }

  .hp-switch-cards:not(.hp-switch-cards--profiles) .hp-switch-card p {
    font-size: 0.79rem;
    line-height: 1.34;
    max-width: 100%;
  }

  .hp-switch-cards:not(.hp-switch-cards--profiles) .hp-switch-card-tag {
    width: 28px;
    height: 28px;
    font-size: 0.76rem;
  }

  .hp-switch-cards:not(.hp-switch-cards--profiles) .hp-switch-card.is-active .hp-switch-card-tag {
    max-height: 28px;
    margin-bottom: 8px;
  }

  .hp-switch-cards:not(.hp-switch-cards--profiles) .hp-switch-card.is-active p {
    max-height: 104px;
  }

  .hp-switch-cards--profiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hp-switch-cards--profiles .hp-switch-card {
    aspect-ratio: 5 / 8;
  }

  .hp-switch-cards--profiles .hp-switch-card-bg {
    filter: grayscale(1) saturate(0.82) contrast(1.03) !important;
  }

  .hp-switch-cards--profiles .hp-switch-card.is-active .hp-switch-card-bg {
    filter: grayscale(0) saturate(1.16) contrast(1.11) !important;
  }

  .hp-switch-cards--profiles .hp-switch-card-content {
    display: none;
  }

  .hp-switch-cards--profiles .hp-switch-card-shade,
  .hp-switch-cards--profiles .hp-switch-card.is-active .hp-switch-card-shade {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hp-switch-cards--profiles .hp-switch-card.is-active .hp-switch-card-shade {
    top: 60%;
  }

  .hp-profiles-mobile-panel {
    display: block;
  }
}

@media (max-width: 1200px) {
  .site-header .nav.open {
    background: rgba(7, 22, 43, 0.9);
    border: 1px solid rgba(172, 215, 246, 0.3);
    border-radius: 12px;
    padding: 0 12px;
    margin-top: 10px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

@media (max-width: 780px) {
  #hpWaterCanvas {
    opacity: 0.7;
  }
}
