/* =============================================
   INMOTION — Design System
   Natural · Minimal · Editorial
============================================= */

:root {
    --bg:         #F7F5F0;
    --bg-warm:    #F0EDE6;
    --bg-dark:    #0D0D0B;
    --text:       #111110;
    --text-mid:   #5C5C58;
    --text-muted: #9A9A95;
    --accent:     #1F5441;
    --accent-mid: #265c4b;
    --accent-light: #ECF2EE;
    --border:     rgba(17,17,16,0.10);
    --border-dark: rgba(255,255,255,0.09);

    --font-display: 'Syne', sans-serif;
    --font-body:    'Rubik', sans-serif;

    --pad: 6vw;
    --r-sm: 6px;
    --r-md: 14px;
    --r-lg: 24px;
    --r-xl: 40px;
}

/* ---- Reset ---- */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* =============================================
   PRELOADER
============================================= */
#preloader {
    position: fixed; inset: 0;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}

/* ── Logo mark — enters as ghost, exits upward ── */
.preloader-mark {
    position: absolute;
    width: min(58vmin, 380px);
    filter: invert(1);
    opacity: 0;
    transform: translateY(6%) scale(0.92);
    transition: opacity 0.9s ease, transform 1.1s ease;
    pointer-events: none;
    will-change: transform, opacity;
}
.preloader-mark--visible {
    opacity: 0.10;
    transform: translateY(0) scale(1);
}
.preloader-mark--rising {
    opacity: 0;
    transform: translateY(-22%) scale(1.08);
}

.loader-content {
    position: relative; width: 100%; height: 160px;
    display: flex; align-items: center; justify-content: center;
    z-index: 1;
}
.word {
    font-family: 'Fraunces', serif;
    font-optical-sizing: auto;
    font-size: 4.5rem; font-weight: 700;
    color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.45);
    position: absolute; opacity: 0; pointer-events: none;
    letter-spacing: -0.01em;
}
.word.active {
    opacity: 1; animation: wordPop 0.65s forwards;
    color: #fff; -webkit-text-stroke: 0;
}
@keyframes wordPop {
    0%   { transform: scale(0.6) translateY(12px); opacity: 0; }
    55%  { transform: scale(1.06); opacity: 1; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}
.final-reveal {
    font-family: 'Fraunces', serif;
    font-optical-sizing: auto;
    font-size: 5.5rem; font-weight: 800;
    color: #fff; opacity: 0; transform: scale(1.35);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: -0.02em;
}
.final-reveal.show { opacity: 1; transform: scale(1); }
.final-reveal .dot { color: var(--accent-light); font-style: italic; }
.preloader-finish { transform: translateY(-100%); }

/* =============================================
   BREATH WIDGET
============================================= */
.breath-btn {
    position: fixed; bottom: 28px; left: 28px;
    width: 52px; height: 52px;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; cursor: pointer; z-index: 900;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.25s, box-shadow 0.25s;
}
.breath-btn:hover { transform: scale(1.08); box-shadow: 0 8px 28px rgba(0,0,0,0.13); }
.breath-overlay {
    position: fixed; inset: 0; background: var(--accent);
    z-index: 2000; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s; color: #fff;
}
.breath-overlay.active { opacity: 1; pointer-events: all; }
.breath-circle {
    width: 90px; height: 90px; background: rgba(255,255,255,0.25);
    border: 2px solid rgba(255,255,255,0.5); border-radius: 50%;
    transition: transform 4s ease-in-out;
}
.breath-text { margin-top: 32px; font-size: 1.3rem; font-family: var(--font-display); letter-spacing: 0.04em; }
.close-breath { position: absolute; top: 28px; right: 28px; font-size: 2rem; cursor: pointer; opacity: 0.7; transition: opacity 0.2s; }
.close-breath:hover { opacity: 1; }

/* =============================================
   NAV
============================================= */
nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    display: flex; justify-content: space-between; align-items: center;
    padding: 28px var(--pad);
    mix-blend-mode: difference; color: #fff;
    transition: padding 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}
