/* Shaped to match Regalis Homepage 1 visual system (original stylesheet) */

:root {
  --primary: #213449;
  --primary-rgb: 33, 52, 73;
  --secondary: #eaa638;
  --secondary-rgb: 234, 166, 56;
  --bg-light: #ebf0f6;
  --bg-dark-1: #101010;
  --bg-dark-1-rgb: 16, 16, 16;
  --bg-dark-2: #2b425d;
  --bg-dark-3: #303030;
  --body-font: "Manrope", Helvetica, Arial, sans-serif;
  --heading-font: "Jost", Helvetica, Arial, sans-serif;
  --body-color: #7a7a7a;
  --heading-color: #111111;
  --white: #fff;
  --max: 1240px;
  --radius: 16px;
}

.is-rtl {
  --body-font: "Tajawal", "Manrope", sans-serif;
  --heading-font: "Tajawal", "Jost", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; } /* JS handles smooth scroll for better control */
body {
  margin: 0;
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.16px;
  line-height: 30px;
  color: var(--body-color);
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: .25s ease; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1rem; }

h1, h2, h3, h4 {
  font-family: var(--heading-font);
  font-weight: 400;
  color: var(--heading-color);
  margin: 0 0 20px;
}
h1 { font-size: 60px; letter-spacing: -0.02em; line-height: 1.15em; }
h2 { font-size: 48px; letter-spacing: -0.96px; line-height: 57.6px; margin-bottom: 25px; }
h3 { font-size: 24px; letter-spacing: -0.4px; line-height: 1.5em; margin-bottom: 10px; }
h4 { font-size: 20px; letter-spacing: -0.2px; line-height: 1.6em; margin-bottom: 10px; }
.hs-3 { font-size: 24px; letter-spacing: -0.4px; line-height: 1.5em; margin-bottom: 10px; }

.container { width: min(100% - 30px, var(--max)); margin-inline: auto; }
.container-fluid { width: 100%; padding-inline: 15px; }

.subtitle {
  position: relative;
  display: inline-block;
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--heading-color);
  padding: 5px 12px;
  margin-bottom: 20px;
  background: rgba(0, 0, 0, .075);
  border-radius: 3px;
  line-height: 1.5em;
}
.text-light .subtitle,
.section-dark .subtitle,
.section-primary .subtitle,
.hero .subtitle {
  color: #fff;
  background: rgba(255, 255, 255, .2);
}

