/* =============================================
   SIMBARASHE RANDOLPH PASVANI — PERSONAL SITE
   Theme: Clean Professional | Navy · Sky · White · Black
   ============================================= */

:root {
  --navy:       #0a1628;
  --navy-mid:   #112240;
  --navy-light: #1a3258;
  --sky:        #38bdf8;
  --sky-light:  #7dd3fc;
  --sky-dark:   #0ea5e9;
  --white:      #ffffff;
  --off-white:  #f8fafc;
  --light-gray: #e2e8f0;
  --mid-gray:   #94a3b8;
  --dark:       #0f172a;
  --text:       #1e293b;
  --text-light: #64748b;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --nav-h: 72px;
  --radius: 4px;
  --shadow-sm: 0 2px 8px rgba(10,22,40,0.08);
  --shadow-md: 0 8px 32px rgba(10,22,40,0.14);
  --shadow-lg: 0 20px 60px rgba(10,22,40,0.2);
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--off-white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--light-gray); }
::-webkit-scrollbar-thumb { background: var(--sky-dark); border-radius: 3px; }

/* ============================
   NAVBAR
   ============================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
#navbar.scrolled {
  border-bottom-color: var(--light-gray);
  box-shadow: var(--shadow-sm);
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
}
.nav-logo {
  width: 36px; height: 36px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--sky); font-size: 1rem;
  font-family: var(--font-display); font-weight: 700;
  border-radius: 6px;
  flex-shrink: 0;
}
.nav-name {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700;
  color: var(--navy); line-height: 1.1;
}
.nav-name span { display: block; font-size: 0.62rem; font-weight: 400; color: var(--mid-gray); font-family: var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 1px; }

.nav-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-links a {
  font-size: 0.78rem; font-weight: 500;
  color: var(--text-light); padding: 6px 14px;
  border-radius: var(--radius);
  transition: var(--transition); letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--navy); background: var(--light-gray); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-links .nav-cta {
  background: var(--navy); color: var(--white) !important;
  padding: 8px 18px; border-radius: var(--radius);
  font-weight: 600;
}
.nav-links .nav-cta:hover { background: var(--navy-light); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: var(--transition);
}

/* ============================
   HERO
   ============================ */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 60px) 56px 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(56,189,248,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(56,189,248,0.06) 0%, transparent 45%);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(56,189,248,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 720px;
  animation: fadeUp 0.9s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(56,189,248,0.15);
  border: 1px solid rgba(56,189,248,0.3);
  color: var(--sky-light);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 28px;
}
.hero-tag::before { content: ''; width: 6px; height: 6px; background: var(--sky); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700; color: var(--white);
  line-height: 1.08; margin-bottom: 8px;
}
.hero h1 .sky-text { color: var(--sky); }

.hero-sub-name {
  font-size: 1.1rem; color: var(--sky-light);
  margin-bottom: 20px; font-weight: 400; opacity: 0.85;
}

.hero p {
  font-size: 1.05rem; color: rgba(255,255,255,0.65);
  max-width: 520px; line-height: 1.8; margin-bottom: 44px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 40px; left: 56px;
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.3);
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  z-index: 1;
}
.hero-scroll-dot {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(56,189,248,0.6), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop { 0%,100%{transform:scaleY(1);opacity:1} 50%{transform:scaleY(.5);opacity:.4} }

/* ============================
   BUTTONS
   ============================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  background: var(--sky);
  color: var(--navy) !important;
  font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.04em; border-radius: var(--radius);
  transition: var(--transition); border: none; cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary:hover { background: var(--sky-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(56,189,248,0.35); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--white) !important;
  font-weight: 500; font-size: 0.8rem;
  letter-spacing: 0.04em; border-radius: var(--radius);
  transition: var(--transition);
}
.btn-outline:hover { border-color: var(--sky); color: var(--sky) !important; background: rgba(56,189,248,0.08); }

.btn-navy {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  background: var(--navy);
  color: var(--white) !important;
  font-weight: 600; font-size: 0.8rem;
  border-radius: var(--radius); transition: var(--transition);
  border: none; cursor: pointer; font-family: var(--font-body);
}
.btn-navy:hover { background: var(--navy-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-sky-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 28px;
  border: 1.5px solid var(--sky);
  color: var(--sky) !important;
  font-weight: 600; font-size: 0.8rem;
  border-radius: var(--radius); transition: var(--transition);
}
.btn-sky-outline:hover { background: var(--sky); color: var(--navy) !important; }

/* ============================
   STATS BAR
   ============================ */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
  padding: 32px 56px;
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 56px; text-align: center;
  border-right: 1px solid var(--light-gray);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  color: var(--navy); line-height: 1;
}
.stat-label {
  font-size: 0.68rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-light); margin-top: 4px;
}

