:root {
      --bg: #f3f5f9;
      --surface: #ffffff;
      --surface-soft: #f8fafc;
      --text: #121826;
      --muted: #6b7280;
      --primary: #ff6b35;
      --primary-strong: #f5561a;
      --accent: #4f8cff;
      --line: #e6eaf0;
      --radius-xl: 24px;
      --radius-lg: 16px;
      --shadow-soft: 0 12px 40px rgba(19, 33, 68, 0.08);
      --shadow-glow: 0 10px 36px rgba(255, 107, 53, 0.2);
      --max: 1180px;
      --bg-glow-1: radial-gradient(1100px 520px at 8% -12%, rgba(79, 140, 255, 0.24), transparent 62%);
      --bg-glow-2: radial-gradient(980px 580px at 94% -4%, rgba(255, 107, 53, 0.24), transparent 66%);
      --bg-glow-3: radial-gradient(760px 360px at 50% 112%, rgba(103, 84, 255, 0.14), transparent 70%);
    }

    * { box-sizing: border-box; }

    html, body {
      margin: 0;
      font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
      color: var(--text);
      scroll-behavior: smooth;
      max-width: 100%;
    }

    body {
      background: var(--bg-glow-1), var(--bg-glow-2), var(--bg-glow-3), var(--bg);
      transition: background 0.45s ease;
      overflow-x: hidden;
    }

    body.theme-soft {
      --bg-glow-1: radial-gradient(900px 420px at 8% -10%, rgba(79, 140, 255, 0.17), transparent 64%);
      --bg-glow-2: radial-gradient(820px 460px at 92% 0%, rgba(255, 107, 53, 0.15), transparent 67%);
      --bg-glow-3: radial-gradient(620px 320px at 50% 112%, rgba(103, 84, 255, 0.1), transparent 72%);
    }

    body.theme-neon {
      --bg-glow-1: radial-gradient(1300px 600px at 10% -8%, rgba(79, 140, 255, 0.34), transparent 58%);
      --bg-glow-2: radial-gradient(1200px 700px at 92% -2%, rgba(255, 107, 53, 0.36), transparent 61%);
      --bg-glow-3: radial-gradient(940px 420px at 50% 108%, rgba(103, 84, 255, 0.22), transparent 68%);
    }

    body.theme-warm {
      --bg-glow-1: radial-gradient(1180px 560px at 12% -8%, rgba(255, 141, 89, 0.3), transparent 61%);
      --bg-glow-2: radial-gradient(1080px 620px at 90% 0%, rgba(255, 107, 53, 0.34), transparent 62%);
      --bg-glow-3: radial-gradient(760px 380px at 50% 112%, rgba(255, 184, 77, 0.22), transparent 70%);
    }

    a { color: inherit; text-decoration: none; }

    img,
    svg,
    video,
    canvas,
    iframe {
      max-width: 100%;
    }

    .shell {
      width: min(var(--max), calc(100% - 32px));
      margin-inline: auto;
    }

    .topbar-wrap {
      position: sticky;
      top: 10px;
      z-index: 30;
      margin-top: 10px;
    }

    .topbar {
      background: linear-gradient(180deg, rgba(240, 244, 250, 0.96), rgba(232, 237, 245, 0.94));
      backdrop-filter: blur(10px);
      border: 1px solid #dfe6f1;
      box-shadow: 0 14px 30px rgba(16, 30, 60, 0.12);
      border-radius: 999px;
      padding: 10px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      min-width: 0;
    }

    .logo {
      position: relative;
      display: inline-flex;
      padding: 8px;
      border-radius: 14px;
      transition: all 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
      min-width: 0;
    }

    .logo::before {
      content: "";
      position: absolute;
      inset: -2px;
      border-radius: 16px;
      padding: 2px;
      background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(79, 140, 255, 0.2), rgba(255, 107, 53, 0.2));
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask-composite: exclude;
      opacity: 0;
      transition: opacity 0.42s ease;
    }

    .logo:hover::before {
      opacity: 1;
    }

    .logo img {
      height: 72px;
      width: auto;
      display: block;
      filter: drop-shadow(0 4px 12px rgba(255, 107, 53, 0.15));
      transition: all 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .logo:hover img {
      transform: scale(1.06);
      filter: 
        drop-shadow(0 8px 24px rgba(255, 107, 53, 0.4))
        drop-shadow(0 0 24px rgba(255, 107, 53, 0.24));
    }

    .logo:active img {
      transform: scale(1.02);
    }

    .nav {
      display: flex;
      gap: 22px;
      align-items: center;
      font-weight: 600;
      color: #3a445a;
    }

    .topbar-right {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }

    .theme-switch {
      display: flex;
      align-items: center;
      gap: 6px;
      background: #fff;
      border: 1px solid #e7ecf4;
      border-radius: 999px;
      padding: 5px;
      box-shadow: 0 8px 24px rgba(19, 33, 68, 0.08);
    }

    .theme-btn {
      border: 0;
      background: transparent;
      border-radius: 999px;
      padding: 7px 10px;
      font-size: 12px;
      font-weight: 700;
      color: #475569;
      cursor: pointer;
      transition: 0.2s ease;
    }

    .theme-btn:hover {
      background: #f3f6fb;
    }

    .theme-btn.active {
      background: linear-gradient(90deg, rgba(255, 107, 53, 0.15), rgba(79, 140, 255, 0.14));
      color: #13213e;
    }

    .nav a { opacity: 0.86; }
    .nav a:hover { opacity: 1; color: var(--primary); }

    /* ── Services dropdown ──────────────────────────── */
    .nav-has-dropdown {
      position: relative;
    }
    .nav-dropdown-toggle {
      display: flex;
      align-items: center;
      gap: 3px;
      cursor: pointer;
    }
    .nav-dropdown-menu {
      display: none;
      position: absolute;
      top: calc(100% + 12px);
      left: 50%;
      transform: translateX(-50%);
      background: #fff;
      border: 1px solid #e8edf5;
      border-radius: 14px;
      box-shadow: 0 16px 48px rgba(19,33,68,0.13);
      padding: 8px;
      min-width: 210px;
      flex-direction: column;
      gap: 1px;
      z-index: 200;
    }
    .nav-has-dropdown:hover .nav-dropdown-menu {
      display: flex;
    }
    .nav-dropdown-menu a {
      padding: 7px 12px !important;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 500;
      opacity: 0.82;
      white-space: nowrap;
      color: #3a445a;
    }
    .nav-dropdown-menu a:hover {
      background: #f4f7fc !important;
      opacity: 1;
      color: var(--primary) !important;
    }

    .menu-btn {
      display: none;
      width: 40px;
      height: 40px;
      border-radius: 10px;
      border: 1px solid var(--line);
      background: #fff;
      cursor: pointer;
    }

    .island {
      margin-top: 18px;
      width: min(var(--max), calc(100% - 32px));
      margin-inline: auto;
      background:
        radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 107, 53, 0.09), transparent 46%),
        radial-gradient(520px circle at calc(var(--mx, 50%) - 18%) calc(var(--my, 50%) + 10%), rgba(79, 140, 255, 0.08), transparent 54%),
        var(--surface);
      border: 1px solid #edf1f7;
      border-radius: var(--radius-xl);
      box-shadow:
        var(--shadow-soft),
        0 0 0 1px rgba(255, 255, 255, 0.7) inset,
        0 0 90px rgba(79, 140, 255, 0.16),
        0 0 110px rgba(255, 107, 53, 0.14);
      padding: clamp(18px, 3vw, 34px);
      position: relative;
      overflow: hidden;
      will-change: transform;
      transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease, background 0.35s ease, filter 0.35s ease;
    }

    .island::before {
      content: "";
      position: absolute;
      inset: 0 0 auto 0;
      height: 2px;
      background: linear-gradient(90deg, rgba(255, 107, 53, 0), rgba(255, 107, 53, 0.9), rgba(79, 140, 255, 0.85), rgba(79, 140, 255, 0));
    }

    /* ── Alternating light / dark islands ──────────────── */
    main .island:nth-of-type(even) {
      background: #1a2236 !important;
      border-color: rgba(255, 255, 255, 0.07) !important;
      box-shadow:
        0 4px 32px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 0 90px rgba(79, 140, 255, 0.12),
        0 0 110px rgba(255, 107, 53, 0.10);
    }
    main .island:nth-of-type(even) .section-head h2,
    main .island:nth-of-type(even) h2 {
      color: #ffffff;
    }
    main .island:nth-of-type(even) .section-head p,
    main .island:nth-of-type(even) > p {
      color: rgba(255, 255, 255, 0.65);
    }
    main .island:nth-of-type(even) .card {
      background: #ffffff;
      border-color: rgba(255, 255, 255, 0.12);
    }
    main .island:nth-of-type(even) .card h3 a { color: var(--text); }
    main .island:nth-of-type(even) .card h3 a:hover { color: var(--primary); }
    main .island:nth-of-type(even) .card p { color: var(--muted); }
    main .island:nth-of-type(even) .cards {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: flex-start;
      gap: 14px;
    }
    main .island:nth-of-type(even) .cards .card {
      flex: 0 1 calc(25% - 11px);
      min-width: 220px;
      height: fit-content;
    }
    main .island:nth-of-type(even) .faq-item summary { color: #ffffff; }
    main .island:nth-of-type(even) .faq-item p { color: rgba(255,255,255,0.7); }
    main .island:nth-of-type(even) details[open] { border-color: rgba(255,255,255,0.15); }

    /* ── Blog pages: reset alternating (keep all light) ── */
    .page-blog main .island:nth-of-type(even) {
      background: var(--surface) !important;
      border-color: #edf1f7 !important;
      box-shadow: var(--shadow-soft), 0 0 0 1px rgba(255,255,255,0.7) inset !important;
    }
    .page-blog main .island:nth-of-type(even) .section-head h2,
    .page-blog main .island:nth-of-type(even) h2 { color: var(--text); }
    .page-blog main .island:nth-of-type(even) .section-head p { color: var(--muted); }
    .page-blog main .island:nth-of-type(even) .faq-item summary { color: var(--text); }
    .page-blog main .island:nth-of-type(even) .faq-item p { color: var(--muted); }

    .island::after {
      content: "";
      position: absolute;
      width: 360px;
      height: 360px;
      right: -140px;
      top: -160px;
      border-radius: 50%;
      pointer-events: none;
      background: radial-gradient(circle, rgba(255, 107, 53, 0.12), rgba(79, 140, 255, 0.06) 42%, transparent 70%);
      filter: blur(6px);
      opacity: 1;
      animation: glowOrbitA 20s ease-in-out infinite;
    }

    .island .shine {
      position: absolute;
      top: 0;
      bottom: 0;
      left: -34%;
      width: 28%;
      transform: skewX(-16deg);
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
      opacity: 0;
      pointer-events: none;
    }

    .island:hover {
      transform: scale(1.014);
      z-index: 2;
      border-color: rgba(255, 107, 53, 0.35);
      filter: saturate(1.08) contrast(1.03);
      box-shadow:
        0 20px 52px rgba(19, 33, 68, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.82) inset,
        0 0 160px rgba(79, 140, 255, 0.42),
        0 0 210px rgba(255, 107, 53, 0.5);
    }

    .island:hover::after {
      filter: blur(10px);
      opacity: 1;
      transform: scale(1.14);
    }

    .island:hover .shine {
      opacity: 1;
      animation: shineSweep 1.25s ease;
    }

    main .island:nth-of-type(1) { animation: floatA 19s ease-in-out infinite; }
    main .island:nth-of-type(2) { animation: floatB 23s ease-in-out infinite; }
    main .island:nth-of-type(3) { animation: floatC 21s ease-in-out infinite; }
    main .island:nth-of-type(4) { animation: floatD 25s ease-in-out infinite; }

    main .island:nth-of-type(2)::after {
      right: auto;
      left: -150px;
      top: auto;
      bottom: -170px;
      animation: glowOrbitB 24s ease-in-out infinite;
      background: radial-gradient(circle, rgba(79, 140, 255, 0.14), rgba(255, 107, 53, 0.09) 46%, transparent 72%);
    }

    main .island:nth-of-type(3)::after {
      right: -120px;
      top: auto;
      bottom: -180px;
      animation: glowOrbitC 22s ease-in-out infinite;
      background: radial-gradient(circle, rgba(103, 84, 255, 0.13), rgba(79, 140, 255, 0.08) 44%, transparent 72%);
    }

    main .island:nth-of-type(4)::after {
      right: auto;
      left: -160px;
      top: -160px;
      animation: glowOrbitD 26s ease-in-out infinite;
      background: radial-gradient(circle, rgba(255, 107, 53, 0.16), rgba(255, 190, 106, 0.1) 40%, transparent 72%);
    }

    .hero {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: clamp(18px, 4vw, 36px);
      align-items: center;
      min-height: 440px;
      background:
        radial-gradient(420px 250px at 88% 16%, rgba(79, 140, 255, 0.24), transparent 70%),
        radial-gradient(520px 300px at 12% 84%, rgba(255, 107, 53, 0.24), transparent 72%),
        linear-gradient(180deg, #f4f6fb 0%, #e9edf5 100%);
      border: 1px solid #e2e8f0;
      border-radius: var(--radius-xl);
      padding: clamp(18px, 3vw, 32px);
      box-shadow: var(--shadow-soft);
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      border: 1px solid #ffe3d8;
      background: #fff7f2;
      color: #c44a1f;
      font-weight: 700;
      font-size: 13px;
      padding: 8px 12px;
      border-radius: 999px;
      margin-bottom: 16px;
    }

    h1 {
      margin: 0;
      font-size: clamp(34px, 5vw, 58px);
      line-height: 1.05;
      letter-spacing: -0.03em;
    }

    .lead {
      margin: 16px 0 0;
      color: var(--muted);
      font-size: clamp(16px, 2vw, 20px);
      max-width: 52ch;
    }

    .hero-actions {
      margin-top: 28px;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 18px;
      border-radius: 12px;
      font-weight: 700;
      border: 1px solid transparent;
      transition: 0.25s ease;
    }

    .btn-primary {
      background: var(--primary);
      color: #fff;
      box-shadow: var(--shadow-glow);
    }

    .btn-primary:hover { background: var(--primary-strong); transform: translateY(-1px); }

    .btn-ghost {
      background: #fff;
      border-color: var(--line);
      color: #334155;
    }

    .btn-ghost:hover { border-color: #cfd7e4; }

    .hero-panel {
      background: rgba(255, 255, 255, 0.82);
      border: 1px solid #ecf0f6;
      border-radius: var(--radius-lg);
      padding: 18px;
      box-shadow: var(--shadow-soft);
    }

    .hero-panel h3 {
      margin: 0 0 10px;
      font-size: 19px;
    }

    .pill-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .pill-list li {
      background: var(--surface-soft);
      border: 1px solid #e8edf4;
      padding: 7px 10px;
      border-radius: 999px;
      font-size: 13px;
      color: #4b5563;
      transition: background 0.18s, border-color 0.18s, color 0.18s;
      cursor: pointer;
    }

    .pill-list li a {
      color: inherit;
      text-decoration: none;
      display: block;
    }

    .pill-list li:hover {
      background: rgba(255, 107, 53, 0.08);
      border-color: rgba(255, 107, 53, 0.4);
      color: var(--primary);
    }

    .section-head {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 16px;
      margin-bottom: 18px;
    }

    .section-head h2 {
      margin: 0;
      font-size: clamp(24px, 3vw, 38px);
      letter-spacing: -0.02em;
    }

    .section-head p {
      margin: 0;
      color: var(--muted);
      max-width: 56ch;
    }

    .cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 16px;
      align-items: start;
    }

    /* Generic grid layout for card sections */
    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
      gap: 14px;
    }

    .card {
      width: 100%;
      min-width: 0;
      background: #f4f7fc;
      border: 1px solid #dde4f0;
      border-radius: var(--radius-lg);
      padding: 16px;
      transition: 0.28s ease;
      position: relative;
      overflow: hidden;
      animation: cardBreath 7s ease-in-out infinite;
      display: flex;
      flex-direction: column;
    }

    .card::before {
      content: "";
      position: absolute;
      top: -150%;
      left: -40%;
      width: 44%;
      height: 300%;
      transform: rotate(18deg);
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
      opacity: 0;
      pointer-events: none;
    }

    .card:nth-child(2n) { animation-duration: 8.5s; }
    .card:nth-child(3n) { animation-duration: 9.5s; }
    .card:nth-child(4n) { animation-delay: 1.2s; }

    .card::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--primary), var(--accent));
      transform: scaleX(0);
      transform-origin: left;
      transition: 0.28s ease;
    }

    .card:hover {
      transform: translateY(-8px) scale(1.035);
      box-shadow:
        0 16px 34px rgba(19, 33, 68, 0.14),
        0 0 80px rgba(255, 107, 53, 0.35),
        0 0 70px rgba(79, 140, 255, 0.26);
      border-color: rgba(255, 107, 53, 0.38);
      background: linear-gradient(180deg, #ffffff, #fff8f4);
      animation-play-state: paused;
      z-index: 3;
    }

    .card:hover::before {
      opacity: 1;
      animation: cardShine 0.95s ease;
    }

    .card:hover h3 {
      color: #c84b1f;
    }

    .card:hover::after { transform: scaleX(1); }

    .card-gallery {
      position: relative;
      width: calc(100% + 32px);
      height: 180px;
      margin: -16px -16px 14px -16px;
      overflow: hidden;
      border-radius: var(--radius-lg) var(--radius-lg) 0 0;
      background: linear-gradient(135deg, #f5f7fa 0%, #eef2f7 100%);
    }

    .card-gallery img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      filter: blur(0px);
      transition: opacity 1.4s ease-in-out, filter 1.4s ease-in-out, transform 0s linear;
      will-change: opacity, filter, transform;
    }

    .card-gallery img.active {
      opacity: 1;
      filter: blur(0px);
      animation: kenBurns 5s ease-in-out forwards;
    }

    .card-gallery img.fading-out {
      opacity: 0;
      filter: blur(4px);
      z-index: 1;
    }

    @keyframes kenBurns {
      0% {
        transform: scale(1) translate(0, 0);
      }
      100% {
        transform: scale(1.12) translate(var(--pan-x, -3%), var(--pan-y, -2%));
      }
    }

    .card-gallery img:nth-child(2n) {
      --pan-x: 3%;
      --pan-y: -3%;
    }

    .card-gallery img:nth-child(3n) {
      --pan-x: -2%;
      --pan-y: 3%;
    }

    .card-gallery img:nth-child(4n) {
      --pan-x: 2%;
      --pan-y: 2%;
    }

    .card:hover .card-gallery img.active {
      animation-play-state: paused;
    }

    .icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      background: #fff6f2;
      border: 1px solid #ffe3d7;
      font-size: 21px;
      margin-bottom: 10px;
    }

    .card h3 {
      margin: 0 0 8px;
      font-size: 19px;
      font-weight: 600;
      letter-spacing: -0.01em;
    }

    .card h3 a {
      color: inherit;
      text-decoration: none;
      border-bottom: 1px dashed transparent;
      transition: border-color 0.2s ease;
    }

    .card h3 a:hover {
      border-bottom-color: rgba(255, 107, 53, 0.5);
    }

    .card p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.55;
    }

    .split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }

    .mini {
      background: #fff;
      border: 1px solid #ecf0f6;
      border-radius: var(--radius-lg);
      padding: 18px;
    }

    .mini h3 {
      margin: 0 0 10px;
      font-size: 19px;
    }

    .check {
      margin: 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 9px;
    }

    .check li {
      color: #334155;
      padding-left: 22px;
      position: relative;
      line-height: 1.4;
    }

    .check li::before {
      content: "✓";
      position: absolute;
      left: 0;
      top: 0;
      color: var(--primary);
      font-weight: 800;
    }

    .cta {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 16px;
      align-items: center;
      background:
        radial-gradient(340px 200px at 80% 30%, rgba(79, 140, 255, 0.15), transparent 72%),
        radial-gradient(320px 220px at 20% 80%, rgba(255, 107, 53, 0.15), transparent 72%),
        #fff;
    }

    .cta h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 40px); }
    .cta p { margin: 0; color: var(--muted); }

    .contact-box {
      background: #fff;
      border: 1px solid #e8edf5;
      border-radius: var(--radius-lg);
      padding: 16px;
      text-align: center;
    }

    .contact-box strong { display: block; margin-bottom: 8px; }

    .faq-list {
      display: grid;
      gap: 10px;
    }

    .faq-item {
      background: #fff;
      border: 1px solid #e8edf4;
      border-radius: 14px;
      padding: 12px 14px;
    }

    .faq-item summary {
      cursor: pointer;
      font-weight: 700;
      color: #1f2937;
      list-style: none;
    }

    .faq-item summary::-webkit-details-marker { display: none; }

    .faq-item summary::after {
      content: "+";
      float: right;
      color: var(--primary);
      font-size: 18px;
      line-height: 1;
    }

    .faq-item[open] summary::after { content: "−"; }

    .faq-item p {
      margin: 10px 0 0;
      color: var(--muted);
      line-height: 1.55;
    }

    .reveal {
      opacity: 0;
      transform: translateY(24px) scale(0.992);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.in-view {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    @keyframes floatA {
      0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
      25% { transform: translate3d(4px, -5px, 0) rotate(-0.2deg); }
      50% { transform: translate3d(-3px, 3px, 0) rotate(0.15deg); }
      75% { transform: translate3d(5px, 2px, 0) rotate(-0.1deg); }
    }

    @keyframes floatB {
      0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
      22% { transform: translate3d(-5px, 4px, 0) rotate(0.18deg); }
      54% { transform: translate3d(3px, -4px, 0) rotate(-0.2deg); }
      78% { transform: translate3d(-4px, -2px, 0) rotate(0.12deg); }
    }

    @keyframes floatC {
      0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
      30% { transform: translate3d(5px, 3px, 0) rotate(-0.15deg); }
      60% { transform: translate3d(-4px, -5px, 0) rotate(0.2deg); }
      84% { transform: translate3d(2px, 4px, 0) rotate(-0.08deg); }
    }

    @keyframes floatD {
      0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
      18% { transform: translate3d(-3px, -4px, 0) rotate(0.12deg); }
      48% { transform: translate3d(4px, 5px, 0) rotate(-0.16deg); }
      82% { transform: translate3d(-5px, 1px, 0) rotate(0.1deg); }
    }

    @keyframes glowOrbitA {
      0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.82; }
      50% { transform: translate3d(-22px, 18px, 0) scale(1.08); opacity: 1; }
    }

    @keyframes glowOrbitB {
      0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.82; }
      50% { transform: translate3d(18px, -20px, 0) scale(1.1); opacity: 1; }
    }

    @keyframes glowOrbitC {
      0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.78; }
      50% { transform: translate3d(-18px, -24px, 0) scale(1.06); opacity: 0.98; }
    }

    @keyframes glowOrbitD {
      0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.84; }
      50% { transform: translate3d(24px, 14px, 0) scale(1.12); opacity: 1; }
    }

    @keyframes cardBreath {
      0%, 100% { box-shadow: 0 6px 20px rgba(19, 33, 68, 0.06); }
      50% { box-shadow: 0 10px 28px rgba(79, 140, 255, 0.12); }
    }

    @keyframes shineSweep {
      0% { left: -38%; }
      100% { left: 128%; }
    }

    @keyframes cardShine {
      0% { left: -45%; }
      100% { left: 140%; }
    }

    /* Legacy footer rule removed — use .site-footer */

    @media (max-width: 1080px) {
      .card {
        flex-basis: calc(33.333% - 14px);
        max-width: calc(33.333% - 10px);
      }
      .hero { grid-template-columns: 1fr; }
      .cta { grid-template-columns: 1fr; }
    }

    @media (max-width: 760px) {
      .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
      .theme-switch {
        position: absolute;
        top: 74px;
        left: 0;
        right: auto;
      }
      .nav {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        background: #fff;
        border: 1px solid #e8edf5;
        border-radius: 14px;
        box-shadow: var(--shadow-soft);
        padding: 10px;
        flex-direction: column;
        min-width: 170px;
        width: min(calc(100vw - 20px), 340px);
        max-width: calc(100vw - 20px);
        align-items: stretch;
        overflow-x: hidden;
      }
      .nav.open { display: flex; }
      .nav a {
        padding: 8px 10px;
        border-radius: 8px;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
      }
      .nav a:hover { background: #f8fafc; }
      .topbar { position: relative; }
      /* Dropdown mobile: show inline */
      .nav-has-dropdown { width: 100%; }
      .nav-has-dropdown .nav-dropdown-toggle { width: 100%; }
      .nav-dropdown-menu {
        display: flex;
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 2px solid #e8edf5;
        border-radius: 0;
        padding: 2px 0 2px 8px;
        background: transparent;
        min-width: unset;
        width: 100%;
        max-width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
      }
      .nav-has-dropdown:hover .nav-dropdown-menu,
      .nav-has-dropdown.open .nav-dropdown-menu {
        max-height: 600px;
      }
      .nav-dropdown-menu a {
        font-size: 13px;
        padding: 5px 8px !important;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
      }
      .split { grid-template-columns: 1fr; }
      .card {
        flex-basis: calc(50% - 14px);
        max-width: calc(50% - 7px);
      }
    }

    @media (max-width: 560px) {
      .shell { width: min(var(--max), calc(100% - 20px)); }
      .card {
        flex-basis: 100%;
        max-width: 100%;
        min-width: 0;
      }
      .hero-actions { flex-direction: column; }
      .btn { width: 100%; }
      .logo img { height: 58px; }
      .theme-btn { padding: 7px 8px; font-size: 11px; }
    }

    @media (prefers-reduced-motion: reduce) {
      .island,
      .island::after,
      .card {
        animation: none !important;
      }

      .reveal,
      .reveal.in-view {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
      }
    }
/* Service Page Styles */
header[role="banner"] {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav[role="navigation"] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px clamp(16px, 4vw, 32px);
  max-width: var(--max);
  margin: 0 auto;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 600;
  color: #3a445a;
  opacity: 0.88;
  transition: all 0.22s ease;
}

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

    .container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) 0;
  min-width: 0;
}

