/*
Theme Name: PDAVISJr
Theme URI: https://pdavisjr.com
Author: Phillip Davis Jr
Author URI: https://pdavisjr.com
Description: Personal portfolio and consulting site for Phillip Davis Jr. Royal blue + gold palette, Poppins + Inter, dark hero, skill bars, lightbox portfolio, scroll animations.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pdavisjr
Tags: portfolio, consulting, one-column, custom-logo, custom-menu
*/

/* ─── TOKENS ─── */
:root {
  --primary:       #1245a8;
  --primary-dark:  #0d3580;
  --primary-light: #1a56db;
  --gold:          #3FA7FF;
  --gold-dark:     #1E5BC6;
  --orange:        #FF6A1E;
  --orange-dark:   #D6541A;
  --hero-bg:       #050B1E;
  --dark:          #0A1736;
  --dark-mid:      #14315F;
  --gray:          #334D6E;
  --mid:           #6B84A3;
  --light-blue:    #EEF3FF;
  --border:        #D0DCF0;
  --white:         #FFFFFF;
  --black:         #060E1E;

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --nav-h:       72px;
  --topbar-h:    42px;
  --radius:      12px;
  --radius-pill: 32px;

  --dur-fast: 150ms;
  --dur-base: 300ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--dark); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

/* ─── TOPBAR ─── */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1001; background: var(--hero-bg); color: rgba(255,255,255,.72); font-size: .8125rem; height: var(--topbar-h); display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(1rem,4vw,3rem); gap: 1rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar a { color: rgba(255,255,255,.72); transition: color var(--dur-fast); }
.topbar a:hover { color: var(--gold); }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 1.25rem; }
.topbar__item { display: flex; align-items: center; gap: .4rem; }
@media (max-width:600px) { .topbar__left { display: none; } }