/* ============================
   SECTIONS
   ============================ */
.section {
  padding: 96px 56px;
  max-width: 1200px; margin: 0 auto;
}
.section-full {
  padding: 96px 56px;
}
.section-eyebrow {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sky-dark); margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before {
  content: ''; width: 24px; height: 2px; background: var(--sky-dark);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700; color: var(--navy); line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-light); font-size: 1rem; max-width: 520px; line-height: 1.8;
}
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-eyebrow { justify-content: center; }
.section-header.center .section-eyebrow::before { display: none; }
.section-header.center .section-sub { margin: 0 auto; }

/* ============================
   ABOUT PREVIEW
   ============================ */
.about-preview {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
  max-width: 1200px; margin: 0 auto;
  padding: 96px 56px;
}
.about-photo-wrap { position: relative; }
.about-photo-box {
  aspect-ratio: 3/4; background: var(--navy);
  border-radius: 8px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.about-photo-box img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.25);
}
.photo-placeholder .placeholder-icon { font-size: 56px; opacity: 0.3; }
.photo-placeholder p { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; }

.about-accent-card {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--sky);
  padding: 20px 24px; border-radius: 6px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.about-accent-card .big-num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1;
}
.about-accent-card small {
  display: block; font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--navy-mid);
  margin-top: 2px;
}

.about-content p {
  color: var(--text-light); font-size: 0.95rem; line-height: 1.85; margin-bottom: 18px;
}
.credential-list { margin: 28px 0 36px; display: flex; flex-direction: column; gap: 12px; }
.cred-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: var(--off-white);
  border: 1px solid var(--light-gray); border-radius: var(--radius);
  border-left: 3px solid var(--sky);
}
.cred-item p { font-size: 0.88rem; color: var(--text); font-weight: 500; }

/* ============================
   PRACTICE / SERVICES GRID
   ============================ */
.services-bg {
  background: var(--navy);
  padding: 96px 56px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; max-width: 1200px; margin: 0 auto;
}
.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 36px 28px;
  transition: var(--transition); cursor: pointer;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--sky);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover { background: rgba(56,189,248,0.06); border-color: rgba(56,189,248,0.25); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 48px; height: 48px;
  background: rgba(56,189,248,0.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 20px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  color: var(--white); margin-bottom: 10px;
}
.service-card p { color: rgba(255,255,255,0.55); font-size: 0.87rem; line-height: 1.75; margin-bottom: 20px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.stag {
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sky-light);
  background: rgba(56,189,248,0.1);
  padding: 3px 10px; border-radius: 100px;
}

/* ============================
   ARTICLES
   ============================ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 8px; padding: 32px 28px;
  transition: var(--transition);
  display: flex; flex-direction: column;
  cursor: pointer;
}
.article-card:hover {
  border-color: var(--sky);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.article-meta {
  display: flex; gap: 10px; align-items: center;
  margin-bottom: 14px; flex-wrap: wrap;
}
.art-tag {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(10,22,40,0.07);
  color: var(--navy); padding: 3px 10px; border-radius: 100px;
}
.art-date { font-size: 0.75rem; color: var(--text-light); }
.article-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  color: var(--navy); line-height: 1.3;
  margin-bottom: 10px; flex-grow: 1;
}
.article-card p { color: var(--text-light); font-size: 0.87rem; line-height: 1.75; margin-bottom: 20px; }
.art-read {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--sky-dark); display: flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.article-card:hover .art-read { gap: 10px; }
.loading-articles {
  grid-column: 1/-1; text-align: center;
  color: var(--text-light); padding: 48px; font-style: italic;
}

/* ============================
   CTA STRIP
   ============================ */
.cta-strip {
  background: var(--sky);
  padding: 72px 56px; text-align: center;
}
.cta-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700; color: var(--navy);
  margin-bottom: 12px;
}
.cta-strip p { color: rgba(10,22,40,0.7); font-size: 1rem; margin-bottom: 32px; }
.cta-strip-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-navy-solid {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; background: var(--navy); color: var(--white) !important;
  font-weight: 700; font-size: 0.8rem; border-radius: var(--radius);
  transition: var(--transition);
}
.btn-navy-solid:hover { background: var(--navy-light); transform: translateY(-1px); }
.btn-white-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border: 2px solid var(--navy);
  color: var(--navy) !important; font-weight: 600; font-size: 0.8rem;
  border-radius: var(--radius); transition: var(--transition);
}
.btn-white-outline:hover { background: rgba(10,22,40,0.08); }

