/* ═══════════════════════════════════════════════════════════════════════════
   Assessoria Jurídica Plaza — stylesheet
   Fonts: Playfair Display (serif display) + Inter (body)
═══════════════════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────────────────────── */
:root {
  --red:      #C41515;
  --red-dk:   #9E1010;
  --red-faint: rgba(196,21,21,.07);
  --black:    #0C0C0C;
  --charcoal: #181818;
  --dark:     #1E1E1E;
  --white:    #FFFFFF;
  --stone:    #F5F3F0;
  --stone2:   #EAE7E2;
  --gray:     #585858;
  --gray-lt:  #999999;
  --border:   #E0DBD5;
  --bar-h:    0px;
  --nav-h:    76px;
  --top:      var(--nav-h);
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.75;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
strong { font-weight: 600; }

/* ── Type scale ─────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.18;
  text-wrap: balance;
}
h1 { font-size: clamp(2.8rem, 5.5vw, 4.8rem); font-weight: 700; }
h2 { font-size: clamp(2rem,   3.8vw, 3rem);   font-weight: 700; }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 600; }

.eyebrow {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow--muted { color: rgba(255,255,255,.38); }
.txt--white { color: var(--white) !important; }
.txt--muted  { color: rgba(255,255,255,.52) !important; }

/* ── Utilities ──────────────────────────────────────────────────────────────── */
.wrap { max-width: 1220px; margin: 0 auto; padding: 0 2.5rem; }
.br-desk { display: inline; }

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .9rem 2.2rem;
  border-radius: 2px;
  transition: background .22s, color .22s, border-color .22s, transform .18s;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn--red  { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dk); color: var(--white); }
.btn--ghost {
  border: 1.5px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.8);
}
.btn--ghost:hover { border-color: var(--white); color: var(--white); }
.btn--full { width: 100%; text-align: center; display: block; }

/* ── Section header ─────────────────────────────────────────────────────────── */
.section-head { margin-bottom: 4rem; text-align: center; }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head h2 { margin-bottom: .8rem; color: var(--charcoal); }
.section-head p { color: var(--gray); max-width: 560px; margin: 0 auto; font-size: .97rem; line-height: 1.8; }
.section-head--dark h2 { color: var(--white); }
.section-head--dark p  { color: rgba(255,255,255,.5); }

/* ── NAV ────────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, backdrop-filter .35s ease,
              -webkit-backdrop-filter .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.nav--solid {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 4px 40px rgba(0,0,0,.10);
}
.nav--solid .nav__links a { color: rgba(20,20,20,.6); }
.nav--solid .nav__links a:hover,
.nav--solid .nav__links a.active { color: rgba(20,20,20,.95); }
.nav--solid .nav__phone { color: rgba(20,20,20,.42); }
.nav--solid .nav__phone:hover { color: rgba(20,20,20,.9); }
.nav--solid .nav__burger span { background: rgba(20,20,20,.85); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav__logo img { height: 44px; width: auto; display: block; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav__links a {
  color: rgba(255,255,255,.6);
  font-size: .81rem;
  font-weight: 500;
  letter-spacing: .04em;
  transition: color .2s;
  position: relative;
  padding-bottom: 3px;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1.5px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .25s ease;
  transform-origin: left;
}
.nav__links a:hover,
.nav__links a.active { color: var(--white); }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 1.5rem; }
.nav__phone {
  color: rgba(255,255,255,.42);
  font-size: .78rem;
  letter-spacing: .03em;
  transition: color .2s;
}
.nav__phone:hover { color: rgba(255,255,255,.75); }
.nav__actions .btn { padding: .54rem 1.3rem; font-size: .76rem; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
[aria-expanded="true"].nav__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
[aria-expanded="true"].nav__burger span:nth-child(2) { opacity: 0; }
[aria-expanded="true"].nav__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__links--open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h); /* will be adjusted by JS if topbar visible */
  left: 0; right: 0;
  background: var(--charcoal);
  padding: 1.8rem 2.5rem 2.5rem;
  z-index: 99;
  border-bottom: 2px solid var(--red);
  gap: 0;
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.nav__links--open a {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .95rem;
  color: rgba(255,255,255,.72);
}
.nav__links--open a:last-child { border: none; }

