/*
Theme Name: CoreDlytics Website - Contact update
Description: One-page data consultancy website for CoreDlytics.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: coredlytics
*/

:root {
      --ink: #eaf5ff;
      --muted: #a8c0d8;
      --navy: #06172e;
      --navy-2: #0a2445;
      --panel: #102f54;
      --line: rgba(120, 185, 235, .18);
      --teal: #79c8ff;
      --blue: #168fe8;
      --green: #79c8ff;
      --white: #f7fbfc;
      --radius: 22px;
      --max: 1180px;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 86px; }
    body {
      margin: 0; color: var(--ink); background: var(--navy);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.6; -webkit-font-smoothing: antialiased;
    }
    a { color: inherit; text-decoration: none; }
    .wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
    .topbar {
      position: sticky; top: 0; z-index: 20; height: 84px;
      background: rgba(0, 0, 0, .94); backdrop-filter: blur(18px);
      border-bottom: 1px solid rgba(181,218,228,.10);
    }
    .nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .brand { display: inline-flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 720; letter-spacing: -.045em; }
    .brand-logo { display: block; width: 112px; height: 76px; object-fit: contain; }
    .brand-tagline { max-width: 154px; color: #d7eaff; font-size: 10px; font-weight: 750; line-height: 1.5; letter-spacing: .16em; }
    .brand-mark { width: 28px; height: 28px; border: 2px solid var(--teal); border-radius: 9px 9px 9px 3px; position: relative; transform: rotate(-8deg); }
    .brand-mark::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); right: 4px; top: 4px; }
    .brand span:last-child { color: var(--teal); }
    .nav-links { display: flex; align-items: center; gap: 30px; color: #c4d6de; font-size: 13px; }
    .nav-links a { transition: color .2s ease; }
    .nav-links a:hover { color: var(--teal); }
    .nav-cta, .button {
      display: inline-flex; align-items: center; justify-content: center; gap: 10px;
      min-height: 45px; padding: 0 19px; border-radius: 999px; font-size: 13px; font-weight: 700;
      border: 1px solid transparent; transition: transform .2s ease, background .2s ease, border .2s ease;
    }
    .nav-cta, .button.primary { color: #052034; background: var(--teal); }
    .nav-cta:hover, .button:hover { transform: translateY(-2px); }
    .button.secondary { color: var(--ink); border-color: rgba(234,243,246,.22); background: rgba(255,255,255,.025); }
    .button.secondary:hover { border-color: var(--teal); }
    .menu-toggle { display: none; border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 10px; padding: 8px 11px; font-size: 20px; }

    .hero { position: relative; overflow: hidden; padding: 96px 0 88px; }
    .hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; filter: blur(1px); }
    .hero::before { width: 590px; height: 590px; right: -110px; top: -170px; background: radial-gradient(circle, rgba(121,200,255,.16), transparent 68%); }
    .hero::after { width: 480px; height: 480px; left: -330px; bottom: -240px; background: radial-gradient(circle, rgba(112,174,250,.12), transparent 70%); }
    .hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .9fr; gap: 76px; align-items: center; }
    .eyebrow { display: flex; align-items: center; gap: 10px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
    .eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--teal); }
    h1 { margin: 22px 0 21px; max-width: 700px; font-size: clamp(44px, 6.1vw, 76px); line-height: 1.01; letter-spacing: -.067em; font-weight: 660; }
    h1 em { color: var(--teal); font-style: normal; }
    .hero-copy { max-width: 540px; color: #b7cbd4; font-size: 17px; line-height: 1.75; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
    .hero-note { display: flex; align-items: center; gap: 12px; margin-top: 34px; color: #91aab7; font-size: 12px; }
    .note-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 15px var(--teal); }

    .visual { position: relative; min-height: 420px; display: grid; place-items: center; }
    .visual-glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(121,200,255,.11); filter: blur(60px); }
    .dashboard { position: relative; width: 100%; max-width: 500px; padding: 20px; border: 1px solid rgba(198,229,236,.18); border-radius: 24px; background: linear-gradient(145deg, rgba(18,49,73,.96), rgba(9,34,54,.96)); box-shadow: 0 35px 100px rgba(0,0,0,.32); transform: rotate(1.7deg); }
    .dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
    .dash-title { font-size: 12px; font-weight: 700; }
    .dash-sub { color: #89a5b3; font-size: 10px; margin-top: 3px; }
    .period { padding: 7px 10px; border-radius: 8px; background: rgba(255,255,255,.06); color: #b4c9d2; font-size: 9px; }
    .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
    .kpi { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.045); border: 1px solid rgba(197,228,237,.08); }
    .kpi label { display: block; color: #8ba7b5; font-size: 9px; }
    .kpi strong { display: block; margin-top: 4px; font-size: 17px; letter-spacing: -.04em; }
    .kpi small { color: var(--teal); font-size: 9px; }
    .chart-panel { margin-top: 10px; padding: 14px; border: 1px solid rgba(197,228,237,.08); border-radius: 13px; background: rgba(255,255,255,.025); }
    .chart-label { display: flex; justify-content: space-between; color: #b7c9d1; font-size: 10px; }
    .chart-label span:last-child { color: #7893a1; font-size: 9px; }
    .chart { width: 100%; height: 136px; margin-top: 9px; overflow: visible; }
    .chart-grid line { stroke: rgba(184,216,225,.12); stroke-width: 1; }
    .area { fill: url(#areaFill); }
    .line-main { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
    .line-secondary { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
    .chart-bottom { display: flex; justify-content: space-between; color: #7893a1; font-size: 8px; margin-top: 2px; }
    .legend { display: flex; gap: 14px; margin-top: 12px; color: #9eb4bf; font-size: 9px; }
    .legend i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--teal); }
    .legend span:nth-child(2) i { background: var(--blue); }
    .floating-tag { position: absolute; right: -20px; bottom: 42px; padding: 12px 16px; border: 1px solid rgba(198,229,236,.18); border-radius: 14px; color: #c8dbe2; background: rgba(13,40,61,.96); box-shadow: 0 15px 40px rgba(0,0,0,.24); font-size: 10px; }
    .floating-tag strong { display: block; color: var(--teal); font-size: 14px; }

    .trust-row { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.018); }
    .trust-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .trust-label { color: #718b99; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
    .trust-item { display: flex; align-items: center; gap: 9px; color: #b8cbd3; font-size: 12px; }
    .trust-item b { color: var(--teal); font-size: 15px; }
    .experience-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, rgba(16,47,73,.8), rgba(11,38,61,.45)); }
    .experience-panel h3 { margin: 0 0 12px; font-size: 23px; letter-spacing: -.04em; }
    .experience-panel p { margin: 0; color: var(--muted); font-size: 14px; }
    .system-groups { display: grid; gap: 18px; }
    .system-group { padding-bottom: 15px; border-bottom: 1px solid var(--line); }
    .system-group:last-child { padding-bottom: 0; border: 0; }
    .system-group strong { display: block; margin-bottom: 7px; color: var(--teal); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
    .system-group span { color: #c1d3db; font-size: 13px; }

    section.content-section { padding: 108px 0; }
    .section-head { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 42px; }
    .section-kicker { color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
    h2 { margin: 12px 0 0; max-width: 640px; font-size: clamp(33px, 4vw, 51px); line-height: 1.08; letter-spacing: -.055em; font-weight: 630; }
    .section-intro { max-width: 390px; margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.75; }
    .capabilities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .cap-card { min-height: 285px; display: flex; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(150deg, rgba(17,48,72,.72), rgba(11,35,55,.54)); transition: transform .25s ease, border-color .25s ease; }
    .cap-card:hover { transform: translateY(-5px); border-color: rgba(121,200,255,.45); }
    .cap-icon { width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: 26px; border-radius: 13px; color: var(--teal); background: rgba(121,200,255,.10); font-size: 17px; font-weight: 750; }
    .cap-card h3 { margin: 0 0 10px; font-size: 19px; letter-spacing: -.035em; }
    .cap-card p { margin: 0; color: #9db5c0; font-size: 13px; line-height: 1.7; }
    .cap-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
    .cap-list span { padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,.055); color: #afc4ce; font-size: 9px; }
    .text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 24px; color: var(--teal); font-size: 12px; font-weight: 700; }
    .text-link span { transition: transform .2s; }
    .text-link:hover span { transform: translateX(4px); }

    .work-section { background: #0a2238; border-block: 1px solid var(--line); }
    .project { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; border: 1px solid rgba(181,218,228,.16); border-radius: 26px; background: #0d2b45; }
    .project + .project { margin-top: 22px; }
    .project-copy { padding: 38px; }
    .project-tag { display: inline-flex; padding: 6px 10px; border: 1px solid rgba(121,200,255,.28); border-radius: 999px; color: var(--teal); font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
    .project-copy h3 { margin: 22px 0 14px; max-width: 420px; font-size: clamp(29px, 3vw, 40px); line-height: 1.1; letter-spacing: -.05em; }
    .project-copy p { color: #a8bec8; font-size: 13px; line-height: 1.8; }
    .project-points { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin: 26px 0; }
    .project-point { padding-left: 13px; border-left: 2px solid var(--teal); color: #c3d4db; font-size: 11px; }
    .project-meta { color: #829ba8; font-size: 10px; }
    .project-screen { display: grid; place-items: center; padding: 26px; background: radial-gradient(circle at 54% 46%, rgba(121,200,255,.13), transparent 45%), #091c2e; }
    .report-image-link { display: block; width: 10cm; max-width: 100%; aspect-ratio: 1; overflow: hidden; border: 1px solid rgba(198,229,236,.18); border-radius: 14px; background: #f5f7fb; box-shadow: 0 24px 70px rgba(0,0,0,.32); cursor: zoom-in; transition: transform .2s ease, box-shadow .2s ease; }
    .report-image-link:hover { transform: scale(1.025); box-shadow: 0 28px 80px rgba(0,0,0,.4); }
    .report-image-link img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
    .report-image-link:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
    .report-caption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; color: #9ab2c0; font-size: 10px; }
    .report-caption span:last-child { color: var(--teal); }
    .report-lightbox { box-sizing: border-box; position: fixed; width: min(96vw, 1500px); max-width: none; height: min(94vh, 1000px); max-height: none; margin: auto; padding: 56px 18px 18px; overflow: hidden; border: 1px solid rgba(198,229,236,.28); border-radius: 18px; color: var(--ink); background: #06172e; box-shadow: 0 30px 100px rgba(0,0,0,.55); }
    .report-lightbox::backdrop { background: rgba(2,8,18,.86); backdrop-filter: blur(4px); }
    .report-lightbox img { display: block; width: 100%; height: 100%; object-fit: contain; }
    .report-lightbox-close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 1px solid rgba(198,229,236,.25); border-radius: 50%; color: var(--ink); background: #102f54; font-size: 23px; line-height: 1; cursor: pointer; }

    .process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
    .process-item { position: relative; padding-top: 22px; border-top: 1px solid rgba(181,218,228,.22); counter-increment: step; }
    .process-item::before { content: "0" counter(step); position: absolute; top: -15px; left: 0; padding-right: 10px; color: var(--teal); background: var(--navy); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
    .process-item h3 { margin: 12px 0 8px; font-size: 18px; letter-spacing: -.03em; }
    .process-item p { max-width: 320px; margin: 0; color: #9eb5bf; font-size: 12px; line-height: 1.75; }

    .contact-section { padding: 0 0 92px; }
    .contact-card { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 48px; border: 1px solid rgba(121,200,255,.24); border-radius: 26px; background: linear-gradient(120deg, #102d54, #0b2b50 60%, #0c3650); }
    .contact-card::after { content: ""; position: absolute; width: 350px; height: 350px; top: -230px; right: 10%; border-radius: 50%; background: rgba(121,200,255,.2); filter: blur(55px); }
    .contact-card > * { position: relative; z-index: 1; }
    .contact-card h2 { max-width: 620px; font-size: clamp(30px, 4vw, 46px); }
    .contact-card p { margin: 13px 0 0; color: #b0c6d0; font-size: 13px; }
    .footer { padding: 23px 0 31px; border-top: 1px solid var(--line); color: #8099a6; font-size: 10px; }
    .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
    .footer-brand { color: #d4e4e9; font-size: 12px; font-weight: 700; }
    .footer-note { text-align: right; }
    .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
    .reveal.visible { opacity: 1; transform: translateY(0); }
    @media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }
    @media (max-width: 900px) {
      .hero-grid { grid-template-columns: 1fr; gap: 38px; }
      .hero { padding-top: 76px; }
      .visual { min-height: 350px; }
      .dashboard { max-width: 560px; }
      .capabilities { grid-template-columns: 1fr 1fr; }
      .cap-card:last-child { grid-column: span 2; min-height: 250px; }
      .project { grid-template-columns: 1fr; }
      .project-screen { min-height: 350px; }
      .trust-inner { justify-content: center; flex-wrap: wrap; padding: 20px 0; }
      .trust-label { width: 100%; text-align: center; }
    }
    @media (max-width: 640px) {
      .wrap { width: min(100% - 34px, var(--max)); }
      .topbar { height: 66px; }
      .brand { gap: 7px; }
      .brand-logo { width: 80px; height: 58px; }
      .brand-tagline { max-width: 126px; font-size: 8px; letter-spacing: .11em; }
      .menu-toggle { display: block; }
      .nav-cta { display: none; }
      .nav-links { display: none; position: absolute; top: 65px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 18px; border-bottom: 1px solid var(--line); background: rgba(7,27,46,.98); }
      .nav-links.open { display: flex; }
      .nav-links a { padding: 11px 0; border-bottom: 1px solid rgba(181,218,228,.08); }
      .hero { padding: 65px 0 58px; }
      h1 { font-size: clamp(42px, 13vw, 62px); }
      .hero-copy { font-size: 15px; }
      .visual { min-height: 300px; margin-inline: -5px; }
      .dashboard { padding: 13px; }
      .kpi { padding: 9px; }
      .kpi strong { font-size: 14px; }
      .floating-tag { right: 0; bottom: 15px; }
      .trust-inner { gap: 12px 18px; }
      .trust-item { font-size: 10px; }
      section.content-section { padding: 76px 0; }
      .section-head { display: block; margin-bottom: 28px; }
      .section-intro { margin-top: 17px; }
      .capabilities, .process, .experience-panel { grid-template-columns: 1fr; }
      .cap-card, .cap-card:last-child { grid-column: auto; min-height: 0; }
      .project-copy { padding: 26px 22px; }
      .project-screen { min-height: 0; padding: 20px 14px; }
      .contact-section { padding-bottom: 60px; }
      .contact-card { display: block; padding: 30px 24px; }
      .contact-card .button { margin-top: 22px; }
      .footer-inner { display: block; }
      .footer-note { margin-top: 8px; text-align: left; }
    }
