:root {
  --ink: #14233a;
  --muted: #5d6b7d;
  --blue: #063f8f;
  --blue-deep: #062d68;
  --tile: #eaf2ff;
  --stone: #fbf7ef;
  --paper: #fffdf8;
  --line: #d9d2c4;
  --terracotta: #b75f36;
  --olive: #516b45;
  --gold: #d9a441;
  --shadow: 0 20px 50px rgba(20, 35, 58, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html[data-language-loading="tr"] body {
  visibility: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(217, 164, 65, 0.72);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 100;
  padding: 0.6rem 0.85rem;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 4vw;
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
body:not(:has(.hero)) .site-header {
  background: rgba(255, 253, 248, 0.96);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(20, 35, 58, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  margin-right: auto;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: 0;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}

.brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 680;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.16);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a[aria-current="page"],
body:not(:has(.hero)) .site-nav a:hover,
body:not(:has(.hero)) .site-nav a[aria-current="page"] {
  background: var(--tile);
  color: var(--blue);
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(34px, 1fr));
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.language-switch button {
  min-height: 34px;
  border: 0;
  border-radius: calc(var(--radius) - 3px);
  background: transparent;
  color: currentColor;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
}

.language-switch button.is-active {
  background: var(--gold);
  color: #1f2617;
}

.site-header.is-scrolled .language-switch,
body:not(:has(.hero)) .language-switch {
  border-color: var(--line);
  background: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: currentColor;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("../img/lisbon-ready-home-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 31, 67, 0.82) 0%, rgba(6, 31, 67, 0.62) 42%, rgba(6, 31, 67, 0.18) 100%),
    linear-gradient(0deg, rgba(6, 31, 67, 0.42) 0%, rgba(6, 31, 67, 0.02) 45%);
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 8vw));
  margin: 0 auto;
  padding: 8rem 0 4rem;
  color: #fff;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow {
  color: #ffd27e;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: clamp(3.05rem, 7.2vw, 5.8rem);
  font-weight: 820;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 0.45rem;
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  font-weight: 760;
  line-height: 1.24;
}

.hero-support {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.5;
}

.hero-actions,
.section-action {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 780;
  line-height: 1.1;
  cursor: pointer;
}

.button-primary {
  background: var(--gold);
  color: #1f2617;
}

.button-primary:hover {
  background: #efbd5a;
}

.button-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.12);
}

.button-light:hover {
  background: rgba(255, 255, 255, 0.22);
}

.button-secondary {
  background: var(--blue);
  color: #fff;
}

.button-secondary:hover {
  background: var(--blue-deep);
}

.button:active {
  transform: translateY(1px);
}

.button:disabled,
.button[aria-disabled="true"] {
  cursor: wait;
  opacity: 0.64;
}

.text-link {
  color: var(--blue);
  font-weight: 780;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

.signal-strip {
  width: min(var(--max), calc(100% - 8vw));
  margin: -2.5rem auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
}

.signal-strip div {
  background: var(--paper);
  padding: 1.25rem;
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  color: var(--blue);
}

.signal-strip span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  width: min(var(--max), calc(100% - 8vw));
  margin: 0 auto;
  padding: 5.5rem 0;
}

.section-muted {
  width: 100%;
  max-width: none;
  padding: 5.5rem max(4vw, calc((100vw - var(--max)) / 2));
  background: var(--stone);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.2rem;
}

.section-heading h2,
.split-copy h2,
.cta-band h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.8vw, 3.6rem);
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.section-note,
.noscript-note {
  max-width: 920px;
  margin: 1.4rem 0 0;
  color: var(--muted);
}

.update-label {
  display: inline-flex;
  width: fit-content;
  margin: 1.25rem 0 0;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  font-size: 0.86rem !important;
  font-weight: 760;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  font-size: 1.1rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.service-card,
.detail-card,
.price-card,
.audience-grid article,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(20, 35, 58, 0.06);
}

