/*
Theme Name: HB Power Tower - Kadence Child
Theme URI: http://huawo.local
Author: HB Power Tower
Author URI: http://huawo.local
Description: Custom child theme for Kadence - Industrial steel tower manufacturer
Template: kadence
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: huawo-child
*/

/* ============================================================
   DESIGN SYSTEM - HB Power Tower
   Industrial Steel Tower Manufacturer
   ============================================================ */

/* ----- CSS Custom Properties (Design Tokens) ----- */
:root {
  /* === BRAND COLORS (OKLCH) === */
  --hw-navy:         oklch(0.20 0.03 250);
  --hw-navy-mid:     oklch(0.25 0.03 250);
  --hw-navy-light:   oklch(0.30 0.03 250);
  --hw-orange:       oklch(0.65 0.15 50);
  --hw-orange-hover: oklch(0.60 0.15 50);
  --hw-gold:         oklch(0.75 0.15 80);
  --hw-gold-light:   oklch(0.85 0.10 80);

  /* Neutrals - tinted toward navy (oklch hue 250) */
  --hw-white:        oklch(0.98 0.005 250);
  --hw-gray-50:      oklch(0.96 0.006 250);
  --hw-gray-100:     oklch(0.93 0.008 250);
  --hw-gray-200:     oklch(0.88 0.008 250);
  --hw-gray-300:     oklch(0.80 0.010 250);
  --hw-gray-400:     oklch(0.65 0.012 250);
  --hw-gray-500:     oklch(0.50 0.012 250);
  --hw-gray-600:     oklch(0.40 0.012 250);
  --hw-gray-700:     oklch(0.35 0.012 250);
  --hw-gray-800:     oklch(0.25 0.015 250);
  --hw-gray-900:     oklch(0.15 0.020 250);

  /* Semantic colors */
  --hw-success:      oklch(0.60 0.15 145);
  --hw-warning:      oklch(0.75 0.15 80);
  --hw-error:        oklch(0.55 0.18 25);
  --hw-info:         oklch(0.60 0.10 250);

  /* === TYPOGRAPHY === */
  --font-display:    'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:       'Source Sans 3', 'Segoe UI', sans-serif;
  --font-mono:       'JetBrains Mono', 'Consolas', monospace;

  /* Modular Scale (1.25 ratio) */
  --text-xs:         0.75rem;    /* 12px */
  --text-sm:         0.875rem;   /* 14px */
  --text-base:       1rem;       /* 16px */
  --text-lg:         1.125rem;   /* 18px */
  --text-xl:         1.25rem;    /* 20px */
  --text-2xl:        1.563rem;   /* 25px */
  --text-3xl:        1.953rem;   /* 31px */
  --text-4xl:        2.441rem;   /* 39px */
  --text-5xl:        3.052rem;   /* 49px */
  --text-6xl:        clamp(2.5rem, 5vw, 4rem);

  /* Line Heights */
  --leading-tight:   1.15;
  --leading-snug:    1.3;
  --leading-normal:  1.6;
  --leading-relaxed: 1.75;

  /* Letter Spacing */
  --tracking-tight:  -0.02em;
  --tracking-normal: 0;
  --tracking-wide:   0.05em;
  --tracking-wider:  0.1em;

  /* === SPACING (4pt scale) === */
  --space-1:   0.25rem;  /* 4px */
  --space-2:   0.5rem;   /* 8px */
  --space-3:   0.75rem;  /* 12px */
  --space-4:   1rem;     /* 16px */
  --space-5:   1.25rem;  /* 20px */
  --space-6:   1.5rem;   /* 24px */
  --space-8:   2rem;     /* 32px */
  --space-10:  2.5rem;   /* 40px */
  --space-12:  3rem;     /* 48px */
  --space-16:  4rem;     /* 64px */
  --space-20:  5rem;     /* 80px */
  --space-24:  6rem;     /* 96px */

  /* === BORDERS & RADIUS === */
  --radius-sm:   4px;
  --radius-md:   6px;
  --radius-lg:   8px;
  --radius-xl:   12px;
  --radius-2xl:  16px;
  --radius-full: 9999px;

  /* === SHADOWS === */
  --shadow-sm:   0 1px 2px oklch(0.15 0.02 250 / 0.08);
  --shadow-md:   0 4px 12px oklch(0.15 0.02 250 / 0.10);
  --shadow-lg:   0 8px 24px oklch(0.15 0.02 250 / 0.12);
  --shadow-xl:   0 16px 48px oklch(0.15 0.02 250 / 0.15);
  --shadow-glow: 0 0 20px oklch(0.65 0.15 50 / 0.3);

  /* === TRANSITIONS === */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast:  150ms;
  --duration-base:  250ms;
  --duration-slow:  400ms;

  /* === LAYOUT === */
  --content-width:     1290px;   /* Desktop > 1024px */
  --content-wide:      1520px;   /* Wide desktop */
  --content-narrow:    842px;    /* Tablet 768-1024px */
  --content-tablet:    768px;    /* Large mobile */
  --content-mobile:    100%;     /* Small mobile */
  --header-height:     80px;
}

