/*
Theme Name: Urban IQ
Theme URI: https://urban-iq.pro
Author: Urban IQ Inc.
Description: Lightweight block theme for Urban IQ – sustainable urban development consultancy. Built for current WordPress and PHP 8.x. Fonts are self-hosted (no external requests).
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: urban-iq
*/

/* Small refinements that theme.json can't express. */
.uiq-eyebrow { letter-spacing: .14em; text-transform: uppercase; }
.uiq-sticky-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(8px); }
.uiq-card-grid { gap: 1px !important; background: var(--wp--preset--color--line); border: 1px solid var(--wp--preset--color--line); }
.uiq-card-grid > .wp-block-column { background: var(--wp--preset--color--paper); }
.uiq-service { border-top: 2px solid var(--wp--preset--color--ink); }
.uiq-tags p { display: inline-block; margin: 0 6px 8px 0 !important; padding: 6px 12px; border-radius: 999px; background: var(--wp--preset--color--sand); font-size: 13px; line-height: 1.2; }
.uiq-hero-art img { width: 100%; height: auto; }
.uiq-stat strong { display: block; font-family: var(--wp--preset--font-family--fraunces); font-weight: 300; font-size: clamp(48px, 5vw, 64px); line-height: 1; color: var(--wp--preset--color--peach); }
.wp-block-button.is-style-outline .wp-block-button__link { border-width: 1px; }
.uiq-footer a { text-decoration: none; }
.uiq-footer a:hover { text-decoration: underline; }
.uiq-service + .uiq-service { margin-top: 40px !important; }
.uiq-logo img { display: block; height: auto; max-width: 42vw; }
.uiq-sticky-header .wp-block-button__link { white-space: nowrap; }
@media (max-width: 600px) {
  .uiq-sticky-header .wp-block-button__link { padding: 10px 16px; font-size: 14px; }
  .uiq-logo img { width: 120px !important; }
}
.uiq-tools > .wp-block-column { background: var(--wp--preset--color--sand); }
@media (min-width: 782px) and (max-width: 1100px) { .uiq-tools { flex-wrap: wrap !important; } .uiq-tools > .wp-block-column { flex-basis: calc(50% - 1px) !important; } }
.uiq-tools h4 { font-size: 1.25rem !important; }
.wp-block-post-content h2 { font-size: var(--wp--preset--font-size--x-large); margin-top: 2.5rem; }
.wp-block-post-content h3 { font-size: 1.25rem; margin-top: 2rem; }
.wp-block-post-content > h2:first-child { margin-top: 1.5rem; }
/* Contact form */
.uiq-form { display: grid; gap: 18px; }
.uiq-form p { margin: 0; }
.uiq-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.uiq-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--wp--preset--color--ink); }
.uiq-field input, .uiq-field select, .uiq-field textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--wp--preset--color--line); border-radius: 8px; background: #fff; color: var(--wp--preset--color--charcoal); }
.uiq-field input:focus, .uiq-field select:focus, .uiq-field textarea:focus { outline: 2px solid var(--wp--preset--color--terra); outline-offset: 1px; border-color: var(--wp--preset--color--terra); }
.uiq-field textarea { resize: vertical; min-height: 150px; }
.uiq-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--wp--preset--color--muted); }
.uiq-consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--wp--preset--color--terra); flex: none; }
.uiq-submit button { border: 0; cursor: pointer; background: var(--wp--preset--color--terra); color: #fff; border-radius: 999px; padding: 14px 30px; font-size: 15px; font-weight: 600; font-family: inherit; }
.uiq-submit button:hover { background: var(--wp--preset--color--ink); }
.uiq-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.uiq-form-notice { padding: 16px 18px; border-radius: 8px; margin-bottom: 20px; }
.uiq-form-notice--ok { background: #e6f4ea; color: #0b4d1f; border: 1px solid #b7dfc2; }
.uiq-form-notice--error { background: #fdecea; color: #7a1c14; border: 1px solid #f3c1bb; }
@media (max-width: 600px) { .uiq-form-row { grid-template-columns: 1fr; } }
