/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-primary: #293241;
  --color-secondary: #55555e;
  --color-accent: #309C83;
  --color-cta: #EE6644;
  --color-text: #222222;
  --color-text-light: #575760;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8f9;
  --color-border: #cccccc;
  --color-dark-bg: #1a2332;
  --color-footer-bg: #0f1923;
  --font-heading: 'Lora', serif;
  --font-body: 'Open Sans', sans-serif;
  --container-max: 1200px;
  --section-padding: 80px 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

a { color: var(--color-accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: #267a66; }

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--color-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
}

.logo img { height: 45px; width: auto; }

.logo-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.main-nav { display: flex; align-items: center; gap: 0; }

.main-nav a {
  color: var(--color-text);
  font-size: 0.875rem;
  padding: 8px 14px;
  transition: color 0.3s;
  white-space: nowrap;
}

.main-nav a:hover { color: var(--color-accent); }

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7em;
}

.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-bg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 180px;
  border-radius: 4px;
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 0.85rem;
}

.dropdown-menu a:hover { background: var(--color-bg-alt); }

.nav-phone {
  background: var(--color-cta);
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 4px;
  font-weight: 600;
  margin-left: 10px;
}

.nav-phone:hover { background: #d9573a; color: #fff !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 500px;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(41, 50, 65, 0.75);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 60px 20px;
  width: 100%;
}

.hero-content { flex: 1; max-width: 600px; }

.hero-content h1 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero-form {
  flex: 0 0 360px;
  background: var(--color-bg-alt);
  border-radius: 8px;
  padding: 30px;
  color: var(--color-text);
}

.hero-form h3 {
  margin-bottom: 20px;
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
}

