/* Ahmed Saleh El-Malti — Legal Services
   Black & Gold Professional Theme */

:root {
  --black: #0a0a0a;
  --black-soft: #141414;
  --black-card: #1a1a1a;
  --gold: #c9a227;
  --gold-light: #e8c547;
  --gold-dark: #9a7b1a;
  --gold-muted: rgba(201, 162, 39, 0.15);
  --white: #f5f5f0;
  --gray: #a0a0a0;
  --gray-dark: #666;
  --font-ar: 'Cairo', sans-serif;
  --font-en: 'Cormorant Garamond', Georgia, serif;
  --transition: 0.3s ease;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --radius: 4px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ar);
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

body.lang-en {
  font-family: var(--font-en);
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.12);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
}

.logo-icon {
  font-size: 1.75rem;
  color: var(--gold);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text span:first-child {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gold-light);
}

.logo-sub {
  font-size: 0.72rem;
  color: var(--gray);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

body[dir="rtl"] .nav-links a::after {
  transform-origin: right;
}

body[dir="ltr"] .nav-links a::after {
  transform-origin: left;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: var(--radius);
  transition: var(--transition);
  font-family: inherit;
}

.lang-btn:hover {
  background: var(--gold);
  color: var(--black);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 7rem 0 4rem;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 162, 39, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--black-soft) 0%, var(--black) 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 162, 39, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 162, 39, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-tag {
  display: inline-block;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 2px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--white) 30%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.lang-en .hero-title {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--black);
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(201, 162, 39, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold-muted);
  color: var(--gold-light);
}

.btn-full {
  width: 100%;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-dark);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Stats */
.stats {
  background: var(--black-soft);
  border-top: 1px solid rgba(201, 162, 39, 0.1);
  border-bottom: 1px solid rgba(201, 162, 39, 0.1);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

body.lang-en .stat-num {
  font-family: var(--font-en);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray);
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-tag {
  display: inline-block;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

body.lang-en .section-title {
  font-weight: 600;
}

.section-desc {
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-frame {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 380px;
  margin: 0 auto;
  background: var(--black-card);
  border: 1px solid rgba(201, 162, 39, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-accent {
  position: absolute;
  width: 60%;
  height: 60%;
  border: 2px solid var(--gold);
  top: -12px;
  right: -12px;
  z-index: -1;
}

body[dir="ltr"] .about-accent {
  right: auto;
  left: -12px;
}

.about-text {
  color: var(--gray);
  margin-bottom: 1rem;
}

.about-features {
  list-style: none;
  margin-top: 1.5rem;
}

.about-features li {
  padding: 0.6rem 0;
  padding-inline-start: 1.75rem;
  position: relative;
  color: var(--white);
  font-weight: 500;
}

.about-features li::before {
  content: '◆';
  position: absolute;
  inset-inline-start: 0;
  color: var(--gold);
  font-size: 0.6rem;
  top: 0.85rem;
}

/* Services */
.services {
  background: var(--black-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--black-card);
  border: 1px solid rgba(201, 162, 39, 0.1);
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: rgba(201, 162, 39, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.65;
}

/* CTA */
.cta-box {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--black-card) 0%, rgba(201, 162, 39, 0.08) 100%);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: var(--radius);
}

.cta-box h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.cta-box p {
  color: var(--gray);
  margin-bottom: 2rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(201, 162, 39, 0.08);
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-muted);
  border-radius: var(--radius);
}

.contact-item h4 {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}

.contact-item p,
.contact-item a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
}

.contact-item a:hover {
  color: var(--gold-light);
}

.contact-form {
  background: var(--black-card);
  border: 1px solid rgba(201, 162, 39, 0.15);
  padding: 2rem;
  border-radius: var(--radius);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--black-soft);
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: var(--radius);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group select option {
  background: var(--black-card);
}

/* Footer */
.footer {
  background: var(--black-soft);
  border-top: 1px solid rgba(201, 162, 39, 0.1);
  padding: 3rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.footer-desc {
  color: var(--gray);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  line-height: 1.7;
}

.footer-nav,
.footer-contact {
  list-style: none;
}

.footer-nav li,
.footer-contact li {
  margin-bottom: 0.5rem;
}

.footer-nav a,
.footer-contact a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--gold-light);
}

.footer-contact li {
  color: var(--gray);
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(201, 162, 39, 0.08);
  padding: 1.25rem 0;
  text-align: center;
}

.footer-copy {
  color: var(--gray-dark);
  font-size: 0.85rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Active nav */
.nav-links a.active {
  color: var(--gold-light);
}

.nav-links a.active::after {
  transform: scaleX(1);
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 9rem 0 4rem;
  text-align: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(201, 162, 39, 0.1) 0%, transparent 60%),
    var(--black-soft);
  z-index: 0;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--white) 30%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: var(--gray);
}