section {
  padding: clamp(40px, 8vw, 80px) 0;
}

.hero-service {
  background:
    radial-gradient(420px 250px at 88% 16%, rgba(79, 140, 255, 0.24), transparent 70%),
    radial-gradient(520px 300px at 12% 84%, rgba(255, 107, 53, 0.24), transparent 72%),
    #fff;
  border-radius: var(--radius-xl);
  padding: clamp(32px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 5vw, 48px);
  align-items: center;
  margin: 0 clamp(16px, 4vw, 32px);
  box-shadow: var(--shadow-soft);
}

.hero-text h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-text p {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-image {
  font-size: clamp(80px, 12vw, 140px);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 107, 53, 0.18);
  aspect-ratio: 1;
}

.hero-image-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 107, 53, 0.18);
  box-shadow: 0 12px 32px rgba(19, 33, 68, 0.12);
  background: linear-gradient(135deg, #f5f7fa, #eef2f7);
}

.gallery-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.gallery-img.active {
  opacity: 1;
}

.description-section {
  background: var(--bg);
}

.description-content {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
  min-width: 0;
}

.description-text h2 {
  margin: 0 0 20px;
  font-size: clamp(26px, 3.5vw, 40px);
  letter-spacing: -0.02em;
}

.description-text p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.description-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.description-box h3 {
  margin: 0 0 18px;
  font-size: 20px;
}

