/* ============================================================
   Devathe Law Associates
   Modern Editorial Legal — Design System
   Do not edit unless you want to change the visual design.
   All content edits should be made in index.html
   ============================================================ */

:root {
  --cream: #eeedeb;
  --cream-alt: #f7f0ec;
  --charcoal: #000000;
  --charcoal-soft: #1c1a17;
  --rust: #757263;
  --rust-dark: #5c594c;
  --rust-light: #e1ccbe;
  --white: #ffffff;
  --text: #1c1a17;
  --text-muted: #8a8677;
  --border: #e2ddd4;
  --green: #25d366;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --radius-pill: 999px;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-google: 'Roboto', Arial, sans-serif;
  --container: 1200px;
  --header-h: 72px;
  --section-pad: 120px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--rust-dark); }
ul { list-style: none; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- Typography ---- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--rust);
  border-bottom: 1.5px solid var(--rust);
  padding-bottom: 6px;
  margin-bottom: 22px;
}

.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; }
.section-head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.section-head__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  color: var(--charcoal);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.section-head__desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
  font-weight: 400;
  margin-top: 16px;
}

.section-head--center .section-head__desc { margin-left: auto; margin-right: auto; }

.section-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

a.section-arrow:hover { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }

/* ---- Buttons ---- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--charcoal);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  text-decoration: none;
  background: var(--charcoal);
  color: var(--white);
  min-height: 46px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}

.btn-pill:hover { background: var(--rust); border-color: var(--rust); color: var(--white); box-shadow: var(--shadow-md); }

.btn-pill--light { background: var(--white); color: var(--charcoal); border-color: var(--white); }
.btn-pill--light:hover { background: var(--cream); border-color: var(--cream); color: var(--charcoal); }

.btn-pill--outline { background: transparent; color: var(--charcoal); border-color: var(--border); }
.btn-pill--outline:hover { background: transparent; border-color: var(--rust); color: var(--rust); box-shadow: none; }

.btn-pill--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-pill--outline-light:hover { background: transparent; border-color: var(--white); color: var(--white); }

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, box-shadow var(--transition);
}

.header.scrolled {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  box-shadow: 0 8px 28px rgba(0,0,0,0.28);
}

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

.logo {
  display: flex;
  align-items: center;
  height: calc(var(--header-h) - 10px);
  overflow: hidden;
  flex-shrink: 0;
  color: var(--charcoal);
  text-decoration: none;
}

.logo:hover { color: var(--charcoal); }

.logo__full {
  height: 100px;
  width: auto;
  max-width: min(360px, 92vw);
  display: block;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.logo__nav {
  height: calc(var(--header-h) - 8px);
  width: auto;
  max-width: min(320px, 72vw);
  display: block;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  border: none;
  border-radius: 4px;
  box-shadow: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  cursor: pointer; padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%; height: 2px;
  background: #fff;
  transition: var(--transition);
  border-radius: 1px;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 88vw);
  height: 100vh;
  background: var(--cream);
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  transition: right var(--transition);
  z-index: 1000;
  padding: calc(var(--header-h) + 24px) 28px 28px;
  overflow-y: auto;
}

.nav.open { right: 0; }

.nav__list { display: flex; flex-direction: column; gap: 2px; }

.nav__link {
  display: block;
  padding: 14px 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.01em;
}

.nav__link:hover, .nav__link.active { color: var(--rust); }

.nav__link--cta {
  margin-top: 16px;
  padding: 14px 20px;
  background: var(--charcoal);
  color: var(--white) !important;
  text-align: center;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
}

.nav__link--cta:hover { background: var(--rust); color: var(--white) !important; }

.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}

.nav-overlay.open { opacity: 1; visibility: visible; }

/* ---- Sections ---- */
.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--cream-alt); }
.section-dark { background: var(--charcoal); color: var(--white); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.4) 45%, rgba(0,0,0,0.82) 100%);
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 56px;
  padding-top: 40px;
  padding-bottom: 48px;
}

.hero__top {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero__desc {
  max-width: 340px;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
}

.hero__bottom { display: flex; flex-direction: column; gap: 28px; }

.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust-light);
  margin-bottom: 4px;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 5.6vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 760px;
}

.hero__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--rust-light);
}

.hero__actions-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__since {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  max-width: 280px;
  line-height: 1.5;
}

