/* ═══════════════════════════════════════════
   SPAINTAX.COM — Design System
   Aesthetic: Refined Mediterranean — warm ivory, deep navy, burnished gold
   Typography: Playfair Display + DM Sans
   ═══════════════════════════════════════════ */

:root {
  --navy: #1a2e4a;
  --navy-light: #243d5e;
  --gold: #c8973a;
  --gold-light: #e8b84b;
  --ivory: #faf8f4;
  --ivory-2: #f4f0e8;
  --white: #ffffff;
  --text: #1a2e4a;
  --text-mid: #4a5568;
  --text-light: #718096;
  --border: #ddd8cc;
  --success: #2a6b3c;
  --success-bg: #e8f5ec;
  --error: #c0392b;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(26,46,74,0.10);
  --shadow-lg: 0 12px 48px rgba(26,46,74,0.16);

  --transition: 0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; }

/* ── DEADLINE BANNER ── */
.deadline-banner {
  background: #7b3a10;
  color: #fff;
  text-align: center;
  padding: 10px 48px 10px 24px;
  font-size: 14px;
  font-family: var(--font-body);
  position: relative;
  z-index: 200;
  display: none; /* shown by JS in Oct–Dec */
}
.banner-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #fff; font-size: 16px; cursor: pointer; opacity: 0.7;
}
.banner-close:hover { opacity: 1; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,244,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  display: flex; align-items: center; gap: 32px;
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  height: 68px;
}
.nav-logo {
  font-family: var(--font-display); font-size: 22px; letter-spacing: -0.5px;
  display: inline-flex; align-items: center; gap: 7px;
}
.logo-lemon {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.nav-logo:hover .logo-lemon { transform: rotate(-8deg) scale(1.08); }
.logo-spain { color: var(--navy); font-weight: 700; }
.logo-tax { color: var(--gold); font-weight: 400; }

/* Footer logo lemon slightly smaller */
.footer-brand .nav-logo .logo-lemon { width: 28px; height: 28px; }

.nav-links { display: flex; gap: 28px; flex: 1; }
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--text-mid);
  transition: color var(--transition);
  position: relative; padding-bottom: 2px;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--gold); transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--navy); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 16px; margin-left: auto; }

.lang-switcher { display: flex; gap: 4px; }
.lang-btn {
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  padding: 4px 8px; border-radius: 4px; border: 1px solid var(--border);
  background: none; cursor: pointer; color: var(--text-mid);
  transition: all var(--transition); font-family: var(--font-body);
}
.lang-btn.active, .lang-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.nav-cta {
  background: var(--gold); color: #fff; font-weight: 600; font-size: 13px;
  padding: 9px 18px; border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

.nav-login { font-size: 13px; font-weight: 500; color: var(--text-mid); }
.nav-login:hover { color: var(--navy); }

.nav-hamburger { display: none; font-size: 22px; background: none; border: none; cursor: pointer; }
.nav-mobile { display: none; flex-direction: column; padding: 16px 24px; gap: 12px; border-top: 1px solid var(--border); }
.nav-mobile.open { display: flex; }

/* ── HERO ── */
.hero {
  position: relative;
  padding: 90px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a2e4a 0%, #243d5e 60%, #1e3a4a 100%);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-bg::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to top, var(--ivory), transparent);
}

.hero-content {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 380px; gap: 64px;
  align-items: center;
}
.hero-text { color: #fff; }

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700; line-height: 1.18;
  color: #fff; margin-bottom: 24px;
  animation: fadeUp 0.7s ease both;
}

.trust-bar {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  align-items: center; margin-bottom: 36px;
  animation: fadeUp 0.7s 0.15s ease both;
}
.trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: rgba(255,255,255,0.82); font-weight: 500;
}
.trust-item svg { color: var(--gold); flex-shrink: 0; }
.trust-dot { color: rgba(255,255,255,0.3); font-size: 18px; }

.hero-ctas {
  display: flex; flex-direction: column; gap: 12px;
  animation: fadeUp 0.7s 0.25s ease both;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: #fff; font-weight: 700; font-size: 15px;
  padding: 15px 28px; border-radius: var(--radius);
  transition: all var(--transition);
  text-align: center; border: none; cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,151,58,0.4); }