nav.scrolled {
    padding: 16px var(--pad);
    background: rgba(247,245,240,0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    mix-blend-mode: normal;
    box-shadow: 0 1px 0 var(--border);
}
nav.scrolled .logo              { color: var(--text); }
nav.scrolled .hamburger-icon span { background: var(--text); }

.logo {
    font-family: var(--font-display); font-weight: 800; font-size: 1.6rem;
    text-decoration: none; color: #fff; letter-spacing: -0.02em;
}
.menu-container  { position: relative; cursor: pointer; }
.hamburger-icon  { display: flex; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger-icon span {
    display: block; width: 26px; height: 2px;
    background: #fff; border-radius: 2px;
    transition: width 0.25s, background 0.25s;
}
.menu-container:hover .hamburger-icon span:nth-child(1) { width: 14px; }
.menu-container:hover .hamburger-icon span:nth-child(3) { width: 18px; }

.menu-dropdown {
    position: absolute; top: calc(100% + 12px); left: 0;
    background: var(--text); color: #fff;
    padding: 28px 36px 28px 28px;
    border-radius: var(--r-md);
    box-shadow: 0 16px 40px rgba(0,0,0,0.22);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    min-width: 280px;
}
.menu-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.menu-dropdown ul  { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.menu-dropdown li  { border-bottom: none; }

/* ── Animated menu item (MenuVertical style) ── */
.menu-item {
    display: flex; align-items: center;
    gap: 10px; direction: rtl;
    overflow: hidden; cursor: pointer;
}
.menu-arrow {
    display: inline-flex; align-items: center; flex-shrink: 0;
    font-size: 1.4rem; line-height: 1;
    color: var(--accent-light);
    transform: translateX(140%); opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}
.menu-item a {
    display: inline-block; text-decoration: none;
    color: rgba(255,255,255,0.75);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 600; padding: 6px 0;
    transform: translateX(28px);
    transition: transform 0.3s ease-out, color 0.3s ease-out;
}
.menu-item:hover .menu-arrow {
    transform: translateX(0); opacity: 1;
}
.menu-item:hover a {
    transform: translateX(0) skewX(3deg);
    color: #fff;
}

/* =============================================
   HERO — Scroll Expand Media
============================================= */
.hero {
    --ep: 0;
    position: relative;
    min-height: 100dvh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    background: var(--bg-dark);
}

/* Fading background photo */
/* Beams canvas background */
.hero-beams {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%;
    filter: blur(15px);
}

/* Expanding photo card */
.hero-expand-wrap {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: calc(300px + var(--ep) * (100vw - 300px));
    height: calc(400px + var(--ep) * (100dvh - 400px));
    border-radius: calc(18px * (1 - var(--ep)));
    overflow: hidden; z-index: 1;
    box-shadow: 0 20px 80px rgba(0,0,0, calc(0.5 * (1 - var(--ep))));
}
.hero-expand-img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center 20%;
    display: block;
}
.hero-expand-veil {
    position: absolute; inset: 0;
    background: rgba(0,0,0, calc(0.3 - var(--ep) * 0.2));
}

/* Split title */
.hero-title-split {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; align-items: center;
    pointer-events: none;
}
.hero-word-a, .hero-word-b {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(3.5rem, 10vw, 11rem);
    color: #fff; text-transform: uppercase;
    letter-spacing: -0.02em; line-height: 0.86; margin: 0;
    mix-blend-mode: difference;
    will-change: transform;
    direction: ltr; unicode-bidi: embed; text-align: center;
}
.hero-word-a { transform: translateX(calc(var(--ep) * -55vw)); }
.hero-word-b { transform: translateX(calc(var(--ep) * 55vw)); }

/* Scroll cue */
.hero-scroll-cue {
    position: absolute; bottom: 36px; left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5); font-size: 1.5rem;
    z-index: 3;
    opacity: calc(1 - var(--ep) * 5);
    animation: heroCueBounce 2s ease-in-out infinite;
}
@keyframes heroCueBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* Post-expand hero details */
.hero-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 0 var(--pad) 9vh;
    z-index: 3;
    opacity: calc((var(--ep) - 0.75) * 4);
    pointer-events: none;
    color: #fff;
}
.hero--expanded .hero-content { pointer-events: all; }
.hero--expanded .hero-expand-wrap {
    width: 100vw; height: 100dvh;
    border-radius: 0;
    box-shadow: none;
}
.hero-details {
    display: flex; align-items: flex-end; gap: 48px;
    flex-wrap: wrap; direction: rtl;
}
.hero-location {
    font-size: 0.85rem; font-weight: 600; letter-spacing: 0.07em;
    text-transform: uppercase; color: rgba(255,255,255,0.55);
    display: block; margin-bottom: 10px;
}
.hero-desc {
    font-size: 1.15rem; color: rgba(255,255,255,0.72);
    line-height: 1.65; max-width: 320px;
}
.hero-cta {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 20px;
    background: #fff; color: var(--text);
    font-family: var(--font-body); font-weight: 500; font-size: 0.875rem;
    border-radius: 8px; text-decoration: none;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
    transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
    white-space: nowrap; flex-shrink: 0;
    outline-offset: 2px;
}
.hero-cta:hover { background: rgba(255,255,255,0.88); }

