/*
Theme Name: PlusVision Advertising
Description: One-page theme for PlusVision Advertising, LLC, converted from the hand-made static site. Business info, hero text, photos and the form recipient are editable in Appearance → Customize → PlusVision Advertising. Privacy Policy, Terms of Use and Accessibility pages are created on activation; the contact form emails requests with wp_mail().
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tz-landing
*/

/* PlusVision Advertising — Miami deco pastels, deep teal; your headline on a billboard */
:root {
  --teal: #0b4f5c;
  --teal-deep: #073540;
  --pink: #f7b6c2;
  --peach: #fcd5b5;
  --mint: #a8e6cf;
  --sky: #9ad0ec;
  --cream: #fff7f0;
  --coral: #c2410c;
  --ink: #0f2a30;
  --muted: #3f5a60;
  --white: #fff;
  --display: "Limelight", Georgia, serif;
  --body: "Josefin Sans", system-ui, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 1.25rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--teal); text-underline-offset: 3px; font-weight: 600; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; }
p { margin: 0; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; box-shadow: 0 0 0 6px var(--white); border-radius: 6px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--teal); color: var(--white); padding: 12px 18px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 1rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mint); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 34px; height: 10px; background: linear-gradient(currentColor 0 2px, transparent 2px 4px, currentColor 4px 6px, transparent 6px 8px, currentColor 8px 10px); }
.eyebrow--dark, .hero .eyebrow { color: var(--teal); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 12px 28px; border-radius: 999px; font: 700 1.125rem/1.2 var(--body); letter-spacing: 0.04em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.2s, background-color 0.2s, color 0.2s, box-shadow 0.2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(11, 79, 92, 0.6); }
.btn--lg { min-height: 60px; padding: 14px 32px; font-size: 1.1875rem; }
.btn--teal { background: var(--teal); color: var(--white); }
.btn--teal:hover { background: var(--teal-deep); }
.btn--line { border-color: var(--teal); color: var(--teal); background: rgba(255, 255, 255, 0.5); }
.btn--line:hover { background: var(--teal); color: var(--white); }
.btn--coral { background: var(--coral); color: var(--white); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 247, 240, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid #f1dccd; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--teal); }
.brand__mark { width: 50px; height: 50px; flex: none; }
.brand__text { display: flex; flex-direction: column; font-family: var(--display); font-size: 1.875rem; line-height: 1; }
.brand__text span { font-family: var(--body); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.125rem; padding: 10px 14px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; }
.nav a:not(.btn):hover { background: var(--pink); }
.nav .btn { margin-left: 10px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 100px) 0; background: linear-gradient(160deg, var(--pink) 0%, var(--peach) 55%, #fde7d4 100%); }
.sunburst { position: absolute; right: -20%; bottom: -60%; width: 110%; aspect-ratio: 1; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.35) 0deg 6deg, transparent 6deg 14deg); -webkit-mask: radial-gradient(circle, #000 20%, transparent 65%); mask: radial-gradient(circle, #000 20%, transparent 65%); }
.js .sunburst { animation: turn 120s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(3rem, 6.8vw, 5.75rem); color: var(--teal); margin-bottom: 24px; }
.hero h1 span { display: block; color: var(--teal-deep); text-shadow: 3px 3px 0 var(--white), 6px 6px 0 rgba(11, 79, 92, 0.25); }
.hero__lead { font-size: clamp(1.25rem, 1.8vw, 1.4375rem); color: var(--ink); max-width: 32em; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.arch { justify-self: center; width: min(100%, 420px); padding: 12px; background: var(--white); border-radius: 999px 999px 26px 26px; box-shadow: 0 40px 60px -40px rgba(7, 53, 64, 0.7); }
.arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 18px 18px; }

/* Billboard */
.billboard { padding: clamp(80px, 9vw, 120px) 0; }
.bb__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.bb__copy h2 { font-size: clamp(2.5rem, 4.8vw, 3.75rem); color: var(--teal); margin-bottom: 14px; }
.bb__copy > p:not(.eyebrow) { color: var(--muted); margin-bottom: 26px; }
.bb__form label { display: block; font-weight: 700; font-size: 1.0625rem; margin-bottom: 8px; }
.bb__row { display: flex; flex-wrap: wrap; gap: 10px; }
.bb__row input { flex: 1 1 220px; min-width: 0; min-height: 56px; padding: 12px 16px; border: 2px solid var(--teal); border-radius: 999px; background: var(--white); color: var(--ink); font: 600 1.125rem/1.3 var(--body); }
.bb__row input:focus { outline: none; box-shadow: 0 0 0 4px rgba(11, 79, 92, 0.2); }
.bb__hint { margin-top: 10px; font-size: 1rem; color: var(--muted); }
.bb__stage { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(7, 53, 64, 0.7); }
.bb__stage img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bb__face { position: absolute; left: 0; top: 0; width: 400px; height: 250px; transform-origin: 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px; text-align: center; background: linear-gradient(135deg, var(--pink), var(--peach)); box-shadow: inset 0 0 0 8px var(--white), inset 0 0 0 12px var(--teal); }
html:not(.js) .bb__face { display: none; }
.bb__text { font-family: var(--display); font-size: 46px; line-height: 1.05; color: var(--teal); overflow-wrap: anywhere; }
.bb__small { font-size: 16px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-deep); }
.bb__face.is-new .bb__text { animation: pop 0.5s cubic-bezier(0.3, 1.5, 0.5, 1); }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } }

/* Heads */
.head { max-width: 760px; margin-bottom: 44px; }
.head h2 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); color: var(--teal); }
.head--center { text-align: center; margin-inline: auto; }

/* Help */
.help { padding: 0 0 clamp(80px, 9vw, 120px); }
.help__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.deco { position: relative; padding: 56px 28px 34px; text-align: center; background: var(--pink); clip-path: polygon(0 18%, 12% 18%, 12% 8%, 28% 8%, 28% 0, 72% 0, 72% 8%, 88% 8%, 88% 18%, 100% 18%, 100% 100%, 0 100%); }
.deco--mint { background: var(--mint); }
.deco--sky { background: var(--sky); }
.deco__icon { display: block; font-size: 1.75rem; color: var(--teal); margin-bottom: 8px; }
.deco h3 { font-size: 2rem; color: var(--teal-deep); margin-bottom: 8px; }
.deco p { color: var(--ink); }

/* Miami */
.miami { background: var(--teal); color: var(--white); padding: clamp(80px, 9vw, 120px) 0; }
.miami__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.miami__photo img { width: 100%; aspect-ratio: 9 / 7; object-fit: cover; border-radius: 26px 26px 999px 26px; border: 8px solid var(--pink); }
.miami h2 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); margin-bottom: 16px; }
.miami p:not(.eyebrow) { color: #dcefee; }

/* FAQ */
.faq { padding: clamp(80px, 9vw, 120px) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq__list details { background: var(--white); border-radius: 22px; border: 2px solid #f1dccd; }
.faq__list details[open] { border-color: var(--teal); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 22px; font-weight: 700; font-size: 1.25rem; color: var(--teal); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--pink); color: var(--teal-deep); font-size: 1.5rem; line-height: 1; transition: transform 0.25s; }
.faq__list details[open] summary::after { transform: rotate(45deg); background: var(--mint); }
.faq__list details p { padding: 0 22px 22px; color: var(--muted); }

/* Contact */
.contact { background: var(--teal-deep); color: var(--white); padding: clamp(80px, 9vw, 120px) 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact h2 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); margin-bottom: 14px; }
.contact__info > p:not(.eyebrow) { color: #dcefee; margin-bottom: 26px; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact__list li { display: grid; gap: 2px; }
.contact__list span { font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mint); }
.contact__list a { color: var(--white); justify-self: start; display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.contact__list address { font-style: normal; }
.form { background: var(--cream); color: var(--ink); border-radius: 28px; padding: clamp(22px, 4vw, 38px); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 1.0625rem; }
.opt { font-weight: 400; color: var(--muted); }
.form input, .form textarea { width: 100%; min-height: 54px; padding: 12px 16px; border: 2px solid #e7cdbd; border-radius: 16px; background: var(--white); color: var(--ink); font: 400 1.1875rem/1.4 var(--body); }
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(11, 79, 92, 0.2); }
.form .btn { justify-self: start; }
.form__status { font-size: 1.125rem; min-height: 1.5em; }
.form[data-state="success"] .form__status { color: #16704a; font-weight: 700; }
.form[data-state="error"] .form__status { color: #a3261b; font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.footer { background: #052a33; color: #c9e3e2; padding: 44px 0 24px; font-size: 1.0625rem; }
.footer a { color: var(--white); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; padding-bottom: 22px; border-bottom: 1px solid #15505c; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand strong { color: var(--white); font-family: var(--display); font-weight: 400; font-size: 1.375rem; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; font-size: 0.9375rem; color: #a6cbca; }

.mobile-bar { display: none; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .nav a:not(.btn) { display: none; }
  .hero__grid, .bb__grid, .miami__grid, .faq__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .help__grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .bb__stage { max-width: 680px; }
}

@media (max-width: 767px) {
  .header__inner { min-height: 68px; }
  .brand__mark { width: 44px; height: 44px; }
  .brand__text { font-size: 1.5rem; }
  .nav .btn { display: none; }
  .arch { width: min(100%, 320px); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .form .btn { justify-self: stretch; }
  .footer__bottom { flex-direction: column; }
  body { padding-bottom: 84px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 247, 240, 0.97); border-top: 1px solid #f1dccd; }
  .mobile-bar .btn { min-height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Legal links & form consent */
.legal-links { line-height: 2; }
.legal-links a { white-space: nowrap; }
.form-legal { margin: 0; font-size: 0.9375rem; line-height: 1.5; }
.form-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Optional-field labels: keep "(optional)" on the label line so inputs in a row line up */
.form label:has(> .opt) { grid-template-columns: max-content minmax(0, 1fr); column-gap: 6px; align-items: baseline; }
.form label:has(> .opt) > :is(input, select, textarea) { grid-column: 1 / -1; }

/* ---------- WordPress additions ---------- */

/* Colours and type for WordPress pages (same as the site's legal pages) */
:root {
  --lg-bg: #fff7f0;
  --lg-surface: #f7f0e9;
  --lg-ink: #0f2a30;
  --lg-muted: #57686a;
  --lg-head: #0b4f5c;
  --lg-accent: #0b4f5c;
  --lg-line: #d4d2cd;
  --lg-display: Limelight, Georgia, serif;
  --lg-body: "Josefin Sans", system-ui, sans-serif;
}

/* Sticky header below the admin bar for signed-in users */
.admin-bar .header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media screen and (max-width: 600px) { .admin-bar .header { top: 0; } }

/* WordPress core helpers */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background: #fff; clip: auto !important; clip-path: none; color: #111; display: block; height: auto; left: 8px; padding: 12px 18px; top: 8px; width: auto; z-index: 100000; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }

/* Pages: Privacy Policy, Terms of Use, Accessibility Statement and any other page */
.page-doc { background: var(--lg-bg); color: var(--lg-ink); font-family: var(--lg-body); }
.page-doc__wrap { width: min(100% - 32px, 880px); margin-inline: auto; padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.page-doc .page-doc__title { font-family: var(--lg-display); font-weight: 400; color: var(--lg-head); font-size: clamp(2.25rem, 5vw, 3.25rem); line-height: 1.1; letter-spacing: normal; text-transform: none; margin: 0 0 14px; }
.page-doc__content { font-size: 1.1875rem; line-height: 1.7; }
.page-doc .page-doc__content h2 { font-family: var(--lg-display); font-weight: 400; color: var(--lg-head); font-size: clamp(1.5rem, 3vw, 1.875rem); line-height: 1.2; letter-spacing: normal; text-transform: none; margin: 2.2em 0 0.5em; }
.page-doc .page-doc__content h3 { font-family: var(--lg-body); font-weight: 700; color: var(--lg-ink); font-size: 1.1875rem; line-height: 1.3; letter-spacing: normal; text-transform: none; margin: 1.4em 0 0.3em; }
.page-doc .page-doc__content p, .page-doc .page-doc__content ul, .page-doc .page-doc__content ol { margin: 0 0 1em; max-width: 70ch; }
.page-doc .page-doc__content ul, .page-doc .page-doc__content ol { padding-left: 1.3em; list-style: revert; }
.page-doc .page-doc__content li { margin-bottom: 0.4em; }
.page-doc a { color: var(--lg-accent); overflow-wrap: anywhere; text-underline-offset: 3px; }
.page-doc .page-doc__content img { height: auto; }
.page-doc .page-date { color: var(--lg-muted); font-size: 1rem; }
.page-doc .page-contact { font-style: normal; padding: 18px 22px; border-left: 4px solid var(--lg-accent); background: var(--lg-surface); max-width: 70ch; margin: 0 0 1em; }
.page-doc .page-doc__back { margin-top: 40px; font-weight: 700; }
.page-doc .page-doc__back a { display: inline-flex; align-items: center; min-height: 44px; }
.page-doc .page-doc__item { padding: 22px 0; border-bottom: 1px solid var(--lg-line); }
.page-doc .page-doc__item h2 { font-family: var(--lg-display); font-weight: 400; font-size: 2rem; margin: 0 0 8px; }
.page-doc .page-doc__item h2 a { color: var(--lg-head); text-decoration: none; }
.page-doc .nav-links { display: flex; gap: 10px; margin-top: 28px; }
.page-doc .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 2px solid var(--lg-ink); color: var(--lg-ink); text-decoration: none; font-weight: 700; }
.page-doc .page-numbers.current { background: var(--lg-ink); color: var(--lg-bg); }
