:root {
  --bg: #080a0f;
  --bg-soft: #10141d;
  --ink: #f7f1e8;
  --muted: #a9a49d;
  --line: rgba(255, 255, 255, 0.13);
  --glass: rgba(255, 255, 255, 0.08);
  --gold: #d7b56d;
  --gold-strong: #f0cf82;
  --copper: #b66f45;
  --stone: #d8d1c4;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(215, 181, 109, 0.16), transparent 26rem),
    radial-gradient(circle at 88% 18%, rgba(182, 111, 69, 0.13), transparent 28rem),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: #050609;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215, 181, 109, 0.45);
  border-radius: 50%;
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  animation: pulse 1.35s ease-in-out infinite;
}

.loader-line {
  position: absolute;
  bottom: 18%;
  width: min(220px, 44vw);
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.loader-line::after {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  background: var(--gold);
  animation: loadLine 1.2s ease-in-out infinite;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px clamp(16px, 4vw, 44px);
}

.navbar {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 68px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 10, 15, 0.58);
  backdrop-filter: blur(22px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.brand-symbol {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0b0c10;
  background: linear-gradient(135deg, var(--gold), #fff0bd);
  font-family: "Playfair Display", serif;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(247, 241, 232, 0.78);
  font-size: 0.92rem;
}

.nav-links a {
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--gold-strong);
}

.nav-cta {
  padding: 12px 18px;
  border: 1px solid rgba(215, 181, 109, 0.36);
  border-radius: 999px;
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.25s ease;
}

.section {
  padding: clamp(88px, 10vw, 150px) clamp(18px, 5vw, 64px);
}

.section-dark {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 140px clamp(18px, 5vw, 64px) 42px;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: cinematic 16s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 6, 9, 0.93) 0%, rgba(5, 6, 9, 0.54) 50%, rgba(5, 6, 9, 0.78) 100%),
    linear-gradient(0deg, #080a0f 0%, rgba(8, 10, 15, 0.1) 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin-left: max(0px, calc((100vw - var(--max)) / 2));
  padding-bottom: 110px;
}

.hero-content h1 {
  max-width: 820px;
  font-size: 4rem;
  line-height: 1.04;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

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

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 0.98;
}

h1 {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: clamp(3.4rem, 8.5vw, 8.8rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5vw, 5.2rem);
}

h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}

