/* =========================================================
   CJK — Key-Holding & Cleaning Services
   Blue & white · sunny · warm & friendly
   ========================================================= */

:root {
  /* Sky & sea palette (light mode defaults) */
  --blue-50:  #EAF4FE;
  --blue-100: #D6E9FD;
  --blue-200: #A8D1F7;
  --blue-300: #6FB3F1;
  --blue-400: #3D97E7;
  --blue-500: #1E88E5;
  --blue-600: #1565C0;
  --blue-700: #0D47A1;

  --sun-300: #FFE082;
  --sun-400: #FFD54F;
  --sun-500: #FFC107;

  --ink-900: #0B2545;
  --ink-700: #1F3A66;
  --ink-500: #4B6586;
  --ink-300: #8FA4C2;

  --white:    #FFFFFF;
  --off:      #F7FAFE;
  --soft:     #EEF4FC;

  /* Brand-strong gradient colors — kept stable across themes so that
     white text on blue brand surfaces stays readable in dark mode too. */
  --brand-1:  #3D97E7;
  --brand-2:  #1E88E5;
  --brand-3:  #1565C0;
  --brand-4:  #0D47A1;

  /* Semantic theme tokens (light mode) — overridden in [data-theme="dark"] */
  --bg-page-start:   #FFFAEF;    /* warm cream */
  --bg-page-mid:     #FFF6E0;
  --bg-page-end:     #FFF1D4;    /* warm peach */
  --warm-glow:       rgba(255, 213, 79, 0.22);
  --cool-glow-1:     var(--blue-100);
  --cool-glow-2:     var(--blue-50);

  --bg-card:         #FFFFFF;
  --bg-elevated:     #FFFFFF;
  --bg-header-start: rgba(255, 251, 239, 0.92);
  --bg-header-end:   rgba(214, 233, 253, 0.92);
  --bg-footer-start: #FFFAEF;
  --bg-footer-end:   #EAF2FB;
  --bg-mobile-nav:   #FFFFFF;

  --cloud-color:     #FFFFFF;
  --map-bg:          #FFFFFF;
  --footer-langs-mid:#FFFFFF;

  --border-card:     rgba(30, 136, 229, 0.08);
  --border-divider:  rgba(30, 136, 229, 0.18);

  --radius-sm: 12px;
  --radius:    18px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-soft: 0 8px 24px rgba(13, 71, 161, 0.08);
  --shadow-mid:  0 14px 40px rgba(13, 71, 161, 0.12);
  --shadow-pop:  0 22px 60px rgba(13, 71, 161, 0.18);

  --max:       1140px;

  --font-head: 'Quicksand', 'Nunito', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, Segoe UI, sans-serif;
}

/* Dark mode — opt-in only (default is light, never auto-follow OS) */
[data-theme="dark"] {
  --blue-50:  #16294A;
  --blue-100: #1F3A66;
  --blue-200: #2A4D85;
  --blue-300: #3D6BA7;
  --blue-400: #5A8AC7;
  --blue-500: #7CA9DC;
  --blue-600: #9CC1E9;
  --blue-700: #C2D9F3;

  --ink-900: #EAEFF8;
  --ink-700: #B9C7DC;
  --ink-500: #889BB8;
  --ink-300: #5E7290;

  --white: #142A47;
  --off:   #0A1525;
  --soft:  #16294A;

  --bg-page-start:   #0E1B30;
  --bg-page-mid:     #0C1729;
  --bg-page-end:     #0A1525;
  --warm-glow:       rgba(255, 159, 28, 0.07);
  --cool-glow-1:     rgba(94, 130, 184, 0.14);
  --cool-glow-2:     rgba(94, 130, 184, 0.10);

  --bg-card:         #142A47;
  --bg-elevated:     #1A335C;
  --bg-header-start: rgba(14, 27, 48, 0.92);
  --bg-header-end:   rgba(20, 42, 71, 0.92);
  --bg-footer-start: #0E1B30;
  --bg-footer-end:   #0A1525;
  --bg-mobile-nav:   #1A335C;

  --cloud-color:     rgba(220, 232, 248, 0.08);
  --map-bg:          #142A47;
  --footer-langs-mid:#1A335C;

  --border-card:     rgba(124, 169, 220, 0.12);
  --border-divider:  rgba(124, 169, 220, 0.22);

  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-mid:  0 14px 40px rgba(0, 0, 0, 0.45);
  --shadow-pop:  0 22px 60px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-700);
  background:
    radial-gradient(900px 500px at 50% -100px, var(--warm-glow), transparent 70%),
    radial-gradient(1200px 600px at 90% -200px, var(--cool-glow-1), transparent 60%),
    radial-gradient(900px 500px at -10% 220px, var(--cool-glow-2), transparent 60%),
    linear-gradient(180deg, var(--bg-page-start) 0%, var(--bg-page-mid) 55%, var(--bg-page-end) 100%);
  overflow-x: hidden;
  transition: background-color .25s ease, color .25s ease;
}

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

