/* Sealife Stays owners site: approved hero + the original page structure.
   Navy, warm ivory and champagne gold; Newsreader for display, DM Sans for text. */
:root {
  --sx-navy: #142e40; --sx-navy-2: #1b3a50; --sx-ivory: #f5f4ef; --sx-paper: #fffdf8;
  --sx-gold: #dfc184; --sx-gold-hi: #e9d29e; --sx-gold-line: #b49a65; --sx-gold-ink: #7a6542;
  --sx-ink: #142e40; --sx-body: #46586a; --sx-hair: #dcd8cd;
  --sx-display: "Newsreader", Georgia, "Times New Roman", serif;
  --sx-text: "DM Sans", Arial, sans-serif;
  --sx-gut: max(24px, 5.3vw);
  --sx-max: 1040px;
}
main.pub { padding: 0; max-width: none; background: var(--sx-paper); color: var(--sx-ink); font: 400 1rem/1.65 var(--sx-text); }
main.pub h1, main.pub h2, main.pub h3 { color: inherit; text-wrap: balance; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
main.pub a:focus-visible, main.pub button:focus-visible, main.pub input:focus-visible, main.pub select:focus-visible, main.pub textarea:focus-visible { outline: 3px solid var(--sx-gold-line); outline-offset: 3px; }

/* hero (approved design) */
.sx-hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: min(740px, 86svh); color: #fff; background: var(--sx-navy); }
.sx-hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.sx-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(13,35,51,.65), rgba(13,35,51,.22) 58%, transparent), linear-gradient(180deg, rgba(13,35,51,.3), transparent 30%); }
.sx-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px var(--sx-gut); border-bottom: 1px solid rgba(255,255,255,.25); }
.sx-brand { font: 400 36px/1 var(--sx-display); color: #fff; text-decoration: none; letter-spacing: -.01em; }
.sx-links { display: flex; align-items: center; gap: 28px; font-size: 12px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
.sx-links a { color: #fff; text-decoration: none; }
.sx-links a:not(.sx-outline):hover { text-decoration: underline; text-underline-offset: 6px; }
.sx-outline { border: 1px solid currentColor; padding: 12px 20px; }
.sx-outline:hover { background: rgba(255,255,255,.12); }
.sx-menu { display: none; }
.sx-hero-copy { margin: auto 0; padding: clamp(60px, 10vh, 120px) var(--sx-gut) 65px; max-width: calc(1100px + var(--sx-gut)); }
.sx-eyebrow { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sx-gold); }
.sx-rule { display: inline-block; width: 64px; height: 1px; margin-left: 20px; background: #c4a36a; vertical-align: middle; }
.sx-hero h1 { margin: 24px 0; max-width: 850px; font: 400 clamp(52px, 6vw, 88px)/.98 var(--sx-display); letter-spacing: -.035em; color: #fff; }
.sx-hero-lead { max-width: 560px; margin: 16px 0; font-size: 17px; line-height: 1.6; }
.sx-hero-cta { margin: 28px 0 0; }
.sx-btn { display: inline-block; padding: 17px 26px; border: 0; background: var(--sx-gold); color: var(--sx-navy); font: 600 15px/1.2 var(--sx-text); text-decoration: none; cursor: pointer; transition: background-color .15s; }
.sx-btn:hover { background: var(--sx-gold-hi); color: var(--sx-navy); }
.sx-secondary { display: inline-block; margin-left: 24px; color: #fff; font-size: 14px; text-underline-offset: 5px; }
@media (prefers-reduced-motion: no-preference) {
  .sx-hero-copy > * { animation: sx-rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .sx-hero-copy > :nth-child(2) { animation-delay: .08s; }
  .sx-hero-copy > :nth-child(3) { animation-delay: .16s; }
  .sx-hero-copy > :nth-child(4) { animation-delay: .24s; }
}
@keyframes sx-rise { from { opacity: 0; transform: translateY(12px); } }

/* band under the hero */
.sx-band { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 var(--sx-gut); background: var(--sx-navy); color: #fff; }
.sx-band > div { padding: 26px 28px 28px; }
.sx-band > div:first-child { padding-left: 0; }
.sx-band > div + div { border-left: 1px solid rgba(255,255,255,.2); }
.sx-band h2 { margin: 0 0 6px; font: 500 20px/1.25 var(--sx-display); letter-spacing: 0; }
.sx-band p { margin: 0; font-size: 14px; line-height: 1.5; color: #d9e2e7; }

/* sections */
.sx-sec { padding: 88px var(--sx-gut); }
.sx-sec > * { max-width: var(--sx-max); margin-left: auto; margin-right: auto; }
.sx-paper { background: var(--sx-paper); }
.sx-ivory { background: var(--sx-ivory); }
.sx-head { text-align: center; margin-bottom: 44px; }
.sx-head h2 { margin: 0 0 14px; font: 400 clamp(34px, 3.4vw, 48px)/1.08 var(--sx-display); letter-spacing: -.025em; }
.sx-head p { max-width: 620px; margin: 0 auto; color: var(--sx-body); }
.sx-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sx-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sx-three + .sx-three { margin-top: 24px; }
.sx-card { background: var(--sx-paper); border: 1px solid var(--sx-hair); padding: 28px 30px; }
.sx-ivory .sx-card { background: #fff; }
.sx-card h3 { margin: 0 0 10px; font: 600 17px/1.35 var(--sx-text); }
.sx-card p { margin: 0; color: var(--sx-body); font-size: 15px; }

/* fees */
.sx-plan { background: var(--sx-ivory); border: 1px solid var(--sx-hair); border-top: 3px solid var(--sx-navy); padding: 28px 32px 30px; }
.sx-plan--main { background: #eaf0f2; border-top-color: var(--sx-gold-line); }
.sx-plan h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; font: 600 13px/1.3 var(--sx-text); letter-spacing: .14em; text-transform: uppercase; }
.sx-tag { font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--sx-gold-ink); }
.sx-pct { margin: 14px 0 0; font: 400 76px/1 var(--sx-display); letter-spacing: -.04em; }
.sx-pct span { font-size: .5em; letter-spacing: 0; margin-left: .03em; }
.sx-of { margin: 4px 0 16px; font-size: 14px; color: var(--sx-body); }
.sx-plan p:last-child { margin: 0; color: var(--sx-body); }
.sx-fine { margin: 18px 0 0; text-align: center; font-size: 14px; color: var(--sx-body); }
.sx-offer { margin-top: 24px; padding: 16px 22px; background: #f0ede4; border-left: 3px solid var(--sx-gold-line); text-align: center; }
.sx-table { margin-top: 40px; margin-bottom: 24px; }
.sx-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sx-table th, .sx-table td { padding: 13px 10px; border-bottom: 1px solid var(--sx-hair); text-align: left; vertical-align: top; }
.sx-table thead th { padding-top: 0; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--sx-navy); }
.sx-table tbody th { font-weight: 400; padding-left: 0; }
.sx-table thead th:first-child { padding-left: 0; }
.sx-table td, .sx-table thead th + th { width: 150px; text-align: center; }
.sx-table td { color: var(--sx-body); font-size: 14px; }
.sx-yes { display: inline-flex; align-items: center; gap: 8px; color: var(--sx-ink); font-weight: 600; }
.sx-yes::before { content: ""; width: 6px; height: 11px; border: solid var(--sx-gold-line); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
.sx-no { color: #8a95a0; }

/* estimate */
.sx-calc { display: grid; grid-template-columns: 1fr 1fr; background: var(--sx-navy); color: #f8f3e9; }
.sx-calc-in { display: grid; gap: 14px; align-content: start; padding: 36px 40px; }
.sx-calc-in label { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; font-weight: 500; }
.sx-calc-in output { font: 400 28px/1 var(--sx-display); color: var(--sx-gold); }
.sx-calc-in input[type=range] { width: 100%; accent-color: var(--sx-gold); }
.sx-seg { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; border: 1px solid rgba(255,255,255,.3); }
.sx-seg a { padding: 11px 6px; text-align: center; color: rgba(255,255,255,.85); text-decoration: none; font-size: 14px; font-weight: 500; }
.sx-seg a + a { border-left: 1px solid rgba(255,255,255,.3); }
.sx-seg a[aria-current] { background: var(--sx-gold); color: var(--sx-navy); }
.sx-calc-out { padding: 36px 40px; background: var(--sx-navy-2); }
.sx-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-variant-numeric: tabular-nums; }
.sx-row span { color: #d9e2e7; }
.sx-row b { font-weight: 500; }
.sx-total { align-items: baseline; border-top: 1px solid rgba(255,255,255,.6); border-bottom: 0; margin-top: 6px; padding-top: 16px; }
.sx-total span { color: #fff; font-weight: 600; }
.sx-total b { font: 400 40px/1 var(--sx-display); color: var(--sx-gold); }
.sx-calc-note { margin: 16px 0 0; font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.66); }

/* how it works */
.sx-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: sx; margin-bottom: 64px; }
.sx-steps li { counter-increment: sx; border-top: 1px solid var(--sx-gold-line); padding-top: 18px; }
.sx-steps li::before { content: counter(sx); display: block; margin-bottom: 12px; font: 400 34px/1 var(--sx-display); color: var(--sx-gold-ink); }
.sx-steps h3 { margin: 0 0 8px; font: 600 17px/1.35 var(--sx-text); }
.sx-steps p { margin: 0; color: var(--sx-body); font-size: 15px; }
.sx-subhead { margin: 0 auto 22px; text-align: center; font: 400 28px/1.2 var(--sx-display); letter-spacing: -.015em; }
.sx-own { display: grid; grid-template-columns: 1fr 1fr; align-items: center; margin-top: 64px; background: var(--sx-ivory); border: 1px solid var(--sx-hair); }
.sx-own img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.sx-own > div { padding: 36px 40px; }
.sx-own h3 { margin: 0 0 12px; font: 400 30px/1.15 var(--sx-display); letter-spacing: -.015em; }
.sx-own p { margin: 0 0 18px; color: var(--sx-body); }
.sx-link { color: var(--sx-ink); font-weight: 600; text-underline-offset: 5px; text-decoration-color: var(--sx-gold-line); }

/* contact */
.sx-form { background: #fff; border: 1px solid var(--sx-hair); border-top: 3px solid var(--sx-navy); padding: 36px 40px 40px; }
.sx-form h3 { margin: 0 0 8px; font: 400 30px/1.2 var(--sx-display); }
.sx-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-bottom: 28px; }
.sx-wide { grid-column: 1 / -1; }
.sx-fields label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.sx-fields input:not([type=checkbox]):not([type=file]), .sx-fields select, .sx-fields textarea { width: 100%; min-height: 48px; padding: 12px 13px; border: 1px solid #c7c6bf; border-radius: 0; background: #fff; color: var(--sx-ink); font: 400 15px/1.4 var(--sx-text); }
.sx-fields textarea { min-height: 96px; }
.sx-fields input:focus, .sx-fields select:focus, .sx-fields textarea:focus { border-color: var(--sx-navy); outline: 2px solid rgba(180,154,101,.45); outline-offset: 0; }
.sx-fields input[type=file] { padding: 12px; border: 1px dashed #c7c6bf; background: var(--sx-ivory); font: 400 14px var(--sx-text); }
.sx-check { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; font-size: 14px !important; color: var(--sx-body); }
.sx-check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--sx-navy); }
.sx-error { margin: 0 0 22px; padding: 12px 14px; background: #fdecea; color: #8c1d0f; border-left: 3px solid #c13515; }

/* footer */
.sx-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px 40px; padding: 40px var(--sx-gut); background: var(--sx-navy); color: #d9e2e7; font-size: 14px; }
.sx-foot-brand { display: grid; gap: 4px; }
.sx-foot-brand b { font: 400 26px/1.1 var(--sx-display); color: #fff; }
.sx-foot nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.sx-foot a { color: #fff; text-decoration: none; }
.sx-foot a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1000px) {
  .sx-links { gap: 20px; }
  .sx-band { grid-template-columns: 1fr 1fr; }
  .sx-band > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .sx-band > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.2); }
  .sx-steps { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}
@media (max-width: 800px) {
  .sx-nav { padding: 20px 24px; position: relative; }
  .sx-brand { font-size: 29px; }
  .sx-menu { display: block; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7); padding: 10px 14px; font: 500 13px var(--sx-text); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
  .sx-links { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 5; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; background: var(--sx-navy); }
  .sx-links.is-open { display: flex; }
  .sx-links a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .sx-links .sx-outline { margin-top: 12px; padding: 12px 16px; text-align: center; }
  .sx-hero { min-height: 650px; }
  .sx-hero-img { object-position: 55% center; }
  .sx-hero-copy { padding: 60px 24px; }
  .sx-hero h1 { font-size: clamp(43px, 9vw, 66px); }
  .sx-hero-lead { font-size: 16px; }
  .sx-secondary { display: block; margin: 18px 0 0; }
  .sx-sec { padding: 60px 24px; }
  .sx-head { margin-bottom: 32px; }
  .sx-two, .sx-three, .sx-calc, .sx-own { grid-template-columns: 1fr; }
  .sx-two, .sx-three { gap: 16px; }
  .sx-three + .sx-three { margin-top: 16px; }
  .sx-plan { padding: 22px 22px 24px; }
  .sx-pct { font-size: 64px; }
  .sx-calc-in, .sx-calc-out { padding: 26px 22px; }
  .sx-own > div { padding: 26px 22px; }
  .sx-form { padding: 24px 20px 28px; }
  .sx-fields { grid-template-columns: 1fr; }
  .sx-btn { width: 100%; text-align: center; }
  .sx-foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .sx-band { grid-template-columns: 1fr; padding: 0 24px; }
  .sx-band > div, .sx-band > div + div { padding: 18px 0; border-left: 0; }
  .sx-band > div + div { border-top: 1px solid rgba(255,255,255,.2); }
  .sx-steps { grid-template-columns: 1fr; }
  .sx-table td, .sx-table thead th + th { width: 84px; }
  .sx-table th, .sx-table td { padding: 11px 4px; font-size: 13px; }
  .sx-table thead th { font-size: 11px; letter-spacing: .06em; }
  .sx-yes { font-size: 0; }
  .sx-yes::before { width: 7px; height: 13px; }
}
@media (prefers-reduced-motion: reduce) { .sx-btn { transition: none; } }
.sx-calc .sx-calc-in label { color: #fff; font-size: 15px; }
.sx-calc .sx-seg { display: grid; grid-template-columns: repeat(3, 1fr); justify-self: stretch; width: 100%; border-radius: 0; background: none; padding: 0; }
.sx-calc .sx-seg a { border-radius: 0; }
@media (max-width: 560px) { .sx-calc .sx-seg a { font-size: 12.5px; padding: 11px 2px; } }

/* logo: the Sealife Malta emblem and wordmark, with "Stays" */
.sx-brand { display: inline-flex; font: inherit; }
.sx-logo { display: inline-flex; align-items: center; gap: 14px; color: #fff; }
.sx-emblem { width: 46px; height: 46px; flex: none; }
.sx-word { display: grid; gap: 7px; }
.sx-word-main { font: 600 31px/0.9 "Cormorant Garamond", Georgia, serif; letter-spacing: .24em; text-transform: uppercase; margin-right: -.24em; }
.sx-word-sub { font: 600 8.5px/1 var(--sx-text); letter-spacing: .42em; text-transform: uppercase; opacity: .9; }
.sx-logo--foot { margin-bottom: 10px; }
@media (max-width: 800px) {
  .sx-emblem { width: 38px; height: 38px; }
  .sx-logo { gap: 11px; }
  .sx-word-main { font-size: 25px; }
  .sx-word-sub { font-size: 7.5px; letter-spacing: .36em; }
}
