/* ============================================================
   Doodle World — Marketing site styles
   Palette: violet #5B5FE9 · coral #FF6B6B · sunny #FFC93C
            teal #2EC4B6 · ink #1F2937 · paper #FFFDF7 · deep #2B2158
   Fully RTL-aware via CSS logical properties.
   ============================================================ */

/* ---------------------------------------------------------- */
/* 1. Tokens & reset                                          */
/* ---------------------------------------------------------- */

:root {
  --violet: #5B5FE9;
  --violet-strong: #4649C8;
  --violet-soft: rgba(91, 95, 233, 0.11);
  --coral: #FF6B6B;
  --coral-deep: #D94848;
  --coral-soft: rgba(255, 107, 107, 0.13);
  --sunny: #FFC93C;
  --sunny-deep: #946A00;
  --sunny-soft: rgba(255, 201, 60, 0.2);
  --teal: #2EC4B6;
  --teal-deep: #178F84;
  --teal-soft: rgba(46, 196, 182, 0.14);
  --ink: #1F2937;
  --deep: #2B2158;
  --paper: #FFFDF7;
  --white: #FFFFFF;
  --muted: #5B6472;
  --line: rgba(31, 41, 55, 0.09);

  --font: ui-rounded, 'Baloo 2', 'Nunito', 'Segoe UI', system-ui, sans-serif;

  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 14px;

  --shadow-sm: 0 4px 14px rgba(43, 33, 88, 0.07);
  --shadow-md: 0 12px 34px rgba(43, 33, 88, 0.12);
  --shadow-lg: 0 26px 60px rgba(43, 33, 88, 0.18);

  --header-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--paper); color: var(--ink); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }
ul, ol { list-style: none; }
::selection { background: rgba(255, 201, 60, 0.45); color: var(--ink); }
:focus-visible { outline: 3px solid rgba(91, 95, 233, 0.6); outline-offset: 3px; border-radius: 8px; }

/* ---------------------------------------------------------- */
/* 2. Utilities                                               */
/* ---------------------------------------------------------- */

