/* LAW VU Law Firm - Attorna Theme Styles */

:root {
  --gold: #b1946f;
  --gold-dark: #967d5a;
  --dark: #1a1a1a;
  --dark-bg: #222222;
  --text: #666666;
  --text-light: #999999;
  --white: #ffffff;
  --light-bg: #f5f5f5;
  --border: #e5e5e5;
  --container: 1200px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

body.nav-open .site-header {
  z-index: 1100;
}

body.has-fixed-header {
  padding-top: var(--site-header-height, 80px);
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--light-bg);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.top-bar-left span,
.top-bar-left a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-left i { color: var(--gold); font-size: 12px; }
.top-bar-left a:hover { color: var(--gold); }

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-links { display: flex; gap: 12px; }
.social-links a { color: var(--text); font-size: 13px; }
.social-links a:hover { color: var(--gold); }

.btn-consultant {
  background: var(--gold);
  color: var(--white);
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s;
}

.btn-consultant:hover { background: var(--gold-dark); color: var(--white); }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
}

.header {
  background: var(--white);
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  position: relative;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 20px;
}

.booking-link {
  color: var(--dark);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.booking-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.main-nav { display: flex; align-items: center; }

.nav-close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--dark);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
  pointer-events: none;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.nav-open { overflow: hidden; }

.logo img { height: 55px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  position: relative;
  padding: 5px 0;
}

.nav-menu a.active,
.nav-menu a:hover { color: var(--gold); }

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

.header-icons {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--dark);
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

/* ===== AUTH NAV ===== */
.auth-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.auth-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  white-space: nowrap;
}

.auth-link:hover { color: var(--gold); }

.auth-btn-signup {
  background: var(--gold);
  color: var(--white);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.auth-btn-signup:hover {
  background: var(--gold-dark);
  color: var(--white);
}

.auth-profile {
  display: flex;
  align-items: center;
  gap: 6px;
}

.auth-profile i { font-size: 18px; color: var(--gold); }

.auth-logout-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  padding: 0;
}

.nav-auth-block {
  display: none;
  border-top: 1px solid var(--border);
  margin-top: 12px;
  padding-top: 12px;
}

.nav-mobile-auth {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  color: var(--dark);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  cursor: pointer;
}

.nav-mobile-auth:hover { color: var(--gold); }

.nav-signup-link { color: var(--gold); font-weight: 600; }

.nav-admin-link { font-size: 13px; color: var(--text-light); }

.nav-logout-btn { color: #c0392b; }

/* ===== AUTH PAGES ===== */
.auth-page-wrap {
  max-width: 480px;
  margin: 0 auto;
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px 36px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}

.auth-card h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--dark);
  margin-bottom: 8px;
  text-align: center;
}

.auth-card .auth-sub {
  text-align: center;
  font-size: 14px;
  margin-bottom: 28px;
  color: var(--text);
}

.auth-error {
  background: #fdecea;
  color: #c0392b;
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 20px;
  border: 1px solid #f5c6cb;
}

.auth-footer-link {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
}

.auth-footer-link a { color: var(--gold); font-weight: 500; }

.password-field {
  position: relative;
}

.password-field input {
  width: 100%;
  padding-right: 48px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
}

.toggle-password:hover { color: var(--gold); }

/* ===== PROFILE ===== */
.profile-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.profile-avatar {
  width: 72px;
  height: 72px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--gold);
}

