/* ==========================================================================
   Kuwait Germany — City Pages & Coverage Directory Stylesheet
   Designed to match the Deep Forest & Amber Ochre architectural design system
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@500;600;700;800;900&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --forest: #0F3F46;
  --forest-dark: #082017;
  --forest-light: #185E69;
  --forest-muted: rgba(15, 63, 70, 0.08);
  --forest-border: rgba(15, 63, 70, 0.16);
  --amber: #C85A17;
  --amber-hover: #9E430F;
  --amber-light: #FEF7ED;
  --amber-border: rgba(200, 90, 23, 0.3);
  --alabaster: #F5F2EB;
  --paper: #FAF8F5;
  --charcoal: #181A19;
  --charcoal-muted: #525854;
  --border: #DCD6C8;
  --border-light: #EBE6DB;
  --white: #FFFFFF;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 6px rgba(15, 63, 70, 0.05);
  --shadow-md: 0 6px 18px rgba(15, 63, 70, 0.08);
  --shadow-lg: 0 12px 30px rgba(15, 63, 70, 0.12);
  --shadow-hard: 3px 3px 0px #181A19;
  --font-heading: 'Cairo', sans-serif;
  --font-body: 'IBM Plex Sans Arabic', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background-color: var(--alabaster);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  direction: rtl;
  text-align: right;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  color: var(--forest);
  line-height: 1.25;
}

/* ==========================================================================
   Topbar (Technical & License Utility Bar)
   ========================================================================== */
.topbar {
  background: var(--forest-dark);
  color: #E2DFD8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  padding: 8px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-contact a {
  color: #E2DFD8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
  font-family: var(--font-mono), var(--font-body);
}

.topbar-contact a:hover {
  color: #F2B27E;
}

.topbar-license {
  color: #F2B27E;
  font-weight: 600;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  padding-right: 12px;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #9DB5AC;
  font-size: 12px;
}

.topbar-social span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Header & Sticky Architectural Navigation
   ========================================================================== */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  background: rgba(245, 242, 235, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--forest);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 16px;
}

/* Brand Identity */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-emblem {
  width: 44px;
  height: 44px;
  background: var(--forest);
  border: 2px solid var(--charcoal);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 2px 2px 0px var(--charcoal);
  flex-shrink: 0;
}

.brand-emblem svg {
  width: 24px;
  height: 24px;
  color: var(--amber);
}

.emblem-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  display: flex;
}

.emblem-strip .flag-green { flex: 1; background: #007A3D; }
.emblem-strip .flag-white { flex: 1; background: #FFFFFF; }
.emblem-strip .flag-red   { flex: 1; background: #CE1126; }
.emblem-strip .flag-amber { flex: 1; background: #C85A17; }

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-title span {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 17px;
  color: var(--forest);
  letter-spacing: -0.3px;
  line-height: 1;
}

.brand-tag {
  background: rgba(200, 90, 23, 0.15);
  color: var(--amber);
  border: 1px solid rgba(200, 90, 23, 0.35);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  line-height: 1.2;
}

.brand-sub {
  font-size: 11px;
  color: var(--charcoal-muted);
  font-weight: 500;
  margin-top: 3px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--charcoal);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-back-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--paper);
  border: 1.5px solid var(--forest);
  border-radius: 6px;
  color: var(--forest);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
}

.nav-back-pill:hover {
  background: var(--forest);
  color: var(--white);
}

.call-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--amber);
  color: var(--white);
  border: 1.5px solid var(--charcoal);
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 2px 2px 0px var(--charcoal);
  transition: all 0.2s;
}

.call-pill:hover {
  background: var(--amber-hover);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px var(--charcoal);
}

.menu-toggle {
  display: none;
  background: var(--paper);
  border: 1.5px solid var(--charcoal);
  border-radius: 6px;
  padding: 8px;
  color: var(--forest);
  cursor: pointer;
}

/* ==========================================================================
   City Hero & Cities Hero - Premium Photographic Covers with Architectural Overlay
   ========================================================================== */
.city-hero, .cities-hero {
  position: relative;
  background-color: #082017;
  color: var(--white);
  padding: 68px 0 92px;
  overflow: hidden;
  border-bottom: 3px solid var(--amber);
}

.city-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.42;
  filter: contrast(1.12) brightness(0.88);
  pointer-events: none;
  z-index: 1;
}

