/* ===== Design tokens ===== */
:root {
  --yellow: #FFE100;
  --yellow-soft: #FFF089;
  --purple: #5A4AA0;
  --purple-dark: #463984;
  --purple-deep: #2E2557;
  --ink: #1c1830;
  --muted: #6b6780;
  --bg: #ffffff;
  --bg-soft: #f6f5fb;
  --card: #ffffff;
  --line: #ece9f5;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(46, 37, 87, .07);
  --shadow: 0 18px 40px rgba(46, 37, 87, .12);
  --shadow-lg: 0 30px 70px rgba(46, 37, 87, .18);
  --maxw: 1180px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --display: 'Poppins', var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--display); font-weight: 600; font-size: .95rem;
  padding: .7rem 1.3rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s, color .18s;
  white-space: nowrap;
}
.btn--lg { padding: .95rem 1.8rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--purple); color: #fff; box-shadow: 0 10px 24px rgba(90,74,160,.32); }
.btn--primary:hover { background: var(--purple-dark); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(90,74,160,.4); }
.btn--ghost { background: transparent; color: var(--purple); border-color: rgba(90,74,160,.25); }
.btn--ghost:hover { background: var(--purple); color: #fff; border-color: var(--purple); transform: translateY(-2px); }
.btn--dark { background: var(--purple-deep); color: #fff; }
.btn--dark:hover { background: #1f1940; transform: translateY(-2px); }
.btn--outline-dark { background: transparent; color: var(--purple-deep); border-color: var(--purple-deep); }
.btn--outline-dark:hover { background: var(--purple-deep); color: var(--yellow); }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.header.is-stuck { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand__logo { width: 44px; height: 44px; border-radius: 11px; box-shadow: var(--shadow-sm); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 1.18rem; color: var(--purple); }
.brand__tag { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav__link { font-weight: 500; padding: .5rem .85rem; border-radius: 999px; color: var(--ink); transition: background .15s, color .15s; }
.nav__link:hover { background: var(--bg-soft); color: var(--purple); }
.nav__cta { margin-left: .4rem; }

.header__actions { display: flex; align-items: center; gap: .6rem; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: .25rem; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: .4rem .7rem;
  font-family: var(--display); font-weight: 700; font-size: .82rem; cursor: pointer; color: var(--muted);
}
.lang-toggle__opt { transition: color .15s; }
.lang-toggle__opt.is-active { color: var(--purple); }
.lang-toggle__sep { opacity: .4; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 24px; height: 2.5px; background: var(--purple); border-radius: 2px; transition: .25s; }
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; padding: clamp(3rem, 6vw, 6rem) 0 clamp(3rem, 5vw, 5rem); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob--1 { width: 420px; height: 420px; background: var(--yellow); top: -120px; right: -80px; }
.blob--2 { width: 360px; height: 360px; background: #cdbdff; bottom: -140px; left: -100px; opacity: .5; }
.blob--3 { width: 260px; height: 260px; background: var(--yellow-soft); top: 40%; left: 45%; opacity: .35; }

.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero__eyebrow {
  display: inline-block; background: var(--yellow); color: var(--purple-deep);
  font-family: var(--display); font-weight: 700; font-size: .82rem;
  padding: .45rem 1rem; border-radius: 999px; margin-bottom: 1.3rem;
  box-shadow: 0 6px 16px rgba(255,225,0,.4);
}
.hero__title { font-family: var(--display); font-weight: 900; font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.05; letter-spacing: -.02em; }
.hero__title span { display: inline; }
.hero__title .hl { position: relative; color: var(--purple); }
.hero__title .hl::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: .08em; height: .34em;
  background: var(--yellow); z-index: -1; border-radius: 4px; transform: rotate(-1deg);
}
.hero__lead { font-size: 1.1rem; color: var(--muted); margin: 1.4rem 0 1.6rem; max-width: 46ch; }
.hero__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.tag { background: var(--bg-soft); border: 1px solid var(--line); color: var(--purple-dark); font-weight: 600; font-size: .85rem; padding: .4rem .9rem; border-radius: 999px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.8rem; }
.hero__phones { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; }
.hero__phones-label { color: var(--muted); font-size: .9rem; }
.hero__phone { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--purple); }
.hero__phone:hover { color: var(--purple-dark); }

/* Hero visual */
.hero__visual { position: relative; min-height: 380px; display: flex; align-items: center; justify-content: center; }
.hero__card--main {
  background: linear-gradient(150deg, var(--yellow), #ffd400);
  border-radius: 28px; padding: 2.4rem 2rem; text-align: center; width: 270px;
  box-shadow: var(--shadow-lg); transform: rotate(-3deg);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  animation: float 6s ease-in-out infinite;
}
.hero__card--main img { width: 92px; height: 92px; border-radius: 20px; margin-bottom: .6rem; }
.hero__card--main strong { font-family: var(--display); font-size: 1.5rem; color: var(--purple-deep); }
.hero__card--main span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--purple-dark); }
.hero__chip {
  position: absolute; background: #fff; box-shadow: var(--shadow); border-radius: 14px;
  padding: .6rem .9rem; font-weight: 600; font-size: .9rem; display: flex; align-items: center; gap: .4rem;
  animation: float 5s ease-in-out infinite;
}
.hero__chip--1 { top: 8%; right: 4%; animation-delay: .4s; }
.hero__chip--2 { bottom: 14%; left: 0%; animation-delay: 1.1s; }
.hero__chip--3 { bottom: 2%; right: 12%; animation-delay: 1.8s; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-3deg);} 50% { transform: translateY(-14px) rotate(-3deg);} }
.hero__chip { animation-name: floatChip; }
@keyframes floatChip { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-12px);} }

