/* ============================================================
   Custom Maps for Websites — style.css
   Design system: map-inspired palette, Playfair Display + Inter
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #f7f4f0;
  --primary:  #1a5f7a;
  --secondary:#4a7c59;
  --text:     #1a1a2e;
  --accent:   #c9a84c;
  --border:   #e0dcd4;
  --white:    #ffffff;
  --radius:   6px;
  --shadow:   0 2px 16px rgba(26,26,46,.10);
}

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--text);
}

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

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

/* ── Utility ──────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: #14495e;
  border-color: #14495e;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26,95,122,.35);
}
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: #b8953e;
  border-color: #b8953e;
  text-decoration: none;
  transform: translateY(-1px);
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(247,244,240,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo .logo-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: color .15s;
}
.nav-links a:hover { color: var(--primary); text-decoration: none; }
.nav-links .nav-cta .btn { padding: 9px 22px; font-size: 0.88rem; }

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

/* ── Hero ─────────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
}
#hero-map {
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* Push hero-map Leaflet controls below the fixed nav (64px) + invite bar (~42px) */
#hero-map .leaflet-top {
  top: 118px;
}

/* ── Map invite bar ────────────────────────────────────────── */
.hero-invite {
  position: absolute;
  top: 64px;              /* flush below the fixed nav */
  left: 0; right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 40px 9px 20px;
  background: rgba(26,26,46,.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,168,76,.18);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: auto;
}
.hero-invite.dismissed {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.hi-pulse {
  flex-shrink: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}

.hi-text {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  letter-spacing: .02em;
  text-align: center;
}

.hi-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,.4);
  font-size: 1rem;
  line-height: 1;
  padding: 4px 6px;
  cursor: pointer;
  transition: color .15s;
}
.hi-close:hover { color: rgba(255,255,255,.85); }

/* ── Hero engagement toast ─────────────────────────────────── */
/* Slides up from just above the stats bar when threshold is reached */
.hero-toast {
  position: absolute;
  bottom: 60px;           /* sits above the stats bar */
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 6;
  width: min(480px, calc(100vw - 48px));
  background: rgba(26,26,46,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201,168,76,.45);
  border-radius: 10px;
  padding: 22px 28px 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease, transform .4s ease;
}
.hero-toast:not([hidden]) {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
/* When JS removes [hidden] it starts the transition — but we need
   display:block first; we handle that in JS with a rAF trick */

.hero-toast-close {
  position: absolute;
  top: 10px; right: 12px;
  background: none;
  border: none;
  color: rgba(255,255,255,.5);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 6px;
  transition: color .15s;
}
.hero-toast-close:hover { color: var(--white); }

.hero-toast-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 10px;
}
.hero-toast-headline em {
  font-style: normal;
  color: var(--accent);
}

.hero-toast-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
}

/* ── Live engagement stats bar ─────────────────────────────── */
.hero-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 5;
  background: rgba(26,26,46,.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(201,168,76,.2);
  padding: 12px 32px;
  pointer-events: none;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.hs-icon {
  font-size: 0.82rem;
  opacity: .7;
}
.hs-val {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 2ch;
  font-variant-numeric: tabular-nums;
  display: inline-block;
  transition: transform .15s ease, color .15s ease;
}
.hs-val.bump {
  transform: scale(1.35);
  color: var(--white);
}
@keyframes bumpIn {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.35); color: var(--white); }
  100% { transform: scale(1); }
}
.hs-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .03em;
}
.hero-stat-divider {
  color: rgba(255,255,255,.2);
  font-size: 0.9rem;
  line-height: 1;
}

/* ── Section shared ───────────────────────────────────────── */
section { padding: 88px 0; }

