:root {
  color-scheme: light;
  --paper: #f7f1e5;
  --paper-2: #fffaf0;
  --ink: #20242a;
  --muted: #626a74;
  --blue: #132f4f;
  --blue-2: #1d456f;
  --gold: #b88a3c;
  --gold-2: #e8d3a4;
  --line: #ded2be;
  --white: #fffdf8;
  --shadow: 0 24px 70px rgba(18, 31, 48, 0.13);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(184, 138, 60, 0.14), transparent 28rem),
    linear-gradient(180deg, var(--paper-2), var(--paper));
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

p,
h1,
h2,
h3,
ul,
ol,
blockquote {
  margin: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 0.6rem 0.8rem;
  background: var(--blue);
  color: #fff;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(222, 210, 190, 0.82);
  background: rgba(247, 241, 229, 0.93);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-grid;
  gap: 0.18rem;
  min-width: 220px;
  color: var(--blue);
  text-decoration: none;
}

.brand strong {
  font-size: 1.3rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue);
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.site-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 0.72rem;
  border-radius: var(--radius);
  color: #30363d;
  font-size: 0.94rem;
  font-weight: 850;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: rgba(29, 69, 111, 0.09);
  color: var(--blue);
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 84px 0;
}

.section-slim {
  padding: 58px 0;
}

.hero {
  min-height: calc(100svh - 76px);
  padding: 76px 0 52px;
  display: grid;
  align-items: center;
}

.hero-grid,
.split,
.app-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--gold);
}

h1 {
  max-width: 790px;
  color: var(--blue);
  font-size: clamp(3.3rem, 8vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.page-title {
  max-width: 900px;
  font-size: clamp(3rem, 7vw, 6rem);
}

h2 {
  max-width: 890px;
  color: var(--blue);
  font-size: clamp(2rem, 4.2vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  color: #232930;
  font-size: 1.15rem;
  line-height: 1.25;
}

.lead {
  max-width: 735px;
  margin-top: 1.45rem;
  color: #3f4650;
  font-size: clamp(1.1rem, 2vw, 1.34rem);
  line-height: 1.66;
}

.copy {
  max-width: 780px;
  margin-top: 1.1rem;
  color: #444c56;
  font-size: 1.06rem;
}

.copy + .copy {
  margin-top: 0.9rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.82rem 1.18rem;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.button:hover,
.button:focus-visible {
  background: #0c243e;
  box-shadow: 0 16px 38px rgba(19, 47, 79, 0.2);
  transform: translateY(-1px);
}

.button.secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--blue);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: #eef4f8;
}

.button.gold {
  border-color: var(--gold);
  background: var(--gold);
  color: #22190b;
}

.button.gold:hover,
.button.gold:focus-visible {
  background: #a8792f;
  border-color: #a8792f;
  color: #fff;
}

.media-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  border: 1px solid rgba(19, 47, 79, 0.12);
  border-radius: var(--radius);
  background: #eadcc5;
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 42%, rgba(19, 47, 79, 0.24));
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 2rem;
}

.metric {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.78);
}

.metric strong {
  display: block;
  color: var(--blue);
  font-size: 1.5rem;
  line-height: 1.1;
}

.metric span {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.band {
  border-block: 1px solid rgba(222, 210, 190, 0.84);
  background: #eee3d1;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 2.2rem;
}

.card,
.service-card,
.quote,
.faq-item,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(18, 31, 48, 0.06);
}

.card,
.service-card,
.quote,
.faq-item {
  padding: 1.35rem;
}

.card p,
.service-card p,
.faq-item p,
.quote p {
  margin-top: 0.72rem;
  color: #4b535d;
}

.service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

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

.price {
  margin-top: 0.56rem;
  color: var(--blue);
  font-size: 1.78rem;
  font-weight: 950;
  line-height: 1;
}