/* ============================================================
   LAYOUT SYSTEM - Responsive Container
   ============================================================ */
.hw-container {
  width: 100%;
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.hw-container-wide {
  width: 100%;
  max-width: var(--content-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.hw-container-narrow {
  width: 100%;
  max-width: 842px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

/* Tablet breakpoint */
@media (max-width: 1024px) {
  .hw-container,
  .hw-container-wide {
    max-width: var(--content-narrow);
    padding-left: var(--space-5);
    padding-right: var(--space-5);
  }
  .hw-container-narrow {
    padding-left: var(--space-5);
    padding-right: var(--space-5);
  }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
  .hw-container,
  .hw-container-wide,
  .hw-container-narrow {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
}

/* Small mobile breakpoint */
@media (max-width: 480px) {
  .hw-container,
  .hw-container-wide,
  .hw-container-narrow {
    max-width: var(--content-mobile);
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }
}

/* ============================================================
   KADENCE COMPATIBILITY - Override parent theme blocks
   ============================================================ */
/* Row layout containers - allow full-width backgrounds */
.kt-row-layout-inner.kt-row-has-bg {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Column wrap - constrain inner content */
.kt-row-column-wrap {
  max-width: var(--content-width);
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--space-6) !important;
  padding-right: var(--space-6) !important;
  width: 100%;
}

@media (max-width: 1024px) {
  .kt-row-column-wrap {
    max-width: var(--content-narrow) !important;
    padding-left: var(--space-5) !important;
    padding-right: var(--space-5) !important;
  }
}

@media (max-width: 768px) {
  .kt-row-column-wrap {
    max-width: var(--content-tablet) !important;
    padding-left: var(--space-4) !important;
    padding-right: var(--space-4) !important;
  }
}

@media (max-width: 480px) {
  .kt-row-column-wrap {
    max-width: var(--content-mobile) !important;
    padding-left: var(--space-3) !important;
    padding-right: var(--space-3) !important;
  }
}

/* ============================================================
   TAILWIND UTILITY COMPATIBILITY
   Override Tailwind utility classes used in page content
   ============================================================ */
/* Tailwind max-w-* containers - center them properly */
.max-w-6xl,
.max-w-5xl,
.max-w-4xl,
.max-w-3xl,
.max-w-2xl,
.max-w-xl {
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100%;
}

/* max-w-6xl = 72rem = 1152px (slightly less than content-width 1290px) */
.max-w-6xl { max-width: 72rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }

/* Tailwind section backgrounds - allow full-width backgrounds */
section.bg-slate-50,
section.bg-slate-100,
section.bg-slate-200,
section.bg-slate-800,
section.bg-slate-900,
section.bg-white,
section.bg-black,
section.bg-\[\#0F172A\],
section.bg-\[\#F5F7FA\],
section.bg-orange-50,
section.bg-orange-500,
section.bg-emerald-50,
section.bg-emerald-600,
section.bg-blue-50,
section.bg-blue-600,
section.bg-indigo-700,
section.bg-purple-50,
section.bg-purple-600,
section.bg-violet-700,
section.bg-teal-700,
section.bg-slate-700 {
  width: 100%;
  box-sizing: border-box;
}

/* Tailwind text colors on dark backgrounds */
section.bg-slate-900 *,
section.bg-\[\#0F172A\] * {
  color: inherit;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--hw-gray-800);
  background: var(--hw-gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--hw-orange);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out-quart);
}

a:hover {
  color: var(--hw-orange-hover);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--hw-navy);
  letter-spacing: var(--tracking-tight);
}

h1 {
  font-size: clamp(2.5rem, 5vw, var(--text-5xl));
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, var(--text-4xl));
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, var(--text-3xl));
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

/* Display heading for hero sections */
.hw-display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--hw-white);
}

/* Technical labels */
.hw-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--hw-gray-500);
}

