:root {
  --black: #111312;
  --ink: #1b1d1c;
  --muted: #68706f;
  --paper: #ffffff;
  --soft: #f3f1ec;
  --gold: #c2a15d;
  --gold-dark: #8d6e34;
  --green: #1f3c32;
  --line: rgba(17,19,18,.12);
  --shadow: 0 24px 70px rgba(17,19,18,.14);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

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

button,
a {
  transition: transform .22s ease, color .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(194,161,93,.48);
  outline-offset: 4px;
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  color: #fff;
}

.topbar {
  border-bottom: 1px solid rgba(255,255,255,.15);
  background: rgba(17,19,18,.18);
  backdrop-filter: blur(12px);
}

.topbar__inner,
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar__inner {
  min-height: 46px;
  font-size: 14px;
  color: rgba(255,255,255,.78);
}

.topbar nav,
.menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.topbar a,
.menu a {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav {
  min-height: 132px;
}

.brand img {
  width: 148px;
  height: auto;
}

.menu a {
  color: rgba(255,255,255,.92);
}

.menu a:hover {
  color: var(--gold);
}

.menu-button {
  display: none;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 8px;
  background: rgba(0,0,0,.2);
}

.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 940px;
  overflow: hidden;
  background: var(--black);
  color: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,13,12,.84) 0%, rgba(11,13,12,.54) 42%, rgba(11,13,12,.2) 100%),
    url("https://assessoriarossatti.com/wp-content/uploads/2025/01/r4.jpg") center / cover no-repeat;
  transform: scale(1.01);
  animation: subtleZoom 18s ease-in-out infinite alternate;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 760px) 280px;
  gap: 60px;
  align-items: end;
  min-height: 940px;
  padding: 230px 0 96px;
}

.hero__panel {
  padding: 38px;
  background: rgba(12,14,13,.82);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
  backdrop-filter: blur(14px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-style: italic;
}

.hero h1,
.intro-copy h2,
.journey-copy h2,
.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 680px;
  color: #fff;
  font-size: clamp(46px, 6vw, 82px);
  line-height: .98;
}

.hero__lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.button--ghost {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.3);
}

.button--dark {
  background: var(--black);
  border-color: var(--black);
}

.hero__facts {
  display: grid;
  gap: 12px;
}

.hero__facts div {
  padding: 22px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(12px);
}

.hero__facts strong {
  display: block;
  color: #fff;
  font-size: 30px;
}

.hero__facts span {
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: 105px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 72px;
  align-items: center;
}

.intro-copy h2,
.journey-copy h2,
.section-heading h2 {
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.04;
}

.intro-copy p:not(.eyebrow),
.journey-copy p {
  color: var(--muted);
  font-size: 18px;
}

.lawyer-card {
  margin: 0;
  background: var(--black);
  color: #fff;
  box-shadow: var(--shadow);
}

.lawyer-card img {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
  object-position: top center;
}

.lawyer-card figcaption {
  padding: 24px;
}

.lawyer-card strong {
  display: block;
  color: #fff;
  font-size: 25px;
}

.lawyer-card span {
  color: rgba(255,255,255,.78);
}

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

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  color: #fff;
  background: #222;
}

.service-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.86));
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-card:hover img {
  transform: scale(1.08);
}

.service-card span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
}

.service-card h3 {
  margin: 8px 0 10px;
  color: #fff;
  font-size: 24px;
  line-height: 1.15;
}

.service-card p {
  margin: 0;
  color: rgba(255,255,255,.76);
}

.journey-section {
  background:
    linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.76)),
    url("https://assessoriarossatti.com/wp-content/uploads/2016/02/breadcrumb-bg-3.jpg") right center / cover no-repeat;
}

.journey-grid {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}

.journey-media {
  position: relative;
  padding: 18px 54px 58px 18px;
}

.journey-media img:first-child {
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border: 9px solid #fff;
  box-shadow: var(--shadow);
}

.journey-media img:last-child {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  border: 9px solid #fff;
  box-shadow: var(--shadow);
}

blockquote {
  margin: 30px 0 0;
  padding: 26px;
  background: var(--black);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-style: italic;
  line-height: 1.18;
}

.blog-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 42px;
  align-items: start;
}

.blog-cards {
  display: grid;
  gap: 18px;
}

.blog-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.blog-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.blog-card span {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-card h3 {
  margin: 6px 0 0;
  font-size: 24px;
  line-height: 1.18;
}

.contact-strip {
  background: var(--gold);
}

.contact-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 116px;
}

.contact-strip p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 36px);
  font-style: italic;
}

.footer {
  background: var(--black);
  color: rgba(255,255,255,.72);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 0;
}

.footer img {
  width: 90px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 15px 35px rgba(0,0,0,.18);
}

.site-header--solid {
  position: sticky;
  top: 0;
  background: rgba(17,19,18,.92);
  box-shadow: 0 18px 45px rgba(0,0,0,.16);
  backdrop-filter: blur(16px);
}

.site-header--solid .nav {
  min-height: 96px;
}

.site-header--solid .brand img {
  width: 112px;
}

.page-main {
  background: var(--paper);
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  display: grid;
  align-items: end;
  color: #fff;
  background: var(--black);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,13,12,.88), rgba(11,13,12,.44)),
    var(--page-image, url("https://assessoriarossatti.com/wp-content/uploads/2016/02/breadcrumb-bg-3.jpg")) center / cover no-repeat;
  transform: scale(1.02);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  padding: 108px 0 76px;
}

.page-hero h1 {
  max-width: 840px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1;
}

.page-hero p {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 19px;
}

.split-grid,
.service-detail-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 72px;
  align-items: center;
}

.rich-copy h2,
.detail-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.04;
}

.rich-copy p,
.detail-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
}

