/* ==========================================================================
   PS Viswanathan Advocate — Premium Legal Landing Page
   ========================================================================== */

/* ── Design tokens ─────────────────────────────────────────────────── */
:root {
  --dark-1: #2e3338;
  --dark-2: #1d2023;
  --dark-3: #383e44;
  --dark-4: #474e55;
  --dark-5: #586069;

  --gold-1: #be9456;
  --gold-2: #a17a3d;
  --gold-3: #d8b67e;
  --gold-4: #ece4d6;

  --surface-1: #f6f6f5;
  --surface-2: #eeedeb;
  --surface-3: #f2f1ef;
  --surface-4: #e8e7e4;

  --ink: #2a2d30;
  --muted: #6b6f73;
  --white: #ffffff;

  --whatsapp: #25d366;

  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 9999px;

  --container: 1200px;
  --header-h: 96px;

  --shadow-sm: 0 4px 16px rgba(29, 32, 35, 0.08);
  --shadow-md: 0 12px 40px rgba(29, 32, 35, 0.12);
  --shadow-lg: 0 24px 60px rgba(29, 32, 35, 0.18);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & base ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface-1);
  -webkit-font-smoothing: antialiased;
}

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

.brand__logo--full {
  width: auto;
  max-width: none;
  height: 56px;
}

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

ul, ol {
  list-style: none;
}

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

/* ── Utilities ─────────────────────────────────────────────────────── */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--gold-1);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* ── Eyebrow pill ────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--surface-3);
  border: 1px solid var(--surface-4);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-1);
  flex-shrink: 0;
}

.eyebrow--light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--gold-3);
}

/* ── Typography ────────────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--ink);
  margin-bottom: 1rem;
}

.section-title--light {
  color: var(--white);
}

.text-accent {
  color: var(--gold-1);
  font-style: italic;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 65ch;
}

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  white-space: nowrap;
}

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

.btn__chip {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: transform var(--transition);
}

.btn:hover .btn__chip {
  transform: rotate(-45deg);
}

.btn--primary {
  background: var(--gold-1);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(190, 148, 86, 0.35);
}

.btn--primary:hover {
  background: var(--gold-2);
}

.btn--dark {
  background: var(--dark-1);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--dark-2);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
  border-color: var(--gold-1);
  color: var(--gold-3);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--dark-1);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}

.btn--whatsapp:hover {
  filter: brightness(1.08);
}

/* ── Scroll reveal ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  height: var(--header-h, 76px);
  background: #0a1b3f;
  border-bottom: 1px solid rgba(201, 169, 98, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  transition: box-shadow var(--transition), background var(--transition), height var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  background: #0a1b3f;
}

.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.brand__logo {
  flex-shrink: 0;
}

.brand__logo:not(.brand__logo--full) {
  width: 44px;
  height: 44px;
}

.brand__logo--full {
  height: 72px;
  width: auto;
  max-width: none;
  display: block;
}

.brand__logo--footer {
  height: 88px;
  max-width: min(520px, 100%);
}

/* SVG Logo Text Colors (White & Light Blue/Grey on dark backgrounds) */
.brand__logo .logo-text-name {
  fill: var(--white);
}

.brand__logo .logo-text-sub {
  fill: #8fa4c4;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.brand__subtitle {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.65rem, 1.8vw, 1.5rem);
  min-width: 0;
}

.site-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.35rem 0.15rem;
  white-space: nowrap;
  transition: color var(--transition);
  position: relative;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--white);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-1);
  border-radius: 2px;
}

.header-cta {
  flex-shrink: 0;
  justify-self: end;
}

.header-cta .btn {
  padding: 0.52rem 1rem 0.52rem 1.1rem;
  font-size: 0.8rem;
  gap: 0.45rem;
  box-shadow: 0 2px 12px rgba(190, 148, 86, 0.28);
}

.header-cta .btn__chip {
  width: 1.45rem;
  height: 1.45rem;
  font-size: 0.7rem;
}