/* =============================================
   SERVICES
============================================= */
.work-section {
    padding: 100px var(--pad) 160px;
    background: var(--bg);
}
.section-title {
    margin-bottom: 80px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 18px;
    display: flex; align-items: baseline; gap: 20px;
}
.section-title h3 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800; letter-spacing: -0.02em;
}
.products-container { display: flex; flex-direction: column; gap: 100px; }

.product-row { display: flex; align-items: center; gap: 64px; }
.product-row.reverse { flex-direction: row-reverse; }

.product-visual {
    flex: 1.2;
    height: 480px;
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
    background: var(--bg-warm);
    transition: transform 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.product-row:hover .product-visual { transform: scale(1.018); }
.product-visual video, .product-visual img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}

.product-info {
    flex: 0.8;
    display: flex; flex-direction: column;
    justify-content: center; align-items: flex-start;
    gap: 0;
}
.product-tag {
    font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
    padding: 5px 12px; border-radius: 50px;
    background: var(--bg-warm); color: var(--text-mid);
    font-weight: 600; margin-bottom: 18px; display: inline-block;
    border: 1px solid var(--border);
}
.product-tag.highlight { background: var(--accent); color: #fff; border-color: var(--accent); }

.product-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 2.8vw, 2.8rem);
    line-height: 1.05; letter-spacing: -0.02em;
    margin-bottom: 16px; color: var(--text); font-weight: 800;
}
.product-desc {
    font-size: 1.05rem; line-height: 1.72;
    color: var(--text-mid); margin-bottom: 26px; max-width: 400px;
}
.product-features {
    list-style: none; margin-bottom: 28px;
}
.product-features li {
    font-size: 0.95rem; color: var(--text); font-weight: 500;
    padding: 6px 0; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 8px;
}
.product-features li:last-child { border-bottom: none; }

.product-meta {
    display: flex; flex-direction: column; gap: 12px;
    width: 100%; max-width: 280px;
}
.price-label {
    font-size: 0.82rem; color: var(--text-muted);
    font-weight: 500; letter-spacing: 0.02em;
}
.product-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 20px;
    background: transparent;
    border: 1.5px solid var(--text);
    color: var(--text); text-decoration: none;
    font-weight: 500; font-size: 0.875rem;
    border-radius: 8px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    text-align: center; white-space: nowrap;
    outline-offset: 2px;
}
.product-btn:hover {
    background: var(--text); color: var(--bg);
}
.product-btn.fill {
    background: var(--text); color: var(--bg);
    border-color: var(--text);
}
.product-btn.fill:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.product-btn.whatsapp {
    background: #22C55E; border-color: #22C55E; color: #fff;
}
.product-btn.whatsapp:hover { background: #16a34a; border-color: #16a34a; }

/* =============================================
   TESTIMONIALS
============================================= */
/* =============================================
   TESTIMONIAL SLIDER
============================================= */
.tslider-section {
    padding: 110px var(--pad) 100px;
    background: var(--bg-dark);
    color: #fff;
}
.tslider-inner { max-width: 1200px; margin: 0 auto; }

/* Header row */
.tslider-top {
    display: flex; align-items: flex-end;
    justify-content: space-between; gap: 24px;
    margin-bottom: 48px;
}
.tslider-badge {
    display: inline-block;
    background: rgba(31,84,65,0.18);
    color: var(--accent);
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    padding: 5px 14px; border-radius: 100px;
    border: 1px solid rgba(31,84,65,0.35);
    margin-bottom: 16px;
}
.tslider-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800; letter-spacing: -0.025em;
    color: #fff; margin: 0 0 8px;
}
.tslider-sub {
    font-size: 0.97rem; color: rgba(255,255,255,0.38);
    margin: 0;
}