.service-card {
  min-height: 245px;
  padding: 1.25rem;
}

.service-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--tile);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
}

.service-card h3,
.detail-card h2,
.price-card h3,
.audience-grid h3 {
  margin-bottom: 0.65rem;
}

.service-card p,
.detail-card p,
.price-card li,
.audience-grid p,
.contact-panel p,
.timeline p,
.faq-list p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 2rem;
  align-items: center;
}

.split-copy p:not(.eyebrow) {
  max-width: 590px;
  color: var(--muted);
  font-size: 1.08rem;
}

.arrival-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.arrival-panel div {
  min-height: 148px;
  padding: 1.35rem;
  background: linear-gradient(135deg, #ffffff 0%, #f5fbff 100%);
}

.arrival-panel span,
.arrival-panel strong {
  display: block;
}

.arrival-panel span {
  color: var(--terracotta);
  font-weight: 820;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.arrival-panel strong {
  margin-top: 0.55rem;
  font-size: 1.12rem;
  line-height: 1.25;
}

.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.scope-list {
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}

.scope-list ul,
.detail-card ul,
.price-card ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}

.scope-list li,
.detail-card li,
.price-card li {
  margin: 0.4rem 0;
}

.scope-yes {
  border-top: 5px solid var(--olive);
}

.scope-no {
  border-top: 5px solid var(--terracotta);
}

.cta-band,
.note-band {
  width: min(var(--max), calc(100% - 8vw));
  margin: 5rem auto;
  border-radius: var(--radius);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  background: var(--blue-deep);
  color: #fff;
}

.cta-band h2 {
  max-width: 820px;
}

.cta-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.note-band {
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--line);
  background: #fff7df;
}

.note-band p {
  margin: 0;
  color: #5b4630;
}

.package-terms h2 {
  margin: 0.3rem 0 0.8rem;
  color: var(--blue-deep);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.package-terms li {
  color: #5b4630;
}

.page-hero {
  min-height: 46vh;
  display: grid;
  align-items: end;
  padding: 9rem max(4vw, calc((100vw - var(--max)) / 2)) 4rem;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 31, 67, 0.88), rgba(6, 31, 67, 0.62)),
    url("../img/lisbon-ready-home-hero.png") center / cover no-repeat;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.service-list {
  display: grid;
  gap: 1rem;
}

.service-intro .section-heading {
  max-width: 780px;
}

.detail-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.35rem;
}

.detail-card .service-icon {
  margin: 0;
}

.detail-card ul {
  columns: 2;
  column-gap: 2.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.price-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 1.35rem;
}

.price-card .button {
  margin-top: auto;
}

.home-package-card {
  min-height: 440px;
}

.home-package-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.home-package-list li::marker {
  color: var(--terracotta);
}

.package-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(183, 95, 54, 0.3);
  border-radius: var(--radius);
  background: #fff7df;
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.package-badge-placeholder {
  visibility: hidden;
}

.price-label {
  margin-bottom: 0.5rem;
  color: var(--terracotta);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: 1.55rem;
  color: var(--blue);
}

.package-price {
  margin: 0.85rem 0 0.35rem;
  color: var(--blue);
  font-size: 2.35rem;
  font-weight: 850;
  line-height: 1;
}

.value-note {
  min-height: 2.8rem;
  margin: 0;
  color: var(--terracotta);
  font-size: 0.86rem;
  font-weight: 720;
  line-height: 1.35;
}

.featured-price {
  border-color: var(--gold);
  box-shadow: 0 18px 42px rgba(217, 164, 65, 0.22);
}

.package-plan-list {
  display: grid;
  gap: 1rem;
}

.package-plan {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(20, 35, 58, 0.06);
}

.package-plan-heading p:not(.price-label),
.package-plan li {
  color: var(--muted);
}

.package-plan h2,
.package-plan h3 {
  margin-bottom: 0.65rem;
}