/* ── Hook section ─────────────────────────────────────────── */
#hook {
  background: var(--text);
  position: relative;
  overflow: hidden;
}
/* subtle grid lines */
#hook::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
#hook .container { position: relative; z-index: 1; }
#hook h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}
#hook h2 em {
  font-style: normal;
  color: var(--accent);
}
#hook p {
  color: rgba(255,255,255,.75);
  max-width: 680px;
  margin: 0 auto 20px;
  text-align: center;
  font-size: 1.05rem;
}
#hook .hook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 52px;
}
.hook-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.hook-card .icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.hook-card h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 10px;
}
.hook-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,.6);
  text-align: left;
  margin: 0;
}

/* ── Stats bar ────────────────────────────────────────────── */
#stats {
  background: var(--primary);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}
.stat-item .stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,.78);
  line-height: 1.4;
  max-width: 180px;
  margin: 0 auto;
}

/* ── Services ─────────────────────────────────────────────── */
#services { background: var(--bg); }
#services h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  text-align: center;
  margin-bottom: 12px;
}
#services .section-intro {
  text-align: center;
  color: #555;
  max-width: 600px;
  margin: 0 auto 52px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: box-shadow .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.service-card .svc-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

/* ── How it works ─────────────────────────────────────────── */
#how {
  background: linear-gradient(135deg, #eef5f0 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}
/* Contour line SVG pattern */
#how::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cellipse cx='100' cy='100' rx='90' ry='55' fill='none' stroke='%234a7c59' stroke-width='.5' opacity='.12'/%3E%3Cellipse cx='100' cy='100' rx='70' ry='38' fill='none' stroke='%234a7c59' stroke-width='.5' opacity='.12'/%3E%3Cellipse cx='100' cy='100' rx='50' ry='24' fill='none' stroke='%234a7c59' stroke-width='.5' opacity='.12'/%3E%3Cellipse cx='100' cy='100' rx='30' ry='12' fill='none' stroke='%234a7c59' stroke-width='.5' opacity='.12'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: .6;
}
#how .container { position: relative; z-index: 1; }
#how h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  text-align: center;
  margin-bottom: 52px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: start;
}
.step {
  text-align: center;
  padding: 0 20px;
}
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 12px; }
.step p { font-size: 0.9rem; color: #555; }

/* ── Portfolio preview ────────────────────────────────────── */
#portfolio-preview { background: var(--bg); }
#portfolio-preview h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  text-align: center;
  margin-bottom: 12px;
}
#portfolio-preview .section-intro {
  text-align: center;
  color: #555;
  max-width: 560px;
  margin: 0 auto 48px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}
.portfolio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.portfolio-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.portfolio-card-map {
  height: 200px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.portfolio-card-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .35s ease;
}
.portfolio-card:hover .portfolio-card-map img {
  transform: scale(1.03);
}
.portfolio-card-body { padding: 22px 24px; }
.portfolio-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.portfolio-card-body p { font-size: 0.875rem; color: #555; margin-bottom: 16px; line-height: 1.55; }
.portfolio-card-body .tag {
  display: inline-block;
  background: rgba(26,95,122,.1);
  color: var(--primary);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 6px;
  margin-bottom: 6px;
}
.portfolio-card-footer {
  padding: 0 24px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.portfolio-view-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

/* ── About teaser ─────────────────────────────────────────── */
#about-teaser {
  background: var(--secondary);
  position: relative;
  overflow: hidden;
}
#about-teaser::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 36px 36px;
}
#about-teaser .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 48px;
}
.about-avatar {
  flex-shrink: 0;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 3px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.about-teaser-text h2 {
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 12px;
}
.about-teaser-text p {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  margin-bottom: 20px;
  max-width: 620px;
}

/* ── Contact form ─────────────────────────────────────────── */
#contact { background: var(--bg); }
#contact h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  text-align: center;
  margin-bottom: 12px;
}
#contact .section-intro {
  text-align: center;
  color: #555;
  max-width: 520px;
  margin: 0 auto 44px;
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 52px;
  align-items: start;
}
.contact-info h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.contact-info p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 24px;
  line-height: 1.6;
}
.contact-info ul {
  list-style: none;
}
.contact-info ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 12px;
}
.contact-info ul li .ci-icon { font-size: 1rem; }

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--text);
  transition: border-color .2s;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,95,122,.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit { margin-top: 8px; }
