:root {
  --white: #FFFFFF;
  --navy: #2F2F77;
  --navy-2: #31317B;
  --navy-deep: #24246D;
  --lilac: #5A5A94;
  --black: #000000;
  --muted: #3d3d5c;
  --grad-btn: linear-gradient(135deg, #31317B 0%, #24246D 100%);
  --shadow: 0 10px 30px rgba(36, 36, 109, .18);
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { color: var(--navy-deep); background: var(--white); overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* HEADER */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 4px 20px rgba(36,36,109,.12); }
.nav-wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.brand-logo { width: 38px; height: 38px; object-fit: contain; mix-blend-mode: multiply; }
.brand-name { font-size: 15px; letter-spacing: 1.5px; color: var(--navy); font-weight: 500; }
.brand-name b { font-weight: 700; }

.nav { display: flex; gap: 28px; margin-inline-start: auto; }
.nav-link { position: relative; font-weight: 500; font-size: 15px; color: var(--navy); padding: 6px 2px; transition: transform .15s; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--navy); border-radius: 2px; transform: scaleX(0); transition: transform .3s; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { font-weight: 600; }
.nav-link:active { transform: scale(.94); }

/* LANGUAGE */
.lang { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy); padding: 6px 12px; border-radius: 999px; border: 1.5px solid rgba(47,47,119,.25); transition: background .25s, transform .15s; }
.lang-btn:hover { background: rgba(47,47,119,.06); }
.lang-btn:active { transform: scale(.92); }
.lang-btn svg { transition: transform .3s; }
.lang.open .lang-btn svg { transform: rotate(180deg); }
.lang-menu { list-style: none; position: absolute; top: calc(100% + 8px); inset-inline-end: 0; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 6px; min-width: 130px; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.96); transition: .25s; }
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button { width: 100%; text-align: start; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--navy); }
.lang-menu button:hover, .lang-menu button.current { background: rgba(47,47,119,.08); font-weight: 600; }

/* BURGER */
.burger { display: none; width: 36px; height: 36px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* BUTTON */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 14px; padding: 16px 32px; border-radius: 999px; background: var(--grad-btn); color: #fff; font-size: 17px; font-weight: 500; box-shadow: 0 8px 22px rgba(36,36,109,.35); transition: transform .2s, box-shadow .3s; }
.btn .arrow { width: 20px; height: 20px; transition: transform .3s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(36,36,109,.45); }
.btn:hover .arrow { transform: translateX(5px); }
.btn:active { transform: scale(.95); }
.ripple { position: absolute; border-radius: 50%; pointer-events: none; background: rgba(255,255,255,.45); transform: scale(0); animation: ripple .6s ease-out forwards; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* HERO */
.hero { position: relative; overflow: hidden; min-height: clamp(620px, 92vh, 860px); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: 60% center; transform: scale(1.05); animation: heroZoom 12s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.62) 40%, rgba(255,255,255,.15) 75%, rgba(255,255,255,0) 100%); }
.hero-top-curve { position: absolute; top: 0; inset-inline-end: 0; width: 42%; height: 90px; z-index: 1; }
.hero-content { position: relative; z-index: 2; padding-top: clamp(70px, 12vh, 130px); }
.hero-title { font-weight: 500; font-size: clamp(30px, 5vw, 60px); line-height: 1.18; color: var(--navy-deep); margin-bottom: 22px; }
.hero-sub { font-size: clamp(17px, 2vw, 24px); font-weight: 600; color: var(--black); margin-bottom: 8px; }
.hero-text { font-size: clamp(14px, 1.4vw, 17px); font-weight: 500; line-height: 1.55; color: #1a1a33; margin-bottom: 38px; max-width: 420px; }
.hero-wave { position: absolute; left: 0; bottom: -1px; z-index: 1; width: 100%; height: clamp(150px, 24vw, 300px); }
.hero-wave .w1 { animation: waveFloat 7s ease-in-out infinite; }
.hero-wave .w2 { animation: waveFloat 9s ease-in-out infinite reverse; }
@keyframes waveFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* FEATURES */
.features { padding: 10px 0 40px; position: relative; z-index: 2; }
.features-row { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid rgba(47,47,119,.15); padding-bottom: 36px; }
.feature { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 10px 12px; cursor: pointer; transition: transform .2s; }
.feature + .feature { border-inline-start: 1px solid rgba(47,47,119,.2); }
.feature-icon { width: clamp(54px, 7vw, 80px); height: clamp(54px, 7vw, 80px); object-fit: contain; transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.feature p { font-size: clamp(13px, 1.5vw, 18px); color: var(--navy); line-height: 1.35; }
.feature:hover .feature-icon { transform: translateY(-6px); }
.feature:active { transform: scale(.94); }
.feature.pop .feature-icon { animation: pop .55s ease; }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.22) rotate(-8deg); } 70% { transform: scale(.95) rotate(4deg); } 100% { transform: scale(1); } }