.profile-detail {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.profile-detail span { color: var(--text-light); }

.profile-detail strong { color: var(--dark); text-align: right; }

.profile-actions {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-logout {
  background: #c0392b;
  color: var(--white);
  border: none;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-logout:hover { background: #a93226; }

.btn-delete-account {
  background: transparent;
  color: #c0392b;
  border: 2px solid #c0392b;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-delete-account:hover {
  background: #c0392b;
  color: var(--white);
}

.btn-delete-account.btn-sm {
  padding: 8px 14px;
  font-size: 11px;
}

.login-gate-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 48px 32px;
}

.login-gate-box i {
  font-size: 48px;
  color: var(--gold);
  margin-bottom: 20px;
}

.login-gate-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.shop-user-info {
  background: var(--light-bg);
  border: 1px solid var(--border);
  padding: 20px 24px;
  margin-bottom: 28px;
}

.shop-user-info h4 {
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 12px;
}

.shop-user-info p {
  font-size: 14px;
  margin-bottom: 6px;
}

.shop-user-info span {
  color: var(--text-light);
  margin-right: 8px;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  height: 85vh;
  min-height: 550px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.active { opacity: 1; z-index: 1; }

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

.hero-subtitle {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero-subtitle::before,
.hero-subtitle::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 16px;
  max-width: 600px;
  margin-bottom: 32px;
  opacity: 0.9;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  padding: 16px 36px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(177,148,111,0.4);
  color: var(--white);
}

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-dot.active { background: var(--gold); border-color: var(--gold); }

/* ===== SECTION COMMON ===== */
.section { padding: 90px 0; }

.section-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 38px);
  color: var(--dark);
  text-align: center;
  margin-bottom: 16px;
}

.section-divider {
  width: 1px;
  height: 40px;
  background: var(--gold);
  margin: 0 auto 50px;
}

.section-divider-h {
  width: 40px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 24px;
}

/* ===== ABOUT ===== */
.about-section {
  position: relative;
  margin-top: -80px;
  z-index: 10;
  padding-bottom: 90px;
}

.about-box {
  background: var(--white);
  box-shadow: 0 10px 60px rgba(0,0,0,0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.about-text {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.about-text p { margin-bottom: 30px; }

.about-signature {
  font-family: 'Dancing Script', cursive;
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 4px;
}

.about-role {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
}

.about-image {
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ===== PRACTICE AREAS ===== */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}

.practice-item {
  text-align: center;
  padding: 30px 20px;
  transition: transform 0.3s;
}

.practice-item:hover { transform: translateY(-5px); }

.practice-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  color: var(--gold);
  font-size: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.practice-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.practice-item p { font-size: 14px; margin-bottom: 16px; }

.practice-item a {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.practice-item a:hover { color: var(--gold-dark); }

.practice-item a:hover { color: var(--gold-dark); }

.section-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px;
  font-size: 15px;
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

.practice-grid-9 {
  grid-template-columns: repeat(3, 1fr);
}

/* ===== PAGE BANNER ===== */
.page-banner {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 100px 0 80px;
  text-align: center;
  color: var(--white);
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

.page-banner .container { position: relative; z-index: 1; }

.page-banner h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 12px;
}

.breadcrumb {
  font-size: 14px;
  opacity: 0.85;
}

.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ===== PRACTICE AREAS PAGE ===== */
.practice-page-intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 60px;
  font-size: 16px;
}

.practice-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.practice-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}

.practice-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.practice-card-img {
  height: 180px;
  overflow: hidden;
}

.practice-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.practice-card:hover .practice-card-img img { transform: scale(1.08); }

.practice-card-body {
  padding: 28px 24px;
}

.practice-card-body i {
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 14px;
}

.practice-card-body h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 10px;
}

.practice-card-body p {
  font-size: 14px;
  margin-bottom: 16px;
}

.practice-card-body a {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.practice-card-body a:hover { color: var(--gold-dark); }

/* ===== BLOG PAGE ===== */
.blog-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 30px;
}

.blog-post-card {
  border: 1px solid var(--border);
  background: var(--white);
  transition: box-shadow 0.3s;
}

.blog-post-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.08); }

.blog-post-thumb {
  position: relative;
  overflow: hidden;
  padding: 12px 12px 0;
}

.blog-post-thumb img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s;
}

.blog-post-card:hover .blog-post-thumb img { transform: scale(1.05); }

.sticky-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  z-index: 2;
}

.blog-post-body { padding: 24px 28px 32px; }

.blog-post-body h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 14px;
}

.blog-post-body h3 a { color: var(--dark); }
.blog-post-body h3 a:hover { color: var(--gold); }

