/* ============================================================
   LiberiaGPS – Main Stylesheet
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 8px; /* space between flag and text */
}

.lang-dropdown {
  position: relative;
  margin-left: 20px;
}

.lang-btn {
  background: none;
  border: none;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-menu {
  position: absolute;
  top: 120%;
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  display: none;
  flex-direction: column;
  min-width: 160px;
  overflow: hidden;
  z-index: 1000;
}

.lang-menu a {
  padding: 10px 14px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: background 0.2s;
}

.lang-menu a:hover {
  background: #f5f5f5;
}

/* Show dropdown */
.lang-dropdown.active .lang-menu {
  display: flex;
}

:root {
  --color-primary:   #1a4fa0;
  --color-secondary: #2ecc71;
  --color-accent:    #e74c3c;
  --color-dark:      #0d1b2a;
  --color-dark-2:    #1a2a3a;
  --color-text:      #2c3e50;
  --color-text-muted:#6b7a8d;
  --color-bg:        #f8fafc;
  --color-white:     #ffffff;
  --color-border:    #e2e8f0;
  --color-code-bg:   #1e2d3d;

  --font-main:  'Inter', sans-serif;
  --font-serif: 'Merriweather', Georgia, serif;
  --font-mono:  'Roboto Mono', monospace;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.18);

  --transition: 0.25s ease;
  --nav-h:      72px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-main); color: var(--color-text); background: var(--color-bg); line-height: 1.6; overflow-x: hidden; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   BRAND LOGO (inline CSS logo)
   ============================================================ */
.brand-logo,
.hero-logo,
.footer-logo {
  display: inline-block;
  line-height: 1;
  position: relative;
}

/* Navbar brand logo */
.brand-logo { }
.brand-liberia {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-primary);
  letter-spacing: -0.3px;
}
.brand-pin {
  font-size: 1.5rem;
  color: var(--color-accent);
  line-height: 1;
  vertical-align: middle;
  margin: 0 1px;
  display: inline-block;
}
.brand-gps {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-secondary);
}
.brand-wave {
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 2px;
  margin-top: 2px;
  opacity: 0.6;
}

/* Hero logo (larger) */
.hero-logo { display: inline-block; margin-bottom: 4px; }
.hero-logo__liberia {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--color-primary);
  display: inline;
}
.hero-logo__pin {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  color: var(--color-accent);
  display: inline;
  vertical-align: middle;
  margin: 0 2px;
  filter: drop-shadow(0 3px 6px rgba(231,76,60,.35));
}
.hero-logo__gps {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--color-secondary);
  display: inline;
}
.hero-logo__wave {
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: 3px;
  margin-top: 4px;
  opacity: 0.7;
}

/* Footer logo */
.footer-logo__liberia {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.9);
  display: inline;
}
.footer-logo__pin {
  font-size: 1.5rem;
  color: var(--color-accent);
  display: inline;
  vertical-align: middle;
  margin: 0 2px;
}
.footer-logo__gps {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-secondary);
  display: inline;
}
.footer-logo__wave {
  display: block;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.5), var(--color-secondary));
  border-radius: 2px;
  margin-top: 3px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }
.btn--primary:hover { background: #163d80; border-color: #163d80; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--white { background: var(--color-white); color: var(--color-primary); border-color: var(--color-white); }
.btn--white:hover { background: transparent; color: var(--color-white); transform: translateY(-2px); }
.btn--lg { padding: 15px 32px; font-size: 1.05rem; border-radius: var(--radius-lg); }

/* ============================================================
   SECTION TITLE
   ============================================================ */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-title--white { color: var(--color-white); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__brand { display: flex; align-items: center; }

.navbar__nav { display: flex; align-items: center; gap: 4px; }

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text);
  transition: all var(--transition);
}
.nav-link:hover { color: var(--color-primary); background: rgba(26,79,160,.07); }

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: #ddeaf8;
  display: flex;
  align-items: center;
}