/* Nav buttons */
.tslider-nav { display: flex; gap: 10px; flex-shrink: 0; padding-bottom: 4px; }
.tslider-btn {
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.8); font-size: 1.4rem; line-height: 1;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.tslider-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.28); color: #fff; }
.tslider-btn:disabled { opacity: 0.28; cursor: not-allowed; }

/* Track */
.tslider-wrap { overflow: hidden; }
.tslider-track {
    display: flex; direction: ltr;
    gap: 20px;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    user-select: none;
}

/* Cards */
.tslider-card {
    direction: rtl;
    flex: 0 0 calc((100% - 40px) / 3);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 32px 28px 26px;
    position: relative; overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    cursor: grab;
}
.tslider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 64px rgba(0,0,0,0.28);
    border-color: rgba(255,255,255,0.14);
}
.tslider-card:active { cursor: grabbing; }

/* Decorative quote */
.tslider-quote {
    position: absolute; top: -8px; right: 22px;
    font-family: Georgia, serif; font-size: 7rem; line-height: 1;
    color: var(--accent); opacity: 0.13;
    pointer-events: none; user-select: none;
}
.tslider-stars {
    color: #F0B429; font-size: 0.82rem;
    letter-spacing: 3px; margin-bottom: 14px;
    position: relative; z-index: 1;
}
.tslider-text {
    font-size: 0.96rem; line-height: 1.8;
    color: rgba(255,255,255,0.78);
    margin: 0 0 22px;
    position: relative; z-index: 1;
}
.tslider-divider {
    height: 1px; background: rgba(255,255,255,0.08);
    margin-bottom: 20px;
}
.tslider-person {
    display: flex; align-items: center; gap: 12px;
}
.tslider-avatar-wrap { position: relative; flex-shrink: 0; }
.tslider-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--av, var(--accent-mid)); color: #fff;
    font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
    display: flex; align-items: center; justify-content: center;
}
.tslider-pulse {
    position: absolute; inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: 0;
    animation: tPulse 2.8s ease-out infinite;
}
@keyframes tPulse {
    0%   { transform: scale(0.85); opacity: 0.65; }
    70%  { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}
.tslider-info { display: flex; flex-direction: column; gap: 3px; }
.tslider-info strong { color: #fff; font-size: 0.88rem; font-weight: 700; }
.tslider-info span   { color: rgba(255,255,255,0.32); font-size: 0.76rem; }

/* Dot indicators */
.tslider-dots {
    display: flex; justify-content: center; direction: ltr;
    gap: 8px; margin-top: 36px;
}
.tslider-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: none; cursor: pointer;
    transition: background 0.25s, transform 0.25s;
}
.tslider-dot.active {
    background: var(--accent);
    transform: scale(1.5);
}

/* =============================================
   ABOUT
============================================= */
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 100px; padding: 140px var(--pad);
    align-items: start; background: var(--bg);
}
.about-text-sticky { position: sticky; top: 110px; }
.about-text-sticky h2 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 0.92; letter-spacing: -0.03em;
    margin-bottom: 36px; font-weight: 800;
}
.about-text-sticky p {
    font-size: 1.07rem; line-height: 1.82;
    color: var(--text-mid); max-width: 440px;
    margin-bottom: 20px;
}
.about-text-sticky p:last-child { margin-bottom: 0; }