/* ── HERO ───────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--top);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -25% 0;
  background: url('../img/hero-bg-v2png.png') center 40% / cover no-repeat;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    112deg,
    rgba(8,8,8,.96)  0%,
    rgba(8,8,8,.90) 35%,
    rgba(8,8,8,.72) 58%,
    rgba(8,8,8,.44) 78%,
    rgba(8,8,8,.22) 100%
  );
}

.hero__bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 5rem 0 10rem;
  display: flex;
  flex-direction: column;
}

.hero__row {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  margin-bottom: 2rem;
}

.hero__title-col {
  flex: 1;
  min-width: 0;
}

.hero__logo-frame {
  flex-shrink: 0;
  width: clamp(200px, 22vw, 300px);
  aspect-ratio: 1;
  border: 1.5px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem;
}

.hero__logo-inner {
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,.50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.hero__logo-inner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Staggered line animations ── */
.hero__eyebrow {
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp .7s ease both .4s;
}

.hero__title {
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.1;
}
.hero__line {
  display: block;
  overflow: hidden;
}
.hero__line > span {
  display: block;
  color: var(--white);
  transform: translateY(105%);
  opacity: 0;
  animation: lineUp .9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__line:nth-child(1) > span { animation-delay: .55s; }
.hero__line:nth-child(2) > span { animation-delay: .72s; }
.hero__line:nth-child(3) > span { animation-delay: .90s; }
.hero__line--em > span {
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,.72);
}

.hero__rule {
  display: block;
  width: 56px;
  height: 2px;
  background: var(--red);
  margin: 1.8rem 0;
  transform-origin: left;
  transform: scaleX(0);
  animation: ruleDraw .7s ease both 1.1s;
}

.hero__sub {
  color: rgba(255,255,255,.55);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 2.8rem;
  opacity: 0;
  animation: fadeUp .7s ease both 1.25s;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  opacity: 0;
  animation: fadeUp .7s ease both 1.45s;
}

