:root {
  --bg-main: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-card: #ffffff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --navy: #10233f;
  --accent: #c8a96b;
  --accent-soft: rgba(200, 169, 107, 0.16);
  --border: #e5e7eb;
  --button-bg: #10233f;
  --button-text: #ffffff;
  --button-hover: #c8a96b;
  --max: 1140px;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: Inter, Manrope, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

:focus-visible {
  outline: 3px solid rgba(200, 169, 107, 0.72);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

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

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  width: auto;
  max-width: 210px;
  max-height: 66px;
  object-fit: contain;
}

.brand-text {
  display: none;
}

.brand-title,
.brand-subtitle {
  display: block;
}

.brand-title {
  color: var(--navy);
  font-weight: 800;
  line-height: 1.1;
}

.brand-subtitle {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.site-nav,
.header-tools,
.language-switcher {
  display: flex;
  align-items: center;
}

.site-nav {
  gap: 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

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

.header-tools {
  gap: 12px;
}

.language-switcher {
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-soft);
}

.language-switcher span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.language-switcher button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 9px;
}

.language-switcher button.is-active {
  background: var(--navy);
  color: #ffffff;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
  padding: 11px 18px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button-primary {
  background: var(--button-bg);
  color: var(--button-text);
}

.button-primary:hover {
  background: var(--button-hover);
  color: var(--navy);
}

.button-secondary {
  border-color: var(--border);
  background: #ffffff;
  color: var(--navy);
}

.button-soft {
  min-height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  padding: 0 0 4px;
  border-bottom: 1px solid rgba(200, 169, 107, 0.65);
}

.button-soft::after {
  content: "->";
  color: var(--accent);
  margin-left: 2px;
  transition: transform 160ms ease;
}

.button-soft:hover {
  color: var(--accent);
  transform: none;
}

.button-soft:hover::after {
  transform: translateX(4px);
}

.header-tools .button-primary {
  min-height: 42px;
  border-color: rgba(16, 35, 63, 0.08);
  border-radius: 999px;
  background: #10233f;
  color: #ffffff;
  padding: 10px 20px;
  box-shadow: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #ffffff;
  color: var(--navy);
}

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

.section {
  padding: 90px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.hero {
  padding: 86px 0 104px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fcfaf7 100%
    );
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.94) 36%,
      rgba(255, 255, 255, 0.72) 56%,
      rgba(255, 255, 255, 0.2) 100%
    ),
    url("../images/hero-luxury-documents-bg.webp");
  background-repeat: no-repeat;
  background-size: 58% auto;
  background-position: right center;
  opacity: 0.92;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.hero-grid {
  grid-template-columns: minmax(0, 650px);
  min-height: 560px;
}

.hero-content {
  max-width: 620px;
  align-self: center;
}

.hero .eyebrow::after,
.page-hero .eyebrow::after,
.section-heading .eyebrow::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(90deg, #c8a96b, rgba(200, 169, 107, 0));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  color: var(--navy);
  margin: 0;
}

h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.18;
}

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

p {
  margin: 0;
}

.lead {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-top: 22px;
  max-width: 560px;
  line-height: 1.7;
}

.trust-line {
  margin-top: 34px;
  max-width: 560px;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.6;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #fbf7ef;
  border: 1px solid rgba(16, 35, 63, 0.08);
  box-shadow: 0 18px 40px rgba(16, 35, 63, 0.08);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-visual {
  display: none;
  aspect-ratio: 16 / 9;
  border: 0;
  box-shadow: none;
}

.content-visual,
.service-visual {
  aspect-ratio: 4 / 3;
}

.section-editorial {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(84px, 10vw, 128px) 0;
  background:
    radial-gradient(circle at 12% 42%, rgba(200, 169, 107, 0.12), transparent 34%),
    linear-gradient(90deg, #fbf8f2 0%, #ffffff 56%, #f7f8fa 100%);
}

.section-editorial::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(255, 255, 255, 0) 24%,
      rgba(255, 255, 255, 0) 76%,
      rgba(255, 255, 255, 0.8) 100%
    ),
    radial-gradient(circle at 8% 52%, rgba(16, 35, 63, 0.05), transparent 34%);
}

.editorial-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: clamp(46px, 8vw, 110px);
  align-items: center;
}

