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

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

:root {
  --navy:        #1B2744;
  --beige:       #F2E8D9;
  --beige-2:     #E8DECE;
  --beige-card:  #FAF5EE;
  --red-dark:    #7B1A2A;
  --red-dark-h:  #6A1523;
  --red-accent:  #BE3A2A;
  --gold:        #C9922A;
  --border:      #DDD5C8;
  --text-muted:  #8A8A8A;
  --text-body:   #5A5568;
  --whatsapp:    #2A7A3B;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--beige);
  color: var(--navy);
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
}

/* ── LINK CARDS ─────────────────────────────── */
.link-card {
  display: flex; align-items: center; gap: 13px;
  background: var(--beige-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 14px;
  margin-bottom: 10px; cursor: pointer; text-decoration: none;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
  color: inherit;
}
.link-card:hover {
  box-shadow: 0 4px 18px rgba(27,39,68,0.1);
  border-color: rgba(27,39,68,0.22);
  transform: translateY(-1px);
}
.link-card.featured {
  background: var(--red-dark); border-color: var(--red-dark);
}
.link-card.featured:hover {
  background: var(--red-dark-h); border-color: var(--red-dark-h);
  box-shadow: 0 6px 24px rgba(123,26,42,0.35);
}
.card-flag-img {
  width: 48px; height: 34px; border-radius: 8px; object-fit: cover;
  flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  border: 1px solid rgba(0,0,0,0.08);
}
.card-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.card-text { flex: 1; min-width: 0; }
.card-title { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.card-sub { font-size: 11px; font-weight: 400; color: var(--text-muted); margin-top: 2px; line-height: 1.4; }
.link-card.featured .card-title { color: #fff; }
.link-card.featured .card-sub   { color: rgba(255,255,255,0.6); }
.card-arrow {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(27,39,68,0.07);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 14px; flex-shrink: 0;
}
.link-card.featured .card-arrow { background: rgba(255,255,255,0.15); color: #fff; }

/* ── SERVICE CARDS ───────────────────────────── */
.svc-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--beige-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 13px 13px 13px 15px; margin-bottom: 7px;
  cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s;
}
.svc-card:hover {
  border-color: var(--red-accent);
  box-shadow: 0 2px 14px rgba(190,58,42,0.08);
}
.svc-card.featured {
  background: var(--red-dark); border-color: var(--red-dark);
}
.svc-card.featured:hover { background: var(--red-dark-h); border-color: var(--red-dark-h); }
.svc-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(190,58,42,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.svc-card.featured .svc-icon { background: rgba(255,255,255,0.15); }
.svc-name { font-size: 13px; font-weight: 500; color: var(--navy); flex: 1; line-height: 1.35; }
.svc-card.featured .svc-name { color: #fff; font-weight: 600; }
.svc-arrow {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--beige-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 12px; flex-shrink: 0;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.svc-card:hover .svc-arrow { background: var(--red-accent); color: #fff; border-color: var(--red-accent); }
.svc-card.featured .svc-arrow { background: rgba(255,255,255,0.15); color: #fff; border-color: transparent; }

/* ── HEADER ──────────────────────────────────── */
.header {
  background: var(--beige); padding: 44px 28px 28px;
  text-align: center; border-bottom: 1px solid var(--beige-2);
}
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 700; color: var(--navy);
  letter-spacing: 1px; line-height: 1; margin-bottom: 12px;
}
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(201,146,42,0.10); border: 1px solid rgba(201,146,42,0.28);
  color: var(--gold); font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px;
}

/* ── HERO ────────────────────────────────────── */
.hero { background: var(--beige); padding: 22px 28px 20px; border-bottom: 1px solid var(--beige-2); }
.hero-headline { font-size: 22px; font-weight: 800; color: var(--navy); line-height: 1.3; margin-bottom: 10px; }
.hero-headline em { font-style: normal; color: var(--red-accent); }
.hero-sub { font-size: 13px; font-weight: 400; color: var(--text-body); line-height: 1.6; margin-bottom: 14px; }
.pills { display: flex; gap: 7px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 500; color: var(--text-muted);
  background: var(--beige-2); border: 1px solid var(--border);
  border-radius: 20px; padding: 4px 10px;
}
.pill img { width: 14px; height: 10px; border-radius: 2px; object-fit: cover; }

/* ── SECTION ─────────────────────────────────── */
.section { padding: 22px 20px 20px; background: var(--beige); }
.section-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 14px;
}
.section-title::before {
  content: ''; width: 4px; height: 18px;
  background: var(--red-accent); border-radius: 2px; flex-shrink: 0;
}

/* ── FOOTER ──────────────────────────────────── */
.footer {
  background: var(--beige); border-top: 1px solid var(--beige-2);
  padding: 18px 28px; text-align: center; margin-top: 6px;
}
.footer-tagline { font-size: 12px; font-style: italic; color: var(--text-muted); margin-bottom: 10px; }
.footer-bottom  { font-size: 10px; color: var(--border); letter-spacing: 0.5px; }

/* ── BACK BAR ────────────────────────────────── */
.back-bar {
  background: var(--beige); padding: 22px 20px 16px;
  border-bottom: 1px solid var(--beige-2);
  display: flex; align-items: center; gap: 10px;
}
.back-btn {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--beige-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--navy); cursor: pointer;
  text-decoration: none; flex-shrink: 0;
}
.back-label { font-size: 11px; font-weight: 600; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }

/* ── COUNTRY HERO ────────────────────────────── */
.country-hero {
  position: relative; overflow: hidden;
  padding: 32px 28px 24px; text-align: center;
  border-bottom: 1px solid var(--beige-2);
  background-color: var(--navy);
}
.country-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.3); z-index: 0;
}
.country-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(27,39,68,0.55) 0%, rgba(27,39,68,0.85) 100%);
  z-index: 1;
}
.country-hero-content { position: relative; z-index: 2; }
.ch-flag-img {
  width: 72px; height: 48px; border-radius: 10px; object-fit: cover;
  border: 2px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4); margin-bottom: 12px;
  display: block; margin-left: auto; margin-right: auto;
}
.ch-name {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 5px;
}
.ch-sub { font-size: 10px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.ch-divider { width: 32px; height: 3px; background: var(--red-accent); border-radius: 2px; margin: 10px auto 0; }

/* ── SERVICES BODY ───────────────────────────── */
.svc-section { padding: 16px 18px 36px; background: var(--beige); }
.wa-notice {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--whatsapp); background: rgba(42,122,59,0.07); border: 1px solid rgba(42,122,59,0.18);
  border-radius: 8px; padding: 9px 12px; margin-bottom: 13px;
}
.wa-dot { width: 6px; height: 6px; background: var(--whatsapp); border-radius: 50%; }

/* ── ACCESSIBILITY ────────────────────────────── */
.link-card:focus-visible,
.svc-card:focus-visible,
.back-btn:focus-visible {
  outline: 2px solid var(--red-accent);
  outline-offset: 2px;
}
