/*
Theme Name: Perfect PlanIt
Theme URI: https://perfectplanit.com
Author: Perfect PlanIt
Description: Custom theme for Perfect PlanIt — special projects agency
Version: 1.0
License: Private
Text Domain: perfectplanit
*/

/* ── RESET & VARIABLES ── */
:root {
  --black: #0a0a0a;
  --off-white: #f5f2ee;
  --cream: #ede8e1;
  --accent: #c8a96e;
  --accent-dark: #9a7a44;
  --text: #1a1a1a;
  --text-muted: #6b6560;
  --white: #ffffff;
  --nav-height: 72px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--off-white); color: var(--text); overflow-x: hidden; }

/* ── NAV ── */
#ppi-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-height);
  display: flex; align-items: center;
  padding: 0 48px;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,169,110,0.2);
  transition: height 0.3s;
}
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.35rem; color: var(--white); text-decoration: none; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.85rem; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { background: var(--accent) !important; color: var(--black) !important; padding: 9px 22px; border-radius: 2px; font-weight: 500 !important; }
.nav-cta:hover { background: var(--accent-dark) !important; color: var(--white) !important; }
.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--white); }

/* ── HOMEPAGE HERO ── */
.hero {
  min-height: 100vh; background: var(--black);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 80px 100px; position: relative; overflow: hidden;
}
.hero-video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.72; filter: grayscale(15%) brightness(0.65); }
.hero-img-fallback { display: none; position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 0.45; filter: grayscale(20%) brightness(0.6); }
.hero-vignette { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(6,3,13,0.92) 0%, rgba(6,3,13,0.2) 40%, rgba(6,3,13,0.3) 100%), linear-gradient(to right, rgba(6,3,13,0.4) 0%, transparent 50%); }
.hero-content { position: relative; z-index: 4; max-width: 900px; opacity: 0; transform: translateY(30px); animation: fadeUp 1s ease 0.3s forwards; }
.hero-label { font-family: 'DM Mono', monospace; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 28px; display: flex; align-items: center; gap: 12px; }
.hero-label::before { content: ''; display: block; width: 40px; height: 1px; background: var(--accent); }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(3.5rem, 7vw, 6.5rem); font-weight: 900; color: var(--white); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 32px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub { font-size: 1.2rem; color: rgba(255,255,255,0.65); max-width: 560px; line-height: 1.65; font-weight: 300; margin-bottom: 48px; }
.hero-actions { display: flex; gap: 16px; align-items: center; }
.btn-primary { background: var(--accent); color: var(--black); padding: 16px 36px; text-decoration: none; font-weight: 500; font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; border-radius: 2px; transition: all 0.25s; display: inline-block; }
.btn-primary:hover { background: var(--white); transform: translateY(-2px); }
.btn-ghost { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; font-weight: 400; display: flex; align-items: center; gap: 8px; transition: color 0.2s; }
.btn-ghost:hover { color: var(--accent); }
.scroll-hint { position: absolute; right: 40px; bottom: 48px; z-index: 4; font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.2); writing-mode: vertical-rl; display: flex; align-items: center; gap: 12px; }
.scroll-hint::after { content: ''; display: block; width: 1px; height: 48px; background: rgba(255,255,255,0.15); }

/* ── CLIENTS BAR ── */
.clients-bar { background: rgba(10,10,10,0.97); padding: 20px 80px; display: flex; align-items: center; gap: 48px; overflow: hidden; border-bottom: 1px solid rgba(200,169,110,0.1); }
.clients-label { font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.2); white-space: nowrap; }
.clients-logos { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.client-name { font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.22); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; transition: color 0.2s; }
.client-name:hover { color: rgba(200,169,110,0.5); }

