/*
Theme Name: Similar Utilities
Theme URI: https://similarutilities.co.uk
Author: Similar Utilities
Author URI: https://similarutilities.co.uk
Description: Custom WordPress theme for Similar Utilities, a UK utility consultancy. Built natively (no page builder) to match the original design pixel-for-pixel, with full Customizer, widget and custom-post-type control over every editable piece of content.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: similar-utilities
Tags: one-column, custom-menu, custom-logo, featured-images, translation-ready, theme-options, custom-colors
*/

/* =========================================================================
   1. DESIGN TOKENS
   ========================================================================= */
:root {
  --radius: 0.9rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: calc(var(--radius) + 8px);
  --radius-3xl: calc(var(--radius) + 12px);

  --background: oklch(1 0 0);
  --surface: oklch(0.972 0.004 247);
  --foreground: oklch(0.21 0.045 259);
  --card: oklch(1 0 0);

  --primary: oklch(0.63 0.17 150.5);
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.972 0.004 247);
  --secondary-foreground: oklch(0.21 0.045 259);
  --muted: oklch(0.972 0.004 247);
  --muted-foreground: oklch(0.52 0.025 257);
  --accent: oklch(0.955 0.035 152);
  --accent-foreground: oklch(0.38 0.11 152);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.99 0 0);
  --border: oklch(0.923 0.008 255);
  --input: oklch(0.923 0.008 255);
  --ring: oklch(0.63 0.17 150.5);

  --navy: oklch(0.216 0.043 259);
  --navy-foreground: oklch(0.98 0.003 247);
  --navy-soft: oklch(0.29 0.05 259);
  --emerald-glow: oklch(0.74 0.17 152);

  --gradient-hero: radial-gradient(110% 80% at 85% 10%, oklch(0.63 0.17 150.5 / 0.25), transparent 60%),
    linear-gradient(160deg, oklch(0.216 0.043 259), oklch(0.17 0.04 259));
  --gradient-emerald: linear-gradient(135deg, oklch(0.63 0.17 150.5), oklch(0.74 0.17 152));

  --font-display: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;

  --shadow-card: 0 1px 2px oklch(0.15 0.04 255 / 0.06), 0 8px 30px oklch(0.15 0.04 255 / 0.08);
  --shadow-lift: 0 20px 45px -15px oklch(0.15 0.04 255 / 0.25);
  --shadow-glow: 0 10px 30px -8px oklch(0.63 0.18 150 / 0.55);
}

/* Customizer-driven overrides land here at runtime (see inc/customizer.php) */

/* =========================================================================
   2. RESET / BASE
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font-family: inherit; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px,1px,1px,1px); white-space: nowrap;
}

.container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }

/* =========================================================================
   3. UTILITIES
   ========================================================================= */
.bg-hero-gradient { background-image: var(--gradient-hero); }
.bg-emerald-gradient { background-image: var(--gradient-emerald); }

.card-lift { transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s cubic-bezier(.22,1,.36,1); }
.card-lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