/* Mono text for technical specs */
.hw-mono {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--hw-white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration-base) var(--ease-out-quart);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

/* Main navigation */
.main-navigation .primary-menu-container > ul > li.menu-item > a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--hw-gray-700);
  padding: var(--space-4) var(--space-5);
  transition: color var(--duration-fast) var(--ease-out-quart);
}

.main-navigation .primary-menu-container > ul > li.menu-item > a:hover {
  color: var(--hw-orange);
}

.main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a {
  color: var(--hw-navy);
}

/* Dropdown menus */
.header-navigation .header-menu-container ul ul.sub-menu {
  background: var(--hw-navy);
  border: none;
  box-shadow: var(--shadow-xl);
  min-width: 220px;
}

.header-navigation .header-menu-container ul ul li.menu-item > a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--hw-gray-200);
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid oklch(0.30 0.03 250);
  transition: all var(--duration-fast) var(--ease-out-quart);
}

.header-navigation .header-menu-container ul ul li.menu-item > a:hover {
  color: var(--hw-white);
  background: var(--hw-navy-light);
  padding-left: var(--space-6);
}

/* Language switcher */
.lang-switcher-item a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  color: var(--hw-gray-500);
  padding: var(--space-1) var(--space-2);
  border: 1px solid var(--hw-gray-200);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out-quart);
}

.lang-switcher-item a:hover {
  color: var(--hw-orange);
  border-color: var(--hw-orange);
}

.lang-separator {
  display: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */
/* Primary button - Orange filled */
.hw-btn-primary,
.kt-button.kt-btn-style-filled {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  background: var(--hw-orange);
  color: var(--hw-white);
  border: 2px solid var(--hw-orange);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: all var(--duration-base) var(--ease-out-quart);
  position: relative;
  overflow: hidden;
}

.hw-btn-primary:hover,
.kt-button.kt-btn-style-filled:hover {
  background: var(--hw-orange-hover);
  border-color: var(--hw-orange-hover);
  color: var(--hw-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.hw-btn-primary:active,
.kt-button.kt-btn-style-filled:active {
  transform: translateY(0);
}

/* Secondary button - White/outline */
.hw-btn-secondary,
.kt-button.kt-btn-style-outline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  background: transparent;
  color: var(--hw-white);
  border: 2px solid var(--hw-white);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: all var(--duration-base) var(--ease-out-quart);
}

.hw-btn-secondary:hover,
.kt-button.kt-btn-style-outline:hover {
  background: var(--hw-white);
  color: var(--hw-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Dark variant secondary button */
.hw-btn-secondary-dark {
  color: var(--hw-navy);
  border-color: var(--hw-navy);
}

.hw-btn-secondary-dark:hover {
  background: var(--hw-navy);
  color: var(--hw-white);
}

/* Ghost button */
.hw-btn-ghost {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  background: transparent;
  color: var(--hw-orange);
  border: none;
  padding: var(--space-2) var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: all var(--duration-fast) var(--ease-out-quart);
}

.hw-btn-ghost:hover {
  color: var(--hw-orange-hover);
  gap: var(--space-3);
}

/* ============================================================
   CARDS
   ============================================================ */
.hw-card {
  background: var(--hw-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-out-quart);
  box-shadow: var(--shadow-sm);
}

.hw-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.hw-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.hw-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-quart);
}

.hw-card:hover .hw-card-image img {
  transform: scale(1.05);
}

.hw-card-body {
  padding: var(--space-6);
}

.hw-card-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--hw-orange);
  display: inline-block;
  margin-bottom: var(--space-2);
}

.hw-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--hw-navy);
  margin-bottom: var(--space-3);
}

