/* Yosaiq — site styles. Tokens first, then layout, components, pages. */
:root {
  --black: #000;
  --ink: #0d0c1d;
  --white: #fff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --coral: #ff6557;
  --sky: #0ea5e9;
  --sky-light: #38bdf8;
  --teal: #0d8f94;
  --orange: #f06b1d;
  --pink: #f5389d;
  --indigo: #565eff;
  --magenta: #e355ff;
  --peach: #f3b999;
  --blue: #2293cb;
  --clay: #bc7154;
  --grad-cta: linear-gradient(90deg, #fc8d06, #ff4d00);
  --grad-title: linear-gradient(180deg, #9333ea, #db2777, #2563eb);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 25px rgba(0, 0, 0, .08);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, .25);
  --nav-h: 56px;
  --font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
main { padding-top: var(--nav-h); min-height: 60vh; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 1024px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.center { text-align: center; }
.grad-text { background: var(--grad-title); -webkit-background-clip: text; background-clip: text; color: transparent; }
.coral { color: var(--coral); }
.orange { color: var(--orange); }
.pink { color: var(--pink); }
.indigo { color: var(--indigo); }
.magenta { color: var(--magenta); }
.peach { color: var(--peach); }
.muted { color: var(--gray-600); }
.h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; line-height: 1.2; }
.lead { font-size: 1.125rem; color: var(--gray-700); line-height: 1.7; }

/* Image and video placeholders, swapped for real media later */
.ph {
  --h: 220;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 160px;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 120% at 0% 0%, hsl(var(--h) 80% 62% / .9), transparent 60%),
    linear-gradient(135deg, hsl(calc(var(--h) + 40) 70% 30%), hsl(calc(var(--h) - 30) 75% 18%));
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(0, 0, 0, .45); color: #fff;
  font-size: .75rem; letter-spacing: .04em; text-align: center;
}
.ph.flat { border-radius: 0; }
.ph-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph.has-media::after { display: none; }
.ph.light.has-media .ph-media { object-fit: contain; padding: 8px; }
.ph.light { background: var(--gray-100); border: 1px dashed var(--gray-300); }
.ph.light::after { background: none; color: var(--gray-500); }

/* Buttons and pills */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-radius: 999px; padding: 12px 28px; transition: transform .3s, opacity .3s, background .2s, color .2s; }
.btn:hover { transform: scale(1.05); }
.btn-cta { background: var(--grad-cta); color: #fff; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .25); font-size: 1.05rem; }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: #e04826; }
.btn-orange { background: var(--orange); color: #fff; border-radius: 8px; }
.btn-orange:hover { background: #d85a15; transform: none; }
.btn-outline { border: 1px solid var(--gray-300); padding: 8px 24px; font-size: .875rem; font-weight: 500; }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: none; }
.btn-dark { border: 1px solid var(--black); padding: 8px 20px; font-size: .9rem; }
.btn-dark:hover { background: var(--black); color: #fff; transform: none; }
.pill { display: inline-block; padding: 4px 16px; border-radius: 999px; font-weight: 500; }
.pill-teal { background: var(--teal); color: #fff; font-size: 1.25rem; }
.pill-line { border: 1px solid var(--black); font-size: .875rem; padding: 4px 20px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease-out, transform .8s ease-out; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none !important; }
}

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; background: var(--black); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.nav-bar { height: var(--nav-h); padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 6px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.logo b { font-weight: inherit; }
.logo span { color: var(--coral); }
.logo img { height: 34px; width: auto; }
.site-footer .logo img { height: 48px; }
.nav-links { display: none; align-items: center; gap: 40px; font-size: .875rem; font-weight: 600; letter-spacing: .025em; }
.nav-item { position: relative; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 18px 0; transition: color .2s; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: 12px; height: 2px; width: 0; background: var(--sky-light); transition: width .3s; }
.nav-item:hover > .nav-link, .nav-link.active { color: var(--sky-light); }
.nav-item:hover > .nav-link::after, .nav-link.active::after { width: 100%; }
.chev { width: 14px; height: 14px; transition: transform .3s; }
.nav-item:hover .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: 100%; left: 50%; min-width: 250px; padding: 12px;
  background: var(--black); border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--radius);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .85);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px) scale(.96); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.dropdown a { display: block; padding: 8px 12px; border-radius: 8px; font-weight: 500; white-space: nowrap; }
.dropdown a:hover, .dropdown a.active { color: var(--sky-light); background: rgba(255, 255, 255, .1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-contact { background: var(--sky); color: #fff; padding: 6px 16px; border-radius: 6px; font-size: .875rem; font-weight: 600; transition: background .2s; }
.nav-contact:hover { background: #0284c7; }
.nav-toggle { padding: 4px; color: #fff; }
.nav-toggle svg { width: 26px; height: 26px; }
.mobile-menu { display: none; position: absolute; left: 0; top: 100%; width: 100%; background: var(--black); border-bottom: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--shadow-lg); max-height: 80vh; overflow-y: auto; padding: 24px; }
.mobile-menu.open { display: block; animation: menu-in .3s ease-out; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-10px); } }
.mobile-menu > li { padding: 6px 0; font-size: 1.125rem; font-weight: 500; }
.mobile-row { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu a.active { color: var(--sky-light); font-weight: 600; }
.mobile-sub { display: none; padding: 8px 0 4px 16px; }
.mobile-sub.open { display: block; }
.mobile-sub a { display: block; padding: 6px 0; font-size: 1rem; color: rgba(255, 255, 255, .9); }
.mobile-row button { color: #fff; padding: 4px; }
.mobile-row button.open .chev { transform: rotate(180deg); }
@media (min-width: 1280px) {
  .nav-links { display: flex; }
  .nav-toggle, .mobile-menu, .mobile-menu.open { display: none; }
}

/* Footer */
.site-footer { background: var(--black); color: #fff; padding: 40px 24px; }
.footer-top { display: grid; gap: 40px; align-items: center; max-width: 1500px; margin: 0 auto; }
.footer-tag { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 600; text-transform: uppercase; line-height: 1.35; margin: 12px 0 24px; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 8px; }
.footer-cols .ft { font-weight: 700; font-size: 1.25rem; }
.footer-cols a:hover { color: var(--sky-light); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.socials a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; font-size: .7rem; font-weight: 700; }
.socials a:hover { background: #fff; color: #000; }
.socials a.icon { color: #25d366; }
.socials svg { width: 18px; height: 18px; }
.footer-wa { display: inline-flex; align-items: center; gap: 8px; }
.footer-wa svg { width: 20px; height: 20px; color: #25d366; flex: none; }
.footer-info { display: grid; gap: 40px; }
.footer-info h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 12px; }
.footer-info p { color: var(--gray-300); line-height: 1.7; }
.footer-info .sub { color: #fff; font-weight: 600; font-size: 1.125rem; margin: 16px 0 8px; }
.badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.badge { display: grid; place-items: center; background: #fff; border-radius: 6px; padding: 8px 12px; min-height: 70px; }
.badge img { width: 100%; max-height: 80px; object-fit: contain; }
.footer-map { margin-top: 40px; }
.footer-map .ph { min-height: 240px; border-radius: 8px; }
.footer-bottom { max-width: 1280px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid var(--gray-700); color: var(--gray-400); font-size: .875rem; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: space-between; text-align: center; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.footer-bottom a:hover { color: #fff; }
@media (min-width: 640px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .footer-cols > div:not(:last-child) { border-right: 1px solid var(--gray-700); }
  .footer-bottom { flex-direction: row; }
}
@media (min-width: 768px) { .footer-info { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 80px; padding-left: 40px; } }

/* Home: hero + stats */
.hero { position: relative; min-height: 95vh; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--black); margin-top: calc(var(--nav-h) * -1); }
.hero-media { position: absolute; inset: 0; background: linear-gradient(120deg, #06102b, #2a0a3c, #071f2c, #2b1206); background-size: 300% 300%; animation: drift 18s ease infinite; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
@keyframes drift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .65); z-index: 1; }
.hero-body { position: relative; z-index: 2; text-align: center; padding: 0 24px; max-width: 900px; color: #fff; }
.hero h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 700; line-height: 1.2; margin-bottom: 24px; }
.hero p { font-size: clamp(1rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .9); line-height: 1.65; margin-bottom: 32px; }
.stats { position: relative; z-index: 20; margin-top: -100px; }
.stats-card { background: var(--black); border-radius: var(--radius-lg); padding: 32px 40px; box-shadow: var(--shadow-lg); display: flex; flex-wrap: wrap; gap: 28px 40px; justify-content: center; align-items: center; }
.stat { text-align: center; min-width: 120px; }
.stat b { display: block; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
.stat span { display: block; margin-top: 4px; font-size: .8rem; color: rgba(255, 255, 255, .8); }

/* Home: who we are + marquee */
.split { display: grid; gap: 48px; align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 768px) { .split { grid-template-columns: 1fr 1fr; } }
.who { padding: 64px 40px; }
.who .ph { min-height: 380px; box-shadow: var(--shadow); }
.marquee { overflow: hidden; margin-top: 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .ph { width: 150px; min-height: 70px; margin: 0 24px; border-radius: 8px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Home: scroll-linked steps */
.steps { display: grid; gap: 48px; align-items: start; }
.steps-list { position: relative; display: flex; flex-direction: column; gap: 48px; padding-left: 48px; }
.steps-rail { position: absolute; left: 22px; top: 0; height: 100%; width: 4px; background: var(--gray-200); border-radius: 4px; overflow: hidden; }
.steps-rail i { display: block; width: 100%; height: 100%; background: #3b82f6; transform-origin: top; transform: scaleY(0); }
.step { padding: 24px; border: 1px solid var(--gray-200); border-radius: 12px; transition: all .3s; opacity: .55; }
.step.active { opacity: 1; border-color: #3b82f6; background: #eff6ff; box-shadow: var(--shadow); }
.step h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--gray-600); font-size: .9rem; }
.steps-media { display: none; }
@media (min-width: 1024px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps-media { display: flex; position: sticky; top: 96px; height: min(70vh, 560px); align-items: center; }
  .steps-media .ph { width: 100%; min-height: 420px; box-shadow: var(--shadow-lg); transition: filter .4s; }
}

/* Home: challenges banner */
.banner { position: relative; overflow: hidden; border-radius: var(--radius-lg); margin: 40px clamp(20px, 6vw, 80px); color: #fff; }
.banner .ph { position: absolute; inset: 0; border-radius: 0; }
.banner .ph::after { position: absolute; right: 16px; bottom: 16px; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0, 0, 0, .75), rgba(0, 0, 0, .15)); }
.banner-body { position: relative; z-index: 2; padding: clamp(40px, 6vw, 64px) clamp(24px, 4vw, 48px); max-width: 620px; }
.banner h2 { margin-bottom: 24px; }
.banner li { padding: 3px 0 3px 18px; position: relative; }
.banner li::before { content: "•"; position: absolute; left: 0; }
.banner p { margin: 18px 0; }

/* Cards */
.grid { display: grid; gap: 32px; }
.g2, .g3, .g4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .g2, .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); transition: box-shadow .3s, transform .3s; display: flex; flex-direction: column; }
.card:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1); }
.card .ph { margin-bottom: 20px; min-height: 180px; }
.card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--gray-600); font-size: .9rem; line-height: 1.65; }

/* Home: product carousel */
.dots-bg { background-image: radial-gradient(var(--gray-200) 1.5px, transparent 1.5px); background-size: 18px 18px; }
.row-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.row-head h2 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 600; line-height: 1.15; }
.carousel { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { flex: 0 0 min(86%, 380px); scroll-snap-align: start; }
.carousel-nav { display: flex; justify-content: flex-end; gap: 16px; margin-top: 24px; }
.carousel-nav button { width: 40px; height: 40px; border: 1px solid var(--black); border-radius: 50%; display: grid; place-items: center; }
.carousel-nav button:hover { background: var(--black); color: #fff; }
.pcard { background: #fff; border: 2px solid var(--gray-200); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; height: 100%; }
.pcard .media { position: relative; height: 224px; border-radius: var(--radius); overflow: hidden; }
.pcard .media .ph { height: 100%; transition: transform .7s ease-in-out; }
.pcard:hover .media .ph { transform: scale(1.1); }
.pcard .go { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(0, 0, 0, .7); color: #fff; display: grid; place-items: center; backdrop-filter: blur(8px); }
.pcard h3 { font-size: 1.25rem; font-weight: 600; margin: 20px 0 8px; }
.pcard p { color: var(--gray-600); font-size: .9rem; line-height: 1.65; }

/* Page headers */
.page-title { font-size: clamp(2.5rem, 7vw, 4.5rem); font-weight: 700; line-height: 1.1; padding: 56px 0 24px; }
.page-hero { background: #f8f9fc; padding: 72px 24px 64px; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 6vw, 3.75rem); font-weight: 800; letter-spacing: -.02em; }
.page-hero p { max-width: 760px; margin: 24px auto 0; font-size: 1.125rem; color: var(--gray-600); line-height: 1.7; }
.prose { max-width: 820px; margin: 0 auto; font-size: 1.125rem; line-height: 1.8; }
.prose h2 { font-size: 1.5rem; font-weight: 600; margin: 36px 0 12px; }
.prose p { margin-bottom: 14px; text-align: justify; }
.prose ul { list-style: disc inside; margin-bottom: 14px; }
.prose li { padding: 3px 0; }

/* Education hub */
.tiles { display: grid; gap: 16px; max-width: 760px; margin: 0 auto; }
@media (min-width: 768px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tile { position: relative; display: block; border-radius: 12px; overflow: hidden; height: 300px; }
.tile.tall { height: 400px; }
.tile .ph { position: absolute; inset: 0; border-radius: 0; min-height: 0; }
.tile .ph::after { display: none; }
.tile-over { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: #fff; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .7)); transition: background .5s; }
.tile:hover .tile-over { background: rgba(0, 0, 0, .6); }
.tile-over b { font-size: 2rem; font-weight: 400; letter-spacing: -.02em; line-height: 1.1; }
.tile-over span { font-size: .9rem; opacity: .85; margin-top: 6px; }

/* Stage pages */
.stage-hero { background: var(--black); color: #fff; padding: 72px 0; }
.stage-hero .ph { min-height: 340px; }
.stage-hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; line-height: 1.15; margin: 14px 0 20px; }
.stage-hero p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; line-height: 1.7; margin-bottom: 28px; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.tag.dark { background: var(--gray-100); border-color: var(--gray-200); color: var(--gray-700); }
.checks li { position: relative; padding: 8px 0 8px 34px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: rgba(240, 107, 29, .12); color: var(--orange); font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.num { font-size: 2.25rem; font-weight: 800; color: var(--gray-200); line-height: 1; margin-bottom: 10px; }

/* Project detail */
.project-banner { min-height: 46vh; border-radius: 0; }
.project h1 { text-align: center; font-weight: 700; color: var(--indigo); font-size: 2.25rem; padding: 40px 20px; }
.project .intro p { max-width: 900px; margin: 0 auto 20px; padding: 0 20px; font-size: 1.2rem; text-align: center; }
.project .sub { text-align: center; font-size: 2.25rem; margin-top: 40px; }
.notes { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.note { width: 288px; height: 288px; margin: 12px; padding: 28px; display: flex; align-items: center; color: #fff; background: linear-gradient(135deg, var(--indigo), #2f36c9); box-shadow: 8px 12px 24px rgba(0, 0, 0, .2); transform: rotate(-2deg); border-radius: 4px 4px 28px 4px; }
.note:nth-child(even) { background: linear-gradient(135deg, var(--magenta), #a51fc4); transform: rotate(2deg); }
.note p { transform: skewY(-4deg); line-height: 1.5; }
.note b { display: block; margin-bottom: 8px; font-size: 1.1rem; }
.project .scope { text-align: center; font-size: 1.25rem; font-weight: 700; max-width: 820px; margin: 0 auto; padding: 40px 20px; }
.project .block { max-width: 1000px; margin: 0 auto; padding: 14px 20px; font-size: 1.2rem; }
.project .block b { display: block; margin-bottom: 8px; }
.project .block p { text-align: justify; }

/* Products */
.dark-page { background: var(--black); color: #fff; }
.dark-page .card { background: #0c0c0f; border-color: rgba(255, 255, 255, .12); }
.dark-page .card p { color: var(--gray-400); }
.filters { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 0 0 32px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--gray-300); font-size: .875rem; background: #fff; color: var(--gray-700); transition: all .2s; }
.chip:hover { background: var(--gray-100); }
.chip.active { background: var(--black); color: #fff; border-color: var(--black); }
.dark-page .chip { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.dark-page .chip.active { background: #fff; color: #000; }

/* Blog */
.search { width: 100%; max-width: 480px; padding: 10px 16px; border: 1px solid var(--gray-300); border-radius: 999px; outline: none; }
.search:focus { border-color: var(--black); }
.post-card { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s; }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.post-card .ph { border-radius: 0; min-height: 190px; }
.post-card .body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card .meta, .post-meta { font-size: .8rem; color: var(--gray-500); }
.post-card h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.35; }
.post-card p { font-size: .9rem; color: var(--gray-600); }
.post-card .more { margin-top: auto; font-weight: 600; font-size: .875rem; color: var(--coral); }
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 48px; flex-wrap: wrap; }
.pagination button { min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--gray-300); border-radius: 8px; font-size: .875rem; }
.pagination button.active { background: var(--black); color: #fff; border-color: var(--black); }
.pagination button:disabled { opacity: .4; cursor: default; }
.empty { border: 1px dashed var(--gray-300); border-radius: 8px; padding: 24px; text-align: center; color: var(--gray-500); font-size: .9rem; }
.article { max-width: 780px; margin: 0 auto; padding: 56px 24px 80px; }
.article h1 { font-size: clamp(1.9rem, 4.5vw, 2.75rem); font-weight: 700; line-height: 1.2; margin: 14px 0; }
.article .ph { min-height: 320px; margin: 28px 0; }
.article h2 { font-size: 1.5rem; font-weight: 600; margin: 32px 0 10px; }
.article p { font-size: 1.1rem; line-height: 1.8; color: var(--gray-700); margin-bottom: 14px; }

/* Careers */
.careers-hero { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; color: #fff; }
.careers-hero .ph { position: absolute; inset: 0; border-radius: 0; }
.careers-hero .ph::after { position: absolute; right: 16px; bottom: 16px; }
.careers-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, .45), transparent); }
.careers-hero .inner { position: relative; z-index: 2; width: 100%; max-width: 1152px; margin: 0 auto; padding: 64px 24px; }
.careers-hero h1 { font-size: clamp(2.25rem, 5.5vw, 3.75rem); font-weight: 700; line-height: 1.15; max-width: 760px; margin: 24px 0; }
.careers-hero p { max-width: 640px; color: rgba(255, 255, 255, .9); font-size: 1.05rem; line-height: 1.7; }
.role-card { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; background: #fff; display: flex; flex-direction: column; gap: 12px; transition: box-shadow .3s, transform .3s, border-color .3s; }
.role-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--orange); }
.role-card h3 { font-size: 1.25rem; font-weight: 700; }
.role-card .meta { font-size: .85rem; color: var(--gray-500); }
.role-card .more { margin-top: auto; color: var(--orange); font-weight: 600; font-size: .9rem; }
.role-page { background: #faf8f5; }
.role-page h1 { font-size: clamp(2.25rem, 5.5vw, 3.75rem); font-weight: 700; line-height: 1.15; }
.role-page .ph { min-height: 320px; box-shadow: var(--shadow); }
.tabs { display: inline-grid; grid-auto-flow: column; background: rgba(229, 231, 235, .8); border-radius: 999px; padding: 6px; gap: 4px; }
.tabs button { padding: 8px 20px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--gray-700); }
.tabs button.active { background: var(--orange); color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.panel { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(24px, 5vw, 48px); margin-top: 32px; }
.panel h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.panel h2::before { content: ""; width: 40px; height: 2px; background: var(--orange); }

/* About */
.about-cards { display: grid; gap: 40px; padding-bottom: 96px; }
@media (min-width: 640px) { .about-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .about-cards { grid-template-columns: repeat(3, 1fr); } }
.about-card { --c: var(--coral); position: relative; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; transition: transform .5s, box-shadow .5s; overflow: hidden; }
.about-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 25%, transparent), color-mix(in srgb, var(--c) 5%, transparent)); opacity: 0; transition: opacity .4s; }
.about-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); }
.about-card:hover::before { opacity: 1; }
.about-card > * { position: relative; }
.about-card h2 { font-size: 1.875rem; font-weight: 600; margin-bottom: 24px; }
.about-card p { color: var(--gray-600); line-height: 1.7; text-align: justify; }
.about-card .btn-outline { margin-top: 40px; align-self: flex-start; }
.about-card:hover .btn-outline { background: var(--c); border-color: var(--c); color: #fff; }
.float-card { max-width: 1024px; margin: 96px auto; padding: clamp(40px, 8vw, 110px) clamp(24px, 6vw, 80px); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.float-card h1, .big-title { font-size: clamp(2.25rem, 5vw, 3rem); font-weight: 600; }
.float-card .row { display: flex; gap: 40px; justify-content: center; padding: 40px 0; overflow-x: auto; }
.float-card .row .ph { flex: 0 0 240px; min-height: 300px; border-radius: var(--radius-lg); }
.value-card { max-width: 256px; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.value-card .ph { border-radius: 0; min-height: 160px; }
.value-card div:last-child { padding: 20px; min-height: 250px; }
.value-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.value-card p { color: var(--gray-700); text-align: justify; }
.person { border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; background: #fff; text-align: center; transition: transform .7s ease-in-out; }
.person:hover { transform: scale(1.05); }
.person .ph { border-radius: 0; min-height: 260px; }
.person div:last-child { padding: 12px; }
.person b { display: block; }
.person span { font-size: .875rem; color: var(--gray-500); }

/* Why choose us */
.partner-hero { background: var(--black); color: #fff; padding: 56px 0 40px; }
.partner-hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; margin: 14px 0 18px; }
.partner-hero .q { font-style: italic; color: var(--gray-300); font-weight: 300; }
.partner-hero p.body { color: var(--gray-300); font-size: 1.05rem; line-height: 1.7; margin-bottom: 24px; max-width: 560px; }
.partner-hero .ph { min-height: 380px; }
.impact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; text-align: center; }
@media (min-width: 640px) { .impact { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .impact { grid-template-columns: repeat(5, 1fr); } }
.impact b { display: block; font-size: 2.25rem; font-weight: 800; color: var(--coral); }
.impact span { font-size: .9rem; color: var(--gray-600); }
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--gray-200); padding: 18px 0; }
.faq summary { font-weight: 600; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--coral); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 12px; color: var(--gray-600); line-height: 1.7; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 0 8px 80px; }
.gallery-grid .ph { min-height: 200px; cursor: pointer; }
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0 20px 80px; }
  .gallery-grid .ph { min-height: 260px; border-radius: var(--radius-lg); }
}
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .9); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox .ph { width: min(900px, 100%); min-height: min(70vh, 560px); }
.lightbox button { position: absolute; top: 20px; right: 24px; color: #fff; font-size: 2rem; line-height: 1; }

/* Contact */
.contact { position: relative; margin-top: calc(var(--nav-h) * -1); padding-top: var(--nav-h); min-height: 100vh; color: #fff; }
.contact > .ph { position: absolute; inset: 0; border-radius: 0; filter: blur(2px); }
.contact > .ph::after { display: none; }
.contact::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); z-index: 1; }
.contact-inner { position: relative; z-index: 2; padding: 0 20px 80px; }
.contact-grid { display: grid; gap: 40px; align-items: center; max-width: 1200px; margin: 0 auto; }
@media (min-width: 1280px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.glass { width: 100%; max-width: 520px; margin: 0 auto; background: rgba(255, 255, 255, .2); backdrop-filter: blur(24px); border: 1px solid rgba(255, 255, 255, .3); box-shadow: var(--shadow-lg); border-radius: var(--radius); padding: clamp(24px, 4vw, 32px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.field { padding: 4px 0; }
.field label { display: block; margin-bottom: 4px; font-size: .95rem; }
.field label i { color: #ef4444; font-style: normal; }
.field input, .field select, .field textarea { width: 100%; padding: 8px 12px; border-radius: 8px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .4); color: #111; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 2px #fff; }
.field .err { display: none; color: #fecaca; font-size: .8rem; margin-top: 2px; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ef4444; }
.contact-info h2 { font-size: 1.75rem; font-weight: 600; margin-bottom: 16px; }
.contact-info p { margin-bottom: 10px; color: rgba(255, 255, 255, .9); line-height: 1.7; }

/* Floating UI */
.toast { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px); background: #111; color: #fff; padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: all .3s; z-index: 90; font-size: .9rem; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.to-top { position: fixed; right: 22px; bottom: 96px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: #fff; box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.to-top.show { opacity: 1; pointer-events: auto; }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 560px; background: #fff; color: var(--ink); border: 1px solid var(--gray-200); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 20px; display: none; }
.cookie.show { display: block; }
.cookie p { font-size: .9rem; color: var(--gray-600); margin-bottom: 14px; }
.cookie div { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie button { padding: 8px 18px; border-radius: 999px; font-size: .875rem; font-weight: 600; border: 1px solid var(--black); }
.cookie button.primary { background: var(--black); color: #fff; }

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .who { padding: 48px 20px; }
  .stats-card { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .note { width: 100%; max-width: 300px; }
}

/* Floating WhatsApp contact */
.wa-float { position: fixed; right: 16px; bottom: 24px; z-index: 80; }
.wa-btn { width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .2s; }
.wa-btn:hover { transform: scale(1.06); }
.wa-btn svg { width: 30px; height: 30px; }
.wa-menu { position: absolute; right: 0; bottom: 68px; width: min(300px, calc(100vw - 32px)); background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 12px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.wa-float.open .wa-menu { opacity: 1; visibility: visible; transform: none; }
.wa-menu p { font-weight: 700; padding: 4px 8px 10px; }
.wa-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 8px; font-size: .875rem; color: var(--gray-600); }
.wa-menu a:hover { background: var(--gray-100); }
.wa-menu a b { display: block; color: var(--ink); font-size: .95rem; }
.wa-menu svg { width: 22px; height: 22px; flex: none; color: var(--gray-600); }
.wa-menu .wa-chat svg { color: #25d366; }
@media (max-width: 640px) { .cookie { bottom: 92px; } }

/* Home: who we are, challenges, curiosity image */
.who h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.25; margin-top: 20px; }
.who .lead + .lead { margin-top: 16px; }
.banner h3 { font-size: 1.5rem; margin-top: 28px; }
.banner li b { color: #fff; }
.curiosity { padding: 80px clamp(20px, 6vw, 80px); }
.curiosity .ph { max-width: 1200px; margin: 0 auto; aspect-ratio: 16 / 9; min-height: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* Why choose us */
.partner-hero .lede { font-size: 1.25rem; font-weight: 600; margin: 16px 0 12px; }
.partner-hero .body + .body { margin-top: 12px; }