/* ── PORTFOLIO SECTION ── */
.portfolio-section { padding: 120px 80px; }
.portfolio-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; }
.portfolio-header-left .section-label { font-family: 'DM Mono', monospace; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.portfolio-header-left .section-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--accent-dark); }
.portfolio-header-left h2 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--text); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 16px; }
.portfolio-header-left h2 em { font-style: italic; color: var(--accent-dark); }
.portfolio-header-left p { font-size: 1rem; color: var(--text-muted); max-width: 560px; line-height: 1.7; }
.see-all { color: var(--black); text-decoration: none; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 1.5px solid var(--accent); padding-bottom: 3px; white-space: nowrap; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 3px; }
.port-card { position: relative; display: block; text-decoration: none; overflow: hidden; aspect-ratio: 4/3; background: var(--black); }
.port-card:first-child { grid-column: 1 / 3; grid-row: 1 / 3; aspect-ratio: unset; }
.port-card:nth-child(2) { grid-column: 3; grid-row: 1; aspect-ratio: 4/3; }
.port-card:nth-child(3) { grid-column: 3; grid-row: 2; aspect-ratio: 4/3; }
.port-card:nth-child(4), .port-card:nth-child(5) { aspect-ratio: 4/3; }
.port-card-placeholder { position: absolute; inset: 0; background: linear-gradient(135deg, #1a0a2e, #2d1b4e); }
.port-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.4s ease; filter: brightness(0.8); display: block; }
.port-card:hover .port-card-img { transform: scale(1.04); filter: brightness(0.6); }
.port-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 50%); z-index: 1; }
.port-card-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 30px; z-index: 2; }
.port-card-tag { font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.port-card-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--white); line-height: 1.25; margin-bottom: 6px; }
.port-card-client { font-size: 0.8rem; color: rgba(255,255,255,0.5); font-weight: 300; }

/* ── SERVICES SECTION ── */
.services-section { background: var(--black); padding: 120px 80px; }
.services-top { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; margin-bottom: 72px; align-items: end; }
.services-section .section-label { font-family: 'DM Mono', monospace; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.services-section .section-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--accent); }
.services-section h2 { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; color: var(--white); letter-spacing: -0.02em; line-height: 1.08; }
.services-section h2 em { font-style: italic; color: var(--accent); }
.services-top-right p { font-size: 1rem; color: rgba(255,255,255,0.5); line-height: 1.8; font-weight: 300; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.service-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); padding: 44px 36px; text-decoration: none; transition: background 0.25s, border-color 0.25s; display: block; }
.service-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(200,169,110,0.3); }
.service-num { font-family: 'DM Mono', monospace; font-size: 0.65rem; color: var(--accent); letter-spacing: 0.12em; margin-bottom: 24px; }
.service-card h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 16px; line-height: 1.2; }
.service-card p { font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.8; margin-bottom: 28px; }
.learn-more { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid rgba(200,169,110,0.3); padding-bottom: 2px; }

/* ── HOW WE WORK ── */
.how-section { padding: 120px 80px; background: var(--cream); }
.how-header { text-align: center; margin-bottom: 80px; }
.how-header h2 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--black); letter-spacing: -0.02em; }
.how-header h2 em { font-style: italic; color: var(--accent-dark); }
.section-label { font-family: 'DM Mono', monospace; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; position: relative; }
.how-steps::before { content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 1px; background: rgba(0,0,0,0.1); z-index: 0; }
.how-step { text-align: center; position: relative; z-index: 1; }
.how-step-num { width: 56px; height: 56px; background: var(--black); color: var(--accent); font-family: 'DM Mono', monospace; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; border-radius: 50%; }
.how-step h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--black); margin-bottom: 12px; }
.how-step p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* ── TESTIMONIAL ── */
.testimonial-section { background: var(--black); padding: 120px 80px; text-align: center; }
.testimonial-section blockquote { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.4rem); font-style: italic; color: var(--white); line-height: 1.4; max-width: 860px; margin: 0 auto 32px; font-weight: 700; letter-spacing: -0.01em; }
.testimonial-section blockquote::before { content: '\201C'; color: var(--accent); }
.testimonial-section blockquote::after { content: '\201D'; color: var(--accent); }
.testimonial-attr { font-family: 'DM Mono', monospace; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.3); }