.city-hero::after, .cities-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(8, 32, 23, 0.92) 0%, rgba(15, 63, 70, 0.78) 55%, rgba(8, 32, 23, 0.88) 100%),
              radial-gradient(circle at 85% 20%, rgba(200, 90, 23, 0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: 2;
}

/* Technical Blueprint Grid Pattern */
.city-hero::before, .cities-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 2;
}

.city-hero-content, .cities-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 860px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(245, 242, 235, 0.75);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(245, 242, 235, 0.85);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #F2B27E;
}

.city-hero-top-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.back-home-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  transition: all 0.2s;
}

.back-home-pill:hover {
  background: rgba(255, 255, 255, 0.25);
}

.city-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(200, 90, 23, 0.25);
  border: 1px solid rgba(242, 178, 126, 0.5);
  border-radius: 20px;
  color: #F2B27E;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
}

.city-hero h1, .cities-hero h1 {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 16px;
}

.city-hero h1 span, .cities-hero h1 span {
  color: #F2B27E;
  position: relative;
  display: inline-block;
}

.city-hero p, .cities-hero p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(245, 242, 235, 0.92);
  margin-bottom: 28px;
  max-width: 780px;
}

.city-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--amber);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  border: 2px solid var(--charcoal);
  border-radius: 8px;
  box-shadow: var(--shadow-hard);
  transition: all 0.2s;
  cursor: pointer;
}

.button-primary:hover {
  background: var(--amber-hover);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0px var(--charcoal);
}

.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  backdrop-filter: blur(4px);
  transition: all 0.2s;
}

.button-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.stats-bar {
  margin-top: -34px;
  position: relative;
  z-index: 10;
  margin-bottom: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 2px solid var(--forest);
  border-radius: 12px;
  padding: 22px 16px;
  box-shadow: var(--shadow-md);
}

.stat-item {
  text-align: center;
  padding: 0 14px;
  border-left: 1px solid var(--border);
}

.stat-item:last-child {
  border-left: none;
}

.stat-num {
  display: block;
  font-family: var(--font-mono), var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  color: var(--forest);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal-muted);
  margin-top: 8px;
}

/* ==========================================================================
   Sections Common
   ========================================================================== */
.section {
  padding: 64px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 38px;
}

.section-kicker, .kicker {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  color: var(--amber);
  background: rgba(200, 90, 23, 0.1);
  border: 1px solid rgba(200, 90, 23, 0.3);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 32px;
  font-weight: 900;
  color: var(--forest);
  margin-bottom: 12px;
}

.section-head p {
  font-size: 15px;
  color: var(--charcoal-muted);
  line-height: 1.7;
}

/* ==========================================================================
   About City
   ========================================================================== */
.about-city {
  background: var(--alabaster);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.about-text h2 {
  font-size: 32px;
  font-weight: 900;
  color: var(--forest);
  margin-bottom: 16px;
}

.about-text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--charcoal-muted);
  margin-bottom: 16px;
}

.button-primary-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--forest);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  border: 2px solid var(--charcoal);
  border-radius: 8px;
  box-shadow: var(--shadow-hard);
  transition: all 0.2s;
}

.button-primary-dark:hover {
  background: var(--forest-light);
  transform: translate(-1px, -1px);
}

.about-visual {
  background: var(--paper);
  border: 2px solid var(--forest);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 4px 4px 0px var(--forest);
}

.about-visual-inner {
  text-align: right;
}

.city-icon-big {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: var(--forest-muted);
  color: var(--forest);
  border: 1.5px solid var(--forest-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.about-visual h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--forest);
  margin-bottom: 6px;
}

.about-visual p {
  font-size: 13px;
  color: var(--charcoal-muted);
  margin-bottom: 18px;
}

.district-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.district-tag {
  padding: 6px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
  transition: all 0.2s;
}

.district-tag:hover {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.city-services {
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.service-card:hover {
  border-color: var(--forest);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.bug-art {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--forest-muted);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: all 0.25s;
}

.service-card:hover .bug-art {
  background: var(--forest);
  color: var(--white);
}

.service-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--forest);
  margin-bottom: 12px;
}

.service-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--border);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  transition: all 0.2s;
}

.service-card:hover .service-arrow {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
  background: var(--alabaster);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(200, 90, 23, 0.1);
  color: var(--amber);
  border: 1px solid rgba(200, 90, 23, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--forest);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--charcoal-muted);
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process-section {
  background: var(--paper);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-step {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}

.process-step:hover {
  border-color: var(--forest);
  box-shadow: var(--shadow-md);
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  border: 2px solid var(--amber);
}

.process-step h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--forest);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--charcoal-muted);
}

