
/* =============================================
   KPF PROFESSIONAL SERVICES — styles.css
   Pure CSS, no frameworks
   ============================================= */

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

:root {
  --primary:   #0A2540;
  --primary-h: #0d2e4e;
  --accent:    #4CAF50;
  --accent-h:  #43a047;
  --accent-light: rgba(76,175,80,.08);
  --white:     #ffffff;
  --light:     #f4f7fb;
  --muted:     #6b7a99;
  --border:    #e4eaf2;
  --shadow-sm: 0 2px 8px rgba(10,37,64,.06);
  --shadow-md: 0 8px 32px rgba(10,37,64,.10);
  --shadow-lg: 0 20px 60px rgba(10,37,64,.14);
  --radius:    14px;
  --transition: .3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--primary);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  gap: 8px;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; border-radius: var(--radius); }

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 0 20px rgba(76,175,80,.25);
}
.btn-accent:hover {
  background: var(--accent-h);
  box-shadow: 0 0 32px rgba(76,175,80,.4);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover { background: var(--primary-h); }

.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,.4);
  color: var(--white);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

/* ---------- SECTION ---------- */
.section { padding: 100px 0; }
.bg-white { background: var(--white); }
.bg-light  { background: var(--light); }
.bg-primary { background: var(--primary); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 16px; }
.section-header p  { color: var(--muted); font-size: 1.1rem; }

.section-header-white h2 { color: var(--white); }
.section-header-white p  { color: rgba(255,255,255,.7); }

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  background: var(--accent-light);
  border: 1px solid rgba(76,175,80,.25);
  color: var(--accent);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .04em;
  margin-bottom: 16px;
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- NAVBAR ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { height: 42px; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--white);
  transition: color var(--transition);
}
#navbar.scrolled .nav-links a { color: var(--primary); }
.nav-links a:hover { color: var(--accent); }
#navbar.scrolled .nav-links a:hover { color: var(--accent); }
.nav-links .btn-accent { color: var(--white) !important; }
#navbar.scrolled .nav-links .btn-accent { color: var(--white) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background var(--transition);
}
#navbar.scrolled .hamburger span { background: var(--primary); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .btn { margin-top: 8px; border-radius: var(--radius); }
.mt-4 { margin-top: 16px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
  background: var(--primary);
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop') center/cover;
  opacity: .08;
  mix-blend-mode: luminosity;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, var(--primary) 55%, rgba(10,37,64,.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 80px 24px;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(76,175,80,.15);
  border: 1px solid rgba(76,175,80,.3);
  color: var(--accent);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .04em;
  margin-bottom: 28px;
}
.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}
.text-accent { color: var(--accent); }
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.8);
  max-width: 600px;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.card-icon {
  width: 64px; height: 64px;
  background: rgba(76,175,80,.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.card-icon svg { width: 30px; height: 30px; color: var(--accent); }
.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.card p  { color: var(--muted); line-height: 1.7; }

/* =============================================
   TAX CALCULATOR SECTION
   ============================================= */

.tax-calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Form Panel */
.tax-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.tax-form-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.tax-form-icon {
  width: 48px; height: 48px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tax-form-icon svg { width: 24px; height: 24px; color: var(--accent); }

.tax-form-header h3 { font-size: 1.2rem; font-weight: 700; color: var(--primary); }

.form-hint {
  display: block;
  font-size: .78rem;
  color: var(--muted);
  margin-top: 6px;
  font-style: italic;
}

/* Custom Checkboxes */
.tax-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--light);
  border-radius: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: .9rem;
  color: var(--primary);
  font-weight: 500;
  position: relative;
}

.checkbox-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
  background: var(--white);
}

.checkbox-label input:checked + .checkmark {
  background: var(--accent);
  border-color: var(--accent);
}

.checkbox-label input:checked + .checkmark::after {
  content: '';
  width: 6px; height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.checkbox-text { font-weight: 500; }

.btn-calculate svg { width: 18px; height: 18px; }

/* Results Panel */
.tax-results-wrap {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 36px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
  min-height: 500px;
}

.tax-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.tax-results-header h3 { font-size: 1.2rem; font-weight: 700; }

.tax-year-badge {
  background: var(--accent);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
}

.tax-results-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  color: rgba(255,255,255,.6);
}