.btn-main {
  display: inline-block;
  padding: 4px 22px;
  border-radius: 4px;
  border: 1px solid #d7d7d7;
  background: transparent;
  color: #444;
  font-size: 13px;
  font-weight: 600;
  line-height: 34px;
  letter-spacing: 0;
}
.btn-main:hover {
  color: #fff;
  background: var(--bg-dark-1);
  border-color: var(--bg-dark-1);
}
.btn-main.gold {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary);
}
.btn-main.gold:hover {
  background: #f0b64d;
  border-color: #f0b64d;
  color: var(--primary);
}
.btn-main.bg-light {
  background: var(--bg-light);
  border-color: transparent;
  color: var(--primary);
}
.btn-main.bg-light:hover {
  background: var(--bg-dark-1);
  color: #fff;
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 20px 0;
  transition: .3s ease;
  background: none; /* Regalis: header.transparent on home */
}
.site-header.is-inner,
.site-header.is-scrolled {
  background: rgba(16,16,16,.96);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 12px 40px rgba(0,0,0,.28);
}
.site-header.is-inner {
  /* Always solid on inner pages so white nav stays readable */
  background: rgba(16,16,16,.97);
}
.main-nav a.is-active {
  color: #fff;
}
.main-nav a.is-active::after {
  transform: scaleX(1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img.logo {
  width: auto;
  height: 56px;
  object-fit: contain;
}
.site-header.is-inner .brand img.logo,
.site-header.is-scrolled .brand img.logo {
  height: 48px;
}
.site-footer .brand img.logo {
  height: 72px;
}
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  color: rgba(255,255,255,.92);
  font-size: 16px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover { color: #fff; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.lang-switch {
  display: inline-flex; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; overflow: hidden;
}
.lang-switch a { color: rgba(255,255,255,.7); padding: 4px 10px; font-size: 12px; font-weight: 600; }
.lang-switch a.active { background: var(--secondary); color: var(--primary); }
.header-phone {
  display: none; color: #fff; font-size: 15px; line-height: 1.25; text-align: end; font-weight: 500;
}
.header-phone span {
  display: block; color: var(--secondary); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px;
}
.header-phone .tel,
.tel {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  white-space: nowrap;
}
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: #fff; }

/* ========== HERO (Regalis Homepage 1 layout) ========== */
.hero {
  position: relative;
  min-height: 900px;
  color: #fff;
  overflow: hidden;
  background: var(--primary);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  will-change: transform;
  transform: translate3d(0,0,0) scale(1.04);
}
/* Soft navy wash so white copy stays readable over the photo */
.hero-overlay {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(var(--primary-rgb), .92) 0%, rgba(var(--primary-rgb), .72) 34%, rgba(var(--primary-rgb), .28) 62%, rgba(var(--primary-rgb), .45) 100%),
    linear-gradient(180deg, rgba(var(--primary-rgb), .25) 0%, transparent 35%);
}
.hero-gradient {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 30%;
  z-index: 1;
  background: linear-gradient(0deg, rgba(var(--primary-rgb), 1) 0%, rgba(var(--primary-rgb), 0) 100%);
  pointer-events: none;
}
.hero-scroll-hint {
  position: fixed;
  left: 28px;
  top: 50%;
  z-index: 1002;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}
.hero-scroll-line {
  display: block;
  width: 1px;
  height: 55px;
  background: var(--secondary);
  flex-shrink: 0;
}
.hero-scroll-label {
  display: block;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 1.5px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  color: rgba(255,255,255,.88);
  transition: color .25s ease;
  white-space: nowrap;
}
/* Dark label over light page sections (Regalis-style) */
.hero-scroll-hint.is-light .hero-scroll-label {
  color: rgba(33,52,73,.72);
}
.hero-scroll-hint:hover .hero-scroll-label {
  color: var(--secondary);
}
.hero-scroll-hint.is-light:hover .hero-scroll-label {
  color: var(--secondary);
}
/* Absolute bottom content block — matches Regalis .abs.bottom-0 */
.hero-inner {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  width: 100%;
  padding: 0 0 60px;
}
.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 60px;
}
.hero-badge {
  display: inline-block;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  padding: 5px 12px;
  background: rgba(255,255,255,.2);
  border-radius: 3px;
  line-height: 1.5em;
}
.hero-copy h1 {
  color: #fff;
  margin: 0 0 20px;
  max-width: none;
  font-size: 60px;
  line-height: 1.15em;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.hero-copy .lead {
  max-width: 90%;
  color: rgba(255,255,255,.85);
  margin: 0;
  line-height: 1.875;
  font-size: 16px;
  letter-spacing: -0.16px;
}
.hero-clients {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  text-align: start;
  margin-top: 16px;
}
.hero-clients-text {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  text-align: end;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}
.hero-clients-text strong {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--body-font);
  line-height: 1.3;
}
.hero-clients-text span {
  color: rgba(255,255,255,.9);
  font-size: 14px;
  font-weight: 600;
}
.avatar-stack {
  display: inline-flex;
  justify-content: flex-end;
  position: relative;
}
.avatar-stack img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-inline-start: -10px;
}
.avatar-stack img:first-child { margin-inline-start: 0; }

