/*
 * Yuvau Digital — CSS Core
 * A15 — CSS-CORE — v1.2.3
 * Global tokens, reset, primitives, and shared form/content foundations.
 */

/* =========================================================
 * Full Page layout with boxed content (v1.3.11)
 * Backgrounds and section surfaces run edge to edge.
 * ALL text/content sits in ONE centered content width: --yu-content-max.
 * Every wrapper (.yu-container, hero/section shells, header, service
 * wraps) reads this token, so it is the single place to tune width.
 * ========================================================= */
:root { --yu-content-max: 1240px; }
@media (min-width: 1440px) { :root { --yu-content-max: 1320px; } } /* MacBook Pro 14/16, 1440x900 */
@media (min-width: 1920px) { :root { --yu-content-max: 1440px; } } /* 1920x1080 / 1200 */
@media (min-width: 2560px) { :root { --yu-content-max: 1680px; } } /* 2560x1440 */
@media (min-width: 3440px) { :root { --yu-content-max: 1920px; } } /* ultrawide 3440x1440 */
@media (min-width: 3840px) { :root { --yu-content-max: 2080px; } } /* 4K */
@media (min-width: 5120px) { :root { --yu-content-max: 2560px; } } /* 5K */

:root {
    --yu-container: var(--yu-content-max);
    --yu-space-section: 104px;
    --yu-radius: 24px;
    --yu-radius-sm: 16px;
    --yu-blue: #2563EB;
    --yu-blue-2: #3B82F6;
    --yu-yellow: #06B6DA;
    --yu-ink: #0F172A;
    --yu-muted: #64748B;
    --yu-line: rgba(48,104,232,.14);
    --yu-glass: rgba(255,255,255,.62);
    --yu-glass-strong: rgba(255,255,255,.78);
    --yu-shadow: 0 24px 70px rgba(20,36,70,.10), 0 4px 18px rgba(20,36,70,.05);
    --yu-shadow-hover: 0 30px 90px rgba(20,36,70,.15), 0 8px 24px rgba(48,104,232,.08);
    --yu-transition: 240ms cubic-bezier(.2,.75,.25,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--yu-ink);
    background:
        radial-gradient(circle at 8% 8%, rgba(80,152,240,.12), transparent 25rem),
        linear-gradient(180deg, #fbfdff 0%, #f5f8fc 48%, #fbfdff 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image: linear-gradient(rgba(48,104,232,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(48,104,232,.018) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.yu-container { width: min(calc(100% - 48px), var(--yu-container)); margin-inline: auto; }
.yu-section { position: relative; padding-block: var(--yu-space-section); }
.yu-section + .yu-section { border-top: 1px solid rgba(48,104,232,.055); }

.yu-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 22px;
    border: 1px solid rgba(48,104,232,.18);
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--yu-blue), var(--yu-blue-2));
    box-shadow: 0 12px 30px rgba(48,104,232,.22), inset 0 1px 0 rgba(255,255,255,.32);
    transition: transform var(--yu-transition), box-shadow var(--yu-transition);
}
.yu-button:hover, .yu-button:focus-visible { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(48,104,232,.28), inset 0 1px 0 rgba(255,255,255,.35); }
.yu-button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(48,104,232,.22); outline-offset: 3px; }

.yu-placeholder {
    position: relative;
    overflow: hidden;
    min-height: 170px;
    padding: 42px;
    border: 1px solid var(--yu-line);
    border-radius: var(--yu-radius);
    background: linear-gradient(135deg, rgba(255,255,255,.74), rgba(255,255,255,.46));
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    backdrop-filter: blur(18px) saturate(135%);
    box-shadow: var(--yu-shadow);
}
.yu-placeholder::before {
    content: "";
    position: absolute;
    width: 190px; height: 190px;
    top: -110px; right: -55px;
    border-radius: 50%;
    background: rgba(80,152,240,.12);
    filter: blur(4px);
}
.yu-placeholder::after {
    content: "";
    position: absolute;
    width: 80px; height: 80px;
    bottom: -40px; left: 12%;
    border-radius: 50%;
    background: rgba(248,248,0,.16);
    filter: blur(3px);
}
.yu-placeholder > * { position: relative; z-index: 1; }
.yu-placeholder p:first-child { margin-top: 0; color: var(--yu-blue); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.yu-placeholder h1, .yu-placeholder h2 { letter-spacing: -.02em; line-height: 1.08; }

.yu-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.yu-card {
    position: relative;
    overflow: hidden;
    min-height: 180px;
    padding: 28px;
    border: 1px solid var(--yu-line);
    border-radius: var(--yu-radius);
    background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,255,255,.44));
    -webkit-backdrop-filter: blur(16px) saturate(135%);
    backdrop-filter: blur(16px) saturate(135%);
    box-shadow: 0 18px 55px rgba(20,36,70,.07);
    transition: transform var(--yu-transition), box-shadow var(--yu-transition), border-color var(--yu-transition);
}
.yu-card::before { content:""; position:absolute; inset:1px auto auto 1px; width:70px; height:3px; border-radius:99px; background:linear-gradient(90deg,var(--yu-blue),var(--yu-yellow)); }
.yu-card:hover { transform: translateY(-5px); border-color: rgba(48,104,232,.22); box-shadow: var(--yu-shadow-hover); }
.yu-card h2 { margin-top: 0; letter-spacing: -.02em; }
.yu-card p:last-child { margin-bottom: 0; color: var(--yu-muted); }

/* .yu-page-hero and .yu-hero padding-top are set by header.css (loads after this file).
   Non-padding properties that header.css does not touch remain here. */
.yu-page-hero { padding-bottom: 68px; }
.yu-page-hero h1 { margin: 8px 0 0; font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -.02em; line-height: 1.08; }
.yu-hero { min-height: 76vh; display: grid; align-items: center; }

/* WordPress content surfaces */
.yu-service-page { padding-top: 140px; }
.yu-service-page > * { width: min(calc(100% - 48px), var(--yu-container)); margin-inline: auto; }
.yu-service-page h1, .yu-service-page h2, .yu-service-page h3 { letter-spacing: -.02em; line-height:1.08; }
.yu-service-page p, .yu-service-page li { color: #4d5a70; }
.yu-service-page img { border-radius: 20px; box-shadow: var(--yu-shadow); }
.yu-service-page blockquote { margin: 32px 0; padding: 28px; border: 1px solid var(--yu-line); border-left: 4px solid var(--yu-blue); border-radius: var(--yu-radius-sm); background: rgba(255,255,255,.58); backdrop-filter: blur(12px); }
.yu-service-page table { width:100%; border-collapse:separate; border-spacing:0; overflow:hidden; border:1px solid var(--yu-line); border-radius:18px; background:rgba(255,255,255,.62); }
.yu-service-page th, .yu-service-page td { padding:14px 16px; border-bottom:1px solid rgba(48,104,232,.08); text-align:left; }
.yu-service-page th { background:rgba(48,104,232,.055); }
.yu-service-page ul, .yu-service-page ol { padding-left: 1.25rem; }

/* Generic WordPress form UI */
input, textarea, select { width:100%; min-height:50px; padding:12px 15px; color:var(--yu-ink); border:1px solid var(--yu-line); border-radius:14px; background:rgba(255,255,255,.65); backdrop-filter:blur(10px); }
textarea { min-height:150px; resize:vertical; }
input::placeholder, textarea::placeholder { color:#98a2b3; }