.hw-card-text {
  font-size: var(--text-sm);
  color: var(--hw-gray-600);
  line-height: var(--leading-relaxed);
}

/* Project card with overlay */
.hw-project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.hw-project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-quart);
}

.hw-project-card:hover img {
  transform: scale(1.08);
}

.hw-project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    oklch(0.15 0.02 250 / 0.95) 0%,
    oklch(0.15 0.02 250 / 0.4) 50%,
    oklch(0.15 0.02 250 / 0.1) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  transition: background var(--duration-base) var(--ease-out-quart);
}

.hw-project-card:hover .hw-project-card-overlay {
  background: linear-gradient(
    to top,
    oklch(0.15 0.02 250 / 0.98) 0%,
    oklch(0.15 0.02 250 / 0.6) 50%,
    oklch(0.15 0.02 250 / 0.2) 100%
  );
}

.hw-project-card-country {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-2);
}

.hw-project-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--hw-white);
  margin-bottom: var(--space-1);
}

.hw-project-card-subtitle {
  font-size: var(--text-sm);
  color: var(--hw-gray-300);
}

.hw-project-card-tags {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
  flex-wrap: wrap;
}

.hw-project-card-tags span {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--hw-gold);
  background: oklch(0.65 0.15 50 / 0.15);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
}

/* ============================================================
   STAT CARDS
   ============================================================ */
.hw-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
  padding: var(--space-10) 0;
}

.hw-stat {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  background: var(--hw-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-base) var(--ease-out-quart);
}

.hw-stat:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.hw-stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, var(--text-5xl));
  color: var(--hw-orange);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.hw-stat-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--hw-gray-600);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

/* ============================================================
   FORMS
   ============================================================ */
.hw-form {
  background: var(--hw-white);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-md);
}

.hw-form-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-2xl);
  color: var(--hw-navy);
  margin-bottom: var(--space-2);
}

.hw-form-subtitle {
  font-size: var(--text-sm);
  color: var(--hw-gray-500);
  margin-bottom: var(--space-8);
}

.hw-form-group {
  margin-bottom: var(--space-5);
}

.hw-form-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--hw-gray-700);
  margin-bottom: var(--space-2);
  letter-spacing: var(--tracking-wide);
}

.hw-form-input,
.hw-form-select,
.hw-form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--hw-gray-800);
  background: var(--hw-gray-50);
  border: 2px solid var(--hw-gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  transition: all var(--duration-fast) var(--ease-out-quart);
  outline: none;
}

.hw-form-input:focus,
.hw-form-select:focus,
.hw-form-textarea:focus {
  border-color: var(--hw-orange);
  background: var(--hw-white);
  box-shadow: 0 0 0 3px oklch(0.65 0.15 50 / 0.15);
}

.hw-form-input::placeholder,
.hw-form-textarea::placeholder {
  color: var(--hw-gray-400);
}

.hw-form-textarea {
  resize: vertical;
  min-height: 120px;
}

.hw-form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A5568' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hw-hero {
  background: var(--hw-navy);
  position: relative;
  overflow: hidden;
}

.hw-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(
      ellipse at 30% 50%,
      oklch(0.65 0.15 50 / 0.08) 0%,
      transparent 60%
    );
  pointer-events: none;
}

.hw-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  padding: var(--space-20) 0;
  position: relative;
  z-index: 1;
}

.hw-hero-content {
  max-width: 600px;
}

.hw-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: oklch(0.65 0.15 50 / 0.12);
  color: var(--hw-gold);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  border: 1px solid oklch(0.65 0.15 50 / 0.2);
}

.hw-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: var(--hw-white);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.hw-hero-title em {
  font-style: normal;
  color: var(--hw-orange);
}

.hw-hero-desc {
  font-size: var(--text-lg);
  color: var(--hw-gray-300);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
  max-width: 500px;
}

.hw-hero-ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.hw-hero-trust {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
  align-items: center;
}

.hw-hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--hw-gray-400);
}

.hw-hero-trust-icon {
  width: 20px;
  height: 20px;
  color: var(--hw-gold);
}