.blog-post-excerpt {
  font-size: 14px;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-post-meta {
  font-size: 13px;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.blog-post-meta a { color: var(--gold); }

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
  transition: all 0.3s;
}

.blog-pagination a:hover,
.blog-pagination span.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.page-content { padding: 80px 0; }

.page-content-alt { background: var(--light-bg); }

/* ===== CONTACT FORM ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.contact-info-box h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--dark);
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item i {
  color: var(--gold);
  font-size: 18px;
  margin-top: 4px;
  min-width: 20px;
}

.contact-info-item strong {
  display: block;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-form-box {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}

.contact-form-box h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--dark);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ===== SHOP / CONSULTATION ===== */
.shop-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.shop-form-box {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px;
}

.shop-form-box h3,
.booking-panel h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-section-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin: 28px 0 14px;
}

.consult-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.consult-option { cursor: pointer; }

.consult-option input { position: absolute; opacity: 0; pointer-events: none; }

.consult-option-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 2px solid var(--border);
  transition: border-color 0.3s, background 0.3s;
}

.consult-option input:checked + .consult-option-inner {
  border-color: var(--gold);
  background: rgba(177,148,111,0.08);
}

.consult-option-icon {
  width: 40px;
  height: 40px;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.consult-option-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  line-height: 1.3;
}

.consult-option-text small { color: var(--text-light); font-size: 12px; }

.consult-option-price {
  font-weight: 700;
  color: var(--dark);
  font-size: 16px;
}

.order-summary {
  background: var(--light-bg);
  border: 1px solid var(--border);
  padding: 28px;
  position: sticky;
  top: calc(var(--site-header-height, 100px) + 20px);
}

.order-summary h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.order-summary p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 14px;
}

.order-summary p span { color: var(--text-light); }

.summary-total {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid var(--gold);
  font-size: 18px !important;
}

.summary-total strong { color: var(--gold); }

.shop-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 16px;
}

.shop-note-warning {
  color: #b45309;
  background: #fff8e6;
  border: 1px solid #fcd34d;
  padding: 12px 14px;
  border-radius: 4px;
}

.shop-note-warning i { color: #d97706; }

.shop-coffee-box {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 2px dashed var(--border);
}

.shop-coffee-inner {
  background: linear-gradient(135deg, #fffaf5 0%, #fff 100%);
  border: 1px solid #e8d5c4;
  padding: 36px 40px;
}

.shop-coffee-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.shop-coffee-icon {
  width: 56px;
  height: 56px;
  background: #6f4e37;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.shop-coffee-inner h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 8px;
}

.shop-coffee-inner > .shop-coffee-header p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.btn-coffee {
  background: #6f4e37 !important;
  margin-top: 20px;
}

.btn-coffee:hover { background: #5a3f2c !important; }

.consult-option-coffee .consult-option-icon { background: #f5ebe0; color: #6f4e37; }

.badge-coffee { background: #f5ebe0; color: #6f4e37; }

.coffee-custom-wrap {
  margin-top: 24px;
  padding: 20px;
  background: var(--white);
  border: 1px dashed #d4b896;
}

.coffee-custom-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gold);
  margin-bottom: 12px;
}

.coffee-custom-row {
  display: flex;
  align-items: center;
  max-width: 280px;
  border: 1px solid var(--border);
  background: var(--white);
}

.coffee-custom-prefix {
  padding: 14px 16px;
  background: #f5ebe0;
  color: #6f4e37;
  font-weight: 600;
  border-right: 1px solid var(--border);
}

.coffee-custom-input {
  flex: 1;
  border: none;
  padding: 14px 16px;
  font-size: 16px;
  font-family: var(--font-body);
  min-width: 0;
}

.coffee-custom-input:focus {
  outline: none;
}

.coffee-custom-hint {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 10px;
}

.coffee-custom-hint-error { color: #c0392b; }

.btn-pay {
  width: 100%;
  margin-top: 24px;
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-pay:hover { background: var(--gold-dark); }

/* ===== BOOKING PAGE ===== */
.booking-panel {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px;
  text-align: center;
}

.booking-panel-left { text-align: left; }

.booking-unpaid-icon {
  font-size: 56px;
  color: var(--gold);
  margin-bottom: 20px;
}

.payment-details {
  background: var(--light-bg);
  padding: 24px;
  margin: 24px 0;
  text-align: left;
}

.payment-details p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 14px;
}

.payment-details span { color: var(--text-light); }

.booking-success-icon {
  font-size: 64px;
  color: #4caf50;
  margin-bottom: 16px;
}

.booking-details-card {
  background: var(--light-bg);
  padding: 24px;
  margin: 24px 0;
  text-align: left;
}

.booking-details-card p {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}

.booking-note {
  font-size: 14px;
  margin: 20px 0 28px;
  color: var(--text);
}

.weekday-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 8px;
}

@media (max-width: 768px) {
  .contact-layout,
  .shop-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .consult-options { grid-template-columns: 1fr; }
  .contact-form-box,
  .shop-form-box { padding: 28px 20px; }
  .order-summary { position: static; }
}

/* ===== WHY CHOOSE US ===== */
.why-section {
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  position: relative;
  color: var(--white);
  padding: 100px 0;
}

.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
}

.why-section .container { position: relative; z-index: 1; }

.why-section .section-label { color: var(--gold); }
.why-section .section-title { color: var(--white); }

.why-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: left;
  font-size: 14px;
  opacity: 0.9;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 50px 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-item { text-align: center; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--gold);
  text-transform: capitalize;
}

/* ===== CONSULTATION FORM ===== */
.consultation-wrapper {
  position: relative;
  margin-top: -60px;
  z-index: 10;
  padding-bottom: 90px;
}

.consultation-box {
  background: var(--white);
  box-shadow: 0 10px 60px rgba(0,0,0,0.12);
  padding: 50px 60px;
  position: relative;
  overflow: hidden;
}

.consultation-box::after {
  content: '';
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 200px;
  background: url('../images/scaleJustice.jpeg') center/contain no-repeat;
  opacity: 0.06;
}

.consultation-header {
  text-align: center;
  margin-bottom: 40px;
}

.consultation-header h3 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--dark);
  margin-bottom: 12px;
}