.nav-toggle {
  display: none;
  justify-self: end;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  background: linear-gradient(145deg, var(--dark-2) 0%, var(--dark-1) 50%, var(--dark-3) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(190, 148, 86, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero__title span {
  display: block;
  color: var(--gold-3);
}

.hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__portrait {
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-sm) var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(160deg, rgba(190, 148, 86, 0.18), transparent 55%),
    linear-gradient(160deg, var(--dark-3), var(--dark-1));
}

.hero__portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 30%, rgba(190, 148, 86, 0.25), transparent 60%);
  z-index: 1;
  pointer-events: none;
}

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

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
  text-align: center;
}

.stat__value {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--gold-3);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat__label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.03em;
}

/* ── About ─────────────────────────────────────────────────────────── */
.about {
  padding: 6rem 0;
  background: var(--surface-1);
}

.about__inner {
  max-width: 920px;
  margin-inline: auto;
}

.about__gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.about__main-img {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(190, 148, 86, 0.15), transparent 50%),
    linear-gradient(135deg, var(--dark-3), var(--dark-1));
}

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

.about__badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  padding: 0.75rem 1.25rem;
  background: var(--gold-1);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.about__side-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(135deg, rgba(190, 148, 86, 0.1), transparent 45%),
    linear-gradient(135deg, var(--surface-4), var(--dark-4));
}

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

.about__statement {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1.5rem;
  text-align: center;
}

.about__chip {
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 0.25rem;
  overflow: hidden;
  background: var(--gold-4);
  border: 2px solid var(--gold-3);
}

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

.about__lead {
  text-align: center;
  margin: 0 auto 2.5rem;
}

.about__credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  margin-bottom: 2.5rem;
}

.credential {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.credential__check {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.12);
  color: #1a9e4a;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.about__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── Practice Areas ────────────────────────────────────────────────── */
.practice {
  padding: 6rem 0;
  background: var(--surface-2);
}

.practice__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}

.practice__header-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.practice__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.service-card__image {
  position: relative;
  height: 160px;
  background: linear-gradient(135deg, var(--dark-3), var(--dark-1));
  background-size: cover;
  background-position: center;
}

.service-card__image[data-service="family"] { background-image: url('../images/services/family.jpg'); }
.service-card__image[data-service="consumer"] { background-image: url('../images/services/consumer.jpg'); }
.service-card__image[data-service="civil"] { background-image: url('../images/services/civil.jpg'); }
.service-card__image[data-service="property"] { background-image: url('../images/services/property.jpg'); }
.service-card__image[data-service="registration"] { background-image: url('../images/services/registration.jpg'); }
.service-card__image[data-service="cheque-bounce"] { background-image: url('../images/services/cheque-bounce.jpg'); }
.service-card__image[data-service="arbitration"] { background-image: url('../images/services/arbitration.jpg'); }

.service-card__icon {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.service-card__body {
  padding: 1.25rem;
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.service-card__desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.service-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-2);
  transition: color var(--transition);
}

.service-card__link:hover {
  color: var(--gold-1);
}

.service-card--cta {
  background: var(--dark-1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  min-height: 100%;
}

.service-card--cta .service-card__title {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.practice__footer-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ── Process ───────────────────────────────────────────────────────── */
.process {
  padding: 6rem 0;
  background: var(--surface-1);
}

.process__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.process__steps::before {
  content: "";
  position: absolute;
  top: 3rem;
  left: 16%;
  right: 16%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold-3) 0, var(--gold-3) 8px, transparent 8px, transparent 16px);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step__icon-wrap {
  position: relative;
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.25rem;
  background: var(--dark-1);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-3);
}

.process-step__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--gold-1);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid var(--surface-1);
}

.process-step__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.process-step__desc {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 24ch;
  margin-inline: auto;
}

/* ── Reviews ───────────────────────────────────────────────────────── */
.reviews {
  padding: 6rem 0;
  background: var(--surface-2);
}

.reviews__header {
  text-align: center;
  margin-bottom: 2rem;
}

.reviews__summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.reviews__rating {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-1);
}

.reviews__stars {
  color: var(--gold-1);
  letter-spacing: 2px;
}

