/*
Theme Name: PHONOQUEST ENG SPA
Theme URI: https://harrywheat.us
Author: Harry Wheat
Author URI: https://harrywheat.us
Description: PHONOQUEST bilingual WordPress theme with English and Spanish homepage toggle.
Version: 1.0.0
License: GPL2+
Text Domain: phonoquest-eng-spa
*/

:root {
  --pq-blue: #2563eb;
  --pq-blue-dark: #1d4ed8;
  --pq-text: #0f172a;
  --pq-muted: #64748b;
  --pq-bg: #f8fafc;
  --pq-white: #ffffff;
  --pq-border: #e5e7eb;
  --pq-yellow: #facc15;
  --pq-green: #22c55e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, sans-serif; color: var(--pq-text); background: var(--pq-bg); line-height: 1.6; }
a { color: inherit; }
.pq-container { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.pq-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--pq-border); }
.pq-header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pq-brand, .pq-brand-link, .custom-logo-link { display: flex; align-items: center; }
.pq-brand-link { text-decoration: none; }
.custom-logo { display: block; max-height: 60px; width: auto !important; height: auto !important; }
.pq-brand-text { font-size: 28px; font-weight: 800; color: var(--pq-blue); letter-spacing: -0.02em; }
.pq-nav { display: flex; align-items: center; gap: 22px; }
.pq-nav a { text-decoration: none; font-weight: 600; position: relative; }
.pq-nav a::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: var(--pq-blue); transition: width .2s ease; }
.pq-nav a:hover::after { width: 100%; }
.pq-actions { display: flex; align-items: center; gap: 12px; }
.pq-lang-switch { display: inline-flex; border: 1px solid var(--pq-border); background: #fff; border-radius: 12px; overflow: hidden; }
.pq-lang-btn { border: 0; background: transparent; padding: 10px 12px; font-weight: 700; cursor: pointer; }
.pq-lang-btn.is-active { background: var(--pq-blue); color: #fff; }
.pq-signin { text-decoration: none; padding: 10px 12px; border-radius: 10px; font-weight: 600; }
.pq-signin:hover { background: rgba(37,99,235,.08); color: var(--pq-blue); }
.pq-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; background: linear-gradient(135deg, var(--pq-blue) 0%, var(--pq-blue-dark) 100%); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 700; box-shadow: 0 10px 24px rgba(37,99,235,.20); }
.pq-btn-secondary { background: transparent; color: var(--pq-blue); border: 1px solid var(--pq-blue); box-shadow: none; }
.pq-homepage { overflow: hidden; }
.pq-hero { padding: 72px 0 48px; background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%); }
.pq-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.pq-badge { display: inline-block; background: #dbeafe; color: var(--pq-blue); padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.pq-hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.1; margin: 0 0 18px; }
.pq-hero p { font-size: 18px; color: var(--pq-muted); margin: 0 0 24px; max-width: 640px; }
.pq-hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.pq-hero-card { background: #fff; border-radius: 24px; padding: 22px; box-shadow: 0 20px 60px rgba(37,99,235,.12); }
.pq-hero-screen { background: #f8fafc; border: 1px solid var(--pq-border); border-radius: 18px; padding: 18px; }
.pq-mini-top { font-weight: 700; margin-bottom: 16px; color: var(--pq-blue); }
.pq-mini-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.pq-tile { display: inline-flex; align-items: center; justify-content: center; min-width: 58px; height: 58px; border-radius: 14px; background: var(--pq-yellow); font-weight: 700; }
.pq-mini-box { background: #fff; border: 1px solid var(--pq-border); border-radius: 14px; padding: 14px; margin-bottom: 12px; font-weight: 600; }
.pq-mini-progress { width: 100%; height: 14px; background: #dbeafe; border-radius: 999px; overflow: hidden; margin-top: 8px; }
.pq-mini-progress-fill { width: 68%; height: 100%; background: var(--pq-green); }
.pq-section { padding: 72px 0; }
.pq-section-alt { background: #fff; }
.pq-section-heading { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.pq-section-heading h2 { font-size: 36px; margin: 0 0 10px; }
.pq-section-heading p { margin: 0; color: var(--pq-muted); }
.pq-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pq-card { background: #fff; border: 1px solid var(--pq-border); border-radius: 20px; padding: 22px; box-shadow: 0 8px 24px rgba(15,23,42,.04); }
.pq-card h3 { margin: 0 0 10px; font-size: 20px; }
.pq-card p { margin: 0; color: var(--pq-muted); }
.pq-card-featured { border-color: var(--pq-blue); box-shadow: 0 12px 30px rgba(37,99,235,.12); }
.pq-two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.pq-about-box { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 20px; padding: 24px; }
.pq-about-box h3 { margin-top: 0; }
.pq-about-box ul { margin: 0; padding-left: 18px; }
.pq-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pq-price-card { background: #fff; border: 1px solid var(--pq-border); border-radius: 22px; padding: 28px; text-align: center; }
.pq-price-featured { border-color: var(--pq-blue); box-shadow: 0 14px 34px rgba(37,99,235,.12); }
.pq-price { font-size: 40px; font-weight: 700; margin: 12px 0 18px; }
.pq-price span { font-size: 16px; color: var(--pq-muted); font-weight: 500; }
.pq-price-card ul { text-align: left; padding-left: 18px; color: var(--pq-muted); margin: 0 0 24px; }
.pq-contact-box { background: #fff; border: 1px solid var(--pq-border); border-radius: 24px; padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pq-footer { background: #0f172a; color: #fff; padding: 48px 0; }
.pq-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.pq-footer h3, .pq-footer h4 { margin-top: 0; }
.pq-footer p, .pq-footer li, .pq-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.pq-footer ul { list-style: none; padding: 0; margin: 0; }
.pq-footer li + li { margin-top: 8px; }
.pq-mobile-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--pq-border); background: #fff; border-radius: 12px; cursor: pointer; padding: 10px; }
.pq-mobile-toggle span { display: block; width: 100%; height: 2px; margin: 6px 0; background: var(--pq-text); border-radius: 999px; }
.pq-mobile-nav { display: none; padding: 0 16px 16px; background: rgba(255,255,255,.96); border-top: 1px solid var(--pq-border); }
.pq-mobile-nav a { display: block; text-decoration: none; font-weight: 600; padding: 14px 8px; border-bottom: 1px solid rgba(15,23,42,.06); }
.pq-mobile-nav.is-open { display: block; }
@media (max-width: 1024px) {
  .pq-hero-grid, .pq-feature-grid, .pq-two-col, .pq-pricing-grid, .pq-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .pq-nav, .pq-actions-desktop { display: none; }
  .pq-mobile-toggle { display: inline-block; }
}
@media (max-width: 768px) {
  .pq-hero-grid, .pq-feature-grid, .pq-two-col, .pq-pricing-grid, .pq-footer-grid { grid-template-columns: 1fr; }
  .pq-contact-box { flex-direction: column; align-items: flex-start; }
  .custom-logo { max-height: 48px; }
}