.package-plan ul,
.package-terms ul {
  margin: 0;
  padding-left: 1.15rem;
}

.package-plan li,
.package-terms li {
  margin: 0.45rem 0;
}

.featured-plan {
  border-color: var(--gold);
  background: linear-gradient(135deg, #fffdf8 0%, #fff 56%, #f4f9ff 100%);
}

.signature-package {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
}

.signature-copy {
  position: sticky;
  top: 110px;
}

.signature-copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.8vw, 3.6rem);
}

.signature-copy p:not(.eyebrow),
.signature-details li {
  color: var(--muted);
}

.signature-details {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(20, 35, 58, 0.06);
}

.signature-details ul {
  margin: 1rem 0;
  padding-left: 1.15rem;
  columns: 2;
  column-gap: 2.2rem;
}

.signature-details li {
  margin: 0 0 0.55rem;
  break-inside: avoid;
}

.service-disclaimer {
  margin: 1.4rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: #5b4630;
}

.package-detail-list {
  display: grid;
  gap: 1rem;
}

.package-detail {
  scroll-margin-top: 100px;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(20, 35, 58, 0.06);
}

.package-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.package-detail-header h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.package-detail-header .package-price {
  flex: 0 0 auto;
  margin-top: 0;
}

.package-audience {
  max-width: 760px;
  color: var(--muted);
}

.package-detail-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.35rem 0;
}

.package-detail-columns h3 {
  margin-bottom: 0.65rem;
}

.package-detail-columns ul,
.terms-grid ul {
  margin: 0;
  padding-left: 1.15rem;
}

.package-detail-columns li,
.terms-grid li {
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.inline-price {
  color: var(--blue-deep);
  font-size: 1.15em;
}

.terms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.individual-service-link .text-link {
  margin-left: 0.35rem;
}

.expand-services-button {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.pricing-service-details[hidden] {
  display: none;
}

.service-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-price-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(20, 35, 58, 0.06);
}

.service-price-card > p {
  color: var(--muted);
}

.service-price-card > .button {
  margin-top: auto;
}

.service-price-header {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.service-price-header h2 {
  margin-bottom: 0;
  font-size: 1.35rem;
}

.service-price-header .package-price {
  margin-top: 0.45rem;
  font-size: 1.8rem;
}

.service-accordion {
  border-top: 1px solid var(--line);
}

.service-accordion > button {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font: inherit;
  font-weight: 780;
  text-align: left;
}

.accordion-icon {
  font-size: 1.3rem;
  transition: transform 160ms ease;
}

.service-accordion > button[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}

.service-accordion [data-accordion-panel] {
  padding-bottom: 0.65rem;
}

.service-accordion [data-accordion-panel] ul {
  margin: 0;
  padding-left: 1.15rem;
}

.service-accordion [data-accordion-panel] li {
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.price-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.table-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, 0.9fr);
  gap: 1rem;
  padding: 0.92rem 1.1rem;
  border-top: 1px solid var(--line);
}

.table-row:first-child {
  border-top: 0;
}

.table-row span:last-child {
  color: var(--blue);
  font-weight: 760;
}

.table-head {
  background: var(--blue);
  color: #fff;
  font-weight: 820;
}

.table-head span:last-child {
  color: #fff;
}

.timeline {
  display: grid;
  gap: 1.15rem;
  position: relative;
}

.timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 1.35rem 2rem;
  align-items: start;
  padding: 1.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(234, 242, 255, 0.78) 0%, rgba(255, 253, 248, 0.94) 48%, #fff 100%);
  box-shadow: 0 12px 32px rgba(20, 35, 58, 0.07);
  overflow: hidden;
}

.timeline article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--gold), var(--terracotta));
}

.timeline span {
  display: inline-flex;
  justify-self: start;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(183, 95, 54, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 247, 223, 0.78);
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.1;
  text-transform: uppercase;
}

