/* ============================================================
   LINDJANAR Kinnisvarafotograafia
   Nordic Luxury Editorial
   Cormorant Garamond × DM Sans / Forest Green × Warm Ivory
   ============================================================ */

:root {
  --bg:           #f7f4ef;
  --bg-alt:       #ece8e0;
  --bg-dark:      #1d2c22;
  --bg-dark-mid:  #243523;
  --fg:           #1c1a17;
  --fg-dim:       #7a7269;
  --fg-muted:     #a89e93;
  --border:       #d4cfc6;
  --border-dark:  rgba(247,244,239,0.12);
  --accent:       #2c4837;
  --accent-mid:   #3d6150;
  --accent-fg:    #f7f4ef;
  --gold:         #b8854a;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --max:          1200px;
  --r:            2px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--fg);
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.75rem); font-weight: 300; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3.1rem);  font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { color: var(--fg-dim); line-height: 1.75; }
a  { color: inherit; text-decoration: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }

/* ── EYEBROW / TAGS ── */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.eyebrow.light { color: rgba(247,244,239,0.45); }

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.22rem 0.65rem;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 3.5rem;
}
.section-header h2 { margin-bottom: 0.5rem; }
.section-header p  { font-size: 0.88rem; }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,244,239,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  height: 62px;
  gap: 2.5rem;
}
.logo {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--fg);
  flex-shrink: 0;
}
.nav { display: flex; gap: 2rem; flex: 1; }
.nav a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--fg-dim);
  letter-spacing: 0.03em;
  transition: color 0.15s;
}
.nav a:hover { color: var(--fg); }

.lang-toggle {
  margin-left: auto;
  background: none;
  border: 1px solid var(--border);
  color: var(--fg-dim);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  padding: 0.28rem 0.68rem;
  cursor: pointer;
  border-radius: var(--r);
  transition: border-color 0.15s, color 0.15s;
}
.lang-toggle:hover { border-color: var(--fg-dim); color: var(--fg); }

/* ── HERO — FULL-WIDTH BACKGROUND IMAGE ── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(92vh - 62px);
  background: var(--bg-dark);
  overflow: hidden;
}

/* Background photo — drop assets/hero/hero.jpg. Falls back to dark green. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--bg-dark);
  background-image: url('assets/hero/hero.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Legibility gradient — darkest on the left, behind the text */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg,
    rgba(15,22,17,0.82) 0%,
    rgba(15,22,17,0.55) 45%,
    rgba(15,22,17,0.20) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-text { max-width: 560px; }

.hero-text .eyebrow {
  color: rgba(247,244,239,0.7);
  animation: fadeUp 0.55s ease both;
}
.hero-text h1 {
  color: var(--accent-fg);
  font-style: italic;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.65s 0.1s ease both;
}
.hero-text p {
  color: rgba(247,244,239,0.82);
  font-size: 1rem;
  max-width: 440px;
  margin-bottom: 2.25rem;
  animation: fadeUp 0.65s 0.2s ease both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.65s 0.3s ease both;
}

/* Ghost button needs light treatment on the dark image */
.hero .btn-ghost {
  border-color: rgba(247,244,239,0.4);
  color: rgba(247,244,239,0.85);
}
.hero .btn-ghost:hover {
  border-color: var(--accent-fg);
  color: var(--accent-fg);
}

/* ── FADE-UP ANIMATION ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-fg);
  padding: 0.78rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent-mid); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--fg-dim);
  padding: 0.78rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { border-color: var(--fg-dim); color: var(--fg); }

.btn-light {
  display: inline-block;
  border: 1px solid rgba(247,244,239,0.35);
  color: rgba(247,244,239,0.85);
  padding: 0.78rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.btn-light:hover { background: rgba(247,244,239,0.1); color: var(--accent-fg); }

.btn-outline {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--fg-dim);
  padding: 0.6rem 1.3rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  transition: border-color 0.15s, color 0.15s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ── STATS ── */
.stats-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-claim-wrap {
  padding: 3.5rem 2rem 0;
  max-width: var(--max);
  margin: 0 auto;
}

.stats-claim {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  font-style: italic;
  font-weight: 300;
  color: var(--fg);
  line-height: 1.3;
  max-width: 720px;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.stats-row {
  display: flex;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}

.stat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2.5rem 2rem;
}
.stat:first-child { padding-left: 0; }
.stat:last-child  { padding-right: 0; }

.stat-rule {
  width: 1px;
  align-self: stretch;
  background: var(--border);
}

.stat-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  font-style: italic;
  font-variation-settings: 'opsz' 144;
  color: var(--fg);
  line-height: 1;
  flex-shrink: 0;
}

