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

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400&family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --primary-color: #1a3a5c;
  --secondary-color: #c8a96e;
  --accent-color: #2d6a9f;
  --dark-bg: #0f2340;
  --light-bg: #f5f7fa;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-gray: #555566;
  --text-light: #888899;
  --border-color: #e0e5ef;
  --font-heading: 'Merriweather', serif;
  --font-body: 'Open Sans', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --transition: all 0.3s ease;
  --border-radius: 6px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary-color); }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--primary-color);
  font-weight: 700;
}

/* =========================================
   TOP BAR
   ========================================= */
.top-bar {
  background: var(--dark-bg);
  color: #aab4c8;
  font-size: 0.82rem;
  padding: 8px 0;
}
.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.top-bar-right { display: flex; align-items: center; gap: 12px; }
.top-bar-item { display: flex; align-items: center; gap: 6px; }
.top-bar-item i { color: var(--secondary-color); font-size: 0.85rem; }
.top-bar a { color: #aab4c8; }
.top-bar a:hover { color: var(--secondary-color); }
.social-links-top { display: flex; gap: 8px; }
.social-links-top a {
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #aab4c8; font-size: 0.75rem;
  transition: var(--transition);
}
.social-links-top a:hover { background: var(--secondary-color); color: var(--white); }

/* =========================================
   HEADER / NAVIGATION
   ========================================= */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo-wrap { display: flex; align-items: center; }
.logo-wrap img { height: 55px; width: auto; }
.logo-text-wrap { margin-left: 12px; line-height: 1.2; }
.logo-text-wrap .firm-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--primary-color);
  font-weight: 700;
}
.logo-text-wrap .firm-sub { font-size: 0.75rem; color: var(--text-gray); }

/* Navigation */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 0.02em;
  border-radius: var(--border-radius);
  transition: var(--transition);
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
  color: var(--secondary-color);
  background: rgba(200,169,110,0.08);
}
.has-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7rem;
  opacity: 0.7;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--secondary-color);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  z-index: 100;
  animation: fadeInDown 0.2s ease;
}
@keyframes fadeInDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.has-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 0.85rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a:hover { background: var(--light-bg); color: var(--secondary-color); padding-left: 24px; }

/* CTA Button in Nav */
.nav-cta {
  background: var(--secondary-color);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
}
.nav-cta:hover { background: var(--primary-color) !important; color: var(--white) !important; }

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

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 60%, var(--accent-color) 100%);
  color: var(--white);
  padding: 90px 20px;
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content h1 {
  font-size: 2.6rem;
  color: var(--white);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-content h1 span { color: var(--secondary-color); }
.hero-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  line-height: 1.8;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.btn-primary { background: var(--secondary-color); color: var(--white); border-color: var(--secondary-color); }
.btn-primary:hover { background: transparent; color: var(--secondary-color); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: var(--white); color: var(--primary-color); border-color: var(--white); }
.btn-dark { background: var(--primary-color); color: var(--white); border-color: var(--primary-color); }
.btn-dark:hover { background: var(--dark-bg); border-color: var(--dark-bg); }

/* Hero Form / Card */
.hero-form-card {
  background: rgba(255,255,255,0.96);
  border-radius: 8px;
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}
.hero-form-card h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 6px;
  text-align: center;
}
.hero-form-card p.sub {
  font-size: 0.83rem;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 22px;
}
.form-group { margin-bottom: 14px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(45,106,159,0.1); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-submit { width: 100%; padding: 14px; background: var(--secondary-color); color: var(--white); border: none; border-radius: 4px; font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: var(--transition); font-family: var(--font-body); }
.form-submit:hover { background: var(--primary-color); }

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 20px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item .num { font-size: 1.8rem; font-weight: 900; color: var(--secondary-color); font-family: var(--font-heading); display: block; line-height: 1; }
.stat-item .label { font-size: 0.78rem; color: rgba(255,255,255,0.75); margin-top: 4px; display: block; }
.stat-divider { width: 1px; background: rgba(255,255,255,0.2); margin: 0 5px; }

/* =========================================
   TRUST BAR
   ========================================= */
.trust-bar {
  background: var(--secondary-color);
  padding: 16px 0;
}
.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
}
.trust-item i { font-size: 1.2rem; }

/* =========================================
   SECTIONS
   ========================================= */