.section-editorial-image {
  position: relative;
  align-self: stretch;
  min-height: 520px;
  margin: 0;
  overflow: visible;
  transform: translateX(-5%);
}

.section-editorial-image::before,
.section-editorial-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.section-editorial-image::before {
  background: linear-gradient(
    180deg,
    rgba(251, 248, 242, 0.95) 0%,
    rgba(251, 248, 242, 0) 18%,
    rgba(251, 248, 242, 0) 82%,
    rgba(251, 248, 242, 0.95) 100%
  );
}

.section-editorial-image::after {
  background: linear-gradient(
    90deg,
    rgba(251, 248, 242, 0.04) 0%,
    rgba(255, 255, 255, 0.18) 68%,
    rgba(255, 255, 255, 0.92) 100%
  );
}

.section-editorial-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
  object-position: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 0.92;
  filter: saturate(0.96) contrast(0.98);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 68%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 68%, transparent 100%);
}

.section-editorial-copy {
  max-width: 520px;
  padding: 18px 0;
}

.section-editorial-copy .eyebrow {
  margin-bottom: 18px;
}

.section-editorial-copy .lead {
  max-width: 520px;
  margin-top: 26px;
}

.about-portrait {
  aspect-ratio: 4 / 5;
  max-width: 460px;
}

.about-grid {
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1fr);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading p {
  max-width: 520px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 18px;
  align-items: stretch;
}

.card {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.service-card {
  min-height: 300px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-icon-wrap {
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 76px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.service-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.service-card h3 {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.service-card p {
  max-width: 30rem;
  margin-right: auto;
  margin-left: auto;
}

.service-detail-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-detail-copy .service-icon-wrap {
  width: 70px;
  height: 70px;
  flex-basis: 70px;
  margin-bottom: 18px;
}

.service-detail-copy p {
  max-width: 620px;
}

.service-detail-copy ul {
  align-self: stretch;
  text-align: left;
}

.card p,
.service-detail p,
.article-card p,
.faq-panel,
.contact-card p {
  color: var(--text-muted);
  margin-top: 12px;
}

.trust-list,
.principles-list,
.category-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-editorial {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
  max-width: 1040px;
}

.trust-statement {
  position: sticky;
  top: 120px;
}

.trust-statement .kicker {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.trust-statement strong {
  display: block;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.9rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.trust-statement p {
  max-width: 330px;
  color: var(--text-muted);
  margin-top: 22px;
}

.trust-list {
  gap: 0;
  border-top: 1px solid rgba(16, 35, 63, 0.1);
  border-bottom: 1px solid rgba(16, 35, 63, 0.1);
}

.trust-list li {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 78px;
  border-bottom: 1px solid rgba(16, 35, 63, 0.08);
  color: var(--navy);
  font-weight: 800;
  padding: 20px 0;
}

.trust-list li:last-child {
  border-bottom: 0;
}

.trust-list li::before {
  content: "";
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  -webkit-mask: url("../images/icons/apostilla.svg") center / contain no-repeat;
  mask: url("../images/icons/apostilla.svg") center / contain no-repeat;
}

.principles-list {
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid rgba(16, 35, 63, 0.1);
  border-bottom: 1px solid rgba(16, 35, 63, 0.1);
}

.principles-list li {
  position: relative;
  min-height: 150px;
  border-right: 1px solid rgba(16, 35, 63, 0.08);
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 800;
  padding: 30px 22px 26px;
}

.principles-list li:last-child {
  border-right: 0;
}

.principles-list li::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--accent), var(--navy));
  -webkit-mask: url("../images/icons/residencia.svg") center / contain no-repeat;
  mask: url("../images/icons/residencia.svg") center / contain no-repeat;
}

.category-list li {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 800;
  padding: 12px 16px;
}

.news-preview,
.cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.58fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
  border-top: 1px solid rgba(16, 35, 63, 0.1);
  border-bottom: 1px solid rgba(16, 35, 63, 0.1);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at 92% 18%, rgba(200, 169, 107, 0.16), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #fbf8f2 100%);
  padding: clamp(36px, 5vw, 58px) 0;
}

.news-preview::before,
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.25)),
    url("../images/editorial-paper-atmosphere.webp") right center / 52% auto no-repeat;
  opacity: 0.26;
}