.stat-meta { flex: 1; }
.stat-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.stat-meta p { font-size: 0.8rem; margin: 0; }

/* ── VALUE STACK ── */
.value-section { padding: 6rem 0; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
}

.value-card {
  background: var(--bg);
  padding: 2rem 1.75rem;
  transition: background 0.2s;
  position: relative;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.value-card:hover { background: #f0ece4; }
.value-card:hover::before { transform: scaleX(1); }

.value-icon {
  width: 28px; height: 28px;
  margin-bottom: 1.25rem;
}
.value-icon svg {
  width: 100%; height: 100%;
  stroke: var(--accent);
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.value-card p { font-size: 0.85rem; margin: 0; }

/* ── PRICING ── */
.pricing-section { padding: 6rem 0; }
.pricing-section.alt-bg { background: var(--bg-alt); }

/* Full-size background photo behind a pricing section.
   A light ivory scrim keeps the cards and headings readable.
   Drop images: assets/korterid/korterid.jpg and assets/eramajad/eramajad.jpg */
.pricing-bg { position: relative; isolation: isolate; }
.pricing-bg > .container { position: relative; z-index: 2; }
.pricing-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.pricing-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(247,244,239,0.72);
}
.pricing-bg--apt::before {
  background-color: var(--bg);
  background-image: url('assets/korterid/korterid.jpg');
}
.pricing-bg--house::before {
  background-color: var(--bg-alt);
  background-image: url('assets/eramajad/eramajad.jpg');
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.pricing-card {
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 2.25rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pricing-card:not(.featured):hover {
  box-shadow: 0 6px 24px rgba(44,72,55,0.09);
  transform: translateY(-2px);
}

.pricing-card.featured {
  background: var(--accent);
  border-color: var(--accent);
}

.card-badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.22rem 0.85rem;
  white-space: nowrap;
}

.card-tier {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 0.75rem;
}
.pricing-card.featured .card-tier { color: rgba(247,244,239,0.45); }

.card-price {
  font-family: var(--font-display);
  font-size: 3.75rem;
  font-weight: 300;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.pricing-card.featured .card-price { color: var(--accent-fg); }

.card-desc {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-bottom: 2rem;
}
.pricing-card.featured .card-desc { color: rgba(247,244,239,0.45); }

.card-features {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}
.card-features li {
  font-family: var(--font-body);
  font-size: 0.83rem;
  color: var(--fg-dim);
  padding: 0.5rem 0 0.5rem 1.2rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.card-features li:last-child { border-bottom: none; }
.card-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.7rem;
  top: 0.55rem;
}
.pricing-card.featured .card-features li {
  color: rgba(247,244,239,0.65);
  border-bottom-color: rgba(247,244,239,0.1);
}
.pricing-card.featured .card-features li::before { color: var(--gold); }

.btn-card {
  display: block;
  text-align: center;
  border: 1px solid var(--border);
  color: var(--fg-dim);
  padding: 0.65rem 1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: border-color 0.15s, color 0.15s;
}
.btn-card:hover { border-color: var(--accent); color: var(--accent); }

.btn-card-featured {
  display: block;
  text-align: center;
  background: rgba(247,244,239,0.13);
  border: 1px solid rgba(247,244,239,0.3);
  color: var(--accent-fg);
  padding: 0.65rem 1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}
.btn-card-featured:hover { background: var(--accent-fg); color: var(--accent); }

/* ── ADD-ON ── */
.addon-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.addon-card {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 2.25rem 2.5rem;
  border: 1px solid var(--border);
  position: relative;
}

.addon-eyebrow {
  position: absolute;
  top: 0; left: 2.5rem;
  transform: translateY(-50%);
  background: var(--bg);
  padding: 0 0.5rem;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.addon-body { flex: 1; }
.addon-body h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.addon-body p { font-size: 0.85rem; margin: 0; max-width: 500px; }

.addon-price-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  flex-shrink: 0;
}
.addon-from {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-muted);
}
.addon-price {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 300;
  color: var(--fg);
  line-height: 1;
}

/* ── PROCESS — ghost numbers ── */
.process-section {
  padding: 6rem 0;
  background: var(--bg-alt);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.step {
  position: relative;
  background: var(--bg-alt);
  padding: 3rem 1.75rem 2.5rem;
  overflow: hidden;
  transition: background 0.2s;
}
.step:hover { background: #e4e0d8; }

.step-ghost {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 600;
  color: var(--fg);
  opacity: 0.045;
  line-height: 1;
  position: absolute;
  top: 0.25rem;
  right: 0.5rem;
  pointer-events: none;
  user-select: none;
}

.step-content { position: relative; z-index: 1; }
.step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.step p { font-size: 0.84rem; margin: 0; }

/* ── AGENCY — dark forest green ── */
.agency-section {
  background: var(--bg-dark);
  padding: 6rem 0;
}

.agency-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.agency-intro h2 {
  color: var(--accent-fg);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 1.25rem;
}
.agency-intro p {
  color: rgba(247,244,239,0.55);
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.agency-plans {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--border-dark);
  background: var(--border-dark);
}

.agency-plan {
  background: rgba(247,244,239,0.04);
  padding: 2rem;
}
.agency-plan.highlight {
  background: rgba(247,244,239,0.08);
}

.agency-plan-price {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 300;
  color: var(--accent-fg);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.agency-plan-price span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(247,244,239,0.4);
}

.agency-plan-name {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.agency-plan ul { list-style: none; }
.agency-plan ul li {
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: rgba(247,244,239,0.5);
  padding: 0.42rem 0 0.42rem 1.2rem;
  border-bottom: 1px solid rgba(247,244,239,0.07);
  position: relative;
}
.agency-plan ul li:last-child { border-bottom: none; }
.agency-plan ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
  top: 0.48rem;
}

/* ── TRAVEL ── */
.travel-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.travel-inner {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 680px;
}
.travel-inner svg {
  width: 26px; height: 26px;
  flex-shrink: 0;
  stroke: var(--accent);
  margin-top: 0.15rem;
}
.travel-inner h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.travel-inner p { font-size: 0.84rem; margin: 0; }

/* ── CONTACT ── */
.contact-section { padding: 6rem 0; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.contact-intro h2 {
  font-style: italic;
  font-weight: 300;
  margin-bottom: 1rem;
}
.contact-intro p { margin-bottom: 2rem; font-size: 0.9rem; }

.contact-details { list-style: none; }
.contact-details li {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  font-size: 0.84rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-details li:last-child { border-bottom: none; }
.contact-details li > span:first-child {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-muted);
  flex-shrink: 0;
  width: 58px;
}
.contact-details a {
  color: var(--accent);
  transition: opacity 0.15s;
}
.contact-details a:hover { opacity: 0.7; }

/* ── FORM ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.85rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 0.78rem 1rem;
  outline: none;
  border-radius: var(--r);
  width: 100%;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}
.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a7269' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--fg-muted); }
.contact-form textarea { min-height: 100px; resize: vertical; }

.btn-submit {
  background: var(--accent);
  color: var(--accent-fg);
  border: none;
  padding: 0.88rem 1rem;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: var(--r);
  width: 100%;
  transition: background 0.2s, transform 0.15s;
}
.btn-submit:hover { background: var(--accent-mid); transform: translateY(-1px); }

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: var(--fg-muted);
}
.footer-inner a { color: var(--fg-muted); transition: color 0.15s; }
.footer-inner a:hover { color: var(--fg); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero { min-height: 72vh; }

  .stats-row { flex-direction: column; padding: 0 2rem; }
  .stat-rule { width: 100%; height: 1px; }
  .stat { padding: 1.75rem 0; }
  .stat:first-child { padding-left: 0; }

  .value-grid { grid-template-columns: repeat(2, 1fr); }

  /* Keep the three cards in a side-by-side row so the section stays
     short and the background photo reads. They shrink to fit when there
     is room and scroll horizontally when there isn't. */
  .pricing-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 240px;   /* equal, fixed-width cards */
    align-items: stretch;       /* all cards the same height */
    max-width: none;
    gap: 0.75rem;
    /* Scroll the card row on its own — the page itself must NOT scroll
       sideways with it. */
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding-top: 0.75rem;   /* room for the "Populaarseim" badge */
    padding-bottom: 1rem;   /* room for the scrollbar */
  }
  .pricing-card { scroll-snap-align: start; }
  .pricing-card {
    padding: 1.25rem 1.25rem;
  }
  .card-tier { margin-bottom: 0.4rem; }
  .card-price { font-size: 2.25rem; margin-bottom: 0.2rem; }
  .card-desc { margin-bottom: 0.85rem; }
  .card-features li {
    font-size: 0.78rem;
    padding: 0.35rem 0 0.35rem 1.1rem;
    white-space: nowrap;   /* keep each feature on one line */
  }

  .steps { grid-template-columns: repeat(2, 1fr); }

  .agency-layout { grid-template-columns: 1fr; gap: 3rem; }

  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .value-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .addon-card { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}