.timeline h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.7vw, 2.45rem);
}

.timeline p {
  grid-column: 2;
  max-width: 760px;
  margin: -0.65rem 0 0;
  font-size: 1.04rem;
  line-height: 1.65;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.audience-grid article {
  padding: 1.35rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 1rem 1.15rem;
}

.faq-list summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 820;
}

.faq-list p {
  margin: 0.8rem 0 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.5rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.form-intro h2 {
  margin-bottom: 0.4rem;
}

.form-intro p,
.field-hint,
.privacy-note,
.integration-note {
  color: var(--muted);
}

.honeypot-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.field-control {
  min-width: 0;
}

.field-error {
  min-height: 1.25rem;
  margin: 0.3rem 0 0;
  color: #9b2c2c;
  font-size: 0.86rem;
  font-weight: 700;
}

.field-hint,
.privacy-note {
  margin: 0;
  font-size: 0.9rem;
}

.privacy-note {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

label small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

[aria-invalid="true"] {
  border-color: #b42318 !important;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.1) !important;
}

.service-options[hidden] {
  display: none;
}

.form-status.is-error {
  color: #9b2c2c;
}

.form-status.is-success {
  color: var(--olive);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field-grid-single {
  grid-template-columns: 1fr;
}

.legal-page {
  width: 100%;
}

.legal-page .page-hero {
  margin-bottom: 0;
}

.legal-content {
  display: grid;
  gap: 1.25rem;
}

.legal-content section {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.legal-content h2 {
  margin-bottom: 0.65rem;
  font-size: 1.35rem;
}

.legal-content ul {
  margin: 0;
  padding-left: 1.2rem;
}

.legal-content li + li {
  margin-top: 0.45rem;
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  width: min(680px, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 18px 45px rgba(20, 35, 58, 0.18);
}

.cookie-banner-copy strong {
  color: var(--ink);
}

.cookie-banner-copy p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  justify-content: flex-start;
  margin-top: 0.9rem;
}

.cookie-banner-actions .button {
  padding: 0.62rem 0.85rem;
  font-size: 0.86rem;
}

label,
fieldset {
  display: grid;
  gap: 0.45rem;
}

label span,
legend {
  color: var(--ink);
  font-weight: 780;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.required-mark {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0.18rem 0.48rem;
  border: 1px solid rgba(183, 95, 54, 0.22);
  border-radius: 999px;
  background: #fff7df;
  color: var(--terracotta);
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

input:not([type="checkbox"]):not([type="hidden"]),
select,
textarea,
.custom-field {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0.8rem 0.85rem;
}

input:not([type="checkbox"]):not([type="hidden"]):focus,
select:focus,
textarea:focus,
.custom-field:focus-visible {
  outline: 3px solid rgba(6, 63, 143, 0.14);
  border-color: var(--blue);
  box-shadow: 0 0 0 1px rgba(6, 63, 143, 0.12);
}

input:not([type="checkbox"]):not([type="hidden"]),
select,
.custom-field {
  min-height: 66px;
}

select {
  appearance: none;
  cursor: pointer;
  padding-right: 2.8rem;
  color-scheme: light;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--blue) 50%),
    linear-gradient(135deg, var(--blue) 50%, transparent 50%),
    linear-gradient(to right, rgba(6, 63, 143, 0.12), rgba(6, 63, 143, 0.12));
  background-position:
    calc(100% - 20px) calc(50% + 1px),
    calc(100% - 14px) calc(50% + 1px),
    calc(100% - 44px) 50%;
  background-size: 6px 6px, 6px 6px, 1px 52%;
  background-repeat: no-repeat;
}

select:hover {
  border-color: rgba(6, 63, 143, 0.5);
  background-color: #fffefa;
}

select option {
  background: var(--paper);
  color: var(--ink);
  font-weight: 640;
}

select option:checked {
  background: var(--tile);
  color: var(--blue);
  font-weight: 780;
}

.native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.custom-select,
.custom-date {
  position: relative;
}

.custom-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  cursor: pointer;
}

.custom-field:hover {
  border-color: rgba(6, 63, 143, 0.5);
  background: #fffefa;
}

.custom-field[aria-expanded="true"] {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(6, 63, 143, 0.12);
}

.field-caret {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid var(--blue);
  flex: 0 0 auto;
}

.custom-field[aria-expanded="true"] .field-caret {
  transform: rotate(180deg);
}

.field-calendar-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border: 2px solid var(--blue);
  border-radius: 5px;
}

.field-calendar-icon::before,
.field-calendar-icon::after {
  content: "";
  position: absolute;
  background: var(--blue);
}

.field-calendar-icon::before {
  left: 0;
  right: 0;
  top: 4px;
  height: 2px;
}

.field-calendar-icon::after {
  width: 3px;
  height: 3px;
  left: 4px;
  top: 9px;
  box-shadow: 5px 0 0 var(--blue), 10px 0 0 var(--blue), 0 5px 0 var(--blue), 5px 5px 0 var(--blue);
}

.custom-menu,
.date-picker-panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  right: 0;
  z-index: 30;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 22px 50px rgba(20, 35, 58, 0.16);
}

.custom-menu[hidden],
.date-picker-panel[hidden] {
  display: none !important;
}

.custom-menu {
  display: grid;
  gap: 0.25rem;
  padding: 0.45rem;
}

.custom-option {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 680;
  text-align: left;
  padding: 0.7rem 0.85rem;
}

.custom-option:hover,
.custom-option:focus-visible {
  outline: none;
  background: var(--tile);
  color: var(--blue);
}

.custom-option.is-selected {
  background: var(--blue);
  color: #fff;
}

.date-picker-panel {
  width: min(100%, 360px);
  right: auto;
  padding: 0.9rem;
}

.date-picker-header,
.date-picker-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.date-picker-title {
  color: var(--ink);
  font-weight: 850;
}

.date-nav,
.date-action {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 2px);
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  font: inherit;
  font-weight: 780;
}

