/*
Theme Name: UreseQure
Theme URI: https://uresequrellc.wordpress.com
Author: UreseQure LLC
Description: Company theme for UreseQure LLC — IT Solutions & Security Solutions for smart homes, smart offices and smart buildings. Includes a service request form and online appointment booking with admin management, email notifications and double-booking protection.
Version: 1.0.3
Requires at least: 6.0
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: uresequre
*/
:root {
  --bg: #0a1224;
  --bg-2: #0e1830;
  --surface: #121e3a;
  --surface-2: #172647;
  --line: rgba(148, 170, 220, .16);
  --text: #e8eefc;
  --muted: #9aa9c9;
  --accent: #00d4b4;
  --accent-2: #3b82f6;
  --accent-ink: #032a24;
  --danger: #ff6b6b;
  --radius: 14px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.eyebrow { color: var(--accent); font: 600 .8rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.accent { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 10px; font: 600 .97rem/1 var(--font); border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px -10px var(--accent); }
.btn-primary:hover { background: #22e6c8; }
.btn-ghost { color: var(--text); border-color: var(--line); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: .6rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 18, 36, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--text); font: 700 1.3rem/1 var(--display); }
.brand:hover { text-decoration: none; }
.brand b { color: var(--accent); }
.brand-mark { width: 28px; height: 28px; fill: rgba(0, 212, 180, .15); stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) { color: var(--muted); font-weight: 500; font-size: .95rem; }
.site-nav a:not(.btn):hover { color: var(--text); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { position: relative; padding: clamp(3.5rem, 8vw, 6.5rem) 0; overflow: hidden; }
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); opacity: .5; }
.hero::after { content: ""; position: absolute; width: 600px; height: 600px; right: -150px; top: -200px; background: radial-gradient(circle, rgba(0, 212, 180, .18), transparent 65%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.6rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: var(--muted); font-size: .93rem; }
.hero-points li { display: flex; align-items: center; gap: .45rem; }
.hero-points .ic { color: var(--accent); }

.panel { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: center; gap: .6rem; font-weight: 600; margin-bottom: 1rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(0, 212, 180, .18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(0, 212, 180, 0); } }
.pill { margin-left: auto; font-size: .75rem; padding: .3rem .65rem; border-radius: 99px; background: rgba(0, 212, 180, .14); color: var(--accent); }
.panel-row { display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: center; padding: .75rem .2rem; border-top: 1px solid var(--line); font-size: .93rem; }
.panel-row .ic { color: var(--accent-2); }
.panel-row em { font-style: normal; color: var(--muted); font-size: .82rem; }
.panel-bar { height: 6px; background: rgba(255,255,255,.06); border-radius: 99px; margin: 1rem 0 .7rem; overflow: hidden; }
.panel-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: inherit; }
.panel-foot { margin: 0; color: var(--muted); font-size: .85rem; display: flex; justify-content: space-between; }
.panel-foot strong { color: var(--text); }

/* Sections */
.section { padding: clamp(4rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 2.8rem; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.card:hover { border-color: rgba(0, 212, 180, .45); transform: translateY(-3px); }
.card-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 212, 180, .1); margin-bottom: 1.1rem; }
.card-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); font-size: .95rem; }
.card ul { list-style: none; padding: 0; margin: 0 0 1.3rem; font-size: .9rem; }
.card li { padding: .3rem 0 .3rem 1.2rem; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .93rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: s; }
.steps li { padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; }
.step-n { font: 700 2rem/1 var(--display); color: transparent; -webkit-text-stroke: 1px var(--accent); display: block; margin-bottom: 1rem; }
.steps p { color: var(--muted); font-size: .94rem; margin: 0; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.about > div > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.8rem; }
.why { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.why li { display: flex; gap: 1rem; padding: 1.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.why .ic { width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
.why h3 { margin-bottom: .25rem; font-size: 1.02rem; }
.why p { margin: 0; color: var(--muted); font-size: .93rem; }

/* Forms */
.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.form-intro > p:not(.eyebrow) { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .9rem; }
.contact-list li { display: flex; align-items: center; gap: .75rem; color: var(--muted); }
.contact-list .ic { color: var(--accent); }
.contact-list a { color: var(--text); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: 1rem; box-shadow: var(--shadow); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: grid; gap: .4rem; font-size: .88rem; font-weight: 500; color: var(--text); }
label small { color: var(--muted); font-weight: 400; }
input, select, textarea { width: 100%; font: inherit; font-size: .96rem; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: .75rem .85rem; transition: border-color .2s, box-shadow .2s; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa9c9' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; background-size: 16px; padding-right: 2.3rem; }
select option { background: var(--surface); }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 212, 180, .18); }
input:user-invalid, textarea:user-invalid, select:user-invalid { border-color: var(--danger); }
.check { display: flex; align-items: center; gap: .6rem; font-weight: 400; color: var(--muted); }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 0; font-size: .93rem; min-height: 1px; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: var(--danger); }
.form-status .ics { display: inline-block; margin-left: .3rem; font-weight: 600; text-decoration: underline; }

/* Booking */
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.cal { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1rem, 3vw, 1.6rem); box-shadow: var(--shadow); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal-head h3 { margin: 0; font-size: 1.1rem; }
.cal-nav { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.cal-nav:hover:not(:disabled) { border-color: var(--accent); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: .4rem 0; }
.cal-day { aspect-ratio: 1; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--muted); font: 500 .93rem var(--font); opacity: .35; cursor: default; }
.cal-day.avail { opacity: 1; color: var(--text); background: rgba(255,255,255,.04); cursor: pointer; }
.cal-day.avail:hover { border-color: var(--accent); }
.cal-day.today { box-shadow: inset 0 -2px 0 var(--accent-2); }
.cal-day.selected { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.slots-wrap { margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.slots-label { color: var(--muted); font-size: .9rem; margin-bottom: .8rem; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .5rem; }
.slot { padding: .6rem; border-radius: 9px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: 500 .9rem var(--font); cursor: pointer; }
.slot:hover { border-color: var(--accent); }
.slot.selected { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
.book-summary { padding: .9rem 1rem; border-radius: 10px; background: var(--bg); border: 1px dashed var(--line); color: var(--muted); font-size: .95rem; }
.book-summary.set { border-style: solid; border-color: rgba(0, 212, 180, .5); color: var(--text); background: rgba(0, 212, 180, .07); }
.form.locked > :not(.book-summary):not(.hp):not(.form-status) { opacity: .45; pointer-events: none; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.03rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: .8rem 0 0; }

/* CTA + footer */
.cta { padding: 4.5rem 0; background: radial-gradient(ellipse at center, rgba(0, 212, 180, .16), transparent 70%); }
.cta-inner { text-align: center; }
.cta .hero-cta { justify-content: center; margin-bottom: 0; }
.site-footer { border-top: 1px solid var(--line); padding: 3.5rem 0 1.5rem; background: var(--bg-2); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-inner p { color: var(--muted); font-size: .93rem; margin-top: 1rem; max-width: 340px; }
.footer-inner h4 { font-size: .95rem; margin-bottom: .9rem; }
.footer-inner > div:not(:first-child) a { display: block; color: var(--muted); font-size: .93rem; padding: .2rem 0; }
.footer-inner a:hover { color: var(--text); }
.footer-base { margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner, .about, .form-layout, .booking { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 16px 1.2rem; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 1rem; }
  .cards, .steps, .row, .footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- WordPress additions ---------- */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.custom-logo { max-height: 40px; width: auto; }
.entry-wrap { padding: clamp(3rem, 7vw, 5rem) 0; }
.entry { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.4rem, 4vw, 2.6rem); margin-bottom: 1.5rem; }
.entry h1, .entry h2 { margin-bottom: .6rem; }
.entry h2 a { color: var(--text); }
.entry-meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.4rem; }
.entry-content { color: var(--text); }
.entry-content a { text-decoration: underline; }
.entry-content img { max-width: 100%; height: auto; border-radius: 12px; }
.entry-content blockquote { border-left: 3px solid var(--accent); margin: 1.5rem 0; padding: .3rem 1.2rem; color: var(--muted); }
.entry-content pre, .entry-content code { background: var(--bg); border-radius: 6px; padding: .15em .4em; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: .5rem .7rem; }
.alignwide { width: min(1100px, 100vw - 32px); }
.pagination { display: flex; gap: .6rem; flex-wrap: wrap; }
.pagination .page-numbers { padding: .5rem .85rem; border: 1px solid var(--line); border-radius: 8px; color: var(--text); }
.pagination .current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.slots-empty { color: var(--muted); font-size: .9rem; grid-column: 1 / -1; margin: 0; }
.cal-loading { opacity: .5; pointer-events: none; }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.header-logo { display: inline-flex; align-items: center; }
.header-logo img { height: 52px; width: auto; display: block; }
@media (max-width: 760px) { .header-logo img { height: 40px; } }
.footer-logo { display: inline-block; }
.footer-logo img { height: 40px !important; width: auto !important; max-width: 160px; display: block; }
@media (max-width: 760px) { .footer-logo img { height: 34px !important; } }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }