/* ==========================================================================
   Moliani da Rocha Advocacia — Design System
   ========================================================================== */

:root {
  /* Brand palette (extracted from the firm's real identity) */
  --bordeaux: #5b131f;
  --bordeaux-2: #7a2233;
  --bordeaux-dark: #3a0c14;
  --bordeaux-soft: #f4e7e6;
  --gold: #a2672d;
  --gold-light: #c9975b;
  --cream: #fff8f1;
  --cream-2: #f5e9dd;
  --ink: #241a16;
  --ink-soft: #5c534d;
  --ink-faint: #8a8078;
  --white: #ffffff;
  --line: rgba(36, 26, 22, 0.12);
  --line-strong: rgba(36, 26, 22, 0.22);

  /* Typography */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-label: "Jost", "Century Gothic", "Avenir Next", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Radii */
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 36px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 8px 24px -12px rgba(36, 26, 22, 0.28);
  --shadow-md: 0 24px 48px -20px rgba(36, 26, 22, 0.32);
  --shadow-lg: 0 40px 80px -30px rgba(36, 26, 22, 0.4);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.25s;
  --dur-med: 0.6s;
  --dur-slow: 1s;

  --header-h: 84px;
}

/* ==========================================================================
   Reset
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

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

::selection {
  background: var(--bordeaux);
  color: var(--cream);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bordeaux);
  color: var(--cream);
  padding: 14px 22px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 9999;
  font-family: var(--font-label);
  letter-spacing: 0.06em;
}

.skip-link:focus {
  left: 0;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 24px;
}

section {
  position: relative;
}

section[id] {
  scroll-margin-top: var(--header-h);
}

.section-pad {
  padding-top: clamp(48px, 6vw, 90px);
  padding-bottom: clamp(64px, 10vw, 140px);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.bg-cream-2 {
  background: var(--cream-2);
}

.bg-bordeaux {
  background: var(--bordeaux);
  color: var(--cream);
}

/* ==========================================================================
   Typography
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--bordeaux);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--gold);
  display: inline-block;
}

.on-dark .eyebrow,
.bg-bordeaux .eyebrow {
  color: var(--gold-light);
}

h1,
.h1 {
  font-family: var(--font-display);
  font-weight: 480;
  font-size: clamp(2.4rem, 2.1rem + 2.4vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 em,
h2 em,
h3 em {
  font-style: italic;
  color: var(--bordeaux);
  font-weight: 480;
}

.on-dark h1 em {
  color: var(--gold-light);
}

h2,
.h2 {
  font-family: var(--font-display);
  font-weight: 480;
  font-size: clamp(1.9rem, 1.6rem + 1.6vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h3,
.h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.65rem);
  line-height: 1.3;
  color: var(--ink);
}

.body-lg {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.65;
  color: var(--ink-soft);
}

p {
  color: var(--ink-soft);
}

.on-dark,
.on-dark p,
.bg-bordeaux p {
  color: rgba(255, 248, 241, 0.86);
}

.on-dark h1,
.on-dark h2,
.on-dark h3,
.bg-bordeaux h1,
.bg-bordeaux h2,
.bg-bordeaux h3 {
  color: var(--cream);
}

/* ==========================================================================
   Buttons — pill-shaped, never square
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: 0.86rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 17px 34px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  text-align: center;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease);
  will-change: transform;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--bordeaux);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--bordeaux-2);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--bordeaux);
  color: var(--bordeaux);
}

.on-dark .btn-outline {
  color: var(--cream);
  border-color: rgba(255, 248, 241, 0.4);
}

.on-dark .btn-outline:hover {
  border-color: var(--cream);
}

.btn-light {
  background: var(--cream);
  color: var(--bordeaux);
}

.btn-light:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 12px 26px;
  font-size: 0.76rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bordeaux);
  font-weight: 500;
  transition: gap var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur-fast) var(--ease);
}

.link-arrow:hover {
  gap: 13px;
  color: var(--gold);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 500;
  display: flex;
  align-items: center;
  transition: background var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease),
    height var(--dur-med) var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(36, 20, 16, 0.55), rgba(36, 20, 16, 0));
  opacity: 1;
  transition: opacity var(--dur-med) var(--ease);
  z-index: -1;
}

.site-header.is-solid {
  height: 74px;
  background: rgba(255, 248, 241, 0.9);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-solid::before {
  opacity: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bordeaux);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 480;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  color: var(--cream);
  transition: color var(--dur-med) var(--ease);
}

.is-solid .brand-text {
  color: var(--ink);
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.brand-text em {
  font-style: normal;
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 2px;
}

.is-solid .brand-text em {
  color: var(--gold);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
}

.main-nav a {
  font-family: var(--font-label);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream);
  padding: 8px 2px;
  position: relative;
  transition: color var(--dur-fast) var(--ease);
}

.is-solid .main-nav a {
  color: var(--ink);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--gold);
  transition: right var(--dur-med) var(--ease);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  right: 0;
}

.header-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.nav-toggle span {
  width: 20px;
  height: 1.5px;
  background: var(--cream);
  margin-inline: auto;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease);
}

.is-solid .nav-toggle span {
  background: var(--ink);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bordeaux);
  z-index: 490;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  transform: translateY(-100%);
  transition: transform var(--dur-med) var(--ease);
}

.mobile-nav.is-open {
  transform: translateY(0);
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--cream);
}

.mobile-nav .btn {
  margin-top: 10px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bordeaux-dark);
}

.hero-media {
  position: absolute;
  inset: -8% 0 -8% 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 20%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(36, 12, 18, 0.92) 8%, rgba(58, 12, 20, 0.62) 42%, rgba(58, 12, 20, 0.18) 68%),
    linear-gradient(to top, rgba(20, 6, 10, 0.85) 0%, rgba(20, 6, 10, 0.1) 46%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 760px;
  padding-bottom: clamp(70px, 11vw, 130px);
  padding-top: calc(var(--header-h) + 40px);
}

.hero-content .eyebrow {
  color: var(--gold-light);
}

.hero-content h1 {
  color: var(--cream);
}

.hero-content h1 em {
  color: var(--gold-light);
}

.hero-content .body-lg {
  color: rgba(255, 248, 241, 0.82);
  max-width: 560px;
  margin-top: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 40px;
}

.scroll-cue {
  position: absolute;
  right: clamp(24px, 4vw, 64px);
  bottom: 40px;
  z-index: 2;
  width: 30px;
  height: 48px;
  border: 1.5px solid rgba(255, 248, 241, 0.55);
  border-radius: var(--radius-pill);
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-cue span {
  width: 4px;
  height: 8px;
  border-radius: 3px;
  background: var(--gold-light);
  animation: scrollCue 1.8s ease-in-out infinite;
}

@keyframes scrollCue {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(14px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

/* ==========================================================================
   Trust bar
   ========================================================================== */