.description-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.description-box li {
  position: relative;
  padding-left: 24px;
  color: #334155;
  line-height: 1.5;
}

.description-box li::before {
  content: "";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.02em;
  margin: 0 0 clamp(28px, 5vw, 48px);
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 18px);
  max-width: 64ch;
  margin: -20px auto 40px;
  line-height: 1.6;
}

.benefits-section {
  background: #fff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.benefit-card {
  background: var(--surface-soft);
  border: 1px solid #e8edf4;
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.28s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 28px rgba(19, 33, 68, 0.1),
    0 0 60px rgba(255, 107, 53, 0.18);
  border-color: rgba(255, 107, 53, 0.3);
}

.benefit-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.how-we-work {
  background: var(--bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.28s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(79, 140, 255, 0.15);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.step h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.faq-section {
  background: #fff;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: #1f2937;
  cursor: pointer;
  padding: 4px 0;
  user-select: none;
}

.faq-toggle {
  font-size: 18px;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  margin: 12px 0 0;
}

.cta-section {
  background:
    radial-gradient(520px 280px at 80% 20%, rgba(79,140,255,0.18), transparent 65%),
    radial-gradient(460px 260px at 15% 80%, rgba(255,107,53,0.18), transparent 65%),
    #fff;
  border: 1px solid #edf1f7;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 68px);
  text-align: center;
  margin: 0 0 clamp(40px, 8vw, 80px);
  box-shadow:
    var(--shadow-soft),
    0 0 0 1px rgba(255,255,255,0.7) inset,
    0 0 80px rgba(79,140,255,0.12),
    0 0 100px rgba(255,107,53,0.1);
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(79,140,255,0), rgba(255,107,53,0.8), rgba(79,140,255,0.75), rgba(79,140,255,0));
  pointer-events: none;
}

.cta-section h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.02em;
}

