/* 
======================================================================
  ADVOCATE N. VIGNESHWARAN - LEGAL SERVICES
  PREMIUM CSS STYLESHEET
  Author: Antigravity
======================================================================
*/

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* --- Design Tokens & Variables --- */
:root {
  /* Colors */
  --primary-dark: #050505;
  --secondary-dark: #080808;
  --gold: #C9A227;
  --bright-gold: #D4AF37;
  --light-gold: #E0C15A;
  --white: #FFFFFF;
  --light-bg: #F7F7F5;
  --text-dark: #172033;
  --text-muted: #5C6B73;
  --border-light: rgba(201, 162, 39, 0.25);
  --border-medium: rgba(201, 162, 39, 0.25);

  /* Fonts */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container-max-width: 1200px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 4px 15px rgba(201, 162, 39, 0.2);
}

/* --- Base Resets --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: #FFFFFF;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.2rem;
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* --- Layout Elements --- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-padding {
  padding-top: 80px;
  padding-bottom: 80px;
}

.bg-light {
  background-color: var(--light-bg);
}

.bg-dark {
  background-color: var(--primary-dark);
  color: var(--white);
}

.bg-dark h2,
.bg-dark h3,
.bg-dark h4 {
  color: var(--white);
}

/* Section Header Utility */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-tag {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.bg-dark .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 28px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  outline: none;
}

.btn-primary {
  background-color: var(--gold);
  color: #050505;
}

.btn-primary:hover {
  background-color: var(--bright-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-secondary:hover {
  background-color: var(--gold);
  color: #050505;
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--primary-dark);
  color: var(--white);
}

.btn-dark:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline-gold:hover {
  background-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

/* Icons within buttons */
.btn i {
  margin-left: 8px;
  font-size: 0.8rem;
}

/* --- Header & Navigation --- */
.top-info-bar {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1001;
  position: relative;
}

.top-info-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-info-item {
  display: inline-flex;
  align-items: center;
}

.top-info-item svg {
  width: 14px;
  height: 14px;
  fill: var(--gold);
  margin-right: 6px;
}

.top-info-left {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.top-info-right a {
  color: var(--gold);
  font-weight: 600;
}

.top-info-right a:hover {
  color: var(--light-gold);
}

/* Main Navigation Bar */
.main-header,
.header {
  background-color: var(--secondary-dark);
  color: var(--white);
  position: relative;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  min-height: 105px;
}

/* Sticky Class (JS targets this) */
.main-header.sticky,
.header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  animation: slideDown 0.4s ease;
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
  min-height: 90px;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.main-header .container,
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  height: 105px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  transition: height var(--transition-normal);
}

.main-header.sticky .container,
.header.sticky .header-container {
  height: 90px;
}

/* Logo Design */
.logo,
.logo-container {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: 180px;
}

.logo img,
.logo-container img {
  display: block;
  width: 105px;
  height: auto;
  object-fit: contain;
  transition: var(--transition-normal);
}

.logo:hover img,
.logo-container:hover img {
  transform: scale(1.02);
}

.main-header.sticky .logo img,
.header.sticky .logo-container img {
  width: 90px;
}

/* Nav Container & Links */
.nav-container,
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 22px;
  flex-wrap: nowrap;
}

.nav-link,
.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link::after,
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: var(--transition-normal);
}

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

.nav-link:hover::after,
.nav-link.active::after,
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Header CTA */
.header-cta {
  flex: 0 0 auto;
  display: block;
}

.nav-btn,
.consultation-btn {
  white-space: nowrap;
  width: auto;
  min-width: 180px;
  padding: 15px 20px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-only {
  display: none !important;
}

/* Hamburger Menu Icon */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 46px;
  z-index: 1002;
  margin-left: 50px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--white);
  margin: 5px 0;
  transition: var(--transition-normal);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  background: url('../images/hero-gavel.jpg') no-repeat center center / cover;
  padding: 150px 0 120px 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.70),
      rgba(0, 0, 0, 0.78));
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title .white-text {
  color: var(--white);
  display: block;
}

.hero-title .gold-text {
  color: var(--gold);
  display: block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 35px;
  border-left: 3px solid var(--gold);
  padding-left: 20px;
}

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

/* --- Trust / Features Strip --- */
.trust-strip {
  background-color: #080808;
  padding: 40px 0;
  border-bottom: 4px solid var(--gold);
  position: relative;
  z-index: 3;
}

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

.trust-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.trust-item:not(:last-child) {
  border-right: 1px solid rgba(201, 162, 39, 0.2);
  padding-right: 20px;
}