.glow-ring { box-shadow: var(--shadow-glow); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal[data-visible="true"] { opacity: 1; transform: translateY(0); }

@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-up { animation: fade-up .7s cubic-bezier(.22,1,.36,1) both; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.animate-float { animation: float 7s ease-in-out infinite; }

/* =========================================================================
   4. BUTTONS
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  white-space: nowrap; border-radius: .375rem; font-size: .875rem; font-weight: 500;
  cursor: pointer; transition: background-color .15s, color .15s, opacity .15s;
  border: 1px solid transparent; height: 2.25rem; padding: 0 1rem; line-height: 1;
}
.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.btn-lg { height: 2.75rem; padding: 0 1.75rem; font-size: 1rem; border-radius: .5rem; }
.btn-default { background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-card); }
.btn-default:hover { background: color-mix(in oklch, var(--primary), black 10%); }
.btn-outline { background: transparent; border-color: var(--input); color: var(--foreground); box-shadow: var(--shadow-card); }
.btn-outline:hover { background: var(--accent); color: var(--accent-foreground); }
.btn-outline-hero { border-color: oklch(0.98 0.003 247 / 0.3); background: transparent; color: var(--navy-foreground); }
.btn-outline-hero:hover { background: oklch(0.98 0.003 247 / 0.1); }
.btn-secondary { background: var(--secondary); color: var(--secondary-foreground); box-shadow: var(--shadow-card); }
.btn-secondary:hover { opacity: .85; }
.btn-block { width: 100%; }
.btn-icon { height: 2.25rem; width: 2.25rem; padding: 0; }

/* =========================================================================
   5. HEADER / NAV
   ========================================================================= */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  background: oklch(1 0 0 / 0.6); backdrop-filter: blur(12px);
  transition: all .3s ease;
}
.site-header.is-scrolled {
  border-bottom: 1px solid var(--border);
  background: oklch(1 0 0 / 0.9); backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}
.site-header .nav-inner {
  max-width: 80rem; margin: 0 auto; padding: .75rem 1rem;
  display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 1rem;
}
@media (min-width: 640px) { .site-header .nav-inner { padding: .75rem 1.5rem; } }
@media (min-width: 1024px) { .site-header .nav-inner { padding: 1rem 1.5rem; } }
.site-branding { display: flex; min-width: 0; align-items: center; gap: .5rem; }
.site-branding img { height: 2.75rem; width: auto; object-fit: contain; flex-shrink: 0; }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.primary-menu { display: none; align-items: center; gap: .25rem; list-style: none; }
@media (min-width: 1280px) { .primary-menu { display: flex; } }
.primary-menu a {
  display: block; border-radius: .375rem; padding: .5rem .625rem;
  font-size: .8rem; font-weight: 500; color: var(--muted-foreground); transition: all .15s;
}
.primary-menu a:hover { background: var(--secondary); color: var(--foreground); }
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
.mobile-call-btn {
  display: inline-flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--secondary); color: var(--foreground);
}
@media (min-width: 640px) { .mobile-call-btn { display: none; } }
.menu-toggle {
  display: inline-flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--secondary); color: var(--foreground); border: 0; cursor: pointer;
}
@media (min-width: 1280px) { .menu-toggle { display: none; } }
.menu-toggle svg { width: 1.25rem; height: 1.25rem; }
.menu-toggle .icon-close { display: none; }
.menu-toggle.is-open .icon-open { display: none; }
.menu-toggle.is-open .icon-close { display: block; }
.mobile-menu { display: none; border-top: 1px solid var(--border); background: var(--background); }
@media (min-width: 1280px) { .mobile-menu { display: none !important; } }
.mobile-menu.is-open { display: block; }
.mobile-menu ul { max-width: 80rem; margin: 0 auto; padding: 1rem; display: grid; gap: .25rem; list-style: none; }
@media (min-width: 640px) { .mobile-menu ul { grid-template-columns: 1fr 1fr; padding: 1rem 1.5rem; } }
.mobile-menu a { display: block; border-radius: .5rem; padding: .625rem .75rem; font-size: .875rem; font-weight: 500; color: var(--muted-foreground); }
.mobile-menu a:hover { background: var(--secondary); color: var(--foreground); }
.mobile-menu .mobile-cta { grid-column: 1 / -1; margin-top: .5rem; }

/* =========================================================================
   6. HERO
   ========================================================================= */
.hero { position: relative; overflow: hidden; padding: 7rem 0 5rem; }
@media (min-width: 1024px) { .hero { padding: 9rem 0 7rem; } }
.hero .grid-overlay {
  position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background-image: linear-gradient(oklch(0.98 0 0 / 0.12) 1px, transparent 1px), linear-gradient(90deg, oklch(0.98 0 0 / 0.12) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 30% 30%, black, transparent);
  mask-image: radial-gradient(70% 60% at 30% 30%, black, transparent);
}
.hero-inner { position: relative; max-width: 80rem; margin: 0 auto; padding: 0 1rem; display: grid; align-items: center; gap: 3rem; }
@media (min-width: 640px) { .hero-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.hero-copy { color: var(--navy-foreground); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px;
  border: 1px solid oklch(0.63 0.17 150.5 / 0.4); background: oklch(0.63 0.17 150.5 / 0.1);
  padding: .375rem 1rem; font-size: .75rem; font-weight: 600; letter-spacing: .05em;
  color: var(--emerald-glow); text-transform: uppercase;
}
.hero-title { margin-top: 1.5rem; font-size: 2.25rem; line-height: 1.08; font-weight: 700; }
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }
.hero-desc { margin-top: 1.5rem; max-width: 36rem; font-size: 1rem; line-height: 1.6; color: oklch(0.98 0.003 247 / 0.75); }
@media (min-width: 640px) { .hero-desc { font-size: 1.125rem; } }
.hero-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-actions .btn { height: 3rem; padding: 0 1.75rem; font-size: 1rem; }
.hero-note { margin-top: 1.5rem; font-size: .875rem; color: oklch(0.98 0.003 247 / 0.6); }
.hero-media { position: relative; }
.hero-media .glow { position: absolute; inset: -1.5rem; border-radius: 2.5rem; background: oklch(0.63 0.17 150.5 / 0.2); filter: blur(64px); }
.hero-media img { position: relative; border-radius: 2rem; border: 1px solid oklch(0.98 0.003 247 / 0.1); box-shadow: var(--shadow-lift); }