.cta-section p {
  color: var(--muted);
  margin: 0 0 28px;
  font-size: clamp(16px, 2vw, 18px);
}

.cta-section a:not(.btn) {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--primary);
  transition: all 0.2s ease;
}

.cta-section a:not(.btn):hover {
  color: var(--primary-strong);
  border-bottom-color: var(--primary-strong);
}

.cta-section .btn,
.cta-section button.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), #e8521a);
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 100px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s ease;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
  letter-spacing: 0.01em;
}

.cta-section .btn:hover,
.cta-section button.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 107, 53, 0.45);
  background: linear-gradient(135deg, #ff7a4a, #d4471a);
}

/* Legacy footer rule removed — use .site-footer */

@media (max-width: 900px) {
  .hero-service {
    grid-template-columns: 1fr;
  }
  
  .description-content {
    grid-template-columns: 1fr;
  }
  
  .hero-image {
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  
  .benefits-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BUTTON SIZES & NAV CTA
   ============================================================ */
.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
  border-radius: 10px;
}

.nav-quote {
  white-space: nowrap;
}

.btn-secondary {
  background: var(--surface-soft);
  color: var(--text);
  border: 1.5px solid var(--line);
}

.btn-secondary:hover {
  background: var(--line);
  border-color: var(--muted);
}

@media (max-width: 760px) {
  .nav-quote {
    font-size: 12px;
    padding: 7px 12px;
  }
}

/* ============================================================
   BOOKING MODAL
   ============================================================ */
.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(18, 24, 38, 0.7);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.modal-content {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(18, 24, 38, 0.25);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  z-index: 1;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--surface-soft);
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--line);
  color: var(--text);
  transform: rotate(90deg);
}

