/* =============================================
   Gary Matthews Solicitors - Main Stylesheet
   ============================================= */

/* ---- Google Fonts & Reset ---- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Open+Sans:wght@300;400;500;600;700&display=swap');

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

:root {
  --primary:       #1a3a5c;   /* deep navy */
  --primary-dark:  #122840;
  --accent:        #c8a04a;   /* gold */
  --accent-light:  #e8c97a;
  --text:          #333333;
  --text-light:    #666666;
  --bg:            #ffffff;
  --bg-light:      #f7f8fa;
  --bg-dark:       #1a3a5c;
  --border:        #e0e0e0;
  --white:         #ffffff;
  --shadow:        0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.15);
  --radius:        6px;
  --transition:    all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  line-height: 1.3;
}

p { margin-bottom: 1rem; }

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  background: var(--primary-dark);
  color: #aec6e8;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 2px solid var(--accent);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: #aec6e8; }
.top-bar a:hover { color: var(--accent); }
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.top-bar i { margin-right: 5px; color: var(--accent); }

/* =============================================
   HEADER / NAVIGATION
   ============================================= */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo a { display: flex; align-items: center; gap: 12px; }
.logo img { height: 60px; width: auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-text .firm-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}
.logo-text .firm-tagline {
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Main Nav */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav ul li { position: relative; }
.main-nav ul li a {
  display: block;
  padding: 8px 14px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: var(--accent);
  background: rgba(200,160,74,0.08);
}

/* Dropdown */
.main-nav .has-dropdown > a::after {
  content: ' ▾';
  font-size: 11px;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 999;
}
.dropdown-menu li a {
  padding: 10px 18px;
  font-size: 13px;
  color: var(--text);
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  display: block;
}
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a:hover { color: var(--accent); background: var(--bg-light); }
.has-dropdown:hover .dropdown-menu { display: block; }

/* CTA Button in Nav */
.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  border-radius: 30px !important;
  padding: 9px 20px !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--primary) !important; color: var(--white) !important; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, #0d1f30 100%);
  color: var(--white);
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(200,160,74,0.06)"/><circle cx="10" cy="80" r="30" fill="rgba(200,160,74,0.04)"/></svg>') no-repeat;
  background-size: cover;
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 700px; }
.hero-badge {
  display: inline-block;
  background: rgba(200,160,74,0.2);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 20px;
  line-height: 1.25;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-light);
  color: var(--primary);
  border-color: var(--accent-light);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-primary-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary-dark:hover { background: var(--primary-dark); color: var(--white); }

/* Hero trust badges */
.hero-trust {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
}
.trust-item i { color: var(--accent); font-size: 16px; }

/* =============================================
   QUICK CONTACT BAR
   ============================================= */
.quick-contact-bar {
  background: var(--accent);
  padding: 16px 0;
}
.quick-contact-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.quick-contact-bar p {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 15px;
  margin: 0;
}
.quick-contact-bar .btn {
  background: var(--primary);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 14px;
}
.quick-contact-bar .btn:hover { background: var(--primary-dark); color: var(--white); }

/* =============================================
   SECTION UTILITIES
   ============================================= */
.section-padding { padding: 80px 0; }
.section-padding-sm { padding: 50px 0; }
.bg-light { background: var(--bg-light); }
.bg-dark { background: var(--bg-dark); }

.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header .section-label {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
}
.section-header h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 14px;
}
.section-header p {
  color: var(--text-light);
  max-width: 620px;
  margin: 0 auto;
  font-size: 16px;
}
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 14px auto 0;
  border-radius: 2px;
}
.section-divider-left {
  margin: 14px 0 0;
}

/* =============================================
   WHY CHOOSE US / FEATURES
   ============================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(26,58,92,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.feature-icon i {
  font-size: 26px;
  color: var(--primary);
}
.feature-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.service-card-header {
  background: var(--primary);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.service-card-icon {
  width: 50px;
  height: 50px;
  background: rgba(200,160,74,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-card-icon i { color: var(--accent); font-size: 22px; }
.service-card-header h3 { color: var(--white); font-size: 18px; margin: 0; }
.service-card-body { padding: 22px; }
.service-card-body p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.7;
}
.service-card-body .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}
.service-card-body .read-more:hover { color: var(--primary); gap: 10px; }

/* =============================================
   STATS / COUNTER SECTION
   ============================================= */
.stats-section {
  background: var(--primary);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}
.stat-item {}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: var(--accent);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  font-weight: 500;
}

/* =============================================
   PROCESS SECTION
   ============================================= */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  position: relative;
}
.process-step {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}
.step-number {
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto 18px;
}
.process-step h3 { font-size: 17px; margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--text-light); margin: 0; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}
.testimonial-stars { color: #f4c542; font-size: 14px; margin-bottom: 14px; }
.testimonial-text {
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 18px;
  font-style: italic;
}
.testimonial-author { font-weight: 700; color: var(--primary); font-size: 14px; }
.testimonial-location { font-size: 13px; color: var(--text-light); }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 300px; height: 300px;
  background: rgba(200,160,74,0.08);
  border-radius: 50%;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); font-size: clamp(24px, 3vw, 36px); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 16px; margin-bottom: 30px; max-width: 580px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-primary { font-size: 16px; padding: 15px 36px; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image-wrapper { position: relative; }
.about-image-wrapper img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.about-badge .num {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  display: block;
}
.about-badge .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.about-content h2 { font-size: clamp(22px, 2.5vw, 32px); margin-bottom: 18px; }
.about-content p { color: var(--text-light); font-size: 15px; }
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text-light);
  font-size: 15px;
}
.about-list li i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}
.page-hero h1 { color: var(--white); font-size: clamp(24px, 3vw, 40px); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 16px; max-width: 600px; margin: 0 auto 16px; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb i { font-size: 10px; }

/* =============================================
   SERVICE PAGE LAYOUT
   ============================================= */
.service-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.service-content h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  margin-bottom: 16px;
  margin-top: 30px;
}
.service-content h2:first-child { margin-top: 0; }
.service-content p { color: var(--text-light); font-size: 15px; margin-bottom: 16px; }
.service-content ul.check-list { margin: 0 0 20px 0; }
.service-content ul.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--text-light);
  font-size: 15px;
}
.service-content ul.check-list li i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }

/* Info Table */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
}
.info-table th, .info-table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}
.info-table th {
  background: var(--primary);
  color: var(--white);
  font-family: 'Playfair Display', serif;
}
.info-table tr:nth-child(even) td { background: var(--bg-light); }

/* Sidebar */
.service-sidebar { position: sticky; top: 100px; }
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 24px;
  overflow: hidden;
}
.sidebar-widget-header {
  background: var(--primary);
  padding: 16px 20px;
}
.sidebar-widget-header h4 {
  color: var(--white);
  font-size: 16px;
  margin: 0;
}
.sidebar-widget-body { padding: 20px; }
.sidebar-services-list { }
.sidebar-services-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}
.sidebar-services-list li:last-child a { border-bottom: none; }
.sidebar-services-list li a:hover { color: var(--accent); padding-left: 4px; }
.sidebar-services-list li a i { color: var(--accent); font-size: 12px; }

.contact-widget p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 14px;
}
.contact-widget .phone-big {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--primary);
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}
.contact-widget .btn { width: 100%; text-align: center; display: block; padding: 12px; }

/* FAQ Accordion */
.faq-list { margin-top: 16px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.faq-question {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-light);
  font-weight: 600;
  color: var(--primary);
  font-size: 15px;
}
.faq-question i { transition: var(--transition); color: var(--accent); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: var(--white);
}
.faq-answer.open { max-height: 400px; padding: 16px 20px; }
.faq-answer p { font-size: 14px; color: var(--text-light); margin: 0; }
.faq-item.active .faq-question i { transform: rotate(180deg); }

/* Alert Box */
.alert-box {
  background: rgba(200,160,74,0.1);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
}
.alert-box p { color: var(--text); font-size: 14px; margin: 0; }
.alert-box strong { color: var(--primary); }

/* External Link Style */
.ext-link {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px dotted var(--accent);
}
.ext-link:hover { color: var(--primary); border-color: var(--primary); }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info-block { }
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon i { color: var(--accent); font-size: 18px; }
.contact-info-text h4 { color: var(--primary); font-size: 16px; margin-bottom: 4px; }
.contact-info-text p, .contact-info-text a {
  color: var(--text-light);
  font-size: 15px;
  margin: 0;
}
.contact-info-text a:hover { color: var(--accent); }

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-form-wrapper h3 {
  font-size: 22px;
  margin-bottom: 20px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,160,74,0.1);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-submit { margin-top: 10px; }
.form-submit .btn { width: 100%; padding: 14px; font-size: 16px; }

/* Map */
.map-wrapper {
  margin-top: 50px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrapper iframe { width: 100%; height: 450px; border: none; display: block; }

/* Hours Table */
.hours-table { width: 100%; font-size: 14px; }
.hours-table tr td { padding: 8px 0; color: var(--text-light); border-bottom: 1px solid var(--border); }
.hours-table tr td:first-child { font-weight: 600; color: var(--text); width: 50%; }
.hours-table tr:last-child td { border-bottom: none; }
.open-badge {
  display: inline-block;
  background: #2ecc71;
  color: var(--white);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
  margin-left: 6px;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #0d1f30;
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-about {}
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 50px; filter: brightness(10); opacity: 0.85; }
.footer-desc { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  transition: var(--transition);
}
.social-link:hover { background: var(--accent); color: var(--white); }
.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.footer-links li { margin-bottom: 10px; }
.footer-links li a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links li a::before { content: '›'; color: var(--accent); font-size: 16px; }
.footer-links li a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.footer-contact-item i { color: var(--accent); margin-top: 3px; flex-shrink: 0; font-size: 14px; }
.footer-contact-item span { font-size: 14px; line-height: 1.6; }
.footer-contact-item a { color: rgba(255,255,255,0.75); }
.footer-contact-item a:hover { color: var(--accent); }

.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.5); margin: 0; }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-bottom-links a:hover { color: var(--accent); }

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 9999;
  cursor: pointer;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .service-layout { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrapper { max-width: 500px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .top-bar .container { justify-content: center; }
  .top-bar-left { display: none; }
  .header-inner { position: relative; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 16px 0; gap: 0; }
  .main-nav ul li a { padding: 12px 16px; border-radius: 0; }
  .dropdown-menu { position: static; box-shadow: none; border-top: none; background: var(--bg-light); }
  .has-dropdown:hover .dropdown-menu { display: none; }
  .has-dropdown.open .dropdown-menu { display: block; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 50px; }
  .hero-trust { flex-direction: column; gap: 10px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 24px 18px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; text-align: center; }
  .testimonials-grid { grid-template-columns: 1fr; }
}