.hw-hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hw-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hw-hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    oklch(0.20 0.03 250 / 0.3) 0%,
    transparent 30%
  );
  pointer-events: none;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.hw-compare {
  overflow-x: auto;
  border: 1px solid var(--hw-gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.hw-compare table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: var(--text-sm);
  background: var(--hw-white);
}

.hw-compare thead {
  background: var(--hw-navy);
}

.hw-compare thead th {
  padding: var(--space-4) var(--space-5);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--hw-white);
  white-space: nowrap;
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
}

.hw-compare thead th:first-child {
  text-align: left;
  padding-left: var(--space-6);
}

.hw-compare tbody td {
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--hw-gray-100);
  text-align: center;
  color: var(--hw-gray-700);
}

.hw-compare tbody td:first-child {
  font-weight: 600;
  color: var(--hw-navy);
  text-align: left;
  padding-left: var(--space-6);
  background: var(--hw-gray-50);
  white-space: nowrap;
}

.hw-compare tbody tr:nth-child(even) td {
  background: var(--hw-gray-50);
}

.hw-compare tbody tr:nth-child(even) td:first-child {
  background: var(--hw-gray-100);
}

.hw-compare tbody tr:hover td {
  background: oklch(0.65 0.15 50 / 0.06);
}

.hw-compare tbody tr:hover td:first-child {
  background: oklch(0.65 0.15 50 / 0.10);
}

/* ============================================================
   SECTION PATTERNS
   ============================================================ */
/* Dark section */
.hw-section-dark {
  background: var(--hw-navy);
  color: var(--hw-white);
  padding: var(--space-20) 0;
}

.hw-section-dark h2,
.hw-section-dark h3 {
  color: var(--hw-white);
}

.hw-section-dark p {
  color: var(--hw-gray-300);
}

/* Light section */
.hw-section-light {
  background: var(--hw-gray-50);
  padding: var(--space-20) 0;
}

/* White section */
.hw-section-white {
  background: var(--hw-white);
  padding: var(--space-20) 0;
}

/* Section header */
.hw-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-12);
}

.hw-section-header .hw-label {
  margin-bottom: var(--space-4);
}

.hw-section-header h2 {
  margin-bottom: var(--space-4);
}

.hw-section-header p {
  font-size: var(--text-lg);
  color: var(--hw-gray-500);
  line-height: var(--leading-relaxed);
}

/* ============================================================
   ICON FEATURES
   ============================================================ */
.hw-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
}

.hw-feature {
  padding: var(--space-8);
  background: var(--hw-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-base) var(--ease-out-quart);
}

.hw-feature:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.hw-feature-icon {
  width: 48px;
  height: 48px;
  background: oklch(0.65 0.15 50 / 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--hw-orange);
  font-size: var(--text-xl);
}

.hw-feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--hw-navy);
  margin-bottom: var(--space-3);
}

.hw-feature-text {
  font-size: var(--text-sm);
  color: var(--hw-gray-600);
  line-height: var(--leading-relaxed);
}

/* ============================================================
   TIMELINE
   ============================================================ */
.hw-timeline {
  position: relative;
  padding-left: var(--space-12);
}

.hw-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--hw-gray-200);
}

.hw-timeline-item {
  position: relative;
  padding-bottom: var(--space-10);
}

.hw-timeline-item:last-child {
  padding-bottom: 0;
}

.hw-timeline-dot {
  position: absolute;
  left: calc(-1 * var(--space-12) + 12px);
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--hw-orange);
  border-radius: 50%;
  border: 3px solid var(--hw-white);
  box-shadow: var(--shadow-sm);
}

.hw-timeline-year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--hw-orange);
  margin-bottom: var(--space-2);
}

.hw-timeline-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--hw-navy);
  margin-bottom: var(--space-2);
}

.hw-timeline-text {
  font-size: var(--text-sm);
  color: var(--hw-gray-600);
  line-height: var(--leading-relaxed);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.hw-faq {
  max-width: 800px;
  margin: 0 auto;
}

.hw-faq-item {
  border-bottom: 1px solid var(--hw-gray-200);
}

.hw-faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-5) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--hw-navy);
  text-align: left;
  transition: color var(--duration-fast) var(--ease-out-quart);
}

.hw-faq-question:hover {
  color: var(--hw-orange);
}

.hw-faq-question::after {
  content: '+';
  font-size: var(--text-xl);
  color: var(--hw-gray-400);
  transition: transform var(--duration-base) var(--ease-out-quart);
}