/* =========================================================================
   7. STATS
   ========================================================================= */
.stats-section { background: var(--surface); padding: 3.5rem 0; }
.stats-grid { max-width: 80rem; margin: 0 auto; padding: 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (min-width: 640px) { .stats-grid { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4,1fr); gap: 1.5rem; } }
.stat-card { border-radius: 1rem; background: var(--card); padding: 1.5rem; text-align: center; box-shadow: var(--shadow-card); }
.stat-value { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; color: var(--navy); }
@media (min-width: 640px) { .stat-value { font-size: 2.25rem; } }
.stat-label { margin-top: .5rem; font-size: .875rem; font-weight: 500; color: var(--muted-foreground); }

/* =========================================================================
   8. SECTION HEADING / GENERIC SECTION
   ========================================================================= */
.section { padding: 5rem 0; }
@media (min-width: 1024px) { .section { padding: 6rem 0; } }
.section.surface { background: var(--surface); }
.section.navy { background: var(--navy); }
.section-heading { max-width: 42rem; margin: 0 auto; text-align: center; }
.section-eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .18em; color: var(--primary); text-transform: uppercase; }
.section-eyebrow.on-navy { color: var(--emerald-glow); }
.section-title { margin-top: .75rem; font-size: 1.875rem; font-weight: 700; color: var(--navy); }
@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }
.section-title.on-navy { color: var(--navy-foreground); }
.section-desc { margin-top: 1rem; font-size: 1rem; line-height: 1.6; color: var(--muted-foreground); }
.section-desc.on-navy { color: oklch(0.98 0.003 247 / 0.7); }

/* =========================================================================
   9. SERVICES
   ========================================================================= */
.services-grid { margin-top: 3rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3,1fr); } }
.service-card {
  display: flex; height: 100%; flex-direction: column; border-radius: 1rem;
  border: 1px solid var(--border); background: var(--card); padding: 1.75rem; box-shadow: var(--shadow-card);
}
.service-icon {
  display: inline-flex; height: 3rem; width: 3rem; align-items: center; justify-content: center;
  border-radius: .75rem; background: var(--accent); color: var(--accent-foreground); transition: all .2s;
}
.service-card:hover .service-icon { background-image: var(--gradient-emerald); color: var(--primary-foreground); }
.service-icon svg { width: 1.5rem; height: 1.5rem; }
.service-title { margin-top: 1.25rem; font-size: 1.25rem; font-weight: 600; color: var(--navy); }
.service-desc { margin-top: .5rem; flex: 1; font-size: .875rem; line-height: 1.6; color: var(--muted-foreground); }
.service-link { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; font-weight: 600; color: var(--primary); transition: gap .2s; }
.service-link:hover { gap: .75rem; }
.service-link svg { width: 1rem; height: 1rem; }

/* =========================================================================
   10. UTILITY SPLIT (Business / Home)
   ========================================================================= */