/* Map background grid */
.hero__map-bg {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg,   transparent, transparent 59px, rgba(255,255,255,0.6) 59px, rgba(255,255,255,0.6) 61px),
    repeating-linear-gradient(90deg,  transparent, transparent 79px, rgba(255,255,255,0.6) 79px, rgba(255,255,255,0.6) 81px),
    repeating-linear-gradient(30deg,  transparent, transparent 149px, rgba(255,255,255,0.2) 149px, rgba(255,255,255,0.2) 151px),
    linear-gradient(135deg, #cfe0f5 0%, #c0d5ee 50%, #b0c9e6 100%);
  background-size: 60px 60px, 80px 80px, 150px 150px, 100% 100%;
}

.hero__map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(221,234,248,0.95) 0%,
    rgba(221,234,248,0.80) 45%,
    rgba(221,234,248,0.35) 100%
  );
}

/* Floating map pins */
.hero__pin {
  position: absolute;
  font-size: 2rem;
  color: var(--color-accent);
  filter: drop-shadow(0 3px 8px rgba(0,0,0,.25));
  animation: pin-float 3s ease-in-out infinite;
  z-index: 1;
}
.hero__pin--1 { top: 18%; right: 22%; animation-delay: 0s; }
.hero__pin--2 { top: 55%; right: 8%;  animation-delay: 1.2s; font-size: 1.5rem; }
.hero__pin--3 { bottom: 20%; right: 38%; animation-delay: 2.1s; font-size: 1.7rem; }

@keyframes pin-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* Hero content */
.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 80px;
}

.hero__text { display: flex; flex-direction: column; gap: 20px; }

.hero__headline {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 900;
  color: var(--color-dark);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  color: var(--color-text-muted);
  line-height: 1.75;
}

.hero__cta { align-self: flex-start; }

.hero__store-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
}
.store-btn span { display: flex; flex-direction: column; line-height: 1.2; }
.store-btn small { font-size: 0.7rem; font-weight: 400; opacity: 0.85; }
.store-btn--apple  { background: #1a1a1a; color: white; font-size: 1.4rem; }
.store-btn--apple:hover  { background: #333; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store-btn--google { background: var(--color-secondary); color: white; font-size: 1.3rem; }
.store-btn--google:hover { background: #27ae60; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---- Phone Mockups ---- */
.hero__phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 480px;
}

.phone-mockup {
  width: 210px;
  height: 420px;
  background: #0d1b2a;
  border-radius: 40px;
  padding: 14px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08);
  position: absolute;
  border: 2px solid #253545;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 12px;
  background: #0d1b2a;
  border-radius: 10px;
  z-index: 2;
}

.phone-mockup--back {
  transform: rotate(-9deg) translateX(-45px);
  bottom: 0;
  z-index: 1;
  opacity: 0.82;
}
.phone-mockup--front {
  transform: rotate(4deg) translateX(32px);
  bottom: 20px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
}

/* Back phone – map preview */
.phone-map-preview {
  width: 100%;
  height: 100%;
  background: #ddeaf8;
  position: relative;
  overflow: hidden;
}
.phone-map-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg,   transparent, transparent 19px, rgba(255,255,255,0.65) 19px, rgba(255,255,255,0.65) 20px),
    repeating-linear-gradient(90deg,  transparent, transparent 19px, rgba(255,255,255,0.65) 19px, rgba(255,255,255,0.65) 20px);
}

