/*
Theme Name: Vitta Pictorum Bright
Theme URI: https://vittapictorum.com/
Author: Vitta Pictorum
Description: A responsive, editable WordPress theme for Vitta Pictorum, recreated from the approved bright website design.
Version: 1.2.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: vitta-pictorum
*/

:root {
  --vp-navy: #092644;
  --vp-navy-2: #163856;
  --vp-gold: #d3a12f;
  --vp-gold-dark: #b77f16;
  --vp-ink: #10263f;
  --vp-copy: #4d5b68;
  --vp-line: #dfe4e8;
  --vp-soft: #f5f7f8;
  --vp-white: #ffffff;
  --vp-shadow: 0 16px 45px rgba(9, 38, 68, .12);
  --vp-radius: 4px;
  --vp-width: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--vp-copy);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--vp-navy); text-decoration: none; }
a:hover { color: var(--vp-gold-dark); }
button, input, textarea, select { font: inherit; }
.vp-shell { width: min(calc(100% - 40px), var(--vp-width)); margin-inline: auto; }
.vp-main { overflow: hidden; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(9,38,68,.12);
  backdrop-filter: blur(12px);
}
body.home .site-header {
  position: absolute;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.84) 62%, rgba(255,255,255,0) 100%);
  border-bottom: 0;
  backdrop-filter: none;
}
body.home.admin-bar .site-header { top: 32px; }
body.home .vp-hero { padding-top: 62px; }
body.home .header-inner .custom-logo { mix-blend-mode: multiply; }
body.home .header-inner > .site-brand { display: none; }
.header-inner { min-height: 62px; display: flex; align-items: center; gap: 24px; }
.site-brand { display: inline-flex; align-items: center; gap: 7px; min-width: 165px; }
.site-brand img { width: 41px; height: 38px; object-fit: contain; }
.brand-words { color: var(--vp-navy); font-family: Georgia, serif; line-height: .9; letter-spacing: .095em; }
.brand-name { display: block; font-size: 15px; }
.brand-sub { display: block; margin-top: 4px; font-family: Arial, sans-serif; font-size: 6px; letter-spacing: .18em; }
.site-brand .custom-logo, .custom-logo-link .custom-logo { width: auto; max-width: 190px; height: 58px; object-fit: contain; }
.custom-logo-link { display: inline-flex; flex: 0 0 auto; align-items: center; }
.header-inner .custom-logo-link .custom-logo { max-width: 150px; height: 42px; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.site-nav a { position: relative; display: block; padding: 20px 0 17px; color: var(--vp-ink); font-size: 12px; font-weight: 650; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 11px; height: 2px; background: var(--vp-gold); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav .current-menu-item > a::after, .site-nav .current_page_item > a::after { right: 0; }
.header-cta { white-space: nowrap; }
.menu-toggle { display: none; margin-left: auto; padding: 8px; border: 0; background: transparent; color: var(--vp-navy); }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 5px; background: currentColor; }

.vp-button, input[type="submit"], button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid var(--vp-gold);
  border-radius: 2px;
  background: linear-gradient(135deg, #dcb148, var(--vp-gold-dark));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.vp-button:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(183,127,22,.24); }
.vp-button--nav { min-height: 36px; padding: 8px 14px; font-size: 10px; }
.vp-button--outline { border-color: var(--vp-navy); background: #fff; color: var(--vp-navy); }
.vp-button--outline:hover { color: var(--vp-navy); box-shadow: 0 10px 24px rgba(9,38,68,.12); }
.vp-button--navy { border-color: var(--vp-navy); background: var(--vp-navy); }

.vp-hero { position: relative; min-height: 520px; display: grid; align-items: center; background: #f4f7f9; }
.vp-hero::before { content: ""; position: absolute; inset: 0 0 0 40%; background-color: #eef3f6; background-image: var(--vp-hero-image); background-repeat: no-repeat; background-size: auto 122%; background-position: center; }
.vp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 7%, rgba(255,255,255,.98) 31%, rgba(255,255,255,.68) 52%, rgba(255,255,255,0) 73%); }
.vp-hero .vp-shell { position: relative; z-index: 2; }
.hero-copy { width: min(590px, 58%); padding-block: 72px; }
.hero-brand { display: flex; align-items: center; gap: 18px; margin-bottom: 23px; }
.hero-brand::after { content: ""; width: 64px; height: 2px; background: linear-gradient(90deg, var(--vp-gold), rgba(211,161,47,0)); }
.hero-brand .site-brand { min-width: 0; gap: 12px; }
.hero-brand .site-brand img { width: 76px; height: 68px; filter: drop-shadow(0 5px 12px rgba(9,38,68,.1)); }
.hero-brand .brand-name { font-size: 27px; }
.hero-brand .brand-sub { margin-top: 6px; font-size: 8px; letter-spacing: .2em; }
.eyebrow { margin: 0 0 11px; color: var(--vp-gold-dark); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, h4 { margin-top: 0; color: var(--vp-ink); font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif; line-height: 1.08; }
h1 { margin-bottom: 20px; font-size: clamp(38px, 5.5vw, 66px); letter-spacing: -.035em; text-transform: uppercase; }
.gold { color: var(--vp-gold); }
.hero-copy p { max-width: 510px; margin: 0 0 28px; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }

.vp-trust { border-block: 1px solid var(--vp-line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.trust-item { padding: 23px 10px; text-align: center; }
.trust-icon { display: grid; width: 34px; height: 34px; margin: 0 auto 9px; place-items: center; color: var(--vp-gold); font-size: 25px; }
.trust-item strong { display: block; color: var(--vp-ink); font-size: 10px; line-height: 1.25; letter-spacing: .03em; text-transform: uppercase; }

.vp-section { padding: 76px 0; }
.vp-section--soft { background: var(--vp-soft); }
.section-heading { max-width: 720px; margin: 0 auto 38px; text-align: center; }
.section-heading h1, .section-heading h2 { margin-bottom: 11px; font-size: clamp(30px, 4vw, 43px); text-transform: uppercase; }
.section-heading h1::after, .section-heading h2::after, .title-rule::after { content: ""; display: block; width: 54px; height: 3px; margin: 15px auto 0; background: var(--vp-gold); }
.section-heading p { margin: 0; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.service-card { display: grid; grid-template-columns: 62px 1fr; min-height: 150px; padding: 26px 22px; border: 1px solid var(--vp-line); background: #fff; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(211,161,47,.65); box-shadow: var(--vp-shadow); }
.service-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #f6f1e6; color: var(--vp-gold-dark); font-size: 22px; }
.service-card h3 { margin: 2px 0 7px; font-size: 17px; text-transform: uppercase; }
.service-card p { margin: 0; font-size: 13px; line-height: 1.5; }
.services-actions { margin-top: 30px; text-align: center; }

.vp-image-cta { position: relative; min-height: 270px; display: grid; align-items: center; background: #eef2f4; overflow: hidden; }
.vp-image-cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, #fff 8%, rgba(255,255,255,.95) 43%, rgba(255,255,255,.2) 75%), var(--vp-cta-image); background-size: cover; background-position: center; }
.vp-image-cta .vp-shell { position: relative; }
.cta-copy { max-width: 600px; padding-block: 45px; }
.cta-copy h2 { margin-bottom: 12px; font-size: 28px; text-transform: uppercase; }

.page-hero { padding: 54px 0 42px; text-align: center; background: linear-gradient(135deg, #fff, #f4f7f9); }
.page-hero h1 { margin-bottom: 9px; font-size: clamp(35px, 5vw, 52px); }
.page-hero p { max-width: 700px; margin: 0 auto; }

.about-intro { display: grid; grid-template-columns: 1fr 1.05fr; min-height: 470px; }
.about-copy { align-self: center; padding: 60px max(40px, 7vw); }
.about-copy h2 { font-size: 34px; text-transform: uppercase; }
.about-image { min-height: 440px; background-size: cover; background-position: center; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--vp-line); }
.stat { padding: 31px 18px; text-align: center; border-right: 1px solid var(--vp-line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--vp-gold-dark); font-size: 28px; }
.stat span { color: var(--vp-ink); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #f5f7fa; }
.mission-block { padding: 52px max(35px, 7vw); }
.mission-block + .mission-block { border-left: 1px solid var(--vp-line); }
.values { padding: 0; list-style: none; }
.values li { margin: 9px 0; }
.values li::before { content: "✓"; margin-right: 10px; color: var(--vp-gold-dark); font-weight: 900; }

.gallery-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin: -10px 0 25px; }
.gallery-filter { padding: 9px 15px; border: 0; border-radius: 2px; background: transparent; color: var(--vp-ink); font-size: 11px; font-weight: 800; text-transform: uppercase; cursor: pointer; }
.gallery-filter.is-active { background: var(--vp-gold); color: #fff; }
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.project-card { position: relative; aspect-ratio: 1.35; overflow: hidden; background: #e9eef1; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-card:hover img { transform: scale(1.045); }
.project-label { position: absolute; inset: auto 0 0; padding: 28px 14px 12px; background: linear-gradient(transparent, rgba(9,38,68,.82)); color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: .25s ease; }
.project-card:hover .project-label { opacity: 1; transform: none; }

.contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 34px; }
.contact-panel { padding: 36px; background: var(--vp-navy); color: #fff; }
.contact-row { display: grid; grid-template-columns: 36px 1fr; gap: 11px; margin-bottom: 27px; }
.contact-row:last-child { margin-bottom: 0; }
.contact-row .contact-icon { color: var(--vp-gold); font-size: 22px; }
.contact-row strong { display: block; margin-bottom: 3px; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.contact-row a { color: #fff; }
.vp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.vp-field--full { grid-column: 1 / -1; }
.vp-form label { display: block; color: var(--vp-ink); font-size: 11px; font-weight: 750; letter-spacing: .025em; text-transform: uppercase; }
.vp-form input, .vp-form textarea, .vp-form select { width: 100%; min-height: 46px; margin-top: 5px; padding: 10px 12px; border: 1px solid #d5dce1; border-radius: 2px; background: #fff; color: var(--vp-copy); }
.vp-form textarea { min-height: 125px; resize: vertical; }
.vp-form input:focus, .vp-form textarea:focus, .vp-form select:focus { outline: 2px solid rgba(211,161,47,.35); border-color: var(--vp-gold); }
.vp-honeypot { position: absolute; left: -9999px; }
.form-notice { margin-bottom: 22px; padding: 12px 15px; border-left: 4px solid #3d9a6a; background: #eef9f2; color: #246a48; }
.form-notice--error { border-color: #b94b42; background: #fff1f0; color: #8d302a; }
.map-frame { width: 100%; min-height: 270px; border: 0; filter: saturate(.55); }

.service-hero { min-height: 420px; display: grid; align-items: center; background-size: cover; background-position: center; }
.service-hero-copy { max-width: 520px; padding: 50px; background: linear-gradient(110deg, rgba(9,38,68,.98), rgba(9,38,68,.82)); color: #fff; }
.service-hero h1, .service-hero-copy h1 { color: #fff; }
.service-hero-copy p { font-size: 17px; }
.check-list { padding: 0; list-style: none; }
.check-list li { margin: 7px 0; }
.check-list li::before { content: "✓"; margin-right: 9px; color: var(--vp-gold); font-weight: 900; }
.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--vp-line); }
.feature { padding: 24px 20px; text-align: center; }
.feature strong { display: block; margin-bottom: 4px; color: var(--vp-ink); font-size: 11px; text-transform: uppercase; }
.feature span { font-size: 12px; line-height: 1.4; }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.details-grid h2 { font-size: 24px; text-transform: uppercase; }
.faq-item { border: 1px solid var(--vp-line); border-bottom: 0; }
.faq-item:last-child { border-bottom: 1px solid var(--vp-line); }
.faq-question { width: 100%; padding: 15px; border: 0; background: #fff; color: var(--vp-ink); text-align: left; font-size: 13px; font-weight: 750; cursor: pointer; }
.faq-answer { display: none; padding: 0 15px 15px; font-size: 13px; }
.faq-item.is-open .faq-answer { display: block; }

.site-footer { padding: 42px 0 18px; border-top: 3px solid var(--vp-gold); background: linear-gradient(135deg, #fbf8ef, #f0e9d9); color: var(--vp-copy); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .58fr .82fr; gap: 42px; }
.site-footer .site-brand { gap: 11px; margin-bottom: 19px; padding-bottom: 13px; border-bottom: 2px solid rgba(211,161,47,.7); }
.site-footer .site-brand img { width: 68px; height: 60px; filter: drop-shadow(0 4px 10px rgba(9,38,68,.08)); }
.site-footer .brand-name { font-size: 21px; }
.site-footer .brand-sub { margin-top: 5px; font-size: 6.5px; }
.site-footer .brand-words, .site-footer h3, .site-footer a { color: var(--vp-navy); }
.site-footer a:hover { color: var(--vp-gold-dark); }
.site-footer h3 { margin-bottom: 14px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 6px 0; }
.footer-bottom { margin-top: 28px; padding-top: 17px; border-top: 1px solid rgba(9,38,68,.14); color: var(--vp-navy-2); font-size: 12px; text-align: center; }
.signature { font-family: "Brush Script MT", cursive; color: var(--vp-navy); font-size: 34px; }
.empty-copy { max-width: 760px; margin: 0 auto; padding: 60px 20px; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; padding: 10px 20px 22px; background: #fff; border-bottom: 1px solid var(--vp-line); box-shadow: 0 20px 30px rgba(9,38,68,.09); }
  .site-nav.is-open { display: block; }
  .site-nav ul { display: block; }
  .site-nav a { padding: 12px 0; }
  .site-nav a::after { bottom: 7px; }
  .vp-hero::before { left: 30%; }
  .hero-copy { width: 65%; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 700px) {
  .vp-shell { width: min(calc(100% - 28px), var(--vp-width)); }
  .header-inner { min-height: 54px; }
  body.home .vp-hero { padding-top: 54px; }
  .site-brand { min-width: 0; }
  .site-brand img { width: 36px; height: 33px; }
  .header-inner .custom-logo-link .custom-logo { width: auto; max-width: 120px; height: 36px; }
  .brand-name { font-size: 13px; }
  .brand-sub { margin-top: 3px; font-size: 5px; }
  .vp-hero { min-height: 610px; align-items: end; }
  .vp-hero::before { inset: 0; background-size: cover; background-position: 64% center; }
  .vp-hero::after { background: linear-gradient(0deg, #fff 10%, rgba(255,255,255,.95) 44%, rgba(255,255,255,.08) 75%); }
  .hero-copy { width: 100%; padding: 260px 0 48px; }
  .hero-brand { gap: 11px; margin-bottom: 18px; }
  .hero-brand::after { width: 34px; }
  .hero-brand .site-brand { gap: 9px; }
  .hero-brand .site-brand img { width: 62px; height: 55px; }
  .hero-brand .brand-name { font-size: 21px; }
  .hero-brand .brand-sub { font-size: 6px; }
  h1 { font-size: 39px; }
  .hero-copy p { font-size: 15px; }
  .hero-actions .vp-button { flex: 1 1 170px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-bottom: 1px solid var(--vp-line); }
  .vp-section { padding: 55px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project-label { opacity: 1; transform: none; }
  .about-intro { grid-template-columns: 1fr; }
  .about-copy { padding: 45px 25px; }
  .about-image { min-height: 330px; order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .mission-grid, .details-grid, .footer-grid { grid-template-columns: 1fr; }
  .mission-block + .mission-block { border-left: 0; border-top: 1px solid var(--vp-line); }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .vp-form { grid-template-columns: 1fr; }
  .vp-field--full { grid-column: auto; }
  .contact-panel { display: block; padding: 28px; }
  .service-hero { align-items: end; min-height: 540px; }
  .service-hero-copy { max-width: none; padding: 35px 24px; }
  .footer-grid { gap: 28px; }
}

@media (max-width: 782px) {
  body.home.admin-bar .site-header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
