/*
Theme Name: Printec Lab Studio
Description: Print Studio design with product shortcuts and WhatsApp quotes for Printec Lab, Lahore.
Version: 3.2.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: printec-lab-studio
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --ink: #27201c;
  --deep: #231c18;
  --red: #b42337;
  --hot: #ff7581;
  --paper: #f7f0e7;
  --white: #fff;
  --muted: #65564e;
  --line: #e8ddd1;
  --blush: #f8e7e5;
  --radius: 18px;
  --width: 1160px;
  --shadow: 0 12px 40px rgba(49, 27, 21, .08);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fffcf7; font: 16px/1.7 system-ui, -apple-system, "Segoe UI", sans-serif; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--red); text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
h1, h2, h3, p, ul, ol, figure { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6vw, 5rem); letter-spacing: -.057em; margin-bottom: .36em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); letter-spacing: -.04em; margin-bottom: .55em; }
h3 { font-size: clamp(1.14rem, 2vw, 1.38rem); letter-spacing: -.02em; margin-bottom: .5em; }
p { margin-bottom: 1em; }
address { font-style: normal; }
.wrap { width: min(calc(100% - 48px), var(--width)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.screen-reader-text:focus { width: auto; height: auto; clip-path: none; padding: .7rem 1rem; top: 10px; left: 10px; z-index: 100; background: #fff; }

.topbar { background: var(--deep); color: #faeade; font-size: .8rem; font-weight: 600; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px 24px; padding-block: 8px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; background: var(--hot); }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; white-space: nowrap; font-size: 1.28rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; overflow: hidden; background: #fe0000; }
.brand-mark img { width: 121%; max-width: none; }
.brand em { color: var(--red); font-style: normal; }
.nav-list { display: flex; align-items: center; gap: 1.45rem; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--ink); font-weight: 650; font-size: .92rem; text-decoration: none; }
.nav-list a:hover, .nav-list a[aria-current="page"], .nav-list .current-menu-item > a { color: var(--red); text-decoration: underline; }
.nav-toggle { display: none; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 9px; padding: .35em .65em; min-height: 42px; font-weight: 700; }

.btn, .wp-block-button .wp-block-button__link {
  display: inline-flex; gap: .55em; justify-content: center; align-items: center;
  padding: .75rem 1.15rem; border: 1px solid transparent; border-radius: 9px;
  background: var(--red); color: var(--white); font-weight: 740; font-size: .95rem;
  line-height: 1.4; text-decoration: none; text-align: center;
  transition: background .16s, color .16s, border-color .16s;
}
.btn:hover, .wp-block-button .wp-block-button__link:hover { background: #a61f2d; color: #fff; }
.btn-outline, .pl-outline .wp-block-button__link { background: transparent; border-color: currentColor; color: var(--ink); }
.btn-outline:hover, .pl-outline .wp-block-button__link:hover { background: var(--paper); color: var(--red); }
.wp-block-buttons, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin: 1.3rem 0 0; }

.hero { position: relative; overflow: hidden; color: var(--ink); background: #f5eadc; border-bottom: 1px solid #e5d5c5; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(32px,5vw,74px); padding-block: clamp(55px,6.8vw,90px); }
.hero h1 { margin: .19em 0 .26em; max-width: 12ch; font-size: clamp(2.85rem,6.8vw,5.5rem); }
.hero h1 strong { color: var(--red); font-weight: inherit; }
.studio-hero h1 strong { display: block; font: italic 700 1.09em/.95 Georgia, "Times New Roman", serif; letter-spacing: -.06em; }
.hero .intro { color: var(--muted); max-width: 45ch; font-size: clamp(1rem,1.7vw,1.13rem); }
.eyebrow { color: var(--red); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero .eyebrow { display: inline-flex; align-items: center; padding: .34rem .62rem; border: 1px solid #d9bbad; border-radius: 5px; color: #7a2330; letter-spacing: .08em; margin-bottom: .9rem; }
.hero .trust-line { color: #715b4c; font-size: .86rem; margin: 1.2rem 0 0; }
.hero-art { align-self: center; margin: 0; }
.hero-art img { border-radius: 16px; width: 100%; }
.hero-art figcaption { color: #715b4c; font-size: .75rem; text-align: right; margin-top: .5rem; }

.section { padding-block: clamp(52px,7vw,89px); }
.section-muted { background: var(--paper); border-block: 1px solid #eee0d3; }
.section-lead { color: var(--muted); max-width: 66ch; }
.headline { padding-block: clamp(48px,7vw,78px); background: var(--paper); border-bottom: 1px solid var(--line); }
.headline h1 { font-size: clamp(2.5rem,5.5vw,4.4rem); }
.headline .intro { max-width: 66ch; color: var(--muted); font-size: 1.125rem; margin: 0; }
.breadcrumb { color: var(--muted); font-size: .88rem; margin: 0 0 1rem; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 1.7rem; }
.card { padding: clamp(20px,3vw,28px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card p { color: var(--muted); }
.card > :last-child { margin-bottom: 0; }
.card-number { color: var(--red) !important; background: var(--blush); display: inline-grid; place-items: center; height: 35px; min-width: 35px; padding: 0 6px; border-radius: 7px; font-size: .8rem; font-weight: 800; margin-bottom: .9rem; }
.card a { font-size: .93rem; font-weight: 750; }
.products { scroll-margin-top: 20px; }
.product-grid { gap: 20px; }
.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; border-radius: 14px; }
.product-card:hover { border-color: #caa8a2; }
.product-visual img { width: 100%; aspect-ratio: 320 / 146; object-fit: cover; }
.product-copy { padding: clamp(17px,2vw,24px); flex: 1; display: flex; flex-direction: column; }
.product-copy p { margin-bottom: .8em; }
.product-copy .product-category { font-size: .75rem; font-weight: 780; color: var(--red); letter-spacing: .075em; text-transform: uppercase; }
.product-copy h3 { font-size: clamp(1.25rem,2.2vw,1.6rem); }
.product-link { align-self: flex-start; margin-top: auto; padding-top: .4rem; }
.steps .card { box-shadow: none; }
.split { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); align-items: start; gap: clamp(22px,5vw,64px); }
.split .card { box-shadow: none; }
.prose { max-width: 73ch; }
.prose p, .prose li { color: var(--muted); }
.prose h2 { font-size: clamp(1.5rem,3.2vw,2.15rem); margin-top: 1.25em; }
.prose > :first-child { margin-top: 0; }
.prose li + li { margin-top: .35rem; }
.prose a { font-weight: 650; }
.facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.facts li { padding-top: .75rem; border-top: 2px solid var(--red); color: var(--muted); font-size: .94rem; }
.facts strong { color: var(--ink); display: block; font-size: 1.05rem; }
.cta { background: var(--red); color: #fff; }
.cta .wrap { padding-block: clamp(33px,5vw,57px); display: flex; align-items: center; justify-content: space-between; gap: 1.3rem 2rem; }
.cta h2 { font-size: clamp(1.65rem,3.5vw,2.5rem); margin: 0 0 .32em; }
.cta p { margin: 0; color: #fff3f3; }
.cta .wp-block-buttons { margin: 0; flex-shrink: 0; }
.cta .wp-block-button__link { background: #fff; color: var(--deep); }
.cta .wp-block-button__link:hover { background: var(--blush); color: var(--red); }

.contact-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 22px; align-items: start; }
.contact-grid h2 { font-size: clamp(1.5rem,2.8vw,2rem); }
.contact-grid a { overflow-wrap: anywhere; }
.contact-links a { display: inline-block; margin: .2rem 0; }
.quote-section { scroll-margin-top: 22px; }
.quote-form { display: grid; gap: .9rem; margin-top: 1.1rem; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
.quote-form label { display: block; font-weight: 700; font-size: .88rem; color: var(--ink); }
.quote-form input, .quote-form select, .quote-form textarea { display: block; width: 100%; background: #fff; border: 1px solid #b4a397; border-radius: 7px; padding: .56rem .64rem; margin-top: .25rem; color: var(--deep); }
.quote-form textarea { resize: vertical; }
.quote-form .btn { justify-self: start; }
.quote-message { white-space: pre-wrap; background: var(--paper); border: 1px solid var(--line); padding: .9rem; border-radius: 8px; overflow-wrap: anywhere; }
.small { font-size: .86rem; color: var(--muted); }
.site-footer { background: var(--deep); color: #eeded2; padding: 52px 0 22px; }
.site-footer a { color: #f6e9dd; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: .9rem; }
.site-footer .brand em { color: #ff8994; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .85fr 1fr; gap: 22px 38px; }
.footer-grid h2 { font-size: 1.02rem; letter-spacing: 0; color: #fff; }
.footer-grid p { max-width: 35ch; }
.footer-grid ul { list-style: none; padding: 0; margin-bottom: 0; }
.footer-grid li + li { margin-top: .28rem; }
.footer-bottom { border-top: 1px solid #543f36; margin-top: 30px; padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; font-size: .85rem; }
.site-content { min-height: 32vh; }
.post-content { padding-block: 55px; }
.post-content h1 { font-size: clamp(2.25rem,5vw,3.7rem); }
.post-content img { max-width: 100%; }
.editor-styles-wrapper .hero { padding-inline: 10px; }
.editor-styles-wrapper .wrap { width: 95%; }

@media (max-width: 900px) {
  .nav-list { gap: .8rem; }
  .header-quote { display: none; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-grid { gap: 28px; }
}
@media (max-width: 710px) {
  .wrap { width: min(calc(100% - 34px),var(--width)); }
  .header-row { min-height: 67px; flex-wrap: wrap; gap: .4rem 1rem; padding-block: .6rem; }
  .js .nav-toggle { display: inline-block; }
  .site-nav { flex: 0 0 100%; }
  .js .site-nav:not(.is-open) { display: none; }
  .nav-list { display: flex; flex-wrap: wrap; gap: .45rem 1rem; padding: 7px 0 4px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: minmax(0,1fr); }
  .hero-grid { padding-block: 45px; }
  .hero-art { max-width: 420px; }
  .cta .wrap { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 445px) {
  .topbar .wrap { font-size: .73rem; }
  .cards, .footer-grid, .facts, .form-row { grid-template-columns: minmax(0,1fr); }
  .footer-grid > :first-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Accessible disclosure content and narrow-screen resilience. */