.map-pin { position: absolute; color: var(--color-accent); font-size: 1.2rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
.map-pin--1 { top: 30%; left: 38%; }
.map-pin--2 { top: 60%; left: 63%; }

.map-road { position: absolute; background: rgba(255,255,255,0.9); }
.map-road--h1 { top: 35%; left: 0; right: 0; height: 4px; }
.map-road--h2 { top: 65%; left: 0; right: 0; height: 3px; }
.map-road--v1 { left: 44%; top: 0; bottom: 0; width: 4px; }
.map-road--v2 { left: 70%; top: 0; bottom: 0; width: 3px; }

.map-label {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Front phone – app UI */
.phone-app-ui { display: flex; flex-direction: column; height: 100%; }

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 12px 8px;
  background: var(--color-primary);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
}
.app-title { font-size: 0.65rem; }

.app-map {
  flex: 1;
  background: #d4e4f7;
  position: relative;
  overflow: hidden;
}
.app-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg,   transparent, transparent 14px, rgba(255,255,255,0.6) 14px, rgba(255,255,255,0.6) 15px),
    repeating-linear-gradient(90deg,  transparent, transparent 14px, rgba(255,255,255,0.6) 14px, rgba(255,255,255,0.6) 15px);
}
.map-pin--center { top: 45%; left: 46%; font-size: 1.4rem; z-index: 1; }

.app-list { padding: 8px; background: white; border-top: 1px solid #eee; }
.app-list-item {
  font-size: 0.5rem;
  padding: 4px 0;
  color: var(--color-text);
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.app-list-item i { color: var(--color-primary); font-size: 0.45rem; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about { padding: 100px 0; background: var(--color-white); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about__desc { color: var(--color-text-muted); font-size: 1rem; line-height: 1.8; margin-bottom: 8px; }

.about__features { display: flex; gap: 40px; margin-top: 36px; flex-wrap: wrap; }

.feature-card { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }

.feature-card__icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  border: 3px solid currentColor;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card__icon:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(0,0,0,.12); }

.feature-card__icon--blue  { color: #1a4fa0; background: rgba(26,79,160,.08); }
.feature-card__icon--teal  { color: #0d9488; background: rgba(13,148,136,.08); }
.feature-card__icon--green { color: #16a34a; background: rgba(22,163,74,.08); }

.feature-card__label { font-weight: 700; font-size: 1rem; color: var(--color-text); }

/* Developer card */
.dev-card {
  display: flex;
  gap: 0;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.dev-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.dev-card__code {
  background: var(--color-code-bg);
  padding: 18px;
  min-width: 210px;
  flex-shrink: 0;
}

.dev-card__dots { display: flex; gap: 5px; margin-bottom: 14px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--red    { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green  { background: #28c840; }

.dev-card__pre {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  line-height: 1.75;
  overflow-x: auto;
  white-space: pre;
}

.code-tag  { color: #79b8ff; }
.code-attr { color: #ffab70; }
.code-str  { color: #9ecbff; }

.dev-card__info {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.dev-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dev-card__desc { font-size: 0.88rem; color: var(--color-text-muted); line-height: 1.6; }

/* ============================================================
   POSTAL CODES SECTION
   ============================================================ */
.postal { padding: 100px 0; background: var(--color-bg); }

.postal__intro {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 36px;
  max-width: 720px;
  line-height: 1.7;
}
.postal__intro strong { color: var(--color-dark); }

.postal__table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.postal-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  font-size: 0.9rem;
}

.postal-table thead tr { background: var(--color-primary); color: var(--color-white); }

.postal-table th {
  padding: 15px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.postal-table td { padding: 13px 20px; border-bottom: 1px solid var(--color-border); color: var(--color-text); }
.postal-table tbody tr:last-child td { border-bottom: none; }
.postal-table tbody tr:hover { background: rgba(26,79,160,.04); }
.postal-table tbody tr:nth-child(even) { background: #f8fafc; }
.postal-table tbody tr:nth-child(even):hover { background: rgba(26,79,160,.04); }

.code-badge {
  display: inline-block;
  background: rgba(26,79,160,.1);
  color: var(--color-primary);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(26,79,160,.2);
}

/* ============================================================
   MAP SECTION
   ============================================================ */
.map-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, #0b2660 100%);
  position: relative;
  overflow: hidden;
}

.map-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg,   transparent, transparent 39px, rgba(255,255,255,.04) 39px, rgba(255,255,255,.04) 40px),
    repeating-linear-gradient(90deg,  transparent, transparent 39px, rgba(255,255,255,.04) 39px, rgba(255,255,255,.04) 40px);
}

.map-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.map-section__desc { color: rgba(255,255,255,0.75); font-size: 1.05rem; line-height: 1.8; margin-bottom: 28px; }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 3px solid rgba(255,255,255,.15); }

.map-frame__inner { position: relative; }

.map-frame__img { width: 100%; height: 300px; object-fit: cover; display: block; }

.map-frame__pin {
  position: absolute;
  font-size: 2.2rem;
  color: var(--color-accent);
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.5));
  cursor: pointer;
  transition: transform var(--transition);
}
.map-frame__pin:hover { transform: scale(1.2) translateY(-4px); }
.map-frame__pin:hover .map-tooltip { opacity: 1; transform: translateX(-50%) translateY(-4px); }

.map-frame__pin--1 { top: 28%; left: 33%; }
.map-frame__pin--2 { top: 55%; left: 60%; }

.map-tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-dark);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  transition: all var(--transition);
  pointer-events: none;
}

/* ============================================================
   SUPPORT SECTION
   ============================================================ */
.support { padding: 100px 0; background: var(--color-white); }

.support__desc { color: var(--color-text-muted); font-size: 1.05rem; margin-bottom: 48px; max-width: 600px; }

.support__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.support-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: all var(--transition);
}
.support-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--color-primary); }

.support-card__icon {
  width: 68px;
  height: 68px;
  background: rgba(26,79,160,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--color-primary);
  margin: 0 auto 20px;
}

.support-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--color-dark); }
.support-card p  { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.6; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--color-dark); color: rgba(255,255,255,0.8); }

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 24px 48px;
}

