/*
Theme Name: Print Signs Promo
Theme URI: https://printsignspromo.com/
Author: Print Signs Promo
Description: Lightweight custom theme for printsignspromo.com. Service pages, Request Pricing and Pay Invoice (Gravity Forms + Stripe). No page builder, no WooCommerce.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: Proprietary
Text Domain: psp
*/

:root {
	--red: #D10008;
	--red-dark: #A50006;
	--print-red: #F40009;
	--navy: #001C49;
	--navy-2: #0C2A5E;
	--navy-3: #1B3B73;
	--ink: #111418;
	--gray-dark: #53565A;
	--gray-mid: #93969A;
	--gray-light: #D8DBE0;
	--offwhite: #F1F2F4;
	--white: #FFFFFF;
	--radius: 10px;
	--wrap: 1200px;
	--font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.1; margin: 0; color: var(--ink); }
p { margin: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; background: var(--white); padding: 10px 16px; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Brand stripe */
.stripe { display: flex; height: 6px; }
.stripe span { flex: 1; }
.stripe span:nth-child(1) { background: var(--navy); }
.stripe span:nth-child(2) { background: var(--red); }
.stripe span:nth-child(3) { background: var(--gray-mid); }
.stripe span:nth-child(4) { background: #000; }

/* Top contact bar */
.topbar { background: var(--navy); color: var(--white); font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.topbar .contacts { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.topbar .pay { font-weight: 600; text-decoration: underline; }

/* Header */
.site-header { border-bottom: 1px solid var(--gray-light); background: var(--white); }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.brand img { height: 36px; width: auto; }
.nav-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: 6px; padding: 10px 14px; font: 600 15px var(--font); color: var(--ink); cursor: pointer; min-height: 44px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 0; display: inline-block; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--red); }
.main-nav .cta a { background: var(--red); color: var(--white); padding: 12px 20px; border-radius: 6px; font-weight: 600; }
.main-nav .cta a:hover { background: var(--red-dark); color: var(--white); }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font: 600 16px/1.2 var(--font); padding: 16px 26px; border-radius: 6px; border: 2px solid transparent; cursor: pointer; text-align: center; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; padding: 14px 24px; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--offwhite); color: var(--ink); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); color: var(--white); }
.btn-small { font-size: 14px; padding: 10px 16px; }
.btn-outline-red { border-color: var(--red); color: var(--red); background: transparent; }
.btn-outline-red:hover { background: var(--red); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Typography helpers */
.eyebrow { font-weight: 600; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); }
.h1 { font-weight: 900; font-size: clamp(40px, 6vw, 64px); line-height: 1.02; letter-spacing: -1.5px; }
.h2 { font-weight: 800; font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.8px; }
.lead { font-size: 19px; line-height: 1.55; color: var(--gray-dark); max-width: 560px; }
.muted { color: var(--gray-dark); }
.small { font-size: 14px; }