/* Twemoji renders emojis as inline SVG images for cross-platform consistency
   (Windows otherwise renders flag emojis as letters like "GB", "ES"). */
img.emoji {
  height: 1em;
  width: auto;
  margin: 0 .04em;
  vertical-align: -0.125em;
  display: inline-block;
}

/* Custom CJK key icon (inline SVG) sized for each container it appears in */
.brand-mark img,
.card-icon img,
.service-icon img {
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18));
}
.brand-mark img   { width: 26px; height: 26px; }
.card-icon img    { width: 30px; height: 30px; }
.service-icon img { width: 42px; height: 42px; }

a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink-900);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }

p  { margin: 0 0 1em; }

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

.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ----------------- Language picker (in header) ----------------- */
.lang-picker {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.lang-picker a {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-card);
  box-shadow: 0 2px 6px rgba(13, 71, 161, 0.10);
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  text-decoration: none;
  overflow: hidden;
}
.lang-picker a:hover,
.lang-picker a:focus-visible {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 6px 14px rgba(13, 71, 161, 0.18);
  outline: none;
  border-color: var(--blue-200);
}
.lang-picker a[aria-current="page"] {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 1px var(--brand-2), 0 4px 10px rgba(13, 71, 161, 0.18);
  transform: scale(1.06);
}
.lang-picker img {
  width: 22px;
  height: 22px;
  display: block;
  pointer-events: none;
}

/* ----------------- Theme toggle (in header) ----------------- */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--blue-200);
  background: var(--bg-card);
  color: var(--ink-700);
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease, border-color .15s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(13, 71, 161, 0.08);
}
.theme-toggle:hover {
  border-color: var(--brand-2);
  transform: translateY(-1px);
}
.theme-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.35);
}
.theme-toggle .theme-icon-light { display: none; }
.theme-toggle .theme-icon-dark  { display: grid; }
[data-theme="dark"] .theme-toggle .theme-icon-light { display: grid; }
[data-theme="dark"] .theme-toggle .theme-icon-dark  { display: none; }