/* ---- About grid ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.about-card--image {
  position: relative;
  aspect-ratio: 4 / 3;
}

.about-card--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-card__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.15) 80%, transparent 100%);
  color: var(--white);
  padding: 28px 20px 18px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.about-card__caption strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--rust-light);
  margin-bottom: 3px;
}

.about-card--text,
.about-card--facts {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-card--facts { background: var(--cream-alt); }

.about-card--text p.lead {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.5;
  margin-bottom: 20px;
}

.about-card--text p.support {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-card__facts { display: flex; flex-direction: column; }

.about-card__facts li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text);
}

.about-card__facts li:last-child { border-bottom: none; }

.about-card__facts li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rust);
  flex-shrink: 0;
}

/* ---- Vision & Mission ---- */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.vm-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.vm-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.vm-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.forums-strip {
  margin-top: 48px;
}

.forums-strip h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.forums-strip > p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 640px;
}

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

.forum-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.forum-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.forum-card figcaption {
  padding: 16px 18px 18px;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}

.forum-card figcaption strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 4px;
}

/* ---- Services (card grid) ---- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

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

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

.service-card__thumb { aspect-ratio: 16 / 10; }
.service-card__thumb img { width: 100%; height: 100%; object-fit: cover; }

.service-card__body {
  padding: 26px 24px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--rust);
  margin-bottom: 10px;
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}

.service-card__handled {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.service-card__handled strong { color: var(--charcoal); font-weight: 600; }

.service-card__cta {
  display: block;
  padding: 14px 24px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--charcoal);
  border-top: 1px solid var(--border);
  background: var(--cream-alt);
  transition: background var(--transition), color var(--transition);
}

.service-card__cta:hover { background: var(--charcoal); color: var(--white); }

/* ---- Team ---- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}

.team-card__photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 22px;
}

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

.team-card__name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.team-card__role {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 16px;
}

.team-card__meta {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.team-card__meta strong { color: var(--text); font-weight: 600; }

.team-card__meta div { padding: 8px 0; border-top: 1px solid var(--border); }

/* ---- Notable Cases ---- */
.case-list { border-top: 1px solid var(--border); }

.case-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.case-item__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.case-item__desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
  max-width: 680px;
}

.case-item__outcome {
  font-size: 0.9rem;
  color: var(--charcoal);
  padding-left: 16px;
  border-left: 2px solid var(--rust);
}

.case-item__outcome strong { color: var(--rust); }

/* ---- Advantage ---- */
.advantage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.advantage-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

.advantage-list {
  display: grid;
  grid-template-columns: 1fr;
}

.advantage-item {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.advantage-item__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.advantage-item__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Media strip ---- */
.media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.media-photo {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.media-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.media-photo figcaption {
  padding: 16px 4px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.media-cta { text-align: center; margin-top: 40px; }

/* ---- Reviews (Google-review styled) ---- */
.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 28px;
  margin-bottom: 40px;
  font-family: var(--font-google);
}

.reviews-summary__score {
  font-size: 2.5rem;
  font-weight: 500;
  color: #202124;
  line-height: 1;
}

.reviews-summary__stars {
  color: #fbbc04;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.reviews-summary__stars .star-empty { color: #dadce0; }

.reviews-summary__meta {
  font-size: 0.88rem;
  color: #5f6368;
  margin-top: 2px;
}

.reviews-summary__cta { margin-left: auto; }

.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  font-family: var(--font-google);
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 22px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.review-card__name {
  font-size: 0.9rem;
  font-weight: 500;
  color: #202124;
  line-height: 1.3;
}

.review-card__time {
  font-size: 0.76rem;
  color: #5f6368;
  margin-top: 1px;
}

.review-card__stars {
  color: #fbbc04;
  font-size: 0.95rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.review-card__stars .star-empty { color: #dadce0; }

.review-card__text {
  font-size: 0.86rem;
  color: #3c4043;
  line-height: 1.65;
}

/* ---- Process ---- */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

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

.process-step__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--rust);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border: 1.5px solid var(--rust);
}

.process-step h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Contact ---- */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.contact-block {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.contact-block:last-of-type { border-bottom: none; }

.contact-block h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.contact-block p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.contact-block a { color: var(--rust); }

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 500;
}

.contact-link:hover {
  color: var(--charcoal);
  border-color: var(--rust);
  background: var(--cream-alt);
}

.contact-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--white);
}

.contact-link__icon--wa { background: #25d366; }
.contact-link__icon--li { background: #0a66c2; }

.contact-block__note {
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.contact-fee {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
  padding: 14px 18px;
  background: var(--cream-alt);
  border-left: 2px solid var(--rust);
  margin: 16px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.contact-map {
  margin-top: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  border-radius: var(--radius);
}

.contact-map iframe {
  display: block;
  width: 100%;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px 30px;
  border-radius: 14px;
}

.contact-form h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 26px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

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

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #d93025;
}

.form-error {
  display: block;
  font-size: 0.78rem;
  color: #d93025;
  margin-top: 4px;
  min-height: 1em;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.form-actions .btn-pill { width: 100%; }

/* ---- Footer ---- */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.65);
  padding-top: 72px;
}

.footer__grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo--footer .logo__full { height: 120px; max-width: 400px; }

.footer__brand p {
  margin-top: 14px;
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer__nav h4,
.footer__contact h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--rust-light);
  margin-bottom: 16px;
}

.footer__nav ul { display: flex; flex-direction: column; gap: 10px; }

.footer__nav a,
.footer__contact a {
  color: rgba(255,255,255,0.62);
  font-size: 0.88rem;
}

.footer__nav a:hover,
.footer__contact a:hover { color: var(--rust-light); }

.footer__contact p { font-size: 0.88rem; margin-bottom: 8px; line-height: 1.6; }

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--rust-light);
}