.date-nav {
  width: 38px;
  height: 38px;
  font-size: 1.15rem;
  line-height: 1;
}

.date-nav:hover,
.date-action:hover,
.date-day:hover,
.date-day:focus-visible {
  border-color: rgba(6, 63, 143, 0.42);
  background: var(--tile);
  color: var(--blue);
}

.date-weekdays,
.date-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.2rem;
}

.date-weekdays {
  margin: 0.9rem 0 0.35rem;
}

.date-weekdays span {
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.date-day {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: calc(var(--radius) - 2px);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.date-day.is-muted {
  color: #8b94a3;
}

.date-day.is-today {
  border-color: rgba(217, 164, 65, 0.8);
  color: var(--terracotta);
}

.date-day.is-selected {
  background: var(--blue);
  color: #fff;
}

.date-picker-actions {
  margin-top: 0.85rem;
}

.date-action {
  min-height: 36px;
  padding: 0.45rem 0.7rem;
}

textarea {
  resize: vertical;
}

fieldset {
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
}

.checkbox-grid input {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  display: grid;
  place-content: center;
  appearance: none;
  border: 1px solid #8b94a3;
  border-radius: 4px;
  background: #fff;
  accent-color: var(--blue);
}

.checkbox-grid input::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform 120ms ease;
}

.checkbox-grid input:checked {
  border-color: var(--blue);
  background: var(--blue);
}

.checkbox-grid input:checked::before {
  transform: rotate(-45deg) scale(1);
}

.checkbox-grid input:focus-visible {
  outline: 3px solid rgba(6, 63, 143, 0.14);
  border-color: var(--blue);
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--olive);
  font-weight: 740;
}

.contact-panel {
  padding: 1.5rem;
}

.contact-panel img {
  width: 132px;
  margin: 0 auto 1.35rem;
}