/* ----------------- Decorative sky ----------------- */
.sky-deco {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.sun {
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--sun-300), var(--sun-500) 70%);
  filter: blur(2px);
  opacity: .55;
  box-shadow: 0 0 120px 40px rgba(255, 213, 79, 0.45);
  animation: floaty 9s ease-in-out infinite;
}
.cloud {
  position: absolute;
  background: var(--cloud-color);
  border-radius: 999px;
  filter: blur(1px);
  opacity: .85;
  box-shadow: 0 10px 30px rgba(13, 71, 161, 0.06);
}
.cloud::before,
.cloud::after {
  content: '';
  position: absolute;
  background: var(--cloud-color);
  border-radius: 999px;
}
.cloud-1 { width: 180px; height: 36px; top: 140px; left: 8%; }
.cloud-1::before { width: 90px; height: 90px; top: -45px; left: 30px; }
.cloud-1::after  { width: 60px; height: 60px; top: -30px; left: 110px; }
.cloud-2 { width: 140px; height: 28px; top: 80px; left: 55%; opacity: .6; }
.cloud-2::before { width: 70px; height: 70px; top: -35px; left: 25px; }
.cloud-2::after  { width: 50px; height: 50px; top: -22px; left: 80px; }
.cloud-3 { width: 220px; height: 40px; top: 260px; right: 12%; opacity: .5; }
.cloud-3::before { width: 100px; height: 100px; top: -50px; left: 40px; }
.cloud-3::after  { width: 70px; height: 70px; top: -32px; left: 130px; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(12px); }
}

/* ----------------- Header ----------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(10px);
  background: linear-gradient(180deg, var(--bg-header-start) 0%, var(--bg-header-end) 100%);
  border-bottom: 1px solid var(--blue-200);
  box-shadow: 0 4px 18px rgba(13, 71, 161, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--ink-900);
  margin-right: auto;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-3));
  color: #fff;
  font-size: 1.2rem;
  box-shadow: var(--shadow-soft);
}
.brand-text {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: .02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-weight: 600;
  color: var(--ink-700);
  position: relative;
}
.nav-links a:hover { color: var(--blue-600); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--blue-400);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .2s ease;
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transition: transform .15s ease, box-shadow .15s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-mid); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px; height: 40px;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink-700);
  margin: 5px auto;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ----------------- Hero ----------------- */
.hero {
  position: relative;
  z-index: 1;
  padding: 64px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 { margin-bottom: .35em; }
.hero-copy h1 strong, .hero-copy h1 em { color: var(--blue-600); font-style: normal; }
.lede {
  font-size: 1.15rem;
  color: var(--ink-700);
  max-width: 540px;
}
.lede strong { color: var(--ink-900); }

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 22px 0 26px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-head);
  cursor: pointer;
  border: 0;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-2), var(--brand-4));
  color: #fff;
  box-shadow: var(--shadow-mid);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-pop);
  color: #fff;
}
.btn-ghost {
  background: var(--bg-card);
  color: var(--blue-600);
  border: 2px solid var(--blue-200);
}
.btn-ghost:hover {
  border-color: var(--blue-400);
  color: var(--blue-700);
  transform: translateY(-2px);
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--ink-500);
}
.hero-points li { display: flex; gap: 10px; align-items: center; }

/* Hero art */
.hero-art {
  position: relative;
  height: 460px;
}
.hero-scene {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 78% 22%, #FFF6D0 0 60px, transparent 61px),
    linear-gradient(180deg, #BFE0FB 0%, #E7F4FF 55%, #FFF6E8 100%);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.hero-scene::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(30,136,229,0) 0%, rgba(30,136,229,.18) 60%, rgba(13,71,161,.32) 100%);
}
.scene-sun {
  position: absolute;
  top: 22px; right: 28px;
  font-size: 3.4rem;
  filter: drop-shadow(0 6px 12px rgba(255,193,7,.5));
  animation: floaty 6s ease-in-out infinite;
}
.scene-palm {
  position: absolute;
  font-size: 4.2rem;
  filter: drop-shadow(0 8px 14px rgba(13,71,161,.18));
}
.scene-palm-1 { left: 18px;  bottom: 110px; transform: rotate(-6deg); }
.scene-palm-2 { right: 56px; bottom: 80px;  transform: rotate(4deg) scale(.85); }
.scene-house {
  position: absolute;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%);
  font-size: 5rem;
  filter: drop-shadow(0 10px 18px rgba(13,71,161,.22));
}
.scene-waves {
  position: absolute;
  left: 0; right: 0; bottom: 22px;
  text-align: center;
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: .15em;
  text-shadow: 0 2px 6px rgba(13,71,161,.35);
  animation: floaty 4s ease-in-out infinite;
}

