/* =============================================================================
   TechVinz Law Firm — Master Stylesheet
   Modern & Approachable | Navy × Gold | Mobile-First
   ============================================================================= */

/* ── 1. RESET & VARIABLES ─────────────────────────────────────────────────── */
:root {
  --navy:        #1B3A6B;
  --navy-dark:   #0F1F3D;
  --navy-mid:    #243E6E;
  --gold:        #C9A96E;
  --gold-dark:   #A8854A;
  --gold-light:  #E8D5B0;
  --white:       #FFFFFF;
  --off-white:   #F7F8FC;
  --light-gray:  #EEF0F6;
  --mid-gray:    #9CA3AF;
  --dark-gray:   #374151;
  --text:        #1F2937;
  --text-light:  #6B7280;
  --success:     #059669;
  --error:       #DC2626;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(27,58,107,.12);
  --shadow-lg:  0 12px 40px rgba(27,58,107,.18);
  --shadow-xl:  0 24px 60px rgba(27,58,107,.22);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.18s ease;

  --container:  1200px;
  --header-h:   80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }

/* ── 2. TYPOGRAPHY ────────────────────────────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  color: var(--navy-dark);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--dark-gray); }

.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .6rem;
}
.section-label::before {
  content: '—  ';
}

/* ── 3. LAYOUT ────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section--alt { background: var(--off-white); }
.section--dark { background: var(--navy-dark); }

/* ── 4. NAVIGATION ────────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
#navbar.scrolled {
  background: var(--navy-dark);
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
  height: 68px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 42px; height: 42px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-icon svg { width: 24px; height: 24px; }
.nav-logo-text .firm-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.nav-logo-text .firm-sub {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a {
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.nav-menu a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav-menu a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy-dark) !important;
  font-weight: 700 !important;
  padding: 9px 22px !important;
  border-radius: var(--radius-sm) !important;
  transition: background var(--transition-fast), transform var(--transition-fast) !important;
}
.nav-cta:hover { background: var(--gold-dark) !important; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 5. HERO ──────────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15,31,61,.92) 0%, rgba(27,58,107,.78) 60%, rgba(15,31,61,.88) 100%),
    url('../images/hero-bg.jpg') center/cover no-repeat;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 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='%23C9A96E' fill-opacity='0.04'%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");
}
.hero-particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,169,110,.15);
  border: 1px solid rgba(201,169,110,.35);
  border-radius: 40px;
  padding: 6px 16px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.4rem;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: .7; }
}
#hero h1 {
  color: var(--white);
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.3);
}
#hero h1 span { color: var(--gold); }
#hero p.hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,.8);
  max-width: 560px;
  margin-bottom: 2.2rem;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.hero-stat {
  text-align: center;
}
.hero-stat .num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat .lbl {
  font-size: .75rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: 4px;
}
.hero-divider { width: 1px; background: rgba(255,255,255,.15); }

/* Search Widget */
.search-widget {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 28px 32px 24px;
  margin-top: 3rem;
  max-width: 680px;
}
.search-widget-title {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.search-widget-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.search-widget select,
.search-widget input[type="text"] {
  flex: 1;
  min-width: 180px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: .9rem;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  appearance: none;
}
.search-widget select option { color: var(--text); background: var(--white); }
.search-widget select:focus,
.search-widget input[type="text"]:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.16);
}
.search-widget input::placeholder { color: rgba(255,255,255,.5); }
.search-widget .btn-search {
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 28px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-widget .btn-search:hover { background: var(--gold-dark); transform: translateY(-2px); }

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.5);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounce-scroll 2.5s ease-in-out infinite;
}
.hero-scroll svg { width: 22px; height: 22px; }
@keyframes bounce-scroll {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ── 6. BUTTONS ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .92rem;
  border-radius: var(--radius-sm);
  padding: 13px 28px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast),
              border-color var(--transition-fast), transform var(--transition-fast),
              box-shadow var(--transition-fast);
  text-decoration: none;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
  box-shadow: 0 4px 18px rgba(201,169,110,.35);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 6px 24px rgba(201,169,110,.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: .82rem; }