.split-grid { max-width: 80rem; margin: 0 auto; padding: 0 1rem; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .split-grid { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .split-grid { grid-template-columns: 1fr 1fr; } }
.split-card { height: 100%; scroll-margin-top: 7rem; border-radius: 1.5rem; border: 1px solid var(--border); background: var(--card); padding: 2rem; box-shadow: var(--shadow-card); }
@media (min-width: 1024px) { .split-card { padding: 2.5rem; } }
.split-icon { display: inline-flex; height: 3rem; width: 3rem; align-items: center; justify-content: center; border-radius: .75rem; background: var(--navy); color: var(--navy-foreground); }
.split-icon svg { width: 1.5rem; height: 1.5rem; }
.split-title { margin-top: 1.25rem; font-size: 1.5rem; font-weight: 700; color: var(--navy); }
@media (min-width: 640px) { .split-title { font-size: 1.875rem; } }
.split-copy { margin-top: .75rem; font-size: .875rem; line-height: 1.6; color: var(--muted-foreground); }
.split-points { margin-top: 1.5rem; display: grid; gap: .75rem; list-style: none; }
.split-points li { display: flex; gap: .75rem; font-size: .875rem; color: var(--foreground); }
.split-points svg { margin-top: .125rem; width: 1rem; height: 1rem; flex-shrink: 0; color: var(--primary); }
.split-card .btn { margin-top: 2rem; }

/* =========================================================================
   11. WHY CHOOSE (features)
   ========================================================================= */
.features-grid { margin-top: 3rem; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3,1fr); } }
.feature-card { display: flex; height: 100%; align-items: center; gap: 1rem; border-radius: 1rem; border: 1px solid var(--border); background: var(--card); padding: 1.5rem; box-shadow: var(--shadow-card); }
.feature-icon { display: inline-flex; height: 2.75rem; width: 2.75rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: .75rem; background: var(--accent); color: var(--accent-foreground); }
.feature-icon svg { width: 1.25rem; height: 1.25rem; }
.feature-title { min-width: 0; font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--navy); }

/* =========================================================================
   12. CALCULATOR
   ========================================================================= */
.calc-grid { margin-top: 3rem; display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .calc-grid { grid-template-columns: 1.4fr 1fr; } }
.calc-form { border-radius: 1.5rem; background: var(--card); padding: 1.75rem; box-shadow: var(--shadow-lift); }
@media (min-width: 1024px) { .calc-form { padding: 2.25rem; } }
.calc-fields { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .calc-fields { grid-template-columns: 1fr 1fr; } }
.calc-field label { display: block; margin-bottom: .5rem; font-size: .75rem; color: var(--muted-foreground); }
.calc-field .input-wrap { position: relative; }
.calc-field .input-wrap span { position: absolute; top: 50%; left: .75rem; transform: translateY(-50%); font-size: .875rem; color: var(--muted-foreground); }
.calc-field input { width: 100%; height: 2.5rem; border-radius: .5rem; border: 1px solid var(--input); background: var(--background); padding: 0 .75rem 0 1.75rem; font-size: .875rem; }
.calc-field input:focus { outline: 2px solid var(--ring); outline-offset: 1px; }
.calc-form .btn { margin-top: 1.75rem; }
.calc-result { display: flex; height: 100%; flex-direction: column; justify-content: center; gap: 1.25rem; border-radius: 1.5rem; border: 1px solid oklch(0.98 0.003 247 / 0.15); background: var(--navy-soft); padding: 2rem; color: var(--navy-foreground); }
.calc-result .label { font-size: .875rem; color: oklch(0.98 0.003 247 / 0.6); }
.calc-result .value { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; color: var(--emerald-glow); }
.calc-divider { height: 1px; background: oklch(0.98 0.003 247 / 0.15); }
.calc-result .btn { margin-top: .5rem; }
.calc-note { font-size: .75rem; color: oklch(0.98 0.003 247 / 0.5); }

/* =========================================================================
   13. HOW IT WORKS
   ========================================================================= */
.steps-wrap { position: relative; margin-top: 3.5rem; }
.steps-line { position: absolute; top: 1.75rem; left: 0; right: 0; height: 1px; background: var(--border); display: none; }
@media (min-width: 1024px) { .steps-line { display: block; } }
.steps-grid { position: relative; display: grid; gap: 2rem; list-style: none; }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4,1fr); } }
.step-item { text-align: center; }
@media (min-width: 1024px) { .step-item { text-align: left; } }
.step-number {
  position: relative; z-index: 1; display: inline-flex; height: 3.5rem; width: 3.5rem;
  align-items: center; justify-content: center; border-radius: 999px;
  background-image: var(--gradient-emerald); font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700; color: var(--primary-foreground); box-shadow: var(--shadow-glow);
}
.step-title { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 600; color: var(--navy); }
.step-desc { margin-top: .5rem; font-size: .875rem; line-height: 1.6; color: var(--muted-foreground); }

/* =========================================================================
   14. TESTIMONIALS
   ========================================================================= */