.container { width: min(1160px, 100% - 48px); margin-inline: auto; }
.section { padding: 96px 0; position: relative; }
.section--white { background: var(--white); border-block: 1px solid var(--line); }
.section--tint { background: linear-gradient(180deg, #F6F5FF 0%, var(--paper) 100%); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 2.6vw + 0.9rem, 2.45rem); line-height: 1.22; letter-spacing: -0.015em; font-weight: 800; margin: 14px 0 12px; text-wrap: balance; }
.section-sub { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--violet); font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; }
.eyebrow::before, .eyebrow::after { content: ""; width: 26px; height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--violet), var(--teal)); }
.eyebrow::after { background: linear-gradient(90deg, var(--teal), var(--sunny)); }
.icon { width: 24px; height: 24px; flex-shrink: 0; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 14px; height: 14px; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--violet);
  box-shadow: var(--shadow-sm);
}
.badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sunny); box-shadow: 0 0 0 4px rgba(255, 201, 60, 0.25); }
.icon-chip { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; flex-shrink: 0; }
.chip-violet { background: var(--violet-soft); color: var(--violet); }
.chip-coral { background: var(--coral-soft); color: var(--coral-deep); }
.chip-sunny { background: var(--sunny-soft); color: var(--sunny-deep); }
.chip-teal { background: var(--teal-soft); color: var(--teal-deep); }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.97rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 32px; font-size: 1.04rem; }
.btn-primary { background: linear-gradient(135deg, var(--violet) 10%, #7C6CF0 60%, var(--teal) 130%); color: var(--white); box-shadow: 0 12px 26px rgba(91, 95, 233, 0.35); }
.btn-primary:hover { box-shadow: 0 16px 34px rgba(91, 95, 233, 0.45); }
.btn-ghost { background: var(--white); color: var(--violet); border-color: rgba(91, 95, 233, 0.4); }
.btn-ghost:hover { background: var(--violet-soft); border-color: var(--violet); }
.btn-light { background: var(--white); color: var(--violet-strong); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
.btn-wa { background: var(--sunny); color: var(--ink); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
.btn-wa:hover { background: #FFD45E; }

/* Accessibility helpers */

.skip-link {
  position: absolute;
  top: -48px;
  inset-inline-start: 12px;
  z-index: 200;
  background: var(--violet);
  color: var(--white);
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 10px; }
.noscript-tip { background: var(--sunny); color: var(--ink); text-align: center; padding: 12px 18px; font-weight: 700; }

/* Reveal animations */

.js .reveal { opacity: 0; }
.js .reveal.is-visible { opacity: 1; animation: dw-rise 0.72s cubic-bezier(0.2, 0.7, 0.3, 1) backwards; animation-delay: var(--reveal-delay, 0ms); }

@keyframes dw-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Doodles (crayon accents) */

.doodle { position: absolute; pointer-events: none; }
.doodle-sun { top: 110px; inset-inline-end: 5%; width: 56px; height: 56px; color: var(--sunny); opacity: 0.9; animation: dw-spin 26s linear infinite; }
.doodle-wave { bottom: 30px; inset-inline-start: 3.5%; width: 96px; height: 34px; color: var(--coral); opacity: 0.45; }
.doodle-spark { top: 300px; inset-inline-start: 44%; width: 26px; height: 26px; color: var(--coral); opacity: 0.55; }

@keyframes dw-spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------- */
/* 3. Header                                                  */
/* ---------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled { background: rgba(255, 253, 247, 0.96); box-shadow: 0 10px 30px rgba(43, 33, 88, 0.09); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: var(--header-h); position: relative; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo-mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand-by { font-size: 0.72rem; font-weight: 700; color: var(--muted); letter-spacing: 0.05em; }
.site-nav { display: flex; align-items: center; gap: 2px; }

.nav-link {
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  opacity: 0.78;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}
.nav-link:hover { background: var(--violet-soft); color: var(--violet); opacity: 1; }
.btn-nav { margin-inline-start: 10px; padding: 11px 22px; font-size: 0.9rem; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 2px solid rgba(91, 95, 233, 0.35);
  background: var(--white);
  color: var(--violet);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.lang-toggle:hover { background: var(--violet-soft); border-color: var(--violet); transform: translateY(-1px); }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(91, 95, 233, 0.35);
  border-radius: 13px;
  background: var(--white);
  cursor: pointer;
  padding: 10px;
}
.burger-bar { display: block; width: 100%; height: 2.6px; border-radius: 99px; background: var(--violet); transition: transform 0.25s ease, opacity 0.25s ease; }
body.nav-open .burger-bar:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
body.nav-open .burger-bar:nth-child(2) { opacity: 0; }
body.nav-open .burger-bar:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }

/* ---------------------------------------------------------- */
/* 4. Hero                                                    */
/* ---------------------------------------------------------- */

.hero { position: relative; overflow: hidden; padding: 76px 0 96px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(72px); animation: dw-float 15s ease-in-out infinite alternate; }
.blob-a { width: 440px; height: 440px; top: -140px; inset-inline-start: -110px; background: rgba(91, 95, 233, 0.28); }
.blob-b { width: 380px; height: 380px; top: 34%; inset-inline-end: -140px; background: rgba(46, 196, 182, 0.25); animation-delay: -5s; }
.blob-c { width: 320px; height: 320px; bottom: -140px; inset-inline-start: 32%; background: rgba(255, 201, 60, 0.3); animation-delay: -9s; }

@keyframes dw-float {
  to { transform: translate(26px, -30px); }
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.hero-copy h1 { font-size: clamp(2.25rem, 4.6vw + 0.9rem, 3.5rem); line-height: 1.14; letter-spacing: -0.02em; font-weight: 800; margin: 20px 0 18px; text-wrap: balance; }
.lead { font-size: 1.13rem; color: var(--muted); line-height: 1.75; max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-visual { position: relative; }

.hero-frame {
  position: relative;
  aspect-ratio: 4 / 3.2;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 201, 60, 0.5) 0 12%, transparent 13%),
    radial-gradient(circle at 12% 88%, rgba(255, 107, 107, 0.35) 0 10%, transparent 11%),
    linear-gradient(135deg, var(--violet) 0%, #7C6CF0 42%, var(--teal) 100%);
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.hero-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-caption { text-align: center; margin-top: 16px; color: var(--muted); font-weight: 700; font-size: 0.92rem; }

/* ---------------------------------------------------------- */
/* 5. How it works — steps                                    */
/* ---------------------------------------------------------- */

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }

.step {
  position: relative;
  background: var(--white);
  border: 2px dashed rgba(91, 95, 233, 0.35);
  border-radius: var(--radius);
  padding: 34px 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.step:hover { transform: translateY(-6px); border-color: var(--violet); box-shadow: var(--shadow-md); }
.step::after { content: ""; position: absolute; top: 50%; inset-inline-start: calc(100% - 3px); width: 26px; border-top: 3px dashed rgba(91, 95, 233, 0.35); }
.step:last-child::after { display: none; }

.step-num {
  position: absolute;
  top: -16px;
  inset-inline-start: 22px;
  width: 36px;
  height: 36px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--violet), var(--teal));
  box-shadow: 0 8px 18px rgba(91, 95, 233, 0.35);
}
.step h3, .card h3 { font-size: 1.1rem; font-weight: 800; margin: 16px 0 8px; letter-spacing: -0.01em; }
.step p, .card p { color: var(--muted); font-size: 0.95rem; line-height: 1.68; }

/* ---------------------------------------------------------- */
/* 6. Cards — benefits & sectors                              */
/* ---------------------------------------------------------- */

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 24px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cards-grid--compact .card { padding: 24px 22px; }

/* ---------------------------------------------------------- */
/* 7. Worlds                                                  */
/* ---------------------------------------------------------- */

.worlds-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 28px; }

.world-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.world-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.world-media { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; }
.world-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.world-card:hover .world-media img { transform: scale(1.05); }

.world-media--garden {
  background:
    radial-gradient(circle at 16% 26%, rgba(255, 255, 255, 0.55) 0 6px, transparent 7px),
    radial-gradient(circle at 72% 58%, rgba(255, 255, 255, 0.4) 0 9px, transparent 10px),
    radial-gradient(circle at 86% 22%, rgba(255, 255, 255, 0.5) 0 5px, transparent 6px),
    radial-gradient(circle at 34% 78%, rgba(255, 255, 255, 0.35) 0 7px, transparent 8px),
    linear-gradient(135deg, var(--teal) 0%, #7BD98C 55%, var(--sunny) 120%);
}

.world-media--underwater {
  background:
    radial-gradient(circle at 24% 30%, rgba(255, 255, 255, 0.5) 0 8px, transparent 9px),
    radial-gradient(circle at 60% 70%, rgba(255, 255, 255, 0.35) 0 12px, transparent 13px),
    radial-gradient(circle at 82% 26%, rgba(255, 255, 255, 0.45) 0 6px, transparent 7px),
    radial-gradient(circle at 44% 84%, rgba(255, 255, 255, 0.3) 0 10px, transparent 11px),
    linear-gradient(135deg, var(--teal) 0%, #2A9BD6 55%, var(--violet) 115%);
}

.world-media--space {
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.7) 0 3px, transparent 4px),
    radial-gradient(circle at 38% 62%, rgba(255, 255, 255, 0.55) 0 2px, transparent 3px),
    radial-gradient(circle at 66% 18%, rgba(255, 255, 255, 0.7) 0 2.5px, transparent 3.5px),
    radial-gradient(circle at 84% 48%, rgba(255, 201, 60, 0.75) 0 4px, transparent 5px),
    radial-gradient(circle at 52% 84%, rgba(255, 255, 255, 0.5) 0 3px, transparent 4px),
    radial-gradient(circle at 90% 82%, rgba(255, 255, 255, 0.55) 0 2px, transparent 3px),
    radial-gradient(circle at 76% 30%, rgba(255, 201, 60, 0.45) 0 18px, transparent 19px),
    linear-gradient(135deg, var(--deep) 0%, #3E3480 50%, var(--violet) 110%);
}
.world-body { padding: 22px 14px 14px; }
.world-body h3 { font-size: 1.18rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; }
.world-body p { color: var(--muted); font-size: 0.96rem; line-height: 1.68; }

/* ---------------------------------------------------------- */
/* 8. Editions — comparison table                             */
/* ---------------------------------------------------------- */

.compare-card { background: var(--white); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-md); overflow: hidden; max-width: 980px; margin-inline: auto; }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.96rem; }
.compare-table thead th { text-align: start; padding: 22px 22px; font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; background: #F7F6FF; border-bottom: 1px solid var(--line); }
.compare-table thead th.col-std { color: var(--ink); }
.compare-table thead th.col-cst { color: var(--white); background: linear-gradient(135deg, var(--violet) 0%, #7C6CF0 55%, var(--coral) 130%); }
.compare-table tbody th[scope="row"] { text-align: start; font-weight: 700; padding: 18px 22px; color: var(--ink); width: 24%; }
.compare-table tbody td { padding: 16px 22px; text-align: center; border-bottom: 1px solid var(--line); }

.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th { border-bottom: none; }
.compare-table tbody tr:nth-child(even) { background: rgba(91, 95, 233, 0.035); }
.compare-table td:nth-child(3) { background: rgba(91, 95, 233, 0.06); }
.pill { display: inline-block; padding: 7px 16px; border-radius: 999px; background: rgba(31, 41, 55, 0.05); color: var(--muted); font-weight: 700; font-size: 0.9rem; }
.pill-hi { background: var(--violet-soft); color: var(--violet-strong); border: 1px solid rgba(91, 95, 233, 0.22); }
.pill-mute { color: #9AA1AD; }

.compare-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 26px;
  background: rgba(255, 201, 60, 0.12);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.94rem;
  text-align: center;
}
.compare-note .icon { color: var(--sunny-deep); }

/* ---------------------------------------------------------- */
/* 9. Customization services                                  */
/* ---------------------------------------------------------- */

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 24px; max-width: 1060px; margin-inline: auto; }

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-level { position: absolute; top: 18px; inset-inline-end: 20px; font-weight: 800; font-size: 1.15rem; color: rgba(91, 95, 233, 0.3); letter-spacing: 0.04em; }
.service-card--team { border: 2px solid rgba(91, 95, 233, 0.4); background: linear-gradient(180deg, var(--white) 30%, #F6F5FF 100%); }

.team-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--sunny-soft);
  color: var(--sunny-deep);
  font-size: 0.78rem;
  font-weight: 800;
}
.service-card h3 { font-size: 1.08rem; }

/* ---------------------------------------------------------- */
/* 10. Gallery                                                */
/* ---------------------------------------------------------- */

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 20px; }
.gallery-tile { border-radius: var(--radius); }

.tile-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.gallery-tile:hover .tile-media { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tile-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-tile:hover .tile-media img { transform: scale(1.06); }
.tile-g1 { background: linear-gradient(135deg, var(--violet) 0%, var(--teal) 110%); }
.tile-g2 { background: linear-gradient(135deg, var(--coral) 0%, var(--sunny) 115%); }
.tile-g3 { background: linear-gradient(135deg, var(--teal) 0%, var(--violet) 115%); }
.tile-g4 { background: linear-gradient(135deg, var(--sunny) 0%, var(--coral) 115%); }
.tile-g5 { background: linear-gradient(135deg, var(--deep) 0%, var(--violet) 110%); }
.tile-g6 { background: linear-gradient(135deg, var(--coral) 0%, var(--violet) 115%); }

.tile-g1, .tile-g2, .tile-g3, .tile-g4, .tile-g5, .tile-g6 {
  background-image:
    radial-gradient(circle at 22% 30%, rgba(255, 255, 255, 0.35) 0 8px, transparent 9px),
    radial-gradient(circle at 78% 66%, rgba(255, 255, 255, 0.3) 0 11px, transparent 12px),
    radial-gradient(circle at 60% 22%, rgba(255, 255, 255, 0.25) 0 6px, transparent 7px);
}

/* ---------------------------------------------------------- */
/* 11. FAQ                                                    */
/* ---------------------------------------------------------- */

.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 14px; overflow: hidden; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.faq-item[open] { border-color: rgba(91, 95, 233, 0.45); box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; cursor: pointer; font-weight: 800; font-size: 1.02rem; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--violet-soft);
  color: var(--violet);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--violet); color: var(--white); }
.faq-a { padding: 0 24px 22px; }
.faq-a p { color: var(--muted); line-height: 1.75; font-size: 0.97rem; border-top: 1px dashed var(--line); padding-top: 14px; }

/* ---------------------------------------------------------- */
/* 12. Contact & demo                                         */
/* ---------------------------------------------------------- */

.section-contact { padding-bottom: 110px; }
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 26px; align-items: stretch; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact-card--address { grid-column: 1 / -1; }
.cc-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.cc-icon--email { background: var(--violet-soft); color: var(--violet); }
.cc-icon--whatsapp { background: var(--teal-soft); color: var(--teal-deep); }
.cc-icon--phone { background: var(--coral-soft); color: var(--coral-deep); }
.cc-icon--website { background: var(--sunny-soft); color: var(--sunny-deep); }
.cc-icon--address { background: var(--violet-soft); color: var(--violet-strong); }
.cc-box { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cc-label { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.cc-value { font-weight: 700; font-size: 0.95rem; color: var(--ink); text-decoration: none; word-break: break-word; }
a.cc-value:hover { color: var(--violet); text-decoration: underline; }

.contact-panel {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 36px 32px;
  color: var(--paper);
  background: linear-gradient(150deg, var(--deep) 0%, #3E3480 55%, var(--violet) 115%);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.contact-panel::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 201, 60, 0.18);
  filter: blur(46px);
  top: -80px;
  inset-inline-end: -60px;
  pointer-events: none;
}
.panel-spark { position: absolute; width: 30px; height: 30px; color: var(--sunny); opacity: 0.6; top: 26px; inset-inline-start: 26px; }
.contact-panel h3 { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.015em; }
.contact-panel p { color: rgba(255, 253, 247, 0.85); line-height: 1.7; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.contact-note { display: flex; align-items: center; gap: 9px; margin-top: 6px; color: rgba(255, 253, 247, 0.8); font-size: 0.9rem; font-weight: 700; }
.contact-note .icon { color: var(--sunny); }

/* ---------------------------------------------------------- */
/* 13. Footer                                                 */
/* ---------------------------------------------------------- */

.site-footer { position: relative; overflow: hidden; background: var(--deep); color: rgba(255, 253, 247, 0.82); padding: 46px 0; }
.footer-doodle { position: absolute; width: 150px; height: 46px; top: 20px; inset-inline-end: 4%; color: var(--sunny); opacity: 0.3; pointer-events: none; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.site-footer .logo-mark { width: 46px; height: 46px; }
.footer-name { font-weight: 800; font-size: 1.05rem; color: var(--white); }
.footer-tagline { font-size: 0.9rem; max-width: 52ch; margin-top: 2px; }
.footer-rights { font-size: 0.85rem; color: rgba(255, 253, 247, 0.6); font-weight: 600; }

/* ---------------------------------------------------------- */
/* 14. Responsive                                             */
/* ---------------------------------------------------------- */

@media (max-width: 1060px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .hero-inner { gap: 36px; }
  .doodle-spark { display: none; }
}

@media (max-width: 940px) {
  .nav-burger { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 14px 22px 22px;
  }

  body.nav-open .site-nav { display: flex; }

  .nav-link { padding: 13px 14px; font-size: 1rem; opacity: 1; }

  .btn-nav { margin-inline-start: 0; margin-top: 8px; }

  .hero { padding-top: 56px; }

  .hero-inner { grid-template-columns: 1fr; }

  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }

  .doodle-sun { top: 60px; inset-inline-end: 4%; width: 46px; height: 46px; }

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

@media (max-width: 620px) {
  .container { width: min(1160px, 100% - 36px); }

  .section { padding: 72px 0; }

  .section-head { margin-bottom: 40px; }

  .steps-grid { grid-template-columns: 1fr; }

  .hero { padding: 48px 0 72px; }

  .hero-copy h1 { margin-top: 16px; }

  .hero-cta { flex-direction: column; }

  .hero-cta .btn { width: 100%; }

  .contact-cards { grid-template-columns: 1fr; }

  .contact-panel { padding: 30px 24px; }

  .contact-actions .btn { width: 100%; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .brand-by { display: none; }

  .btn-nav { display: none; }
}

/* ---------------------------------------------------------- */
/* 15. Reduced motion                                         */
/* ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .js .reveal, .js .reveal.is-visible { opacity: 1; animation: none; }

  .blob,
  .doodle-sun { animation: none; }

  .btn:hover,
  .card:hover,
  .step:hover,
  .world-card:hover,
  .service-card:hover,
  .gallery-tile:hover .tile-media,
  .contact-card:hover,
  .lang-toggle:hover { transform: none; }

  .world-card:hover .world-media img,
  .gallery-tile:hover .tile-media img { transform: none; }
}