.footer__social a:hover {
  color: var(--white);
  border-color: var(--rust-light);
  background: rgba(255,255,255,0.08);
}

.footer__disclaimer {
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__disclaimer p {
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
}

.footer__copy {
  padding: 22px 0;
  text-align: center;
}

.footer__copy p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ---- Mobile bar & FABs ---- */
.mobile-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.mobile-bar__btn--call { color: var(--charcoal); border-right: 1px solid var(--border); }
.mobile-bar__btn--wa { color: var(--green); }

.fab-group { display: none; }

@media (min-width: 900px) {
  .fab-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: fixed;
    bottom: 28px; right: 28px;
    z-index: 900;
  }

  .fab {
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
    color: var(--white);
  }

  .fab:hover { transform: scale(1.06); box-shadow: 0 6px 24px rgba(0,0,0,0.2); color: var(--white); }
  .fab--call { background: var(--charcoal); }
  .fab--wa { background: var(--green); }

  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal--delay { transition-delay: 0.15s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Responsive: Tablet ---- */
@media (min-width: 600px) {
  .hero__actions-row { flex-wrap: nowrap; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .vm-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-list { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .form-actions { flex-direction: row; }
  .form-actions .btn-pill { flex: 1; }
}

/* ---- Responsive: Desktop ---- */
@media (min-width: 900px) {
  :root { --header-h: 80px; }
  .nav-toggle { display: none; }

  .logo__full { height: 120px; }
  .logo__nav { height: calc(var(--header-h) - 6px); max-width: 340px; }

  .nav {
    position: static;
    width: auto; height: auto;
    background: none;
    box-shadow: none;
    padding: 0;
    overflow: visible;
  }

  .nav__list { flex-direction: row; align-items: center; gap: 2px; }

  .nav__link {
    padding: 6px 8px;
    font-size: 0.78rem;
    border-bottom: none;
    position: relative;
    color: rgba(255,255,255,0.82);
  }

  .nav__link:hover, .nav__link.active { color: #e1ccbe; }

  .nav__link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 8px; right: 8px;
    height: 2px;
    background: #e1ccbe;
    transform: scaleX(0);
    transition: transform var(--transition);
  }

  .nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }

  .nav__link--cta {
    margin-top: 0;
    margin-left: 8px;
    padding: 8px 18px;
    font-size: 0.78rem;
    background: #fff;
    color: #000 !important;
  }
  .nav__link--cta:hover { background: #e1ccbe; color: #000 !important; }
  .nav__link--cta::after { display: none; }

  .hero__top, .hero__bottom { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .hero__top { align-items: flex-start; justify-content: flex-end; }
  .hero__desc { text-align: right; }

  .about-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas:
      "imgL text  text  imgR"
      "imgL facts facts imgR";
  }
  .about-card--img-left { grid-area: imgL; aspect-ratio: auto; }
  .about-card--text { grid-area: text; }
  .about-card--facts { grid-area: facts; }
  .about-card--img-right { grid-area: imgR; aspect-ratio: auto; }

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

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

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

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

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

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

  .process-steps { flex-direction: row; gap: 0; justify-content: space-between; }

  .process-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 20%;
    right: 20%;
    height: 0;
    border-top: 2px dashed var(--rust-light);
    z-index: 0;
  }

  .process-step { flex: 1; z-index: 1; }

  .contact-grid { flex-direction: row; gap: 56px; align-items: start; }
  .contact-info { flex: 1; }
  .contact-form { flex: 1; }

  .footer__grid { flex-direction: row; gap: 48px; }
  .footer__brand { flex: 1.2; }
  .footer__nav, .footer__contact { flex: 1; }
}

@media (min-width: 1100px) {
  .media-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Mobile bottom padding for sticky bar */
@media (max-width: 899px) {
  body { padding-bottom: 56px; }
  :root { --section-pad: 76px; }
}
