:root {
  --red: #168578;
  --red-dark: #0c625b;
  --blue: #176da3;
  --ink: #f5f3ef;
  --muted: #aaa7a3;
  --line: #303033;
  --soft: #151516;
  --white: #0c0c0d;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(23, 18, 16, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--white); font-family: "Manrope", sans-serif; color-scheme: dark; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.site-header { height: 84px; padding: 0 max(5vw, 30px); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 20; background: rgba(12,12,13,.88); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(18px); }
.brand { display: inline-flex; gap: 12px; align-items: center; }
.brand-logo { width: 48px; height: 48px; display: block; overflow: hidden; position: relative; flex: none; background: white; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.brand-logo img { width: 108px; height: 108px; max-width: none; position: absolute; top: -26px; left: -31px; object-fit: cover; }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1; }
.brand strong { font-size: 21px; font-weight: 800; letter-spacing: -.04em; }
.brand small { margin-top: 6px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
nav { display: flex; gap: 22px; align-items: center; font-size: 13px; font-weight: 700; }
nav > a:not(.nav-cta) { position: relative; }
nav > a:not(.nav-cta)::after { content: ""; width: 0; height: 2px; position: absolute; left: 0; bottom: -7px; background: var(--red); transition: width .2s; }
nav > a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { padding: 13px 22px; color: white; background: var(--red); border-radius: 99px; transition: transform .2s, background .2s; }
.nav-cta:hover { background: var(--red-dark); transform: translateY(-2px); }
.menu-toggle { display: none; }

.hero { min-height: 760px; padding: 90px max(7vw, 40px) 175px; display: grid; place-items: center; position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #183b2d; }
.hero::before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(180deg, rgba(6,25,18,.42), rgba(5,28,16,.52) 52%, rgba(6,37,20,.82)); pointer-events:none; }
.hero-background { width:100%; height:100%; position:absolute; z-index:-3; inset:0; object-fit:cover; object-position:center 55%; animation:hero-background-in 1.1s cubic-bezier(.2,.7,.2,1) both; }
.hero-background-video { width:100%; height:100%; position:absolute; z-index:-2; inset:0; opacity:0; object-fit:cover; object-position:center; transition:opacity .7s ease; }
.hero-background-video.is-ready { opacity:1; }
.hero-video-toggle { min-height:38px; padding:0 14px; display:flex; gap:8px; align-items:center; position:absolute; z-index:5; top:22px; right:max(5vw,24px); color:#fff; background:rgba(7,23,17,.58); border:1px solid rgba(255,255,255,.35); border-radius:99px; backdrop-filter:blur(10px); cursor:pointer; font:700 10px "Manrope",sans-serif; letter-spacing:.06em; text-transform:uppercase; }
.hero-video-toggle[hidden] { display:none; }
.hero-video-toggle span { width:12px; font-size:11px; }
.hero-copy { width:100%; max-width: 920px; margin-top:-25px; position:relative; z-index:2; text-align:center; animation: hero-copy-in .75s cubic-bezier(.2,.7,.2,1) both; }
.eyebrow { margin: 0 0 18px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
h1, h2 { margin: 0; line-height: 1.03; letter-spacing: -.055em; }
h1 { max-width: 960px; font-size: clamp(50px, 5.6vw, 86px); font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(38px, 4vw, 62px); font-weight: 800; text-wrap: balance; }
.hero-badge { width:max-content; max-width:100%; margin:0 auto 24px; padding:9px 14px; display:flex; gap:9px; align-items:center; color:#fff; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.28); border-radius:99px; backdrop-filter:blur(9px); font-size:10px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.hero-badge > span { width:8px; height:8px; background:#b8e138; border-radius:50%; box-shadow:0 0 0 5px rgba(184,225,56,.16); }
.hero-text { max-width: 720px; margin: 24px auto; color:rgba(255,255,255,.84); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.7; }
.hero-actions { display: flex; justify-content:center; flex-wrap: wrap; gap: 12px; }
.button { min-height: 54px; padding: 0 25px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: 99px; font-size: 14px; font-weight: 800; transition: .2s; }
.button.primary { color: white; border-color: var(--red); background: linear-gradient(135deg, #197f9d, var(--red)); box-shadow: 0 12px 26px rgba(22,133,120,.22); }
.button.primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.button.secondary { border-color: #57575a; }
.button.secondary:hover { color: var(--white); background: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.hero .button.primary { color:#143022; border-color:#b8e138; background:#b8e138; box-shadow:0 14px 32px rgba(0,0,0,.22); }
.hero .button.primary:hover { background:#c9ef50; }
.hero .button.secondary { color:#fff; border-color:rgba(255,255,255,.65); background:rgba(255,255,255,.08); backdrop-filter:blur(8px); }
.hero .button.secondary:hover { color:#143022; background:#fff; border-color:#fff; }
.trust-list { width:min(1180px,90vw); padding:0; margin:0; display:grid; grid-template-columns:repeat(4,1fr); position:absolute; z-index:3; left:50%; bottom:28px; transform:translateX(-50%); overflow:hidden; color:#183029; background:rgba(255,255,255,.96); border:1px solid rgba(255,255,255,.62); border-radius:18px; box-shadow:0 22px 55px rgba(0,0,0,.22); backdrop-filter:blur(14px); list-style:none; }
.trust-list li { min-height:94px; padding:20px; display:flex; align-items:center; line-height:1.4; font-size:12px; font-weight:800; }
.trust-list li+li { border-left:1px solid #dde8e1; }
.trust-list li::before { content:"✓"; width:34px; height:34px; margin-right:12px; display:grid; place-items:center; flex:none; color:#fff; background:linear-gradient(135deg,#176da3,var(--red)); border-radius:11px; font-size:13px; font-weight:800; }
.hero-preview { width:230px; padding:9px; display:block; position:absolute; z-index:4; right:max(5vw,32px); bottom:142px; color:#17332a; background:#b8e138; border:1px solid rgba(255,255,255,.45); border-radius:18px; box-shadow:0 20px 45px rgba(0,0,0,.3); transform:rotate(1.5deg); transition:transform .25s ease; }
.hero-preview:hover { transform:translateY(-5px) rotate(0); }
.hero-preview img { width:100%; height:118px; display:block; object-fit:cover; border-radius:11px; }
.hero-preview>span { padding:11px 8px 6px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.hero-preview strong { font-size:11px; }
.hero-preview small { font-size:9px; font-weight:800; white-space:nowrap; }

.services, .work, .story, .about, .news { padding: 120px max(5vw, 30px); }
.services { background: var(--soft); border-top: 1px solid rgba(255,255,255,.07); border-radius: 42px 42px 0 0; }
.section-heading { max-width: 780px; margin-bottom: 50px; }
.section-heading > p:last-child { max-width: 610px; margin-top: 20px; color: var(--muted); line-height: 1.7; font-size: 16px; }
.service-controls { margin-top:24px; display:flex; gap:9px; align-items:center; }
.service-controls>span { margin-right:5px; color:var(--muted); font-size:11px; font-weight:700; }
.service-controls button { width:44px; height:44px; display:grid; place-items:center; color:var(--ink); background:var(--white); border:1px solid var(--line); border-radius:14px; box-shadow:0 8px 20px rgba(0,0,0,.06); cursor:pointer; transition:transform .25s,background .25s,color .25s,border-color .25s; }
.service-controls button svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.service-controls #service-next { color:#fff; background:var(--red); border-color:var(--red); }
.service-controls button:hover { color:#fff; background:var(--red-dark); border-color:var(--red-dark); transform:translateY(-3px); }
.service-controls button:focus-visible, .service-link:focus-visible, .back-to-top:focus-visible { outline:3px solid color-mix(in srgb,var(--red) 35%,transparent); outline-offset:3px; }
.service-carousel { max-width:1600px; margin:auto; padding:8px 0 28px; overflow-x:auto; overscroll-behavior-inline:contain; scroll-behavior:smooth; scroll-snap-type:x mandatory; scrollbar-width:thin; scrollbar-color:var(--red) transparent; }
.service-carousel::-webkit-scrollbar { height:6px; }
.service-carousel::-webkit-scrollbar-thumb { background:var(--red); border-radius:99px; }
.service-grid { width:max-content; display:flex; gap:14px; }
.services > .section-heading, .work > .section-heading { max-width: 1600px; margin-left: auto; margin-right: auto; }
.service-card { width:clamp(265px,25vw,350px); height:510px; flex:0 0 auto; position:relative; overflow:hidden; color:#fff; background:#14231e; border:0; border-radius:24px; box-shadow:0 18px 45px rgba(0,0,0,.2); scroll-snap-align:start; scroll-snap-stop:always; transition:width 1.05s cubic-bezier(.22,.61,.36,1),transform .45s ease,box-shadow .45s ease; }
.service-card.is-active { width:clamp(540px,51vw,760px); }
.service-card:hover { transform:translateY(-6px); box-shadow:0 26px 58px rgba(0,0,0,.28); }
.service-photo { position:absolute; inset:0; overflow:hidden; background:#202022; }
.service-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,16,12,.08) 25%, rgba(5,16,12,.88) 100%); transition:background .7s ease; }
.service-card:not(.is-active) .service-photo::after { background:linear-gradient(180deg,rgba(5,16,12,.24),rgba(5,16,12,.9)); }
.service-photo img { width: 100%; height: 100%; display: block; object-fit: cover; transition:transform .9s cubic-bezier(.22,.61,.36,1); }
.service-card:hover .service-photo img { transform: scale(1.05); }
.service-number { margin-bottom:7px; display:block; color:#fff; font-size:clamp(18px,2vw,28px); font-weight:500; line-height:1; }
.service-content { min-height:0; margin:0; padding:30px 96px 28px 28px; display:block; position:absolute; z-index:2; right:0; bottom:0; left:0; background:transparent; border:0; border-radius:0; box-shadow:none; }
.service-card h3 { margin:0 0 10px; color:#fff; font-size:clamp(24px,2.4vw,36px); line-height:1.08; letter-spacing:-.04em; }
.service-card p { max-width:600px; max-height:76px; margin:0; display:-webkit-box; overflow:hidden; color:rgba(255,255,255,.82); line-height:1.55; font-size:12px; -webkit-box-orient:vertical; -webkit-line-clamp:3; transition:opacity .65s ease,max-height .65s ease; }
.service-card:not(.is-active) p { max-height:0; opacity:0; }
.service-list { display:none; }
.service-list li { padding-left: 21px; position: relative; line-height: 1.5; }
.service-list li::before { content: ""; width: 7px; height: 7px; position: absolute; left: 0; top: .55em; background: var(--red); border-radius: 50%; }
.service-link { width:58px; height:58px; padding:0; display:grid; place-items:center; position:absolute; right:25px; bottom:25px; overflow:hidden; color:#15332a; background:#fff; border:0; border-radius:50%; font-size:0; transition:transform .22s,background .22s; }
.service-link:hover { color:#fff; background:var(--red); transform:translateY(-3px) scale(1.05); }
.service-link svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; transition:transform .25s; }
.service-link:hover svg { transform:translate(2px,-2px); }
.service-pagination { display:none; }

.process { padding:120px max(5vw,30px); display:grid; grid-template-columns:.68fr 1.32fr; gap:7vw; align-items:start; background:var(--white); }
.process-heading { max-width:520px; position:sticky; top:120px; }
.process-heading>p:not(.eyebrow) { margin:24px 0 28px; color:var(--muted); font-size:15px; line-height:1.8; }
.process-list { display:grid; gap:16px; }
.process-list article { min-height:210px; padding:20px; display:grid; grid-template-columns:minmax(180px,220px) 1fr; gap:28px; align-items:center; background:var(--soft); border:1px solid var(--line); border-radius:24px; transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease; }
.process-list article:hover { transform:translateX(-6px); box-shadow:var(--shadow); }
.process-list img { width:100%; height:170px; display:block; object-fit:cover; border-radius:17px; }
.process-list article:first-child img { object-position:center 48%; }
.process-list article:last-child img { object-position:left center; }
.process-list span { width:36px; height:36px; display:grid; place-items:center; color:#fff; background:var(--red); border-radius:50%; font-size:11px; font-weight:800; letter-spacing:.06em; }
.process-list h3 { margin:12px 0 10px; font-size:clamp(21px,2.2vw,31px); line-height:1.15; letter-spacing:-.04em; }
.process-list p { margin:0; color:var(--muted); font-size:13px; line-height:1.75; }

.showcase { padding:115px max(5vw,30px); background:var(--soft); }
.showcase-heading { max-width:1500px; margin:0 auto 48px; display:grid; grid-template-columns:1fr auto; gap:6vw; align-items:end; }
.showcase-heading>div:first-child { max-width:830px; }
.showcase-heading h2 { max-width:800px; }
.showcase-heading>div:first-child>p:last-child { max-width:650px; margin:22px 0 0; color:var(--muted); font-size:15px; line-height:1.75; }
.showcase-stats { margin:0; display:flex; gap:50px; }
.showcase-stats div { min-width:115px; }
.showcase-stats dt { color:var(--ink); font-size:clamp(40px,4vw,62px); font-weight:800; line-height:1; letter-spacing:-.06em; }
.showcase-stats dd { margin:9px 0 0; color:var(--muted); font-size:12px; }
.showcase-visual { max-width:1500px; height:560px; margin:auto; display:grid; grid-template-columns:1fr 1fr; position:relative; overflow:hidden; border-radius:24px; box-shadow:var(--shadow); }
.showcase-visual figure { margin:0; position:relative; overflow:hidden; }
.showcase-visual figure+figure { border-left:3px solid #fff; }
.showcase-visual img { width:100%; height:100%; display:block; object-fit:cover; transition:transform .6s ease; }
.showcase-visual figure:hover img { transform:scale(1.035); }
.showcase-visual figure::after { content:""; position:absolute; inset:55% 0 0; background:linear-gradient(transparent,rgba(0,0,0,.58)); }
.showcase-visual figcaption { padding:10px 15px; position:absolute; z-index:2; top:20px; color:#17332a; background:rgba(255,255,255,.94); border-radius:99px; font-size:11px; font-weight:800; }
.showcase-visual figure:first-child figcaption { left:20px; }
.showcase-visual figure:nth-child(2) figcaption { right:20px; color:#fff; background:var(--red); }
.showcase-divider { width:58px; height:58px; display:grid; place-items:center; position:absolute; z-index:3; left:50%; top:50%; color:var(--red); background:#fff; border-radius:50%; box-shadow:0 12px 28px rgba(0,0,0,.22); transform:translate(-50%,-50%); font-size:16px; }

.work { color: var(--ink); background: #09090a; border-top: 1px solid rgba(255,255,255,.07); }
.row-heading { display: grid; grid-template-columns: 1.5fr .5fr; align-items: end; gap: 50px; }
.row-heading > p:last-child { margin: 0 0 4px; color: #a9a9a9; }
.work .eyebrow { color: #42b9aa; }
.gallery { max-width: 1600px; margin: auto; display: grid; grid-template-columns: 1.3fr .7fr .7fr; grid-auto-rows: 330px; gap: 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; background: #292929; border-radius: 18px; }
.gallery-main { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s ease; }
.gallery .focus-left img { object-position: left center; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figure::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.82)); pointer-events: none; }
.gallery .onedrive-gallery-item::after { display:none; }
.gallery figcaption { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; color: white; font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.gallery figcaption span { margin-bottom: 6px; display: block; color: rgba(255,255,255,.65); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.story { display: grid; grid-template-columns: .85fr 1.15fr; gap: 7vw; align-items: center; background: #121213; border-top: 1px solid var(--line); }
.story-media { min-height: 700px; position: relative; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); }
.story-media::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.story-media img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.story-year { position: absolute; z-index: 1; left: 30px; right: 30px; bottom: 28px; padding: 22px 0 0; display: flex; align-items: flex-end; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.35); }
.story-year strong { color: white; font-size: clamp(48px, 6vw, 86px); line-height: .9; letter-spacing: -.07em; }
.story-year span { max-width: 150px; color: rgba(255,255,255,.72); font-size: 11px; line-height: 1.5; text-align: right; text-transform: uppercase; letter-spacing: .08em; }
.story-content { max-width: 780px; }
.story-content > p:not(.eyebrow) { max-width: 730px; margin: 20px 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.story-content .story-lead { color: #d8d5d1; font-size: 18px; }
.story-more summary { display:none; }
.story-more > p { max-width:730px; margin:20px 0; color:var(--muted); font-size:15px; line-height:1.85; }
.story-facts { margin-top: 42px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.story-facts > div { min-height: 120px; padding: 23px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-facts strong { margin-bottom: 8px; color: var(--ink); font-size: 15px; }
.story-facts span { color: var(--muted); font-size: 12px; line-height: 1.5; }

.about { max-width: 1800px; margin: auto; display: grid; grid-template-columns: 1fr .82fr .75fr; gap: 5vw; align-items: center; }
.about-panel > p:not(.eyebrow) { max-width: 620px; margin: 22px 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.text-link { display: inline-flex; gap: 14px; align-items: center; color: var(--red); font-size: 14px; font-weight: 800; }
.text-link span { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--red); border-radius: 50%; transition: .2s; }
.text-link:hover span { color: white; background: var(--red); transform: translateX(3px); }
.about-media { height: 500px; position: relative; overflow: hidden; border-radius: 180px 180px 20px 20px; box-shadow: var(--shadow); }
.about-media::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media > span { position: absolute; z-index: 1; left: 25px; bottom: 24px; color: white; font-size: 12px; line-height: 1.5; text-transform: uppercase; letter-spacing: .1em; }
.about-media > span strong { font-size: 22px; letter-spacing: -.02em; text-transform: none; }
.about-values > div { padding: 28px 0; display: grid; grid-template-columns: 54px 1fr; align-items: start; border-bottom: 1px solid var(--line); }
.about-values strong { color: var(--red); font-size: 13px; font-weight: 800; }
.about-values span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.about-values span b { display: block; color: var(--ink); font-size: 17px; }

.news { background: #151516; border-top: 1px solid var(--line); }
.news > .section-heading, .post-grid { max-width: 1600px; margin-left: auto; margin-right: auto; }
.news-intro { display: flex; flex-direction: column; align-items: flex-start; }
.news-intro > p { margin: 0 0 14px; }
.news-intro > a { color: var(--red); font-size: 12px; font-weight: 800; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.posts-empty { grid-column: 1 / -1; margin: 0; padding: 55px 25px; color: var(--muted); background: #1e1e20; border: 1px dashed #3b3b3e; border-radius: var(--radius); text-align: center; }
.post-card { overflow: hidden; background: #202022; border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius); }
.post-card > img { width: 100%; height: 230px; display: block; object-fit: cover; }
.post-grid.single-post { grid-template-columns: minmax(0, 940px); }
.post-grid.single-post .post-card { display: grid; grid-template-columns: 1.08fr .92fr; }
.post-grid.single-post .post-card > img { height: 100%; min-height: 390px; }
.post-body { padding: 28px; }
.post-meta { margin-bottom: 14px; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.post-meta span:first-child { color: var(--red); }
.post-card h3 { margin: 0 0 12px; font-size: 23px; line-height: 1.2; letter-spacing: -.04em; }
.post-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.post-card details { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.post-card summary { color: var(--red); cursor: pointer; font-size: 12px; font-weight: 800; list-style: none; }
.post-card summary::-webkit-details-marker { display: none; }
.post-card details p { margin-top: 16px; white-space: pre-line; }
.post-external { margin-top: 22px; padding-top: 18px; display: inline-block; color: var(--red); border-top: 1px solid var(--line); font-size: 12px; font-weight: 800; }

.platforms { padding: 85px max(5vw, 30px); display: grid; grid-template-columns:.8fr 1.2fr; gap:7vw; align-items:center; background:#0f0f10; border-top:1px solid var(--line); }
.platform-copy h2 { font-size:clamp(34px,3.4vw,52px); }
.platform-copy > p:last-child { max-width:590px; margin:22px 0 0; color:var(--muted); font-size:15px; line-height:1.8; }
.platform-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.platform-grid > a { min-height:180px; padding:25px; display:grid; grid-template-columns:50px 1fr auto; gap:17px; align-items:start; background:#1d1d1f; border:1px solid var(--line); border-radius:18px; transition:.25s; }
.platform-grid > a:hover { transform:translateY(-5px); border-color:#525256; }
.platform-mark { width:50px; height:50px; display:grid; place-items:center; color:white; border-radius:14px; font-size:20px; font-weight:800; }
.hexora-mark { background:#3159d9; }
.wicchu-mark { background:#167765; }
.platform-grid strong { font-size:18px; }
.platform-grid p { margin:9px 0 0; color:var(--muted); font-size:12px; line-height:1.6; }
.platform-grid b { color:var(--red); }

.contact { margin: 0 max(2vw, 16px); padding: 90px max(5vw, 30px); display: grid; grid-template-columns: 1.05fr .95fr; gap: 8vw; position: relative; overflow: hidden; color: white; background: linear-gradient(135deg, #176da3 0%, #168578 100%); border-radius: 34px; }
.contact::before { content: "M"; position: absolute; right: -20px; bottom: -130px; color: rgba(255,255,255,.06); font-size: 420px; font-weight: 800; line-height: 1; }
.contact > div { position: relative; z-index: 1; }
.contact h2 { max-width: 700px; }
.eyebrow.light { color: #c7fff4; }
.contact > div > p:last-of-type { max-width: 550px; margin: 24px 0 30px; color: rgba(255,255,255,.74); line-height: 1.7; }
.contact-cta { padding: 15px 20px; display: inline-flex; gap: 30px; align-items: center; color: #151515; background: white; border-radius: 99px; font-size: 13px; font-weight: 800; transition: transform .2s; }
.contact-cta:hover { transform: translateY(-3px); }
.contact-cta span { font-size: 18px; }
.contact-links { display: flex; flex-direction: column; }
.contact-links a { padding: 24px 0; display: flex; flex-direction: column; border-bottom: 1px solid rgba(255,255,255,.25); overflow-wrap: anywhere; transition: padding-left .2s; }
.contact-links a:hover { padding-left: 10px; }
.contact-links span { margin-bottom: 7px; color: #c7fff4; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.contact-links strong { font-size: clamp(16px, 1.7vw, 23px); }

.site-footer { margin-top:90px; padding:0 max(5vw,30px) 28px; display:block; color:rgba(255,255,255,.76); background:linear-gradient(135deg,#102f3c,#0c625b); border:0; font-size:12px; }
.footer-cta { max-width:1050px; margin:0 auto; padding:48px 55px; display:flex; align-items:center; justify-content:space-between; gap:45px; position:relative; top:-55px; color:#fff; background:linear-gradient(135deg,var(--blue),var(--red)); border-radius:26px; box-shadow:0 24px 55px rgba(11,67,76,.3); }
.footer-cta .eyebrow { margin-bottom:10px; color:#d0f5ee; }
.footer-cta h2 { font-size:clamp(34px,4vw,54px); }
.footer-cta p:last-child { max-width:570px; margin:16px 0 0; color:rgba(255,255,255,.8); line-height:1.7; }
.footer-cta>a { min-width:max-content; padding:16px 21px; display:flex; gap:22px; align-items:center; color:#0c625b; background:#fff; border-radius:99px; font-weight:800; transition:transform .2s; }
.footer-cta>a:hover { transform:translateY(-3px); }
.footer-cta>a span { font-size:18px; }
.footer-main { max-width:1500px; margin:5px auto 55px; display:grid; grid-template-columns:1.3fr .7fr 1fr 1fr; gap:6vw; }
.footer-brand { color:#fff; }
.footer-about>p { max-width:330px; margin:22px 0; line-height:1.75; }
.footer-social { display:flex; gap:10px; flex-wrap:wrap; }
.footer-social a { padding:9px 12px; color:#fff; border:1px solid rgba(255,255,255,.22); border-radius:99px; font-weight:700; }
.footer-column { display:flex; flex-direction:column; align-items:flex-start; gap:13px; }
.footer-column h3 { margin:0 0 10px; color:#fff; font-size:15px; }
.footer-column a { transition:color .2s,transform .2s; }
.footer-column a:hover { color:#d8f76b; transform:translateX(3px); }
.footer-contact a { overflow-wrap:anywhere; }
.footer-bottom { max-width:1500px; margin:auto; padding-top:25px; display:flex; justify-content:space-between; gap:25px; border-top:1px solid rgba(255,255,255,.18); }
.back-to-top { --scroll-progress:0%; width:46px; height:46px; display:grid; place-items:center; position:fixed; z-index:19; right:23px; bottom:146px; opacity:0; color:var(--ink); background:conic-gradient(var(--red) var(--scroll-progress),color-mix(in srgb,var(--line) 65%,transparent) 0); border:0; border-radius:50%; box-shadow:0 10px 28px rgba(0,0,0,.18); pointer-events:none; transform:translateY(10px); transition:opacity .25s ease,transform .25s ease,color .2s; cursor:pointer; }
.back-to-top::before { content:""; position:absolute; inset:3px; background:color-mix(in srgb,var(--white) 90%,transparent); border-radius:inherit; backdrop-filter:blur(12px); transition:background .2s; }
.back-to-top.is-visible { opacity:1; pointer-events:auto; transform:translateY(0); }
.back-to-top:hover { color:#fff; transform:translateY(-3px); }
.back-to-top:hover::before { background:var(--red); }
.back-to-top span { position:relative; z-index:1; line-height:1; }
.back-to-top svg { width:20px; height:20px; display:block; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.social-float { display: flex; flex-direction: column; gap: 10px; position: fixed; z-index: 19; right: 20px; bottom: 20px; }
.social-button { width: 52px; height: 52px; display: grid; place-items: center; position: relative; color: white; border: 3px solid rgba(255,255,255,.9); border-radius: 50%; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .2s; }
.social-button:hover { transform: translateX(-4px) scale(1.04); }
.social-button svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-button .social-dot { fill: currentColor; stroke: none; }
.social-button.instagram { background: linear-gradient(145deg, #833ab4, #e1306c 55%, #f77737); }
.social-button.whatsapp { background: #20a95a; }
.social-label { padding: 8px 11px; position: absolute; right: 61px; color: white; background: #262628; border: 1px solid #3b3b3e; border-radius: 8px; opacity: 0; pointer-events: none; transform: translateX(6px); transition: .2s; font-size: 11px; font-weight: 700; white-space: nowrap; }
.social-button:hover .social-label, .social-button:focus-visible .social-label { opacity: 1; transform: translateX(0); }

.theme-toggle { min-width: 86px; padding: 8px 11px; display: inline-flex; gap: 7px; align-items: center; justify-content: center; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 99px; font: 700 11px "Manrope", sans-serif; cursor: pointer; }
.theme-icon { font-size: 15px; line-height: 1; }
.language-switch { padding:3px; display:flex; gap:2px; border:1px solid var(--line); border-radius:99px; }
.language-switch button { width:30px; height:28px; padding:0; color:var(--muted); background:transparent; border:0; border-radius:99px; cursor:pointer; font:800 9px "Manrope",sans-serif; }
.language-switch button[aria-pressed="true"] { color:white; background:var(--red); box-shadow:0 4px 12px rgba(22,133,120,.2); }

html[data-theme="light"] {
  --ink: #14221e;
  --muted: #62736c;
  --line: #d9e5df;
  --soft: #eef6f2;
  --white: #f9fcfa;
  --shadow: 0 24px 70px rgba(29, 70, 58, .12);
  color-scheme: light;
}
html[data-theme="light"] .site-header { background: rgba(249,252,250,.9); border-bottom-color: rgba(20,34,30,.09); }
html[data-theme="light"] .button.secondary { border-color: #9eaea7; }
html[data-theme="light"] .services { border-top-color: #dce9e3; }
html[data-theme="light"] .service-card,
html[data-theme="light"] .post-card { background: #fff; border-color: #dfe9e4; box-shadow: 0 10px 35px rgba(29,70,58,.08); }
html[data-theme="light"] .service-card:hover { border-color: #b9d4ca; box-shadow: 0 24px 55px rgba(29,70,58,.15); }
html[data-theme="light"] .service-card { background:transparent; border:0; box-shadow:none; }
html[data-theme="light"] .service-card:hover { box-shadow:none; }
html[data-theme="light"] .service-content { color:#fff; background:transparent; border:0; box-shadow:none; }
html[data-theme="light"] .service-list { color: #50655c; }
html[data-theme="light"] .work { background: #e7f2f0; border-top-color: #d4e7e1; }
html[data-theme="light"] .row-heading > p:last-child { color: var(--muted); }
html[data-theme="light"] .story { background: #f7fbf9; }
html[data-theme="light"] .story-content .story-lead { color: #314b42; }
html[data-theme="light"] .news { background: #edf5f7; }
html[data-theme="light"] .posts-empty { background: #fff; border-color: #bcd4cc; }
html[data-theme="light"] .platforms { background: #f7fbfa; }
html[data-theme="light"] .platform-grid > a { background: #fff; box-shadow: 0 8px 28px rgba(29,70,58,.07); }
html[data-theme="light"] .platform-grid > a:hover { border-color: #9bc9bb; }
html[data-theme="light"] .site-footer { color:rgba(255,255,255,.76); background:linear-gradient(135deg,#102f3c,#0c625b); }
html[data-theme="light"] .social-label { background: #17332d; border-color: #2e5149; }
html[data-theme="light"] nav.open { background: #f9fcfa; box-shadow: 0 15px 30px rgba(29,70,58,.15); }

body, .site-header, .services, .service-card, .work, .story, .news, .post-card, .platforms, .platform-grid > a, footer { transition: background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease; }

/* Progressive motion: classes are added by JavaScript only when supported. */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.reveal.reveal-left { transform: translateX(-32px); }
.reveal.reveal-right { transform: translateX(32px); }
.reveal.is-visible { opacity: 1; transform: translate(0, 0); }
.story-year strong { transform-origin: left bottom; }
.story-year strong.year-animate { animation: year-in .8s cubic-bezier(.2,.8,.2,1) both; }
.post-card details[open] > p { animation: details-in .35s ease both; }

@keyframes year-in {
  from { opacity: 0; transform: translateY(20px) scale(.88); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-background-in {
  from { opacity: .35; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes details-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1050px) {
  .hero-preview { width:200px; right:3vw; }
  .trust-list { width:94vw; }
  .about { grid-template-columns: 1fr 1fr; }
  .about-values { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .footer-main { grid-template-columns:1fr 1fr; }
}

@media (max-width: 1180px) {
  .site-header { height: 74px; padding: 0 5vw; }
  .menu-toggle { display: block; border: 0; background: transparent; color: var(--ink); font: 700 14px "Manrope", sans-serif; }
  nav { display: none; position: absolute; top: 74px; left: 0; right: 0; max-height:calc(100vh - 74px); overflow-y:auto; padding: 25px 5vw; align-items: stretch; flex-direction: column; background: #151516; border-bottom: 1px solid var(--line); box-shadow: 0 15px 30px rgba(0,0,0,.35); }
  nav.open { display: flex; }
  .language-switch { width:max-content; }
  .nav-cta { text-align: center; }
}

@media (max-width: 860px) {
  .site-header { height: 74px; padding: 0 5vw; }
  .menu-toggle { display: block; border: 0; background: transparent; color: var(--ink); font: 700 14px "Manrope", sans-serif; }
  nav { display: none; position: absolute; top: 74px; left: 0; right: 0; padding: 25px 5vw; align-items: stretch; flex-direction: column; background: #151516; border-bottom: 1px solid var(--line); box-shadow: 0 15px 30px rgba(0,0,0,.35); }
  nav.open { display: flex; }
  .nav-cta { text-align: center; }
  .hero { min-height:auto; padding:72px 5vw 24px; display:block; }
  .hero-copy { margin:0 auto; }
  .hero-preview { width:min(320px,100%); margin:42px auto 18px; position:relative; right:auto; bottom:auto; transform:none; }
  .hero-preview img { height:150px; }
  .trust-list { width:100%; margin:0 auto; position:relative; left:auto; bottom:auto; transform:none; grid-template-columns:1fr 1fr; }
  .trust-list li:nth-child(3) { border-left:0; border-top:1px solid #dde8e1; }
  .trust-list li:nth-child(4) { border-top:1px solid #dde8e1; }
  .services > .section-heading { margin-bottom:34px; }
  .service-carousel { margin-right:-5vw; padding-right:5vw; scrollbar-width:none; }
  .service-carousel::-webkit-scrollbar { display:none; }
  .service-card, .service-card.is-active { width:min(78vw,440px); height:450px; }
  .service-pagination { margin:20px auto 0; display:flex; justify-content:center; gap:8px; }
  .service-pagination button { width:8px; height:8px; padding:0; background:color-mix(in srgb,var(--muted) 45%,transparent); border:0; border-radius:99px; cursor:pointer; transition:width .3s ease,background .3s ease; }
  .service-pagination button.is-active { width:30px; background:var(--red); }
  .process { grid-template-columns:1fr; gap:45px; padding:90px 5vw; }
  .process-heading { max-width:720px; position:static; }
  .showcase { padding:90px 5vw; }
  .showcase-heading { grid-template-columns:1fr; gap:35px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 300px; }
  .gallery-main { grid-row: span 1; grid-column: span 2; }
  .gallery-wide { grid-column: span 2; }
  .row-heading { grid-template-columns: 1fr; gap: 15px; }
  .story, .about, .contact { grid-template-columns: 1fr; }
  .platforms { grid-template-columns:1fr; }
  .story-media { min-height: 560px; }
  .about-media { height: 450px; }
  .services, .work, .story, .about, .news { padding: 90px 5vw; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .contact { padding: 75px 6vw; }
  .footer-cta { padding:40px; align-items:flex-start; flex-direction:column; }
}

@media (max-width: 560px) {
  h1 { font-size: 46px; }
  h2 { font-size: 38px; }
  .brand strong { font-size: 18px; }
  .brand small { font-size: 8px; }
  .hero { padding-top:58px; }
  .hero-badge { font-size:9px; }
  .hero-text { font-size:15px; }
  .hero-preview { width:270px; margin:34px auto 18px 0; }
  .trust-list li { min-height:102px; padding:16px 12px; align-items:flex-start; flex-direction:column; gap:10px; font-size:10px; }
  .trust-list li::before { margin:0; }
  .services { padding:68px 20px 76px; border-radius:26px 26px 0 0; }
  .services h2 { font-size:clamp(34px,10vw,43px); line-height:1.02; }
  .services .section-heading > p:last-child { margin-top:18px; font-size:15px; line-height:1.58; }
  .service-controls { margin-top:22px; }
  .service-controls>span { display:block; flex:1; font-size:10px; line-height:1.35; }
  .service-controls button { width:46px; height:46px; flex:none; }
  .service-carousel { width:calc(100% + 20px); margin-right:-20px; padding:4px 20px 8px 0; }
  .service-card, .service-card.is-active { width:min(82vw,390px); height:410px; border-radius:20px; }
  .service-content { padding:22px 72px 20px 20px; }
  .service-card h3 { margin-bottom:8px; font-size:clamp(24px,7vw,29px); }
  .service-card p, .service-card:not(.is-active) p { max-height:58px; opacity:1; line-height:1.48; -webkit-line-clamp:3; }
  .service-number { margin-bottom:6px; font-size:18px; }
  .service-link { width:50px; height:50px; top:18px; right:18px; bottom:auto; }
  .service-pagination { margin-top:16px; }
  .process { padding:72px 20px 78px; gap:34px; }
  .process-heading>p:not(.eyebrow) { margin:18px 0 22px; font-size:14px; line-height:1.65; }
  .process .text-link { width:max-content; max-width:100%; padding:10px 10px 10px 16px; gap:12px; background:var(--soft); border:1px solid var(--line); border-radius:99px; font-size:12px; }
  .process .text-link span { width:34px; height:34px; flex:none; background:var(--white); }
  .process-list { gap:12px; }
  .process-list article { min-height:210px; padding:12px; grid-template-columns:108px minmax(0,1fr); gap:14px; align-items:stretch; border-radius:19px; }
  .process-list article:hover { transform:none; }
  .process-list img { height:100%; min-height:186px; border-radius:14px; }
  .process-list article>div { align-self:center; }
  .process-list span { width:30px; height:30px; font-size:10px; }
  .process-list h3 { margin:9px 0 8px; font-size:clamp(19px,5.4vw,23px); line-height:1.12; }
  .process-list p { font-size:12px; line-height:1.55; }
  .showcase { padding:75px 5vw; }
  .showcase-stats { gap:25px; }
  .showcase-stats div { min-width:0; }
  .showcase-visual { height:390px; border-radius:18px; }
  .showcase-visual figcaption { top:14px; padding:8px 11px; font-size:9px; }
  .showcase-visual figure:first-child figcaption { left:12px; }
  .showcase-visual figure:nth-child(2) figcaption { right:12px; }
  .showcase-divider { width:46px; height:46px; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 290px; }
  .gallery-main, .gallery-wide { grid-column: span 1; }
  .story { padding:72px 20px 64px; gap:34px; }
  .story-media { min-height:340px; border-radius:20px; }
  .story-media img { object-position:left center; }
  .story-year { left:18px; right:18px; bottom:18px; padding-top:16px; }
  .story-year strong { font-size:52px; }
  .story-year span { max-width:125px; font-size:9px; }
  .story-content h2 { font-size:clamp(36px,10.5vw,44px); }
  .story-content > p:not(.eyebrow) { margin:16px 0; font-size:14px; line-height:1.7; }
  .story-content .story-lead { font-size:15px; }
  .story-more { margin-top:18px; padding:0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
  .story-more summary { padding:15px 0; display:flex; align-items:center; justify-content:space-between; color:var(--red); cursor:pointer; font-size:12px; font-weight:800; list-style:none; }
  .story-more summary::-webkit-details-marker { display:none; }
  .story-more summary span { width:28px; height:28px; display:grid; place-items:center; flex:none; border:1px solid var(--red); border-radius:50%; transition:transform .25s; }
  .story-more[open] summary span { transform:rotate(45deg); }
  .story-more > p { margin:0 0 16px; font-size:13px; line-height:1.7; }
  .story-facts { margin-top:26px; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; border:0; }
  .story-facts > div { min-height:112px; padding:15px; border:1px solid var(--line); border-radius:15px; }
  .story-facts strong { margin-bottom:6px; font-size:13px; }
  .story-facts span { font-size:11px; }
  .about { padding:64px 20px 76px; gap:30px; }
  .about-panel h2 { font-size:clamp(36px,10.5vw,44px); }
  .about-panel > p:not(.eyebrow) { margin:16px 0; font-size:14px; line-height:1.7; }
  .about-panel .text-link { margin-top:4px; padding:10px 10px 10px 15px; background:var(--soft); border:1px solid var(--line); border-radius:99px; font-size:12px; }
  .post-grid { grid-template-columns: 1fr; }
  .post-grid.single-post .post-card { grid-template-columns:1fr; }
  .post-grid.single-post .post-card > img { min-height:0; height:260px; }
  .platform-grid { grid-template-columns:1fr; }
  .about-media { height:310px; border-radius:100px 100px 18px 18px; }
  .about-values { display:block; }
  .about-values > div { padding:18px 0; grid-template-columns:42px 1fr; }
  .about-values strong { font-size:11px; }
  .about-values span { font-size:13px; line-height:1.45; }
  .about-values span b { margin-bottom:3px; font-size:15px; }
  .contact { margin: 0; border-radius: 0; }
  .site-footer { margin-top:70px; padding-left:5vw; padding-right:5vw; }
  .social-float { right:12px; bottom:12px; flex-direction:row; gap:6px; }
  .back-to-top { width:42px; height:42px; right:14px; bottom:68px; }
  .social-button { width:46px; height:46px; border-width:2px; }
  .social-button svg { width:22px; height:22px; }
  .footer-cta { padding:32px 24px; top:-42px; border-radius:20px; }
  .footer-cta>a { min-width:0; }
  .footer-main { grid-template-columns:1fr; gap:38px; margin-bottom:38px; }
  .footer-bottom { flex-direction:column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-copy, .hero-background, .story-year strong.year-animate, .post-card details[open] > p { animation: none !important; }
}