.reviews__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-chip {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--surface-4);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-chip:hover,
.filter-chip.is-active {
  background: var(--dark-1);
  color: var(--white);
  border-color: var(--dark-1);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-stars {
  color: var(--gold-1);
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.review-text {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--gold-4);
  color: var(--gold-2);
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.review-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.review-tag {
  font-size: 0.78rem;
  color: var(--muted);
}

.reviews__load-more {
  text-align: center;
  margin-top: 2.5rem;
}

.reviews-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 2rem;
}

/* ── Contact ───────────────────────────────────────────────────────── */
.contact {
  padding: 6rem 0;
  background: var(--surface-1);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact__info h3 {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.contact__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact__item-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: var(--gold-4);
  color: var(--gold-2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact__item a {
  color: var(--gold-2);
  font-weight: 500;
}

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

.contact__map {
  margin-top: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  position: relative;
}

.contact__map-link {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gold-1);
}

.contact__map-link:hover {
  text-decoration: underline;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--surface-4);
  border-radius: var(--radius-sm);
  background: var(--surface-1);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-1);
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: #e53e3e;
}

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

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.88rem;
  min-height: 1.25rem;
}

.form-status.error {
  color: #e53e3e;
}

.form-status.success {
  color: #1a9e4a;
}

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark-1);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer__brand .brand__name {
  color: var(--white);
}

.footer__brand .brand__subtitle {
  color: rgba(255, 255, 255, 0.5);
}

.footer__heading {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__links a {
  display: block;
  font-size: 0.88rem;
  padding: 0.3rem 0;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

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

.footer__disclaimer {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

.footer__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Floating FABs ─────────────────────────────────────────────────── */
.fab-group {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fab {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
  position: relative;
}

.fab:hover {
  transform: scale(1.05);
}

.fab--whatsapp {
  background: var(--whatsapp);
}

.fab--call {
  background: var(--gold-1);
}

.fab::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  animation: pulse-halo 2s ease-out infinite;
  z-index: -1;
}

.fab--whatsapp::before {
  background: rgba(37, 211, 102, 0.3);
}

.fab--call::before {
  background: rgba(190, 148, 86, 0.3);
}

@keyframes pulse-halo {
  0% { transform: scale(1); opacity: 0.6; }
  70% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* ── Mobile bottom bar ─────────────────────────────────────────────── */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-top: 1px solid var(--surface-4);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  gap: 0.75rem;
}

.mobile-bar .btn {
  flex: 1;
  justify-content: center;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
}

/* ── Reduced motion ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .fab::before {
    animation: none;
  }
}

/* ── Responsive: 1100px ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .site-nav {
    gap: 0.75rem;
  }

  .site-nav a {
    font-size: 0.8rem;
  }

  .header-cta .btn {
    padding: 0.48rem 0.85rem;
    font-size: 0.78rem;
  }
}

/* ── Responsive: 1024px ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .site-nav a {
    font-size: 0.76rem;
  }

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

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

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

/* ── Responsive: 900px ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__portrait {
    max-width: 400px;
    margin-inline: auto;
  }

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

/* ── Responsive: 860px ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  :root {
    --header-h: 76px;
  }

  .site-header {
    padding-inline: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
  }

  .site-nav.is-open {
    display: flex;
    position: fixed;
    top: calc(var(--header-h) + 0.5rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 27, 63, 0.98);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(201, 169, 98, 0.15);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
  }

  .site-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .header-cta {
    display: none;
  }

  .brand__logo--full {
    height: 56px;
  }

  .fab-group {
    display: none;
  }

  .mobile-bar {
    display: flex;
  }

  body {
    padding-bottom: 5rem;
  }

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

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

  .process__steps::before {
    display: none;
  }

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

/* ── Responsive: 620px ─────────────────────────────────────────────── */
@media (max-width: 620px) {
  .practice__grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero__actions,
  .about__actions,
  .form-actions {
    flex-direction: column;
  }

  .hero__actions .btn,
  .about__actions .btn,
  .form-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── Responsive: 560px ─────────────────────────────────────────────── */
@media (max-width: 560px) {
  .about__gallery {
    grid-template-columns: 1fr;
  }

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



  .brand__logo--footer {
    height: 64px;
  }
}