.modal-content h2 {
  margin: 0 0 8px;
  font-size: 28px;
  color: var(--text);
}

.modal-subtitle {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 15px;
}

/* ============================================================
   FORMS
   ============================================================ */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input[type="file"] {
  padding: 10px;
  cursor: pointer;
  font-size: 14px;
}

.form-group input[type="file"]::file-selector-button {
  padding: 8px 16px;
  margin-right: 12px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.form-group input[type="file"]::file-selector-button:hover {
  background: var(--primary-strong);
  transform: translateY(-1px);
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  justify-content: flex-end;
}

.form-actions .btn {
  min-width: 140px;
}

.form-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 640px) {
  .modal-content { padding: 28px 20px; }
  .modal-content h2 { font-size: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; min-width: 0; }
}

/* ============================================================
   SUB-PAGE ORANGE HERO BANNER
   ============================================================ */
.page-hero {
  background:
    linear-gradient(135deg, #ff6b35 0%, #e8521a 60%, #c43d10 100%);
  color: #fff;
  padding: clamp(52px, 9vw, 88px) clamp(16px, 4vw, 32px);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 120%, rgba(255,255,255,0.12), transparent);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(26px, 5vw, 46px);
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  position: relative;
}

.page-hero p {
  margin: 0 auto;
  font-size: clamp(15px, 2vw, 18px);
  opacity: 0.9;
  max-width: 62ch;
  line-height: 1.65;
  position: relative;
}