.news-preview > *,
.cta-band > * {
  position: relative;
  z-index: 1;
}

.editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 900;
  margin-top: 26px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(200, 169, 107, 0.65);
}

.editorial-link::after {
  content: "->";
  color: var(--accent);
  transition: transform 160ms ease;
}

.editorial-link:hover::after {
  transform: translateX(4px);
}

.mini-updates {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-updates li {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid rgba(16, 35, 63, 0.1);
  padding-bottom: 16px;
}

.mini-updates li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.mini-updates span {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-updates strong {
  color: var(--navy);
  font-size: 1.02rem;
  line-height: 1.35;
}

.cta-band {
  grid-template-columns: minmax(0, 660px) minmax(260px, 0.5fr);
  align-items: center;
}

.cta-note {
  color: var(--navy);
  font-weight: 800;
  line-height: 1.5;
}

.cta-note small {
  display: block;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 700;
  margin-top: 8px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 90px 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #fcfaf7 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.94) 34%,
      rgba(255, 255, 255, 0.72) 54%,
      rgba(255, 255, 255, 0.22) 100%
    ),
    url("../images/editorial-paper-atmosphere.webp");
  background-repeat: no-repeat;
  background-size: 56% auto;
  background-position: right center;
  opacity: 0.82;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: 0;
  height: 140px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fcfaf7);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .lead {
  max-width: 560px;
  line-height: 1.7;
}

.page-hero .image-frame {
  display: none;
}

.services-hero::before {
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.94) 34%,
      rgba(255, 255, 255, 0.72) 54%,
      rgba(255, 255, 255, 0.22) 100%
    ),
    url("../images/services-consultation-bg.webp");
  background-size: 52% auto;
  opacity: 0.88;
}

.news-hero::before {
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.94) 34%,
      rgba(255, 255, 255, 0.75) 56%,
      rgba(255, 255, 255, 0.28) 100%
    ),
    url("../images/news-legal-updates.png");
  background-size: 52% auto;
}

.faq-hero::before {
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.94) 34%,
      rgba(255, 255, 255, 0.75) 56%,
      rgba(255, 255, 255, 0.28) 100%
    ),
    url("../images/faq-support.png");
  background-size: 48% auto;
}

.contact-hero::before {
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.94) 34%,
      rgba(255, 255, 255, 0.72) 56%,
      rgba(255, 255, 255, 0.24) 100%
    ),
    url("../images/contact-whatsapp-consulta.png");
  background-size: 54% auto;
}

.service-stack {
  display: grid;
  gap: 18px;
}

.service-detail {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  min-height: 430px;
  border-top: 1px solid rgba(16, 35, 63, 0.1);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.76)),
    linear-gradient(180deg, #ffffff, #fbf8f2);
  padding: clamp(34px, 5vw, 58px) 0;
}

.service-detail::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at 16% 50%, rgba(200, 169, 107, 0.1), transparent 34%);
}

.service-detail > * {
  position: relative;
  z-index: 1;
}

.service-detail .image-frame {
  height: min(360px, 36vw);
  min-height: 300px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.service-detail .image-frame img {
  object-fit: cover;
  opacity: 0.78;
  filter: saturate(0.96) contrast(0.96);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 72%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 72%, transparent 100%);
}

.service-detail:nth-child(even) .image-frame {
  order: 2;
}

.service-detail ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-detail li {
  border-left: 1px solid rgba(200, 169, 107, 0.78);
  background: rgba(255, 255, 255, 0.64);
  color: var(--text-main);
  padding: 10px 12px;
}

.text-block {
  display: grid;
  gap: 18px;
}

.principles-list {
  grid-template-columns: repeat(5, 1fr);
}