/* Info strip */
.hero__strip {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  background: rgba(12,12,12,.82);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.1rem 0;
  opacity: 0;
  animation: fadeUp .7s ease both 1.8s;
}
.hero__strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero__info {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.hero__info svg { flex-shrink: 0; color: var(--red); }
.hero__info a { color: rgba(255,255,255,.55); }
.hero__info a:hover,
.hero__info:hover { color: rgba(255,255,255,.9); }
.hero__strip-sep {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}

.hero__scroll {
  position: absolute;
  bottom: 5.5rem;
  right: 3rem;
  z-index: 3;
  color: rgba(255,255,255,.28);
  transition: color .2s;
  animation: bounce 2.5s ease-in-out infinite 2s;
}
.hero__scroll:hover { color: rgba(255,255,255,.65); }

/* ── Keyframes ──────────────────────────────────────────────────────────────── */
@keyframes lineUp {
  to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes ruleDraw {
  to { transform: scaleX(1); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ── STATS ──────────────────────────────────────────────────────────────────── */
.stats {
  background: var(--red);
  padding: 4rem 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat { position: relative; }
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,.2);
}
.stat__num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: .4rem;
}
.stat__lbl {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

/* ── PROCESS ────────────────────────────────────────────────────────────────── */
.process {
  padding: 6.5rem 0;
  background: var(--stone);
}

.process__track { position: relative; }

.process__rail {
  position: absolute;
  top: 42px;
  left: calc(var(--step-w, 25%) / 2);
  right: calc(var(--step-w, 25%) / 2);
  height: 1px;
  background: var(--border);
}
.process__rail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s ease .3s;
}
.process__rail.in-view::before { transform: scaleX(1); }

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.process__dot {
  width: 12px;
  height: 12px;
  background: var(--white);
  border: 2px solid var(--red);
  border-radius: 50%;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 2;
  transition: background .3s, transform .3s;
}
.process__step.in-view .process__dot {
  background: var(--red);
  transform: scale(1.2);
}

.process__num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(196,21,21,.12);
  line-height: 1;
  margin-bottom: .6rem;
}

.process__icon {
  width: 44px;
  height: 44px;
  color: var(--red);
  margin: 0 auto .9rem;
  opacity: .8;
}
.process__icon svg { width: 100%; height: 100%; }

.process__step h3 {
  color: var(--charcoal);
  margin-bottom: .7rem;
}
.process__step p {
  font-size: .88rem;
  color: var(--gray);
  line-height: 1.72;
  max-width: 240px;
  margin: 0 auto;
}

/* ── SERVICES ───────────────────────────────────────────────────────────────── */
.services {
  padding: 6.5rem 0;
  background: var(--white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.svc-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background .22s;
  cursor: default;
}
.svc-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.svc-card:hover { background: var(--stone); }
.svc-card:hover::after { transform: scaleX(1); }

.svc-card__icon {
  width: 42px;
  height: 42px;
  color: var(--red);
  margin-bottom: 1.3rem;
  opacity: .82;
  transition: opacity .2s, transform .3s;
}
.svc-card:hover .svc-card__icon { opacity: 1; transform: translateY(-2px); }
.svc-card__icon svg { width: 100%; height: 100%; }

.svc-card h3 { font-size: 1.05rem; color: var(--charcoal); margin-bottom: .6rem; }
.svc-card p  { font-size: .86rem; color: var(--gray); line-height: 1.7; }

/* ── ABOUT ──────────────────────────────────────────────────────────────────── */
.about {
  padding: 6.5rem 0;
  background: var(--white);
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about__text .eyebrow { margin-bottom: 1rem; }
.about__text h2 { color: var(--charcoal); margin-bottom: 1.5rem; }
.about__text p  { color: var(--gray); font-size: .97rem; margin-bottom: 1rem; line-height: 1.8; }

.about__checks {
  margin: 1.8rem 0 2.4rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.about__checks li {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .92rem;
  font-weight: 500;
  color: var(--charcoal);
}
.about__checks li svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--red); }

.about__media {
  position: relative;
}
.about__photo {
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.about__photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .6s ease;
}
.about__media:hover .about__photo img { transform: scale(1.02); }

/* offset red frame */
.about__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--red);
  transform: translate(18px, 18px);
  pointer-events: none;
  z-index: -1;
}

/* floating badge */
.about__badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  z-index: 3;
  background: var(--red);
  color: var(--white);
  padding: 1.4rem 1.8rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(196,21,21,.35);
}
.about__badge-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: .2rem;
}
.about__badge-txt {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .82;
}

/* ── WHY ────────────────────────────────────────────────────────────────────── */
.why {
  padding: 6.5rem 0;
  background: var(--dark);
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
}
.why-item { padding-top: 2rem; }
.why-item__rule {
  height: 2px;
  background: var(--red);
  margin-bottom: 2rem;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .7s ease;
}
.why-item.in-view .why-item__rule { transform: scaleX(1); }
.why-item h3 { color: var(--white); margin-bottom: .9rem; }
.why-item p  { color: rgba(255,255,255,.52); font-size: .9rem; line-height: 1.8; }

/* ── TEAM ───────────────────────────────────────────────────────────────────── */
.team {
  padding: 6.5rem 0;
  background: var(--stone);
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.member { display: flex; flex-direction: column; }
.member__photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
}
.member__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-bottom: 3px solid var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.member:hover .member__photo::after { transform: scaleX(1); }
.member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .6s ease;
}
.member:hover .member__photo img { transform: scale(1.04); }

.member__info { flex: 1; }
.member h3 { color: var(--charcoal); margin-bottom: .3rem; }
.member__role {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .9rem;
}
.member p { font-size: .88rem; color: var(--gray); line-height: 1.72; }