/* ── ABOUT / STATS ── */
.about-section { display: grid; grid-template-columns: 1.2fr 1fr; gap: 100px; padding: 120px 80px; align-items: center; }
.about-left .section-label { color: var(--accent-dark); }
.about-left .section-label::before { background: var(--accent-dark); }
.about-left h2 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--text); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 24px; }
.about-left h2 em { font-style: italic; color: var(--accent-dark); }
.about-left p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.btn-dark { display: inline-block; background: var(--black); color: var(--white); padding: 14px 32px; text-decoration: none; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; border-radius: 2px; margin-top: 8px; transition: background 0.2s; }
.btn-dark:hover { background: #333; }
.about-right { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.stat-box { background: var(--black); padding: 36px 32px; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 900; color: var(--accent); line-height: 1; margin-bottom: 10px; }
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.4); line-height: 1.5; font-weight: 300; }

/* ── CTA SECTION ── */
.cta-section { background: var(--black); padding: 100px 80px; display: flex; justify-content: space-between; align-items: center; gap: 60px; border-top: 1px solid rgba(200,169,110,0.15); }
.cta-left h2 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--white); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 16px; }
.cta-left p { font-size: 1rem; color: rgba(255,255,255,0.45); max-width: 480px; line-height: 1.7; font-weight: 300; }
.btn-black { background: var(--black); color: var(--white); padding: 16px 40px; text-decoration: none; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; border-radius: 2px; white-space: nowrap; transition: background 0.2s; border: 1px solid rgba(255,255,255,0.15); cursor: pointer; font-family: 'DM Sans', sans-serif; }
.btn-black:hover { background: var(--accent); border-color: var(--accent); color: var(--black); }

/* ── SERVICE PAGES ── */
.page-hero { min-height: 80vh; background: var(--black); display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 80px 72px; position: relative; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(0.45) grayscale(10%); }
.hero-grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.45) 100%), linear-gradient(to right, rgba(0,0,0,0.55) 0%, transparent 60%); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 780px; }
.eyebrow { font-family: 'DM Mono', monospace; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--accent); }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.8rem, 5.5vw, 4.8rem); font-weight: 900; color: var(--white); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 24px; }
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero .lead { font-size: 1.1rem; color: rgba(255,255,255,0.6); max-width: 580px; line-height: 1.7; font-weight: 300; }
.intro-band { background: var(--black); border-top: 1px solid rgba(200,169,110,0.12); padding: 72px 80px; }
.intro-inner { display: grid; grid-template-columns: 1fr 1.8fr; gap: 80px; align-items: start; max-width: 1200px; }
.intro-left h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; color: var(--white); line-height: 1.15; letter-spacing: -0.02em; }
.intro-left h2 em { font-style: italic; color: var(--accent); }
.intro-right p { font-size: 1rem; color: rgba(255,255,255,0.6); line-height: 1.8; font-weight: 300; margin-bottom: 16px; }
.services-section-page { padding: 100px 80px; }
.services-section-page h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; color: var(--black); margin-bottom: 52px; letter-spacing: -0.02em; }
.services-section-page h2 em { font-style: italic; color: var(--accent-dark); }
.service-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.service-item { background: var(--white); padding: 40px 36px; border: 1px solid rgba(0,0,0,0.07); }
.service-item-num { font-family: 'DM Mono', monospace; font-size: 0.62rem; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 20px; }
.service-item h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--black); margin-bottom: 14px; line-height: 1.2; }
.service-item p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; }
.port-strip { background: var(--cream); padding: 100px 80px; }
.port-strip-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.port-strip-header h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; color: var(--black); letter-spacing: -0.02em; }
.port-strip-header h2 em { font-style: italic; color: var(--accent-dark); }
.port-strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.pstrip-card { position: relative; aspect-ratio: 4/3; overflow: hidden; text-decoration: none; display: block; }
.pstrip-card-bg { position: absolute; inset: 0; background: var(--black); }
.pstrip-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s, filter 0.4s; filter: brightness(0.8); }
.pstrip-card:hover img { transform: scale(1.05); filter: brightness(0.65); }
.pstrip-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%); z-index: 1; }
.pstrip-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; z-index: 2; }
.pstrip-tag { font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.pstrip-title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--white); line-height: 1.25; }
.page-cta { background: var(--accent); padding: 80px; display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.page-cta h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; color: var(--black); }