/* PARTNER */
.partner { padding-top: 30px; overflow: hidden; }
.partner-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; }
.section-title { font-size: clamp(22px, 3vw, 38px); font-weight: 700; line-height: 1.25; color: var(--navy-deep); margin-bottom: 16px; }
.partner-text p { font-size: clamp(14px, 1.3vw, 17px); font-weight: 500; line-height: 1.6; color: var(--muted); margin-bottom: 34px; max-width: 480px; }
.partner-media { position: relative; align-self: end; }
.frame { border-top: 10px solid var(--navy); border-inline-start: 10px solid var(--navy); border-start-start-radius: 180px; overflow: hidden; aspect-ratio: 4 / 3.4; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.partner-media:hover .frame img { transform: scale(1.05); }
.media-wave { position: absolute; bottom: -1px; inset-inline: 0; width: 100%; height: 34%; }

/* REVEAL */
.js.reveal{ opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.js.reveal.show { opacity: 1; transform: none; }

/* TABLET */
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav { gap: 16px; }
  .nav-link { font-size: 14px; }
}

/* PHONE */
@media (max-width: 640px) {
  .brand-logo { width: 30px; height: 30px; }
  .brand-name { font-size: 11px; letter-spacing: 1px; }
  .nav-wrap { gap: 10px; }
  .nav { gap: 12px; }
  .nav-link { font-size: 13px; }
  .lang-btn { padding: 4px 8px; font-size: 12px; border: 0; }
  .hero { min-height: 640px; }
  .hero-top-curve { width: 55%; height: 50px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.55) 55%, rgba(255,255,255,.2) 100%); }
  .hero-content { padding-top: 60px; }
  .hero-text { max-width: 250px; margin-bottom: 30px; }
  .btn { padding: 13px 24px; font-size: 15px; gap: 10px; }
  .hero-wave { height: 190px; }
  .features, .features-row { padding-bottom: 26px; }
  .feature { padding: 6px 4px; }
  .partner { padding-top: 20px; }
  .partner-grid { grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
  .partner-text { padding-bottom: 30px; }
  .partner-text p { margin-bottom: 22px; font-size: 12.5px; }
  .partner .btn { padding: 11px 18px; font-size: 13px; }
  .frame { border-width: 6px; border-start-start-radius: 90px; aspect-ratio: 3 / 3.6; }
}