/* ── TESTIMONIALS ───────────────────────────────────────────────────────────── */
.testimonials {
  padding: 6.5rem 0;
  background: var(--white);
}
.testi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.testi {
  background: var(--stone);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.testi:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
}
.testi::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
}

.testi__quote {
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  line-height: .8;
  color: var(--red);
  opacity: .12;
  margin-bottom: -.5rem;
  display: block;
}

.testi__stars {
  color: var(--red);
  font-size: .85rem;
  letter-spacing: .1em;
  margin-bottom: 1rem;
  display: block;
}

.testi p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testi footer { display: flex; flex-direction: column; gap: .15rem; }
.testi footer cite {
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.testi footer span {
  font-size: .76rem;
  color: var(--gray-lt);
}

/* ── FAQ ────────────────────────────────────────────────────────────────────── */
.faq {
  padding: 6.5rem 0;
  background: var(--stone);
}
.faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}
.faq__head .eyebrow { margin-bottom: 1rem; }
.faq__head h2 { color: var(--charcoal); margin-bottom: 1rem; }
.faq__head p  { color: var(--gray); font-size: .95rem; line-height: 1.8; margin-bottom: 2rem; }
.faq__cta { display: inline-block; }

.faq__list { display: flex; flex-direction: column; gap: 0; }

.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__item:first-child { border-top: 1px solid var(--border); }

.faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0;
  text-align: left;
  color: var(--charcoal);
  font-size: .97rem;
  font-weight: 500;
  line-height: 1.45;
  transition: color .2s;
}
.faq__btn:hover { color: var(--red); }
.faq__item.faq--open .faq__btn { color: var(--red); }

.faq__icon {
  flex-shrink: 0;
  transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--red);
  opacity: .7;
}
.faq__item.faq--open .faq__icon { transform: rotate(45deg); }

/* Height animation via CSS grid trick */
.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq__item.faq--open .faq__panel { grid-template-rows: 1fr; }

.faq__body { overflow: hidden; }
.faq__body p {
  padding-bottom: 1.4rem;
  font-size: .92rem;
  color: var(--gray);
  line-height: 1.8;
}

/* ── CONTACT ────────────────────────────────────────────────────────────────── */
.contact {
  padding: 6.5rem 0;
  background: var(--charcoal);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

.contact__info .eyebrow { margin-bottom: 1rem; }
.contact__info h2 {
  color: var(--white);
  margin-bottom: 1.3rem;
  line-height: 1.2;
}
.contact__info h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--red);
}
.contact__info > p {
  color: rgba(255,255,255,.48);
  font-size: .95rem;
  margin-bottom: 2.8rem;
  line-height: 1.8;
}

.contact__data { display: flex; flex-direction: column; gap: 1.1rem; }
.contact__data li {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
}
.contact__data li svg { flex-shrink: 0; margin-top: 2px; color: var(--red); }
.contact__data a { color: rgba(255,255,255,.6); transition: color .2s; }
.contact__data a:hover { color: var(--white); }

/* form */
.contact__form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: .42rem; }

.form-group label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--white);
  padding: .85rem 1.1rem;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  border-radius: 2px;
  outline: none;
  transition: border-color .22s, background .22s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: rgba(255,255,255,.08);
}
.form-group select option { background: #1a1a1a; color: var(--white); }
.form-group textarea { resize: vertical; min-height: 115px; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  cursor: pointer;
  margin-top: .2rem;
}
.form-check input[type="checkbox"] {
  width: 17px; height: 17px;
  flex-shrink: 0; margin-top: 3px;
  accent-color: var(--red);
}
.form-check span { font-size: .8rem; color: rgba(255,255,255,.36); line-height: 1.6; }
.form-check a { color: rgba(255,255,255,.56); text-decoration: underline; }

/* ── FOOTER ─────────────────────────────────────────────────────────────────── */
.footer { background: var(--black); }

.footer__top { border-bottom: 1px solid rgba(255,255,255,.06); }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 3rem;
  padding: 5rem 2.5rem 4rem;
  max-width: 1220px;
  margin: 0 auto;
}