.faq-list details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-list summary { cursor: pointer; font-weight: 750; padding: 6px 0; }
.faq-list details p { margin: 12px 0 4px; }
.prose h3 { margin-top: 1.8rem; }
input, select, textarea { min-width: 0; max-width: 100%; }
.contact-links, .site-footer, .prose { overflow-wrap: anywhere; }
.nav-list a, summary { min-height: 44px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* Consistent reading alignment, social controls and quote spacing. */
.section > .wrap.prose { max-width: var(--width); }
.section > .wrap.prose > :is(p, h2, h3, ul, ol, .faq-list) { max-width: 74ch; }
.headline .intro { max-width: 68ch; }
.cards > *, .split > *, .contact-grid > *, .footer-grid > * { min-width: 0; }
.cards > .card { height: 100%; }
.cards > .card:not(.product-card) { display: flex; flex-direction: column; align-items: flex-start; }
.cards > .card > :last-child { margin-bottom: 0; }
.faq-list summary { line-height: 1.5; padding-right: 12px; }
.site-footer .footer-grid { align-items: start; }
.social-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 8px; margin-top: 20px; max-width: 440px; }
.social-links a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; min-width: 0; padding: 10px 8px; border: 1px solid currentColor; border-radius: 10px; text-decoration: none; font-size: .8125rem; font-weight: 650; line-height: 1.25; }
.social-links a span { white-space: nowrap; }
.social-links svg { display: block; width: 20px; height: 20px; flex: 0 0 20px; }
.social-links a:hover { background: var(--blush); color: var(--red); }
.social-links a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.quote-form .form-row { align-items: start; gap: 16px; }
.quote-form { gap: 18px; }
.quote-form input, .quote-form select { min-height: 48px; font-size: 16px; }
.quote-form textarea { font-size: 16px; min-height: 130px; }
.field-hint { display: block; margin-top: 7px; color: var(--muted); font-size: .78rem; line-height: 1.5; font-weight: 400; }
.cta .btn { flex-shrink: 0; background: #fff; color: var(--deep); }
.cta .btn:hover { background: var(--blush); color: var(--red); }
.cta .wrap > div { min-width: 0; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 710px) {
  .hero h1 { font-size: clamp(2.65rem, 9.5vw, 4.2rem); }
  .section, .headline { padding-block: 42px; }
  .social-links { max-width: 440px; }
  .quote-form .btn { width: 100%; justify-self: stretch; }
}
@media (max-width: 540px) {
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .social-links a { flex-direction: column; gap: 7px; min-height: 70px; padding: 10px 5px; }
  .cta .btn, .cta .wp-block-buttons, .cta .wp-block-button, .cta .wp-block-button__link { width: 100%; }
  .quote-section { padding: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 445px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* Compatibility with saved classic Group markup: flatten layout-only wrappers. */
.site-content :is(.hero-grid, .cards, .split, .contact-grid, .cta .wrap) > .wp-block-group__inner-container { display: contents; }
.site-content :is(.hero-grid, .cards, .split, .contact-grid) > .wp-block-group__inner-container > * { min-width: 0; margin-block: 0; }
.site-content .cards > .wp-block-group__inner-container > .card { height: 100%; }
.site-nav { min-width: 0; }
.nav-list { flex-wrap: wrap; }
.nav-list a { white-space: nowrap; }

.site-content .cards > .card { margin: 0; }
.site-content :is(.hero-grid, .split, .contact-grid) > :not(.wp-block-group__inner-container) { margin-block: 0; }
