/*
  Inlingua Academy — Design System
  Primary:  #066D78  (teal)
  Accent:   #F89F3A  (orange)
  Font:     Brockmann (Regular for body text, SemiBold for headers)
*/

@font-face {
  font-family: 'Brockmann';
  src: url('../fonts/Brockmann-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Brockmann';
  src: url('../fonts/Brockmann-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ── Tokens ─────────────────────────────────── */
:root {
  --bg:           #FFFFFF;
  --surface:      #F2F9FA;
  --surface-2:    #E4F3F4;
  --text:         #0B2629;
  --muted:        rgba(11,38,41,0.52);
  --primary:      #066D78;
  --primary-dark: #055861;
  --primary-dim:  rgba(6,109,120,0.08);
  --accent:       #F89F3A;
  --accent-dark:  #E08820;
  --accent-dim:   rgba(248,159,58,0.1);
  --border:       rgba(6,109,120,0.12);
  --border-light: rgba(6,109,120,0.07);
  --shadow-sm:    0 1px 3px rgba(6,109,120,0.08), 0 1px 2px rgba(6,109,120,0.06);
  --shadow-md:    0 4px 16px rgba(6,109,120,0.1), 0 2px 6px rgba(6,109,120,0.06);
  --radius:       8px;
  --radius-sm:    4px;

  --f-main: 'Brockmann', sans-serif;

  --max:   1100px;
  --nav-h: 72px;
}

/* ── Reset ──────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Base ───────────────────────────────────── */
html, body { max-width: 100%; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-main);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ─────────────────────────────── */
h1,h2,h3,h4 {
  font-family: var(--f-main);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.label {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

/* ── Layout ─────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem,5vw,3rem);
}

.section { padding: clamp(5rem,9vw,7rem) 0; }

/* ── Nav ─────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}
.nav > .container { width: 100%; }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; gap: 1.5rem;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img {
  height: 46px; width: auto; display: block;
  transition: height 0.3s ease;
}
.nav.scrolled .nav-logo img { height: 40px; }

.nav-right { display: flex; align-items: center; gap: 2rem; }

.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a {
  font-size: 0.9rem; font-weight: 400;
  color: var(--text); transition: color 0.2s;
  position: relative; padding: 0.25rem 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--primary);
  border-radius: 2px; transition: width 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 1.25rem; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.875rem; font-weight: 400; color: var(--text);
  white-space: nowrap; transition: color 0.2s;
}
.nav-phone svg { color: var(--primary); flex-shrink: 0; }
.nav-phone:hover { color: var(--primary); }

.btn-nav {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--primary); color: #fff;
  padding: 0.6rem 1.3rem; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 400; white-space: nowrap;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-nav:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-nav::after { display: none; }

/* Hamburger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 6px; z-index: 210;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer + backdrop */
.nav-backdrop {
  position: fixed; inset: 0; z-index: 198;
  background: rgba(11,38,41,0.4);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.nav-backdrop.open { opacity: 1; visibility: visible; }

.nav-drawer {
  position: fixed; top: 0; right: 0; z-index: 199;
  width: min(330px, 86vw); height: 100%;
  background: #fff; box-shadow: -10px 0 40px rgba(6,109,120,0.14);
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 1.5rem) 1.75rem 2rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }

.nav-drawer-links { display: flex; flex-direction: column; }
.nav-drawer-links a {
  font-size: 1.05rem; font-weight: 400; color: var(--text);
  padding: 1.05rem 0; border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: space-between;
  transition: color 0.2s;
}
.nav-drawer-links a::after {
  content: '→'; color: var(--primary);
  opacity: 0; transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.2s;
}
.nav-drawer-links a:hover, .nav-drawer-links a.active { color: var(--primary); }
.nav-drawer-links a:hover::after, .nav-drawer-links a.active::after { opacity: 1; transform: none; }

.nav-drawer-contact { margin-top: auto; padding-top: 2rem; }
.nav-drawer-label {
  font-size: 0.68rem; font-weight: 400; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.85rem;
}
.nav-drawer-call {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 1.05rem; font-weight: 400; color: var(--primary);
  margin-bottom: 1.1rem;
}
.nav-drawer-social { display: flex; gap: 0.6rem; margin-bottom: 1.1rem; }
.nav-drawer-social .btn { flex: 1; justify-content: center; padding: 0.7rem; }
.nav-drawer-cta { width: 100%; justify-content: center; }

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-family: var(--f-main); font-size: 0.875rem;
  font-weight: 400; border: none;
  border-radius: var(--radius-sm);
  transition: all 0.2s; cursor: pointer; text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-accent  { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(248,159,58,0.3); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary-dim); }
.btn-ghost   { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-wa      { background: #25D366; color: #fff; }
.btn-wa:hover { background: #20BD5A; transform: translateY(-1px); }
.btn-viber   { background: #7360F2; color: #fff; }
.btn-viber:hover { background: #6252D8; transform: translateY(-1px); }

/* ── Hero ────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + clamp(2.5rem,6vw,4.5rem)) 0 clamp(3rem,6vw,5rem);
}
.hero::before {
  content: '';
  position: absolute; top: -10%; right: -5%;
  width: 55vw; height: 55vw; max-width: 680px; max-height: 680px;
  background: radial-gradient(circle, rgba(6,109,120,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: center; gap: 4rem;
}
.hero-content { min-width: 0; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--accent-dim); border: 1px solid rgba(248,159,58,0.2);
  padding: 0.35rem 0.9rem; border-radius: 100px;
  margin-bottom: 1.75rem;
}
.hero-eyebrow .label { color: var(--accent); }

.hero-h1 {
  font-size: clamp(1.85rem,5.5vw,4.25rem);
  font-weight: 600; line-height: 1.12;
  letter-spacing: -0.03em; margin-bottom: 1.25rem;
  color: var(--text);
  overflow-wrap: break-word;
}
.hero-h1 span { color: var(--primary); }

.hero-sub {
  font-size: clamp(1rem,1.5vw,1.1rem);
  color: var(--muted); max-width: 480px;
  margin-bottom: 2.5rem; font-weight: 400; line-height: 1.8;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-trust {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
}
.trust-badge {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 400; color: var(--muted);
}
.trust-badge svg { color: var(--accent); }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-width: 0;
}
.hero-card-stack {
  position: relative; width: 100%; max-width: 380px;
}
.hero-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}
.hero-card + .hero-card {
  margin-top: 1rem;
}
.hero-card-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.hero-card-title { font-size: 1rem; font-weight: 400; color: var(--text); margin-bottom: 0.25rem; }
.hero-card-sub { font-size: 0.8rem; color: var(--muted); }
.hero-card-badge {
  display: inline-block; margin-top: 0.75rem;
  background: var(--primary-dim); color: var(--primary);
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.25rem 0.65rem; border-radius: 100px;
}
.hero-card-badge-accent {
  background: var(--accent-dim); color: var(--accent);
}

/* Deco ring */
.hero-ring {
  position: absolute; border-radius: 50%;
  border: 2px dashed rgba(6,109,120,0.12);
  pointer-events: none;
}
.hero-ring-1 { width: 320px; height: 320px; top: -40px; left: -40px; }
.hero-ring-2 { width: 180px; height: 180px; bottom: -20px; right: -20px; border-color: rgba(248,159,58,0.2); }

/* ── Stats bar ───────────────────────────────── */
.stats-bar {
  background: var(--primary);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1rem; text-align: center;
}
.stat-n {
  font-size: clamp(2rem,4vw,3rem); font-weight: 400;
  color: #fff; line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-n span { color: var(--accent); }
.stat-l { font-size: 0.8rem; color: rgba(255,255,255,0.65); font-weight: 500; }

/* ── Section header ──────────────────────────── */
.s-header { margin-bottom: clamp(3rem,5vw,4rem); }
.s-header .label { display: block; margin-bottom: 0.75rem; }
.s-header h2 {
  font-size: clamp(1.75rem,3.5vw,2.75rem); font-weight: 600;
  margin-bottom: 0.75rem;
}
.s-header p { font-size: 1rem; color: var(--muted); max-width: 540px; line-height: 1.75; }

/* ── Category cards (home) ───────────────────── */
.cat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.cat-card {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: clamp(2rem,4vw,3rem);
  display: flex; flex-direction: column; gap: 1.25rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.cat-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.cat-icon { font-size: 2.5rem; line-height: 1; }
.cat-title { font-size: clamp(1.5rem,2.5vw,2rem); font-weight: 600; color: var(--text); }
.cat-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cat-pill {
  background: #fff; border: 1px solid var(--border);
  border-radius: 100px; padding: 0.3rem 0.8rem;
  font-size: 0.78rem; font-weight: 400; color: var(--text);
}
.cat-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.7; flex: 1; }
.cat-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.875rem; font-weight: 400; color: var(--primary);
  transition: gap 0.2s;
}
.cat-link:hover { gap: 0.7rem; }

/* ── Steps ───────────────────────────────────── */
.steps-bg { background: var(--surface); }
.steps-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2.5rem;
}
.step {
  background: #fff; border-radius: var(--radius);
  padding: 2rem; border: 1.5px solid var(--border-light);
  position: relative;
}
.step-n {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--primary-dim); color: var(--primary);
  font-size: 0.875rem; font-weight: 400;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.step-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.step-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }

/* ── Chat strip ──────────────────────────────── */
.chat-strip { background: var(--surface-2); border-radius: 0; }
.chat-strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.chat-strip-text h2 { font-size: clamp(1.5rem,2.5vw,2rem); font-weight: 600; }
.chat-strip-text p { color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; }
.chat-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Online courses ──────────────────────────── */
.online-subtabs { margin-bottom: 1.75rem; }
.online-layout {
  display: grid; grid-template-columns: 320px 1fr; gap: 2rem;
  align-items: start;
}
.lesson-list {
  display: flex; flex-direction: column; gap: 0.4rem;
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 0.75rem;
  max-height: 520px; overflow-y: auto;
}
.lesson-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 0.9rem; border: none; background: transparent;
  border-radius: var(--radius-sm); cursor: pointer; text-align: left;
  font-family: var(--f-main); font-size: 0.9rem; color: var(--text);
  transition: background 0.2s, color 0.2s;
}
.lesson-item:hover { background: var(--surface-2); }
.lesson-item.active { background: var(--primary); color: #fff; }
.lesson-n {
  width: 1.75rem; height: 1.75rem; border-radius: 50%; flex-shrink: 0;
  background: var(--primary-dim); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 600;
}
.lesson-item.active .lesson-n { background: rgba(255,255,255,0.2); color: #fff; }
.video-panel { display: flex; flex-direction: column; gap: 1.25rem; }
.video-embed {
  position: relative; width: 100%; aspect-ratio: 16/9;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-placeholder { text-align: center; color: var(--muted); font-size: 0.9rem; padding: 1.5rem; }
.video-info h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.video-info p { color: var(--muted); font-size: 0.875rem; }

@media (max-width: 860px) {
  .online-layout { grid-template-columns: 1fr; }
  .lesson-list { max-height: 280px; }
}

/* ── Courses page ────────────────────────────── */
.c-grid {
  display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
  gap: 1.25rem;
}
.c-card {
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.c-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.c-flag { font-size: 2rem; line-height: 1; }
.c-name { font-size: 1.3rem; font-weight: 400; color: var(--text); }
.c-native { font-size: 0.8rem; font-weight: 400; color: var(--primary); font-style: italic; }
.c-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.7; flex: 1; }
.c-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.25rem; }
.tag {
  font-size: 0.68rem; font-weight: 400;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  background: var(--surface-2); color: var(--muted);
}
.tag-p { background: var(--primary-dim); color: var(--primary); }
.tag-a { background: var(--accent-dim); color: var(--accent-dark); }

/* ── Book page ───────────────────────────────── */
.book-instructions {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem;
  margin-bottom: 3rem;
}
.bi-step {
  background: var(--surface); border-radius: var(--radius);
  padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start;
  border: 1px solid var(--border-light);
}
.bi-n {
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 400; flex-shrink: 0;
}
.bi-text strong { display: block; font-size: 0.95rem; font-weight: 400; margin-bottom: 0.2rem; }
.bi-text span { font-size: 0.8rem; color: var(--muted); }

.cal-embed-box {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
/* Collapse the Cal.com mount point until it has rendered content */
#cal-inline-embed:empty { display: none; }
.cal-placeholder { text-align: center; padding: clamp(3rem,6vw,5rem) 1.5rem; max-width: 460px; }
.cal-placeholder-icon {
  width: 64px; height: 64px; margin: 0 auto 1.5rem;
  border-radius: 50%; background: var(--primary-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
}
.cal-placeholder h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.75rem; }
.cal-placeholder p { color: var(--muted); font-size: 0.925rem; line-height: 1.8; margin-bottom: 1.75rem; }
.cal-ph-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ── Booking picker ──────────────────────────── */
.booking-step-head { display: flex; gap: 1.25rem; align-items: flex-start; margin-bottom: 1.75rem; }
.booking-step-n {
  font-size: 0.8rem; font-weight: 400; color: var(--primary);
  background: var(--primary-dim);
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.booking-step-head h2 { font-size: clamp(1.4rem,2.5vw,1.9rem); font-weight: 600; }
.booking-step-head p { font-size: 0.9rem; color: var(--muted); margin-top: 0.25rem; }

.booking-tabs {
  display: inline-flex; gap: 0.35rem;
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: 100px; padding: 0.35rem; margin-bottom: 1.5rem;
}
.booking-tab {
  border: none; background: transparent;
  padding: 0.5rem 1.5rem; border-radius: 100px;
  font-family: var(--f-main); font-size: 0.875rem; font-weight: 400;
  color: var(--muted); transition: background 0.2s, color 0.2s;
}
.booking-tab.active { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }

.booking-services { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.booking-service {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 0.7rem 1.15rem;
  font-family: var(--f-main); font-size: 0.9rem; font-weight: 400;
  color: var(--text); cursor: pointer; transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.booking-service:hover { border-color: var(--primary); }
.booking-service.active { border-color: var(--primary); background: var(--primary-dim); color: var(--primary); }
.booking-service .bs-flag { font-size: 1.2rem; line-height: 1; }

.cal-embed-box { min-height: 420px; }

/* ── Parents intro (how it works) ─────────────── */
.pintro-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: clamp(1.75rem,5vw,3.5rem);
}
.pintro-head { max-width: 640px; margin-bottom: 2.5rem; }
.pintro-head .label { display: block; margin-bottom: 0.75rem; }
.pintro-head h2 { font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 600; margin-bottom: 0.75rem; }
.pintro-head p { color: var(--muted); font-size: 0.95rem; line-height: 1.75; }

.pintro-steps {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem;
}
.pintro-step {
  background: #fff; border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pintro-step:hover { border-color: var(--border); box-shadow: var(--shadow-sm); }
.pintro-ico {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--primary-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1rem;
}
.pintro-step h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.4rem; }
.pintro-step p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

.pintro-note {
  margin-top: 1.5rem; padding: 1.25rem 1.5rem;
  background: var(--accent-dim);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--text); line-height: 1.7;
}
.pintro-note strong { color: var(--accent-dark); }

@media (max-width: 860px) { .pintro-steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .pintro-steps { grid-template-columns: 1fr; } }

/* ── About page ──────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 5rem; align-items: start; }
.about-lead {
  font-size: clamp(1.1rem,1.8vw,1.4rem); font-weight: 400;
  color: var(--text); line-height: 1.65; margin-bottom: 1.75rem;
}
.about-body p { font-size: 0.925rem; color: var(--muted); line-height: 1.9; margin-bottom: 1.25rem; }

.values-list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
.val {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--surface); border-radius: var(--radius);
  padding: 1.25rem; border: 1px solid var(--border-light);
}
.val-dot {
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; flex-shrink: 0;
}
.val-body strong { display: block; font-size: 0.95rem; font-weight: 400; margin-bottom: 0.2rem; }
.val-body span { font-size: 0.82rem; color: var(--muted); }

.team-grid {
  display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
  gap: 1.25rem;
}
.team-card {
  background: #fff; border-radius: var(--radius); padding: 1.5rem;
  border: 1.5px solid var(--border-light);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.team-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.team-av {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary-dim); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 1rem;
  overflow: hidden;
}
.team-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.team-name { font-size: 1rem; font-weight: 400; margin-bottom: 0.2rem; }
.team-role { font-size: 0.7rem; color: var(--primary); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 400; }
.team-lang { font-size: 0.78rem; color: var(--muted); margin-top: 0.4rem; }

/* ── Contact page ────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: 4rem; align-items: start; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 2rem; }
.contact-icon {
  width: 2.5rem; height: 2.5rem; border-radius: var(--radius-sm);
  background: var(--primary-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-item strong { display: block; font-weight: 400; margin-bottom: 0.25rem; }
.contact-item span { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }
.contact-item a { color: var(--primary); transition: opacity 0.2s; }
.contact-item a:hover { opacity: 0.75; }

.form-box {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.form-box h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 0.4rem; }
.form-box > p { font-size: 0.875rem; color: var(--muted); margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-field label { font-size: 0.72rem; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--surface); border: 1.5px solid var(--border);
  color: var(--text); font-family: var(--f-main); font-size: 0.9rem;
  font-weight: 400; padding: 0.7rem 0.9rem; border-radius: var(--radius-sm);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6,109,120,0.1);
}
.form-field select option { background: #fff; color: var(--text); }
.form-field textarea { resize: vertical; min-height: 120px; }

.map-box {
  margin-top: 3.5rem; height: 260px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); position: relative; overflow: hidden;
}
.map-box::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 29px, var(--border-light) 29px, var(--border-light) 30px),
    repeating-linear-gradient(90deg, transparent, transparent 29px, var(--border-light) 29px, var(--border-light) 30px);
}
.map-label { position: relative; z-index: 1; text-align: center; }
.map-label span { display: block; font-weight: 400; color: var(--text); margin-bottom: 0.4rem; font-size: 1rem; }
.map-label small { font-size: 0.8rem; color: var(--muted); }

/* ── Page hero (inner pages) ─────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + clamp(3.5rem,6vw,5rem)) 0 clamp(3rem,5vw,4rem);
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; right: -5%; top: -20%;
  width: 40vw; height: 40vw; max-width: 500px; max-height: 500px;
  background: radial-gradient(circle, rgba(6,109,120,0.06) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(2.25rem,5vw,4rem); font-weight: 600;
  margin: 0.75rem 0 1rem; position: relative;
}
.page-hero p { font-size: 1rem; color: var(--muted); max-width: 520px; line-height: 1.8; position: relative; }

/* ── Dark section (teal bg) ──────────────────── */
.dark-section {
  background: var(--primary);
  padding: clamp(3rem,6vw,5rem) 0;
}
.dark-section h2 { color: #fff; }
.dark-section p { color: rgba(255,255,255,0.7); }
.dark-section .label { color: var(--accent); }

/* ── Footer ──────────────────────────────────── */
footer {
  background: var(--primary);
  padding: clamp(3rem,5vw,4rem) 0;
}
.footer-inner { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.footer-logo img { height: 40px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.82rem; color: #fff; max-width: 200px; line-height: 1.65; }
.footer-col h4 {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-size: 0.85rem; color: #fff; transition: opacity 0.2s; }
.footer-col a:hover { opacity: 0.75; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.72rem; color: #fff;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}

/* ── Fade-in animations ──────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; } .d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 2rem 1rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 1024px) {
  .nav-phone { display: none; }
}
@media (max-width: 768px) {
  .nav-right { display: none; }
  .nav-burger { display: flex; }
  .steps-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .cat-grid { grid-template-columns: 1fr; }
  .chat-strip-inner { flex-direction: column; align-items: flex-start; }
  .book-instructions { grid-template-columns: 1fr; gap: 1rem; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .chat-btns { flex-direction: column; }
  .footer-inner { flex-direction: column; gap: 2rem; }
}