.section { padding: 80px 20px; }
.section-light { background: var(--light-bg); }
.section-dark { background: var(--primary-color); }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2rem; margin-bottom: 12px; }
.section-header p { font-size: 1rem; color: var(--text-gray); max-width: 620px; margin: 0 auto; }
.section-header .divider {
  width: 60px;
  height: 3px;
  background: var(--secondary-color);
  margin: 16px auto;
  border-radius: 2px;
}
.section-header.white h2,
.section-header.white h3 { color: var(--white); }
.section-header.white p { color: rgba(255,255,255,0.75); }
.section-header.left { text-align: left; }
.section-header.left .divider { margin: 16px 0; }

/* =========================================
   SERVICES CARDS
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--secondary-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
}
.service-card h3 { font-size: 1.1rem; margin: 0; }
.service-card p { font-size: 0.88rem; color: var(--text-gray); flex-grow: 1; }
.service-card a.read-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary-color);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.service-card a.read-more:hover { color: var(--primary-color); gap: 8px; }

/* =========================================
   WHY CHOOSE US
   ========================================= */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.why-content h2 { font-size: 2rem; margin-bottom: 20px; }
.why-list { display: flex; flex-direction: column; gap: 18px; margin: 24px 0; }
.why-item { display: flex; gap: 14px; }
.why-icon {
  width: 42px; height: 42px; min-width: 42px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1rem;
}
.why-text h4 { font-size: 1rem; margin-bottom: 4px; }
.why-text p { font-size: 0.87rem; color: var(--text-gray); }
.why-image { border-radius: 8px; overflow: hidden; }
.why-image-placeholder {
  background: linear-gradient(135deg, var(--dark-bg), var(--primary-color));
  border-radius: 8px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}
.why-image-placeholder::before {
  content: '⚖';
  font-size: 9rem;
  opacity: 0.08;
  position: absolute;
  right: -20px;
  bottom: -20px;
}
.testimonial-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 28px;
  color: var(--white);
  position: relative;
  z-index: 1;
}
.testimonial-card .quote-icon { font-size: 2.5rem; color: var(--secondary-color); line-height: 1; margin-bottom: 10px; }
.testimonial-card p { font-size: 0.92rem; line-height: 1.7; color: rgba(255,255,255,0.9); font-style: italic; }
.testimonial-card .author { margin-top: 14px; font-size: 0.82rem; color: var(--secondary-color); font-weight: 700; font-style: normal; }
.stars { color: var(--secondary-color); font-size: 1rem; margin-bottom: 8px; }

/* =========================================
   PROCESS STEPS
   ========================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border-color);
  z-index: 0;
}
.process-step {
  text-align: center;
  padding: 20px 16px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 72px; height: 72px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 auto 18px;
  font-family: var(--font-heading);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary-color);
  transition: var(--transition);
}
.process-step:hover .step-num { background: var(--secondary-color); box-shadow: 0 0 0 3px var(--secondary-color); }
.process-step h4 { font-size: 0.95rem; margin-bottom: 8px; }
.process-step p { font-size: 0.83rem; color: var(--text-gray); }

/* =========================================
   CTA BAND
   ========================================= */
