/* =========================================================
   WAYTU — Design System
   Primary: #00ADC3 (logo turquoise)
   ========================================================= */

:root {
    --wy-primary: #00ADC3;
    --wy-primary-600: #00929f;
    --wy-primary-700: #007681;
    --wy-primary-50: #e6f8fa;
    --wy-primary-100: #c2eff4;
    --wy-accent: #0b3a44;
    --wy-ink: #0c1a23;
    --wy-ink-2: #1f2c36;
    --wy-muted: #5a6772;
    --wy-soft: #f4f7f9;
    --wy-line: #e5ecef;
    --wy-bg: #ffffff;

    --wy-font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --wy-font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;

    --wy-radius: 14px;
    --wy-radius-lg: 22px;
    --wy-shadow-sm: 0 6px 18px -10px rgba(11, 58, 68, .25);
    --wy-shadow: 0 18px 40px -22px rgba(11, 58, 68, .35);
    --wy-shadow-lg: 0 32px 60px -28px rgba(0, 173, 195, .35);

    --wy-grad: linear-gradient(135deg, #00ADC3 0%, #0b3a44 100%);
    --wy-grad-soft: linear-gradient(180deg, #e6f8fa 0%, #ffffff 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body.wy-body {
    font-family: var(--wy-font-sans);
    color: var(--wy-ink);
    background: var(--wy-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 { font-family: var(--wy-font-display); font-weight: 700; letter-spacing: -.02em; color: var(--wy-ink); }
h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); line-height: 1.08; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.15; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.3; }
p  { color: var(--wy-ink-2); }
a  { color: var(--wy-primary-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--wy-primary); }

::selection { background: var(--wy-primary); color: #fff; }

.wy-skip { position: absolute; top: .5rem; left: .5rem; z-index: 9999; background: var(--wy-primary); color:#fff; padding:.5rem 1rem; border-radius: 8px; }

/* ============== NAV ============== */
.wy-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, background .25s; }
.wy-header.is-scrolled { background: rgba(255,255,255,.96); border-bottom-color: var(--wy-line); }
.wy-navbar { padding: .9rem 0; }
.wy-brand { display: flex; align-items: center; gap: .75rem; }
.wy-brand__logo { display: block; }
.wy-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.wy-brand__text strong { font-family: var(--wy-font-display); font-size: 1.35rem; letter-spacing: -.03em; color: var(--wy-ink); }
.wy-brand__text small { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--wy-muted); font-weight: 500; }

.wy-nav .nav-link { color: var(--wy-ink-2); font-weight: 500; padding: .5rem .9rem; border-radius: 8px; position: relative; }
.wy-nav .nav-link:hover { color: var(--wy-primary); background: var(--wy-primary-50); }
.wy-nav .nav-link.active { color: var(--wy-primary-700); }
.wy-nav .nav-link.active::after { content:""; position:absolute; left:50%; bottom:0; width:18px; height:2px; background: var(--wy-primary); border-radius:2px; transform: translateX(-50%); }

.wy-lang .dropdown-menu { border: 1px solid var(--wy-line); border-radius: 12px; box-shadow: var(--wy-shadow-sm); padding: .35rem; min-width: 160px; }
.wy-lang .dropdown-item.active { background: var(--wy-primary-50); color: var(--wy-primary-700); }
.wy-lang .dropdown-item { border-radius: 8px; }

.wy-burger { display:block; width:22px; height:2px; background: var(--wy-ink); margin: 4px auto; border-radius: 2px; }
.navbar-toggler { border: none; padding: .25rem .5rem; }
.navbar-toggler:focus { box-shadow: none; }

/* ============== BUTTONS ============== */
.btn-wy { display:inline-flex; align-items:center; gap:.5rem; font-weight: 600; border-radius: 999px; padding: .65rem 1.35rem; font-size: .95rem; border: 1.5px solid transparent; transition: background-color .2s, color .2s, border-color .2s; }
.btn-wy--primary { background: var(--wy-primary); color: #fff; box-shadow: 0 12px 24px -10px rgba(0,173,195,.55); }
.btn-wy--primary:hover { background: var(--wy-primary-600); color:#fff; }
.btn-wy--outline { background: transparent; color: var(--wy-ink); border-color: var(--wy-ink); }
.btn-wy--outline:hover { background: var(--wy-ink); color: #fff; }
.btn-wy--ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn-wy--ghost:hover { background: #fff; color: var(--wy-ink); border-color:#fff; }
.btn-wy--lg { padding: .9rem 1.7rem; font-size: 1rem; }

/* ============== HERO ============== */
.wy-hero { position: relative; overflow: hidden; padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem); background: var(--wy-grad-soft); isolation: isolate; }
.wy-hero::before {
    content:""; position:absolute; inset:-20% -10% auto auto; width:55vw; height:55vw; max-width: 760px; max-height: 760px;
    background: radial-gradient(closest-side, rgba(0,173,195,.28), transparent 70%);
    z-index: -1;
}
.wy-hero::after {
    content:""; position:absolute; left:-12%; bottom:-30%; width:50vw; height:50vw; max-width: 700px; max-height: 700px;
    background: radial-gradient(closest-side, rgba(11,58,68,.16), transparent 70%);
    z-index: -1;
}
.wy-hero__eyebrow { display: inline-flex; align-items: center; gap:.45rem; padding: .35rem .85rem; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--wy-primary-700); background: rgba(0,173,195,.12); border: 1px solid rgba(0,173,195,.25); border-radius: 999px; }
.wy-hero__eyebrow::before { content:""; width:6px; height:6px; border-radius:50%; background: var(--wy-primary); box-shadow: 0 0 0 4px rgba(0,173,195,.2); }
.wy-hero h1 { margin-top: 1.25rem; }
.wy-hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--wy-ink-2); max-width: 640px; margin-top: 1.25rem; }
.wy-hero__actions { display:flex; flex-wrap: wrap; gap:.85rem; margin-top: 2rem; }

.wy-hero__visual { position: relative; aspect-ratio: 1/1; max-width: 460px; margin: 0 auto; }
.wy-hero__visual .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(0,173,195,.45); }
.wy-hero__visual .ring:nth-child(2) { inset: 8%; border-color: rgba(11,58,68,.25); }
.wy-hero__visual .ring:nth-child(3) { inset: 18%; border-style: solid; border-color: rgba(0,173,195,.18); }
.wy-hero__visual .core {
    position:absolute; inset: 22%; border-radius: 50%;
    background: #fff;
    box-shadow:
        0 0 0 1px rgba(0, 173, 195, .08),
        0 30px 60px -25px rgba(0, 173, 195, .55),
        0 12px 30px -15px rgba(11, 58, 68, .25);
    display:flex; align-items:center; justify-content:center;
}
.wy-hero__visual .core img { width: 86%; height:auto; }
.wy-hero__dot { position:absolute; width:14px; height:14px; border-radius:50%; background: var(--wy-primary); box-shadow: 0 0 0 6px rgba(0,173,195,.18); }
.wy-hero__dot.d1 { top: 6%; left: 50%; transform: translateX(-50%); }
.wy-hero__dot.d2 { top: 50%; right: 4%; transform: translateY(-50%); }
.wy-hero__dot.d3 { bottom: 8%; left: 22%; }

/* ============== SECTIONS ============== */
.wy-section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.wy-section--alt { background: var(--wy-soft); }
.wy-section--dark { background: var(--wy-ink); color: #d9e3e8; }
.wy-section--dark h2, .wy-section--dark h3 { color: #fff; }
.wy-section__eyebrow { display:inline-block; font-size:.78rem; letter-spacing:.16em; text-transform:uppercase; font-weight:700; color: var(--wy-primary-700); margin-bottom: .85rem; }
.wy-section--dark .wy-section__eyebrow { color: var(--wy-primary); }
.wy-section__lead { font-size: 1.1rem; max-width: 680px; }

/* ============== STATS ============== */
.wy-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--wy-line); border-radius: var(--wy-radius-lg); overflow: hidden; margin-top: 3rem; }
.wy-stats__item { background:#fff; padding: 1.75rem 1.5rem; text-align:left; }
.wy-stats__num { font-family: var(--wy-font-display); font-size: clamp(2rem, 4vw, 2.85rem); font-weight: 700; background: var(--wy-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wy-stats__label { font-size: .9rem; color: var(--wy-muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
@media (max-width: 640px) { .wy-stats { grid-template-columns: 1fr; } }

/* ============== PILLARS / CARDS ============== */
.wy-card { background:#fff; border: 1px solid var(--wy-line); border-radius: var(--wy-radius-lg); padding: 2rem 1.75rem; height: 100%; position: relative; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.wy-card::after { content:""; position:absolute; left:0; top:0; height:4px; width:0; background: var(--wy-grad); transition: width .2s linear; }
.wy-card:hover { box-shadow: var(--wy-shadow); border-color: rgba(0,173,195,.25); }
.wy-card:hover::after { width: 100%; }
.wy-card__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--wy-primary-50); color: var(--wy-primary-700); display:flex; align-items:center; justify-content:center; font-size: 1.6rem; margin-bottom: 1.25rem; }
.wy-card h3 { font-size: 1.2rem; margin-bottom: .65rem; }
.wy-card p { color: var(--wy-muted); font-size: .96rem; margin-bottom: 0; }

/* ============== JOURNEY ============== */
.wy-journey { position: relative; }
.wy-journey__line { position:absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, transparent, var(--wy-primary-100) 15%, var(--wy-primary-100) 85%, transparent); transform: translateX(-50%); }

/* Default item lays out [spacer][node][content] → content on RIGHT side of line, text-aligned LEFT */
.wy-journey__item { display:flex; align-items: center; gap: 2rem; margin: 2.5rem 0; }
.wy-journey__content { flex: 1; text-align: left; }
.wy-journey__spacer  { flex: 1; }

/* Items WITHOUT --right modifier sit on the LEFT side of the line */
.wy-journey__item:not(.wy-journey__item--right) { flex-direction: row-reverse; }
.wy-journey__item:not(.wy-journey__item--right) .wy-journey__content { text-align: right; }

.wy-journey__node { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--wy-primary); display:flex; align-items:center; justify-content:center; font-family: var(--wy-font-display); font-weight: 700; color: var(--wy-primary-700); position: relative; z-index: 1; box-shadow: 0 8px 24px -10px rgba(0,173,195,.5); }
.wy-journey__node--filled { background: var(--wy-grad); color: #fff; border-color: transparent; }
.wy-journey__tag { display:inline-block; font-size:.72rem; letter-spacing:.12em; text-transform: uppercase; color: var(--wy-primary-700); font-weight:700; margin-bottom: .35rem; }
.wy-journey__content h3 { margin-bottom: .35rem; }

@media (max-width: 768px) {
    .wy-journey__line { left: 28px; }
    .wy-journey__item,
    .wy-journey__item:not(.wy-journey__item--right) { flex-direction: row; gap: 1.25rem; }
    .wy-journey__content,
    .wy-journey__item:not(.wy-journey__item--right) .wy-journey__content { text-align: left; }
    .wy-journey__spacer { display: none; }
    .wy-journey__node { flex: 0 0 56px; }
}

/* ============== PAGE HEADER ============== */
.wy-pagehead { padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(2rem, 4vw, 3.5rem); background: linear-gradient(135deg, var(--wy-ink) 0%, var(--wy-accent) 100%); color: #fff; position: relative; overflow: hidden; }
.wy-pagehead::before {
    content:""; position:absolute; right:-10%; top:-30%; width:60vw; height:60vw; max-width: 800px; max-height: 800px;
    background: radial-gradient(closest-side, rgba(0,173,195,.35), transparent 70%);
}
.wy-pagehead h1 { color:#fff; max-width: 18ch; }
.wy-pagehead p { color: rgba(255,255,255,.75); max-width: 60ch; font-size: 1.1rem; margin-top: 1rem; }
.wy-pagehead__crumb { display:flex; gap:.5rem; font-size:.85rem; color: rgba(255,255,255,.6); margin-bottom: 1.25rem; }
.wy-pagehead__crumb a { color: rgba(255,255,255,.6); }
.wy-pagehead__crumb a:hover { color: #fff; }

/* ============== ARTICLE ============== */
.wy-article { font-size: 1.075rem; line-height: 1.78; color: var(--wy-ink-2); max-width: 760px; margin: 0 auto; }
.wy-article p + p { margin-top: 1.1rem; }
.wy-article p::first-letter { /* off by default */ }
.wy-article .wy-lead { font-size: 1.2rem; color: var(--wy-ink); font-weight: 500; padding-bottom: 1.5rem; border-bottom: 1px solid var(--wy-line); margin-bottom: 2rem; }

/* ============== CTA BAND ============== */
.wy-cta-band { background: var(--wy-grad); color:#fff; border-radius: var(--wy-radius-lg); padding: clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.wy-cta-band::before { content:""; position:absolute; right:-10%; top:-40%; width:55%; aspect-ratio:1; background: radial-gradient(closest-side, rgba(255,255,255,.18), transparent 70%); }
.wy-cta-band h2 { color: #fff; }
.wy-cta-band p { color: rgba(255,255,255,.85); max-width: 56ch; }

/* ============== CONTACT ============== */
.wy-form { background: #fff; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--wy-radius-lg); border: 1px solid var(--wy-line); box-shadow: var(--wy-shadow-sm); }
.wy-form .form-label { font-weight: 600; font-size: .9rem; color: var(--wy-ink); margin-bottom: .35rem; }
.wy-form .form-control, .wy-form .form-select {
    border-radius: 10px; border: 1.5px solid var(--wy-line); padding: .7rem .9rem; font-size: .98rem;
    transition: border-color .2s, box-shadow .2s;
}
.wy-form .form-control:focus, .wy-form .form-select:focus { border-color: var(--wy-primary); box-shadow: 0 0 0 4px rgba(0,173,195,.16); }
.wy-form textarea.form-control { min-height: 140px; resize: vertical; }
.wy-form .honeypot { position: absolute; left: -9999px; }

.wy-contact-info { background: var(--wy-soft); border-radius: var(--wy-radius-lg); padding: 2rem; height: 100%; }
.wy-contact-info h3 { font-size: 1.15rem; }
.wy-contact-info ul { list-style:none; padding:0; }
.wy-contact-info li { display:flex; gap:.75rem; padding: .65rem 0; border-bottom: 1px dashed var(--wy-line); }
.wy-contact-info li:last-child { border-bottom:none; }
.wy-contact-info i { color: var(--wy-primary); font-size: 1.15rem; margin-top: .15rem; }

.wy-alert { padding: 1rem 1.25rem; border-radius: 10px; margin-bottom: 1.25rem; font-size: .95rem; border: 1px solid; }
.wy-alert--success { background: #ecfdf3; color: #086b4a; border-color: #b3eccf; }
.wy-alert--error   { background: #fff1f0; color: #9b1e1a; border-color: #f3c0bd; }

/* ============== FOOTER ============== */
.wy-footer { background: var(--wy-ink); color: #dde4e8; padding: 4rem 0 1.75rem; }
.wy-footer h6.wy-footer__title { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.25rem; font-family: var(--wy-font-sans); font-weight: 700; }
.wy-footer__brand { font-family: var(--wy-font-display); font-size: 1.5rem; font-weight:700; color:#fff; line-height: 1; }
.wy-footer__sub { color: #b9c4cb; font-size: .8rem; display: block; margin-top: .15rem; }
.wy-footer__tagline { color: #b9c4cb; max-width: 38ch; font-size: .95rem; line-height: 1.65; }
.wy-footer__meta { color: #dde4e8; font-size: .9rem; display: flex; align-items: center; gap: .4rem; margin-bottom: 0; }
.wy-footer__meta i { color: var(--wy-primary); }
.wy-footer__links { list-style:none; padding:0; margin: 0; }
.wy-footer__links li { margin-bottom: .55rem; }
.wy-footer__links a { color: #dde4e8; font-size: .95rem; }
.wy-footer__links a:hover { color: var(--wy-primary); }
.wy-footer__contact { margin: 0; }
.wy-footer__contact li { display: flex; gap: .65rem; padding: .5rem 0; align-items: flex-start; font-size: .95rem; line-height: 1.5; color: #dde4e8; }
.wy-footer__contact i { color: var(--wy-primary); font-size: 1rem; flex: 0 0 18px; margin-top: .2rem; }
.wy-footer__contact a { color: #dde4e8; }
.wy-footer__contact a:hover { color: var(--wy-primary); }
.wy-footer__divider { border-top: 1px solid rgba(255,255,255,.12); margin: 2.5rem 0 1.5rem; }
.wy-footer__bottom { font-size: .9rem; color: #b9c4cb; gap: .75rem; }
.wy-footer__altlang { color: #b9c4cb; display: inline-flex; align-items: center; gap: .35rem; }
.wy-footer__altlang:hover { color: var(--wy-primary); }
.wy-footer__social a { display:inline-flex; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); color:#fff; align-items:center; justify-content:center; margin-right: .35rem; transition: background .2s; }
.wy-footer__social a:hover { background: var(--wy-primary); }
/* Bootstrap .text-muted is too dim on the dark footer — override */
.wy-footer .text-muted { color: #b9c4cb !important; }

/* ============== JOIN ============== */
.wy-join-side { position: sticky; top: 96px; }
.wy-join-bullets { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.wy-join-bullets li { display: flex; gap: .65rem; padding: .55rem 0; font-size: .95rem; color: var(--wy-ink-2); }
.wy-join-bullets i { color: var(--wy-primary); font-size: 1.1rem; margin-top: .1rem; }

.wy-form--join { background: #fff; padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--wy-radius-lg); border: 1px solid var(--wy-line); box-shadow: var(--wy-shadow-sm); }
.wy-form__section { padding-bottom: 1.75rem; margin-bottom: 1.75rem; border-bottom: 1px dashed var(--wy-line); }
.wy-form__section:last-of-type { border-bottom: 0; padding-bottom: .25rem; margin-bottom: .5rem; }
.wy-form__section-title { display: flex; align-items: center; gap: .65rem; font-size: 1.05rem; font-family: var(--wy-font-sans); font-weight: 700; color: var(--wy-ink); margin-bottom: 1.1rem; }
.wy-form__step { display: inline-flex; min-width: 30px; height: 30px; padding: 0 .35rem; border-radius: 50%; background: var(--wy-primary-50); color: var(--wy-primary-700); font-family: var(--wy-font-display); font-size: .85rem; align-items: center; justify-content: center; }
.wy-form__consent { background: var(--wy-soft); padding: 1rem 1.1rem; border-radius: 10px; }
.wy-form__consent .form-check-input { margin-top: .25rem; }
.wy-form__consent .form-check-input:checked { background-color: var(--wy-primary); border-color: var(--wy-primary); }
.wy-form__consent .form-check-label { font-size: .9rem; color: var(--wy-ink-2); }

@media (max-width: 992px) {
    .wy-join-side { position: static; }
}

/* ============== MAP ============== */
.wy-map {
    position: relative;
    border-radius: var(--wy-radius-lg);
    overflow: hidden;
    border: 1px solid var(--wy-line);
    box-shadow: var(--wy-shadow-sm);
    background: #f0f4f6;
    aspect-ratio: 16 / 9;
}
.wy-map iframe {
    display: block;
    width: 100%;
    height: 100% !important;
    border: 0;
}
@media (max-width: 768px) {
    .wy-map { aspect-ratio: 4 / 3; }
}

/* ============== TO TOP ============== */
.wy-totop { position: fixed; right: 1.25rem; bottom: 1.25rem; width: 44px; height: 44px; border-radius: 50%; background: var(--wy-primary); color: #fff; border: none; box-shadow: var(--wy-shadow); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .2s, transform .25s; z-index: 1020; }
.wy-totop.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.wy-totop:hover { background: var(--wy-primary-600); }

/* ============== UTILS ============== */
.wy-divider-dot { display:inline-block; width:6px; height:6px; background: var(--wy-primary); border-radius:50%; margin: 0 .5rem; vertical-align: middle; }
/* Animations removed — keep selector inert so any leftover JS class is harmless */
.wy-reveal { }

/* ============== 404 ============== */
.wy-404 { padding: clamp(5rem, 12vw, 9rem) 0; text-align:center; }
.wy-404__code { font-family: var(--wy-font-display); font-size: clamp(5rem, 14vw, 10rem); line-height: 1; background: var(--wy-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