.consultation-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--dark);
  outline: none;
  transition: border-color 0.3s;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }

.form-group textarea { resize: vertical; min-height: 120px; }

.field-hint {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-light);
}

.field-hint i { color: var(--gold); margin-right: 4px; }

.btn-submit {
  grid-column: 1 / -1;
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 16px 40px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  justify-self: start;
}

.btn-submit:hover { background: var(--gold-dark); }

/* ===== TEAM ===== */
.team-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
}

.team-header .section-title { text-align: left; margin-bottom: 0; }
.team-header .section-divider-h { margin-bottom: 0; }

.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 12px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

.team-slider-wrap { overflow: hidden; position: relative; }

.team-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}

.team-card {
  flex: 0 0 calc(25% - 18px);
  position: relative;
  overflow: hidden;
}

.team-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s;
}

.team-card:hover img { transform: scale(1.05); }

.team-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 40px 20px 20px;
  color: var(--white);
}

.team-info h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 4px;
}

.team-info span {
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.team-nav button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  font-size: 16px;
  color: var(--text);
  transition: all 0.3s;
}

.team-nav button:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ===== SERVICES ===== */
.services-section { background: var(--light-bg); }

.services-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.services-intro h3 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--dark);
  margin-bottom: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-box {
  background: var(--white);
  padding: 40px 30px;
  text-align: center;
  transition: box-shadow 0.3s;
}

.service-box:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.08); }

.service-box i {
  font-size: 40px;
  color: var(--gold);
  margin-bottom: 20px;
}

.service-box h4 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 12px;
}

.service-box p { font-size: 14px; }

/* ===== TESTIMONIALS ===== */
.testimonial-section { background: var(--dark-bg); color: var(--white); padding: 100px 0; }

.testimonial-section .section-label { color: var(--gold); }
.testimonial-section .section-title { color: var(--white); }

.testimonial-slider { position: relative; max-width: 800px; margin: 0 auto; }

.testimonial-slide {
  display: none;
  text-align: center;
  padding: 0 20px;
}

.testimonial-slide.active { display: block; }

.testimonial-quote {
  font-size: 60px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-author h5 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 4px;
}