@media (max-width: 1024px) {
  .trust-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
    padding-bottom: 20px;
    padding-right: 0;
  }
}

.trust-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  background-color: rgba(200, 155, 60, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.trust-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--gold);
  transition: var(--transition-normal);
}

.trust-item:hover .trust-icon {
  background-color: var(--gold);
  border-color: var(--gold);
}

.trust-item:hover .trust-icon svg {
  fill: var(--white);
  transform: scale(1.1);
}

.trust-content h4 {
  font-family: var(--font-sans);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.trust-content p {
  font-size: 0.85rem;
  color: #B8B8B8;
  margin-bottom: 0;
}

/* --- About Section --- */
.about-section {
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image {
  width: 100%;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  display: block;
}

.about-visual::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  z-index: -1;
  border-radius: 4px;
  transition: var(--transition-normal);
}

.about-visual:hover::after {
  transform: translate(-10px, -10px);
}

.about-subtitle {
  font-size: 1.25rem;
  color: var(--gold);
  font-family: var(--font-serif);
  margin-bottom: 20px;
}

.about-desc {
  margin-bottom: 25px;
}

.about-bullets {
  list-style: none;
  margin-bottom: 30px;
}

.about-bullets li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.about-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
  top: -2px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.quote-card {
  background-color: #050505;
  border-left: 4px solid var(--gold);
  padding: 30px 25px 25px 25px;
  border-radius: 0 4px 4px 0;
  color: var(--white);
  flex: 1;
  min-width: 250px;
  position: relative;
}

.quote-card::before {
  content: '';
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 15px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C9A227'><path d='M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5v6zm-4-13.8c.44 0 .8.36.8.8v.08c-.26-.05-.53-.08-.8-.08s-.54.03-.8.08V4c0-.44.36-.8.8-.8zM12 6.5c-2.21 0-4 1.79-4 4h1c0-1.66 1.34-3 3-3V6.5z'/></svg>") no-repeat center center;
}

.quote-card h4 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
  display: inline-block;
}

.quote-card p {
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  font-size: 0.9rem;
  margin-bottom: 0;
  margin-top: 10px;
}

/* --- Practice Areas Section --- */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.practice-card {
  background-color: var(--white);
  border: 1px solid #E5E5E5;
  border-radius: 4px;
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: transparent;
  transition: var(--transition-normal);
}

.practice-icon {
  margin-bottom: 25px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
}

.practice-icon svg {
  width: 42px;
  height: 42px;
  fill: var(--gold);
  transition: var(--transition-normal);
}

.practice-card h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111111;
}

.practice-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
  color: var(--text-muted);
}

/* Practice Card Hover States */
.practice-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  border-color: #C9A227;
}

.practice-card:hover::before {
  background-color: var(--gold);
}

.practice-card:hover .practice-icon svg {
  transform: scale(1.1);
}

/* --- Why Choose Us Section --- */
.why-choose-us {
  background-color: #050505;
  color: var(--white);
}

.why-choose-us h2 {
  color: var(--white);
}

.why-choose-us .section-desc {
  color: #B8B8B8;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.why-card {
  background-color: #111111;
  padding: 30px 20px;
  border-radius: 4px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201, 162, 39, 0.2);
  transition: var(--transition-normal);
  color: var(--white);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(201, 162, 39, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition-normal);
}

.why-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--gold);
  transition: var(--transition-normal);
}

.why-card:hover .why-icon {
  background-color: var(--gold);
}

.why-card:hover .why-icon svg {
  fill: #050505;
}

.why-card h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Statistics Section --- */
.stats-strip {
  background: #080808;
  padding: 60px 0;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 10px 0;
}

.stat-item:not(:last-child) {
  border-right: 1px solid rgba(201, 162, 39, 0.2);
}

@media (max-width: 768px) {
  .stat-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
    padding-bottom: 20px;
  }
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* --- Client Reviews Carousel --- */
.reviews-carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  padding: 10px;
}

.reviews-track {
  display: flex;
  transition: transform var(--transition-slow);
  width: 100%;
}

.review-slide {
  flex: 0 0 50%;
  /* Show 2 cards at a time on desktop */
  padding: 0 15px;
  box-sizing: border-box;
}

.review-card {
  background-color: var(--white);
  border-radius: 4px;
  padding: 40px 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid #E5E5E5;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.review-stars {
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.review-text {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 25px;
  position: relative;
}

.review-text::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 4rem;
  color: rgba(200, 155, 60, 0.1);
  position: absolute;
  top: -30px;
  left: -15px;
  line-height: 1;
}