.testimonial-card { margin: 3rem auto 0; max-width: 48rem; border-radius: 1.5rem; border: 1px solid var(--border); background: var(--card); padding: 2rem; text-align: center; box-shadow: var(--shadow-card); }
@media (min-width: 640px) { .testimonial-card { padding: 3rem; } }
.testimonial-card .quote-icon { margin: 0 auto; width: 2rem; height: 2rem; color: oklch(0.63 0.17 150.5 / 0.4); }
.testimonial-stars { margin-top: 1rem; display: flex; justify-content: center; gap: .25rem; }
.testimonial-stars svg { width: 1rem; height: 1rem; fill: var(--primary); color: var(--primary); }
.testimonial-quote { margin-top: 1.5rem; font-family: var(--font-display); font-size: 1.125rem; line-height: 1.6; color: var(--navy); }
@media (min-width: 640px) { .testimonial-quote { font-size: 1.25rem; } }
.testimonial-person { margin-top: 2rem; display: flex; align-items: center; justify-content: center; gap: .75rem; }
.testimonial-avatar { display: inline-flex; height: 3rem; width: 3rem; align-items: center; justify-content: center; border-radius: 999px; background: var(--navy); font-family: var(--font-display); font-size: .875rem; font-weight: 600; color: var(--navy-foreground); }
.testimonial-name { font-size: .875rem; font-weight: 600; color: var(--navy); }
.testimonial-role { font-size: .75rem; color: var(--muted-foreground); }
.testimonial-dots { margin-top: 2rem; display: flex; justify-content: center; gap: .5rem; }
.testimonial-dots button { height: .625rem; width: .625rem; border-radius: 999px; border: 0; padding: 0; background: var(--border); cursor: pointer; transition: all .2s; }
.testimonial-dots button.is-active { width: 2rem; background: var(--primary); }

/* =========================================================================
   15. ABOUT
   ========================================================================= */