.card-float {
  position: absolute;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-pop);
  z-index: 2;
}
.card-float strong { display: block; color: var(--ink-900); font-family: var(--font-head); }
.card-float small  { color: var(--ink-500); font-size: .85rem; }
.card-icon {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--blue-50);
  font-size: 1.4rem;
}
.card-key {
  top: 28px;
  left: -18px;
  animation: floaty 7s ease-in-out infinite;
}
.card-clean {
  bottom: 28px;
  right: -14px;
  animation: floaty 8s ease-in-out infinite reverse;
}
.card-craft {
  top: 46%;
  left: -8px;
  animation: floaty 6.5s ease-in-out infinite;
}

/* ----------------- Sections ----------------- */
section { position: relative; z-index: 1; padding: 80px 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head h2 { margin-bottom: .35em; }
.section-sub {
  color: var(--ink-500);
  font-size: 1.08rem;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-card);
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-50), transparent 70%);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-pop);
}
.service-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-200));
  display: grid; place-items: center;
  font-size: 2rem;
  margin-bottom: 18px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
  display: grid;
  gap: 8px;
  color: var(--ink-700);
  font-weight: 600;
}
.check-list li { display: flex; gap: 10px; align-items: center; }
.card-link {
  font-weight: 700;
  color: var(--blue-600);
  position: relative;
}
.card-link:hover { color: var(--blue-700); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 56px;
  align-items: center;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.badge {
  background: var(--bg-card);
  border: 1px solid var(--blue-100);
  color: var(--ink-700);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  box-shadow: var(--shadow-soft);
}
.quote-card {
  position: relative;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-4));
  color: #fff;
  padding: 36px 32px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.quote-card::after {
  content: '☀️';
  position: absolute;
  bottom: -16px;
  right: -10px;
  font-size: 5rem;
  opacity: .25;
  transform: rotate(-12deg);
}
.quote-card p {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 14px;
}
.quote-card footer { opacity: .85; font-size: .95rem; }
.quote-mark {
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 0.6;
  position: absolute;
  top: 24px; left: 22px;
  opacity: .25;
}