.category-list {
  display: flex;
  flex-wrap: wrap;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.article-card {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #ffffff;
  padding: 26px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tag {
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 5px 10px;
}

.date {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 5px 0;
}

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

.notice {
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  color: var(--navy);
  font-weight: 700;
  margin-top: 28px;
  padding: 18px 20px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-weight: 800;
  padding: 20px 22px;
  text-align: left;
}

.faq-question::after {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--navy);
  content: "+";
  display: grid;
  place-items: center;
}

.faq-item.is-open .faq-question::after {
  content: "-";
}

.faq-panel {
  margin: 0;
  padding: 0 22px 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 28px;
  align-items: start;
}

.contact-card,
.contact-form {
  border: 1px solid rgba(16, 35, 63, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(16, 35, 63, 0.06);
  padding: 28px;
}

.contact-card dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.contact-card dt {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-card dd {
  color: var(--navy);
  font-weight: 800;
  margin: 3px 0 0;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row label {
  color: var(--navy);
  font-weight: 800;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(16, 35, 63, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--text-main);
  padding: 13px 14px;
}

.form-row textarea {
  min-height: 138px;
  resize: vertical;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: rgba(255, 255, 255, 0.68);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 30px 0 24px;
}

.site-footer strong {
  color: #ffffff;
  font-size: 1.12rem;
  line-height: 1.2;
}

.site-footer p {
  max-width: 520px;
  margin-top: 5px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-links {
  display: grid;
  gap: 6px;
  align-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  text-align: right;
}

.footer-links a {
  width: 32px;
  height: 32px;
  justify-self: end;
  overflow: hidden;
  color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.footer-links a::before {
  content: "^";
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 900;
}

@media (max-width: 980px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    display: none;
    width: min(320px, calc(100vw - 40px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #ffffff;
    padding: 8px;
    box-shadow: 0 18px 44px rgba(17, 24, 39, 0.12);
  }

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

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

  .hero-grid,
  .split-grid,
  .contact-grid,
  .trust-editorial,
  .news-preview,
  .cta-band,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 520px;
  }

  .page-hero {
    min-height: 480px;
    align-items: flex-start;
    padding-top: 118px;
  }

  .page-hero::before,
  .services-hero::before,
  .news-hero::before,
  .faq-hero::before,
  .contact-hero::before {
    background-image:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.99) 0%,
        rgba(255, 255, 255, 0.96) 46%,
        rgba(255, 255, 255, 0.9) 100%
      ),
      url("../images/editorial-paper-atmosphere.webp");
    background-size: cover;
    background-position: right top;
    opacity: 0.5;
  }

  .services-hero::before {
    background-image:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.99) 0%,
        rgba(255, 255, 255, 0.96) 46%,
        rgba(255, 255, 255, 0.9) 100%
      ),
      url("../images/services-consultation-bg.webp");
  }

  .trust-statement {
    position: static;
  }

  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .section-editorial-copy {
    order: 1;
    max-width: 640px;
  }

  .section-editorial-image {
    order: 2;
    min-height: 340px;
    transform: none;
  }

  .section-editorial-image img {
    min-height: 340px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 78%, transparent 100%);
  }

  .section-editorial-image::after {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.88) 100%
    );
  }

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

  .section-heading {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .principles-list li:nth-child(2n) {
    border-right: 0;
  }

  .service-detail:nth-child(even) .image-frame {
    order: 0;
  }
}

@media (max-width: 680px) {
  .header-inner,
  .container,
  .footer-inner {
    width: min(var(--max), calc(100% - 32px));
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-subtitle {
    max-width: 116px;
  }

  .header-tools .button {
    min-height: 40px;
    padding: 9px 14px;
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding: 54px 0 70px;
  }

  .hero::before {
    background-image:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.94) 45%,
        rgba(255, 255, 255, 0.84) 100%
      ),
      url("../images/hero-luxury-documents-bg.webp");
    background-size: cover;
    background-position: right top;
    opacity: 0.55;
  }

  .hero-grid {
    min-height: 500px;
  }

  .section-editorial {
    padding: 62px 0 70px;
  }

  .section-editorial-image,
  .section-editorial-image img {
    min-height: 300px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 24px;
  }

  .lead {
    font-size: 1rem;
  }

  .media-frame {
    min-height: 310px;
  }

  .card-grid,
  .trust-list,
  .principles-list,
  .articles-grid,
  .service-detail ul {
    grid-template-columns: 1fr;
  }

  .principles-list li {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 35, 63, 0.08);
  }

  .principles-list li:last-child {
    border-bottom: 0;
  }

  .card,
  .service-detail,
  .article-card,
  .contact-card,
  .contact-form,
  .contact-form {
    padding: 22px;
  }

  .news-preview,
  .cta-band {
    padding: 30px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    text-align: left;
  }
}