.testimonial-author span {
  font-size: 13px;
  color: var(--gold);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.testimonial-dot.active { background: var(--gold); }

/* ===== CASE STUDIES ===== */
.case-slider-wrap { overflow: hidden; }

.case-track {
  display: flex;
  gap: 0;
  transition: transform 0.5s ease;
}

.case-card {
  flex: 0 0 20%;
  position: relative;
  overflow: hidden;
}

.case-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s;
}

.case-card:hover img { transform: scale(1.1); }

.case-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: var(--white);
  text-align: center;
  padding: 20px;
}

.case-card:hover .case-overlay { opacity: 1; }

.case-overlay h5 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 6px;
}

.case-overlay span {
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== CTA ===== */
.cta-section {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
}

.cta-section .container { position: relative; z-index: 1; }

.cta-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 36px);
  color: var(--gold);
  margin-bottom: 20px;
}

.cta-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  font-size: 14px;
}

.cta-contact span { display: flex; align-items: center; gap: 8px; }
.cta-contact i { color: var(--gold); }

.cta-divider {
  width: 1px;
  height: 60px;
  background: var(--gold);
  margin: 50px auto;
}

.newsletter h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }

.newsletter-form button {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 16px 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-form button:hover { background: var(--gold-dark); }

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.blog-card { overflow: hidden; }

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s;
}

.blog-card:hover img { transform: scale(1.05); }

.blog-card-body { padding: 24px 0; }

.blog-card h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card h4 a:hover { color: var(--gold); }

.blog-meta {
  font-size: 13px;
  color: var(--text-light);
}

.blog-meta a { color: var(--gold); }

.blog-cta { text-align: center; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-bg);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 24px;
}

.footer-contact p {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}

.footer-contact i {
  color: var(--gold);
  margin-top: 4px;
  min-width: 16px;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: var(--gold); }

.footer-social { display: flex; gap: 16px; }
.footer-social a { color: rgba(255,255,255,0.7); font-size: 15px; }
.footer-social a:hover { color: var(--gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .practice-grid-9 { grid-template-columns: repeat(2, 1fr); }
  .practice-card-grid { grid-template-columns: repeat(2, 1fr); }
  .team-card { flex: 0 0 calc(33.333% - 16px); }
  .case-card { flex: 0 0 33.333%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar-left { font-size: 11px; gap: 4px 10px; }
  .top-bar-left span:nth-child(2) { display: none; }
  .btn-consultant { display: none; }

  .nav-overlay { display: block; }

  .menu-toggle { display: flex; align-items: center; justify-content: center; }

  .logo img { height: 44px; }

  .header-inner { min-height: 64px; }

  .header-actions { margin-left: auto; gap: 8px; }

  .auth-nav .auth-name { display: none; }

  .auth-btn-signup { padding: 7px 10px; font-size: 11px; }

  .auth-link { font-size: 12px; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    z-index: 1050;
    background: var(--white);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(0,0,0,0.15);
    padding: 60px 24px 30px;
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
  }

  .main-nav.open { transform: translateX(0); }

  .nav-close {
    display: block;
    z-index: 2;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-menu li { border-bottom: 1px solid var(--border); }

  .nav-menu a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
  }

  .nav-menu a.active::after { display: none; }

  .nav-menu a.active {
    color: var(--gold);
    font-weight: 600;
  }

  .nav-auth-block { display: block; }

  .hero-slider { height: 60vh; min-height: 380px; }

  .hero-title {
    font-size: clamp(32px, 10vw, 48px);
    letter-spacing: 2px;
  }

  .hero-subtitle::before,
  .hero-subtitle::after { width: 24px; }

  .page-banner { padding: 70px 0 50px; }

  .auth-card { padding: 28px 20px; }

  .about-box { grid-template-columns: 1fr; }
  .about-image { height: 350px; }
  .about-text { padding: 40px 30px; }

  .why-text { grid-template-columns: 1fr; }
  .consultation-box { padding: 40px 24px; }
  .consultation-form { grid-template-columns: 1fr; }

  .team-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .team-card { flex: 0 0 calc(50% - 12px); }

  .services-intro { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }

  .blog-grid { grid-template-columns: 1fr; }
  .blog-page-grid { grid-template-columns: 1fr; }
  .practice-card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .case-card { flex: 0 0 50%; }

  .case-slider-wrap,
  .team-slider-wrap {
    overflow: hidden;
    max-width: 100%;
  }

  .top-bar-right .social-links { display: none; }

  .floating-actions { right: 12px; bottom: 16px; }
}

@media (max-width: 480px) {
  .practice-grid { grid-template-columns: 1fr; }
  .practice-grid-9 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .team-card { flex: 0 0 100%; }
  .case-card { flex: 0 0 100%; }
}

/* ===== UNIFIED AUTH ===== */
.auth-page-section { padding-top: 40px; }

.auth-card-unified { max-width: 520px; margin: 0 auto; }

.account-type-pill {
  display: flex;
  position: relative;
  background: var(--light-bg);
  border-radius: 50px;
  padding: 4px;
  margin-bottom: 24px;
}

.account-type-btn {
  flex: 1;
  position: relative;
  border: none;
  background: transparent;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  z-index: 2;
  transition: color 0.3s;
}

.account-type-btn.active { color: var(--white); }

.account-type-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: var(--gold);
  border-radius: 50px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  pointer-events: none;
}

.account-type-slider.to-admin { transform: translateX(100%); }

.mode-pill-wrap { display: flex; justify-content: center; margin-bottom: 28px; }

.mode-pill {
  display: flex;
  position: relative;
  background: var(--light-bg);
  border-radius: 50px;
  padding: 4px;
  min-width: 220px;
}

.mode-pill-btn {
  flex: 1;
  position: relative;
  border: none;
  background: transparent;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  z-index: 2;
  transition: color 0.3s;
}

.mode-pill-btn.active { color: var(--white); }

.mode-pill-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: var(--dark);
  border-radius: 50px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  pointer-events: none;
}