.review-author {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Carousel Nav Controls */
.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 20px;
}

.carousel-btn {
  background-color: var(--white);
  border: 1px solid var(--border-medium);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--primary-dark);
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--primary-dark);
}

.carousel-btn:hover {
  background-color: var(--gold);
  border-color: var(--gold);
}

.carousel-btn:hover svg {
  fill: var(--white);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-dot.active {
  background-color: var(--gold);
  transform: scale(1.2);
}

/* --- FAQ Accordion --- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-search-wrapper {
  max-width: 500px;
  margin: 0 auto 40px auto;
  position: relative;
}

.faq-search-input {
  width: 100%;
  padding: 14px 20px 14px 45px;
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-normal);
}

.faq-search-input:focus {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.faq-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  fill: var(--text-muted);
  pointer-events: none;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-trigger {
  width: 100%;
  padding: 22px 30px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  outline: none;
}

.faq-trigger:hover {
  background-color: rgba(200, 155, 60, 0.02);
}

.faq-arrow {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  transition: transform var(--transition-normal);
}

.faq-item.active {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-content-inner {
  padding: 0 30px 25px 30px;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(0, 0, 0, 0.02);
}

/* --- Consultation Form --- */
.consultation-form-wrapper {
  background-color: var(--white);
  padding: 50px 40px;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  position: relative;
}

.consultation-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background-color: var(--gold);
  border-radius: 4px 4px 0 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.form-control {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  outline: none;
  background-color: var(--light-bg);
  transition: var(--transition-fast);
  color: var(--text-dark);
}

.form-control:focus {
  border-color: var(--gold);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}

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

.form-group.error .form-control {
  border-color: #E63946;
}

.form-error-msg {
  color: #E63946;
  font-size: 0.75rem;
  margin-top: 5px;
  display: none;
}

.form-group.error .form-error-msg {
  display: block;
}

/* Success Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  transform: translateY(30px);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(200, 155, 60, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.modal-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--gold);
}

.modal-box h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.modal-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}

/* --- Contact Page Specific Structures --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
}

.contact-info-panel {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 40px;
  border-radius: 4px;
  border-left: 4px solid var(--gold);
}

.contact-info-panel h3 {
  color: var(--white);
  margin-bottom: 25px;
}

.contact-detail-list {
  list-style: none;
}

.contact-detail-item {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-detail-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
}

.contact-detail-text h4 {
  font-family: var(--font-sans);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.contact-detail-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-detail-text a {
  color: rgba(255, 255, 255, 0.7);
}

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

/* --- Maps Embed --- */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 40px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background-color: #E5E5E0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  text-align: center;
  padding: 20px;
}

.map-placeholder svg {
  width: 48px;
  height: 48px;
  fill: var(--gold);
  margin-bottom: 15px;
}

.map-placeholder h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.map-placeholder p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 300px;
  margin-bottom: 0;
}

/* --- Footer --- */
.footer-cta {
  background-color: #050505;
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  padding: 50px 0;
}

.footer-cta .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-cta-text h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.footer-cta-text p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
  font-size: 1rem;
}

.footer-cta-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.main-footer {
  background-color: #030303;
  color: #AAAAAA;
  padding: 80px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-col h3 {
  font-family: var(--font-sans);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--gold);
}

.footer-about-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #AAAAAA;
}

.footer-links {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.footer-link-item a {
  font-size: 0.9rem;
  color: #D5D5D5;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-link-item a::before {
  content: '→';
  color: var(--gold);
  font-size: 0.85rem;
  transition: transform var(--transition-fast);
}

.footer-link-item a:hover {
  color: #D4AF37;
}

.footer-link-item a:hover::before {
  transform: translateX(4px);
}

.footer-address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-address p {
  color: #AAAAAA;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-address svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-address a {
  color: #D5D5D5;
}

.footer-address a:hover {
  color: #D4AF37;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
  color: #777777;
}

.footer-bottom p {
  margin-bottom: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-bottom-links a {
  color: #777777;
}

.footer-bottom-links a:hover {
  color: #D4AF37;
}

/* --- Floating Action Buttons (FABs) --- */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  outline: none;
  position: relative;
}

.fab svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.fab-whatsapp {
  background-color: #25D366;
}

.fab-whatsapp:hover {
  background-color: #128C7E;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.fab-call {
  background-color: var(--gold);
}

.fab-call:hover {
  background-color: var(--light-gold);
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-gold);
}

.fab-top {
  background-color: #050505;
  border: 1px solid var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
}

.fab-top svg {
  fill: var(--gold);
  transition: var(--transition-fast);
}