.hero-features {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-features span {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0;
}

/* keep old class names harmless if referenced */
.hero-row { display: contents; }
.hero .eyebrow { display: none; }

/* ========== SECTIONS ========== */
section { padding: 90px 0; }
.section-light { background: var(--bg-light); }
.section-dark { background: var(--bg-dark-2); color: rgba(255,255,255,.6); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-primary { background: var(--primary); color: rgba(255,255,255,.65); }
.section-primary h1, .section-primary h2, .section-primary h3 { color: #fff; }
.section-black { background: var(--bg-dark-2); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: stretch;
}
.pillar {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pillar img.icon {
  width: 70px; height: auto; margin-bottom: 28px;
  filter: grayscale(1) contrast(1.05);
  opacity: .9;
}
.pillar h2.hs-3 { color: var(--heading-color); font-weight: 400; }
.pillar p { margin-bottom: 22px; max-width: 36ch; flex: 1 1 auto; }
.pillar .btn-main { margin-top: auto; align-self: flex-start; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-media {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-media > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-card {
  position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  color: #fff;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 18px;
  align-items: center;
}
.about-card .num {
  font-family: var(--heading-font);
  font-size: 60px;
  line-height: 1;
  color: #fff;
  font-weight: 400;
}
.about-card p { margin: 0; color: rgba(255,255,255,.92); font-size: 15px; line-height: 1.55; }

.tabs { margin-top: 8px; }
.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid rgba(0,0,0,.1);
  padding-bottom: 18px;
  margin-bottom: 20px;
}
.tab-nav button {
  border: 0;
  background: transparent;
  padding: 8px 18px;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  color: var(--body-color);
  border-radius: 4px;
  transition: .2s ease;
}
.tab-nav button.active {
  color: #fff;
  background: var(--primary);
  font-weight: 500;
}
.tab-panel { display: none; line-height: 30px; }
.tab-panel.active { display: block; }

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 70px;
  padding-top: 10px;
}
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-item .ic {
  width: 54px; height: 54px; border-radius: 12px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: transparent;
  color: var(--primary);
  border: 0;
}
.contact-item .ic svg {
  width: 40px;
  height: 40px;
  stroke: var(--secondary);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-item strong { display: block; color: var(--heading-color); font-weight: 600; line-height: 1.4; margin-bottom: 2px; }
.contact-item p { margin: 0; color: var(--body-color); }
.contact-item a { color: inherit; text-decoration: none; }
.contact-item a:hover { color: var(--secondary); }

/* Firm quote / commitment band */
.quote-band {
  padding: 100px 0;
}
.quote-band-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.quote-band-inner .subtitle { margin-bottom: 18px; }
.quote-mark {
  color: var(--secondary);
  font-size: 48px;
  line-height: 1;
  margin-bottom: 12px;
  font-family: Georgia, serif;
}
.quote {
  font-family: var(--heading-font);
  font-size: 32px;
  line-height: 1.45;
  color: #fff;
  margin: 0 0 28px;
  letter-spacing: -0.4px;
  font-weight: 400;
}
.quote-meta {
  display: grid;
  gap: 4px;
  margin-bottom: 28px;
  color: rgba(255,255,255,.78);
}
.quote-meta strong {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.quote-meta span { font-size: 13px; }

.section-head {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}
.section-head p { margin: 0; }

.team-group { margin-bottom: 50px; }
.team-group h2 {
  font-size: 28px;
  margin: 0 0 22px;
  color: var(--primary);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.team-grid-page {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ddd;
}
.team-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .5s ease;
}
.team-card:hover img { transform: scale(1.08); }
.team-meta {
  position: absolute; inset: auto 0 0;
  padding: 18px 14px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff; text-align: center;
}
.team-meta h3 { color: #fff; font-size: 22px; margin-bottom: 2px; }
.team-meta p { margin: 0; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.4; }

.practice-layout {
  display: grid;
  grid-template-columns: .85fr 1.55fr;
  gap: 50px;
  align-items: stretch;
}
.practice-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 100%;
  gap: 28px;
}
.practice-side .btn-main {
  width: auto;
  flex: 0 0 auto;
}
.practice-side h2 { max-width: 12ch; }
.practice-side-text {
  margin: 14px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 15px;
}
.practice-item h3 a { color: inherit; }
.practice-item h3 a:hover { color: var(--secondary); }

.practice-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 980px;
}
.practice-page-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 28px;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  background: #fff;
  scroll-margin-top: 110px;
}
.practice-page-num {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--bg-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 500;
}
.practice-page-card h2 {
  font-size: 26px;
  margin: 0 0 10px;
  color: var(--primary);
}
.practice-page-card p {
  margin: 0;
  line-height: 1.8;
  color: #555;
}

/* ========== Inner page subheader (Regalis) ========== */
.page-subheader {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--primary);
  padding: 120px 0 48px;
}
.page-subheader-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .45;
}
.page-subheader-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16,16,16,.55) 0%, rgba(33,52,73,.85) 100%);
}
.page-subheader-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.page-subheader h1 {
  color: #fff;
  margin: 0 0 12px;
  font-size: 48px;
}
.crumb {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: rgba(255,255,255,.75);
}
.crumb li:not(:last-child)::after {
  content: "›";
  margin-inline-start: 8px;
  opacity: .7;
}
.crumb a { color: rgba(255,255,255,.9); }
.crumb a:hover { color: var(--secondary); }
.crumb .active { color: #fff; }
.page-subheader-meta {
  margin: 12px 0 0;
  color: rgba(255,255,255,.8);
  font-size: 14px;
}

.contact-page-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contact-facts {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.contact-facts li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
}
.contact-fact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(234,166,56,.14);
  color: var(--secondary);
  display: grid;
  place-items: center;
}
.contact-fact-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-facts strong {
  display: block;
  color: var(--primary);
  font-size: 13px;
  margin-bottom: 2px;
}
.contact-facts span,
.contact-facts a {
  color: #555;
  font-size: 15px;
}
.contact-facts a:hover { color: var(--secondary); }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-form .full { grid-column: 1 / -1; }
.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  font-weight: 400;
  border: 1px solid #e5e9ef;
  border-radius: 8px;
  padding: 11px 12px;
  color: #111;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  color: #888;
}
.contact-map-section {
  padding: 0 0 80px;
  background: var(--bg-light);
}
.contact-map-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 12px 40px rgba(33,52,73,.08);
  background: #e8ecef;
  min-height: 380px;
}
.contact-map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}
  font-weight: 400;
}