/* ── 7. SECTION HEADERS ───────────────────────────────────────────────────── */
.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header h2 { margin-bottom: .6rem; }
.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 580px;
}
.section-header.center p { margin: 0 auto; }
.divider-line {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  margin: 16px 0;
}
.section-header.center .divider-line { margin: 16px auto; }

/* ── 8. TRUST BAR ─────────────────────────────────────────────────────────── */
#trust-bar {
  background: var(--navy-dark);
  padding: 18px 0;
  border-bottom: 1px solid rgba(201,169,110,.15);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 32px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
}
.trust-item svg { color: var(--gold); flex-shrink: 0; }
.trust-sep { color: rgba(255,255,255,.2); font-size: 1.2rem; }

/* ── 9. FEATURES / WHY CHOOSE US ─────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-light); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--gold);
  transition: transform var(--transition);
}
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-3deg); }
.feature-card h3 { color: var(--navy-dark); margin-bottom: .6rem; font-size: 1.15rem; }
.feature-card p  { font-size: .9rem; line-height: 1.7; color: var(--text-light); }
.feature-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold-dark);
  background: rgba(201,169,110,.1);
  border-radius: 40px;
  padding: 3px 12px;
}

/* ── 10. STATS STRIP ──────────────────────────────────────────────────────── */
#stats {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
#stats::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  background: rgba(201,169,110,.06);
  border-radius: 50%;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.stat-box {
  text-align: center;
  padding: 36px 20px;
  position: relative;
}
.stat-box + .stat-box::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,.1);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-suffix { color: var(--gold); font-size: clamp(1.5rem, 2.5vw, 2rem); }
.stat-label {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 8px;
}

/* ── 11. PRACTICE AREAS ───────────────────────────────────────────────────── */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}
.practice-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}
.practice-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 0;
}
.practice-card:hover::after { opacity: 1; }
.practice-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pc-inner { position: relative; z-index: 1; }
.pc-icon {
  width: 52px; height: 52px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--navy);
  transition: background var(--transition), color var(--transition);
}
.practice-card:hover .pc-icon { background: rgba(255,255,255,.15); color: var(--gold); }
.pc-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.practice-card:hover .pc-title { color: var(--white); }
.pc-desc {
  font-size: .83rem;
  color: var(--text-light);
  line-height: 1.6;
  transition: color var(--transition);
}
.practice-card:hover .pc-desc { color: rgba(255,255,255,.7); }
.pc-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-top: 14px;
  transition: color var(--transition), gap var(--transition);
}
.practice-card:hover .pc-arrow { color: var(--gold-light); gap: 10px; }

/* ── 12. ABOUT SECTION ────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--light-gray);
}
.about-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-img-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--gold);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 1;
}
.about-img-badge .years {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1;
}
.about-img-badge .years-lbl {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--navy);
}
.about-img-accent {
  position: absolute;
  top: -16px; left: -16px;
  width: 100px; height: 100px;
  border: 3px solid var(--gold-light);
  border-radius: var(--radius-xl);
  z-index: -1;
}
.about-content ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0;
}
.about-content li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .94rem;
  color: var(--dark-gray);
}
.about-check {
  width: 22px; height: 22px;
  background: rgba(201,169,110,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold-dark);
}
.about-awards {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.award-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
}
.award-chip svg { color: var(--gold); }

/* ── 13. TESTIMONIALS ─────────────────────────────────────────────────────── */
#testimonials { background: var(--off-white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.t-quote {
  font-size: 3.5rem;
  line-height: .8;
  color: var(--gold-light);
  font-family: Georgia, serif;
  margin-bottom: 8px;
}
.t-text {
  font-size: .93rem;
  color: var(--dark-gray);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}