.hw-faq-item.active .hw-faq-question::after {
  transform: rotate(45deg);
  color: var(--hw-orange);
}

.hw-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out-expo);
}

.hw-faq-item.active .hw-faq-answer {
  max-height: 500px;
}

.hw-faq-answer-inner {
  padding-bottom: var(--space-6);
  font-size: var(--text-base);
  color: var(--hw-gray-600);
  line-height: var(--leading-relaxed);
}

/* ============================================================
   STEPS / PROCESS
   ============================================================ */
.hw-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-8);
  counter-reset: step;
}

.hw-step {
  position: relative;
  padding: var(--space-8);
  background: var(--hw-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  counter-increment: step;
}

.hw-step::before {
  content: counter(step);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-4xl);
  color: oklch(0.65 0.15 50 / 0.15);
  line-height: 1;
  margin-bottom: var(--space-4);
  display: block;
}

.hw-step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--hw-navy);
  margin-bottom: var(--space-3);
}

.hw-step-text {
  font-size: var(--text-sm);
  color: var(--hw-gray-600);
  line-height: var(--leading-relaxed);
}

/* ============================================================
   CERTIFICATION CARDS
   ============================================================ */
.hw-certs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.hw-cert {
  padding: var(--space-8);
  background: var(--hw-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--duration-base) var(--ease-out-quart);
  border-top: 3px solid var(--hw-orange);
}

.hw-cert:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.hw-cert-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: oklch(0.65 0.15 50 / 0.1);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--hw-orange);
}

.hw-cert-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--hw-navy);
  margin-bottom: var(--space-2);
}

.hw-cert-desc {
  font-size: var(--text-sm);
  color: var(--hw-gray-500);
  line-height: var(--leading-relaxed);
}

/* ============================================================
   MAP SECTION
   ============================================================ */
.hw-map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

.hw-map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   IM / CONTACT CARDS
   ============================================================ */
.hw-im-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}

.hw-im-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--hw-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-base) var(--ease-out-quart);
}

.hw-im-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.hw-im-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: var(--text-xl);
}

.hw-im-card-icon.whatsapp {
  background: oklch(0.55 0.15 155);
  color: var(--hw-white);
}

.hw-im-card-icon.skype {
  background: oklch(0.55 0.12 230);
  color: var(--hw-white);
}

.hw-im-card-icon.phone {
  background: var(--hw-orange);
  color: var(--hw-white);
}

.hw-im-card-icon.email {
  background: var(--hw-navy);
  color: var(--hw-white);
}

.hw-im-card-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--hw-gray-500);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.hw-im-card-value {
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--hw-navy);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--hw-navy);
  color: var(--hw-gray-300);
}

.site-footer h2,
.site-footer h3,
.site-footer h4 {
  color: var(--hw-white);
}

.site-footer a {
  color: var(--hw-gray-300);
  transition: color var(--duration-fast) var(--ease-out-quart);
}

.site-footer a:hover {
  color: var(--hw-orange);
}

.site-bottom-footer-inner-wrap {
  padding: var(--space-12) 0 var(--space-8);
}

.footer-widget-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--hw-white);
  margin-bottom: var(--space-5);
}

/* ============================================================
   FOOTER - .hb-footer (inline style override)
   Fix low-contrast text on dark navy background
   ============================================================ */
.hb-footer a,
.hb-footer a:link,
.hb-footer a:visited {
  color: var(--hw-gray-300) !important;
}

.hb-footer a:hover,
.hb-footer a:active {
  color: var(--hw-orange) !important;
}

/* Override weak slate-400 #94a3b8 on #0F172A */
.hb-footer [style*="color:#94a3b8"],
.hb-footer [style*="color: #94a3b8"] {
  color: var(--hw-gray-300) !important;
}

/* Override low-contrast copyright #64748b on #0F172A */
.hb-footer [style*="color:#64748b"],
.hb-footer [style*="color: #64748b"] {
  color: var(--hw-gray-400) !important;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.hw-whatsapp-float {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 999;
  width: 60px;
  height: 60px;
  background: oklch(0.55 0.15 155);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hw-white);
  font-size: 28px;
  box-shadow: var(--shadow-lg);
  transition: all var(--duration-base) var(--ease-out-quart);
  text-decoration: none;
}

