      /* ============================================================
         Kaycee Professional Services — Homepage Styles
         Refined-blue design system with gradients, depth & motion
         ============================================================ */

      :root {
        /* Refined professional blue */
        --primary: #2563eb;
        --primary-hover: #1d4ed8;
        --primary-light: #3b82f6;
        --sky: #60a5fa;
        --dark: #0f172a;
        --darker: #020617;
        --light: #f8fafc;
        --lighter: #f1f5f9;
        --text: #334155;
        --text-muted: #64748b;
        --border: #e2e8f0;
        --white: #ffffff;
        /* Gradients */
        --grad-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
        --grad-dark: linear-gradient(135deg, #020617 0%, #0f172a 60%, #1e293b 100%);
        --grad-sheen: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(96, 165, 250, 0.04));
        /* Shadows */
        --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
        --shadow-md: 0 8px 28px rgba(15, 23, 42, 0.08);
        --shadow-lg: 0 24px 56px rgba(15, 23, 42, 0.12);
        --shadow-blue: 0 12px 32px rgba(37, 99, 235, 0.28);
        /* Motion */
        --ease: cubic-bezier(0.4, 0, 0.2, 1);
        --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
      }

      * {
        box-sizing: border-box;
      }

      html {
        scroll-behavior: smooth;
      }

      body {
        margin: 0;
        font-family: "Inter", sans-serif;
        color: var(--text);
        background: var(--light);
        line-height: 1.6;
        overflow-x: hidden;
      }

      a {
        text-decoration: none;
        color: inherit;
        transition: color 0.2s;
      }

      img {
        max-width: 100%;
        display: block;
      }

      /* ---------- Layout ---------- */
      .container {
        max-width: 1180px;
        margin: 0 auto;
        padding: 0 20px;
      }

      .section {
        padding: 96px 0;
        position: relative;
      }

      .center {
        text-align: center;
      }

      .muted {
        color: var(--text-muted);
      }

      .lead {
        font-size: 18px;
        color: var(--text);
        line-height: 1.7;
      }

      .mt-4 {
        margin-top: 16px;
      }

      /* ---------- Header / Nav ---------- */
      header {
        position: sticky;
        top: 0;
        background: rgba(255, 255, 255, 0.82);
        backdrop-filter: blur(16px) saturate(1.6);
        -webkit-backdrop-filter: blur(16px) saturate(1.6);
        border-bottom: 1px solid rgba(226, 232, 240, 0.6);
        z-index: 50;
        transition: all 0.3s ease;
      }

      .nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 0;
      }

      .nav-header {
        display: flex;
        align-items: center;
        gap: 20px;
      }

      .brand h1 {
        margin: 0;
        font-size: 22px;
        background: linear-gradient(90deg, var(--darker), var(--primary));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
      }

      .brand p {
        margin: 2px 0 0;
        color: var(--text-muted);
        font-size: 14px;
        font-weight: 500;
      }

      .links {
        display: flex;
        gap: 28px;
        color: var(--text);
        font-weight: 600;
        font-size: 15px;
        align-items: center;
      }

      .links a {
        position: relative;
        transition: color 0.2s;
      }

      .links a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -6px;
        width: 0;
        height: 2px;
        background: var(--grad-primary);
        border-radius: 2px;
        transition: width 0.3s var(--ease);
      }

      .links a:hover {
        color: var(--primary);
      }

      .links a:hover::after {
        width: 100%;
      }

      .mobile-menu-btn {
        display: none;
        background: none;
        border: none;
        color: var(--darker);
        cursor: pointer;
        padding: 8px;
      }

      .mobile-menu-btn.open .icon-menu {
        display: none;
      }

      .mobile-menu-btn.open .icon-close {
        display: block !important;
      }

      .mobile-brand {
        display: none;
      }

      /* ---------- Hero ---------- */
      .hero {
        background: var(--grad-dark);
        color: white;
        padding: 110px 0 120px;
        position: relative;
        overflow: hidden;
      }

      .hero::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(
          circle,
          rgba(59, 130, 246, 0.18) 0%,
          rgba(0, 0, 0, 0) 50%
        );
        animation: rotate 24s linear infinite;
        z-index: 0;
        pointer-events: none;
      }

      .hero::after {
        content: "";
        position: absolute;
        bottom: -120px;
        right: -80px;
        width: 420px;
        height: 420px;
        background: radial-gradient(circle, rgba(96, 165, 250, 0.22), transparent 65%);
        filter: blur(8px);
        z-index: 0;
        pointer-events: none;
      }

      @keyframes rotate {
        100% {
          transform: rotate(360deg);
        }
      }

      .grid2 {
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        gap: 44px;
        align-items: center;
        position: relative;
        z-index: 1;
      }

      .eyebrow {
        text-transform: uppercase;
        letter-spacing: 0.25em;
        color: var(--sky);
        font-size: 13px;
        font-weight: 700;
      }

      h2 {
        font-size: 48px;
        line-height: 1.1;
        margin: 18px 0;
        color: var(--darker);
        font-weight: 800;
        letter-spacing: -0.02em;
      }

      .hero h2 {
        color: white;
      }

      .hero p {
        color: #cbd5e1;
        font-size: 18px;
        max-width: 90%;
      }

      /* ---------- Buttons ---------- */
      .btns {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
        margin-top: 32px;
      }

      .btn {
        border-radius: 14px;
        padding: 14px 28px;
        font-weight: 600;
        font-size: 16px;
        background: white;
        color: var(--darker);
        transition: all 0.3s var(--ease);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
        display: inline-block;
        cursor: pointer;
      }

      .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(255, 255, 255, 0.22);
      }

      .btn.out {
        border: 1px solid rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.05);
        color: white;
        backdrop-filter: blur(8px);
      }

      .btn.out:hover {
        background: white;
        color: var(--darker);
        border-color: white;
      }

      /* Primary dark button used inside cards */
      .btn.darkbtn {
        background: var(--grad-primary);
        color: white;
        border: none;
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
      }

      .btn.darkbtn:hover {
        box-shadow: 0 10px 24px rgba(37, 99, 235, 0.4);
      }

      /* ---------- Cards ---------- */
      .card {
        background: white;
        border: 1px solid var(--border);
        border-radius: 24px;
        box-shadow: var(--shadow-sm);
        overflow: hidden;
        transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
          border-color 0.45s var(--ease);
        position: relative;
      }

      .card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
        border-color: rgba(59, 130, 246, 0.35);
      }

      .card-body {
        padding: 32px;
      }

      .img-cover {
        width: 100%;
        height: 260px;
        object-fit: cover;
        transition: transform 0.6s var(--ease);
      }

      .card:hover .img-cover {
        transform: scale(1.05);
      }

      /* ---------- Service cards (clickable) ---------- */
      .cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
      }

      .grid4 {
        grid-template-columns: repeat(4, 1fr);
      }

      .service-img {
        height: 180px;
        width: 100%;
        object-fit: cover;
        transition: transform 0.6s var(--ease);
      }

      .card.service {
        /* position relative is set on .card; required for stretched-link */
      }

      .card.service:hover .service-img {
        transform: scale(1.06);
      }

      .service ul {
        padding-left: 0;
        margin-bottom: 0;
        list-style: none;
      }

      .service ul li {
        position: relative;
        padding-left: 24px;
        margin-bottom: 8px;
      }

      .service ul li::before {
        content: "✓";
        position: absolute;
        left: 0;
        color: var(--primary);
        font-weight: bold;
      }

      /* Stretched link — makes the whole card clickable */
      .stretched::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2;
      }

      /* The button text should sit above the stretched overlay visually,
         but since the link itself is the stretched element, hover state
         still triggers the card lift. */
      .card.service .btn.darkbtn {
        position: relative;
        z-index: 3;
      }

      /* ---------- Info strip ---------- */
      .info {
        background: linear-gradient(to bottom, #f8fafc, #eef2f7);
      }

      /* ---------- Pricing ---------- */
      .price-row {
        display: flex;
        justify-content: space-between;
        gap: 18px;
        border-bottom: 1px solid #e2e8f0;
        padding: 16px 0;
        transition: background 0.25s, padding 0.25s;
      }

      .price-row:hover {
        background: rgba(241, 245, 249, 0.6);
        border-radius: 8px;
        padding-left: 8px;
        padding-right: 8px;
        margin-left: -8px;
        margin-right: -8px;
      }

      .price-row strong {
        text-align: right;
        color: var(--darker);
      }

      /* ---------- Dark section ---------- */
      .dark {
        background: var(--grad-dark);
        color: white;
        position: relative;
        overflow: hidden;
      }

      .dark::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(
          circle at 80% 20%,
          rgba(59, 130, 246, 0.18) 0%,
          transparent 40%
        );
        pointer-events: none;
      }

      .dark h2 {
        color: white;
      }

      .dark .muted {
        color: #94a3b8;
      }

      /* ---------- Contact ---------- */
      .contact-box {
        background: white;
        color: var(--text);
        border-radius: 24px;
        padding: 40px;
        max-width: 1000px;
        margin: 40px auto 0;
        text-align: left;
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
        position: relative;
        z-index: 2;
      }

      footer {
        background: var(--white);
        border-top: 1px solid var(--border);
        padding: 32px;
        text-align: center;
        color: var(--text-muted);
        font-size: 15px;
      }

      /* ---------- Forms ---------- */
      .form-group {
        margin-bottom: 20px;
        text-align: left;
      }

      .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        font-size: 14px;
        color: var(--text);
      }

      .form-group input,
      .form-group textarea,
      .form-group select {
        width: 100%;
        padding: 14px 16px;
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        font-family: inherit;
        font-size: 15px;
        outline: none;
        transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
        background: var(--light);
        color: var(--darker);
      }

      .form-group input:focus,
      .form-group textarea:focus,
      .form-group select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
        background: white;
      }

      .submit-btn {
        width: 100%;
        background: var(--grad-primary);
        color: white;
        border: none;
        cursor: pointer;
        transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
        padding: 16px 24px;
        font-weight: 700;
        border-radius: 12px;
        font-size: 16px;
        box-shadow: var(--shadow-blue);
      }

      .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(37, 99, 235, 0.42);
      }

      .submit-btn:disabled {
        cursor: not-allowed;
        opacity: 0.75;
      }

      /* ---------- Contact grid ---------- */
      .contact-grid {
        display: grid;
        grid-template-columns: 0.85fr 1.15fr;
        gap: 40px;
        align-items: start;
        max-width: 1100px;
        margin: 40px auto 0;
        text-align: left;
        position: relative;
        z-index: 2;
      }

      .contact-info {
        display: flex;
        flex-direction: column;
        gap: 20px;
      }

      .info-card {
        display: flex;
        align-items: center;
        gap: 16px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        padding: 20px;
        transition: all 0.3s ease;
      }

      .info-card:hover {
        background: rgba(255, 255, 255, 0.07);
        border-color: var(--primary-light);
        transform: translateX(5px);
      }

      .info-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: 12px;
        background: rgba(59, 130, 246, 0.16);
        color: var(--sky);
        flex-shrink: 0;
      }

      .info-content h4 {
        margin: 0 0 4px;
        font-size: 16px;
        color: white;
        font-weight: 600;
      }

      .info-content p {
        margin: 0;
        font-size: 15px;
        color: #94a3b8;
      }

      .info-content p a {
        color: var(--sky);
        font-weight: 500;
      }

      .info-content p a:hover {
        text-decoration: underline;
      }

      .contact-form-card {
        background: white;
        color: var(--text);
        border-radius: 24px;
        padding: 40px;
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
      }

      .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
      }

      .error-msg {
        display: block;
        color: #ef4444;
        font-size: 12px;
        margin-top: 6px;
        font-weight: 500;
      }

      .form-status {
        margin-top: 20px;
        padding: 14px 16px;
        border-radius: 12px;
        font-size: 15px;
        font-weight: 500;
        text-align: center;
        animation: fadeIn 0.3s ease;
      }

      .form-status.success {
        background: #dcfce7;
        color: #15803d;
        border: 1px solid #bbf7d0;
      }

      .form-status.error {
        background: #fee2e2;
        color: #b91c1c;
        border: 1px solid #fecaca;
      }

      /* ---------- Form tabs ---------- */
      .form-tabs {
        display: flex;
        gap: 8px;
        background: var(--lighter);
        padding: 6px;
        border-radius: 16px;
        margin-bottom: 24px;
        border: 1px solid var(--border);
      }

      .tab-btn {
        flex: 1;
        border: none;
        background: none;
        padding: 12px 16px;
        font-family: inherit;
        font-size: 14px;
        font-weight: 600;
        color: var(--text-muted);
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.25s ease;
        text-align: center;
      }

      .tab-btn:hover {
        color: var(--darker);
      }

      .tab-btn.active {
        background: white;
        color: var(--primary);
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
      }

      .form-subtitle {
        font-size: 14px;
        color: var(--text-muted);
        margin-top: 0;
        margin-bottom: 24px;
        line-height: 1.5;
      }

      .checkbox-group label {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-weight: normal;
        font-size: 13px;
        color: var(--text);
        line-height: 1.4;
        cursor: pointer;
      }

      .checkbox-group input[type="checkbox"] {
        accent-color: var(--primary);
        width: 16px;
        height: 16px;
        margin-top: 3px;
        flex-shrink: 0;
        cursor: pointer;
      }

      /* ---------- Loading spinner ---------- */
      .btn-spinner {
        display: inline-block;
        width: 20px;
        height: 20px;
        border: 3px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        border-top-color: white;
        animation: spin 1s ease-in-out infinite;
        vertical-align: middle;
        margin-left: 8px;
      }

      @keyframes spin {
        to {
          transform: rotate(360deg);
        }
      }

      /* ============================================================
         Scroll-reveal animations (driven by IntersectionObserver)
         ============================================================ */
      .fade-up {
        opacity: 0;
        transform: translateY(36px);
        transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
      }

      .fade-in {
        opacity: 0;
        transition: opacity 1s ease-out;
      }

      .slide-in-right {
        opacity: 0;
        transform: translateX(40px);
        transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
      }

      .slide-in-left {
        opacity: 0;
        transform: translateX(-40px);
        transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
      }

      .visible {
        opacity: 1;
        transform: translate(0);
      }

      .delay-100 {
        transition-delay: 0.1s;
      }

      .delay-200 {
        transition-delay: 0.2s;
      }

      .delay-300 {
        transition-delay: 0.3s;
      }

      @keyframes fadeIn {
        from {
          opacity: 0;
          transform: translateY(-10px);
        }

        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      /* ============================================================
         Responsive — mobile, tablet, desktop
         ============================================================ */

      /* Tablet */
      @media (max-width: 1024px) {
        .grid4 {
          grid-template-columns: repeat(2, 1fr);
        }

        h2 {
          font-size: 40px;
        }
      }

      /* Mobile */
      @media (max-width: 850px) {
        .grid2,
        .cards {
          grid-template-columns: 1fr;
        }

        h2 {
          font-size: 32px;
        }

        .section {
          padding: 64px 0;
        }

        .hero {
          padding: 64px 0 80px;
        }

        .hero h2 {
          font-size: 34px;
        }

        .hero p {
          font-size: 16px;
          max-width: 100%;
        }

        .contact-box {
          padding: 24px;
        }

        .contact-grid {
          grid-template-columns: 1fr;
          gap: 32px;
          margin-top: 30px;
        }

        .contact-form-card {
          padding: 24px;
        }

        .form-row {
          grid-template-columns: 1fr;
          gap: 0;
        }

        .nav {
          flex-direction: column;
          align-items: flex-start;
          padding: 16px 0;
        }

        .nav-header {
          display: flex;
          justify-content: space-between;
          align-items: center;
          width: 100%;
          padding-left: 12px;
        }

        .desktop-brand p {
          display: none;
        }

        .mobile-menu-btn {
          display: block;
        }

        .links {
          display: none;
          width: 100%;
          flex-direction: column;
          align-items: flex-start;
          padding-top: 20px;
          padding-left: 12px;
          gap: 20px;
          border-top: 1px solid rgba(226, 232, 240, 0.5);
          margin-top: 16px;
        }

        .links.open {
          display: flex;
          animation: fadeIn 0.3s ease;
        }

        .brand p {
          font-size: 13px;
          max-width: 100%;
          line-height: 1.5;
        }

        .mobile-brand h1 {
          display: none;
        }

        .mobile-brand {
          display: block;
          margin-top: 8px;
          padding-top: 24px;
          border-top: 1px solid rgba(226, 232, 240, 0.5);
          width: 100%;
        }
      }

      /* Small phones */
      @media (max-width: 480px) {
        .grid4 {
          grid-template-columns: 1fr;
        }

        .btns {
          flex-direction: column;
        }

        .btns .btn {
          width: 100%;
          text-align: center;
        }

        h2 {
          font-size: 28px;
        }

        .card-body {
          padding: 24px;
        }
      }

      /* Respect reduced-motion preferences */
      @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
          animation-duration: 0.01ms !important;
          animation-iteration-count: 1 !important;
          transition-duration: 0.01ms !important;
          scroll-behavior: auto !important;
        }
      }