.trust-bar {
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-block: 44px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-item svg {
  width: 30px;
  height: 30px;
  color: var(--bordeaux);
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.25;
}

.trust-item span {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-top: 2px;
}

/* ==========================================================================
   About
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.about-media {
  position: relative;
  align-self: start;
}

.about-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

.about-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 248, 241, 0.25);
}

.about-badge {
  position: absolute;
  left: -18px;
  bottom: -22px;
  background: var(--cream);
  color: var(--bordeaux);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
  text-align: center;
  line-height: 1.1;
}

.about-badge strong {
  display: block;
  font-size: 1.7rem;
}

.about-badge span {
  display: block;
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 4px;
}

.about-content p + p {
  margin-top: 20px;
}

.about-content h2 {
  margin-bottom: 26px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
  margin-bottom: 40px;
}

.about-values li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-label);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 16px 18px;
  background: var(--cream-2);
  border-radius: var(--radius-sm);
}

.about-values svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-family: var(--font-label);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ==========================================================================
   Services / Áreas de atuação
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  border: 1px solid var(--line);
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease),
    border-color var(--dur-med) var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--bordeaux-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  transition: background var(--dur-med) var(--ease);
}

.service-card:hover .service-icon {
  background: var(--bordeaux);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--bordeaux);
  transition: color var(--dur-med) var(--ease);
}

.service-card:hover .service-icon svg {
  color: var(--cream);
}

.service-card h3 {
  margin-bottom: 14px;
}

.service-card > p {
  margin-bottom: 22px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.service-tags li {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  background: var(--cream-2);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
}

.service-card .link-arrow {
  margin-top: auto;
}

/* ==========================================================================
   Process / Como funciona
   ========================================================================== */

.process-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.process-steps {
  margin-top: 44px;
  position: relative;
}

.process-steps li {
  display: flex;
  gap: 26px;
  padding-bottom: 44px;
  position: relative;
}

.process-steps li:last-child {
  padding-bottom: 0;
}

.process-steps li::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 58px;
  bottom: 6px;
  width: 1px;
  background: var(--line-strong);
}

.process-steps li:last-child::before {
  display: none;
}