.about-grid { max-width: 80rem; margin: 0 auto; padding: 0 1rem; display: grid; align-items: center; gap: 3rem; }
@media (min-width: 640px) { .about-grid { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-copy p { margin-top: 1.25rem; font-size: 1rem; line-height: 1.6; color: var(--muted-foreground); }
.about-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.about-stats { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.about-stat { border-radius: 1rem; border: 1px solid var(--border); background: var(--card); padding: 1.5rem; box-shadow: var(--shadow-card); }
.about-stat .k { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.about-stat .v { margin-top: .25rem; font-size: .875rem; color: var(--muted-foreground); }

/* =========================================================================
   16. FAQ
   ========================================================================= */
.faq-wrap { max-width: 48rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .faq-wrap { padding: 0 1.5rem; } }
.faq-list { margin-top: 2.5rem; display: grid; gap: .75rem; }
.faq-item { border-radius: 1rem; border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow-card); overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 0; background: transparent; cursor: pointer; padding: 1.25rem; text-align: left; font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--navy); }
.faq-question .chev { width: 1.1rem; height: 1.1rem; flex-shrink: 0; transition: transform .2s; color: var(--muted-foreground); }
.faq-item.is-open .chev { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer-inner { padding: 0 1.25rem 1.25rem; font-size: .875rem; line-height: 1.6; color: var(--muted-foreground); }

/* =========================================================================
   17. CONTACT
   ========================================================================= */
.contact-grid { margin-top: 3rem; display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.3fr; } }
.contact-cards { display: grid; gap: 1rem; align-content: start; }
.contact-card { display: flex; align-items: center; gap: 1rem; border-radius: 1rem; border: 1px solid var(--border); background: var(--card); padding: 1.5rem; box-shadow: var(--shadow-card); }
.contact-card .icon { display: inline-flex; height: 2.75rem; width: 2.75rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: .75rem; background: var(--accent); color: var(--accent-foreground); }
.contact-card .icon svg { width: 1.25rem; height: 1.25rem; }
.contact-card .label { display: block; font-size: .75rem; color: var(--muted-foreground); }
.contact-card .value { display: block; font-family: var(--font-display); font-weight: 600; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-hours { border-radius: 1rem; border: 1px solid var(--border); background: var(--card); padding: 1.5rem; box-shadow: var(--shadow-card); }
.contact-form-wrap { border-radius: 1.5rem; border: 1px solid var(--border); background: var(--card); padding: 1.75rem; box-shadow: var(--shadow-card); }
@media (min-width: 1024px) { .contact-form-wrap { padding: 2.25rem; } }
.contact-fields { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .contact-fields { grid-template-columns: 1fr 1fr; } }
.contact-fields .full { grid-column: 1 / -1; }
.contact-fields label { display: block; margin-bottom: .5rem; font-size: .875rem; font-weight: 500; }
.contact-fields input, .contact-fields textarea { width: 100%; border-radius: .5rem; border: 1px solid var(--input); background: var(--background); padding: .5rem .75rem; font-size: .875rem; font-family: inherit; }
.contact-fields input { height: 2.5rem; }
.contact-fields textarea { resize: vertical; }
.contact-fields input:focus, .contact-fields textarea:focus { outline: 2px solid var(--ring); outline-offset: 1px; }
.contact-form-wrap .btn { margin-top: 1.75rem; }
.form-msg { margin-top: 1rem; border-radius: .5rem; padding: .75rem 1rem; font-size: .875rem; display: none; }
.form-msg.show { display: block; }
.form-msg.success { background: var(--accent); color: var(--accent-foreground); }
.form-msg.error { background: oklch(0.577 0.245 27.325 / 0.1); color: var(--destructive); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================================
   18. FOOTER
   ========================================================================= */
.site-footer { background: var(--navy); color: var(--navy-foreground); }
.footer-grid { max-width: 80rem; margin: 0 auto; padding: 4rem 1rem; display: grid; gap: 2.5rem; }
@media (min-width: 640px) { .footer-grid { padding: 4rem 1.5rem; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4,1fr); } }
.footer-logo-wrap { display: inline-flex; border-radius: 1rem; background: var(--background); padding: .75rem; }
.footer-logo-wrap img { height: 4rem; width: auto; object-fit: contain; }
.footer-desc { margin-top: 1.25rem; max-width: 20rem; font-size: .875rem; line-height: 1.6; color: oklch(0.98 0.003 247 / 0.65); }
.footer-social { margin-top: 1.25rem; display: flex; gap: .75rem; }
.footer-social a { display: inline-flex; height: 2.25rem; width: 2.25rem; align-items: center; justify-content: center; border-radius: 999px; background: oklch(0.98 0.003 247 / 0.1); transition: background .2s; }
.footer-social a:hover { background: var(--primary); }
.footer-social svg { width: 1rem; height: 1rem; }
.footer-heading { font-family: var(--font-display); font-size: .875rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.footer-links { margin-top: 1rem; display: grid; gap: .625rem; font-size: .875rem; color: oklch(0.98 0.003 247 / 0.65); list-style: none; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid oklch(0.98 0.003 247 / 0.1); padding: 1.5rem 0; text-align: center; font-size: .75rem; color: oklch(0.98 0.003 247 / 0.5); }

/* =========================================================================
   19. FLOATING ACTIONS / AI ASSISTANT
   ========================================================================= */
.floating-actions { position: fixed; bottom: 1.25rem; right: 1rem; z-index: 50; display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .floating-actions { bottom: 1.75rem; right: 1.5rem; } }
.floating-actions a { display: inline-flex; height: 3.25rem; width: 3.25rem; align-items: center; justify-content: center; border-radius: 999px; transition: transform .2s; }
.floating-actions a:hover { transform: scale(1.1); }
.floating-actions .whatsapp { background-image: var(--gradient-emerald); color: var(--primary-foreground); box-shadow: var(--shadow-glow); }
.floating-actions .call { background: var(--navy); color: var(--navy-foreground); box-shadow: var(--shadow-lift); }
.floating-actions svg { width: 1.5rem; height: 1.5rem; }

.ai-toggle {
  position: fixed; bottom: 1.25rem; left: 1rem; z-index: 50; display: inline-flex; align-items: center; gap: .5rem;
  border-radius: 999px; background: var(--navy); padding: .75rem 1rem; font-size: .875rem; font-weight: 600;
  color: var(--navy-foreground); box-shadow: var(--shadow-lift); border: 0; cursor: pointer; transition: transform .2s;
}
.ai-toggle:hover { transform: scale(1.05); }
.ai-toggle svg { width: 1.25rem; height: 1.25rem; }
.ai-toggle .lbl { display: none; }
@media (min-width: 640px) { .ai-toggle .lbl { display: inline; } .ai-toggle { bottom: 1.75rem; left: 1.5rem; } }
.ai-toggle .icon-close { display: none; }
.ai-toggle.is-open .icon-open { display: none; }
.ai-toggle.is-open .icon-close { display: block; }

.ai-panel {
  position: fixed; bottom: 5rem; left: 1rem; z-index: 50; display: none; flex-direction: column;
  height: 26rem; width: min(22rem, calc(100vw - 2rem)); overflow: hidden; border-radius: 1rem;
  border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow-lift);
}
.ai-panel.is-open { display: flex; }
@media (min-width: 640px) { .ai-panel { bottom: 6rem; left: 1.5rem; } }
.ai-panel-head { display: flex; align-items: center; gap: .5rem; background-image: var(--gradient-emerald); padding: .75rem 1rem; color: var(--primary-foreground); }
.ai-panel-head svg { width: 1.25rem; height: 1.25rem; }
.ai-panel-head p { font-family: var(--font-display); font-size: .875rem; font-weight: 600; }
.ai-messages { flex: 1; overflow-y: auto; padding: 1rem; display: grid; gap: .75rem; align-content: start; }
.ai-msg { max-width: 85%; border-radius: 1rem; padding: .625rem .875rem; font-size: .875rem; line-height: 1.5; }
.ai-msg.bot { background: var(--secondary); color: var(--foreground); }
.ai-msg.user { margin-left: auto; background: var(--navy); color: var(--navy-foreground); }
.ai-form { display: flex; align-items: center; gap: .5rem; border-top: 1px solid var(--border); padding: .75rem; }
.ai-form input { flex: 1; height: 2.25rem; border-radius: .5rem; border: 1px solid var(--input); padding: 0 .75rem; font-size: .875rem; }
.ai-whatsapp-link { display: block; background: var(--secondary); padding: .5rem 1rem; text-align: center; font-size: .75rem; font-weight: 500; color: var(--muted-foreground); }
.ai-whatsapp-link:hover { color: var(--foreground); }

/* =========================================================================
   20. WORDPRESS CORE / BLOG / WOOCOMMERCE-COMPATIBLE
   ========================================================================= */
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { display: block; margin: 0 auto; }
.wp-caption { max-width: 100%; }
.sticky { outline: 2px solid var(--primary); }
.bypostauthor {}
.gallery-caption {}

.content-wrap { max-width: 64rem; margin: 0 auto; padding: 9rem 1rem 5rem; }
.entry-header { margin-bottom: 2rem; }
.entry-title { font-size: 2rem; font-weight: 700; color: var(--navy); }
.entry-meta { margin-top: .5rem; font-size: .875rem; color: var(--muted-foreground); }
.entry-content { font-size: 1rem; line-height: 1.75; color: var(--foreground); }
.entry-content p { margin: 0 0 1.25rem; }
.entry-content h2, .entry-content h3 { margin: 2rem 0 1rem; color: var(--navy); }
.entry-content a { color: var(--primary); text-decoration: underline; }
.entry-content img { border-radius: .75rem; margin: 1.5rem 0; }
.post-list { display: grid; gap: 2rem; }
.post-card { border-radius: 1rem; border: 1px solid var(--border); background: var(--card); padding: 1.75rem; box-shadow: var(--shadow-card); }
.post-card .entry-title { font-size: 1.25rem; }
.post-card .entry-title a { color: var(--navy); }
.post-card .entry-summary { margin-top: .75rem; color: var(--muted-foreground); font-size: .875rem; line-height: 1.6; }
.pagination { margin-top: 3rem; display: flex; justify-content: center; gap: .5rem; }
.pagination a, .pagination span { display: inline-flex; height: 2.25rem; min-width: 2.25rem; align-items: center; justify-content: center; border-radius: .5rem; border: 1px solid var(--border); padding: 0 .5rem; font-size: .875rem; }
.pagination .current { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.comment-list { list-style: none; margin-top: 2rem; display: grid; gap: 1.5rem; }
.search-form { display: flex; gap: .5rem; margin-top: 1.5rem; }
.search-form input[type="search"] { flex: 1; height: 2.5rem; border-radius: .5rem; border: 1px solid var(--input); padding: 0 .75rem; }
.woocommerce-page .content-wrap,
.woocommerce .content-wrap { max-width: 80rem; }
.woocommerce ul.products li.product,
.woocommerce div.product .woocommerce-tabs { border-radius: 1rem; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  background: var(--primary) !important; color: var(--primary-foreground) !important;
  border-radius: .5rem !important; font-family: var(--font-sans) !important;
}