/* SMALL PHONE */
@media (max-width: 420px) {
  .burger { display: flex; }
  .nav { position: absolute; top: var(--header-h); inset-inline: 0; flex-direction: column; gap: 0; background: #fff; box-shadow: 0 12px 20px rgba(36,36,109,.12); max-height: 0; overflow: hidden; transition: max-height .35s; }
  .nav.open { max-height: 260px; }
  .nav-link { padding: 14px 20px; font-size: 15px; }
  .nav-link::after { display: none; }
  .lang { margin-inline-start: auto; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-text { padding-bottom: 0; }
}
/* ===== FIX: HERO IMAGE (laptop) ===== */
.hero-bg { background-position: center 15%; }

@media (min-width: 901px) {
  .hero-bg {
    left: 35%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 25%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 25%);
  }
}

/* ===== FIX: PARTNER IMAGE TOUCHES SCREEN EDGE ===== */
.partner-media {
  margin-inline-end: calc((min(1200px, 100vw - 32px) - 100vw) / 2);
}

/* ===== ANIMATIONS ===== */

/* scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100;
  background: linear-gradient(90deg, #5A5A94, #3535B8);
  transform: scaleX(0); transform-origin: left;
}

/* header drops in */
.header { animation: headerIn .8s ease both; }
@keyframes headerIn { from { translate: 0 -100%; opacity: 0; } to { translate: 0 0; opacity: 1; } }

/* curves slide in */
.hero-wave { animation: waveIn 1.4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes waveIn { from { translate: 0 100%; } to { translate: 0 0; } }
.hero-top-curve { animation: curveIn 1.2s .2s cubic-bezier(.2,.8,.2,1) both; }
@keyframes curveIn { from { translate: 0 -100%; } to { translate: 0 0; } }

/* hero text: blur + rise */
.js .hero .reveal {
  opacity: 0; transform: translateY(40px); filter: blur(8px);
  transition: opacity 1s, transform 1s cubic-bezier(.2,.8,.2,1), filter 1s, clip-path 1.2s;
}
.js .hero .reveal.show { opacity: 1; transform: none; filter: none; }

/* title unmasks from bottom */
.js .hero-title.reveal { clip-path: inset(-10% 0 100% 0); }
.js .hero-title.reveal.show { clip-path: inset(-10% 0 -15% 0); }

/* shine sweep on buttons */
.btn::before {
  content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .7s ease;
}
.btn:hover::before { left: 125%; }

/* features hover */
.feature:hover .feature-icon { transform: translateY(-6px) rotate(8deg); }

/* partner image: wipe reveal + zoom out */
.js .partner-media.reveal {
  opacity: 1; transform: none;
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1.2s cubic-bezier(.7,0,.2,1);
}
.js .partner-media.reveal.show { clip-path: inset(0 0 0 0); }
.js .partner-media.reveal .frame img { transform: scale(1.25); transition: transform 1.6s ease; }
.js .partner-media.reveal.show .frame img { transform: scale(1); }
.js .partner-media.reveal.show:hover .frame img { transform: scale(1.05); transition-duration: .8s; }
/* ===== FIX 2: hero title + partner image visible ===== */
.js .hero-title.reveal,
.js .hero-title.reveal.show { clip-path: none; }

.js .partner-media.reveal,
.js .partner-media.reveal.show { clip-path: none; }

.js .partner-media.reveal .frame,
.js .partner-media.reveal .media-wave {
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1.2s cubic-bezier(.7,0,.2,1);
}
.js .partner-media.reveal.show .frame,
.js .partner-media.reveal.show .media-wave { clip-path: inset(0 0 0 0); }

/* ===== FIX 2: hero image a bit higher ===== */
.hero-bg { background-position: center 35%; }

/* ================= ABOUT PAGE ================= */

/* hero */
.ab-hero { position: relative; overflow: hidden; min-height: clamp(420px, 70vh, 640px); display: flex; align-items: center; }
.ab-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); animation: heroZoom 12s ease-out forwards; }
.ab-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36,36,109,.88) 0%, rgba(47,47,119,.6) 45%, rgba(49,49,123,.3) 100%); }
.ab-hero-content { position: relative; z-index: 2; padding-bottom: 90px; }
.ab-hero-title { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: clamp(40px, 6vw, 76px); color: #fff; line-height: 1.1; margin-bottom: 14px; text-shadow: 0 4px 20px rgba(0,0,0,.25); }
.ab-hero-sub { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(16px, 2vw, 24px); color: rgba(255,255,255,.92); line-height: 1.4; }
.ab-hero-curve { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(110px, 18vw, 220px); z-index: 1; animation: waveIn 1.4s cubic-bezier(.2,.8,.2,1) both; }

.js .ab-hero .reveal { opacity: 0; transform: translateY(40px); filter: blur(8px); transition: opacity 1s, transform 1s cubic-bezier(.2,.8,.2,1), filter 1s; }
.js .ab-hero .reveal.show { opacity: 1; transform: none; filter: none; }

/* headings */
.ab-heading { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: clamp(28px, 4vw, 46px); color: var(--navy-deep); margin-bottom: 18px; }

/* who we are */
.ab-who { padding: 30px 0 50px; }
.ab-who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.ab-who-text p { font-size: clamp(14px, 1.3vw, 17px); line-height: 1.75; color: #1a1a33; font-weight: 500; }
.ab-who-media { filter: drop-shadow(0 14px 22px rgba(0,0,0,.18)); }
.ab-who-frame { border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 9; }
.ab-who-frame img { width: 100%; height: 100%; object-fit: cover; }

.js .ab-who-media.reveal { opacity: 1; transform: none; }
.js .ab-who-media.reveal .ab-who-frame { clip-path: inset(0 100% 0 0 round 26px); transition: clip-path 1.2s cubic-bezier(.7,0,.2,1); }
.js .ab-who-media.reveal.show .ab-who-frame { clip-path: inset(0 0 0 0 round 26px); }
.js .ab-who-media.reveal .ab-who-frame img { transform: scale(1.2); transition: transform 1.6s ease; }
.js .ab-who-media.reveal.show .ab-who-frame img { transform: scale(1); }
.js .ab-who-media.reveal.show:hover .ab-who-frame img { transform: scale(1.06); transition-duration: .8s; }

/* what we do */
.ab-what { position: relative; padding: 10px 0 190px; overflow: hidden; }
.ab-what .container { position: relative; z-index: 2; }
.ab-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ab-card { display: flex; align-items: center; gap: 20px; background: #fff; border: 1px solid rgba(47,47,119,.12); border-radius: 22px; padding: 22px 24px; box-shadow: 0 10px 28px rgba(0,0,0,.13); cursor: pointer; }
.ab-card-icon { flex-shrink: 0; width: 90px; height: 90px; border-radius: 50%; overflow: hidden; background: #fff; transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.ab-card-icon img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ab-card h3 { font-size: 16px; font-weight: 700; color: #1a1a33; margin-bottom: 6px; }
.ab-card p { font-size: 14.5px; line-height: 1.55; color: var(--navy); }

.js .ab-card.reveal { transform: translateX(-50px); transition: opacity .8s, transform .8s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; }
.js .ab-card.reveal:nth-child(2) { transform: translateX(50px); }
.js .ab-card.reveal.show { transform: none; }
.js .ab-card.reveal.show:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(36,36,109,.22); border-color: rgba(53,53,184,.35); transition: transform .35s, box-shadow .35s, border-color .35s; }
.js .ab-card.reveal.show:active { transform: scale(.97); }
.ab-card:hover .ab-card-icon { transform: rotate(-8deg) scale(1.08); }
.ab-card.pop .ab-card-icon { animation: pop .55s ease; }

/* bottom waves */
.ab-bottom-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(140px, 20vw, 260px); z-index: 1; }
.ab-bottom-wave .w1 { animation: waveFloat 7s ease-in-out infinite; }
.ab-bottom-wave .w2 { animation: waveFloat 9s ease-in-out infinite reverse; }

/* responsive */
@media (max-width: 900px) {
  .ab-who-grid { grid-template-columns: 1fr; gap: 24px; }
  .ab-cards { grid-template-columns: 1fr; gap: 18px; }
  .js .ab-card.reveal:nth-child(2) { transform: translateX(-50px); }
  .js .ab-card.reveal.show { transform: none; }
}

@media (max-width: 640px) {
  .ab-hero { min-height: 400px; }
  .ab-hero-content { padding-bottom: 70px; }
  .ab-who { padding: 10px 0 30px; }
  .ab-card { padding: 16px; gap: 14px; }
  .ab-card-icon { width: 70px; height: 70px; }
  .ab-card h3 { font-size: 14px; }
  .ab-card p { font-size: 13px; }
  .ab-what { padding-bottom: 140px; }
}
/* ================= PRODUCTS PAGE ================= */

/* hero extras */
.pr-hero-label { font-size: 13px; font-weight: 500; letter-spacing: 2px; color: rgba(255,255,255,.85); margin-bottom: 12px; }
.pr-hero-title { font-size: clamp(32px, 5vw, 64px); margin-bottom: 28px; }
.pr-hero-btn { background: linear-gradient(135deg, #31317B, #24246D); }

/* section */
.pr-section { position: relative; padding: 30px 0 200px; overflow: hidden; scroll-margin-top: 70px; }
.pr-section .container { position: relative; z-index: 2; }
.pr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* card */
.pr-card { display: block; position: relative; background: #FAF8F5; border-radius: 16px; overflow: hidden; border: 1px solid rgba(47,47,119,.08); box-shadow: 0 8px 24px rgba(0,0,0,.05); cursor: pointer; }
.pr-card-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.pr-card-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.pr-card-curve { position: absolute; left: 0; bottom: -1px; width: 100%; height: 32%; }
.pr-card-icon { position: absolute; inset-inline-start: 16px; bottom: 6px; z-index: 1; width: 54px; height: 54px; border-radius: 50%; overflow: hidden; background: #FAF8F5; border: 1px solid rgba(47,47,119,.15); box-shadow: 0 6px 14px rgba(0,0,0,.12); transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.pr-card-icon img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }

.pr-card-body { position: relative; padding: 6px 18px 20px; padding-inline-end: 56px; }
.pr-card-title { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 20px; color: #24246D; margin-bottom: 6px; }
.pr-card-title span { background: linear-gradient(90deg, #5A5A94, #7393C6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pr-card-text { font-family: 'Playfair Display', Georgia, serif; font-size: 14px; line-height: 1.45; color: #2F2F77; }
.pr-card-arrow { position: absolute; inset-inline-end: 18px; bottom: 20px; width: 26px; height: 26px; color: #2F2F77; transition: transform .35s ease; }

/* card hover */
.pr-card:hover .pr-card-media > img { transform: scale(1.08); }
.pr-card:hover .pr-card-icon { transform: rotate(-10deg) scale(1.1); }
.pr-card:hover .pr-card-arrow { transform: translateX(6px); }

/* card scroll reveal: blurry → clear */
.js .pr-card.reveal { opacity: 0; transform: translateY(50px) scale(.96); filter: blur(6px); transition: opacity .8s, transform .8s cubic-bezier(.2,.8,.2,1), filter .8s, box-shadow .35s; }
.js .pr-card.reveal.show { opacity: 1; transform: none; filter: none; }
.js .pr-card.reveal.show:hover { transform: translateY(-8px); box-shadow: 0 18px 36px rgba(36,36,109,.18); transition: transform .35s, box-shadow .35s; }
.js .pr-card.reveal.show:active { transform: scale(.97); }

/* responsive */
@media (max-width: 900px) {
  .pr-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 640px) {
  .pr-section { padding: 20px 0 140px; }
  .pr-grid { gap: 14px; }
  .pr-card { border-radius: 12px; }
  .pr-card-icon { width: 38px; height: 38px; inset-inline-start: 10px; bottom: 4px; }
  .pr-card-body { padding: 4px 10px 14px; padding-inline-end: 34px; }
  .pr-card-title { font-size: 14px; margin-bottom: 4px; }
  .pr-card-text { font-size: 11.5px; }
  .pr-card-arrow { width: 20px; height: 20px; inset-inline-end: 10px; bottom: 14px; }
  .pr-hero-label { font-size: 11px; }
  .pr-hero-title { margin-bottom: 20px; }
}
/* ================= CATEGORY PAGES ================= */

/* tabs */
.cat-tabs {
  display: flex; gap: 12px; overflow-x: auto; padding: 18px 4px;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent);
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  flex-shrink: 0; padding: 10px 22px; border-radius: 999px; white-space: nowrap;
  border: 1.5px solid rgba(47,47,119,.35); color: #2F2F77;
  font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 15px;
  transition: background .3s, color .3s, border-color .3s, transform .15s;
}
.cat-tab:hover { background: rgba(47,47,119,.06); }
.cat-tab:active { transform: scale(.94); }
.cat-tab.active { background: linear-gradient(135deg, #31317B, #24246D); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(36,36,109,.3); }

/* hero image */
.cat-hero { position: relative; height: clamp(260px, 45vw, 480px); overflow: hidden; }
.cat-hero img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 10s ease-out forwards; }
.cat-hero-curve { position: absolute; left: 0; bottom: -1px; width: 100%; height: 45%; animation: waveIn 1.2s cubic-bezier(.2,.8,.2,1) both; }

/* title + back arrow */
.cat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.cat-title { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: clamp(30px, 4.5vw, 50px); color: #24246D; line-height: 1.1; }
.cat-title span { color: #5A5A94; }
.cat-sub { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(14px, 1.4vw, 18px); color: #5A5A94; margin-top: 6px; }
.cat-back { flex-shrink: 0; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: #2F2F77; transition: background .3s, transform .2s; }
.cat-back svg { width: 34px; height: 34px; transition: transform .3s; }
.cat-back:hover { background: rgba(47,47,119,.08); }
.cat-back:hover svg { transform: translateX(-6px); }
.cat-back:active { transform: scale(.88); }

/* sub-category cards */
.cat-section { position: relative; padding: 10px 0 200px; overflow: hidden; }
.cat-section .container { position: relative; z-index: 2; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat-card { position: relative; cursor: pointer; }
.cat-card-media { border-radius: 18px 18px 0 0; overflow: hidden; aspect-ratio: 4 / 3; }
.cat-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.cat-card-bar {
  position: relative; overflow: hidden; margin-top: -18px; padding: 18px 20px;
  background: linear-gradient(135deg, #3535B8 0%, #24246D 100%); color: #fff;
  font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 17px;
  border-radius: 22px 60px 18px 18px / 22px 34px 18px 18px;
  box-shadow: 0 10px 22px rgba(36,36,109,.25);
}
.cat-card-bar::before {
  content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.3), transparent);
  transform: skewX(-20deg); transition: left .7s ease;
}
.cat-card:hover .cat-card-bar::before { left: 125%; }
.cat-card:hover .cat-card-media img { transform: scale(1.08); }

.js .cat-card.reveal { opacity: 0; transform: translateY(50px) scale(.96); filter: blur(6px); transition: opacity .8s, transform .8s cubic-bezier(.2,.8,.2,1), filter .8s; }
.js .cat-card.reveal.show { opacity: 1; transform: none; filter: none; }
.js .cat-card.reveal.show:hover { transform: translateY(-8px); transition: transform .35s; }
.js .cat-card.reveal.show:active { transform: scale(.96); }

/* responsive */
@media (max-width: 900px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 640px) {
  .cat-tabs { gap: 10px; padding: 14px 4px; }
  .cat-tab { padding: 8px 16px; font-size: 13px; }
  .cat-section { padding-bottom: 140px; }
  .cat-grid { gap: 14px; }
  .cat-card-media { border-radius: 14px 14px 0 0; aspect-ratio: 5 / 4; }
  .cat-card-bar { padding: 14px 12px; font-size: 13px; margin-top: -14px; border-radius: 16px 40px 14px 14px / 16px 24px 14px 14px; }
  .cat-back { width: 44px; height: 44px; }
  .cat-back svg { width: 28px; height: 28px; }
}
/* ===== TABS FIX: mauve + laptop spacing ===== */
.cat-tab {
  background: #5A5A94; color: #fff; border-color: transparent;
  box-shadow: 0 4px 12px rgba(90,90,148,.25);
}
.cat-tab:hover { background: #4b4b88; transform: translateY(-2px); }
.cat-tab.active {
  background: linear-gradient(135deg, #31317B, #24246D);
  box-shadow: 0 0 0 3px rgba(90,90,148,.35), 0 8px 18px rgba(36,36,109,.35);
}

/* laptop: spread evenly, no scroll, no fade */
@media (min-width: 901px) {
  .cat-tabs {
    flex-wrap: wrap; justify-content: space-evenly; row-gap: 14px;
    overflow: visible; padding: 26px 0;
    -webkit-mask-image: none; mask-image: none;
  }
  .cat-tab { padding: 12px 28px; font-size: 16px; }
}
/* 3-card category grid on laptop */
@media (min-width: 901px) {
  .cat-grid-3 { grid-template-columns: repeat(3, 1fr); }
}
/* ================= CONTACT PAGE ================= */
.ct-section { padding: 30px 0 40px; }
.ct-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }

/* info */
.ct-info { display: flex; flex-direction: column; gap: 42px; padding-top: 10px; }
.ct-item { display: flex; gap: 16px; align-items: flex-start; }
.ct-icon {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #31317B, #24246D);
  box-shadow: 0 8px 18px rgba(36,36,109,.3);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.ct-icon img { width: 50%; height: 50%; object-fit: contain; }
.ct-item:hover .ct-icon { transform: scale(1.1) rotate(-8deg); }
.ct-icon-phone { animation: ring 3s ease-in-out infinite; }
@keyframes ring {
  0%, 100% { box-shadow: 0 8px 18px rgba(36,36,109,.3), 0 0 0 0 rgba(90,90,148,.45); }
  50% { box-shadow: 0 8px 18px rgba(36,36,109,.3), 0 0 0 12px rgba(90,90,148,0); }
}
.ct-item h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 18px; color: #24246D; margin-bottom: 6px; }
.ct-item a, .ct-item p { display: block; font-size: 15px; line-height: 1.65; font-weight: 600; color: #1a1a33; }
.ct-item p { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; }
.ct-item a { transition: color .25s, transform .25s; width: fit-content; }
.ct-item a:hover { color: #3535B8; transform: translateX(4px); }
.ct-mail { font-family: 'Playfair Display', Georgia, serif; word-break: break-all; }

/* form */
.ct-form { display: flex; flex-direction: column; gap: 18px; }
.ct-input, .ct-msg {
  width: 100%; background: #fff; border: 1.5px solid rgba(47,47,119,.22); border-radius: 22px;
  transition: border-color .3s, box-shadow .3s;
}
.ct-input { padding: 18px 22px; }
.ct-input, .ct-msg textarea {
  font-family: 'Playfair Display', Georgia, serif; font-size: 16px; color: #24246D; outline: none;
}
.ct-input::placeholder, .ct-msg textarea::placeholder { color: #5A5A94; opacity: .85; }
.ct-input:focus, .ct-msg:focus-within { border-color: #5A5A94; box-shadow: 0 0 0 4px rgba(90,90,148,.15); }
.ct-msg { display: flex; flex-direction: column; gap: 14px; padding: 18px 22px 18px; }
.ct-msg textarea { border: 0; resize: none; min-height: 190px; background: transparent; }
.ct-send { align-self: center; }

/* sending spinner */
.ct-send.loading { pointer-events: none; opacity: .85; }
.ct-send.loading .arrow { display: none; }
.ct-send.loading::after {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* bottom band */
.ct-band { position: relative; height: clamp(210px, 22vw, 290px); overflow: hidden; margin-top: 10px; }
.ct-band-wave { position: absolute; inset: 0; width: 100%; height: 100%; }
.ct-band-wave .w1 { animation: waveFloat 7s ease-in-out infinite; }
.ct-band-content { position: relative; z-index: 1; height: 100%; display: flex; align-items: flex-end; gap: 16px; padding-bottom: 40px; }
.ct-band-icon {
  flex-shrink: 0; width: 58px; height: 58px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.5); display: grid; place-items: center;
}
.ct-band-icon img { width: 50%; height: 50%; object-fit: contain; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.8) rotate(20deg); opacity: .7; } }
.ct-band-content p { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 20px; line-height: 1.35; color: #fff; }

/* popup */
.ct-modal {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px;
  background: rgba(36,36,109,.45); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.ct-modal.open { opacity: 1; visibility: visible; }
.ct-modal-box {
  width: min(420px, 100%); background: #fff; border-radius: 26px; padding: 34px 28px 28px;
  text-align: center; box-shadow: 0 24px 60px rgba(36,36,109,.35);
  transform: scale(.85) translateY(20px); transition: transform .45s cubic-bezier(.34,1.56,.64,1);
}
.ct-modal.open .ct-modal-box { transform: none; }
.ct-modal.is-err .ct-modal-ok, .ct-modal:not(.is-err) .ct-modal-err { display: none; }
.ct-check { width: 80px; height: 80px; margin: 0 auto 16px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ct-check circle { stroke: #5A5A94; stroke-dasharray: 151; stroke-dashoffset: 151; }
.ct-check path { stroke: #24246D; stroke-dasharray: 40; stroke-dashoffset: 40; }
.ct-modal.open .ct-check circle { animation: draw .6s .2s ease forwards; }
.ct-modal.open .ct-check path { animation: draw .4s .7s ease forwards; }
.ct-x circle { stroke: #b04a5a; }
.ct-x path { stroke: #b04a5a; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ct-modal-box h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 26px; color: #24246D; margin-bottom: 10px; }
.ct-modal-box p { font-size: 15px; line-height: 1.65; color: #3d3d5c; margin-bottom: 24px; }
.ct-modal-close { padding: 12px 34px; }

/* responsive */
@media (max-width: 640px) {
  .ct-grid { gap: 14px; grid-template-columns: 1fr 1fr; }
  .ct-info { gap: 30px; padding-top: 4px; }
  .ct-item { gap: 8px; }
  .ct-icon { width: 38px; height: 38px; }
  .ct-item h3 { font-size: 14px; margin-bottom: 3px; }
  .ct-item a, .ct-item p { font-size: 11.5px; }
  .ct-form { gap: 14px; }
  .ct-input { padding: 13px 14px; border-radius: 16px; }
  .ct-input, .ct-msg textarea { font-size: 13px; }
  .ct-msg { padding: 13px 12px; border-radius: 16px; }
  .ct-msg textarea { min-height: 170px; }
  .ct-send { padding: 10px 16px; font-size: 12.5px; gap: 8px; }
  .ct-band { height: 200px; }
  .ct-band-content { padding-bottom: 26px; gap: 12px; }
  .ct-band-icon { width: 46px; height: 46px; }
  .ct-band-content p { font-size: 15px; }
}

@media (max-width: 380px) {
  .ct-grid { grid-template-columns: 1fr; gap: 30px; }
  .ct-item a, .ct-item p { font-size: 13px; }
}
/* ===== PHONE FIXES ===== */
.ct-mail { word-break: normal; overflow-wrap: normal; }

@media (max-width: 640px) {
  .ab-hero-about { min-height: 60vw; }
  .ab-hero-about .ab-hero-bg { background-position: center 40%; }
  .ab-hero-about .ab-hero-content { padding-top: 20px; padding-bottom: 45px; }
  .ab-hero-about .ab-hero-curve { height: 70px; }
}
@media (max-width: 420px) {
  .partner-media { width: 85%; margin-inline-start: auto; }
  .frame { aspect-ratio: 4 / 3; border-start-start-radius: 70px; }
  .partner { padding-bottom: 0; }
  .partner-text { margin-bottom: 26px; }
}
@media (max-width: 640px) {
  .hero-content .btn { margin-top: 100px; }
}
@media (max-width: 640px) {
  .hero .hero-overlay {
    background: linear-gradient(180deg,
      rgba(255,255,255,.92) 0%,
      rgba(255,255,255,.85) 35%,
      rgba(255,255,255,.35) 55%,
      rgba(255,255,255,.1) 75%,
      rgba(255,255,255,0) 100%);
  }
}
/* ===== FOOTER ===== */
.site-footer { background: #24246D; color: rgba(255,255,255,.75); font-size: 13px; margin-top: -1px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 18px 0; flex-wrap: wrap; }

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; text-align: center; gap: 4px; padding: 14px 0; font-size: 12px; }
}

.footer-credit b { color: #fff; font-weight: 600; }