/* ─── HEADER ─── */
.header { position: fixed; top: var(--topbar-h); left: 0; right: 0; z-index: 1000; height: var(--nav-h); background: transparent; border-bottom: none; transition: background 400ms var(--ease-out), backdrop-filter 400ms var(--ease-out), box-shadow 400ms var(--ease-out); }
.header.scrolled { background: rgba(6,15,36,.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 2px 32px rgba(0,0,0,.35); border-bottom: 1px solid rgba(255,255,255,.07); }
.header__inner { max-width: 1200px; margin: 0 auto; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(1rem,4vw,2.5rem); gap: 2rem; }
.header__logo { flex-shrink: 0; }
.header__logo img { height: 44px; width: auto; }
.header__nav { display: flex; align-items: center; gap: clamp(1.25rem,2.5vw,2rem); }
.header__nav a { font-size: .9375rem; font-weight: 500; color: rgba(255,255,255,.85); transition: color var(--dur-fast); position: relative; }
.header__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: center; transition: transform 250ms var(--ease-out); }
.header__nav a:hover { color: #fff; }
.header__nav a:hover::after { transform: scaleX(1); }
.header__cta { display: inline-flex; align-items: center; padding: .55rem 1.4rem; background: transparent; color: #fff; font-size: .875rem; font-weight: 600; border-radius: var(--radius-pill); border: 1.5px solid rgba(255,255,255,.55); transition: background var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast); white-space: nowrap; }
.header__cta:hover { background: rgba(255,255,255,.1); border-color: #fff; transform: translateY(-1px); }
.header.scrolled .header__cta { background: var(--primary); border-color: var(--primary); }
.header.scrolled .header__cta:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; width: 28px; }
.mobile-toggle span { width: 100%; height: 2px; background: #fff; border-radius: 1px; transition: transform var(--dur-base), opacity var(--dur-base); }
#nav-links.active { display: flex; }
@media (max-width:900px) {
  .header__nav { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: flex-start; background: rgba(6,15,36,.97); border-bottom: 1px solid rgba(255,255,255,.08); padding: 1.25rem clamp(1rem,4vw,2.5rem); gap: 1rem; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
  .header__cta { display: none; }
  .mobile-toggle { display: flex; }
}

/* ─── PAGE BANNER ─── */
.page-banner { background: var(--hero-bg); color: #fff; padding: clamp(4rem,8vw,6rem) clamp(1rem,4vw,3rem) clamp(3rem,6vw,4.5rem); padding-top: calc(var(--topbar-h) + var(--nav-h) + clamp(2rem,4vw,3rem)); }
.page-banner .wrap { max-width: 1200px; margin: 0 auto; }
.page-banner__eyebrow { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-bottom: 1rem; font-weight: 600; }
.page-banner__h { font-family: var(--font-head); font-size: clamp(2.2rem,6vw,4rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 1rem; }
.page-banner__sub { font-size: 1.125rem; color: rgba(255,255,255,.6); max-width: 52ch; line-height: 1.6; }

/* ─── LAYOUT ─── */
.wrap { max-width: 1200px; margin: 0 auto; width: 100%; }
.section { padding: clamp(4rem,8vw,6rem) clamp(1rem,4vw,3rem); }
.section--dark { background: var(--dark); color: #fff; }
.section--blue-light { background: var(--light-blue); }
.section__eyebrow { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--primary); font-weight: 600; margin-bottom: .75rem; }
.section__h { font-family: var(--font-head); font-size: clamp(1.75rem,4vw,2.75rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 1rem; }
.section__sub { font-size: 1.0625rem; color: var(--mid); max-width: 56ch; line-height: 1.65; }
.section--dark .section__sub { color: rgba(255,255,255,.6); }
.section--dark .section__eyebrow { color: var(--gold); }

/* ─── BUTTONS ─── */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.75rem; border-radius: var(--radius-pill); font-size: .9375rem; font-weight: 600; transition: background var(--dur-fast), transform var(--dur-fast), border-color var(--dur-fast); border: 2px solid transparent; cursor: pointer; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn--outline { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.btn--outline:hover { border-color: #fff; transform: translateY(-1px); }
.btn--outline-dark { background: transparent; border-color: var(--border); color: var(--dark); }
.btn--outline-dark:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.btn--white { background: #fff; color: var(--primary); }
.btn--white:hover { background: rgba(255,255,255,.9); transform: translateY(-1px); }
.btn--outline-white { background: transparent; border: 2px solid rgba(255,255,255,.4); color: #fff; }
.btn--outline-white:hover { border-color: #fff; transform: translateY(-1px); }

/* ─── HERO ─── */
.hero { background: var(--hero-bg); color: #fff; padding: clamp(5rem,10vw,8rem) clamp(1rem,4vw,3rem); padding-top: calc(var(--topbar-h) + var(--nav-h) + clamp(3rem,6vw,5rem)); min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero.hero--full { min-height: 100vh; height: 100vh; padding: 0; margin: 0; display: flex; align-items: flex-end; position: relative; overflow: hidden; background: var(--hero-bg, #080c1c); }
.hero.hero--full::before { content: none; }
.hero.hero--full .hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; z-index: 0; display: block; }
.hero.hero--full .hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,11,30,0) 0%, rgba(5,11,30,0) 55%, rgba(5,11,30,.55) 85%, rgba(5,11,30,.85) 100%); z-index: 1; pointer-events: none; }
.hero.hero--full .hero__inner { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: calc(var(--topbar-h, 0px) + var(--nav-h, 0px) + clamp(2rem,6vw,5rem)) clamp(1rem,4vw,3rem) clamp(3rem,6vw,5rem); display: block; }
.hero.hero--full .hero__content { max-width: 720px; }
.hero.hero--full .hero__content { background: linear-gradient(180deg, rgba(5,11,30,.55) 0%, rgba(5,11,30,.78) 100%); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(63,167,255,.18); border-radius: 18px; padding: clamp(1.5rem,3vw,2.25rem) clamp(1.5rem,3vw,2.5rem); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.hero.hero--full .hero__h { font-size: clamp(2.4rem,6vw,4.75rem); line-height: 1.05; margin-bottom: 1.25rem; color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.55); }
.hero.hero--full .hero__h em { color: var(--orange); font-style: normal; text-shadow: 0 2px 24px rgba(255,106,30,.55), 0 2px 16px rgba(0,0,0,.5); }
.hero.hero--full .hero__sub { color: rgba(235,244,255,.96); text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.hero.hero--full .btn--gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color: #fff; box-shadow: 0 8px 24px rgba(63,167,255,.35); }
.hero.hero--full .btn--gold:hover { background: linear-gradient(135deg, #5BB7FF 0%, #2A6FD8 100%); }
.hero.hero--full .btn--outline { border: 1px solid rgba(255,255,255,.45); color: #fff; }
.hero.hero--full .btn--outline:hover { border-color: var(--orange); color: var(--orange); }
.hero.hero--full .hero__sub { color: rgba(255,255,255,.85); max-width: 56ch; margin-bottom: 2rem; }
.hero.hero--full .hero__actions { margin-bottom: 0; }
.hero.hero--full .hero__badge { position: absolute; right: clamp(1rem,4vw,3rem); bottom: clamp(2rem,5vw,4rem); }
@media (max-width: 700px) { .hero.hero--full .hero__bg { object-position: 60% top; } .hero.hero--full .hero__overlay { background: linear-gradient(180deg, rgba(5,11,30,0) 0%, rgba(5,11,30,0) 35%, rgba(5,11,30,.5) 65%, rgba(5,11,30,.92) 100%); } .hero.hero--full .hero__badge { right: 1rem; bottom: 1.25rem; font-size: .75rem; padding: .75rem .9rem; } .hero.hero--full .hero__h { font-size: clamp(2rem,9vw,3rem); } }
.hero--full .hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; z-index: 0; }
.hero--full .hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,28,.55) 0%, rgba(8,12,28,.35) 40%, rgba(8,12,28,.92) 100%); z-index: 1; }
.hero--full .hero__inner { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem,4vw,3rem) clamp(3rem,6vw,5rem); }
.hero--full .hero-content { max-width: 720px; }
.hero--full .hero-content h1 { font-family: var(--font-head, inherit); font-size: clamp(2.4rem,6vw,4.75rem); font-weight: 800; line-height: 1.05; letter-spacing: -.025em; margin: 1rem 0 1.25rem; }
.hero--full .hero-label { display: inline-block; font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--gold, #e8a020); background: rgba(232,160,32,.12); border: 1px solid rgba(232,160,32,.3); padding: .35rem .9rem; border-radius: 999px; }
.hero--full .hero-desc { font-size: clamp(1rem,1.6vw,1.15rem); color: rgba(255,255,255,.8); max-width: 56ch; line-height: 1.65; margin-bottom: 2rem; }
.hero--full .hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero--full .hero-stats { display: flex; flex-wrap: wrap; gap: 2.5rem; }
.hero--full .stat-number { font-size: 1.875rem; font-weight: 700; color: var(--gold, #e8a020); display: block; line-height: 1; }
.hero--full .stat-label { font-size: .8125rem; color: rgba(255,255,255,.6); margin-top: .35rem; display: block; }
@media (max-width: 700px) { .hero--full .hero__bg { object-position: 60% top; } .hero--full .hero__overlay { background: linear-gradient(180deg, rgba(8,12,28,.45) 0%, rgba(8,12,28,.75) 55%, rgba(8,12,28,.96) 100%); } .hero--full .hero-stats { gap: 1.5rem; } }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(18,69,168,.25) 0%, transparent 70%); pointer-events: none; }
.hero__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 3fr 2fr; gap: 4rem; align-items: center; width: 100%; position: relative; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); background: rgba(232,160,32,.12); padding: .35rem .9rem; border-radius: var(--radius-pill); margin-bottom: 1.5rem; border: 1px solid rgba(232,160,32,.25); }
.hero__h { font-family: var(--font-head); font-size: clamp(2.4rem,6vw,4.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; margin-bottom: 1.5rem; }
.hero__h em { color: var(--gold); font-style: normal; }
.hero__sub { font-size: clamp(1rem,1.8vw,1.1875rem); color: rgba(255,255,255,.65); max-width: 48ch; line-height: 1.65; margin-bottom: 2.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero__stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero__stat-num { font-family: var(--font-head); font-size: 1.875rem; font-weight: 700; color: var(--gold); line-height: 1; }
.hero__stat-label { font-size: .8125rem; color: rgba(255,255,255,.5); margin-top: .25rem; }
.hero__visual { position: relative; }
.hero__img-wrap { border-radius: 20px; overflow: hidden; aspect-ratio: 4/5; background: var(--dark-mid); box-shadow: 0 32px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(18,69,168,.3); }
.hero__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge { position: absolute; bottom: -1.25rem; left: -1.25rem; background: var(--gold); color: var(--black); padding: 1rem 1.25rem; border-radius: var(--radius); font-family: var(--font-head); font-weight: 700; font-size: .875rem; text-align: center; line-height: 1.3; box-shadow: 0 8px 24px rgba(232,160,32,.4); }
.hero__badge-num { font-size: 1.75rem; display: block; }
@media (max-width:900px) { .hero__grid { grid-template-columns: 1fr; gap: 3rem; } .hero { min-height: auto; } }
@media (max-width:900px) { .hero__stats { display: none; } }
@media (max-width:600px) { .hero__badge { left: 0; bottom: -1rem; } }

/* ─── STATS ROW ─── */
.stats-row { background: var(--dark); padding: 3rem clamp(1rem,4vw,3rem); }
.stats-row__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center; }
.stats-row__num { font-family: var(--font-head); font-size: clamp(1.75rem,4vw,2.5rem); font-weight: 700; color: var(--gold); line-height: 1; }
.stats-row__label { font-size: .875rem; color: rgba(255,255,255,.5); margin-top: .5rem; line-height: 1.4; }
@media (max-width:768px) { .stats-row__grid { grid-template-columns: repeat(2,1fr); } }

/* ─── SERVICE CARDS ─── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 1.5rem; margin-top: 3rem; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 2rem; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base), border-color var(--dur-base); border: 1px solid var(--border); }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(18,69,168,.12); border-color: var(--primary); }
.service-card__icon { width: 52px; height: 52px; border-radius: var(--radius); background: rgba(18,69,168,.08); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.25rem; }
.service-card__h { font-family: var(--font-head); font-size: 1.125rem; font-weight: 600; color: var(--black); margin-bottom: .625rem; }
.service-card__p { font-size: .9375rem; color: var(--mid); line-height: 1.6; margin-bottom: 1.25rem; }
.service-card__link { font-size: .875rem; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: .35rem; transition: gap var(--dur-fast); }
.service-card__link:hover { gap: .6rem; }

/* ─── ABOUT GRID ─── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-grid--flip { direction: rtl; }
.about-grid--flip > * { direction: ltr; }
.about-imgs { position: relative; height: 480px; }
.about-imgs__primary { position: absolute; top: 0; left: 0; width: 72%; height: 80%; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(18,69,168,.2); }
.about-imgs__secondary { position: absolute; bottom: 0; right: 0; width: 56%; height: 60%; border-radius: 16px; overflow: hidden; border: 4px solid var(--white); box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.about-imgs img { width: 100%; height: 100%; object-fit: cover; }
.about-imgs__badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--primary); color: #fff; padding: 1rem 1.25rem; border-radius: var(--radius); text-align: center; font-family: var(--font-head); font-weight: 700; font-size: .875rem; line-height: 1.3; z-index: 2; box-shadow: 0 8px 24px rgba(18,69,168,.4); white-space: nowrap; }
.about-imgs__badge-num { font-size: 2rem; display: block; color: var(--gold); }
.about-text__intro { font-size: 1.0625rem; color: var(--mid); line-height: 1.7; margin-bottom: 2rem; }
.skill-bars { display: flex; flex-direction: column; gap: 1.25rem; }
.skill-bar__label { display: flex; justify-content: space-between; font-size: .875rem; font-weight: 600; color: var(--dark); margin-bottom: .5rem; }
.skill-bar__track { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.skill-bar__fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--primary-light)); border-radius: 3px; width: 0; transition: width 1.2s var(--ease-out); }
@media (max-width:900px) { .about-grid { grid-template-columns: 1fr; gap: 3rem; } .about-grid--flip { direction: ltr; } .about-imgs { height: 340px; } }

/* ─── PROCESS ─── */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 1.5rem; margin-top: 3rem; }
.process-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 2rem; transition: transform var(--dur-base), border-color var(--dur-base); }
.process-card:hover { transform: translateY(-4px); border-color: rgba(232,160,32,.4); }
.process-card__num { font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; color: rgba(232,160,32,.3); line-height: 1; margin-bottom: 1rem; }
.process-card__h { font-family: var(--font-head); font-size: 1.0625rem; font-weight: 600; color: #fff; margin-bottom: .5rem; }
.process-card__p { font-size: .9375rem; color: rgba(255,255,255,.55); line-height: 1.6; }

/* ─── PORTFOLIO GRID ─── */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 1.5rem; margin-top: 2rem; }
.portfolio-card { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--border); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base); cursor: pointer; position: relative; }
.portfolio-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(18,69,168,.15); }
.portfolio-card__img { aspect-ratio: 16/10; overflow: hidden; background: var(--dark-mid); position: relative; }
.portfolio-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.portfolio-card:hover .portfolio-card__img img { transform: scale(1.05); }
/* hover overlay */
.portfolio-card__overlay { position: absolute; inset: 0; background: rgba(18,69,168,.85); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--dur-base); }
.portfolio-card:hover .portfolio-card__overlay { opacity: 1; }
.portfolio-card__overlay-text { color: #fff; font-size: .875rem; font-weight: 600; display: flex; align-items: center; gap: .5rem; letter-spacing: .05em; }
.portfolio-card__body { padding: 1.5rem; }
.portfolio-card__tag { display: inline-block; font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); background: rgba(18,69,168,.08); padding: .2rem .6rem; border-radius: 4px; margin-bottom: .75rem; }
.portfolio-card__h { font-family: var(--font-head); font-size: 1.0625rem; font-weight: 600; color: var(--black); margin-bottom: .5rem; line-height: 1.3; }
.portfolio-card__p { font-size: .9375rem; color: var(--mid); line-height: 1.55; margin-bottom: 1rem; }
.portfolio-card__chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.portfolio-card__chip { font-size: .75rem; padding: .25rem .6rem; border-radius: 4px; background: var(--light-blue); color: var(--gray); }

/* ─── LIGHTBOX MODAL ─── */
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(6,14,30,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.lightbox.is-open { display: flex; animation: lb-in 300ms var(--ease-out); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox__panel { width: min(1060px,94vw); max-height: 90vh; background: var(--dark); border-radius: 18px; overflow: hidden; display: grid; grid-template-columns: 1.35fr 1fr; box-shadow: 0 40px 100px rgba(0,0,0,.7); color: #fff; position: relative; animation: lb-panel-in 350ms var(--ease-out); }
@keyframes lb-panel-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.lightbox__close { position: absolute; top: 1.25rem; right: 1.25rem; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 1.125rem; display: flex; align-items: center; justify-content: center; z-index: 2; transition: background var(--dur-fast); }
.lightbox__close:hover { background: rgba(255,255,255,.2); }
.lightbox__visual { background: var(--hero-bg); overflow: hidden; }
.lightbox__visual img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__body { padding: 2.5rem; overflow-y: auto; display: flex; flex-direction: column; justify-content: center; }
.lightbox__tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-weight: 600; margin-bottom: .75rem; }
.lightbox__title { font-family: var(--font-head); font-size: clamp(1.5rem,3vw,2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 1rem; }
.lightbox__desc { font-size: .9375rem; color: rgba(255,255,255,.65); line-height: 1.65; margin-bottom: 1rem; }
.lightbox__detail { font-size: .875rem; color: rgba(255,255,255,.5); line-height: 1.6; margin-bottom: 1.5rem; }
.lightbox__result { display: flex; align-items: flex-start; gap: .625rem; font-size: .875rem; color: var(--gold); margin-bottom: 1.75rem; padding: .75rem 1rem; background: rgba(232,160,32,.08); border-radius: 8px; border: 1px solid rgba(232,160,32,.2); }
.lightbox__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.75rem; }
.lightbox__chip { font-size: .75rem; padding: .3rem .7rem; border-radius: 4px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.65); }
.lightbox__cta { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.5rem; background: var(--primary); color: #fff; border-radius: var(--radius-pill); font-size: .875rem; font-weight: 600; align-self: flex-start; transition: background var(--dur-fast), transform var(--dur-fast); }
.lightbox__cta:hover { background: var(--primary-dark); transform: translateY(-1px); }
@media (max-width:768px) { .lightbox__panel { grid-template-columns: 1fr; max-height: 92vh; } .lightbox__visual { aspect-ratio: 16/9; max-height: 220px; } .lightbox__body { padding: 1.75rem; } }

/* ─── TESTIMONIALS ─── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.5rem; margin-top: 3rem; }
.testimonial-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; transition: transform var(--dur-base), box-shadow var(--dur-base); }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(18,69,168,.1); }
.testimonial-card__stars { color: var(--gold); font-size: 1rem; letter-spacing: .1em; margin-bottom: 1rem; }
.testimonial-card__quote { font-size: 2rem; color: var(--primary); line-height: 1; margin-bottom: 1rem; font-family: Georgia,serif; }
.testimonial-card__text { font-size: .9375rem; color: var(--gray); line-height: 1.7; margin-bottom: 1.5rem; }
.testimonial-card__author { display: flex; align-items: center; gap: .75rem; }
.testimonial-card__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--light-blue); overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--primary); }
.testimonial-card__name { font-weight: 600; font-size: .9375rem; color: var(--dark); }
.testimonial-card__role { font-size: .8125rem; color: var(--mid); }

/* ─── CTA SECTION ─── */
.cta-section { background: var(--primary); color: #fff; padding: clamp(4rem,8vw,6rem) clamp(1rem,4vw,3rem); text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 80% at 50% 120%, rgba(232,160,32,.2) 0%, transparent 70%); pointer-events: none; }
.cta-section__h { font-family: var(--font-head); font-size: clamp(2rem,5vw,3.5rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 1rem; position: relative; }
.cta-section__sub { font-size: 1.125rem; color: rgba(255,255,255,.75); max-width: 48ch; margin: 0 auto 2.5rem; line-height: 1.6; position: relative; }
.cta-section .cta-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; position: relative; }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: start; max-width: 1200px; margin: 0 auto; }
@media (max-width:900px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width:540px) { .contact-form__row { grid-template-columns: 1fr; } }
.contact-form__field { display: flex; flex-direction: column; gap: .4rem; }
.contact-form label { font-size: .8125rem; font-weight: 600; color: var(--dark); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-size: .9375rem; padding: .8rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--light-blue); color: var(--dark); transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast); width: 100%; }
.contact-form select { appearance: none; -webkit-appearance: none; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(18,69,168,.1); background: var(--white); }
.contact-form__honeypot { position: absolute; left: -9999px; }
.form-result { margin-top: 1rem; font-size: .9375rem; font-weight: 500; }
.form-result.success { color: #16a34a; }
.form-result.error { color: #dc2626; }
.contact-info__card { background: var(--light-blue); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; position: sticky; top: calc(var(--topbar-h) + var(--nav-h) + 1.5rem); }
.contact-info__row { display: flex; flex-direction: column; gap: .25rem; margin-bottom: 1.5rem; }
.contact-info__row:last-child { margin-bottom: 0; }
.contact-info__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mid); font-weight: 600; }
.contact-info__value { font-size: 1rem; font-weight: 600; color: var(--dark); }
a.contact-info__value:hover { color: var(--primary); }
@media (max-width:900px) { .contact-info__card { position: static; } }

/* ─── FAQ ─── */
.faq-list { max-width: 760px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: .75rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-question { width: 100%; text-align: left; background: none; padding: 1.25rem 1.5rem; font-size: 1rem; font-weight: 600; color: var(--dark); display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: background var(--dur-fast); }
.faq-question:hover { background: var(--light-blue); }
.faq-question__icon { flex-shrink: 0; font-size: 1.25rem; color: var(--primary); transition: transform var(--dur-base); }
.faq-question[aria-expanded="true"] .faq-question__icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 400ms var(--ease-out); }
.faq-answer.open { max-height: 400px; }
.faq-answer__inner { padding: 0 1.5rem 1.5rem; font-size: .9375rem; color: var(--mid); line-height: 1.7; }

/* ─── EXPERTISE CARDS ─── */
.expertise-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 1.5rem; margin-top: 3rem; }
.expertise-card { padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius); transition: transform var(--dur-base), border-color var(--dur-base), box-shadow var(--dur-base); }
.expertise-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 12px 36px rgba(18,69,168,.1); }
.expertise-card__icon { font-size: 2rem; margin-bottom: 1rem; }
.expertise-card__h { font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--black); margin-bottom: .5rem; }
.expertise-card__p { font-size: .9375rem; color: var(--mid); line-height: 1.6; }