.mode-pill-slider.to-signup { transform: translateX(100%); }

.auth-slides-viewport { overflow: hidden; width: 100%; }

.auth-slides-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 0 4px;
}

.auth-slide h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  text-align: center;
  color: var(--dark);
  margin-bottom: 6px;
}

.auth-form { display: flex; flex-direction: column; gap: 16px; }

.btn-center {
  align-self: center;
  min-width: 200px;
  text-align: center;
  justify-content: center;
}

/* ===== PANEL TABS ===== */
.panel-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.panel-tab {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: var(--text);
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.panel-tab:hover { border-color: var(--gold); color: var(--gold); }

.panel-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.panel-section { display: none; }
.panel-section.active { display: block; }

.panel-heading {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--dark);
}

.dash-stat {
  background: var(--gold);
  color: var(--white);
  padding: 24px;
  text-align: center;
  margin-bottom: 24px;
  border-radius: 4px;
}

.dash-stat strong { display: block; font-size: 36px; font-family: var(--font-heading); }

.data-table-wrap { overflow-x: auto; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  text-align: left;
}

.data-table th {
  background: var(--light-bg);
  font-weight: 600;
  color: var(--dark);
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 3px;
}

.badge-user { background: #e3f2fd; color: #1565c0; }
.badge-admin { background: #fce4ec; color: #c2185b; }
.badge-success { background: #e8f5e9; color: #2e7d32; }
.badge-failed { background: #fdecea; color: #c0392b; }
.badge-scheduled { background: #fff3e0; color: #e65100; }
.badge-completed { background: #e8f5e9; color: #2e7d32; }
.badge-updated { background: #ede7f6; color: #5e35b1; white-space: nowrap; }
.text-muted { color: var(--text-light); font-size: 13px; }

.apt-date-group { margin-bottom: 28px; }

.apt-date-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--primary);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
}

.apt-date-count {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
}

.apt-card {
  border: 1px solid var(--border);
  padding: 20px;
  margin-bottom: 16px;
  background: var(--white);
}

.apt-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.apt-edit-row {
  display: flex;
  gap: 10px;
  margin: 12px 0;
  flex-wrap: wrap;
}

.apt-edit-row input,
.apt-edit-row select {
  flex: 1;
  min-width: 140px;
  padding: 10px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
}

.apt-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.btn-sm { padding: 8px 16px !important; font-size: 12px !important; }

.empty-msg { text-align: center; color: var(--text-light); padding: 40px 20px; }

.alert-box {
  background: #fff8e1;
  border: 1px solid #ffe082;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #795548;
}

.alert-box a { color: var(--gold); font-weight: 600; }

/* ===== FLOATING ACTIONS ===== */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fab-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: transform 0.2s, box-shadow 0.2s;
  color: var(--white);
  text-decoration: none;
}

.fab-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.22); }

#fabTheme { background: var(--dark); }

.fab-coming-soon {
  opacity: 0.65;
  cursor: not-allowed;
  position: relative;
}

.fab-coming-soon:hover { transform: none; }

.fab-email { background: var(--gold); }
.fab-whatsapp { background: #25d366; }
.fab-scroll {
  background: var(--gold-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.fab-scroll.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===== DARK THEME ===== */
[data-theme="dark"] {
  --dark: #f0f0f0;
  --text: #b0b0b0;
  --text-light: #888;
  --white: #1a1a1a;
  --light-bg: #252525;
  --border: #3a3a3a;
  --dark-bg: #111;
}

[data-theme="dark"] body { background: #1a1a1a; color: var(--text); }

[data-theme="dark"] .site-header,
[data-theme="dark"] .header,
[data-theme="dark"] .shop-form-box,
[data-theme="dark"] .profile-card,
[data-theme="dark"] .auth-card,
[data-theme="dark"] .apt-card,
[data-theme="dark"] .contact-form-box,
[data-theme="dark"] .login-gate-box,
[data-theme="dark"] .main-nav {
  background: #222;
}

[data-theme="dark"] .top-bar { background: #111; }

[data-theme="dark"] .footer { background: #111; }

[data-theme="dark"] .nav-menu a,
[data-theme="dark"] .auth-link { color: #e0e0e0; }

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background: #2a2a2a;
  color: #eee;
  border-color: #444;
}

[data-theme="dark"] .data-table th { background: #2a2a2a; }

[data-theme="dark"] .panel-tab { background: #222; color: #ccc; }

[data-theme="dark"] .panel-tab.active { color: #fff; }

/* ===== CONFIRM MODAL & TOAST ===== */
.confirm-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.confirm-modal.open {
  opacity: 1;
  visibility: visible;
}

.confirm-modal-box {
  background: var(--white);
  padding: 32px 28px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.confirm-modal-box h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 12px;
}

.confirm-modal-box p {
  font-size: 14px;
  margin-bottom: 24px;
  color: var(--text);
}

.confirm-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.confirm-modal-actions .btn-outline,
.confirm-modal-actions .btn-logout {
  min-width: 120px;
  padding: 12px 20px;
}

body.modal-open { overflow: hidden; }

.coming-soon-toast {
  position: fixed;
  bottom: 100px;
  right: 20px;
  background: var(--dark);
  color: var(--white);
  padding: 14px 20px;
  font-size: 14px;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  z-index: 10001;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  max-width: 280px;
}

.coming-soon-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.coming-soon-toast i { color: var(--gold); }

.apt-readonly-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.apt-card.apt-readonly { background: var(--light-bg); }

/* ===== PAGE LOADER ===== */
.page-loader {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-inner {
  text-align: center;
}

.page-loader-text {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.lawvu-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e8d5c4;
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: lawvuSpin 0.85s linear infinite;
  margin: 0 auto;
}

@keyframes lawvuSpin {
  to { transform: rotate(360deg); }
}

.action-loader {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 20001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.action-loader.show {
  opacity: 1;
  visibility: visible;
}

.action-loader-box {
  background: var(--white);
  padding: 28px 36px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  min-width: 200px;
}

.action-loader-box p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text);
}

.auth-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  text-align: center;
  border-radius: 4px;
}

/* ===== MOBILE OVERFLOW FIX ===== */
main,
section,
header,
footer,
.page-content,
.hero-slider,
.case-slider-wrap,
.team-slider-wrap,
.top-bar,
.cta-section {
  max-width: 100%;
}

.data-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

@media (max-width: 768px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-title {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .stats-grid {
    padding: 30px 16px;
  }

  .page-banner h1 {
    font-size: clamp(28px, 8vw, 40px);
    word-break: break-word;
  }
}