.btn-secondary {
  display: inline-block; font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.75); border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px; align-self: flex-start;
  transition: color var(--transition);
}
.btn-secondary:hover { color: #fff; border-color: #fff; }

.returning-note {
  margin-top: 20px; font-size: 13px; color: rgba(255,255,255,0.6);
  animation: fadeUp 0.7s 0.35s ease both;
}
.returning-note a { color: var(--gold); border-bottom: 1px solid rgba(200,151,58,0.4); }
.returning-note a:hover { border-color: var(--gold); }

/* Hero card */
.hero-card {
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-card-inner {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.hero-stat {
  text-align: center; padding-bottom: 20px;
}
.stat-number {
  display: block; font-family: var(--font-display);
  font-size: 52px; font-weight: 700; color: var(--navy); line-height: 1;
}
.stat-label {
  display: block; font-size: 13px; color: var(--text-light); margin-top: 4px;
  text-transform: uppercase; letter-spacing: 1px;
}
.hero-card-divider { height: 1px; background: var(--border); margin-bottom: 20px; }
.feature-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-mid); margin-bottom: 12px;
}
.hero-card-link {
  display: block; margin-top: 20px; text-align: center;
  font-size: 13px; font-weight: 600; color: var(--gold);
  border-top: 1px solid var(--border); padding-top: 16px;
  transition: color var(--transition);
}
.hero-card-link:hover { color: var(--navy); }

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: 80px 0; background: var(--white);
}
.section-title {
  font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px);
  font-weight: 700; color: var(--navy); text-align: center; margin-bottom: 12px;
}
.section-title.light { color: #fff; }
.section-sub {
  text-align: center; font-size: 16px; color: var(--text-light); margin-bottom: 56px;
}
.section-sub.light { color: rgba(255,255,255,0.7); }

.steps {
  display: flex; align-items: flex-start; gap: 0;
  justify-content: center;
}
.step {
  flex: 1; max-width: 300px; text-align: center; padding: 0 24px;
}
.step-number {
  font-family: var(--font-display); font-size: 64px; font-weight: 700;
  color: rgba(26,46,74,0.07); line-height: 1; margin-bottom: -12px;
}
.step-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--ivory-2); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; color: var(--gold);
}
.step h3 {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  color: var(--navy); margin-bottom: 10px;
}
.step p { font-size: 14px; color: var(--text-light); line-height: 1.6; }
.step-arrow {
  color: var(--gold); font-size: 28px; padding-top: 48px;
  flex-shrink: 0; opacity: 0.5;
}

/* ── CALCULATOR ── */
.calculator-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a2e4a 0%, #243d5e 100%);
}

.calc-progress {
  max-width: 680px; margin: 0 auto 32px;
  animation: fadeUp 0.5s ease both;
}
.progress-track {
  height: 6px; background: rgba(255,255,255,0.15); border-radius: 3px;
  overflow: hidden; margin-bottom: 12px;
}
.progress-fill {
  height: 100%; background: var(--gold); border-radius: 3px;
  transition: width 0.4s ease;
}
.progress-steps {
  display: flex; justify-content: space-between; margin-bottom: 6px;
}
.progress-step-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: background 0.3s ease;
}
.progress-step-dot.done { background: var(--gold); }
.progress-step-dot.active { background: #fff; }
.progress-label {
  text-align: center; font-size: 13px; color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.calc-card {
  max-width: 680px; margin: 0 auto;
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  min-height: 280px;
}

/* Calculator step content */
.calc-step { padding: 40px; animation: fadeUp 0.35s ease both; }
.calc-step-title {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  color: var(--navy); margin-bottom: 8px;
}
.calc-step-sub { font-size: 14px; color: var(--text-light); margin-bottom: 28px; }

.calc-options { display: grid; gap: 12px; }
.calc-options.cols-2 { grid-template-columns: 1fr 1fr; }
.calc-options.cols-3 { grid-template-columns: 1fr 1fr 1fr; }

.calc-option {
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px 20px; cursor: pointer;
  transition: all var(--transition); display: flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 500; color: var(--text);
  background: #fff;
}
.calc-option:hover { border-color: var(--gold); background: #fffbf5; }
.calc-option.selected { border-color: var(--navy); background: #f0f4fa; color: var(--navy); }
.calc-option-icon { font-size: 22px; }

.calc-input-group { display: flex; flex-direction: column; gap: 8px; }
.calc-label { font-size: 13px; font-weight: 600; color: var(--text-mid); letter-spacing: 0.3px; }
.calc-input {
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 16px; font-size: 16px; color: var(--text);
  font-family: var(--font-body);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none; width: 100%;
}
.calc-input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,46,74,0.08); }
.calc-input-hint { font-size: 12px; color: var(--text-light); }

.calc-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border);
}
.calc-nav-back {
  font-size: 14px; color: var(--text-light); cursor: pointer;
  background: none; border: none; font-family: var(--font-body);
  transition: color var(--transition);
}
.calc-nav-back:hover { color: var(--text); }
.calc-nav-next {
  background: var(--navy); color: #fff; font-weight: 600; font-size: 15px;
  padding: 12px 28px; border-radius: var(--radius-sm); border: none;
  cursor: pointer; font-family: var(--font-body); transition: all var(--transition);
}
.calc-nav-next:hover { background: var(--navy-light); transform: translateY(-1px); }