/* ========== Practice hover grid (Regalis style) ========== */
.section-practice-grid {
  background: var(--bg-light);
  padding: 70px 0 90px;
}
.practice-hover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.practice-hover-card {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  min-height: 360px;
  color: #fff;
  isolation: isolate;
}
.practice-hover-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.practice-hover-card:hover .practice-hover-media {
  transform: scale(1.08);
}
.practice-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(var(--primary-rgb), .88);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 2;
}
.practice-hover-card:hover .practice-hover-overlay { opacity: 1; }
.practice-hover-gradient {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 55%;
  background: linear-gradient(0deg, rgba(var(--primary-rgb), .92) 0%, rgba(var(--primary-rgb), 0) 100%);
  z-index: 2;
  pointer-events: none;
  transition: opacity .3s ease;
}
.practice-hover-card:hover .practice-hover-gradient { opacity: 0; }
.practice-hover-icon {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  color: #fff;
  transition: opacity .3s ease, transform .35s ease;
  pointer-events: none;
}
.practice-hover-icon svg {
  width: 56px;
  height: 56px;
  opacity: .95;
}
.practice-hover-card:hover .practice-hover-icon {
  opacity: 0;
  transform: translateY(-12px);
}
.practice-hover-title {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 0 22px 28px;
  text-align: center;
  transition: opacity .25s ease, transform .3s ease;
}
.practice-hover-title h2 {
  color: #fff;
  font-size: 22px;
  margin: 0;
  line-height: 1.3;
}
.practice-hover-card:hover .practice-hover-title {
  opacity: 0;
  transform: translateY(10px);
}
.practice-hover-panel {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 26px;
  text-align: center;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.practice-hover-card:hover .practice-hover-panel {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.practice-hover-panel p {
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: 15px;
  line-height: 1.7;
  max-width: 28ch;
}
.practice-hover-panel .btn-main {
  pointer-events: none;
}

.practice-detail-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 40px;
  align-items: start;
}
.practice-detail-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: #dfe6ee;
}
.practice-detail-media img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}
.practice-detail-copy h2 { margin-bottom: 16px; }
.practice-detail-copy p {
  margin: 0 0 1rem;
  line-height: 1.85;
  color: #555;
}
.practice-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 28px;
}
.practice-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  align-items: flex-start;
}
.practice-item .box {
  width: 80px; height: 80px; border-radius: 10px;
  background: rgba(255,255,255,.12);
  display: grid; place-items: center;
  color: #fff; font-family: var(--heading-font); font-size: 22px;
}
.practice-item h3 { margin-bottom: 6px; }
.practice-item p { margin: 0; font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.65); }