.form-note {
  font-size: 0.8rem;
  color: #888;
  margin-top: 10px;
}

/* ── Inline map demo (SEO pages / portfolio) ──────────────── */
.map-demo-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin: 32px 0;
}
.map-demo-wrap .leaflet-container { z-index: 1; }

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: var(--text);
  padding: 52px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 14px; }
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,.55);
  max-width: 280px;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.65);
  transition: color .15s;
}
.footer-col ul li a:hover {
  color: var(--white);
  text-decoration: none;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,.4);
}

/* ── Page hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: var(--text);
  padding: 120px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .section-label { text-align: center; }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  text-align: center;
  max-width: 820px;
  margin: 0 auto 20px;
}
.page-hero p {
  color: rgba(255,255,255,.72);
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ── About page ───────────────────────────────────────────── */
.about-content {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 52px;
  align-items: start;
}
.about-content h2 { font-size: 1.8rem; margin-bottom: 18px; }
.about-content p { font-size: 0.95rem; color: #444; margin-bottom: 18px; line-height: 1.7; }
.about-sidebar .sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  margin-bottom: 20px;
}
.about-sidebar .sidebar-card h4 { font-size: 1rem; margin-bottom: 12px; color: var(--primary); }
.about-sidebar .sidebar-card ul { list-style: none; }
.about-sidebar .sidebar-card ul li {
  font-size: 0.875rem;
  color: #555;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.about-sidebar .sidebar-card ul li:last-child { border-bottom: none; }

/* ── Portfolio page ───────────────────────────────────────── */
.portfolio-full-grid {
  display: grid;
  gap: 52px;
}
.project-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.project-block:nth-child(even) .project-info { order: 2; }
.project-block:nth-child(even) .project-map  { order: 1; }
.project-info h2 { font-size: 1.6rem; margin-bottom: 12px; }
.project-info .project-url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 500;
}
.project-info p { font-size: 0.9rem; color: #555; margin-bottom: 16px; line-height: 1.65; }
.project-info .tech-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.project-info .tech-tags .tag {
  background: rgba(26,95,122,.1);
  color: var(--primary);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
}
.project-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }

/* ── SEO landing pages ────────────────────────────────────── */
.seo-article { max-width: 780px; margin: 0 auto; }
.seo-article h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.seo-article .lead {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 32px;
  line-height: 1.7;
}
.seo-article h2 { font-size: 1.4rem; margin: 36px 0 14px; }
.seo-article p { font-size: 0.95rem; color: #444; margin-bottom: 18px; line-height: 1.75; }
.seo-article ul { margin: 0 0 18px 20px; }
.seo-article ul li { font-size: 0.95rem; color: #444; margin-bottom: 8px; line-height: 1.65; }

.cta-block {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  margin: 48px 0;
}
.cta-block h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 12px; }
.cta-block p { color: rgba(255,255,255,.8); font-size: 0.95rem; margin-bottom: 22px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  section { padding: 64px 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(247,244,240,.98);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 24px; font-size: 1rem; }
  .nav-links .nav-cta .btn { margin: 8px 24px; display: block; text-align: center; }
  .nav-toggle { display: flex; }

  .hero-bottom { padding: 10px 16px; }
  .hero-stats { gap: 10px; }
  .hs-label { display: none; }   /* hide labels on small screens, icons+numbers stay */
  .hero-toast { bottom: 52px; padding: 18px 20px 16px; }
  .hero-toast-headline { font-size: 1rem; }

  .contact-wrap { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  #about-teaser .container { flex-direction: column; gap: 24px; }
  .about-content { grid-template-columns: 1fr; }

  .project-block { grid-template-columns: 1fr; padding: 24px; }
  .project-block:nth-child(even) .project-info { order: 1; }
  .project-block:nth-child(even) .project-map  { order: 2; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