/* Result step */
.calc-result { padding: 40px; animation: fadeUp 0.35s ease both; }
.calc-result-amount {
  text-align: center; margin-bottom: 28px;
}
.calc-result-label {
  font-size: 13px; color: var(--text-light); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 8px;
}
.calc-result-number {
  font-family: var(--font-display); font-size: 64px; font-weight: 700;
  color: var(--navy); line-height: 1;
}
.calc-result-sub { font-size: 14px; color: var(--text-light); margin-top: 6px; }

.calc-result-breakdown {
  background: var(--ivory); border-radius: var(--radius-sm);
  padding: 20px; margin-bottom: 24px;
}
.breakdown-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--border);
}
.breakdown-row:last-child { border: none; }
.breakdown-key { color: var(--text-mid); }
.breakdown-val { font-weight: 600; color: var(--navy); }

.calc-result-cta {
  display: flex; flex-direction: column; gap: 12px; text-align: center;
}
.btn-file {
  background: var(--gold); color: #fff; font-weight: 700; font-size: 16px;
  padding: 16px 32px; border-radius: var(--radius); border: none;
  cursor: pointer; font-family: var(--font-body); transition: all var(--transition);
}
.btn-file:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,151,58,0.35); }
.btn-restart {
  font-size: 13px; color: var(--text-light); cursor: pointer;
  background: none; border: none; font-family: var(--font-body);
  transition: color var(--transition);
}
.btn-restart:hover { color: var(--text); }

/* ── WHAT YOU NEED ── */
.need-section { padding: 80px 0; background: var(--ivory-2); }
.need-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: 0;
}
.need-item {
  background: #fff; border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.need-icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: var(--ivory-2); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--navy);
}
.need-item h3 {
  font-family: var(--font-display); font-size: 17px; font-weight: 600;
  color: var(--navy); margin-bottom: 10px;
}
.need-item p { font-size: 14px; color: var(--text-light); line-height: 1.65; }
.need-link {
  display: inline-block; margin-top: 12px;
  font-size: 13px; font-weight: 600; color: var(--gold);
  transition: color var(--transition);
}
.need-link:hover { color: var(--navy); }

/* ── CALL ME BACK ── */
.callback-section { padding: 80px 0; background: var(--white); }
.callback-card {
  background: linear-gradient(135deg, #faf5eb 0%, #fff9f0 100%);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 48px;
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px;
  align-items: start;
  box-shadow: 0 4px 32px rgba(200,151,58,0.12);
}
.callback-text h2 {
  font-family: var(--font-display); font-size: 26px; font-weight: 700;
  color: var(--navy); margin-bottom: 12px;
}
.callback-text p { font-size: 15px; color: var(--text-mid); line-height: 1.65; margin-bottom: 16px; }
.callback-trust {
  font-size: 13px; font-weight: 600; color: var(--gold);
  display: flex; align-items: center; gap: 6px;
}
.callback-trust::before {
  content: ''; display: inline-block;
  width: 20px; height: 2px; background: var(--gold);
}

.form-row { display: flex; gap: 12px; margin-bottom: 12px; }
.form-input {
  flex: 1; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 14px; font-family: var(--font-body);
  color: var(--text); outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,151,58,0.12); }