.includes {
  display: grid;
  gap: 0.45rem;
  padding: 0;
  margin: 1.12rem 0 0;
  list-style: none;
}

.includes li {
  position: relative;
  padding-left: 1rem;
  color: #343b44;
  font-size: 0.94rem;
}

.includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--gold);
}

.rights-box {
  padding: clamp(1.4rem, 4vw, 2.35rem);
  border: 1px solid rgba(19, 47, 79, 0.17);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.note {
  display: inline-flex;
  margin-top: 1.3rem;
  padding: 0.75rem 0.95rem;
  border-left: 4px solid var(--gold);
  background: var(--gold-2);
  color: #332715;
  font-weight: 900;
}

.testimonial-grid,
.portfolio-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 2rem;
}

.quote {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
}

.quote cite {
  margin-top: 1.1rem;
  color: var(--blue);
  font-style: normal;
  font-weight: 900;
}

.page-hero {
  padding: 72px 0 54px;
}

.portfolio-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(18, 31, 48, 0.06);
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.portfolio-card div {
  padding: 1.25rem;
}

.timeline {
  display: grid;
  gap: 16px;
  margin-top: 2rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.78);
}

.timeline-item strong {
  color: var(--blue);
}

.contact-panel {
  padding: clamp(1.25rem, 4vw, 2rem);
}

.contact-form,
.deposit-form {
  display: grid;
  gap: 1rem;
}

.deposit-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.deposit-summary {
  display: grid;
  gap: 0.75rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fdf6e8;
}

.deposit-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  color: #333a43;
}

.deposit-line strong {
  color: var(--blue);
}

.deposit-amount {
  color: var(--blue);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 950;
  line-height: 0.95;
}

.deposit-note {
  color: var(--muted);
  font-size: 0.94rem;
}

label {
  display: grid;
  gap: 0.38rem;
  color: #303741;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 0.72rem 0.78rem;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(184, 138, 60, 0.35);
  outline-offset: 2px;
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.cta {
  text-align: center;
  background:
    linear-gradient(120deg, rgba(19, 47, 79, 0.94), rgba(29, 69, 111, 0.88)),
    var(--blue);
  color: #fff;
}

.cta h2 {
  margin: 0 auto;
  color: #fff;
}

.cta .copy {
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.86);
}

.cta .button-row {
  justify-content: center;
}

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

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #eee3d1;
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-title {
  color: var(--blue);
  font-weight: 950;
}

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

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

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 1040px) {
  .hero-grid,
  .split,
  .app-strip {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid,
  .testimonial-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .header-inner,
  .wrap,
  .footer-inner {
    width: min(100% - 28px, var(--max));
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 1.18rem;
  }

  .brand span {
    font-size: 0.7rem;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 241, 229, 0.98);
  }

  body.nav-open .site-nav {
    display: block;
  }

  .site-nav ul {
    width: min(100% - 28px, var(--max));
    margin: 0 auto;
    padding: 1rem 0 1.2rem;
    align-items: stretch;
    flex-direction: column;
  }

  .site-nav a {
    min-height: 46px;
    padding: 0 0.85rem;
    background: rgba(255, 253, 248, 0.78);
  }

  .section {
    padding: 60px 0;
  }

  .section-slim,
  .page-hero {
    padding: 48px 0;
  }

  .hero {
    min-height: auto;
    padding: 52px 0;
  }

  h1,
  .page-title {
    font-size: clamp(2.7rem, 11.5vw, 3.55rem);
    line-height: 0.98;
    overflow-wrap: break-word;
  }

  .eyebrow {
    display: block;
    max-width: 100%;
    letter-spacing: 0.08em;
  }

  .eyebrow::before {
    display: block;
    margin-bottom: 0.65rem;
  }

  .lead,
  .copy {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .metrics,
  .service-grid,
  .portfolio-grid,
  .deposit-layout {
    grid-template-columns: 1fr;
  }

  .media-card {
    min-height: 245px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