.t-author { display: flex; align-items: center; gap: 14px; }
.t-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--gold) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.t-name { font-weight: 700; font-size: .9rem; color: var(--navy-dark); }
.t-role { font-size: .78rem; color: var(--text-light); }
.t-stars { display: flex; gap: 3px; margin-top: 4px; color: var(--gold); }
.t-stars svg { width: 14px; height: 14px; }

/* ── 14. BRANCHES ─────────────────────────────────────────────────────────── */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.branch-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.branch-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.branch-map-thumb {
  height: 160px;
  background: var(--light-gray);
  position: relative;
  overflow: hidden;
}
.branch-map-thumb iframe {
  width: 100%; height: 100%;
  border: none;
  pointer-events: none;
  filter: grayscale(.3);
}
.branch-card-body { padding: 24px 26px; }
.branch-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(201,169,110,.12);
  color: var(--gold-dark);
  border-radius: 40px;
  padding: 3px 12px;
  margin-bottom: 10px;
}
.branch-card h3 {
  font-size: 1.1rem;
  color: var(--navy-dark);
  margin-bottom: 14px;
}
.branch-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.branch-info-item {
  display: flex;
  gap: 10px;
  font-size: .84rem;
  color: var(--text-light);
  align-items: flex-start;
}
.branch-info-item svg {
  color: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 2px;
  width: 15px; height: 15px;
}
.branch-info-item a { color: var(--navy); font-weight: 500; transition: color var(--transition-fast); }
.branch-info-item a:hover { color: var(--gold-dark); }
.branch-card-footer {
  padding: 16px 26px 22px;
  border-top: 1px solid var(--light-gray);
  display: flex;
  gap: 10px;
}

/* ── 15. CONTACT / FORM ───────────────────────────────────────────────────── */
#contact { background: var(--off-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info h3 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--navy-dark); }
.contact-info p  { color: var(--text-light); line-height: 1.75; margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-detail-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.contact-detail-icon svg { width: 18px; height: 18px; }
.contact-detail-text strong { display: block; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); margin-bottom: 2px; }
.contact-detail-text span, .contact-detail-text a { font-size: .92rem; color: var(--text-light); transition: color var(--transition-fast); }
.contact-detail-text a:hover { color: var(--navy); }
.working-hours {
  margin-top: 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  border: 1px solid var(--light-gray);
}
.working-hours h4 { font-size: .88rem; color: var(--navy); margin-bottom: 12px; }
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: .83rem;
  color: var(--text-light);
  padding: 5px 0;
  border-bottom: 1px solid var(--light-gray);
}
.hours-row:last-child { border-bottom: none; }
.hours-row strong { color: var(--text); }

/* Form */
.enquiry-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(201,169,110,.12);
}
.form-title { font-size: 1.5rem; margin-bottom: .4rem; }
.form-subtitle { font-size: .9rem; color: var(--text-light); margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 7px;
  letter-spacing: .02em;
}
.form-group label .req { color: var(--gold-dark); }
.form-control {
  width: 100%;
  background: var(--off-white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: .92rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  appearance: none;
}
.form-control:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(27,58,107,.08);
}
.form-control.error { border-color: var(--error); }
.form-control.success { border-color: var(--success); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-select-wrap { position: relative; }
.form-select-wrap::after {
  content: '';
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--text-light);
  pointer-events: none;
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .84rem;
  color: var(--text-light);
  margin: 16px 0 24px;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--navy);
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
}
.form-check a { color: var(--navy); font-weight: 600; }
.alert {
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: rgba(5,150,105,.08); color: var(--success); border: 1px solid rgba(5,150,105,.2); }
.alert-error   { background: rgba(220,38,38,.08); color: var(--error); border: 1px solid rgba(220,38,38,.2); }
.alert svg { flex-shrink: 0; width: 18px; height: 18px; }

/* ── 16. MAP SECTION ──────────────────────────────────────────────────────── */
#map-section { padding: 0; }
.map-container {
  width: 100%;
  height: 460px;
  position: relative;
  overflow: hidden;
}
.map-container iframe { width: 100%; height: 100%; border: none; filter: grayscale(.2) contrast(1.05); }