.step-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--bordeaux);
  color: var(--bordeaux);
  font-family: var(--font-display);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  position: relative;
  z-index: 1;
}

.process-steps h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.process-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.process-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.process-media-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  background: rgba(255, 248, 241, 0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--bordeaux);
  font-size: 0.95rem;
}

/* ==========================================================================
   Quote break (full-bleed image + pull quote)
   ========================================================================== */

.quote-break {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.quote-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.quote-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 1.6s var(--ease);
}

.quote-break.is-visible .quote-media img {
  transform: scale(1);
}

.quote-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 10, 14, 0.72), rgba(30, 10, 14, 0.82));
  z-index: 1;
}

.quote-break .container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.quote-break blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.9rem);
  line-height: 1.3;
  color: var(--cream);
}

.quote-break .quote-attr {
  margin-top: 28px;
  font-family: var(--font-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold-light);
}

/* ==========================================================================
   Blog preview
   ========================================================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-card-media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.06);
}

.blog-card-body {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.badge {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bordeaux);
  background: var(--bordeaux-soft);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  margin-bottom: 16px;
}

.blog-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.blog-card-body p {
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.blog-meta {
  display: flex;
  gap: 14px;
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.blog-card .link-arrow {
  margin-top: auto;
}

.blog-more {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 6vw, 90px);
}

.faq-head p.body-lg {
  margin-top: 18px;
}

.faq-head a {
  color: var(--bordeaux);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  padding: 26px 4px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
}

.faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  position: relative;
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--bordeaux);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}

.faq-icon::before {
  width: 10px;
  height: 1.5px;
}

.faq-icon::after {
  width: 1.5px;
  height: 10px;
}

.faq-question[aria-expanded="true"] .faq-icon {
  border-color: var(--bordeaux);
  transform: rotate(180deg);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  opacity: 0;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-med) var(--ease);
}

.faq-answer > div {
  overflow: hidden;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer p {
  padding: 0 4px 26px;
  max-width: 62ch;
}

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta-banner {
  background: var(--bordeaux);
  background-image: radial-gradient(circle at 15% 20%, rgba(255, 248, 241, 0.08), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255, 248, 241, 0.06), transparent 45%);
  text-align: center;
  padding-block: clamp(70px, 10vw, 130px);
}

.cta-banner h2 {
  color: var(--cream);
  max-width: 780px;
  margin-inline: auto;
}

.cta-banner p {
  color: rgba(255, 248, 241, 0.78);
  max-width: 560px;
  margin: 22px auto 40px;
  font-size: 1.1rem;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 90px);
}

.contact-list {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-list .icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--bordeaux);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-list .icon-circle svg {
  width: 20px;
  height: 20px;
}

.contact-list strong {
  display: block;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 4px;
}

.contact-list a {
  transition: color var(--dur-fast) var(--ease);
}

.contact-list a:hover {
  color: var(--bordeaux);
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}

.social-row a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.social-row svg {
  width: 18px;
  height: 18px;
}

.social-row a:hover {
  background: var(--bordeaux);
  border-color: var(--bordeaux);
  color: var(--cream);
  transform: translateY(-3px);
}

.map-embed {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  filter: grayscale(0.35) contrast(1.05);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 48px);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.field input,
.field select,
.field textarea {
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  background: var(--cream);
  transition: border-color var(--dur-fast) var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--bordeaux);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-hidden {
  position: absolute;
  left: -9999px;
}

.form-note {
  font-size: 0.78rem;
  color: var(--ink-faint);
}

.form-status {
  font-family: var(--font-label);
  font-size: 0.85rem;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  background: #eaf3ea;
  color: #2f5d33;
}

.form-status.error {
  background: #fbeaea;
  color: #8a2c2c;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: rgba(255, 248, 241, 0.72);
  padding-top: clamp(60px, 8vw, 100px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 248, 241, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand .brand-text strong {
  color: var(--cream);
}

.footer-about p {
  color: rgba(255, 248, 241, 0.62);
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-label);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-col a {
  color: rgba(255, 248, 241, 0.72);
  transition: color var(--dur-fast) var(--ease);
  font-size: 0.94rem;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-col .social-row {
  margin-top: 22px;
}

.footer-col .social-row a {
  border-color: rgba(255, 248, 241, 0.2);
  color: rgba(255, 248, 241, 0.8);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  padding-block: 26px;
  font-size: 0.8rem;
  color: rgba(255, 248, 241, 0.5);
}

.footer-bottom a {
  color: rgba(255, 248, 241, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Back to top
   ========================================================================== */

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bordeaux);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 400;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease),
    visibility var(--dur-fast);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal-group].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-group].is-visible > *:nth-child(1) { transition-delay: 0s; }
