:root {
  --bg: #f5f1ea;
  --white: #ffffff;
  --dark: #111827;
  --dark-soft: #1f2937;
  --text: #4b5563;
  --muted: #6b7280;
  --gold: #b08d57;
  --gold-dark: #8e6f41;
  --line: #e5e7eb;
  --brand: #2d0c6b;
  --shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
  --shadow-soft: 0 10px 30px rgba(17, 24, 39, 0.06);
  --radius: 18px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Georgia", "Times New Roman", serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(92%, var(--container));
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 14px;
  color: var(--brand);
}

.section-text {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
  color: var(--text);
  font-size: 1.05rem;
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: "Georgia", "Times New Roman", serif;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 10px 20px rgba(176, 141, 87, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e8e3da;
  box-shadow: 0 4px 18px rgba(17, 24, 39, 0.04);
}

.navbar {
  display: grid;
  grid-template-columns: 270px 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 110px;
  height: 110px;
}

.logo-area {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo-box {
  width: 250px;
  height: 68px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo-img {
  width: 380px;
  height: auto;
  max-width: none;
  display: block;
  margin-left: 10px;
  margin-top: -4px;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  list-style: none;
  flex-wrap: nowrap;
}

.nav-links a {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-soft);
  transition: color 0.25s ease;
  letter-spacing: 0.05px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-dark);
}

.header-btn {
  justify-self: end;
}

.hero {
  position: relative;
  padding: 120px 0 95px;
  background:
    linear-gradient(rgba(10, 15, 25, 0.85), rgba(10, 15, 25, 0.82)),
    url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.14;
  margin-bottom: 10px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-motto {
  max-width: 620px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.5;
}

.hero p {
  max-width: 720px;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  text-align: justify;
  text-justify: inter-word;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.page-hero {
  padding: 90px 0 60px;
  background: linear-gradient(rgba(17, 24, 39, 0.82), rgba(17, 24, 39, 0.78)),
    url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.06rem;
  text-align: justify;
  text-justify: inter-word;
}

.features-grid,
.services-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.feature-card,
.service-card,
.article-card,
.about-box,
.info-card,
.contact-card,
.form-card,
.text-card,
.article-content,
.lawyer-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.feature-card,
.service-card,
.article-card,
.info-card,
.text-card {
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card:hover,
.service-card:hover,
.article-card:hover,
.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-card h3,
.service-card h3,
.article-card h3,
.info-card h3,
.text-card h3 {
  color: var(--brand);
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.feature-card p,
.service-card p,
.article-card p,
.info-card p,
.text-card p {
  color: var(--text);
  font-size: 1rem;
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.85;
}

.service-card a,
.article-card a {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold-dark);
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 700;
}

.about-wrap,
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 34px;
  align-items: center;
}

.about-box,
.text-card {
  padding: 36px;
}

.about-box h2,
.text-card h2 {
  font-size: 2rem;
  color: var(--brand);
  margin-bottom: 18px;
}

.about-box p,
.text-card p {
  color: var(--text);
  margin-bottom: 16px;
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.9;
}

.about-list {
  list-style: none;
  margin-top: 18px;
}

.about-list li {
  margin-bottom: 12px;
  color: var(--dark-soft);
}

.about-image img,
.side-image img {
  width: 100%;
  min-height: 480px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.contact-card,
.form-card {
  padding: 34px;
}

.contact-card h3,
.form-card h3 {
  color: var(--brand);
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.contact-info p {
  margin-bottom: 14px;
  color: var(--text);
  text-align: left;
}

.contact-info a {
  color: var(--gold-dark);
  font-weight: 700;
}

.contact-note {
  margin-top: 24px;
  color: var(--text);
  line-height: 1.8;
}

form {
  display: grid;
  gap: 14px;
}

label {
  color: var(--dark-soft);
  font-weight: 700;
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 12px;
  border: 1px solid #d8dce2;
  background: #fff;
  font-size: 0.96rem;
  font-family: "Georgia", "Times New Roman", serif;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

input:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(176, 141, 87, 0.10);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin-top: 6px;
  font-size: 0.95rem;
}

.form-status-success {
  color: #157347;
}

.form-status-error {
  color: #b42318;
}

.article-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.article-content {
  max-width: 850px;
  margin: 0 auto;
  padding: 40px;
}

.article-content h2 {
  color: var(--brand);
  font-size: 1.7rem;
  margin-bottom: 18px;
}

.article-content h3 {
  color: var(--brand);
  font-size: 1.25rem;
  margin: 26px 0 12px;
}

.article-content p {
  color: var(--text);
  margin-bottom: 16px;
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.9;
}

.article-content ul {
  margin: 0 0 18px 22px;
  color: var(--text);
}

.article-content li {
  margin-bottom: 10px;
}

.back-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold-dark);
  font-weight: 700;
}

footer {
  background: #111827;
  color: rgba(255, 255, 255, 0.78);
  padding: 30px 0;
  margin-top: 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.95rem;
}

.whatsapp-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  box-shadow: 0 16px 28px rgba(37, 211, 102, 0.26);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 34px rgba(37, 211, 102, 0.34);
}

.hero-text {
  display: block;
  max-width: 900px;
  width: 100%;
  margin-bottom: 30px;
  font-size: 1.12rem;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.92);
  text-align: justify !important;
  text-justify: inter-word;
}

.lawyers-section {
  padding: 80px 0;
}

.lawyer-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 30px;
  padding: 30px;
}

.lawyer-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
}

.lawyer-info h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #2d0c6b;
}

.lawyer-info p {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 12px;
  text-align: justify;
}

@media (max-width: 980px) {
  .navbar {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    padding: 14px 0;
    min-height: auto;
    height: auto;
  }

  .logo-area {
    justify-content: center;
    width: 100%;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
  }

  .header-btn {
    justify-self: center;
  }

  .features-grid,
  .services-grid,
  .info-grid,
  .about-wrap,
  .two-col,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

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

  .about-image img,
  .side-image img {
    min-height: 360px;
  }
}

@media (max-width: 768px) {
  .lawyer-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lawyer-image img {
    height: 260px;
  }

  .lawyer-info p {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 70px 0;
  }

  .logo-box {
    width: 220px;
    height: 64px;
  }

  .logo-img {
    width: 300px;
    margin-left: 0;
    margin-top: -2px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .page-hero {
    padding: 88px 0 72px;
  }

  .hero-motto {
    font-size: 0.82rem;
    margin-bottom: 14px;
  }

  .hero p,
  .page-hero p,
  .feature-card p,
  .service-card p,
  .article-card p,
  .info-card p,
  .text-card p,
  .about-box p,
  .article-content p {
    text-align: left;
  }

  .page-hero p,
  .hero p,
  .hero-text {
    font-size: 1rem;
  }

  .hero-text {
    max-width: 100%;
    text-align: left !important;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .article-content {
    padding: 28px 22px;
  }

  .whatsapp-btn {
    right: 14px;
    bottom: 14px;
    min-width: 120px;
    padding: 12px 18px;
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}