/* ============================
   CONTACT PAGE
   ============================ */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 64px; max-width: 1100px; margin: 0 auto;
  padding: 80px 56px;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 700; color: var(--navy); margin-bottom: 24px;
}
.contact-detail {
  display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px;
}
.c-icon {
  width: 42px; height: 42px; background: var(--navy);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--sky); flex-shrink: 0; margin-top: 2px;
}
.contact-detail h4 {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--sky-dark); margin-bottom: 3px;
}
.contact-detail p, .contact-detail a {
  color: var(--text-light); font-size: 0.9rem; transition: var(--transition);
}
.contact-detail a:hover { color: var(--navy); }

.contact-form-box {
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: 10px; padding: 44px; box-shadow: var(--shadow-sm);
}
.contact-form-box h2 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 28px;
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label {
  display: block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 14px;
  background: var(--off-white); border: 1.5px solid var(--light-gray);
  color: var(--text); font-family: var(--font-body);
  font-size: 0.9rem; border-radius: var(--radius);
  transition: var(--transition); outline: none; -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px; cursor: pointer;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--sky); background: var(--white);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--mid-gray); }
.form-success {
  display: none; padding: 14px 18px;
  background: rgba(14,165,233,0.1);
  border: 1px solid var(--sky); border-radius: var(--radius);
  color: var(--sky-dark); font-size: 0.88rem; margin-bottom: 20px;
}

/* ============================
   ABOUT PAGE
   ============================ */
.about-full {
  display: grid; grid-template-columns: 380px 1fr;
  gap: 64px; max-width: 1100px; margin: 0 auto;
  padding: 80px 56px;
}
.about-sidebar { position: sticky; top: 100px; align-self: start; }
.about-sidebar-photo {
  aspect-ratio: 3/4; background: var(--navy);
  border-radius: 10px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; position: relative;
}
.sidebar-badge {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  background: var(--sky); padding: 12px 16px; border-radius: 6px;
  text-align: center;
}
.sidebar-badge .b-name {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700; color: var(--navy);
}
.sidebar-badge .b-title {
  font-size: 0.7rem; font-weight: 500; color: var(--navy-mid);
  text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px;
}
.about-main p { color: var(--text-light); font-size: 0.95rem; line-height: 1.85; margin-bottom: 20px; }
.about-main h2 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700; color: var(--navy);
  margin: 36px 0 14px; padding-bottom: 10px;
  border-bottom: 2px solid var(--light-gray);
}
.values-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0 32px;
}
.value-card {
  background: var(--off-white); border: 1px solid var(--light-gray);
  border-radius: 8px; padding: 20px 18px;
  border-top: 3px solid var(--sky);
}
.value-card h4 { font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.value-card p { font-size: 0.82rem; color: var(--text-light); margin: 0; }

/* ============================
   PRACTICE AREAS PAGE
   ============================ */
.practice-full {
  max-width: 1100px; margin: 0 auto; padding: 80px 56px;
  display: flex; flex-direction: column; gap: 24px;
}
.practice-block {
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: 10px; padding: 44px 40px;
  display: grid; grid-template-columns: 200px 1fr;
  gap: 40px; align-items: start;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.practice-block:hover { border-color: var(--sky); box-shadow: var(--shadow-md); }
.pb-icon-wrap { text-align: center; }
.pb-icon {
  width: 64px; height: 64px; background: var(--navy);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 12px;
}
.pb-icon-wrap h3 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.2;
}
.pb-body h4 {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--sky-dark); margin-bottom: 10px;
}
.pb-body p { color: var(--text-light); font-size: 0.9rem; line-height: 1.8; margin-bottom: 16px; }
.pb-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-tag {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--navy);
  background: rgba(10,22,40,0.07);
  padding: 4px 12px; border-radius: 100px;
}

/* ============================
   ARTICLE DETAIL
   ============================ */