.cases-head { margin-bottom: 30px; }
.news-section-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 28px 40px;
  align-items: end;
  margin-bottom: 36px;
}
.news-head-title h2 { margin-bottom: 0; max-width: 16ch; }
.news-head-copy p {
  margin: 0;
  color: var(--body-color);
  line-height: 1.75;
}
.news-head-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.news-nav {
  display: flex;
  gap: 6px;
}
.news-nav-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 4px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: opacity .2s ease, background .2s ease;
}
.news-nav-btn svg { width: 18px; height: 18px; display: block; }
.is-rtl .news-nav-btn svg { transform: scaleX(-1); }
.news-nav-btn:hover { opacity: .85; }
.news-nav-btn:disabled {
  opacity: .35;
  cursor: default;
}
.news-slider-wrap {
  overflow: hidden;
}
.cases-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(340px, 32vw);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 max(15px, calc((100vw - var(--max)) / 2)) 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cases-track::-webkit-scrollbar { display: none; }
.case-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
  min-height: 460px;
  color: #fff;
  display: block;
}
.case-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.case-card:hover img { transform: scale(1.1); }
.case-card .shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 20%, rgba(0,0,0,.78) 100%);
}
.case-card .body { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px; z-index: 1; }
.case-card h3 { color: #fff; font-size: 22px; margin-bottom: 8px; line-height: 1.35; }
.case-card span { color: rgba(255,255,255,.8); font-size: 14px; }

.page-hero { padding-top: 9rem; padding-bottom: 3rem; }
.page-hero h1 { margin-bottom: 12px; }
.page-lead { max-width: 640px; margin: 0; color: var(--body-color); }
.text-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}
.text-link:hover { color: var(--secondary); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.news-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.news-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dfe6ee;
}
.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.news-card:hover .news-card-media img { transform: scale(1.05); }
.news-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card-body time { font-size: 13px; color: var(--secondary); font-weight: 600; }
.news-card-body h2 { font-size: 24px; margin: 0; line-height: 1.3; }
.news-card-body h2 a:hover { color: var(--primary); }
.news-card-body p { margin: 0 0 8px; flex: 1; }
.news-card-body .btn-main { align-self: flex-start; margin-top: auto; }

.news-detail {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: start;
  max-width: 1100px;
}
.news-detail-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: #dfe6ee;
}
.news-detail-media img {
  width: 100%;
  height: auto;
  min-height: 360px;
  object-fit: cover;
}
.news-detail-body p {
  margin: 0 0 1.1rem;
  line-height: 1.85;
  color: #555;
}
.news-detail-body .btn-main { margin-top: 12px; }

.about-page-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.about-page-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-page-media > img {
  width: 100%;
  min-height: 480px;
  object-fit: cover;
  display: block;
}
.about-page-copy h2 { margin-bottom: 18px; }
.about-page-copy > p {
  margin: 0 0 1rem;
  line-height: 1.85;
  color: #555;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stats h3 { color: #fff; font-size: 48px; margin-bottom: 4px; line-height: 1.1; }
.stats p { margin: 0; color: rgba(255,255,255,.7); }

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.process-media {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius);
  overflow: hidden;
}
.process-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.timeline .item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  margin-bottom: 26px;
}
.timeline .num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--secondary); color: var(--primary);
  display: grid; place-items: center; font-weight: 700;
}
.timeline h3 { margin-bottom: 6px; }
.timeline p { margin: 0; }