/* ==========================================================================
   CTA Band
   ========================================================================== */
.cta-band {
  background: linear-gradient(135deg, #082017 0%, #0F3F46 100%);
  color: var(--white);
  padding: 48px 0;
  border-radius: 16px;
  margin: 40px auto;
  border: 2px solid var(--charcoal);
  box-shadow: 4px 4px 0px var(--charcoal);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
}

.cta-text p {
  font-size: 15px;
  color: rgba(245, 242, 235, 0.88);
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  background: var(--alabaster);
  padding: 64px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
  align-items: start;
}

.contact-copy h2 {
  font-size: 32px;
  font-weight: 900;
  color: var(--forest);
  margin-bottom: 12px;
}

.contact-copy p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--charcoal-muted);
  margin-bottom: 24px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s;
  color: var(--charcoal);
}

.contact-detail:hover {
  border-color: var(--forest);
  transform: translateX(-3px);
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--forest-muted);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-size: 14px;
  color: var(--forest);
  font-family: var(--font-heading);
}

.contact-detail small {
  display: block;
  font-size: 13px;
  color: var(--charcoal-muted);
  font-family: var(--font-mono), var(--font-body);
}

.contact-form {
  background: var(--white);
  border: 2px solid var(--forest);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 4px 4px 0px var(--forest);
}

.contact-form h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--forest);
  margin-bottom: 6px;
}

.contact-form p {
  font-size: 13px;
  color: var(--charcoal-muted);
  margin-bottom: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: span 2;
}

.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--forest);
  font-family: var(--font-heading);
}

.field input, .field select, .field textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--charcoal);
  transition: all 0.2s;
  width: 100%;
}

.field textarea {
  min-height: 80px;
  resize: vertical;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(15, 63, 70, 0.15);
  background: var(--white);
}

.form-submit {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  background: var(--amber);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  border: 2px solid var(--charcoal);
  border-radius: 8px;
  box-shadow: var(--shadow-hard);
  cursor: pointer;
  transition: all 0.2s;
}

.form-submit:hover {
  background: var(--amber-hover);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0px var(--charcoal);
}

.form-notice {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

/* ==========================================================================
   Directory & Showcase Cards (for all-cities.html)
   ========================================================================== */
.filter-bar-wrap {
  background: var(--paper);
  border-bottom: 2px solid var(--border);
  padding: 22px 0;
  margin-bottom: 34px;
}

.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search-box {
  position: relative;
  width: 100%;
  max-width: 620px;
}

.search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--charcoal-muted);
  pointer-events: none;
}

#city-search {
  width: 100%;
  padding: 12px 42px 12px 16px;
  border: 2px solid var(--forest);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--charcoal);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

#city-search:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 63, 70, 0.15);
}

.filter-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 7px 18px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  color: var(--forest);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-chip.active, .filter-chip:hover {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.directory-section {
  padding: 10px 0 70px;
}

.cities-directory {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.city-showcase-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.city-showcase-card:hover {
  border-color: var(--forest);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-cover {
  height: 155px;
  background-color: #0F3F46;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-bottom: 2px solid rgba(15, 63, 70, 0.15);
  transition: transform 0.5s ease;
}

.city-showcase-card:hover .card-cover {
  transform: scale(1.02);
}

.card-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 32, 23, 0.75) 0%, rgba(15, 63, 70, 0.18) 60%, transparent 100%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.city-showcase-card:hover .card-cover::before {
  opacity: 0.45;
}

.card-top {
  padding: 18px 20px 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.city-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.city-badge-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--forest-muted);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.city-title-wrap h2 {
  font-size: 19px;
  font-weight: 900;
  color: var(--forest);
  margin-bottom: 2px;
}

.city-subtitle {
  font-size: 12px;
  color: var(--charcoal-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.speed-badge {
  font-size: 11px;
  font-family: var(--font-heading);
  font-weight: 800;
  background: rgba(200, 90, 23, 0.12);
  color: var(--amber);
  border: 1px solid rgba(200, 90, 23, 0.3);
  border-radius: 20px;
  padding: 4px 10px;
  white-space: nowrap;
}

.city-desc {
  padding: 0 20px 14px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--charcoal-muted);
  flex-grow: 1;
}

.neighborhoods-wrap {
  padding: 0 20px 16px;
}

.neighborhoods-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--forest);
  display: block;
  margin-bottom: 8px;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.n-tag {
  font-size: 11px;
  padding: 3px 8px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--charcoal-muted);
  font-weight: 500;
}

.card-footer-action {
  padding: 14px 20px;
  border-top: 1px solid var(--border-light);
  background: var(--paper);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.city-feature-point {
  font-size: 12px;
  font-weight: 700;
  color: var(--forest);
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-view-city {
  padding: 8px 16px;
  background: var(--forest);
  color: var(--white);
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
  border: 1.5px solid var(--charcoal);
  box-shadow: 2px 2px 0px var(--charcoal);
}

.btn-view-city:hover {
  background: var(--amber);
  transform: translate(-1px, -1px);
}

.custom-area-band {
  background: var(--paper);
  border: 2px dashed var(--forest);
  border-radius: 16px;
  padding: 32px;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.custom-area-text h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--forest);
  margin-bottom: 6px;
}

.custom-area-text p {
  font-size: 14px;
  color: var(--charcoal-muted);
}

.custom-area-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--forest-dark);
  color: var(--alabaster);
  padding: 60px 0 24px;
  border-top: 3px solid var(--forest);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 242, 235, 0.75);
  margin-top: 14px;
}