.article-detail {
  max-width: 760px; margin: 0 auto; padding: 80px 56px;
}
.article-detail-header { margin-bottom: 40px; }
.article-detail-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; color: var(--navy); line-height: 1.15; margin-bottom: 16px;
}
.article-detail-body { color: var(--text); font-size: 1rem; line-height: 1.9; }
.article-detail-body h2 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: var(--navy); margin: 36px 0 14px;
}
.article-detail-body h3 {
  font-size: 1rem; font-weight: 700; color: var(--navy); margin: 24px 0 10px;
}
.article-detail-body p { margin-bottom: 18px; color: var(--text-light); }
.article-detail-body ul, .article-detail-body ol {
  margin: 0 0 18px 24px; color: var(--text-light);
}
.article-detail-body li { margin-bottom: 8px; }
.article-detail-body blockquote {
  border-left: 4px solid var(--sky);
  padding: 18px 24px; margin: 28px 0;
  background: rgba(56,189,248,0.06);
  border-radius: 0 6px 6px 0;
  font-style: italic; color: var(--navy);
  font-size: 1.05rem;
}
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--sky-dark);
  margin-bottom: 36px; transition: var(--transition);
}
.back-link:hover { gap: 12px; }

/* ============================
   PAGE HERO
   ============================ */
.page-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 56px) 56px 64px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(56,189,248,0.1) 0%, transparent 60%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.page-hero .section-eyebrow { color: var(--sky-light); }
.page-hero .section-eyebrow::before { background: var(--sky-light); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700; color: var(--white); line-height: 1.08; margin-bottom: 16px;
}
.page-hero p { color: rgba(255,255,255,0.6); font-size: 1rem; max-width: 520px; line-height: 1.8; }

/* ============================
   ARTICLES FILTERS
   ============================ */
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 8px 18px; border-radius: 100px;
  border: 1.5px solid var(--light-gray);
  background: none; color: var(--text-light);
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  border-color: var(--navy); color: var(--navy);
  background: rgba(10,22,40,0.06);
}

/* ============================
   ADMIN
   ============================ */
.login-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.login-box {
  background: var(--white); border-radius: 12px;
  padding: 48px 40px; max-width: 400px; width: 100%;
  text-align: center; box-shadow: var(--shadow-lg);
}
.login-box .login-logo {
  width: 56px; height: 56px; background: var(--navy);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700; color: var(--sky);
}
.login-box h2 {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
  color: var(--navy); margin-bottom: 6px;
}
.login-box .login-sub { color: var(--text-light); font-size: .85rem; margin-bottom: 28px; }
.login-error { color: #dc2626; font-size: .78rem; margin-bottom: 14px; display: none; }

.admin-wrap { max-width: 920px; margin: 0 auto; padding: 120px 56px 80px; }
.admin-wrap h1 {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  color: var(--navy); margin-bottom: 6px;
}
.admin-sub { color: var(--text-light); margin-bottom: 44px; }
.admin-section { margin-bottom: 44px; }
.admin-section-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--sky-dark);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--light-gray);
}
.admin-article-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; background: var(--white);
  border: 1px solid var(--light-gray); border-radius: 6px; margin-bottom: 8px;
}
.admin-article-item .art-info span { font-size: .9rem; color: var(--text); font-weight: 500; }
.admin-article-item .art-info small { display: block; color: var(--text-light); font-size: .75rem; }
.admin-btn-group { display: flex; gap: 8px; }
.admin-btn {
  padding: 6px 14px; border-radius: 4px;
  background: none; border: 1.5px solid var(--light-gray);
  color: var(--text-light); font-family: var(--font-body);
  font-size: .72rem; font-weight: 600; cursor: pointer; transition: var(--transition);
}
.admin-btn:hover { border-color: var(--navy); color: var(--navy); }
.admin-btn.delete:hover { border-color: #dc2626; color: #dc2626; }
.admin-form-box {
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: 10px; padding: 36px; box-shadow: var(--shadow-sm);
}
.admin-note {
  padding: 14px 18px; background: rgba(14,165,233,0.08);
  border-left: 3px solid var(--sky); border-radius: 0 4px 4px 0;
  color: var(--text-light); font-size: .82rem; margin-top: 12px;
}
.toolbar-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tbtn {
  padding: 5px 12px; background: var(--off-white);
  border: 1px solid var(--light-gray); color: var(--text-light);
  font-family: var(--font-body); font-size: .72rem; font-weight: 600;
  border-radius: 4px; cursor: pointer; transition: var(--transition);
}
.tbtn:hover { border-color: var(--navy); color: var(--navy); }
.tab-row { display: flex; border-bottom: 2px solid var(--light-gray); margin-bottom: 0; }
.etab {
  padding: 9px 18px; background: none; border: none;
  font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  color: var(--text-light); cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: var(--transition);
}
.etab.active { color: var(--navy); border-bottom-color: var(--navy); }
.preview-box {
  background: var(--off-white); border: 1.5px solid var(--light-gray);
  border-top: none; padding: 20px; min-height: 100px; display: none;
  border-radius: 0 0 var(--radius) var(--radius);
  color: var(--text-light); font-size: .9rem; line-height: 1.8;
}
.preview-box h2 { font-family: var(--font-display); color: var(--navy); margin-bottom: 10px; font-size:1.3rem; }
.preview-box blockquote { border-left: 3px solid var(--sky); padding: 10px 16px; background: rgba(56,189,248,.06); margin: 12px 0; }

/* ============================
   FOOTER
   ============================ */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 56px 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; max-width: 1200px; margin: 0 auto 48px;
}
.footer-brand-name {
  font-family: var(--font-display); font-size: 1.1rem;
  font-weight: 700; color: var(--white); margin-bottom: 8px;
}
.footer-brand-title {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--sky); margin-bottom: 14px;
}
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.86rem; line-height: 1.75; }
.footer-reg {
  margin-top: 16px;
  font-size: 0.72rem; color: rgba(255,255,255,0.3);
  border-left: 2px solid rgba(56,189,248,0.4);
  padding-left: 12px; line-height: 1.7;
}
footer h4 {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--sky); margin-bottom: 18px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.45); font-size: 0.87rem; transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact p { color: rgba(255,255,255,0.45); font-size: 0.87rem; margin-bottom: 8px; }
.footer-contact a { color: rgba(255,255,255,0.45); transition: var(--transition); }
.footer-contact a:hover { color: var(--sky); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.72rem; color: rgba(255,255,255,0.25);
  flex-wrap: wrap; gap: 6px;
}

