/*
Theme Name: CREATALOGY
Theme URI: https://creatalogy.com/
Author: EDDE CREATIVE
Author URI: https://creatalogy.com/
Description: Official CREATALOGY WordPress theme based on the approved CREATALOGY website design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: creatalogy
*/

:root {
      --navy: #06265d;
      --navy-2: #031d47;
      --blue: #075bd8;
      --blue-light: #eaf3ff;
      --green: #56c900;
      --green-dark: #3e9f00;
      --teal: #008d9a;
      --purple: #5032cd;
      --pink: #d31666;
      --orange: #f15a00;
      --text: #0b1637;
      --muted: #5f6980;
      --line: #dce5f1;
      --soft: #f6f9fe;
      --white: #ffffff;
      --shadow: 0 14px 34px rgba(5, 39, 93, 0.10);
      --radius: 18px;
      --container: 1480px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--text);
      background: var(--white);
      line-height: 1.6;
      overflow-x: hidden;
    }

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

    button {
      font: inherit;
    }

    .container {
      width: min(calc(100% - 40px), var(--container));
      margin-inline: auto;
    }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(220, 229, 241, 0.82);
    }

    .nav {
      min-height: 92px;
      display: flex;
      align-items: center;
      gap: 30px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }

    .brand-mark {
      width: 58px;
      height: 58px;
      display: block;
    }

    .brand-copy {
      display: flex;
      flex-direction: column;
      line-height: 1;
    }

    .brand-name {
      font-size: 28px;
      font-weight: 800;
      letter-spacing: 0.035em;
      color: var(--navy);
      white-space: nowrap;
    }

    .brand-name .logo-a {
      display: inline-block;
      position: relative;
      width: 0.84em;
      margin-inline: 0.02em;
      color: transparent;
    }

    .brand-name .logo-a::before,
    .brand-name .logo-a::after {
      content: "";
      position: absolute;
      bottom: 0.03em;
      left: 50%;
      transform-origin: bottom;
      border-radius: 2px;
    }

    .brand-name .logo-a::before {
      width: 0.18em;
      height: 0.88em;
      background: var(--green);
      transform: translateX(-0.28em) rotate(27deg);
    }

    .brand-name .logo-a::after {
      width: 0.18em;
      height: 0.88em;
      background: var(--green);
      transform: translateX(0.10em) rotate(-27deg);
    }

    .brand-tagline {
      margin-top: 7px;
      color: var(--blue);
      font-weight: 700;
      font-size: 13px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 22px;
      margin-left: auto;
      font-size: 14px;
      font-weight: 600;
    }

    .nav-links a {
      position: relative;
      padding-block: 13px;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      left: 0;
      right: 100%;
      bottom: 4px;
      height: 2px;
      background: var(--green);
      transition: right 0.25s ease;
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
      right: 0;
    }

    .nav-actions {
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .menu-btn {
      display: none;
      width: 46px;
      height: 46px;
      border-radius: 10px;
      border: 1px solid var(--line);
      background: #fff;
      color: var(--navy);
      font-size: 24px;
      cursor: pointer;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 46px;
      padding: 0 22px;
      border-radius: 10px;
      border: 1px solid transparent;
      font-weight: 800;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .btn:hover {
      transform: translateY(-2px);
    }

    .btn-primary {
      color: #fff;
      background: linear-gradient(135deg, var(--navy), var(--blue));
      box-shadow: 0 10px 24px rgba(7, 91, 216, 0.22);
    }

    .btn-green {
      color: #fff;
      background: linear-gradient(135deg, var(--green-dark), var(--green));
      box-shadow: 0 10px 24px rgba(86, 201, 0, 0.22);
    }

    .btn-outline {
      color: var(--blue);
      border-color: var(--blue);
      background: rgba(255, 255, 255, 0.90);
    }

    .hero {
      position: relative;
      min-height: 760px;
      overflow: hidden;
      background:
        linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.98) 35%, rgba(255,255,255,0.72) 52%, rgba(255,255,255,0.16) 78%),
        linear-gradient(180deg, #e9f6ff 0%, #fff 100%);
    }

    .hero-media {
      position: absolute;
      inset: 0 0 0 43%;
      background:
        linear-gradient(90deg, rgba(255,255,255,0.96), rgba(255,255,255,0.12) 42%, rgba(5,39,93,0.02)),
        url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1900&q=90") center/cover no-repeat;
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background:
        radial-gradient(circle at 88% 15%, rgba(7, 91, 216, 0.08), transparent 18%),
        repeating-radial-gradient(circle at 93% 8%, transparent 0 13px, rgba(7, 91, 216, 0.045) 14px 15px);
    }

    .hero-inner {
      position: relative;
      z-index: 2;
      min-height: 760px;
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      align-items: center;
      padding: 72px 0 64px;
    }

    .hero-copy {
      max-width: 770px;
      padding-right: 18px;
    }

    .hero h1 {
      font-size: clamp(64px, 7vw, 110px);
      line-height: 0.91;
      letter-spacing: -0.055em;
      color: var(--navy);
      max-width: 740px;
    }

    .hero h1 span {
      display: block;
      color: var(--green);
    }

    .journey-line {
      margin-top: 22px;
      font-size: clamp(18px, 2vw, 26px);
      font-weight: 650;
    }

    .journey-line strong {
      color: var(--green-dark);
    }

    .hero-support {
      margin-top: 34px;
      display: grid;
      grid-template-columns: 250px 1fr;
      gap: 26px;
      max-width: 770px;
    }

    .benefits {
      display: grid;
      gap: 18px;
      padding-right: 22px;
      border-right: 2px solid rgba(86, 201, 0, 0.42);
    }

    .benefit {
      display: grid;
      grid-template-columns: 40px 1fr;
      gap: 12px;
      align-items: start;
    }

    .benefit-icon {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      color: var(--blue);
      background: rgba(7, 91, 216, 0.08);
      border: 1px solid rgba(7, 91, 216, 0.16);
      font-weight: 900;
    }

    .benefit h3 {
      font-size: 15px;
      line-height: 1.25;
      margin-bottom: 3px;
    }

    .benefit p {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.45;
    }

    .hero-message .lead {
      font-size: 22px;
      line-height: 1.35;
      font-weight: 750;
      margin-bottom: 15px;
    }

    .hero-message > p:not(.lead) {
      color: #283550;
      font-size: 15px;
    }

    .hero-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 26px;
    }

    .hero-emblem {
      position: absolute;
      right: 6%;
      top: 125px;
      z-index: 3;
      text-align: center;
    }

    .hero-emblem .brand-mark {
      width: 172px;
      height: 172px;
      filter: drop-shadow(0 12px 24px rgba(5,39,93,0.12));
    }

    .hero-emblem p {
      margin-top: 8px;
      color: var(--blue-dark);
      font-weight: 800;
      font-size: 17px;
      line-height: 1.25;
    }

    .platform {
      position: relative;
      z-index: 5;
      margin-top: -54px;
      padding-bottom: 38px;
    }

    .card-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 16px;
    }

    .feature-card {
      --accent: var(--blue);
      min-height: 270px;
      padding: 24px;
      border-radius: var(--radius);
      border: 1px solid rgba(220, 229, 241, 0.96);
      background: rgba(255, 255, 255, 0.97);
      box-shadow: 0 10px 28px rgba(5, 39, 93, 0.08);
      transition: transform 0.22s ease, box-shadow 0.22s ease;
    }

    .feature-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 18px 38px rgba(5, 39, 93, 0.14);
    }

    .card-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 14px;
    }

    .num {
      color: var(--accent);
      font-size: 18px;
      font-weight: 900;
    }

    .icon-ring {
      width: 58px;
      height: 58px;
      border-radius: 50%;
      border: 1.5px solid color-mix(in srgb, var(--accent) 80%, white);
      display: grid;
      place-items: center;
      color: var(--accent);
      font-size: 24px;
      font-weight: 800;
    }

    .feature-card h2 {
      margin-top: 12px;
      color: var(--accent);
      font-size: 21px;
      line-height: 1.14;
    }

    .feature-card p {
      margin-top: 12px;
      color: #38445c;
      font-size: 14px;
    }

    .card-link {
      display: inline-flex;
      gap: 8px;
      align-items: center;
      margin-top: 18px;
      color: var(--accent);
      font-size: 14px;
      font-weight: 800;
    }

    .blue { --accent: #075bd8; }
    .green { --accent: #49a700; }
    .teal { --accent: #008f9d; }
    .purple { --accent: #5032cd; }
    .pink { --accent: #d31666; }
    .orange { --accent: #f15a00; }

    .statement {
      padding: 24px 0 68px;
    }

    .statement-box {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      overflow: hidden;
      border-radius: 22px;
      box-shadow: var(--shadow);
      background: linear-gradient(135deg, #032c70, #075bd8);
      color: #fff;
    }

    .statement-copy {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 22px;
      align-items: center;
      padding: 34px;
      background: radial-gradient(circle at 90% 0%, rgba(255,255,255,0.15), transparent 35%);
    }

    .statement-copy .brand-mark {
      width: 88px;
      height: 88px;
    }

    .statement-copy h2 {
      font-size: 24px;
      line-height: 1.2;
      margin-bottom: 8px;
    }

    .statement-copy p {
      color: rgba(255,255,255,0.86);
      font-size: 15px;
    }

    .statement-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 22px;
      padding: 34px;
      background: #fff;
      color: var(--navy);
    }

    .statement-actions strong {
      font-size: clamp(28px, 3vw, 48px);
      line-height: 1.05;
      font-weight: 550;
    }

    .statement-actions strong span {
      color: var(--green);
    }

    footer {
      border-top: 1px solid var(--line);
      background: #fff;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.6fr repeat(4, 1fr);
      gap: 42px;
      padding: 58px 0 42px;
    }

    .footer-brand p {
      margin-top: 18px;
      max-width: 390px;
      color: var(--muted);
      font-size: 14px;
    }

    .footer-brand strong {
      display: block;
      margin-top: 14px;
      color: var(--blue);
      font-size: 14px;
    }

    footer h3 {
      margin-bottom: 13px;
      color: var(--blue);
      font-size: 14px;
    }

    footer ul {
      list-style: none;
      display: grid;
      gap: 8px;
      color: #35415b;
      font-size: 14px;
    }

    .footer-bottom {
      background: linear-gradient(90deg, var(--navy-2), var(--blue));
      color: #fff;
    }

    .footer-bottom .container {
      min-height: 58px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      font-size: 13px;
    }

    @media (max-width: 1180px) {
      .nav-links {
        display: none;
      }

      .menu-btn {
        display: inline-grid;
        place-items: center;
        margin-left: auto;
      }

      .nav-actions {
        display: none;
      }

      .nav.open {
        flex-wrap: wrap;
        padding-bottom: 18px;
      }

      .nav.open .nav-links {
        display: grid;
        width: 100%;
        order: 4;
        gap: 4px;
        margin: 0;
      }

      .nav.open .nav-actions {
        display: flex;
        width: 100%;
        order: 5;
      }

      .card-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (max-width: 860px) {
      .hero {
        min-height: auto;
      }

      .hero-inner {
        min-height: auto;
        grid-template-columns: 1fr;
        padding: 54px 0 42px;
      }

      .hero-media {
        position: relative;
        inset: auto;
        height: 390px;
        background:
          linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.10)),
          url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1500&q=88") center/cover no-repeat;
      }

      .hero h1 {
        font-size: clamp(58px, 14vw, 92px);
      }

      .hero-support {
        grid-template-columns: 1fr;
      }

      .benefits {
        grid-template-columns: repeat(2, 1fr);
        padding-right: 0;
        border-right: 0;
      }

      .hero-emblem {
        top: auto;
        right: 26px;
        bottom: 235px;
      }

      .hero-emblem .brand-mark {
        width: 124px;
        height: 124px;
      }

      .platform {
        margin-top: -24px;
      }

      .card-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .statement-box {
        grid-template-columns: 1fr;
      }

      .statement-actions {
        align-items: flex-start;
        flex-direction: column;
      }

      .footer-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .footer-brand {
        grid-column: 1 / -1;
      }
    }

    @media (max-width: 560px) {
      .container {
        width: min(calc(100% - 24px), var(--container));
      }

      .nav {
        min-height: 76px;
      }

      .brand-mark {
        width: 46px;
        height: 46px;
      }

      .brand-name {
        font-size: 21px;
      }

      .brand-tagline {
        font-size: 11px;
      }

      .journey-line {
        font-size: 17px;
      }

      .benefits {
        grid-template-columns: 1fr;
      }

      .hero-media {
        height: 310px;
      }

      .hero-emblem {
        display: none;
      }

      .card-grid {
        grid-template-columns: 1fr;
      }

      .feature-card {
        min-height: auto;
      }

      .statement-copy {
        grid-template-columns: 1fr;
      }

      .footer-grid {
        grid-template-columns: 1fr;
      }

      .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        padding: 14px 0;
      }
    }

body.admin-bar .topbar { top: 32px; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-height: 58px; width: auto; }
@media (max-width: 782px) {
  body.admin-bar .topbar { top: 46px; }
}