.form-select {
  flex: 1; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 14px; font-family: var(--font-body);
  color: var(--text); outline: none; background: #fff; cursor: pointer;
  transition: border-color var(--transition);
}
.form-select:focus { border-color: var(--gold); }
.btn-callback {
  background: var(--gold); color: #fff; font-weight: 700; font-size: 14px;
  padding: 12px 20px; border-radius: var(--radius-sm); border: none;
  cursor: pointer; font-family: var(--font-body); transition: all var(--transition);
  white-space: nowrap;
}
.btn-callback:hover { background: var(--gold-light); }
.callback-note { font-size: 12px; color: var(--text-light); }
.callback-success {
  text-align: center; padding: 32px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.callback-success h3 {
  font-family: var(--font-display); font-size: 20px; color: var(--success);
}

/* ── WHY SPAINTAX ── */
.why-section { padding: 80px 0; background: var(--ivory); }
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.why-text h2 {
  font-family: var(--font-display); font-size: 34px; font-weight: 700;
  color: var(--navy); margin-bottom: 20px;
}
.why-text p { font-size: 15px; color: var(--text-mid); line-height: 1.75; margin-bottom: 16px; }
.btn-outline {
  display: inline-block; margin-top: 8px;
  border: 2px solid var(--navy); border-radius: var(--radius-sm);
  padding: 11px 22px; font-size: 14px; font-weight: 600; color: var(--navy);
  transition: all var(--transition);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.why-stats { display: flex; flex-direction: column; gap: 24px; }
.why-stat {
  background: var(--white); border-radius: var(--radius); padding: 28px 32px;
  box-shadow: var(--shadow); border-left: 4px solid var(--gold);
}
.why-number {
  display: block; font-family: var(--font-display); font-size: 40px;
  font-weight: 700; color: var(--navy); line-height: 1;
}
.why-label { font-size: 13px; color: var(--text-light); margin-top: 4px; display: block; }

/* ── FOOTER ── */
.footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .nav-logo { margin-bottom: 12px; display: inline-block; }
.footer-brand .logo-spain { color: rgba(255,255,255,0.9); }
.footer-tagline { font-size: 14px; margin-bottom: 12px; }
.footer-address { font-size: 13px; opacity: 0.6; margin-bottom: 6px; }
.footer-phone { font-size: 14px; font-weight: 600; color: var(--gold); }
.footer-links h4 { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  text-align: center; padding: 20px 24px;
  font-size: 12px; opacity: 0.4;
}

/* ══ INNER PAGES ══ */

/* About page */
.page-hero {
  background: linear-gradient(135deg, #1a2e4a 0%, #243d5e 100%);
  padding: 80px 0 60px; color: #fff;
}
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(28px,4vw,48px);
  font-weight: 700; margin-bottom: 12px;
}
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.75); max-width: 580px; }

.page-content { padding: 72px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-photo {
  background: var(--ivory-2); border-radius: var(--radius);
  height: 360px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); color: var(--text-light); font-size: 14px;
}
.about-text h2 { font-family: var(--font-display); font-size: 28px; color: var(--navy); margin-bottom: 16px; }
.about-text p { font-size: 15px; color: var(--text-mid); line-height: 1.75; margin-bottom: 16px; }
.credential-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--success-bg); border: 1px solid #a8d5b5;
  border-radius: var(--radius-sm); padding: 8px 14px;
  font-size: 13px; font-weight: 600; color: var(--success); margin-bottom: 20px;
}

.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px;
}
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.service-card h3 { font-family: var(--font-display); font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* Pricing page */
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 48px 0;
}
.pricing-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: all var(--transition); text-align: center;
}
.pricing-card:hover, .pricing-card.featured {
  border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.pricing-owners { font-size: 13px; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.pricing-amount {
  font-family: var(--font-display); font-size: 42px; font-weight: 700;
  color: var(--navy); margin-bottom: 4px;
}
.pricing-amount-note { font-size: 12px; color: var(--text-light); margin-bottom: 20px; }
.pricing-includes { text-align: left; margin-bottom: 20px; }
.pricing-include-row {
  display: flex; gap: 8px; font-size: 13px; color: var(--text-mid);
  padding: 5px 0;
}
.pricing-include-row svg { color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.pricing-cta {
  display: block; text-align: center;
  background: var(--navy); color: #fff; font-weight: 600; font-size: 13px;
  padding: 11px 20px; border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.pricing-cta:hover { background: var(--gold); }

/* FAQ page */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border); padding: 8px 0;
}
.faq-question {
  width: 100%; text-align: left; padding: 20px 0;
  font-size: 16px; font-weight: 600; color: var(--navy);
  background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-body);
}
.faq-question:hover { color: var(--gold); }
.faq-icon { font-size: 20px; flex-shrink: 0; color: var(--gold); transition: transform 0.2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none; padding: 0 0 20px;
  font-size: 15px; color: var(--text-mid); line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info h2 { font-family: var(--font-display); font-size: 30px; color: var(--navy); margin-bottom: 16px; }
.contact-info p { font-size: 15px; color: var(--text-mid); line-height: 1.75; margin-bottom: 24px; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.contact-detail-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ivory-2); display: flex; align-items: center; justify-content: center;
  color: var(--navy); flex-shrink: 0;
}
.contact-detail-text { font-size: 14px; color: var(--text-mid); }
.contact-detail-text strong { display: block; color: var(--navy); font-size: 15px; }

.contact-form-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--border);
}
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-mid); margin-bottom: 6px; }
.form-control {
  width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 14px; font-family: var(--font-body);
  color: var(--text); outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,46,74,0.08); }