.image-stack {
  position: relative;
  min-height: 440px;
}

.image-stack img {
  position: absolute;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.image-stack img:first-child {
  inset: 0 70px 58px 0;
  width: calc(100% - 70px);
  height: calc(100% - 58px);
}

.image-stack img:last-child {
  right: 0;
  bottom: 0;
  width: 48%;
  border: 10px solid #fff;
}

.feature-band {
  background: var(--black);
  color: #fff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.12);
}

.feature-card {
  min-height: 220px;
  padding: 30px;
  background: var(--black);
}

.feature-card strong {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.feature-card h3 {
  margin: 18px 0 10px;
  color: #fff;
  font-size: 25px;
  line-height: 1.12;
}

.feature-card p {
  margin: 0;
  color: rgba(255,255,255,.68);
}

.services-list {
  display: grid;
  gap: 24px;
}

.service-row {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 290px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.service-row:nth-child(even) {
  grid-template-columns: 1fr 42%;
}

.service-row:nth-child(even) img {
  order: 2;
}

.service-row img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
}

.service-row__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px;
}

.service-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-row__body span,
.detail-panel span {
  color: var(--gold-dark);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.service-row h2 {
  margin: 12px 0;
  font-size: 31px;
  line-height: 1.1;
}

.service-row p {
  color: var(--muted);
}

.detail-panel {
  padding: 34px;
  background: var(--soft);
  border-left: 5px solid var(--gold);
}

.detail-panel p {
  margin: 16px 0 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.2;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.check-list li {
  list-style: none;
  position: relative;
  padding: 18px 18px 18px 54px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 24px;
  width: 14px;
  height: 14px;
  background: var(--gold);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.outcome-card {
  min-height: 180px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 55px rgba(17,19,18,.08);
}

.outcome-card strong {
  color: var(--gold);
  font-size: 14px;
}

.outcome-card h3 {
  margin: 20px 0 0;
  font-size: 25px;
  line-height: 1.14;
}

.contact-card-modern {
  background: var(--black);
  color: #fff;
  box-shadow: var(--shadow);
}

.contact-card-modern img {
  width: 100%;
  aspect-ratio: 4 / 3.7;
  object-fit: cover;
  object-position: top center;
}

.contact-card-modern div {
  padding: 28px;
}

.contact-card-modern h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 27px;
}

.contact-card-modern p,
.contact-card-modern a {
  color: rgba(255,255,255,.78);
}

.contact-actions {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-actions .button {
  justify-content: flex-start;
}

.contact-actions .button--ghost {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.contact-actions .button--ghost:hover {
  color: #fff;
  background: var(--black);
  border-color: var(--black);
}

.form-card {
  padding: 34px;
  background: var(--soft);
}

.form-card label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 800;
}

.form-card input,
.form-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 15px;
  color: var(--ink);
  font: inherit;
}

.blog-index-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 980px;
}

.blog-index-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  min-height: 0;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

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

.blog-index-card > a {
  display: block;
  width: 220px;
  height: 150px;
  overflow: hidden;
}

.blog-index-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
}

.blog-index-card div {
  padding: 18px 22px;
}

.blog-index-card span {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-index-card h2 {
  margin: 8px 0;
  font-size: 20px;
  line-height: 1.18;
}

.blog-index-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-visible {
  animation: revealUp .72s ease forwards;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes subtleZoom {
  from { transform: scale(1.01); }
  to { transform: scale(1.08); }
}

@media (max-width: 980px) {
  .topbar {
    display: none;
  }

  .nav {
    min-height: 104px;
  }

  .brand img {
    width: 112px;
  }

  .menu-button {
    display: block;
  }

  .menu {
    position: absolute;
    top: 104px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 22px;
    background: rgba(17,19,18,.96);
    border: 1px solid rgba(255,255,255,.1);
  }

  .menu.is-open {
    display: grid;
  }

  .site-header--solid .nav {
    min-height: 96px;
  }

  .site-header--solid .menu {
    top: 96px;
  }

  .hero,
  .hero__content {
    min-height: 780px;
  }

  .hero__content,
  .intro-grid,
  .journey-grid,
  .blog-grid,
  .split-grid,
  .service-detail-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    align-items: end;
    padding-top: 160px;
  }

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

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

  .feature-grid,
  .outcome-grid,
  .blog-index-grid {
    grid-template-columns: 1fr;
  }

  .service-row,
  .service-row:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-row:nth-child(even) img {
    order: 0;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 72px 0;
  }

  .hero,
  .hero__content {
    min-height: 720px;
  }

  .hero__bg {
    background-position: 62% center;
  }

  .hero__content {
    padding: 132px 0 42px;
  }

  .hero__panel {
    padding: 24px;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.04;
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__actions,
  .contact-strip__inner,
  .footer__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .hero__facts {
    display: none;
  }

  .service-card {
    min-height: 320px;
  }

  .page-hero {
    min-height: 380px;
  }

  .page-hero__inner {
    padding: 74px 0 50px;
  }

  .page-hero h1 {
    font-size: 42px;
  }

  .image-stack {
    min-height: 330px;
  }

  .service-row__body,
  .form-card,
  .detail-panel {
    padding: 26px;
  }

  .service-row h2 {
    font-size: 26px;
  }

  .journey-media {
    padding: 10px 38px 46px 10px;
  }

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

  .blog-index-card {
    grid-template-columns: 120px minmax(0, 1fr);
    min-height: 0;
  }

  .blog-index-card > a {
    width: 120px;
    height: 120px;
  }

  .blog-index-card img {
    min-height: 0;
  }

  .blog-index-card div {
    padding: 14px;
  }

  .blog-index-card h2 {
    font-size: 18px;
  }

  .whatsapp-float {
    display: none;
  }
}

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