.cta-band {
  background: linear-gradient(135deg, var(--secondary-color), #b8914d);
  padding: 60px 20px;
  text-align: center;
}
.cta-band h2 { font-size: 2rem; color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 560px; margin: 0 auto 28px; }
.cta-band .btn-white { background: var(--white); color: var(--secondary-color); border-color: var(--white); font-weight: 700; }
.cta-band .btn-white:hover { background: var(--dark-bg); color: var(--white); border-color: var(--dark-bg); }
.phone-big { font-size: 1.6rem; font-weight: 900; color: var(--white); display: block; margin-bottom: 20px; font-family: var(--font-heading); }
.phone-big a { color: var(--white); }
.phone-big a:hover { color: var(--dark-bg); }

/* =========================================
   PAGE HERO (INNER PAGES)
   ========================================= */
.page-hero {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%);
  padding: 70px 20px 60px;
  color: var(--white);
  text-align: center;
}
.page-hero h1 { font-size: 2.2rem; color: var(--white); margin-bottom: 14px; }
.page-hero p { font-size: 1rem; color: rgba(255,255,255,0.82); max-width: 600px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: var(--secondary-color); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* =========================================
   SERVICE PAGE CONTENT
   ========================================= */
.page-content { padding: 70px 20px; }
.content-wrap { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 320px; gap: 50px; align-items: start; }
.content-main h2 { font-size: 1.6rem; margin-bottom: 14px; margin-top: 36px; color: var(--primary-color); }
.content-main h2:first-child { margin-top: 0; }
.content-main h3 { font-size: 1.2rem; margin-bottom: 10px; margin-top: 28px; color: var(--primary-color); }
.content-main p { font-size: 0.95rem; color: var(--text-gray); margin-bottom: 16px; line-height: 1.8; }
.content-main ul { margin: 0 0 20px 0; display: flex; flex-direction: column; gap: 8px; }
.content-main ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.93rem; color: var(--text-gray); }
.content-main ul li::before { content: '✔'; color: var(--secondary-color); font-weight: 700; min-width: 18px; margin-top: 2px; }
.content-main .info-box {
  background: linear-gradient(135deg, #eef4fb, #dce9f5);
  border-left: 4px solid var(--secondary-color);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: 22px 24px;
  margin: 24px 0;
}
.content-main .info-box h4 { font-size: 0.95rem; color: var(--primary-color); margin-bottom: 8px; }
.content-main .info-box p { margin: 0; font-size: 0.88rem; }
.content-main .faq-item { border-bottom: 1px solid var(--border-color); padding: 16px 0; }
.content-main .faq-item h4 { font-size: 0.95rem; color: var(--primary-color); margin-bottom: 8px; cursor: pointer; }
.content-main .faq-item p { margin: 0; font-size: 0.88rem; }

/* External Link Style */
.ext-link {
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ext-link:hover { color: var(--primary-color); }

/* Sidebar */
.sidebar { position: sticky; top: 100px; }
.sidebar-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 24px;
}
.sidebar-card-header {
  background: var(--primary-color);
  color: var(--white);
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}
.sidebar-card-body { padding: 20px; }
.sidebar-card .contact-item { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.sidebar-card .contact-item i { color: var(--secondary-color); font-size: 1rem; min-width: 18px; margin-top: 3px; }
.sidebar-card .contact-item p { font-size: 0.85rem; color: var(--text-gray); line-height: 1.5; }
.sidebar-card .contact-item a { color: var(--primary-color); font-weight: 600; }
.sidebar-card .contact-item a:hover { color: var(--secondary-color); }

/* Services Sidebar List */
.sidebar-services li { border-bottom: 1px solid var(--border-color); }
.sidebar-services li:last-child { border-bottom: none; }
.sidebar-services li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  font-size: 0.87rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}
.sidebar-services li a:hover { background: var(--light-bg); color: var(--secondary-color); padding-left: 22px; }
.sidebar-services li a i { font-size: 0.75rem; color: var(--secondary-color); }

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info h3 { font-size: 1.4rem; margin-bottom: 20px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.ci-icon { width: 46px; height: 46px; min-width: 46px; background: var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1rem; }
.ci-text h5 { font-size: 0.85rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.ci-text p, .ci-text a { font-size: 0.95rem; color: var(--text-dark); font-weight: 500; }
.ci-text a:hover { color: var(--secondary-color); }
.contact-form-wrap { background: var(--white); border-radius: 8px; padding: 36px; box-shadow: var(--shadow-md); }
.contact-form-wrap h3 { font-size: 1.3rem; margin-bottom: 22px; }
.map-wrap { margin-top: 50px; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-md); }
.map-wrap iframe { width: 100%; height: 420px; border: none; display: block; }

/* =========================================
   ABOUT PAGE
   ========================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image-placeholder {
  background: linear-gradient(135deg, var(--dark-bg), var(--primary-color));
  border-radius: 8px;
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}
.about-image-placeholder .icon-big { font-size: 7rem; opacity: 0.1; position: absolute; right: -10px; bottom: -10px; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.value-card { background: var(--white); border-radius: 8px; padding: 24px; box-shadow: var(--shadow-sm); border-bottom: 3px solid var(--secondary-color); }
.value-card i { font-size: 1.8rem; color: var(--secondary-color); margin-bottom: 10px; }
.value-card h4 { font-size: 0.95rem; margin-bottom: 8px; }
.value-card p { font-size: 0.83rem; color: var(--text-gray); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.team-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); text-align: center; }
.team-avatar {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,0.3);
}
.team-info { padding: 20px; }
.team-info h4 { font-size: 1rem; margin-bottom: 4px; }
.team-info p { font-size: 0.82rem; color: var(--secondary-color); font-weight: 600; margin-bottom: 8px; }
.team-info span { font-size: 0.8rem; color: var(--text-gray); }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.test-card { background: var(--white); border-radius: 8px; padding: 28px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--secondary-color); }
.test-card .stars { margin-bottom: 12px; }
.test-card p { font-size: 0.9rem; color: var(--text-gray); font-style: italic; line-height: 1.7; }
.test-author { margin-top: 16px; font-size: 0.82rem; font-weight: 700; color: var(--primary-color); font-style: normal; }
.test-location { font-size: 0.78rem; color: var(--text-light); font-style: normal; }

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--dark-bg);
  color: rgba(255,255,255,0.7);
  padding: 70px 20px 0;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand .logo-wrap { margin-bottom: 16px; filter: brightness(1.5); }
.footer-brand p { font-size: 0.87rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.footer-social a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--secondary-color); color: var(--white); }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary-color);
  display: inline-block;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 0.86rem; color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--secondary-color); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.footer-contact-item i { color: var(--secondary-color); min-width: 16px; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.65); }
.footer-contact-item a:hover { color: var(--secondary-color); }
.footer-partner-links { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.footer-partner-links a { font-size: 0.82rem; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-partner-links a:hover { color: var(--secondary-color); }
.footer-bottom {
  background: rgba(0,0,0,0.3);
  margin-top: 50px;
  padding: 18px 0;
}
.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--secondary-color); }

/* =========================================
   NOTICE BOX & HIGHLIGHTS
   ========================================= */
.notice-box {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
  color: var(--white);
  border-radius: 8px;
  padding: 30px 36px;
  text-align: center;
  margin: 40px 0;
}
.notice-box h3 { color: var(--secondary-color); margin-bottom: 10px; font-size: 1.3rem; }
.notice-box p { font-size: 0.92rem; color: rgba(255,255,255,0.85); margin-bottom: 18px; }

/* =========================================
   HOMEPAGE AREAS TABLE
   ========================================= */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.area-chip {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 10px 16px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dark);
  transition: var(--transition);
  cursor: default;
}
.area-chip:hover { background: var(--primary-color); color: var(--white); border-color: var(--primary-color); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .hero-inner { gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { gap: 28px; }
  .content-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2rem; }
  .hero-form-card { max-width: 500px; margin: 0 auto; }
  .hero-stats { justify-content: center; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .top-bar-right { display: none; }
  .main-nav { display: none; flex-direction: column; position: absolute; top: 80px; left: 0; right: 0; background: var(--white); box-shadow: var(--shadow-lg); padding: 16px; z-index: 999; gap: 2px; }
  .main-nav.open { display: flex; }
  .main-nav > ul { flex-direction: column; width: 100%; }
  .main-nav > ul > li { width: 100%; }
  .main-nav > ul > li > a { padding: 12px 16px; border-radius: 4px; }
  .dropdown-menu { position: static; box-shadow: none; border: none; background: var(--light-bg); border-left: 3px solid var(--secondary-color); margin: 4px 0 4px 16px; display: block; animation: none; }
  .has-dropdown > a::after { display: none; }
  .mobile-toggle { display: flex; }
  .hero { padding: 60px 20px; min-height: auto; }
  .hero-content h1 { font-size: 1.7rem; }
  .section { padding: 55px 20px; }
  .section-header h2 { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .process-grid::before { display: none; }
  .page-hero h1 { font-size: 1.7rem; }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .trust-bar-inner { flex-direction: column; gap: 14px; }
  .cta-band h2 { font-size: 1.5rem; }
  .phone-big { font-size: 1.3rem; }
  .top-bar-left { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* =========================================
   UTILITY
   ========================================= */
.text-gold { color: var(--secondary-color); }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-20 { margin-bottom: 20px; }
.highlight { background: rgba(200,169,110,0.1); border-radius: 4px; padding: 2px 6px; }
.anchor-highlight {
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.anchor-highlight:hover { color: var(--primary-color); }