.tax-results-empty-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.tax-results-empty-icon svg { width: 28px; height: 28px; color: rgba(255,255,255,.5); }

.tax-results-empty p { font-size: .95rem; line-height: 1.7; max-width: 280px; }
.tax-results-empty strong { color: rgba(255,255,255,.9); }

/* Tax Results Content */
.tax-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .9rem;
}

.tax-result-row:last-child { border-bottom: none; }

.tax-result-label { color: rgba(255,255,255,.65); font-weight: 500; }
.tax-result-value { color: var(--white); font-weight: 600; font-family: 'Inter', monospace; }

.tax-result-value.positive { color: #81C784; }
.tax-result-value.negative { color: #EF9A9A; }

.tax-result-divider {
  height: 1px;
  background: rgba(255,255,255,.15);
  margin: 16px 0;
}

.tax-result-highlight {
  background: rgba(76,175,80,.15);
  border: 1px solid rgba(76,175,80,.3);
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
}

.tax-result-highlight .tax-result-row { border-bottom: none; padding: 8px 0; }
.tax-result-highlight .tax-result-label { color: rgba(255,255,255,.8); font-weight: 600; }
.tax-result-highlight .tax-result-value { color: var(--accent); font-size: 1.3rem; font-weight: 800; }

.tax-result-sub { font-size: .8rem; color: rgba(255,255,255,.5); text-align: center; margin-top: 8px; }

/* Tax Breakdown Bars */
.tax-breakdown-bars {
  margin-top: 24px;
}

.tax-bar-item {
  margin-bottom: 16px;
}

.tax-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  margin-bottom: 6px;
  color: rgba(255,255,255,.7);
}

.tax-bar-track {
  height: 8px;
  background: rgba(255,255,255,.1);
  border-radius: 4px;
  overflow: hidden;
}

.tax-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width .8s ease;
}