.btn-accent:hover { background: #267a66; color: #fff; }

.btn-cta {
  background: var(--color-cta);
  color: #fff;
}

.btn-cta:hover { background: #d9573a; color: #fff; }

/* ===== SECTIONS ===== */
.section { padding: var(--section-padding); }
.section-alt { background: var(--color-bg-alt); }
.section-dark { background: var(--color-primary); color: #fff; }
.section-dark h2, .section-dark h3, .section-dark p { color: #fff; }

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading h2 { margin-bottom: 15px; }
.section-heading p { color: var(--color-text-light); max-width: 700px; margin: 0 auto; }

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 40px;
  align-items: start;
}

.about-img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.about-img img { width: 100%; height: auto; object-fit: cover; }

.about-content h2 { margin-bottom: 10px; }
.about-content h3 { color: var(--color-accent); font-size: 1.1rem; margin-bottom: 20px; font-family: var(--font-body); font-weight: 600; }
.about-content p { margin-bottom: 16px; color: var(--color-text-light); }

/* ===== SERVICES LIST (inline flowing with separators) ===== */
.services-section { text-align: center; }

.services-section .section-divider {
  width: 100%;
  max-width: 900px;
  height: 1px;
  background: var(--color-border);
  margin: 30px auto 20px;
}

.services-list {
  display: inline;
  list-style: none;
  margin-top: 20px;
  line-height: 2.2;
}

.services-list li {
  display: inline;
  font-size: 0.95rem;
  white-space: nowrap;
}

.services-list li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: 700;
  margin-right: 4px;
}

.services-list li + li::before {
  margin-left: 6px;
}

.services-list li::after {
  content: ' \00B7';
  color: var(--color-text-light);
  margin: 0 4px;
}

.services-list li:last-child::after {
  content: '';
}

/* ===== LEGAL HELP (2-column text) ===== */
.legal-help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.legal-help-grid h2 { grid-column: 1 / -1; text-align: center; margin-bottom: 10px; }
.legal-help-grid p { color: var(--color-text-light); }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--color-bg-alt); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--color-bg);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.testimonial-card .stars { color: #f5a623; font-size: 1.2rem; margin-bottom: 15px; }
.testimonial-card blockquote { font-style: italic; color: var(--color-text-light); margin-bottom: 15px; line-height: 1.6; font-size: 0.95rem; }
.testimonial-card .author { font-weight: 600; color: var(--color-text); }

/* ===== LOCATION ===== */
.location-section { text-align: center; }
.location-section p { max-width: 700px; margin: 0 auto 20px; color: var(--color-text-light); }

.map-embed {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 8px;
  margin-top: 30px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
  padding: 80px 20px;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(41, 50, 65, 0.85);
}

.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: 25px; }
.cta-banner h2 a { color: var(--color-cta); text-decoration: none; }
.cta-banner h2 a:hover { color: #d9573a; }
.cta-banner .btn { margin: 0 8px; }

/* ===== CONTACT SECTION ===== */
.contact-section-alt {
  background: var(--color-bg-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}

.contact-info h3 { margin-bottom: 20px; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--color-text-light);
}

.contact-detail a { color: var(--color-text-light); }
.contact-detail a:hover { color: var(--color-accent); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-submit {
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.form-submit:hover { background: #267a66; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-dark-bg);
  color: #fff;
  text-align: center;
  padding: 60px 20px 30px;
}

.footer-inner { max-width: var(--container-max); margin: 0 auto; }

.footer-firm h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.footer-firm .divider {
  width: 2px;
  height: 40px;
  background: var(--color-accent);
  margin: 20px auto;
}

.footer-firm p {
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 15px;
  font-size: 0.95rem;
}

.footer-contact { margin: 20px 0; }

.footer-contact a {
  color: rgba(255,255,255,0.8);
  display: block;
  margin-bottom: 5px;
}

.footer-contact a:hover { color: var(--color-accent); }

.back-to-top {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 24px;
  border: 1px solid var(--color-accent);
  border-radius: 4px;
  color: var(--color-accent);
  font-size: 0.9rem;
}

.back-to-top:hover { background: var(--color-accent); color: #fff; }

.footer-bottom {
  background: var(--color-footer-bg);
  padding: 15px 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--color-accent); }

/* ===== SHARE EXPERIENCE PAGE ===== */
.share-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.share-grid img { border-radius: 8px; }

.review-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

/* ===== ABOUT PAGE HERO BANNER ===== */
.about-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 300px;
  display: flex;
  align-items: center;
  color: #fff;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(41, 50, 65, 0.7);
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 60px 20px;
  width: 100%;
}

.about-hero-content {
  flex: 1;
  max-width: 600px;
}

.about-hero-content h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.about-hero-content p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.about-hero-form {
  flex: 0 0 320px;
  background: var(--color-bg-alt);
  border-radius: 8px;
  padding: 25px;
  color: var(--color-text);
}

.about-hero-form h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  text-align: center;
}

.about-hero-form .callback-note {
  font-size: 0.85rem;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 15px;
}

.about-hero-form .callback-note a {
  color: var(--color-cta);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .about-hero-inner { flex-direction: column; text-align: center; }
  .about-hero-form { flex: 1; width: 100%; max-width: 400px; }
}

/* ===== ABOUT BIO (2-column) ===== */
.bio-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
}

.bio-columns p { color: var(--color-text-light); font-size: 0.95rem; }

/* ===== LANGUAGE TOGGLE ===== */
.lang-toggle {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
}

.lang-toggle a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.lang-toggle a.active { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }

/* ===== SERVICES PAGE (inline flowing with separators) ===== */
.services-page-list {
  list-style: none;
  padding: 0;
  margin: 20px auto 0;
  max-width: 900px;
  line-height: 2.6;
  text-align: center;
}

.services-page-list li {
  display: inline;
  font-size: 1.05rem;
}

.services-page-list li::before {
  content: '✓ ';
  color: var(--color-accent);
  font-weight: 700;
}

.services-page-list li + li::before {
  content: '  ✓ ';
  margin-left: 0;
}

.services-page-list li::after {
  content: '  ·';
  color: var(--color-text-light);
  margin: 0 2px;
}

.services-page-list li:last-child::after {
  content: '';
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-form { flex: 1; width: 100%; max-width: 420px; }
  .about-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .legal-help-grid { grid-template-columns: 1fr; }
  .share-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero-content h1 { font-size: 2rem; }
  :root { --section-padding: 50px 0; }

  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 10px 0;
  }

  .main-nav.open a { padding: 12px 20px; }
  .main-nav.open .nav-dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 20px;
  }

  .hamburger { display: flex; }

  .bio-columns { grid-template-columns: 1fr; }
  .review-columns { grid-template-columns: 1fr; }
}