.breadcrumbs a {
  color: var(--gold);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--gold-light);
}

.breadcrumb-sep {
  margin: 0 0.5rem;
  color: var(--gray-dark);
}

.breadcrumb-current {
  color: var(--white);
}

/* Hero home split */
.hero-home {
  min-height: 100vh;
  padding-top: 5rem;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 5rem);
}

.hero-image-wrap {
  position: relative;
  max-width: 420px;
  margin-inline-start: auto;
}

.hero-image {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 162, 39, 0.25);
  box-shadow: var(--shadow);
  display: block;
}

.hero-image-frame {
  position: absolute;
  inset: -12px;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.4;
}

.hero-content {
  text-align: start;
}

.hero-home .hero-content {
  max-width: none;
}

/* Section header row */
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.section-desc-left {
  color: var(--gray);
  margin-top: 0.5rem;
}

/* Service card link */
.service-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color var(--transition);
}

.service-link:hover {
  color: var(--gold-light);
}

.service-card-link {
  display: flex;
  flex-direction: column;
}

.service-card-link .service-link {
  margin-top: auto;
  padding-top: 1rem;
}

/* Service detail */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.service-detail-image {
  position: relative;
}

.service-detail-image img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.service-detail-badge {
  position: absolute;
  bottom: -1rem;
  inset-inline-end: -1rem;
  width: 64px;
  height: 64px;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: var(--shadow);
}

.service-detail-content h2 {
  font-size: 1.75rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.service-long {
  color: var(--gray);
  margin-bottom: 1.5rem;
  line-height: 1.85;
}

.service-detail-content h3 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-features li {
  padding: 0.5rem 0;
  padding-inline-start: 1.5rem;
  position: relative;
  color: var(--white);
}

.service-features li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  color: var(--gold);
  font-weight: 700;
}

.service-others {
  background: var(--black-soft);
}

.service-others .section-title {
  text-align: center;
  margin-bottom: 2rem;
}

/* Values cards */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--black-card);
  border: 1px solid rgba(201, 162, 39, 0.12);
  padding: 2rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.value-card:hover {
  border-color: rgba(201, 162, 39, 0.35);
  transform: translateY(-3px);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  color: var(--gold-light);
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.value-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

.value-list {
  list-style: none;
}

.value-list li {
  color: var(--gray);
  padding: 0.35rem 0;
  padding-inline-start: 1.25rem;
  position: relative;
  font-size: 0.95rem;
}

.value-list li::before {
  content: '◆';
  position: absolute;
  inset-inline-start: 0;
  color: var(--gold);
  font-size: 0.55rem;
  top: 0.65rem;
}

.about-photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.about-photos-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 162, 39, 0.15);
  transition: var(--transition);
}

.about-photos-grid img:hover {
  border-color: var(--gold);
  transform: scale(1.02);
}

/* Gallery */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.gallery-filter {
  background: transparent;
  border: 1px solid rgba(201, 162, 39, 0.25);
  color: var(--gray);
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  border-radius: 2rem;
  transition: var(--transition);
}

.gallery-filter:hover,
.gallery-filter.active {
  background: var(--gold-muted);
  border-color: var(--gold);
  color: var(--gold-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery-grid-preview {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  aspect-ratio: 4/3;
  border: 1px solid rgba(201, 162, 39, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  font-size: 0.8rem;
  color: var(--white);
  transform: translateY(100%);
  transition: transform var(--transition);
}

.gallery-item:hover figcaption {
  transform: translateY(0);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(201, 162, 39, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-overlay span {
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 300;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: var(--radius);
}

.lightbox-content p {
  color: var(--gold-light);
  margin-top: 1rem;
  font-size: 0.95rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold);
  color: var(--black);
}

.lightbox-close {
  top: 1.5rem;
  inset-inline-end: 1.5rem;
}

.lightbox-prev {
  inset-inline-start: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  inset-inline-end: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

main {
  padding-top: 0;
}

body:not([data-page="home"]) main {
  min-height: 60vh;
}

.services-preview,
.gallery-preview-section {
  background: var(--black-soft);
}

.about-cards-section {
  background: var(--black-soft);
}

/* WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-start: 1.5rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* Responsive */
@media (max-width: 992px) {
  .services-grid,
  .gallery-grid,
  .gallery-grid-preview {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid,
  .service-detail-grid,
  .hero-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-image-wrap {
    margin: 0 auto;
    max-width: 320px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-home .hero-actions {
    justify-content: center;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-photos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(280px, 85vw);
    height: 100vh;
    background: var(--black-soft);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    border-inline-start: 1px solid rgba(201, 162, 39, 0.15);
  }

  body[dir="ltr"] .nav-links {
    right: auto;
    left: 0;
    transform: translateX(-100%);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .services-grid,
  .gallery-grid,
  .gallery-grid-preview {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}