.footer__copy { font-size: 0.82rem; color: rgba(255,255,255,.4); margin-top: 10px; }

.footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
}

.footer__list li { margin-bottom: 10px; }
.footer__list a { font-size: 0.88rem; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer__list a:hover { color: var(--color-white); }

.footer__socials { display: flex; gap: 10px; flex-wrap: wrap; }

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.social-icon:hover { background: var(--color-primary); color: white; transform: translateY(-2px); }

.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 24px; }
.footer__bottom p { font-size: 0.82rem; color: rgba(255,255,255,.4); text-align: center; }
.footer__map-link { color: var(--color-secondary); font-weight: 600; transition: color var(--transition); }
.footer__map-link:hover { color: #27ae60; }

/* ============================================================
   RESPONSIVE – TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .hero__content  { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero__text     { align-items: center; }
  .hero__cta      { align-self: center; }
  .hero__phones   { height: 380px; }
  .phone-mockup   { width: 170px; height: 340px; }

  .about__grid    { grid-template-columns: 1fr; gap: 60px; }
  .map-section__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner  { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ============================================================
   RESPONSIVE – MOBILE
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .navbar__nav {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    gap: 4px;
    align-items: stretch;
  }
  .navbar__nav.open { display: flex; }
  .navbar__hamburger { display: flex; }
  .nav-link { padding: 12px 16px; }

  .hero__content { padding-top: 40px; padding-bottom: 60px; }
  .hero__headline { font-size: 1.85rem; }
  .hero__phones { height: 300px; }
  .phone-mockup { width: 140px; height: 280px; }
  .phone-mockup--back  { transform: rotate(-8deg) translateX(-28px); }
  .phone-mockup--front { transform: rotate(4deg) translateX(18px); }

  .about__features { justify-content: center; }
  .dev-card { flex-direction: column; }
  .dev-card__code { min-width: unset; }

  .support__cards { grid-template-columns: 1fr; }
  .footer__inner  { grid-template-columns: 1fr; gap: 28px; padding: 48px 24px 36px; }
}

@media (max-width: 480px) {
  .hero__store-btns { flex-direction: column; align-items: center; }
  .store-btn { width: 100%; justify-content: center; }
  .hero__phones { display: none; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