/* Photos */
.photo { position: relative; overflow: hidden; background: var(--offwhite); border-radius: var(--radius); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.empty { display: flex; align-items: flex-end; padding: 16px; background: var(--navy); color: var(--white); font-weight: 800; font-size: 20px; }
.photo.empty::before { content: ""; position: absolute; top: 16px; left: 16px; width: 28px; height: 6px; background: var(--red); }
.photo.empty span { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.photo.empty { background: var(--navy) url(assets/img/logo-white.png) center / 60% auto no-repeat; }

/* Hero */
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-collage { flex: 1 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hero-collage .photo:first-child { grid-column: 1 / -1; height: auto; aspect-ratio: 16 / 9; }
.hero-collage .photo { height: auto; aspect-ratio: 4 / 3; }

/* Sections */
.section { padding: 80px 0; }
.section-gray { background: var(--offwhite); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-head { display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; }
.section-head p { max-width: 460px; color: var(--gray-dark); }
.section-navy .section-head a { color: var(--white); font-weight: 600; }

/* Cards */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
a.card:hover { border-color: var(--gray-mid); color: var(--ink); }
a.card:hover .card-more { text-decoration: underline; }
.card .photo { border-radius: 0; height: auto; aspect-ratio: 16 / 10; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.card-title { font-weight: 800; font-size: 22px; }
.card-text { font-size: 15px; line-height: 1.5; color: var(--gray-dark); flex-grow: 1; }
.card-specs { font-size: 13px; color: var(--gray-dark); }
.card-more { font-size: 14px; font-weight: 600; color: var(--red); margin-top: 6px; }
.card .btn { align-self: flex-start; margin-top: 10px; }
.card h3.card-title { font-size: 20px; font-weight: 700; }

/* Popular (navy) */
.grid-popular { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.pop { background: var(--navy-2); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--white); display: flex; flex-direction: column; }
.pop:hover { background: var(--navy-3); color: var(--white); }
.pop .photo { border-radius: 0; height: auto; aspect-ratio: 16 / 10; background: var(--navy-3); }
.pop-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.pop-body strong { font-size: 16px; }
.pop-body span { font-size: 13px; color: #C9D2E0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.step { border-top: 4px solid var(--navy); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.step:nth-child(2) { border-color: var(--red); }
.step:nth-child(3) { border-color: var(--gray-mid); }
.step:nth-child(4) { border-color: #000; }
.step-num { font-weight: 900; font-size: 15px; color: var(--gray-dark); }
.step h3 { font-size: 20px; font-weight: 600; }
.step p { font-size: 15px; color: var(--gray-dark); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.review { margin: 0; border: 1px solid var(--gray-light); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.55; }
.review figcaption { font-size: 14px; color: var(--gray-dark); font-weight: 500; }
.stars { color: var(--red); letter-spacing: 3px; font-size: 18px; }

/* CTA pair */
.cta-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.cta-box { border-radius: 12px; padding: 36px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-box h2 { font-size: 32px; font-weight: 800; }
.cta-red { background: var(--red); color: var(--white); }
.cta-red h2 { color: var(--white); }
.cta-plain { background: var(--white); border: 1px solid var(--gray-light); }

/* Service page */
.service-tabs { border-bottom: 1px solid var(--gray-light); overflow-x: auto; }
.service-tabs ul { list-style: none; margin: 0 auto; max-width: var(--wrap); padding: 0 24px; display: flex; gap: 28px; white-space: nowrap; }
.service-tabs a { display: inline-block; padding: 14px 0; text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 500; border-bottom: 3px solid transparent; }
.service-tabs a:hover { color: var(--red); }
.service-tabs a[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }
.page-hero .wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 56px; }
.page-hero .copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.page-hero .photo { flex: 1 1 440px; height: auto; aspect-ratio: 4 / 3; max-height: 420px; min-width: 0; }
.crumbs { font-size: 14px; color: var(--gray-dark); }
.crumbs a { color: var(--gray-dark); }
.page-title { font-weight: 900; font-size: clamp(38px, 5vw, 56px); letter-spacing: -1.2px; line-height: 1.04; }
.grid-more { margin-top: 32px; text-align: center; font-size: 17px; font-weight: 600; }
.grid-more a { color: var(--red, #D10008); white-space: nowrap; }
.help-band .wrap { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.help-band .copy { flex: 1 1 520px; display: flex; flex-direction: column; gap: 10px; }
.help-band h2 { font-size: 32px; font-weight: 800; }
.card:target { box-shadow: 0 0 0 3px var(--red); }

/* Plain pages */
.page-content { max-width: 760px; }
.page-content h2 { font-size: 28px; font-weight: 800; margin: 40px 0 12px; }
.page-content h3 { font-size: 20px; font-weight: 700; margin: 28px 0 8px; }
.page-content p, .page-content ul, .page-content ol { margin: 0 0 16px; }
.page-content details { border: 1px solid var(--gray-light); border-radius: 8px; padding: 16px 20px; margin: 0 0 12px; background: var(--white); }
.page-content summary { font-weight: 700; cursor: pointer; }
.page-content details p:last-child { margin-bottom: 0; }
.page-content details[open] summary { margin-bottom: 10px; }

/* Form pages */
.form-layout .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 56px; padding-bottom: 88px; }
.form-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.form-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.form-card { border: 1px solid var(--gray-light); border-radius: 12px; padding: 32px; background: var(--white); }
.aside-box { border: 1px solid var(--gray-light); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.aside-box h2 { font-size: 18px; font-weight: 700; }
.aside-dark { background: var(--navy); border-color: var(--navy); color: var(--white); }
.aside-dark h2 { color: var(--white); font-size: 24px; font-weight: 800; }
.aside-dark a { color: var(--white); font-size: 17px; font-weight: 600; }
.aside-box ol { margin: 0; padding-left: 20px; color: var(--gray-dark); line-height: 1.7; font-size: 15px; }
.narrow { max-width: 640px; margin: 0 auto; padding: 56px 24px 88px; display: flex; flex-direction: column; gap: 24px; }

/* Gravity Forms touches (Orbital theme does most of the work) */
.gform_wrapper.gravity-theme .gfield_label, .gform-theme--framework .gform-field-label { font-weight: 600; }
.gform_wrapper .gform_footer { margin-top: 8px; }
.psp-locked input { background: var(--offwhite) !important; font-weight: 600 !important; }
.gform_confirmation_message { font-size: 18px; }

/* Footer */
.site-footer { background: var(--navy); color: #D5DCE6; padding: 64px 0 28px; font-size: 14px; }
.site-footer a { color: #D5DCE6; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px; }
.footer-grid h2 { color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-logo img { height: 26px; width: auto; }
.footer-bottom { margin-top: 40px; border-top: 1px solid var(--navy-3); padding-top: 20px; color: #A9B4C4; font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Mobile */
@media (max-width: 900px) {
	.nav-toggle { display: inline-block; }
	.main-nav { display: none; width: 100%; }
	.main-nav.open { display: block; }
	.main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav li { border-top: 1px solid var(--gray-light); }
	.main-nav a { display: block; padding: 14px 0; font-size: 17px; }
	.main-nav .cta { border: 0; padding-top: 12px; }
	.main-nav .cta a { text-align: center; }
	.hero .wrap { padding-top: 40px; padding-bottom: 56px; }
	.section { padding: 56px 0; }
	.form-card { padding: 22px; }
	.cta-box { padding: 26px; }
}
@media (max-width: 520px) {
	.topbar .contacts { gap: 4px 16px; }
	.brand img { height: 22px; }
	.topbar .contacts a[href^="mailto"] { display: none; }
	.btn { width: 100%; }
	.btn-row .btn { width: 100%; }
}