.hw-whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
  color: var(--hw-white);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes countUp {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* Scroll reveal classes */
.hw-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--duration-slow) var(--ease-out-expo);
}

.hw-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hw-reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all var(--duration-slow) var(--ease-out-expo);
}

.hw-reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.hw-reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all var(--duration-slow) var(--ease-out-expo);
}

.hw-reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.hw-stagger > * {
  opacity: 0;
  transform: translateY(15px);
  transition: all var(--duration-base) var(--ease-out-expo);
}

.hw-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.hw-stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.hw-stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.hw-stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.hw-stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.hw-stagger.visible > *:nth-child(6) { transition-delay: 400ms; }

.hw-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hw-reveal,
  .hw-reveal-left,
  .hw-reveal-right,
  .hw-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --header-height: 70px;
  }

  .hw-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding: var(--space-12) 0;
  }

  .hw-hero-image {
    order: -1;
  }

  .hw-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .hw-hero-ctas {
    flex-direction: column;
  }

  .hw-hero-ctas .kt-button {
    width: 100%;
    justify-content: center;
  }

  .hw-stats {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .hw-stat {
    padding: var(--space-5);
  }

  .hw-form {
    padding: var(--space-6);
  }

  .hw-features {
    grid-template-columns: 1fr;
  }

  .hw-steps {
    grid-template-columns: 1fr;
  }

  .hw-im-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   OVERRIDES - Kadence Theme
   ============================================================ */
/* Override Kadence palette */
:root {
  --global-palette1: var(--hw-orange);
  --global-palette2: var(--hw-orange-hover);
  --global-palette3: var(--hw-navy);
  --global-palette4: var(--hw-gray-800);
  --global-palette5: var(--hw-gray-600);
  --global-palette6: var(--hw-gray-500);
  --global-palette7: var(--hw-gray-100);
  --global-palette8: var(--hw-gray-50);
  --global-palette9: var(--hw-white);
  --global-palette-highlight: var(--hw-orange);
  --global-palette-highlight-alt: var(--hw-orange-hover);
  --global-palette-btn-bg: var(--hw-orange);
  --global-palette-btn-bg-hover: var(--hw-orange-hover);
  --global-palette-btn: var(--hw-white);
  --global-palette-btn-hover: var(--hw-white);
}

/* Override Kadence typography */
:root {
  --global-body-font-family: var(--font-body);
  --global-heading-font-family: var(--font-display);
  --global-primary-nav-font-family: var(--font-display);
}

/* Override Kadence content width */
:root {
  --global-content-width: var(--content-width);
  --global-content-wide-width: var(--content-wide);
  --global-content-narrow-width: var(--content-narrow);
}

/* Kadence entry overrides */
.entry-content-wrap {
  padding: 0;
}

.entry.single-entry,
.entry.loop-entry {
  box-shadow: none;
}

.content-area {
  margin-top: 0;
  margin-bottom: 0;
}

/* Hide Kadence default hero */
.entry-hero.page-hero-section .entry-header {
  min-height: 0;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.hw-container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.hw-container-wide {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.hw-container-narrow {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.hw-text-center { text-align: center; }
.hw-text-left { text-align: left; }
.hw-text-right { text-align: right; }

.hw-text-orange { color: var(--hw-orange); }
.hw-text-navy { color: var(--hw-navy); }
.hw-text-white { color: var(--hw-white); }
.hw-text-gray { color: var(--hw-gray-500); }

.hw-bg-navy { background: var(--hw-navy); }
.hw-bg-white { background: var(--hw-white); }
.hw-bg-gray { background: var(--hw-gray-50); }

.hw-mb-0 { margin-bottom: 0; }
.hw-mb-4 { margin-bottom: var(--space-4); }
.hw-mb-8 { margin-bottom: var(--space-8); }
.hw-mb-12 { margin-bottom: var(--space-12); }

.hw-mt-0 { margin-top: 0; }
hw-mt-4 { margin-top: var(--space-4); }
.hw-mt-8 { margin-top: var(--space-8); }

.hw-flex { display: flex; }
.hw-flex-center { display: flex; align-items: center; justify-content: center; }
.hw-flex-between { display: flex; align-items: center; justify-content: space-between; }
.hw-gap-4 { gap: var(--space-4); }
.hw-gap-8 { gap: var(--space-8); }

/* ============================================================
   GLOBAL OVERRIDES FOR INLINE STYLES
   ============================================================ */
/* Force font-family on all headings */
h1, h2, h3, h4, h5, h6,
.kt-adv-heading,
[style*="font-weight:700"] {
    font-family: var(--font-display) !important;
}

/* Force font-family on body text */
p, li, td, th, label, input, textarea, select,
.kt-adv-text,
[style*="font-size:14px"],
[style*="font-size:16px"],
[style*="font-size:18px"] {
    font-family: var(--font-body) !important;
}

/* Override button styles */
.kt-button,
.wp-block-button__link {
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
    letter-spacing: var(--tracking-wide) !important;
    text-transform: uppercase !important;
    transition: all var(--duration-base) var(--ease-out-quart) !important;
}

.kt-button:hover,
.wp-block-button__link:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-lg) !important;
}

/* Fix border-left anti-pattern globally */
[style*="border-left:4px"],
[style*="border-left: 4px"],
[style*="border-left:3px"],
[style*="border-left: 3px"] {
    border-left: none !important;
    border-top: 3px solid var(--hw-orange) !important;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid var(--hw-orange);
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: oklch(0.65 0.15 50 / 0.3);
    color: var(--hw-navy);
}

/* ============================================================
   IMAGE LOADING ANIMATIONS
   ============================================================ */
.hw-image-loading {
    opacity: 0.5;
    filter: blur(2px);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.hw-image-loaded {
    opacity: 1;
    filter: blur(0);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.hw-image-error {
    opacity: 0.5;
    filter: grayscale(1);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

/* Image loading placeholder */
.hw-image-loading::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        var(--hw-gray-100) 25%, 
        var(--hw-gray-50) 50%, 
        var(--hw-gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    z-index: 1;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ============================================================
   GENERIC FORM DARK-BACKGROUND FIX
   Applied globally so any form on dark sections stays readable.
   Page-specific FluentForm tweaks live in page-contact.css.
   ============================================================ */

.bg-slate-900 form,
.bg-slate-950 form,
.bg-\[\#0F172A\] form,
.bg-\[\#1A1A1A\] form,
section.bg-slate-900 form,
section.bg-slate-950 form {
    color: #ffffff;
}

.bg-slate-900 input,
.bg-slate-900 select,
.bg-slate-900 textarea,
.bg-slate-950 input,
.bg-slate-950 select,
.bg-slate-950 textarea,
.bg-\[\#0F172A\] input,
.bg-\[\#0F172A\] select,
.bg-\[\#0F172A\] textarea {
    background-color: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border: 1px solid #475569;
}

.bg-slate-900 input::placeholder,
.bg-slate-900 textarea::placeholder,
.bg-slate-950 input::placeholder,
.bg-slate-950 textarea::placeholder,
.bg-\[\#0F172A\] input::placeholder,
.bg-\[\#0F172A\] textarea::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.bg-slate-900 label,
.bg-slate-950 label,
.bg-\[\#0F172A\] label {
    color: #e2e8f0;
}

/* ============================================================
   TOUCH TARGETS & MOBILE OPTIMIZATIONS
   ============================================================ */

@media (hover: none) and (pointer: coarse) {
    /* Enforce 44x44 touch targets on mobile */
    a.hw-cta,
    a.hw-button,
    button.hw-cta,
    .hw-nav-link,
    .menu-item a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Larger tap area for small links */
    .hw-footer-link,
    .hw-meta-link {
        padding: 8px 0;
    }

    /* Prevent iOS text size adjustment */
    html {
        -webkit-text-size-adjust: 100%;
    }

    /* Better form input sizing */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px;
    }
}

/* ============================================================
   PERFORMANCE: REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hw-image-loading {
        opacity: 1;
        filter: none;
    }
}

/* ============================================================
   PERFORMANCE: IMAGE RENDERING
   ============================================================ */

img[loading="lazy"] {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].hw-image-loaded,
img[loading="lazy"].complete {
    opacity: 1;
}

img {
    max-width: 100%;
    height: auto;
}