/* ===== Stats ===== */
.stats { background: var(--purple-deep); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; padding: 2.2rem 22px; }
.stat { text-align: center; }
.stat__num { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--yellow); }
.stat__label { font-size: .88rem; opacity: .82; }

/* ===== Sections ===== */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section__eyebrow { font-family: var(--display); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); }
.section__title { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.15; margin: .6rem 0 .8rem; letter-spacing: -.01em; }
.section__sub { color: var(--muted); font-size: 1.05rem; }

/* ===== Service cards ===== */
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.3rem; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
  position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon { font-size: 2rem; width: 60px; height: 60px; display: grid; place-items: center; background: var(--bg-soft); border-radius: 16px; margin-bottom: 1.1rem; }
.card__title { font-family: var(--display); font-weight: 700; font-size: 1.25rem; margin-bottom: .5rem; }
.card__text { color: var(--muted); font-size: .96rem; }

/* ===== About ===== */
.about { background: var(--bg-soft); }
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.2rem; align-items: center; }
.about__media { position: relative; }
.about__panel {
  background: linear-gradient(150deg, var(--purple), var(--purple-deep));
  border-radius: 26px; aspect-ratio: 4/3.4; display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.about__panel img { width: 46%; filter: drop-shadow(0 12px 24px rgba(0,0,0,.25)); }
.about__badge {
  position: absolute; right: -14px; bottom: -14px; background: var(--yellow); color: var(--purple-deep);
  border-radius: 18px; padding: 1rem 1.2rem; text-align: center; box-shadow: var(--shadow);
}
.about__badge strong { display: block; font-family: var(--display); font-weight: 900; font-size: 1.7rem; }
.about__badge span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin: 1.8rem 0 2rem; }
.feature { display: flex; gap: .7rem; align-items: flex-start; }
.feature__ic { flex: none; width: 26px; height: 26px; display: grid; place-items: center; background: var(--purple); color: #fff; border-radius: 50%; font-size: .8rem; font-weight: 700; margin-top: 2px; }
.feature strong { display: block; font-family: var(--display); }
.feature span { color: var(--muted); font-size: .92rem; }

/* ===== Process ===== */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem; text-align: center; box-shadow: var(--shadow-sm); }
.step__num { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: var(--purple-deep); font-family: var(--display); font-weight: 900; font-size: 1.4rem; margin-bottom: 1rem; }
.step h3 { font-family: var(--display); margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ===== Gallery ===== */
.grid-gallery { display: grid; grid-template-columns: repeat(3,1fr); grid-auto-rows: 200px; gap: 1.1rem; }
.gtile {
  border-radius: var(--radius); position: relative; overflow: hidden; display: flex; align-items: flex-end;
  padding: 1.1rem; color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  box-shadow: var(--shadow-sm); transition: transform .22s; cursor: pointer;
}
.gtile span { position: relative; z-index: 2; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.gtile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(46,37,87,.7)); z-index: 1; }
.gtile:hover { transform: scale(1.02); }
.gtile--a { background: linear-gradient(135deg,#5A4AA0,#7a68c4); }
.gtile--b { background: linear-gradient(135deg,#ffcf00,#ff9f1c); grid-row: span 2; }
.gtile--c { background: linear-gradient(135deg,#2E2557,#5A4AA0); }
.gtile--d { background: linear-gradient(135deg,#7a68c4,#a896e6); }
.gtile--e { background: linear-gradient(135deg,#463984,#2E2557); grid-column: span 2; }
.gtile--f { background: linear-gradient(135deg,#ffd400,#ffe100); color: var(--purple-deep); }
.gtile--f span { text-shadow: none; }
.gtile--f::after { background: linear-gradient(transparent 50%, rgba(255,180,0,.4)); }
.gallery__note { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 1.6rem; }
.gallery__note code { background: var(--bg-soft); padding: .15rem .45rem; border-radius: 6px; font-size: .85em; }

/* ===== CTA banner ===== */
.cta-banner { background: linear-gradient(120deg, var(--yellow), #ffd000); }
.cta-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 3rem 22px; flex-wrap: wrap; }
.cta-banner h2 { font-family: var(--display); font-weight: 900; font-size: clamp(1.5rem,3vw,2.2rem); color: var(--purple-deep); }
.cta-banner p { color: var(--purple-dark); margin-top: .4rem; }
.cta-banner__actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ===== Contact ===== */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.contact__list { margin-top: 1.8rem; display: grid; gap: 1.2rem; }
.contact__item { display: flex; gap: 1rem; align-items: flex-start; }
.contact__ic { flex: none; width: 48px; height: 48px; display: grid; place-items: center; background: var(--bg-soft); border-radius: 14px; font-size: 1.3rem; }
.contact__item strong { display: block; font-family: var(--display); margin-bottom: .15rem; }
.contact__item a, .contact__item span { display: block; color: var(--muted); }
.contact__item a:hover { color: var(--purple); }

.contact__form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-family: var(--display); font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: .98rem; padding: .8rem .95rem; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(90,74,160,.12); }
.form__note { margin-top: 1rem; padding: .8rem 1rem; border-radius: var(--radius-sm); font-weight: 600; font-size: .92rem; background: #e7f9ee; color: #1b7a43; }
.form__hint { margin-top: 1rem; font-size: .85rem; color: var(--muted); text-align: center; }

/* ===== Footer ===== */
.footer { background: var(--purple-deep); color: #fff; padding: 3rem 0 0; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; }
.footer__brand { display: flex; align-items: center; gap: .8rem; }
.footer__brand img { width: 48px; height: 48px; border-radius: 12px; }
.footer__brand strong { display: block; font-family: var(--display); font-size: 1.2rem; }
.footer__brand span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.footer__nav { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
.footer__nav a { opacity: .85; }
.footer__nav a:hover { opacity: 1; color: var(--yellow); }
.footer__contact { display: flex; flex-direction: column; gap: .3rem; text-align: right; }
.footer__contact a { font-family: var(--display); font-weight: 600; }
.footer__contact a:hover { color: var(--yellow); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.2rem 22px; text-align: center; font-size: .85rem; opacity: .75; }

/* ===== FAB ===== */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 58px; height: 58px;
  background: #25D366; color: #fff; border-radius: 50%; display: grid; place-items: center;
  box-shadow: var(--shadow); animation: pulse 2.4s infinite; transition: transform .18s;
}
.fab:hover { transform: scale(1.08); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55);} 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0);} 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0);} }

/* ===== Reveal animation ===== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; min-height: 300px; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .cards, .steps { grid-template-columns: repeat(2,1fr); }
  .stats__grid { grid-template-columns: repeat(2,1fr); gap: 1.6rem; }
}
@media (max-width: 760px) {
  .nav {
    position: fixed; top: 72px; right: 0; left: 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 1rem 22px 1.6rem; gap: .2rem; box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .3s ease; border-bottom: 1px solid var(--line);
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link { padding: .8rem .6rem; border-radius: 10px; }
  .nav__cta { margin: .5rem 0 0; text-align: center; }
  .burger { display: flex; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .grid-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gtile--e { grid-column: span 2; }
  .field-row { grid-template-columns: 1fr; }
  .footer__contact { text-align: left; }
  .cta-banner__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .grid-gallery { grid-template-columns: 1fr; }
  .gtile--b, .gtile--e { grid-column: auto; grid-row: auto; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
}