.about-video-scroll {
    height: 72vh; border-radius: var(--r-xl);
    overflow: hidden; margin-top: 80px;
    background: var(--bg-warm);
}
.about-video-scroll video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Principles */
.principles-timeline {
    margin-top: 44px; padding-right: 16px;
    border-right: 1.5px solid rgba(31,84,65,0.2);
    display: flex; flex-direction: column; gap: 16px;
}
.p-item { display: flex; align-items: center; position: relative; cursor: default; }
.p-dot {
    width: 10px; height: 10px; background: var(--accent);
    border-radius: 50%; position: absolute; right: -21px;
    border: 2px solid var(--bg);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s;
}
.p-item:hover .p-dot { transform: scale(1.6); background: transparent; border-color: var(--accent); }
.p-text {
    font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
    color: var(--text); padding-right: 12px; opacity: 0.7;
    transition: opacity 0.25s, color 0.25s;
}
.p-item:hover .p-text { opacity: 1; color: var(--accent); }

/* =============================================
   CREDENTIALS
============================================= */
.credentials-section {
    padding: 120px var(--pad);
    background: var(--bg-dark); color: #fff;
}
.credentials-inner { max-width: 1180px; margin: 0 auto; }
.credentials-header { margin-bottom: 72px; }
.credentials-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    font-weight: 800; letter-spacing: -0.025em;
    color: #fff; margin-bottom: 16px;
}
.credentials-header p {
    font-size: 1.07rem; color: rgba(255,255,255,0.45);
    max-width: 480px; line-height: 1.65;
}

/* Disciplines — card grid */
.disc-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-dark);
    margin-bottom: 90px;
    border: 1px solid var(--border-dark);
    border-radius: var(--r-md);
    overflow: hidden;
}
.disc-card {
    background: var(--bg-dark);
    padding: 26px 22px 22px;
    position: relative;
    min-height: 130px;
    display: flex; flex-direction: column; justify-content: flex-end;
    overflow: hidden;
    transition: background 0.25s;
    cursor: default;
}
.disc-card:hover { background: rgba(255,255,255,0.03); }

/* National achievement cards */
.disc-card--national {
    border-top: 2px solid var(--accent);
}
.disc-card--national .disc-stat { opacity: 0.35; }
.disc-card--national .disc-card-sub { color: var(--accent); opacity: 0.8; }

/* Bridge sentence after cards */
.disc-bridge {
    margin-top: 32px; margin-bottom: 0;
    font-size: 1rem; line-height: 1.75;
    color: rgba(255,255,255,0.45);
    text-align: center;
    font-style: italic;
    padding: 0 10%;
}
.disc-stat {
    position: absolute; top: 14px; right: 16px;
    font-family: var(--font-display);
    font-size: 3.2rem; font-weight: 800;
    color: var(--accent); opacity: 0.22;
    line-height: 1; letter-spacing: -0.04em;
    user-select: none;
}
.disc-card-sub {
    font-size: 0.65rem; letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 5px; display: block;
}
.disc-card-name {
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    font-weight: 700; color: #fff;
    letter-spacing: -0.01em;
    position: relative; z-index: 1;
    line-height: 1.25;
}

.certs-area h3 {
    font-family: var(--font-display); font-size: 1.7rem;
    color: #fff; margin-bottom: 34px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-dark);
    letter-spacing: -0.01em;
}
.certs-row { display: flex; gap: 24px; flex-wrap: wrap; }
.cert-card {
    flex: 1; min-width: 260px; max-width: 480px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-dark);
    border-radius: var(--r-md); overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}
