/*
Theme Name: Perfect Trade
Theme URI: https://example.com/perfect-trade
Author: Perfect Trade
Author URI: https://example.com
Description: A clean, responsive starter theme for the Perfect Trade multi-business website.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: perfect-trade
*/

:root {
  --pt-primary: #091426;
  --pt-primary-container: #1e293b;
  --pt-secondary: #006398;
  --pt-secondary-container: #5bb8fe;
  --pt-tertiary: #240f00;
  --pt-tertiary-container: #422000;
  --pt-surface: #f7f9fb;
  --pt-surface-low: #f2f4f6;
  --pt-surface-high: #e6e8ea;
  --pt-surface-highest: #e0e3e5;
  --pt-text: #191c1e;
  --pt-muted: #45474c;
  --pt-outline: #c5c6cd;
  --pt-radius: 0.5rem;
  --pt-max-width: 1280px;
}

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--pt-surface); color: var(--pt-text); font-family: Inter, Arial, sans-serif; }
body.admin-bar .pt-site-header { top: 32px; }
a { color: inherit; }
.pt-skip-link { position: absolute; left: -9999px; top: auto; }
.pt-skip-link:focus { left: 1rem; top: 1rem; z-index: 1000; padding: .75rem 1rem; background: #fff; color: var(--pt-primary); }
.pt-container { width: min(calc(100% - 4rem), var(--pt-max-width)); margin-inline: auto; }
.pt-topbar { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem max(1rem, calc((100vw - var(--pt-max-width)) / 2)); background: var(--pt-primary); color: #fff; font-size: .875rem; }
.pt-topbar__items { display: flex; flex-wrap: wrap; gap: 1rem; }
.pt-topbar__item { display: inline-flex; align-items: center; gap: .25rem; }
.pt-site-header { position: fixed; top: 40px; left: 0; right: 0; z-index: 50; background: rgb(247 249 251 / 90%); backdrop-filter: blur(18px); box-shadow: 0 1px 8px rgb(0 0 0 / 4%); }
.pt-header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.pt-brand { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--pt-primary); font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.pt-brand__mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: .75rem; background: var(--pt-primary); color: #fff; font-size: 1rem; }
.pt-brand img { max-height: 40px; width: auto; }
.pt-main-nav { display: flex; align-items: center; gap: 2rem; }
.pt-main-nav ul, .pt-mobile-nav ul { display: flex; align-items: center; gap: 2rem; margin: 0; padding: 0; list-style: none; }
.pt-mobile-nav ul { display: block; }
.pt-main-nav li, .pt-mobile-nav li { margin: 0; padding: 0; }
.pt-main-nav a { color: var(--pt-muted); text-decoration: none; transition: color .2s ease; }
.pt-main-nav a:hover, .pt-main-nav .current-menu-item > a { color: var(--pt-primary); font-weight: 700; }
.pt-header-actions { display: flex; align-items: center; gap: 1rem; }
.pt-button { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-height: 42px; padding: .65rem 1rem; border-radius: var(--pt-radius); text-decoration: none; font-size: .875rem; font-weight: 600; transition: background .2s ease, color .2s ease, transform .2s ease; }
.pt-button:hover { transform: translateY(-1px); }
.pt-button--gold { background: var(--pt-tertiary-container); color: #d97705; }
.pt-button--gold:hover { background: var(--pt-tertiary); color: #fff; }
.pt-button--blue { background: var(--pt-secondary); color: #fff; }
.pt-button--blue:hover { background: var(--pt-secondary-container); color: var(--pt-primary); }
.pt-button--ghost { background: rgb(255 255 255 / 10%); color: #fff; border: 1px solid rgb(255 255 255 / 20%); }
.pt-button--ghost:hover { background: rgb(255 255 255 / 20%); }
.pt-account { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--pt-primary); color: #fff; }
.pt-menu-toggle { display: none; border: 0; background: transparent; color: var(--pt-primary); padding: .5rem; cursor: pointer; }
.pt-menu-toggle .material-symbols-outlined { font-size: 28px; }
.pt-mobile-nav { display: none; }
.pt-main { padding-top: 120px; }
.pt-section { padding: 6rem 1rem; }
.pt-section--surface { background: var(--pt-surface); }
.pt-section--low { background: var(--pt-surface-low); }
.pt-section--dark { background: var(--pt-primary); color: #fff; }
.pt-hero { position: relative; overflow: hidden; padding: 8rem 1rem; background: var(--pt-primary); color: #fff; }
.pt-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 80% 20%, rgb(0 99 152 / 28%), transparent 36%), linear-gradient(135deg, transparent, rgb(30 41 59 / 30%), transparent); }
.pt-grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem; align-items: center; position: relative; z-index: 1; }
.pt-hero__content { grid-column: span 7; }
.pt-hero__panel { grid-column: span 5; }
.pt-eyebrow { display: inline-flex; align-items: center; gap: .25rem; margin-bottom: 1rem; color: #93ccff; font-size: .875rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.pt-hero h1 { max-width: 760px; margin: 0 0 1rem; color: #fff; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.08; letter-spacing: -.04em; }
.pt-hero__lead { margin: 0 0 1rem; color: #bcc7de; font-size: 1.125rem; line-height: 1.55; font-weight: 600; }
.pt-hero__copy { max-width: 680px; margin: 0 0 2.5rem; color: rgb(255 255 255 / 80%); font-size: 1rem; line-height: 1.75; }
.pt-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.pt-hero-panel { position: relative; padding: 2rem; border-radius: .75rem; background: rgb(255 255 255 / 8%); box-shadow: 0 24px 50px rgb(0 0 0 / 20%); backdrop-filter: blur(18px); }
.pt-hero-panel__status { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgb(197 198 205 / 20%); color: #bcc7de; font-size: .875rem; }
.pt-status { padding: .15rem .5rem; border-radius: 999px; background: rgb(0 99 152 / 25%); color: #93ccff; font-size: .75rem; }
.pt-stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.pt-stat { padding: 1rem; border-radius: .5rem; background: var(--pt-primary-container); }
.pt-stat strong { display: block; margin-bottom: .25rem; color: #fff; font-size: 2rem; }
.pt-stat span, .pt-panel-note p { color: #bcc7de; font-size: .875rem; }
.pt-panel-note { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: .5rem; background: rgb(255 255 255 / 5%); }
.pt-panel-note__icon { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: rgb(0 99 152 / 25%); color: #93ccff; }
.pt-panel-note h3, .pt-panel-note p { margin: 0; }
.pt-panel-note h3 { color: #fff; font-size: .875rem; }
.pt-section-heading { max-width: 680px; margin: 0 auto 4rem; text-align: center; }
.pt-section-heading--left { margin-left: 0; text-align: left; }
.pt-section-kicker { color: var(--pt-secondary); font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pt-section h2 { margin: .5rem 0 0; color: var(--pt-primary); font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.2; letter-spacing: -.025em; }
.pt-section--dark h2 { color: #fff; }
.pt-section-heading p { margin: .75rem 0 0; color: var(--pt-muted); line-height: 1.65; }
.pt-section--dark .pt-section-heading p { color: #bcc7de; }
.pt-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.pt-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 270px; padding: 2rem; border-radius: .75rem; background: #fff; box-shadow: 0 4px 16px rgb(0 0 0 / 4%); transition: transform .2s ease, box-shadow .2s ease; }
.pt-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgb(0 0 0 / 9%); }
.pt-card__icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 1.5rem; border-radius: .75rem; background: var(--pt-primary-container); color: #fff; }
.pt-card__icon--blue { background: var(--pt-secondary); }
.pt-card__icon--gold { background: var(--pt-tertiary-container); color: #d97705; }
.pt-card h3, .pt-step h3 { margin: 0 0 .75rem; color: var(--pt-primary); font-size: 1.25rem; }
.pt-card p, .pt-step p { margin: 0 0 1.5rem; color: var(--pt-muted); font-size: .875rem; line-height: 1.6; }
.pt-card ul { margin: 0; padding: 1rem 0 0 1.15rem; border-top: 1px solid rgb(197 198 205 / 40%); color: var(--pt-muted); font-size: .875rem; line-height: 1.8; }
.pt-vertical-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.pt-vertical { position: relative; overflow: hidden; min-height: 315px; }
.pt-vertical::after { content: ""; position: absolute; top: 0; right: 0; width: 128px; height: 128px; border-radius: 0 0 0 100%; background: rgb(0 99 152 / 6%); pointer-events: none; }
.pt-vertical__label { display: inline-block; padding: .25rem .75rem; border-radius: 999px; background: rgb(0 99 152 / 10%); color: var(--pt-secondary); font-size: .75rem; font-weight: 700; }
.pt-vertical__subtitle { margin: -.4rem 0 1rem !important; font-weight: 600; }
.pt-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.pt-tags span { padding: .3rem .6rem; border-radius: .25rem; background: var(--pt-surface); color: var(--pt-muted); font-size: .75rem; }
.pt-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid rgb(197 198 205 / 40%); font-size: .875rem; }
.pt-card__footer a { color: var(--pt-primary); text-decoration: none; font-weight: 600; }
.pt-card__footer a:hover { color: var(--pt-secondary); }
.pt-journey-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
.pt-step { position: relative; min-height: 250px; padding: 1.5rem; border-radius: .75rem; background: var(--pt-surface-low); }
.pt-step__number { position: absolute; top: 1rem; right: 1rem; color: rgb(9 20 38 / 10%); font-size: 2rem; font-weight: 700; }
.pt-step__icon { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 1rem; border-radius: .5rem; background: var(--pt-primary); color: #fff; }
.pt-step__phase { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgb(197 198 205 / 40%); color: var(--pt-secondary); font-size: .75rem; font-weight: 700; }
.pt-consultation { position: relative; overflow: hidden; text-align: center; }
.pt-consultation .pt-section-heading { margin-bottom: 2rem; }
.pt-consultation .pt-actions { justify-content: center; }
.pt-site-footer { padding: 3rem 1rem 1.5rem; background: var(--pt-surface-high); }
.pt-footer-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 2rem; padding-bottom: 3rem; }
.pt-site-footer h3, .pt-site-footer h4 { margin: 0 0 1rem; color: var(--pt-primary); }
.pt-site-footer h3 { font-size: 1.25rem; }
.pt-site-footer h4 { font-size: .875rem; }
.pt-site-footer p, .pt-site-footer li, .pt-site-footer a { color: var(--pt-muted); font-size: .875rem; line-height: 1.6; }
.pt-site-footer p { margin: 0 0 1rem; }
.pt-site-footer ul { margin: 0; padding: 0; list-style: none; }
.pt-site-footer li + li { margin-top: .35rem; }
.pt-site-footer a { text-decoration: none; }
.pt-site-footer a:hover { color: var(--pt-primary); }
.pt-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid rgb(117 119 125 / 30%); }
.pt-footer-bottom__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.pt-footer-bottom span { color: var(--pt-muted); font-size: .875rem; }
.material-symbols-outlined { font-size: 1.25em; vertical-align: middle; }

@media (max-width: 1024px) {
  .pt-main-nav { gap: 1rem; }
  .pt-header-actions .pt-account { display: none; }
  .pt-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-journey-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pt-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pt-footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  body.admin-bar .pt-site-header { top: 46px; }
  .pt-container { width: min(calc(100% - 2rem), var(--pt-max-width)); }
  .pt-topbar { justify-content: center; padding-inline: 1rem; }
  .pt-topbar__items { justify-content: center; gap: .75rem; }
  .pt-topbar__item:nth-child(2), .pt-topbar__message { display: none; }
  .pt-site-header { top: 40px; }
  .pt-header-inner { min-height: 64px; }
  .pt-main-nav, .pt-header-actions > .pt-button { display: none; }
  .pt-menu-toggle { display: block; }
  .pt-mobile-nav { position: fixed; inset: 104px 0 0; display: none; overflow-y: auto; padding: 1rem; background: var(--pt-surface); box-shadow: 0 12px 24px rgb(0 0 0 / 10%); }
  .pt-mobile-nav.is-open { display: block; }
  .pt-mobile-nav a { display: block; padding: .85rem 0; color: var(--pt-primary); text-decoration: none; border-bottom: 1px solid rgb(197 198 205 / 40%); font-weight: 600; }
  .pt-mobile-nav .pt-button { margin-top: 1rem; color: #d97705; }
  .pt-main { padding-top: 104px; }
  .pt-section { padding: 4rem 1rem; }
  .pt-hero { padding: 4rem 1rem; }
  .pt-grid-12 { grid-template-columns: 1fr; gap: 2rem; }
  .pt-hero__content, .pt-hero__panel { grid-column: auto; }
  .pt-hero h1 { font-size: clamp(2rem, 9vw, 2.75rem); }
  .pt-hero__lead { font-size: .95rem; }
  .pt-actions { flex-direction: column; width: 100%; }
  .pt-actions .pt-button { width: 100%; }
  .pt-card-grid, .pt-vertical-grid, .pt-journey-grid { grid-template-columns: 1fr; gap: 1rem; }
  .pt-card { min-height: auto; padding: 1.25rem; }
  .pt-vertical { min-height: auto; }
  .pt-footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .pt-footer-grid > :first-child { grid-column: 1 / -1; }
  .pt-footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  .pt-brand { font-size: 1.25rem; }
  .pt-brand__mark { width: 36px; height: 36px; }
  .pt-hero-panel { padding: 1.25rem; }
  .pt-footer-grid { grid-template-columns: 1fr; }
}
