/* Institutional page styles extracted from final-fixes.css.

   Used by contact and story pages while final-fixes.css is being retired. */



body.story-page {
background:
    linear-gradient(135deg, rgba(15, 143, 79, 0.1), transparent 32%),
    linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--bg) 86%, #fff));
  color: var(--text);
}

html.dark-theme body.story-page,
body.dark-theme.story-page {
background:
    linear-gradient(135deg, rgba(30, 212, 122, 0.08), transparent 34%),
    linear-gradient(180deg, #070b10, #0b1118 52%, #101821);
}

.story-hero {
position: relative;
  min-height: min(760px, calc(100vh - 84px));
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.story-hero::after {
content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 16, 0.9), rgba(7, 11, 16, 0.46) 42%, rgba(7, 11, 16, 0.18)),
    linear-gradient(0deg, rgba(7, 11, 16, 0.84), transparent 44%);
  pointer-events: none;
}

.story-hero > img {
position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-hero-copy {
position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0 86px;
  color: #fff;
  transform: translateX(-18%);
}

.story-hero-copy h1 {
max-width: 780px;
  margin: 0;
  font-size: clamp(2.55rem, 6vw, 6.3rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.story-hero-copy p:not(.eyebrow) {
max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.6;
}

.story-intro,
.story-checklist,
.story-final {
width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.story-intro {
display: grid;
  grid-template-columns: minmax(260px, 0.72fr) 1fr;
  gap: clamp(28px, 6vw, 88px);
  padding: clamp(58px, 8vw, 112px) 0;
  align-items: start;
}

.story-intro span,
.story-check-grid span {
display: inline-flex;
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.story-intro h2,
.story-emotion h2,
.story-final h2 {
margin: 10px 0 0;
  font-size: clamp(2rem, 4.5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.story-intro p {
margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  line-height: 1.75;
}

.story-split {
width: min(1320px, calc(100% - 40px));
  margin: 0 auto clamp(64px, 8vw, 118px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.story-split article {
background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-split img {
width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.story-split div {
padding: clamp(24px, 4vw, 44px);
}

.story-split h2 {
margin: 8px 0 14px;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 1;
}

.story-split p:not(.eyebrow) {
margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1rem;
}

.story-checklist {
padding: clamp(54px, 8vw, 96px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-check-grid {
display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.story-check-grid article {
min-height: 220px;
  padding: 26px;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  border: 1px solid var(--line);
}

.story-check-grid h3 {
margin: 28px 0 12px;
  font-size: 1.25rem;
  line-height: 1.12;
}

.story-check-grid p {
margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.story-final {
margin-bottom: clamp(56px, 8vw, 110px);
  padding: clamp(34px, 6vw, 70px);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, transparent), transparent 42%),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.story-final p:not(.eyebrow) {
max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.05rem;
}

@media (max-width: 980px) {
.story-hero-copy {
width: min(720px, calc(100% - 32px));
    transform: none;
    padding: 84px 0 58px;
}
}

@media (max-width: 980px) {
.story-intro,
  .story-split,
  .story-emotion,
  .story-check-grid {
grid-template-columns: 1fr;
}
}

@media (max-width: 640px) {
.story-hero {
min-height: 620px;
}
}

@media (max-width: 640px) {
.story-hero::after {
background:
      linear-gradient(0deg, rgba(7, 11, 16, 0.92), rgba(7, 11, 16, 0.34)),
      linear-gradient(90deg, rgba(7, 11, 16, 0.62), transparent);
}
}

@media (max-width: 640px) {
.story-hero-copy h1 {
font-size: clamp(2.25rem, 13vw, 4.2rem);
}
}

@media (max-width: 640px) {
.story-check-grid article {
min-height: auto;
}
}

@media (max-width: 640px) {
.story-final {
padding: 28px 20px;
}
}

.contact-card [data-contact-whatsapp] {
background: linear-gradient(135deg, #25d366, #0fa85a) !important;
  border-color: rgba(37, 211, 102, 0.42) !important;
  color: #04140a !important;
  gap: 10px !important;
}

.contact-card [data-contact-whatsapp] {
display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  background: linear-gradient(135deg, #25d366, #10ad59) !important;
  border-color: rgba(37, 211, 102, 0.62) !important;
  color: #06120a !important;
  box-shadow: 0 16px 36px rgba(16, 173, 89, 0.24) !important;
}

.contact-card [data-contact-whatsapp]::before {
content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.04 3a8.86 8.86 0 0 0-7.6 13.45L3.4 21l4.68-1.02A8.88 8.88 0 1 0 12.04 3Zm4.18 12.48c-.18.5-1.06.96-1.48 1.02-.4.06-.92.08-1.48-.1-.34-.1-.78-.25-1.34-.5-2.36-1.02-3.9-3.4-4.02-3.56-.12-.16-.96-1.28-.96-2.44 0-1.16.6-1.72.82-1.96.22-.24.48-.3.64-.3h.46c.14 0 .34-.05.52.4.18.44.62 1.52.68 1.64.06.12.1.26.02.42-.08.16-.12.26-.24.4-.12.14-.26.3-.36.4-.12.12-.24.25-.1.5.14.24.62 1.02 1.34 1.66.92.82 1.7 1.08 1.94 1.2.24.12.38.1.52-.06.16-.18.6-.7.76-.94.16-.24.32-.2.54-.12.22.08 1.42.67 1.66.8.24.12.4.18.46.28.06.1.06.58-.12 1.08Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.04 3a8.86 8.86 0 0 0-7.6 13.45L3.4 21l4.68-1.02A8.88 8.88 0 1 0 12.04 3Zm4.18 12.48c-.18.5-1.06.96-1.48 1.02-.4.06-.92.08-1.48-.1-.34-.1-.78-.25-1.34-.5-2.36-1.02-3.9-3.4-4.02-3.56-.12-.16-.96-1.28-.96-2.44 0-1.16.6-1.72.82-1.96.22-.24.48-.3.64-.3h.46c.14 0 .34-.05.52.4.18.44.62 1.52.68 1.64.06.12.1.26.02.42-.08.16-.12.26-.24.4-.12.14-.26.3-.36.4-.12.12-.24.25-.1.5.14.24.62 1.02 1.34 1.66.92.82 1.7 1.08 1.94 1.2.24.12.38.1.52-.06.16-.18.6-.7.76-.94.16-.24.32-.2.54-.12.22.08 1.42.67 1.66.8.24.12.4.18.46.28.06.1.06.58-.12 1.08Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.contact-card [data-contact-whatsapp] {
display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  background: linear-gradient(135deg, #25d366, #10ad59) !important;
  border-color: rgba(37, 211, 102, 0.55) !important;
  color: #06120a !important;
  box-shadow: 0 16px 36px rgba(16, 173, 89, 0.22) !important;
}

.contact-card [data-contact-whatsapp]::before {
content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.04 3a8.86 8.86 0 0 0-7.6 13.45L3.4 21l4.68-1.02A8.88 8.88 0 1 0 12.04 3Zm4.18 12.48c-.18.5-1.06.96-1.48 1.02-.4.06-.92.08-1.48-.1-.34-.1-.78-.25-1.34-.5-2.36-1.02-3.9-3.4-4.02-3.56-.12-.16-.96-1.28-.96-2.44 0-1.16.6-1.72.82-1.96.22-.24.48-.3.64-.3h.46c.14 0 .34-.05.52.4.18.44.62 1.52.68 1.64.06.12.1.26.02.42-.08.16-.12.26-.24.4-.12.14-.26.3-.36.4-.12.12-.24.25-.1.5.14.24.62 1.02 1.34 1.66.92.82 1.7 1.08 1.94 1.2.24.12.38.1.52-.06.16-.18.6-.7.76-.94.16-.24.32-.2.54-.12.22.08 1.42.67 1.66.8.24.12.4.18.46.28.06.1.06.58-.12 1.08Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.04 3a8.86 8.86 0 0 0-7.6 13.45L3.4 21l4.68-1.02A8.88 8.88 0 1 0 12.04 3Zm4.18 12.48c-.18.5-1.06.96-1.48 1.02-.4.06-.92.08-1.48-.1-.34-.1-.78-.25-1.34-.5-2.36-1.02-3.9-3.4-4.02-3.56-.12-.16-.96-1.28-.96-2.44 0-1.16.6-1.72.82-1.96.22-.24.48-.3.64-.3h.46c.14 0 .34-.05.52.4.18.44.62 1.52.68 1.64.06.12.1.26.02.42-.08.16-.12.26-.24.4-.12.14-.26.3-.36.4-.12.12-.24.25-.1.5.14.24.62 1.02 1.34 1.66.92.82 1.7 1.08 1.94 1.2.24.12.38.1.52-.06.16-.18.6-.7.76-.94.16-.24.32-.2.54-.12.22.08 1.42.67 1.66.8.24.12.4.18.46.28.06.1.06.58-.12 1.08Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.contact-page {
min-height: 100vh;
}

.contact-main {
padding: clamp(118px, 13vw, 158px) clamp(18px, 5vw, 72px) 76px;
}

.contact-hero {
margin: 0 auto 34px;
  max-width: 1120px;
}

.contact-hero h1 {
color: var(--text, #111713);
  font-size: clamp(42px, 7vw, 86px);
  letter-spacing: 0;
  line-height: 0.96;
  margin: 8px 0 18px;
  max-width: 920px;
}

.contact-hero p {
color: var(--muted, #647067);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.55;
  max-width: 820px;
}

.contact-layout {
align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  margin: 0 auto;
  max-width: 1120px;
}

.contact-form-panel,
.contact-card {
background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(206, 194, 166, 0.8);
  border-radius: 22px;
  box-shadow: 0 28px 72px rgba(18, 27, 22, 0.08);
}

.contact-form-panel {
display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
}

.contact-form-panel h2,
.contact-card h2 {
color: var(--text, #111713);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  margin: 0;
}

.contact-form-panel label {
color: var(--text, #111713);
  display: grid;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.contact-form-panel input,
.contact-form-panel textarea {
background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(190, 177, 148, 0.86);
  border-radius: 16px;
  color: #101410;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  outline: none;
  padding: 15px 16px;
  text-transform: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.contact-form-panel textarea {
line-height: 1.45;
  min-height: 150px;
  resize: vertical;
}

.contact-form-panel input:focus,
.contact-form-panel textarea:focus {
border-color: rgba(29, 190, 103, 0.9);
  box-shadow: 0 0 0 4px rgba(29, 190, 103, 0.14);
}

.contact-status {
border-radius: 14px;
  color: var(--muted, #647067);
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
  min-height: 20px;
  padding: 0;
}

.contact-status[data-state="success"] {
background: rgba(29, 190, 103, 0.12);
  color: #08713d;
  padding: 12px 14px;
}

.contact-status[data-state="error"] {
background: rgba(211, 63, 63, 0.12);
  color: #9d2020;
  padding: 12px 14px;
}

.contact-status[data-state="loading"] {
background: rgba(214, 173, 45, 0.14);
  color: #8a6a08;
  padding: 12px 14px;
}

.contact-side {
display: grid;
  gap: 16px;
  position: sticky;
  top: 132px;
}

.contact-card {
display: grid;
  gap: 12px;
  padding: 26px;
}

.contact-card span {
color: var(--accent, #0a9d57);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card p {
color: var(--muted, #647067);
  font-size: 16px;
  line-height: 1.45;
  margin: 0;
}

body.flight-contact .contact-form-panel input:focus,
body.flight-contact .contact-form-panel textarea:focus {
border-color: rgba(48, 154, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(48, 154, 255, 0.14);
}

body.flight-contact .contact-card span,
body.flight-contact .contact-hero .eyebrow,
body.flight-contact .contact-form-panel .eyebrow {
color: #1680e8;
}

body.pimax-contact .contact-form-panel input:focus,
body.pimax-contact .contact-form-panel textarea:focus {
border-color: rgba(29, 214, 111, 0.9);
  box-shadow: 0 0 0 4px rgba(29, 214, 111, 0.16);
}

html.dark-theme body.contact-page,
body.dark-theme.contact-page {
background: #07110d;
}

html.dark-theme .contact-hero h1,
body.dark-theme .contact-hero h1,
html.dark-theme .contact-form-panel h2,
body.dark-theme .contact-form-panel h2,
html.dark-theme .contact-card h2,
body.dark-theme .contact-card h2,
html.dark-theme .contact-form-panel label,
body.dark-theme .contact-form-panel label {
color: #f7f4ea;
}

html.dark-theme .contact-hero p,
body.dark-theme .contact-hero p,
html.dark-theme .contact-card p,
body.dark-theme .contact-card p {
color: rgba(236, 242, 235, 0.72);
}

html.dark-theme .contact-form-panel,
body.dark-theme .contact-form-panel,
html.dark-theme .contact-card,
body.dark-theme .contact-card {
background: rgba(15, 26, 30, 0.86);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
}

html.dark-theme .contact-form-panel input,
body.dark-theme .contact-form-panel input,
html.dark-theme .contact-form-panel textarea,
body.dark-theme .contact-form-panel textarea {
background: rgba(5, 13, 15, 0.82);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f7f4ea;
}

@media (max-width: 980px) {
.contact-main {
padding: 108px 18px 84px;
}
}

@media (max-width: 980px) {
.contact-layout {
grid-template-columns: 1fr;
}
}

@media (max-width: 980px) {
.contact-side {
position: static;
}
}

@media (max-width: 620px) {
.contact-hero h1 {
font-size: clamp(38px, 13vw, 54px);
}
}

@media (max-width: 620px) {
.contact-form-panel,
  .contact-card {
border-radius: 18px;
}
}