.contact-panel dl {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
}

.contact-panel dt {
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-panel dd {
  margin: 0.25rem 0 0;
}

.contact-panel a {
  color: var(--blue);
  font-weight: 780;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 4vw;
  border-top: 1px solid var(--line);
  background: #fff;
}

.error-page {
  width: min(680px, calc(100% - 2rem));
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: start;
  margin: 0 auto;
  padding: 3rem 0;
}

.error-page img {
  margin-bottom: 1.5rem;
}

.error-page h1 {
  font-size: clamp(2.5rem, 7vw, 4.8rem);
}

.error-page > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand span {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--blue);
  font-weight: 720;
  text-decoration: none;
}

@media (max-width: 1040px) {
  .card-grid-4,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-card {
    min-height: 360px;
  }

  .package-plan {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .service-catalog {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 70px;
    padding: 0 1rem;
  }

  .brand span {
    max-width: 168px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header.is-scrolled .nav-toggle,
  body:not(:has(.hero)) .nav-toggle {
    border-color: var(--line);
    background: #fff;
  }

  .language-switch {
    grid-template-columns: repeat(2, 32px);
  }

  .site-nav {
    position: fixed;
    left: 1rem;
    right: 1rem;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .nav-open .site-nav {
    display: flex;
  }

  .site-nav a,
  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    background: transparent;
    color: var(--ink);
  }

  .site-nav a[aria-current="page"] {
    color: var(--blue);
  }

  .hero {
    min-height: 78vh;
  }

  .hero-media {
    background-position: 63% center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(6, 31, 67, 0.9), rgba(6, 31, 67, 0.42));
  }

  .hero-content {
    width: calc(100% - 2rem);
    padding: 8rem 0 3.8rem;
  }

  .signal-strip,
  .intro-grid,
  .split-section,
  .signature-package,
  .scope-grid,
  .audience-grid,
  .package-detail-columns,
  .terms-grid {
    grid-template-columns: 1fr;
  }

  .signature-copy {
    position: static;
  }

  .signature-details ul {
    columns: 1;
  }

  .signal-strip {
    margin-top: 0;
    width: 100%;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .section,
  .section-muted {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .arrival-panel {
    grid-template-columns: 1fr;
  }

  .detail-card {
    grid-template-columns: 1fr;
  }

  .detail-card ul {
    columns: 1;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    padding: 1.25rem;
  }

  .timeline span {
    justify-self: start;
  }

  .timeline p {
    grid-column: auto;
    margin-top: 0;
  }

  .cta-band,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .hero-content,
  .section,
  .cta-band,
  .note-band {
    width: calc(100% - 2rem);
  }

  h1 {
    font-size: clamp(2.7rem, 17vw, 4.2rem);
  }

  .hero-copy {
    font-size: 1.35rem;
  }

  .hero-actions,
  .field-grid,
  .checkbox-grid,
  .card-grid-4,
  .pricing-grid,
  .table-row {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .field-grid > :nth-child(1) { order: 1; }
  .field-grid > :nth-child(3) { order: 2; }
  .field-grid > :nth-child(2) { order: 3; }
  .field-grid > :nth-child(4) { order: 4; }

  .package-detail-header {
    display: block;
  }

  .package-detail-header .package-price {
    margin-top: 0.8rem;
  }

  .button {
    width: 100%;
  }

  .page-hero {
    min-height: 48vh;
    padding: 7rem 1rem 3rem;
  }

  .price-card {
    min-height: auto;
  }

  .table-row {
    gap: 0.25rem;
  }

  .site-footer {
    padding: 1.5rem 1rem;
  }

  .cookie-banner {
    right: 0.75rem;
    bottom: 0.75rem;
    width: calc(100vw - 1.5rem);
    grid-template-columns: 1fr;
  }

  .cookie-banner-actions {
    justify-content: flex-start;
  }
}