textarea.form-control { resize: vertical; min-height: 120px; }

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

.fade-in { animation: fadeUp 0.6s ease both; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 400px; margin: 0 auto; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding-top: 0; padding-left: 0; }
  .need-grid { grid-template-columns: 1fr; }
  .callback-card { grid-template-columns: 1fr; gap: 24px; }
  .why-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .form-row { flex-direction: column; }
  .nav-links, .nav-right { display: none; }
  .nav-hamburger { display: block; }
  .calc-options.cols-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .calc-options.cols-2 { grid-template-columns: 1fr; }
}

/* ── CALCULATOR ADDITIONS v3 ── */
.calc-input-wrap { position: relative; display: flex; align-items: center; }
.calc-input-prefix {
  position: absolute; left: 14px; font-size: 16px; color: var(--text-light);
  pointer-events: none; z-index: 1;
}
.calc-input.with-prefix { padding-left: 30px; }

.details-form { display: flex; flex-direction: column; gap: 16px; }

.breakdown-note {
  font-size: 12px; color: var(--text-light); margin: -4px 0 8px;
  font-style: italic;
}
.breakdown-fee-note { font-weight: 400; color: var(--text-light); font-size: 13px; }
.total-row { margin-top: 4px; padding-top: 12px; border-top: 2px solid var(--border); }
.total-val { color: var(--gold) !important; font-size: 22px !important; }

.residence-option { gap: 16px; align-items: flex-start; padding: 18px 20px; }
.res-flag { font-size: 28px; flex-shrink: 0; }
.res-text { display: flex; flex-direction: column; gap: 2px; }
.res-text strong { font-size: 15px; color: var(--navy); }
.res-rate { font-size: 13px; font-weight: 700; color: var(--gold); }
.res-note { font-size: 12px; color: var(--text-light); }

.year-option { flex-direction: column; text-align: center; gap: 6px; padding: 20px; }
.older-option { gap: 12px; background: var(--ivory-2); border-style: dashed; }
.older-option:hover { background: #fff8ee; border-color: var(--gold); }

.calc-result-breakdown {
  background: var(--ivory); border-radius: var(--radius-sm);
  padding: 20px; margin-bottom: 24px;
  border: 1px solid var(--border);
}
.breakdown-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 15px; padding: 8px 0; border-bottom: 1px solid var(--border);
}
.breakdown-row:last-child { border: none; }
.breakdown-key { color: var(--text-mid); }
.breakdown-val { font-weight: 700; color: var(--navy); font-size: 16px; }

.calc-result-cta { display: flex; flex-direction: column; gap: 12px; text-align: center; }
.btn-file {
  background: var(--gold); color: #fff; font-weight: 700; font-size: 16px;
  padding: 16px 32px; border-radius: var(--radius); border: none;
  cursor: pointer; font-family: var(--font-body); transition: all var(--transition);
  letter-spacing: 0.2px;
}
.btn-file:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,151,58,0.35); }
.btn-restart {
  font-size: 13px; color: var(--text-light); cursor: pointer;
  background: none; border: none; font-family: var(--font-body); transition: color var(--transition);
}
.btn-restart:hover { color: var(--text); }

/* Confirm screen */
.confirm-section { margin-bottom: 20px; }
.confirm-section-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text-light); margin-bottom: 10px;
}
.confirm-grid { display: flex; flex-direction: column; gap: 0; background: var(--ivory); border-radius: var(--radius-sm); border: 1px solid var(--border); overflow: hidden; }
.confirm-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 16px; font-size: 14px; border-bottom: 1px solid var(--border);
}
.confirm-row:last-child { border: none; }
.confirm-row span { color: var(--text-light); }
.confirm-row strong { color: var(--navy); text-align: right; max-width: 60%; word-break: break-all; }