.footer__logo { height: 100px; width: auto; margin-bottom: 1.2rem; }
.footer__brand p {
  font-size: .82rem;
  color: rgba(255,255,255,.3);
  line-height: 1.78;
  max-width: 270px;
}
.footer__coll { margin-top: .5rem !important; font-size: .72rem !important; color: rgba(255,255,255,.18) !important; }

.footer__grid nav h4,
.footer__contact h4 {
  font-family: 'Inter', sans-serif;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.3rem;
}
.footer__grid nav ul { display: flex; flex-direction: column; gap: .55rem; }
.footer__grid nav a {
  font-size: .82rem;
  color: rgba(255,255,255,.3);
  transition: color .2s;
}
.footer__grid nav a:hover { color: rgba(255,255,255,.72); }

.footer__contact {
  font-style: normal;
  font-size: .82rem;
  color: rgba(255,255,255,.3);
  line-height: 1.9;
}
.footer__contact a { color: rgba(255,255,255,.3); transition: color .2s; }
.footer__contact a:hover { color: rgba(255,255,255,.68); }

.footer__bottom {
  padding: 1.5rem 2.5rem;
}
.footer__bottom .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  font-size: .73rem;
  color: rgba(255,255,255,.18);
}
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { color: rgba(255,255,255,.18); transition: color .2s; }
.footer__legal a:hover { color: rgba(255,255,255,.5); }

/* ── Floating CTA ───────────────────────────────────────────────────────────── */
.float-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(196,21,21,.45);
  opacity: 0;
  transform: scale(.7) translateY(8px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.float-cta--show {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
.float-cta:hover {
  background: var(--red-dk);
  transform: scale(1.08) translateY(0) !important;
}

/* ── Scroll reveal ──────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.in-view { opacity: 1; transform: none; }

/* process rail observe */
.process__rail { }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero__eyebrow, .hero__sub, .hero__ctas, .hero__strip { animation: none; opacity: 1; transform: none; }
  .hero__line > span { animation: none; transform: none; opacity: 1; }
  .hero__rule { animation: none; transform: scaleX(1); }
  .hero__scroll { animation: none; }
  .float-cta { transition: none; }
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav__links:not(.nav__links--open) { display: none; }
  .nav__actions .btn  { display: none; }
  .nav__phone         { display: none; }
  .nav__burger        { display: flex; }

  .topbar__msg { display: none; }

  .stats__grid { grid-template-columns: repeat(2,1fr); }
  .process__steps { grid-template-columns: repeat(2,1fr); }
  .process__rail  { display: none; }
  .services__grid { grid-template-columns: repeat(2,1fr); }
  .about__inner  { grid-template-columns: 1fr; gap: 4rem; }
  .about__photo img { height: 400px; }
  .about__badge  { left: 1rem; bottom: -1rem; }
  .why__grid     { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .faq__inner    { grid-template-columns: 1fr; gap: 3rem; }
  .footer__grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero__row { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .hero__logo-frame { width: clamp(130px, 42vw, 190px); padding: .5rem; }
  .hero__logo-inner { padding: 1rem; }

  .hero__strip-sep { display: none; }
  .hero__strip-inner { gap: 1rem; justify-content: flex-start; }
  .hero__info { font-size: .72rem; }
  .hero__scroll { display: none; }
  .br-desk { display: none; }

  .process__steps { grid-template-columns: 1fr 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .why__grid  { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .testi__grid { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 2.5rem; }
  .footer__bottom .wrap { flex-direction: column; gap: .8rem; text-align: center; }
}

@media (max-width: 540px) {
  :root { --bar-h: 0px; }
  .topbar { display: none; }
  .wrap { padding: 0 1.25rem; }
  .hero__ctas { flex-direction: column; }
  .btn { text-align: center; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; }
  .about__photo img { height: 280px; }
  .about__photo::after { display: none; }
  .float-cta { bottom: 1.2rem; right: 1.2rem; }
}