.tax-bar-fill.pension { background: #64B5F6; }
.tax-bar-fill.nhf { background: #FFB74D; }
.tax-bar-fill.nhis { background: #BA68C8; }
.tax-bar-fill.paye { background: #EF5350; }
.tax-bar-fill.net { background: var(--accent); }

/* Tax Rates Table */
.tax-rates-table {
  margin-top: 60px;
  text-align: center;
}

.tax-rates-table h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--primary);
}

.tax-rates-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.tax-rate-item {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 12px;
  transition: all var(--transition);
}

.tax-rate-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.tax-rate-band {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}

.tax-rate-pct {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.tax-rates-note {
  margin-top: 20px;
  font-size: .85rem;
  color: var(--muted);
  font-style: italic;
}

/* ---------- APPLICATIONS ---------- */
.apps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.apps-left h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 20px; }
.apps-left > p { color: var(--muted); font-size: 1.05rem; line-height: 1.8; margin-bottom: 36px; }

.cert-box {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.cert-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(80px);
  opacity: .15;
  pointer-events: none;
}
.cert-box h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.cert-box p  { color: rgba(255,255,255,.75); line-height: 1.7; }

/* Accordion */
.accordion { display: flex; flex-direction: column; gap: 12px; }

.accordion-item {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.accordion-item.open {
  background: var(--white);
  border-color: rgba(76,175,80,.3);
  box-shadow: var(--shadow-md);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  background: none;
  cursor: pointer;
}

.acc-icon-wrap {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.acc-icon-wrap svg { width: 22px; height: 22px; color: var(--accent); }

.acc-text { flex: 1; }
.acc-title { display: block; font-size: 1rem; font-weight: 700; color: var(--primary); }
.acc-desc  { display: block; font-size: .85rem; color: var(--muted); margin-top: 2px; }

.acc-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform var(--transition);
}
.accordion-item.open .acc-chevron { transform: rotate(180deg); }

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.accordion-content p {
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.8;
  font-size: .95rem;
}

/* ---------- WHY CHOOSE US ---------- */
.why-section { position: relative; overflow: hidden; }
.why-decor {
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background: rgba(76,175,80,.05);
  transform: skewX(-15deg);
  transform-origin: top right;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.why-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(4px);
  border-radius: var(--radius);
  padding: 36px;
  transition: background var(--transition);
}
.why-card:hover { background: rgba(255,255,255,.1); }
.why-icon {
  width: 64px; height: 64px;
  background: var(--accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(76,175,80,.3);
}
.why-icon svg { width: 30px; height: 30px; color: var(--white); }
.why-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.why-card p  { color: rgba(255,255,255,.7); line-height: 1.7; }

/* ---------- PROCESS ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
.process-line {
  position: absolute;
  top: 52px; left: 10%; right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
  position: relative;
  z-index: 1;
}
.process-step:hover { transform: translateY(-8px); }
.process-num {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  background: var(--primary);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--white);
  box-shadow: 0 6px 20px rgba(10,37,64,.25);
}
.process-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.process-step p  { color: var(--muted); font-size: .9rem; }

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stars { display: flex; gap: 4px; }
.stars svg { width: 20px; height: 20px; color: var(--accent); }
.testimonial-card blockquote {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  line-height: 1.7;
  flex: 1;
}
.testimonial-author strong { display: block; font-weight: 700; }
.testimonial-author span  { font-size: .875rem; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: var(--accent);
  overflow: hidden;
  text-align: center;
}
.cta-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  pointer-events: none;
}
.cta-ring-1 { width: 700px; height: 700px; }
.cta-ring-2 { width: 520px; height: 520px; }

.cta-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}
.cta-content p  { font-size: 1.15rem; color: rgba(255,255,255,.9); margin-bottom: 40px; }

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}
.contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }
.contact-info > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 40px; line-height: 1.8; }

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 32px;
}
.contact-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg { width: 22px; height: 22px; color: var(--accent); }
.contact-item strong { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.contact-item p { color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* Form */
.contact-form-wrap, .tax-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

input, select, textarea {
  width: 100%;
  background: var(--light);
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--primary);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(76,175,80,.15);
}
input.error, select.error, textarea.error { border-color: #e53935; }
textarea { resize: vertical; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7a99' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }

.form-error { display: block; color: #e53935; font-size: .8rem; margin-top: 6px; min-height: 18px; }
.form-success {
  display: none;
  margin-top: 16px;
  background: rgba(76,175,80,.1);
  border: 1px solid rgba(76,175,80,.3);
  color: #2e7d32;
  border-radius: 10px;
  padding: 14px 18px;
  font-weight: 500;
  text-align: center;
}

/* ---------- FOOTER ---------- */
.footer { background: var(--primary); color: var(--white); padding-top: 80px; }

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-logo { height: 42px; background: rgba(255,255,255,.1); border-radius: 8px; padding: 4px 8px; margin-bottom: 20px; }
.footer-brand p { color: rgba(255,255,255,.65); font-size: .9rem; line-height: 1.7; margin-bottom: 24px; }

.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.social-icons a:hover { background: var(--accent); }
.social-icons svg { width: 18px; height: 18px; color: var(--white); }

.footer-col h4 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col li, .footer-col a { color: rgba(255,255,255,.65); font-size: .9rem; line-height: 1.5; }
.footer-col a { transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,.45); font-size: .85rem; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,.45); font-size: .85rem; transition: color var(--transition); }
.footer-legal a:hover { color: var(--white); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .apps-grid { grid-template-columns: 1fr; gap: 48px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-line { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .tax-calculator-grid { grid-template-columns: 1fr; }
  .tax-results-wrap { position: static; }
  .tax-rates-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .hero-content { padding: 60px 24px; }
  .tax-rates-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .btn-lg { width: 100%; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-form-wrap, .tax-form-wrap { padding: 24px; }
  .tax-rates-grid { grid-template-columns: 1fr; }
}