/* Larger, more vivid lemon SVG */
.logo-lemon {
  width: 32px; height: 32px; flex-shrink: 0;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 1px 3px rgba(200,151,58,0.3));
}
.nav-logo:hover .logo-lemon { transform: rotate(-15deg) scale(1.15); }
.footer-brand .nav-logo .logo-lemon { width: 26px; height: 26px; }

/* Tagline under footer logo */
.footer-tagline.site-tagline {
  font-style: italic; font-size: 13px; color: rgba(255,255,255,0.55);
  margin-top: 4px; margin-bottom: 16px;
}

/* Scroll fade-in */
.step, .need-item, .why-stat, .pricing-card, .faq-item, .service-card {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.step.visible, .need-item.visible, .why-stat.visible,
.pricing-card.visible, .faq-item.visible, .service-card.visible {
  opacity: 1; transform: translateY(0);
}

/* Need section — single item layout */
.need-section { padding: 64px 0; background: var(--ivory-2); }
.need-single {
  display: flex; align-items: center; gap: 48px;
  background: var(--white); border-radius: var(--radius);
  padding: 48px; box-shadow: var(--shadow); border: 1px solid var(--border);
  max-width: 820px; margin: 0 auto;
}
.need-icon-large {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.need-single-text h2 {
  font-family: var(--font-display); font-size: 24px; color: var(--navy); margin-bottom: 12px;
}
.need-single-text p { font-size: 15px; color: var(--text-mid); line-height: 1.75; }
@media (max-width: 600px) {
  .need-single { flex-direction: column; text-align: center; padding: 32px 24px; }
}


/* ── AEAT Partnership Badge ── */
.aeat-partnership {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 8px 14px;
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  margin-top: 0.75rem;
}
.footer .aeat-partnership {
  background: rgba(255,255,255,0.08);
  margin-top: 0.5rem;
}
.hero-trust .aeat-partnership {
  background: rgba(255,255,255,0.1);
}

/* ── Floating Contact Buttons ── */
.float-contact-btns {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}
.float-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  font-family: inherit;
}
.float-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(0,0,0,0.22); }
.float-wa { background: #25D366; color: #fff; }
.float-call { background: #fff; color: #1a5c38; border: 1.5px solid #1a5c38; }
@media (max-width: 480px) {
  .float-btn span { display: none; }
  .float-btn { padding: 12px; border-radius: 50%; }
  .float-contact-btns { bottom: 16px; right: 16px; }
}

/* ── Multi-column form rows ── */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-row-3 {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 12px;
}
@media (max-width: 560px) {
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
}
.form-required-note {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}
span.req { color: #c0392b; font-size: 12px; }

/* ── AEAT Hero Badge ── */
.aeat-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  padding: 8px 16px 8px 8px;
  margin-top: 1.5rem;
  font-size: 13px;
  color: rgba(255,255,255,0.92);
  font-weight: 500;
}
.aeat-hero-badge svg { flex-shrink: 0; }

/* ── Municipality autocomplete ── */
.muni-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #fff;
  border: 1px solid #d1cfc8;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 50;
  max-height: 280px;
  overflow-y: auto;
}
.dd-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid #f0ede6;
  transition: background 0.1s;
}
.dd-item:last-child { border-bottom: none; }
.dd-item:hover, .dd-item.highlighted { background: #f5f2eb; }
.dd-name { flex: 1; font-weight: 500; color: #1a1a18; }
.dd-prov { font-size: 12px; color: #9a9a8c; }
.dd-rate {
  font-size: 12px; font-weight: 600;
  background: #f0ede6; color: #6b6b60;
  border-radius: 4px; padding: 2px 7px;
  flex-shrink: 0;
}
.dd-rate.revised {
  background: #e8f4ee; color: #1b5e3b;
}

/* Municipality selected state */
.muni-selected {
  display: flex; align-items: center; gap: 10px;
  margin-top: 10px;
  background: #eaf4ee;
  border: 1px solid #b8dfc8;
  border-radius: 8px;
  padding: 10px 14px;
}
.muni-name { font-weight: 600; color: #1b5e3b; font-size: 15px; }
.muni-province { font-size: 13px; color: #5a8a6a; }
.muni-rate-badge {
  margin-left: auto;
  background: #1b5e3b; color: #fff;
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 13px; font-weight: 600;
  flex-shrink: 0;
}