/* ============================
   TOAST
   ============================ */
.toast {
  position: fixed; bottom: 28px; right: 28px;
  background: var(--navy); color: var(--white);
  padding: 12px 22px; border-radius: 6px;
  font-size: 0.82rem; font-weight: 500;
  box-shadow: var(--shadow-md);
  transform: translateY(60px); opacity: 0;
  transition: var(--transition); z-index: 9999;
  border-left: 3px solid var(--sky);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 900px) {
  #navbar { padding: 0 24px; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--white); flex-direction: column; gap: 0;
    border-top: 1px solid var(--light-gray);
    box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
  }
  .nav-links.open { max-height: 420px; }
  .nav-links li { border-bottom: 1px solid var(--light-gray); }
  .nav-links a { display: block; padding: 16px 24px; border-radius: 0; }
  .nav-links .nav-cta { margin: 12px 24px; border-radius: var(--radius); display: block; text-align: center; }

  .hero { padding: calc(var(--nav-h) + 40px) 24px 60px; }
  .hero-scroll { display: none; }
  .section, .section-full { padding: 64px 24px; }
  .about-preview { grid-template-columns: 1fr; gap: 40px; padding: 64px 24px; }
  .about-full { grid-template-columns: 1fr; gap: 40px; padding: 64px 24px; }
  .about-sidebar { position: static; }
  .services-bg { padding: 64px 24px; }
  .stats-bar { padding: 24px; gap: 0; }
  .stat-item { padding: 8px 24px; border-right: none; border-bottom: 1px solid var(--light-gray); width: 50%; }
  .stat-item:nth-child(even) { border-left: 1px solid var(--light-gray); }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; padding: 64px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .practice-full { padding: 64px 24px; }
  .practice-block { grid-template-columns: 1fr; gap: 20px; padding: 32px 24px; }
  .pb-icon-wrap { text-align: left; display: flex; align-items: center; gap: 16px; }
  .pb-icon { width: 48px; height: 48px; font-size: 1.3rem; margin: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .article-detail { padding: 64px 24px; }
  .page-hero { padding: calc(var(--nav-h) + 32px) 24px 48px; }
  .admin-wrap { padding: 100px 24px 60px; }
  .values-grid { grid-template-columns: 1fr; }
  .cta-strip { padding: 64px 24px; }
}