/* Service area */
.map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-mid);
  background: var(--bg-card);
  border: 1px solid var(--blue-100);
}
.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}
.map-caption {
  text-align: center;
  color: var(--ink-500);
  font-size: .9rem;
  margin-top: 14px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  align-items: stretch;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-card);
  color: var(--ink-700);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-pop);
  border-color: var(--blue-200);
}
.contact-head {
  display: flex;
  gap: 14px;
  align-items: center;
}
.contact-card strong {
  display: block;
  font-family: var(--font-head);
  color: var(--ink-900);
  font-size: 1.05rem;
}
.contact-value {
  display: block;
  color: var(--blue-700);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: .01em;
  font-family: var(--font-head);
}
.contact-card small { color: var(--ink-500); font-size: .85rem; }
.contact-flags {
  display: inline-flex;
  gap: 6px;
  font-size: 1.05rem;
  line-height: 1;
  margin-top: 2px;
}
.contact-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 1.6rem;
  flex: 0 0 52px;
  box-shadow: var(--shadow-soft);
  color: #fff;
}
.contact-icon.ic-tel  { background: linear-gradient(135deg, var(--brand-1), var(--brand-3)); }
.contact-icon.ic-mail { background: linear-gradient(135deg, var(--sun-400), #FF9F1C); }

.contact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 6px;
}
.action {
  flex: 1 1 120px;
  text-align: center;
  padding: 11px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: .95rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.action:hover { transform: translateY(-2px); }
.wa-action {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(18, 140, 126, 0.25);
}
.wa-action:hover { box-shadow: 0 10px 22px rgba(18, 140, 126, 0.35); }
.tel-action {
  background: var(--blue-50);
  color: var(--blue-700) !important;
  border: 1px solid var(--blue-100);
}
.tel-action:hover { background: var(--blue-100); }
.mail-action {
  background: linear-gradient(135deg, var(--sun-400), #FF9F1C);
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(255, 159, 28, 0.28);
}
.mail-action:hover { box-shadow: 0 10px 22px rgba(255, 159, 28, 0.38); }

/* Languages-our-team-speaks note (below the contact grid) */
.contact-langs-note {
  margin: 28px auto 0;
  max-width: 720px;
  text-align: center;
  padding: 14px 22px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--blue-50), var(--footer-langs-mid), var(--blue-50));
  border: 1px solid var(--border-card);
  color: var(--ink-700);
  font-size: .95rem;
  line-height: 1.5;
}
.contact-langs-note strong { color: var(--ink-900); }
.contact-langs-note .flag-row {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  vertical-align: -.18em;
  margin: 0 .25em;
}

/* Footer */
.site-footer {
  margin-top: 40px;
  background: linear-gradient(180deg, var(--bg-footer-start) 0%, var(--bg-footer-end) 100%);
  border-top: 1px solid var(--border-card);
  padding: 56px 0 20px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.brand-footer { margin-bottom: 8px; }
.footer-tag { color: var(--ink-500); margin: 0; }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
}
.footer-links a { color: var(--ink-700); }
.footer-links a:hover { color: var(--blue-600); }
.footer-meta p { margin: 0 0 4px; color: var(--ink-700); }
.footer-langs {
  margin-top: 32px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  background: linear-gradient(90deg, var(--blue-50), var(--footer-langs-mid), var(--blue-50));
  border-radius: 999px;
  border: 1px solid var(--blue-100);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  color: var(--blue-700);
  font-family: var(--font-head);
}
.footer-langs-text { letter-spacing: .01em; }
.footer-langs .lang-flag { font-size: 1.2rem; color: initial; }

.footer-bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-divider);
  color: var(--ink-500);
  font-size: .9rem;
  text-align: center;
}
.host-link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  transition: color .15s ease;
}
.host-link:hover,
.host-link:focus-visible {
  color: var(--blue-600);
  outline: none;
}

/* ----------------- Reveal animation ----------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ----------------- Responsive ----------------- */

/* Tablet (and below): nav links collapse to hamburger; lang picker + theme stay visible. */
@media (max-width: 1024px) {
  .nav-links {
    position: absolute;
    top: 64px; left: 16px; right: 16px;
    background: var(--bg-mobile-nav);
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-pop);
    gap: 14px;
    transform-origin: top right;
    transform: scale(.95);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
    z-index: 60;
  }
  .nav-links.open {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle { display: inline-block; }
  .nav-cta { text-align: center; }
}

/* Tablet layout adjustments */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art  { height: 380px; margin-top: 12px; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Mobile: shrink flag chips, tighten padding */
@media (max-width: 720px) {
  .nav { padding: 10px 16px; gap: 10px; }
  .brand { font-size: 1.2rem; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-mark img { width: 22px; height: 22px; }
  .lang-picker { gap: 4px; }
  .lang-picker a { width: 26px; height: 26px; }
  .lang-picker img { width: 18px; height: 18px; }
  .theme-toggle { width: 36px; height: 36px; }
  section { padding: 64px 0; }
  .hero   { padding: 32px 0 56px; }
  h1 { font-size: 2rem; }
  .card-key   { left: 8px; }
  .card-clean { right: 8px; }
  .card-craft { left: 8px; }
}

/* Very narrow phones: let flags wrap to a second row inside the header */
@media (max-width: 480px) {
  .nav { flex-wrap: wrap; row-gap: 8px; }
  .lang-picker { order: 3; width: 100%; justify-content: center; }
  .theme-toggle { order: 2; }
  .brand { margin-right: 0; }
  .nav-toggle { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}