/* ── FOOTER ── */
footer { background: #04020a; padding: 72px 80px 40px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand .logo { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--white); text-decoration: none; display: block; margin-bottom: 20px; }
.footer-brand .logo span { color: var(--accent); }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.35); line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.2); }
.footer-social { display: flex; gap: 20px; }
.footer-social a { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.25); text-decoration: none; transition: color 0.2s; }
.footer-social a:hover { color: var(--accent); }

/* ── POPUP ── */
.popup-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(6,3,13,0.85); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.35s ease; }
.popup-overlay.active { opacity: 1; pointer-events: all; }
.popup { background: var(--off-white); width: 100%; max-width: 620px; margin: 24px; padding: 56px 52px; position: relative; transform: translateY(24px); transition: transform 0.35s ease; }
.popup-overlay.active .popup { transform: translateY(0); }
.popup-close { position: absolute; top: 20px; right: 24px; background: none; border: none; cursor: pointer; font-size: 1.4rem; color: var(--text-muted); line-height: 1; padding: 4px 8px; transition: color 0.2s; }
.popup-close:hover { color: var(--black); }
.popup-eyebrow { font-family: 'DM Mono', monospace; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.popup-eyebrow::before { content: ''; display: block; width: 20px; height: 1px; background: var(--accent-dark); }
.popup h2 { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--black); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 8px; }
.popup-sub { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 36px; line-height: 1.6; }
.form-preview { display: flex; flex-direction: column; gap: 14px; }
.form-preview input, .form-preview textarea { width: 100%; background: var(--white); border: 1px solid rgba(0,0,0,0.15); padding: 13px 16px; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--text); border-radius: 2px; outline: none; transition: border-color 0.2s; }
.form-preview input:focus, .form-preview textarea:focus { border-color: var(--accent); }
.form-preview textarea { min-height: 110px; resize: vertical; }
.form-preview button { background: var(--black); color: var(--white); border: none; padding: 14px 36px; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 2px; cursor: pointer; transition: background 0.2s; align-self: flex-start; }
.form-preview button:hover { background: var(--accent-dark); }
/* CF7 form styling */
.wpcf7-form p { margin-bottom: 16px; }
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form textarea { width: 100%; background: var(--white); border: 1px solid rgba(0,0,0,0.15); padding: 13px 16px; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--text); border-radius: 2px; transition: border-color 0.2s; outline: none; }
.wpcf7-form input:focus, .wpcf7-form textarea:focus { border-color: var(--accent); }
.wpcf7-form textarea { min-height: 120px; resize: vertical; }
.wpcf7-form input[type="submit"] { background: var(--black); color: var(--white); border: none; padding: 14px 36px; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 2px; cursor: pointer; transition: background 0.2s; }
.wpcf7-form input[type="submit"]:hover { background: var(--accent-dark); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #ppi-nav { padding: 0 24px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: rgba(10,10,10,0.98); padding: 24px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-mobile-toggle { display: flex; margin-left: auto; }
  .hero, .portfolio-section, .services-section, .how-section, .testimonial-section, .about-section, .cta-section { padding-left: 24px; padding-right: 24px; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .port-card:first-child { grid-column: 1 / 3; }
  .services-grid, .how-steps, .service-items { grid-template-columns: 1fr; }
  .services-top, .about-section, .intro-inner, .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .how-steps::before { display: none; }
  .cta-section, .page-cta { flex-direction: column; text-align: center; padding: 48px 24px; }
  .port-strip, .port-strip-header, .services-section-page { padding-left: 24px; padding-right: 24px; }
  .port-strip-grid { grid-template-columns: 1fr 1fr; }
  .port-strip-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .page-hero { padding: 120px 24px 60px; }
  .intro-band { padding: 48px 24px; }
  footer { padding: 48px 24px 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .clients-bar { padding: 20px 24px; gap: 24px; }
  .popup { padding: 36px 24px; }
  .hero-video { display: none; }
  .hero-img-fallback { display: block; }
}