/* ============================================================
   CONTENT BOX (sub-pages) — island design language
   ============================================================ */
.content {
  background:
    radial-gradient(560px circle at 90% 10%, rgba(255,107,53,0.07), transparent 50%),
    radial-gradient(480px circle at 10% 90%, rgba(79,140,255,0.06), transparent 52%),
    #fff;
  border: 1px solid #edf1f7;
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 52px);
  margin-bottom: 28px;
  box-shadow:
    var(--shadow-soft),
    0 0 0 1px rgba(255,255,255,0.7) inset,
    0 0 60px rgba(79,140,255,0.1),
    0 0 80px rgba(255,107,53,0.08);
  position: relative;
  overflow: hidden;
}
.content::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,107,53,0), rgba(255,107,53,0.8), rgba(79,140,255,0.75), rgba(79,140,255,0));
  pointer-events: none;
}

.content {
  color: var(--primary);
  margin-top: 36px;
  margin-bottom: 14px;
  font-size: clamp(20px, 2.5vw, 26px);
  letter-spacing: -0.01em;
}
.content h2:first-child { margin-top: 0; }
  min-width: 0;
.content h3 { margin-top: 28px; margin-bottom: 10px; font-size: clamp(17px, 2vw, 20px); }
.content p { color: var(--muted); line-height: 1.75; margin-bottom: 14px; }