/* ── 17. FOOTER ───────────────────────────────────────────────────────────── */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
}
.footer-main { padding: 80px 0 56px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.footer-brand .nav-logo { margin-bottom: 20px; }
.footer-brand p { font-size: .88rem; line-height: 1.75; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; margin-top: 22px; }
.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.social-btn:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-3px); }
.social-btn svg { width: 17px; height: 17px; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: flex; align-items: center; gap: 6px;
}
.footer-links a:hover { color: var(--gold); padding-left: 6px; }
.footer-links a svg { opacity: .5; width: 12px; height: 12px; transition: opacity var(--transition-fast); }
.footer-links a:hover svg { opacity: 1; }
.footer-contact-items { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  font-size: .86rem;
  color: rgba(255,255,255,.6);
  align-items: flex-start;
}
.footer-contact-item svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; width: 15px; height: 15px; }
.footer-contact-item a { color: inherit; transition: color var(--transition-fast); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: inherit; transition: color var(--transition-fast); }
.footer-bottom-links a:hover { color: var(--gold); }

/* ── 18. WHATSAPP BUTTON ──────────────────────────────────────────────────── */
#whatsapp-btn {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}
#whatsapp-btn:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 10px 32px rgba(37,211,102,.55); }
#whatsapp-btn svg { width: 30px; height: 30px; fill: white; }
.whatsapp-pulse {
  position: absolute;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  animation: wa-pulse 2.5s ease-out infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.7); opacity: 0; }
}
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--navy-dark);
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast), right var(--transition-fast);
  box-shadow: var(--shadow-md);
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: var(--navy-dark);
}
#whatsapp-btn:hover .whatsapp-tooltip { opacity: 1; right: 76px; }

/* Back to top */
#back-to-top {
  position: fixed;
  bottom: 100px; right: 34px;
  z-index: 998;
  width: 42px; height: 42px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition-fast);
  border: none;
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--gold-dark); }
#back-to-top svg { width: 18px; height: 18px; }

/* ── 19. ANIMATIONS (Intersection Observer) ───────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-in {
  opacity: 0;
  transition: opacity .65s ease;
}
.fade-in.visible { opacity: 1; }
.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.slide-left.visible { opacity: 1; transform: translateX(0); }
.slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.slide-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger children */
.stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }

/* ── 20. MOBILE MENU ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--header-h) + 20px) 28px 40px;
    gap: 4px;
    transition: right var(--transition);
    box-shadow: -8px 0 40px rgba(0,0,0,.35);
    overflow-y: auto;
  }
  .nav-menu.open { right: 0; }
  .nav-menu a { width: 100%; padding: 13px 16px; font-size: .95rem; border-radius: var(--radius-sm); }
  .nav-cta { margin-top: 12px; width: 100%; justify-content: center; }
}

/* ── 21. RESPONSIVE ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid     { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid   { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-grid     { grid-template-columns: repeat(2, 1fr); }
  .stat-box + .stat-box::before { display: none; }
}
@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .section { padding: 64px 0; }
  .about-img-badge { bottom: -14px; right: -14px; padding: 14px 18px; }
  .enquiry-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-main { padding: 56px 0 40px; }
  .hero-divider { display: none; }
  .search-widget { padding: 22px 20px 18px; }
  .map-container { height: 300px; }
  .branches-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 16px; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .trust-sep { display: none; }
  .contact-detail-icon { width: 38px; height: 38px; }
  #whatsapp-btn { bottom: 20px; right: 20px; }
  #back-to-top { bottom: 88px; right: 22px; }
}

/* ── 22. PRINT / REDUCED MOTION ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
@media print {
  #navbar, #whatsapp-btn, #back-to-top, .hero-scroll { display: none; }
  .section { padding: 32px 0; }
}