.cert-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.18); }
.cert-embed-wrap { width: 100%; height: 300px; overflow: hidden; }
.cert-embed { width: 100%; height: 100%; border: none; display: block; }
.cert-placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    background: rgba(255,255,255,0.02); color: rgba(255,255,255,0.25);
}
.cert-placeholder span { font-size: 2.5rem; }
.cert-placeholder p   { font-size: 0.9rem; font-family: var(--font-display); letter-spacing: 0.04em; }
.cert-meta { padding: 18px 22px; display: flex; flex-direction: column; gap: 5px; }
.cert-meta strong { font-family: var(--font-display); font-size: 0.95rem; color: #fff; }
.cert-meta span   { font-size: 0.8rem; color: rgba(255,255,255,0.35); }

/* =============================================
   PHILOSOPHY
============================================= */
.philosophy-section {
    padding: 140px var(--pad);
    background: var(--bg);
}
.section-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800; letter-spacing: -0.025em;
    margin-bottom: 80px; color: var(--text);
}
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0;
    border-top: 1px solid var(--border);
}
.philosophy-item {
    padding: 36px 28px 36px 0;
    border-left: 1px solid var(--border);
    padding-left: 28px;
    transition: background 0.25s;
}
.philosophy-item:hover { background: var(--bg-warm); }
.philosophy-item:nth-child(even) { margin-top: 60px; }
.p-num {
    font-family: var(--font-display); font-size: 1rem;
    color: var(--accent); margin-bottom: 14px;
    display: block; letter-spacing: 0.04em;
    font-weight: 700;
}
.philosophy-item h3 { font-size: 1.3rem; margin-bottom: 10px; font-weight: 700; }
.philosophy-item p  { color: var(--text-mid); font-size: 0.97rem; line-height: 1.65; }

/* =============================================
   FAQ
============================================= */
.faq-section {
    max-width: 720px; margin: 0 auto;
    padding: 0 var(--pad) 120px;
}
.faq-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800; letter-spacing: -0.025em;
    text-align: center; margin-bottom: 56px;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
    font-size: 1.08rem; font-weight: 700;
    cursor: pointer; display: flex;
    justify-content: space-between; align-items: center;
    padding: 22px 0; gap: 16px;
    transition: color 0.2s;
    user-select: none;
}
.faq-question:hover { color: var(--accent); }
.faq-question span {
    font-family: var(--font-display); font-size: 1.4rem;
    font-weight: 400; color: var(--text-muted);
    transition: transform 0.3s, color 0.2s;
    flex-shrink: 0;
}
.faq-item.active .faq-question span { transform: rotate(45deg); color: var(--accent); }
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    color: var(--text-mid);
}
.faq-answer p { font-size: 1rem; line-height: 1.75; padding-bottom: 20px; }
.faq-item.active .faq-answer { max-height: 220px; }

/* =============================================
   FOOTER
============================================= */
footer {
    background: var(--bg-dark); color: var(--bg);
    padding: 90px var(--pad) 38px;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    position: relative;
}
.footer-content {}
footer h2 {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 9vw, 11rem);
    line-height: 0.88; text-transform: uppercase;
    letter-spacing: -0.03em; margin-bottom: 60px;
}
.footer-bottom {
    display: flex; justify-content: space-between;
    align-items: flex-end; flex-wrap: wrap; gap: 28px;
}
.cta-button {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 20px;
    background: var(--bg); color: var(--text);
    border-radius: 8px; font-size: 0.875rem;
    font-weight: 500; text-decoration: none;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
    transition: background-color 0.15s ease, opacity 0.15s ease;
    white-space: nowrap; outline-offset: 2px;
}
.cta-button:hover { background: rgba(247,245,240,0.88); }