/* Lists with orange checkmark bullets */
.content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
}
.content ul li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  line-height: 1.6;
}
.content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
  font-size: 15px;
}
.content ul li strong { color: #1e2a3a; }

.content ol {
  padding-left: 20px;
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
}
.content ol li { color: var(--muted); line-height: 1.65; padding-left: 6px; }
.content ol li strong { color: #1e2a3a; }

/* FAQ — DL/DT/DD */
.content dl {
  margin: 0;
  display: grid;
  gap: 0;
}
.content dt {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  padding: 16px 20px;
  font-weight: 700;
  color: #1e2a3a;
  font-size: 15px;
  margin-top: 12px;
  cursor: default;
}
.content dt:first-of-type { margin-top: 0; }
.content dt strong { font-weight: 700; color: #1e2a3a; }
.content dd {
  background: #fff;
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 14px 20px 18px;
  margin: 0 0 4px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

/* ============================================================
   BLOG / ARTICLE STYLES
   ============================================================ */
.blog-hero {
  background:
    linear-gradient(135deg, #1a2540 0%, #0f1923 100%);
  color: #fff;
  padding: clamp(40px, 7vw, 72px) clamp(16px, 4vw, 32px);
  margin-bottom: 0;
}
.blog-hero .shell {
  max-width: 800px;
  margin: 0 auto;
}

.blog-hero h1 {
  font-size: clamp(24px, 4vw, 44px);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.blog-hero p {
  color: rgba(255,255,255,0.75);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.65;
  margin: 0;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
  margin-bottom: 20px;
  font-size: 13px;
}
.article-meta .category {
  background: rgba(255,107,53,0.9);
  color: #fff;
  padding: 3px 12px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.article-meta .date,
.article-meta .read-time {
  color: rgba(255,255,255,0.6);
}

/* Article body — narrow column for readability */
.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 60px) 0;
  line-height: 1.8;
}
.article-body p { color: var(--muted); margin-bottom: 18px; }
.article-body ul,
.article-body ol { color: var(--muted); margin: 0 0 20px; padding-left: 22px; display: grid; gap: 8px; }
.article-body li { line-height: 1.65; }
.article-body ul li { list-style: none; position: relative; padding-left: 22px; }
.article-body ul li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.article-body h2 {
  font-size: clamp(20px, 3vw, 28px);
  margin: 36px 0 14px;
  color: #1e2a3a;
  letter-spacing: -0.01em;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: clamp(17px, 2.5vw, 22px); margin: 24px 0 10px; }
.article-body strong { color: #1e2a3a; }

.related-articles {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 40px;
}

.article-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #ff8855 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}

.article-cta h2 { color: white; margin-top: 0; }
.article-cta .btn {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 16px;
  transition: 0.2s ease;
}
.article-cta .btn:hover { transform: scale(1.04); }

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 24px 0;
}

.simple-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: 0.22s ease;
  display: block;
  color: inherit;
}

.simple-card:hover {
  box-shadow: 0 8px 24px rgba(19, 33, 68, 0.12);
  transform: translateY(-2px);
  border-color: rgba(255, 107, 53, 0.3);
}

.simple-card h3 { margin: 0 0 10px; font-size: 20px; color: var(--primary); }
.simple-card p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.simple-card .read-more { color: var(--primary); font-weight: 600; font-size: 14px; }

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: #0f1923;
  color: #94a3b8;
  margin-top: 64px;
  padding-top: 56px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand p {
  margin: 14px 0 12px;
  font-size: 14px;
  line-height: 1.65;
  color: #64748b;
}

.footer-logo {
  height: 48px;
  width: auto;
  opacity: 0.85;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}

.footer-logo-link:hover .footer-logo { opacity: 1; }

.footer-email {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  word-break: break-all;
  transition: color 0.2s ease;
}

.footer-email:hover { color: var(--primary-strong); }

.footer-col h4 {
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col ul a {
  color: #64748b;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col ul a:hover { color: var(--primary); }

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 28px;
  font-size: 13px;
  color: #475569;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .footer-bar { flex-direction: column; text-align: center; gap: 8px; }
}

/* ============================================================
   RESPONSIVE — SERVICE & BLOG PAGES
   ============================================================ */

/* Container padding on mobile */
@media (max-width: 640px) {
  .page-hero {
    padding: 40px 16px 44px;
  }
  .page-hero h1 {
    font-size: clamp(22px, 7vw, 32px);
  }
  .content {
    padding: 20px 16px;
    border-radius: 12px;
  }
  .cta-section {
    margin: 0 0 40px;
    padding: 28px 16px;
    border-radius: 16px;
  }
  .cta-section h2 {
    font-size: clamp(22px, 6vw, 28px);
  }
  .cta-section .btn,
  .cta-section button.btn {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: 16px;
  }
  .blog-hero {
    padding: 32px 16px 36px;
  }
  .article-body {
    padding: 24px 0 40px;
  }
  .content dd, .content dt {
    padding: 12px 14px;
  }
}

/* ============================================================
   BLOG INDEX PAGE
   ============================================================ */

/* Page hero */
.blog-index-hero {
  background: linear-gradient(135deg, #0f1923 0%, #1a2540 60%, #ff6b35 200%);
  color: #fff;
  padding: clamp(48px, 8vw, 80px) 0 clamp(40px, 6vw, 60px);
  text-align: center;
}
.blog-index-hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: #fff;
  line-height: 1.1;
}
.blog-index-hero p {
  color: rgba(255,255,255,0.72);
  font-size: clamp(15px, 2vw, 19px);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Featured (hero) article */
.blog-featured {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  margin: 40px 0 48px;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 16px 48px rgba(15,25,35,0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.blog-featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 64px rgba(15,25,35,0.28);
}
.blog-featured-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.blog-featured:hover .blog-featured-img {
  transform: scale(1.03);
}
.blog-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,18,28,0.88) 0%, rgba(10,18,28,0.45) 50%, rgba(10,18,28,0.1) 100%);
}
.blog-featured-body {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 4vw, 40px);
  width: 100%;
  max-width: 720px;
}
.blog-featured-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.blog-featured-body h2 {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #fff;
  letter-spacing: -0.02em;
}
.blog-featured-body p {
  color: rgba(255,255,255,0.78);
  font-size: clamp(14px, 1.8vw, 17px);
  margin: 0 0 20px;
  line-height: 1.6;
}
.blog-featured-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
}
.blog-featured-meta span { display: flex; align-items: center; gap: 5px; }

/* Blog card grid */
.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
  min-width: 0;
}

.blog-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(15,25,35,0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15,25,35,0.13);
}
.blog-card-thumb {
  width: 100%;
  height: 190px;
  overflow: hidden;
  position: relative;
}
.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.blog-card:hover .blog-card-thumb img {
  transform: scale(1.05);
}
.blog-card-body {
  padding: 20px 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-cat {
  display: inline-block;
  background: rgba(255,107,53,0.1);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
  align-self: flex-start;
}
.blog-card-body h3 {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.3;
  color: #1e2a3a;
  letter-spacing: -0.01em;
}
.blog-card-body p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}
.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  font-size: 13px;
  color: #94a3b8;
}
.blog-card-footer .read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
}