.footer-column h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: #F2B27E;
  margin-bottom: 16px;
  border-bottom: 2px solid rgba(200, 90, 23, 0.35);
  padding-bottom: 6px;
  display: inline-block;
}

.footer-column a {
  display: block;
  color: rgba(245, 242, 235, 0.8);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: #F2B27E;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  padding-bottom: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(245, 242, 235, 0.6);
}

.developer-credit-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 6px 16px !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: rgba(245, 242, 235, 0.85) !important;
  text-decoration: none !important;
  font-size: 12px !important;
  transition: all 0.25s ease !important;
}

.developer-credit-pill:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(242, 178, 126, 0.6) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 15px rgba(242, 178, 126, 0.15) !important;
}

/* ==========================================================================
   Floating Quick Actions
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 22px;
  left: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  text-decoration: none;
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-whatsapp {
  background: #25D366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
}

.float-call {
  background: #0F3F46;
  border-color: rgba(200, 90, 23, 0.45);
  box-shadow: 0 4px 14px rgba(15, 63, 70, 0.45);
}
.float-call:hover {
  background: #C85A17;
}

.float-tooltip {
  position: absolute;
  left: 54px;
  background: #102B35;
  color: #FFFFFF;
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 11px;
  font-family: var(--font-heading);
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateX(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.float-btn:hover .float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 640px) {
  .floating-actions {
    bottom: 16px;
    left: 14px;
    gap: 8px;
  }
  .float-btn {
    width: 40px;
    height: 40px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  }
  .float-btn svg {
    width: 19px !important;
    height: 19px !important;
  }
  .float-tooltip {
    display: none;
  }
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 992px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    right: 0;
    left: 0;
    background: var(--paper);
    border-bottom: 2px solid var(--forest);
    flex-direction: column;
    padding: 20px;
    gap: 14px;
    box-shadow: var(--shadow-lg);
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
  }
  
  .cities-directory {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .topbar-social {
    display: none;
  }
  
  .brand-sub {
    display: none;
  }
  
  .city-hero h1, .cities-hero h1 {
    font-size: 28px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .stat-item {
    border-left: none;
  }
  
  .stat-item:nth-child(1) {
    border-left: 1px solid var(--border);
  }
  
  .stat-item:nth-child(3) {
    border-left: 1px solid var(--border);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .field.full {
    grid-column: span 1;
  }
  
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-actions {
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .card-footer-action {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  
  .btn-view-city {
    text-align: center;
  }
}

/* ==========================================================================
   Quick City Switcher Ribbon (Cross-linking across all cities)
   ========================================================================== */
.city-switcher-ribbon {
  background: var(--paper);
  border-bottom: 2px solid var(--border);
  padding: 10px 0;
  position: relative;
  z-index: 20;
}

.city-switcher-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 2px 0 6px;
  -webkit-overflow-scrolling: touch;
}

.city-switcher-inner::-webkit-scrollbar {
  height: 4px;
}

.city-switcher-inner::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.city-switcher-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  color: var(--forest);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: 8px;
  border-left: 2px solid var(--border);
}

.city-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  color: var(--charcoal);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  flex-shrink: 0;
}

.city-pill-link:hover {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.city-pill-link.active {
  background: var(--amber);
  color: var(--white);
  border-color: var(--charcoal);
  box-shadow: 1px 1px 0px var(--charcoal);
}