.socials { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.socials a {
    color: rgba(255,255,255,0.55); text-decoration: none;
    font-size: 0.92rem; font-weight: 500;
    transition: color 0.2s;
}
.socials a:hover { color: #fff; }
.copyright { margin-top: 70px; font-size: 0.82rem; opacity: 0.28; text-align: center; letter-spacing: 0.04em; }

/* Newsletter inline */
.footer-newsletter {
    display: flex; align-items: center;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px; overflow: hidden;
    height: 36px;
    transition: border-color 0.2s;
}
.footer-newsletter:focus-within { border-color: rgba(255,255,255,0.45); }
.footer-newsletter input[type="email"] {
    background: transparent; border: none; outline: none;
    color: #fff; font-family: var(--font-body);
    font-size: 0.82rem; padding: 0 14px;
    width: 154px; direction: ltr;
}
.footer-newsletter input[type="email"]::placeholder {
    color: rgba(255,255,255,0.35); letter-spacing: 0.06em;
}
.footer-newsletter button {
    background: rgba(255,255,255,0.1);
    border: none; border-right: 1px solid rgba(255,255,255,0.2);
    color: #fff; font-size: 0.95rem;
    padding: 0 13px; height: 100%; cursor: pointer;
    transition: background 0.2s; line-height: 1;
}
.footer-newsletter button:hover { background: rgba(255,255,255,0.22); }
.footer-newsletter-note {
    font-size: 0.78rem; color: rgba(255,255,255,0.55); white-space: nowrap;
}

/* =============================================
   REVEAL ANIMATIONS
============================================= */
.reveal-up {
    opacity: 0; transform: translateY(48px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-up.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

/* =============================================
   MOBILE
============================================= */
@media (max-width: 900px) {
    :root { --pad: 5.5vw; }

    /* Nav */
    .logo { font-size: 1.4rem; }

    /* Hero */
    .hero-details { gap: 20px; }
    .hero-word-a, .hero-word-b { font-size: 9.5vw; letter-spacing: -0.03em; }

    /* Services */
    .work-section { padding: 64px var(--pad) 90px; }
    .section-title { margin-bottom: 44px; }
    .products-container { gap: 60px; }
    .product-row,
    .product-row.reverse { flex-direction: column; gap: 22px; }
    .product-visual { width: 100%; height: 260px; }
    .product-title { font-size: 1.7rem; }

    /* Testimonial Slider */
    .tslider-section { padding: 72px var(--pad) 60px; }
    .tslider-top { flex-direction: column; align-items: flex-start; gap: 20px; }
    .tslider-card { flex: 0 0 calc((100% - 20px) / 2); }

    /* About */
    .about-grid { grid-template-columns: 1fr; padding: 80px var(--pad); gap: 40px; }
    .about-text-sticky { position: relative; top: 0; }
    .about-video-scroll { height: 380px; margin-top: 0; }
    .principles-timeline {
        border-right: none; border-top: 1.5px solid rgba(31,84,65,0.2);
        flex-direction: row; flex-wrap: wrap; gap: 12px;
        padding-right: 0; padding-top: 20px;
    }
    .p-dot { display: none; }
    .p-text { font-size: 1.1rem; padding-right: 0; }

    /* Credentials */
    .credentials-section { padding: 72px var(--pad); }
    .credentials-header h2 { font-size: 2.4rem; }
    .disc-cards { grid-template-columns: repeat(2, 1fr); }
    .disc-card { min-height: 110px; padding: 20px 16px 18px; }
    .disc-stat { font-size: 2.6rem; top: 12px; right: 14px; }
    .disc-card-name { font-size: 0.9rem; }
    .disc-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .certs-row { flex-direction: column; }
    .cert-card { max-width: 100%; }

    /* Philosophy */
    .philosophy-section { padding: 72px var(--pad); }
    .philosophy-item:nth-child(even) { margin-top: 0; }
    .philosophy-grid { grid-template-columns: 1fr 1fr; }
    .philosophy-item { padding: 24px 18px; }

    /* FAQ */
    .faq-section { padding-bottom: 80px; }

    /* Footer */
    footer { border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 64px var(--pad) 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }

    /* Preloader */
    .word { font-size: 3rem; }
    .final-reveal { font-size: 3.5rem; }
}

@media (max-width: 480px) {
    .philosophy-grid { grid-template-columns: 1fr; }
    .hero-word-a, .hero-word-b { font-size: 9.5vw; letter-spacing: -0.03em; }
    .hero-expand-wrap {
        width: calc(260px + var(--ep) * (100vw - 260px));
        height: calc(340px + var(--ep) * (100dvh - 340px));
    }
    .hero-word-a { transform: translateX(calc(var(--ep) * -130vw)); }
    .hero-word-b { transform: translateX(calc(var(--ep) * 130vw)); }
    .disc-cards { grid-template-columns: repeat(2, 1fr); }
    .disc-card { min-height: 110px; padding: 20px 16px 18px; }
    .disc-stat { font-size: 2.6rem; top: 12px; right: 14px; }
    .disc-card-name { font-size: 0.9rem; }
    .disc-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

    /* Testimonial Slider — single card */
    .tslider-card { flex: 0 0 100%; }
    .tslider-section { padding: 60px var(--pad) 50px; }
}