/* Blog category grid */
.blog-cats-section {
  margin: 0 0 56px;
}
.blog-cats-section h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  margin: 0 0 8px;
  color: #1e2a3a;
  letter-spacing: -0.02em;
}
.blog-cats-section > p {
  color: var(--muted);
  margin: 0 0 28px;
}
.blog-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  min-width: 0;
}
.blog-cat-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 160px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 16px rgba(15,25,35,0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  min-width: 0;
}
.blog-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15,25,35,0.2);
}
.blog-cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-cat-card:hover img { transform: scale(1.06); }
.blog-cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,18,28,0.78) 0%, rgba(10,18,28,0.15) 100%);
}
.blog-cat-card-body {
  position: relative;
  z-index: 2;
  padding: 16px 18px;
  width: 100%;
}
.blog-cat-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #fff;
  line-height: 1.25;
}
.blog-cat-card-body p {
  font-size: 12px;
  color: rgba(255,255,255,0.68);
  margin: 0;
  line-height: 1.4;
}

/* Section label */
.blog-section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.blog-section-label h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  margin: 0;
  color: #1e2a3a;
  letter-spacing: -0.02em;
}
.blog-section-label::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
}

/* Blog index responsive */
@media (max-width: 900px) {
  .blog-card-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .blog-card-grid { grid-template-columns: 1fr; }
  .blog-cat-grid { grid-template-columns: 1fr; }
  .blog-featured { min-height: 320px; }
  .blog-cat-card {
    height: auto;
    min-height: 130px;
    aspect-ratio: 16 / 10;
  }
}

/* Nav mobile open state */
@media (max-width: 760px) {
  .nav {
    display: none;
    position: fixed;
    top: 84px;
    left: 10px;
    right: 10px;
    background: #f4f6fb;
    border: 1px solid #d6deeb;
    border-radius: var(--radius-lg);
    padding: 10px;
    box-shadow: 0 16px 40px rgba(19,33,68,0.14);
    z-index: 200;
    flex-direction: column;
    align-items: stretch;
    width: auto;
    max-width: none;
    max-height: min(calc(100vh - 110px), 75vh);
    overflow-x: hidden;
    overflow-y: auto;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .nav a:last-child {
    border-bottom: none;
  }
  .topbar-right {
    position: relative;
    min-width: 0;
  }
  .nav-quote {
    display: none;
  }
  .nav-has-dropdown,
  .nav-has-dropdown .nav-dropdown-toggle,
  .nav-dropdown-menu,
  .cards,
  .grid,
  .footer-cols,
  .description-content,
  .blog-card-grid,
  .blog-cat-grid,
  .content-grid,
  .benefits-grid,
  .steps-grid,
  .split {
    min-width: 0;
  }
  /* Ensure reveal items stay visible on small screens even if JS is blocked */
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nav-dropdown-menu {
    display: flex;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid #e8edf5;
    border-radius: 0;
    padding: 2px 0 2px 8px;
    background: transparent;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-has-dropdown:hover .nav-dropdown-menu,
  .nav-has-dropdown.open .nav-dropdown-menu {
    max-height: 600px;
  }
  .nav-dropdown-menu a {
    font-size: 13px;
    padding: 5px 8px !important;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 480px) {
  .nav {
    top: 78px;
    left: 8px;
    right: 8px;
    max-height: min(calc(100vh - 96px), 78vh);
  }
  .topbar {
    gap: 10px;
    padding: 8px 12px;
  }
  .logo img {
    height: 52px;
  }
  .container,
  .shell {
    width: min(var(--max), calc(100% - 20px));
  }
  .blog-card-grid,
  .blog-cat-grid,
  .content-grid,
  .benefits-grid,
  .steps-grid,
  .services-grid,
  .portfolio-grid,
  .locations-grid,
  .review-grid,
  .gallery-grid,
  .cards-grid,
  .features-grid,
  .cta-grid,
  .team-grid,
  .pricing-grid,
  .highlights-grid,
  .process-grid,
  .footer-cols,
  .description-content,
  .split {
    grid-template-columns: 1fr;
  }
  .blog-featured,
  .blog-card,
  .blog-cat-card,
  .service-card,
  .portfolio-card,
  .location-card,
  .review-card,
  .feature-card,
  .pricing-card,
  .card,
  .benefit-card,
  .simple-card,
  .content,
  .cta-section {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .blog-featured-body,
  .blog-card-body,
  .blog-cat-card-body,
  .content p,
  .content li,
  .content dd,
  .content dt,
  .cta-section p,
  .footer-col ul a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* Tablet adjustments */
@media (max-width: 900px) {
  .container {
    padding: 0 clamp(12px, 3vw, 24px);
  }
  .cta-section {
    margin: 0 0 clamp(32px, 6vw, 60px);
  }
}