[data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 0.1s; }
[data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 0.2s; }
[data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 0.3s; }
[data-reveal-group].is-visible > *:nth-child(5) { transition-delay: 0.4s; }
[data-reveal-group].is-visible > *:nth-child(6) { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-reveal],
  [data-reveal-group] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .quote-media img {
    transform: none !important;
  }
  .btn,
  .service-card,
  .blog-card {
    transition: none;
  }
}

/* ==========================================================================
   Page hero (inner pages: blog, privacy, 404)
   ========================================================================== */

.page-hero {
  padding-top: calc(var(--header-h) + 70px);
  padding-bottom: 60px;
  background: var(--cream-2);
  text-align: center;
}

.page-hero .container {
  max-width: 780px;
}

.page-hero p.body-lg {
  margin-top: 20px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--bordeaux);
}

/* Blog index */

.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 50px;
}

.blog-filter button {
  font-family: var(--font-label);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-strong);
  color: var(--ink-soft);
  transition: all var(--dur-fast) var(--ease);
}

.blog-filter button.is-active,
.blog-filter button:hover {
  background: var(--bordeaux);
  border-color: var(--bordeaux);
  color: var(--cream);
}

.blog-card.is-hidden {
  display: none;
}

.blog-card-media.placeholder {
  background: linear-gradient(135deg, var(--bordeaux-soft), var(--cream-2));
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-media.placeholder svg {
  width: 40px;
  height: 40px;
  color: var(--bordeaux);
  opacity: 0.5;
}

/* Simple content pages (privacy / 404) */

.prose {
  max-width: 760px;
  margin-inline: auto;
  padding-block: clamp(50px, 6vw, 90px);
}

.prose h2 {
  margin-top: 44px;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin-bottom: 16px;
}

.prose ul {
  margin-bottom: 16px;
  padding-left: 22px;
  list-style: disc;
}

.prose li {
  margin-bottom: 8px;
  color: var(--ink-soft);
}

/* ==========================================================================
   Article (blog post) page
   ========================================================================== */

.article-hero {
  padding-top: calc(var(--header-h) + 50px);
  padding-bottom: 50px;
  background: var(--cream-2);
}

.article-hero .container {
  max-width: 800px;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 24px;
  font-family: var(--font-label);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--ink-faint);
}

.article-meta-row strong {
  color: var(--ink);
  font-weight: 500;
}

.article-meta-row .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink-faint);
  display: inline-block;
}

.article-cover {
  max-width: 980px;
  margin: 0 auto;
  padding-inline: 24px;
  margin-top: -10px;
}

.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.article-body {
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) 24px;
}

.article-body h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem);
  color: var(--ink);
  margin-top: 48px;
  margin-bottom: 18px;
  line-height: 1.3;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.article-body a {
  color: var(--bordeaux);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-disclaimer {
  max-width: 720px;
  margin: 8px auto 0;
  padding: 0 24px;
}

.article-disclaimer p {
  font-size: 0.86rem;
  color: var(--ink-faint);
  font-style: italic;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.article-author-box {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 28px 24px;
  margin-inline: auto;
  background: var(--cream-2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 18px;
}

.article-author-box .brand-mark {
  width: 54px;
  height: 54px;
  font-size: 1.4rem;
}

.article-author-box p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}

.article-author-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.related-articles {
  background: var(--cream-2);
}

.not-found {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--cream);
  padding: 24px;
}

.not-found .eyebrow {
  justify-content: center;
}

.not-found h1 {
  font-size: clamp(3rem, 4vw + 1rem, 6rem);
  color: var(--bordeaux);
}

.not-found p {
  margin: 20px auto 36px;
  max-width: 480px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .services-grid,
  .blog-grid,
  .blog-index-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .process-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-media {
    max-width: 420px;
    margin-inline: auto;
  }

  .process-media {
    order: -1;
    max-width: 480px;
    margin-inline: auto;
    width: 100%;
  }

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

@media (max-width: 860px) {
  .main-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

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

  .about-values {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  :root {
    --header-h: 72px;
  }

  .services-grid,
  .blog-grid,
  .blog-index-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .scroll-cue {
    display: none;
  }

  .about-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
  }

  .quote-break blockquote {
    padding-inline: 6px;
  }

  .brand-text em {
    display: none;
  }
}