.fab-top.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.fab-top:hover {
  background-color: var(--gold);
  transform: translateY(-4px) scale(1.05);
}

.fab-top:hover svg {
  fill: #050505;
}

/* FAB Labels on Hover (Optional accessibility) */
.fab::before {
  content: attr(aria-label);
  position: absolute;
  right: 65px;
  background-color: var(--primary-dark);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  box-shadow: var(--shadow-md);
  pointer-events: none;
}

.fab:hover::before {
  opacity: 1;
  visibility: visible;
}

/* --- Scroll Entrance Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay classes */
.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

/* Hero Text Fade-In */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.hero-content .hero-title {
  animation-delay: 0.1s;
}

.hero-content .hero-subtitle {
  animation-delay: 0.3s;
}

.hero-content .hero-actions {
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* Desktop Extra Wide (1920px+) */
@media (min-width: 1920px) {
  :root {
    --container-max-width: 1440px;
  }
}

/* Desktop Large (up to 1440px) */
@media (max-width: 1440px) {
  .hero {
    min-height: 75vh;
  }
}

/* Desktop Medium (1200px - 1439px) */
@media (max-width: 1439px) and (min-width: 1200px) {
  .logo img {
    width: 160px;
    height: 90px;
  }

  .nav-menu {
    gap: 22px;
  }

  .nav-btn,
  .consultation-btn {
    padding: 12px 20px;
    min-width: 175px;
    font-size: 13px;
  }
}

/* Desktop Small (1001px - 1199px) */
@media (max-width: 1199px) and (min-width: 1001px) {
  .logo img {
    width: 155px;
    height: 85px;
  }

  .nav-menu {
    gap: 16px;
  }

  .nav-btn,
  .consultation-btn {
    padding: 10px 15px;
    min-width: 160px;
    font-size: 13px;
  }
}

/* Desktop Medium (up to 1200px) */
@media (max-width: 1200px) {
  .practice-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* Tablet Landscape (up to 1024px) */
@media (max-width: 1024px) {
  .section-padding {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    max-width: 600px;
    margin: 0 auto;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

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

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-col:last-child {
    grid-column: span 2;
  }
}

/* Tablet Portrait (up to 1000px) */
@media (max-width: 1000px) {

  .logo img,
  .logo-container img {
    width: 70px;
    max-width: 155px;
    height: auto;
  }

  .main-header,
  .header {
    min-height: 80px;
  }

  .main-header .container,
  .header-container {
    height: 80px;
  }

  .main-header.sticky,
  .header.sticky {
    min-height: 80px;
  }

  .main-header.sticky .container,
  .header.sticky .header-container {
    height: 80px;
  }

  .header-cta {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
    width: 100%;
    margin-top: 15px;
  }

  .nav-btn,
  .consultation-btn {
    width: 100%;
    min-width: unset;
    padding: 12px 20px;
  }

  /* Top info bar wrap */
  .top-info-left {
    gap: 10px;
  }

  /* Mobile Navigation toggled by JS */
  .hamburger {
    display: block;
  }

  /* Hamburger Active State */
  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--secondary-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 40px;
    gap: 20px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.25);
    transition: right var(--transition-normal);
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1rem;
    width: 100%;
    display: block;
  }

  .nav-btn {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  /* Hero stacks */
  .hero {
    padding: 100px 0 80px 0;
    text-align: center;
  }

  .hero::before {
    background: rgba(0, 0, 0, 0.85);
  }

  .hero-subtitle {
    border-left: none;
    padding-left: 0;
  }

  .hero-actions {
    justify-content: center;
  }

  /* Review Carousel: show single item */
  .review-slide {
    flex: 0 0 100%;
  }

  /* Forms */
  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  /* Contacts */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .map-container {
    height: 300px;
  }

  /* Footer CTA layout */
  .footer-cta .container {
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile Medium (up to 480px) */
@media (max-width: 480px) {
  :root {
    --section-padding: 50px;
  }

  .top-info-bar {
    display: none;
    /* Hide top bar on very small devices for cleaner layout */
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .practice-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-col:last-child {
    grid-column: span 1;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .about-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .quote-card {
    width: 100%;
  }

  /* Scale FABs down */
  .floating-actions {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }

  .fab {
    width: 44px;
    height: 44px;
  }

  .fab svg {
    width: 18px;
    height: 18px;
  }
}

/* Mobile Small (up to 390px, 375px, 320px) */
@media (max-width: 390px) {
  .logo img {
    width: 70px;
    height: auto;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .consultation-form-wrapper {
    padding: 30px 20px;
  }
}