.faq-layout {
  display: grid;
  grid-template-columns: .75fr 1.45fr;
  gap: 50px;
}
.faq-cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(0,0,0,.1);
  padding-bottom: 16px;
  margin-bottom: 8px;
}
.faq-cats button {
  border: 0;
  background: transparent;
  padding: 8px 18px;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  color: var(--body-color);
  border-radius: 4px;
}
.faq-cats button.active {
  color: #fff;
  background: var(--primary);
}
.faq-group { display: none; }
.faq-group.active { display: block; }
.accordion details { border-bottom: 1px solid rgba(0,0,0,.08); padding: 16px 0; }
.accordion summary {
  cursor: pointer; list-style: none;
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 500;
  color: var(--heading-color);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion p { margin: 10px 0 0; }

.site-footer {
  background: #0b1016;
  color: rgba(255,255,255,.68);
  padding-top: 90px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding-bottom: 50px;
}
.site-footer h4 { color: #fff; font-size: 18px; margin-bottom: 18px; }
.site-footer a:hover { color: var(--secondary); }
.footer-top li { margin-bottom: 8px; }
.subscribe-form { display: flex; gap: 8px; margin-top: 12px; }
.subscribe-form input {
  flex: 1; border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04); color: #fff;
  border-radius: 6px; padding: 12px 14px; font: inherit;
}
.subscribe-form button {
  border: 0; border-radius: 6px; background: var(--secondary);
  color: var(--primary); font-weight: 700; padding: 0 16px; cursor: pointer;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px;
}
.footer-bottom p { margin: 0; }
.footer-credit {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-sep { opacity: .45; }
.footer-credit a {
  color: var(--secondary);
  font-weight: 600;
}
.footer-credit a:hover { color: #f0b64d; }

.reveal,
[data-animate] {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition:
    opacity .85s cubic-bezier(.22, 1, .36, 1),
    transform .85s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible,
[data-animate].is-visible {
  opacity: 1;
  transform: none;
}
[data-animate="fade-right"] { transform: translate3d(-40px, 0, 0); }
[data-animate="fade-left"] { transform: translate3d(40px, 0, 0); }
[data-animate="fade-right"].is-visible,
[data-animate="fade-left"].is-visible { transform: none; }
[data-animate="zoom"] { transform: scale(.94); }
[data-animate="zoom"].is-visible { transform: none; }
[data-animate="fade"] { transform: none; }

.pillar,
.team-card,
.practice-item {
  transition: transform .35s ease;
}
.pillar:hover,
.team-card:hover { transform: translateY(-8px); }

#backToTop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
#backToTop:hover { filter: brightness(1.06); }

@media (prefers-reduced-motion: reduce) {
  .reveal, [data-animate] { opacity: 1; transform: none; transition: none; }
  .hero-bg { transform: none !important; }
}
@keyframes fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 1100px) {
  .header-phone { display: block; }
}

@media (max-width: 991px) {
  h1 { font-size: 40px; }
  h2 { font-size: 34px; line-height: 1.25; }
  .hero { min-height: 780px; }
  .hero-inner { padding-bottom: 40px; }
  .hero-main { grid-template-columns: 1fr; margin-bottom: 40px; gap: 24px; }
  .hero-copy h1 { max-width: none; font-size: 40px; }
  .hero-copy .lead { max-width: 100%; }
  .hero-clients { justify-content: flex-start; }
  .hero-clients-text { text-align: start; }
  .avatar-stack { justify-content: flex-start; }
  .hero-scroll-hint { display: none; }
  .hero-features { display: none; } /* Regalis sm-hide */
  .hero-row, .pillars, .about-grid, .section-head,
  .team-grid, .practice-layout, .practice-list, .stats,
  .process-grid, .faq-layout, .footer-top, .contact-strip {
    grid-template-columns: 1fr;
  }
  .quote-band { padding: 70px 0; }
  .quote { font-size: 24px; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute; top: 74px; left: 15px; right: 15px;
    background: rgba(16,16,16,.97);
    border-radius: 12px; padding: 18px;
    flex-direction: column; gap: 14px;
  }
  .main-nav.open { display: flex; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .cases-track { grid-auto-columns: minmax(280px, 85vw); padding-inline: 15px; }
  .news-section-head { grid-template-columns: 1fr; gap: 18px; }
  .news-head-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .news-head-title h2 { max-width: none; }
  .news-grid, .news-detail, .practice-detail-layout, .about-page-layout, .contact-page-layout { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-map-section { padding-bottom: 48px; }
  .contact-map-wrap iframe { height: 300px; }
  .practice-hover-grid { grid-template-columns: 1fr 1fr; }
  .page-subheader { min-height: 240px; padding-top: 110px; }
  .page-subheader h1 { font-size: 36px; }
  .news-head-side { max-width: none; }
  .practice-side h2 { max-width: none; }
  .quote { font-size: 24px; }
}

@media (max-width: 575px) {
  .brand img.logo { height: 42px; }
  .site-header.is-inner .brand img.logo,
  .site-header.is-scrolled .brand img.logo { height: 40px; }
  .team-grid { grid-template-columns: 1fr; }
  .practice-hover-grid { grid-template-columns: 1fr; }
  .hero { min-height: 700px; }
  .hero-copy h1 { font-size: 34px; }
}