/* ─── SERVICE DETAIL ─── */
.svc-detail { padding: clamp(4rem,8vw,6rem) clamp(1rem,4vw,3rem); }
.svc-detail:nth-child(even) { background: var(--light-blue); }
.svc-detail__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.svc-detail__grid--flip { direction: rtl; }
.svc-detail__grid--flip > * { direction: ltr; }
.svc-detail__img { aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; background: var(--dark-mid); box-shadow: 0 20px 60px rgba(18,69,168,.2); }
.svc-detail__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-detail__num { font-family: var(--font-head); font-size: 4rem; font-weight: 800; color: rgba(18,69,168,.1); line-height: 1; margin-bottom: .5rem; }
.svc-detail__h { font-family: var(--font-head); font-size: clamp(1.5rem,3vw,2.25rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: .75rem; color: var(--black); }
.svc-detail__p { font-size: 1rem; color: var(--mid); line-height: 1.7; margin-bottom: 1rem; }
.svc-detail__result { font-size: .875rem; color: var(--primary); font-weight: 600; background: rgba(18,69,168,.06); padding: .6rem .9rem; border-radius: 8px; border-left: 3px solid var(--primary); margin-bottom: 1.5rem; }
.svc-detail__features { display: flex; flex-direction: column; gap: .625rem; }
.svc-detail__feature { display: flex; align-items: center; gap: .625rem; font-size: .9375rem; color: var(--dark); }
.svc-detail__feature::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
@media (max-width:900px) { .svc-detail__grid { grid-template-columns: 1fr; gap: 2.5rem; } .svc-detail__grid--flip { direction: ltr; } }

/* ─── FOOTER ─── */
.site-footer { background: var(--hero-bg); color: rgba(255,255,255,.65); padding: clamp(3rem,6vw,5rem) clamp(1rem,4vw,3rem) 2rem; }
.site-footer__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.site-footer__logo img { height: 44px; margin-bottom: 1rem; }
.site-footer__tagline { font-size: .875rem; color: rgba(255,255,255,.45); line-height: 1.6; margin-bottom: 1.5rem; max-width: 28ch; }
.site-footer__social { display: flex; gap: .625rem; }
.site-footer__social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.15); border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; color: rgba(255,255,255,.45); transition: color var(--dur-fast), border-color var(--dur-fast); }
.site-footer__social a:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.site-footer__col-head { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.3); margin-bottom: 1.25rem; }
.site-footer__links { display: flex; flex-direction: column; gap: .75rem; }
.site-footer__links a { font-size: .875rem; color: rgba(255,255,255,.55); transition: color var(--dur-fast); }
.site-footer__links a:hover { color: var(--gold); }
.site-footer__links span { font-size: .875rem; color: rgba(255,255,255,.35); }
.site-footer__legal { max-width: 1200px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.07); display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .8125rem; color: rgba(255,255,255,.3); flex-wrap: wrap; }
@media (max-width:900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width:540px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ─── SCROLL ANIMATIONS ─── */
.wow, .wow-left, .wow-right, .wow-zoom { opacity: 0; transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.wow { transform: translateY(28px); }
.wow-left { transform: translateX(-32px); }
.wow-right { transform: translateX(32px); }
.wow-zoom { transform: scale(.94); }
.wow.is-visible, .wow-left.is-visible, .wow-right.is-visible, .wow-zoom.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion:reduce) { .wow,.wow-left,.wow-right,.wow-zoom { opacity: 1; transform: none; transition: none; } }

/* ─── SCROLL TO TOP ─── */
.scroll-top { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity var(--dur-base), transform var(--dur-base); z-index: 999; box-shadow: 0 4px 16px rgba(18,69,168,.35); font-size: 1.125rem; }
.scroll-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.scroll-top:hover { background: var(--primary-dark); }

/* ─── ACCESSIBILITY ─── */
.skip-link { position: absolute; left: -9999px; top: 0; padding: .5rem 1rem; background: var(--primary); color: #fff; font-weight: 600; z-index: 9999; }
.skip-link:focus { left: 0; }
*:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