.hero p,
.section-copy p,
.section-head p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
  color: #0b0c10;
  background: linear-gradient(135deg, var(--gold), #fff0bd);
  box-shadow: 0 16px 40px rgba(215, 181, 109, 0.23);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.glass {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,0.105), rgba(255,255,255,0.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.hero-panel {
  position: absolute;
  z-index: 2;
  right: max(22px, calc((100vw - var(--max)) / 2));
  bottom: 210px;
  width: min(330px, 32vw);
  padding: 26px;
  border-radius: var(--radius);
}

.panel-kicker {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-panel strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-strong);
  font-size: 2.1rem;
}

.hero-panel span {
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-stats {
  position: relative;
  z-index: 2;
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.hero-stats div {
  padding: 28px 26px;
  border-right: 1px solid var(--line);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong {
  display: block;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
}

.hero-stats span {
  color: var(--muted);
}

.hero-trust div {
  display: grid;
  gap: 8px;
}

.hero-trust .trust-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215, 181, 109, 0.38);
  border-radius: 50%;
  color: var(--gold-strong);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-trust strong {
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.section-grid,
.contact-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.section-head {
  width: min(var(--max), 100%);
  margin: 0 auto 54px;
}

.check-list,
.package-card ul {
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  color: var(--stone);
}

.check-list li,
.package-card li {
  position: relative;
  margin-top: 12px;
  padding-left: 24px;
}

.check-list li::before,
.package-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.about-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.about-card img {
  width: 100%;
  height: min(620px, 64vw);
  min-height: 420px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: 260px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  background: rgba(8, 10, 15, 0.62);
  backdrop-filter: blur(18px);
}

.about-badge strong {
  display: block;
  color: var(--gold-strong);
  font-size: 1.4rem;
}

.card-grid,
.included-grid,
.package-grid,
.testimonial-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

.included-grid {
  grid-template-columns: repeat(3, 1fr);
}

.benefit-card,
.included-card,
.value-card {
  min-height: 230px;
  padding: 28px;
  border-radius: var(--radius);
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.benefit-card:hover,
.included-card:hover,
.value-card:hover {
  transform: translateY(-8px);
  border-color: rgba(215, 181, 109, 0.38);
}

.mini-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border: 1px solid rgba(215, 181, 109, 0.38);
  border-radius: 50%;
  color: var(--gold-strong);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  font-weight: 800;
}

.benefit-card p,
.value-card p {
  color: var(--muted);
}

.included-card {
  min-height: 120px;
  display: flex;
  align-items: center;
  color: var(--stone);
  font-size: 1.05rem;
  font-weight: 800;
}

.included-card::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  margin-right: 14px;
  border-radius: 50%;
  background: var(--gold);
}

.package-card {
  position: relative;
  min-height: 470px;
  padding: 32px;
  border-radius: var(--radius);
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.package-card:hover {
  transform: translateY(-10px);
  border-color: rgba(215, 181, 109, 0.42);
}

.package-card span {
  color: var(--gold-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.package-card h3 {
  margin: 26px 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.package-card p {
  color: var(--muted);
}

.featured {
  background:
    linear-gradient(145deg, rgba(215,181,109,0.2), rgba(255,255,255,0.06)),
    rgba(255,255,255,0.08);
}

.tag {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #101010;
  background: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
}

.card-link {
  position: absolute;
  left: 32px;
  bottom: 30px;
  color: var(--gold-strong);
  font-weight: 800;
}

.pricing-note {
  width: min(var(--max), 100%);
  margin: 24px auto 0;
  color: rgba(247, 241, 232, 0.62);
  font-size: 0.92rem;
}

.section-actions {
  width: min(var(--max), 100%);
  margin: 34px auto 0;
  display: flex;
  justify-content: center;
}

.mortgage-shell,
.calculator-card {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  border-radius: calc(var(--radius) + 8px);
  display: grid;
  grid-template-columns: 1fr 0.9fr auto;
  gap: 32px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(215,181,109,0.15), rgba(255,255,255,0.045)),
    rgba(255,255,255,0.055);
}

.mortgage-shell p {
  color: var(--muted);
  margin-bottom: 0;
}

.mortgage-copy {
  display: grid;
  gap: 16px;
}

.small-note {
  color: rgba(247, 241, 232, 0.62) !important;
  font-size: 0.9rem !important;
}

.gallery-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  grid-auto-rows: 310px;
  gap: 22px;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(8, 10, 15, 0.62);
  backdrop-filter: blur(14px);
}

.ba-slider {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
}

.ba-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-img,
.ba-before {
  position: absolute;
  inset: 0;
}

.ba-before {
  width: 50%;
  overflow: hidden;
  border-right: 2px solid var(--gold);
}

.ba-before img {
  width: 100%;
  min-width: 100%;
  filter: saturate(0.76) contrast(0.94);
}

.ba-slider input {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.ba-slider::after {
  content: "";
  position: absolute;
  left: var(--pos, 50%);
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  background: rgba(8, 10, 15, 0.68);
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.ba-label {
  position: absolute;
  z-index: 2;
  top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(8,10,15,0.62);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 800;
}

.ba-label.before {
  left: 18px;
}

.ba-label.after {
  right: 18px;
}

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

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

.calc-form label {
  color: var(--stone);
  font-weight: 700;
}

.input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.input-wrap span {
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  outline: none;
  padding: 15px 16px;
  color: var(--ink);
  background: rgba(255,255,255,0.065);
  transition: border-color 0.25s ease, background 0.25s ease;
}

select {
  appearance: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(215,181,109,0.7);
  background: rgba(255,255,255,0.09);
}

.calc-result {
  margin-top: 12px;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(215,181,109,0.18), rgba(255,255,255,0.07));
}

.calc-result span {
  display: block;
  color: var(--muted);
}

.calc-result strong {
  display: block;
  margin-top: 4px;
  color: var(--gold-strong);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.timeline {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  min-height: 270px;
  padding: 26px;
  border-top: 1px solid var(--line);
}

.step span {
  color: var(--gold-strong);
  font-family: "Playfair Display", serif;
  font-size: 3rem;
}

.step p,
blockquote p {
  color: var(--muted);
}

blockquote {
  margin: 0;
  min-height: 260px;
  padding: 30px;
  border-radius: var(--radius);
}

blockquote p {
  font-size: 1.02rem;
}

cite {
  display: block;
  margin-top: 24px;
  color: var(--gold-strong);
  font-style: normal;
  font-weight: 800;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  color: var(--stone);
  font-size: 1.1rem;
}

.contact-details a {
  width: fit-content;
  color: var(--gold-strong);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--stone);
  font-weight: 700;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.checkbox-label {
  display: flex !important;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 12px !important;
  color: var(--muted) !important;
  font-size: 0.92rem;
  font-weight: 500 !important;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--gold);
}

.checkbox-label a {
  color: var(--gold-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.form-note {
  margin: 0;
  color: rgba(247, 241, 232, 0.62);
  font-size: 0.84rem;
  line-height: 1.6;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-status.is-success {
  color: #b8ffd5;
}

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

.field-error {
  border-color: rgba(255, 100, 80, 0.85) !important;
  background: rgba(255, 100, 80, 0.08) !important;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.74;
}

.footer {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 40px 0 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--gold-strong);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
}

.subpage-main {
  min-height: 100vh;
}

.subpage-hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: flex-end;
  padding: 170px clamp(18px, 5vw, 64px) 90px;
  overflow: hidden;
}

.subpage-hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.subpage-hero h1 {
  max-width: 980px;
  font-size: 5.4rem;
}

.subpage-hero p {
  max-width: 720px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 1.12rem;
}

.portfolio-hero {
  min-height: 82vh;
}

.portfolio-hero .hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 6, 9, 0.92) 0%, rgba(5, 6, 9, 0.44) 60%, rgba(5, 6, 9, 0.72) 100%),
    linear-gradient(0deg, #080a0f 0%, rgba(8, 10, 15, 0.04) 55%);
}

.portfolio-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.portfolio-item {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.portfolio-item-wide {
  grid-column: 1 / -1;
  min-height: 620px;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item:hover img {
  transform: scale(1.035);
}

.portfolio-item::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(0deg, rgba(5, 6, 9, 0.9), transparent);
  pointer-events: none;
}

.portfolio-item figcaption {
  position: absolute;
  z-index: 1;
  left: 28px;
  right: 28px;
  bottom: 26px;
  display: grid;
  gap: 3px;
}

.portfolio-item figcaption strong {
  color: var(--ink);
  font-size: 1.18rem;
}

.portfolio-item figcaption span {
  color: var(--stone);
  font-size: 0.92rem;
}

.subpage-cta {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 48px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 42px;
}

.subpage-cta h2 {
  max-width: 760px;
  margin-top: 14px;
  font-size: 3.7rem;
}

.subpage-cta p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
}

.legal-section {
  padding: 100px clamp(18px, 5vw, 64px) 140px;
}

.legal-layout {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
  gap: 72px;
}

.legal-nav {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 12px;
  padding: 26px;
  border-radius: var(--radius);
}

.legal-nav strong {
  margin-bottom: 6px;
  color: var(--ink);
}

.legal-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.25s ease;
}

.legal-nav a:hover {
  color: var(--gold-strong);
}

.legal-content {
  min-width: 0;
}

.legal-content section {
  padding: 0 0 50px;
  margin-bottom: 50px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 120px;
}

.legal-content section:last-child {
  margin-bottom: 0;
}

.legal-content h2 {
  margin-bottom: 24px;
  font-size: 2.4rem;
  line-height: 1.08;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content a {
  color: var(--gold-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #06120b;
  background: linear-gradient(135deg, #31d87c, #b8ffd5);
  box-shadow: 0 16px 36px rgba(49, 216, 124, 0.25);
  font-weight: 900;
  transition: transform 0.25s ease;
}

.whatsapp:hover {
  transform: translateY(-4px) scale(1.04);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 44px rgba(215, 181, 109, 0.2);
  }
}

@keyframes loadLine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(250%);
  }
}

@keyframes cinematic {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

@media (max-width: 1080px) {
  .hero-panel {
    display: none;
  }

  .mortgage-shell {
    grid-template-columns: 1fr;
  }

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

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
    z-index: 3;
  }

  .menu-open .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-open .menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    inset: 92px 18px auto;
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(8, 10, 15, 0.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: 940px;
    padding-top: 126px;
  }

  .hero-content {
    padding-bottom: 34px;
  }

  .hero-content h1 {
    font-size: 3.3rem;
  }

  .hero-stats,
  .section-grid,
  .contact-grid,
  .calculator-card {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .card-grid,
  .included-grid,
  .package-grid,
  .testimonial-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-item.large {
    grid-row: span 1;
  }

  .gallery-grid {
    grid-auto-rows: 360px;
  }

  .ba-slider {
    min-height: 430px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .subpage-hero h1 {
    font-size: 4.2rem;
  }

  .portfolio-grid,
  .legal-layout,
  .subpage-cta {
    grid-template-columns: 1fr;
  }

  .portfolio-item-wide {
    grid-column: auto;
  }

  .legal-nav {
    position: static;
  }

  .subpage-cta {
    align-items: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px;
  }

  .navbar {
    min-height: 60px;
    padding: 0 10px 0 14px;
  }

  .brand {
    font-size: 0.88rem;
  }

  .brand-symbol {
    width: 34px;
    height: 34px;
  }

  .hero {
    min-height: 890px;
  }

  .hero-content h1 {
    font-size: 2.05rem;
    line-height: 1.1;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  .subpage-hero {
    min-height: 620px;
    padding-top: 140px;
    padding-bottom: 70px;
  }

  .subpage-hero h1 {
    font-size: 3.25rem;
  }

  .portfolio-item,
  .portfolio-item-wide {
    min-height: 390px;
  }

  .subpage-cta {
    padding: 28px;
  }

  .subpage-cta h2 {
    font-size: 2.55rem;
  }

  .legal-content h2 {
    font-size: 2rem;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .package-card,
  .contact-form {
    padding: 24px;
  }

  .tag {
    position: static;
    width: fit-content;
    margin-bottom: 18px;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 300px;
  }

  .ba-slider {
    min-height: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
