/* ==========================================================
   ROOTMAN — resources.css
   Page specific styles for resources.html
   ========================================================== */

.hamburger {
  display: none;
}

@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }
}

.page-hero {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
  padding: 110px 0 96px;
  min-height: 78vh;
  display: flex;
  align-items: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.hero-left {
  min-width: 0;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-eyebrow-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 62px;
  font-weight: 600;
  color: white;
  line-height: 1.04;
  margin-bottom: 16px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-tagline {
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 14px;
  line-height: 1.6;
}

.hero-subtitle {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.64);
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  line-height: 1.72;
  max-width: 620px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
}

.hero-logo-wrap {
  position: relative;
  width: 440px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-wrap-resources .hero-eagle {
  width: 168px;
  height: 168px;
  object-fit: contain;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 14px 34px rgba(0,0,0,0.24));
}

.hero-logo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.14);
}

.hero-logo-ring-1 {
  width: 330px;
  height: 330px;
}

.hero-logo-ring-2 {
  width: 255px;
  height: 255px;
  border-color: rgba(201,168,76,0.2);
}

.hero-logo-ring-3 {
  width: 190px;
  height: 190px;
  border-color: rgba(201,168,76,0.1);
}

.hero-stat-card {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 18px 18px 16px;
  min-width: 142px;
  box-shadow: 0 18px 36px rgba(0,0,0,0.16);
}

.hero-stat-card-1 {
  top: 52px;
  left: 10px;
}

.hero-stat-card-2 {
  right: 0;
  bottom: 58px;
}

.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  line-height: 1.45;
}

.section-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.sec-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.sec-label-line {
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.sec-label-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.sec-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.08;
  margin-bottom: 14px;
}

.sec-title em {
  font-style: italic;
  color: var(--gold);
}

.sec-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 700px;
  margin-bottom: 44px;
}

.inline-link {
  color: var(--gold);
}

.rsec {
  padding: 88px 0;
}

.rsec-offwhite {
  background: var(--off-white);
}

.rsec-white {
  background: var(--white);
}

.rsec-goldpale {
  background: var(--gold-pale);
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.rsec-navy {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

.rsec-navy::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.notice-bar {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 36px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.75;
}

.notice-bar-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}

.notice-bar-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

thead tr {
  background: var(--navy);
}

thead th {
  padding: 13px 16px;
  text-align: left;
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

tbody tr {
  border-bottom: 1px solid #f0ede8;
  transition: background 0.15s;
}

tbody tr:hover {
  background: rgba(11,34,64,0.03);
}

tbody td {
  padding: 12px 16px;
  color: var(--text-mid);
  font-size: 13px;
}

tbody tr:nth-child(even) td {
  background: rgba(11,34,64,0.015);
}

.rate-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 2px 10px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 12px;
}

.sub-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--navy);
  margin: 52px 0 18px;
}

.rebates-grid,
.thresholds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rebates-grid {
  margin-top: 32px;
}

.thresholds-grid {
  margin-top: 20px;
}

.rebate-card {
  background: var(--navy);
  border-radius: 10px;
  padding: 28px 20px;
  border-top: 3px solid var(--gold);
  text-align: center;
}

.rebate-card h4 {
  color: var(--gold);
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.rebate-card .amount {
  font-family: 'Cormorant Garamond', serif;
  color: white;
  font-size: 32px;
  font-weight: 600;
}

.rebate-card p {
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  margin-top: 8px;
  line-height: 1.5;
}

.threshold-card {
  background: var(--white);
  border-radius: 10px;
  padding: 24px 20px;
  border: 1.5px solid #e8e4df;
  text-align: center;
  transition: all 0.3s;
}

.threshold-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(11,34,64,0.07);
}

.threshold-card h4 {
  color: var(--text-mid);
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.threshold-card .amount {
  font-family: 'Cormorant Garamond', serif;
  color: var(--navy);
  font-size: 28px;
  font-weight: 600;
}

.rates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.rate-box {
  background: var(--navy);
  border-radius: 12px;
  padding: 32px;
  border-top: 3px solid var(--gold);
}

.rate-box-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 24px;
}

.rate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  gap: 18px;
}

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

.rate-row span {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

.rate-row strong {
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

.deductions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.deduction-item {
  background: var(--white);
  border-radius: 10px;
  padding: 28px;
  border-left: 3px solid var(--gold);
  transition: all 0.3s;
}

.deduction-item:hover {
  box-shadow: 0 8px 24px rgba(11,34,64,0.08);
  transform: translateY(-2px);
}

.deduction-item h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--navy);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.deduction-item p {
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.75;
  margin-bottom: 12px;
}

.deduction-item .highlight {
  color: #7a5c1e;
  font-weight: 600;
  font-size: 13px;
}

.calc-layout-refined {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 36px;
  align-items: start;
}

.calc-info-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.calc-info-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-info-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
}

.calc-info-text {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.75;
}

.calculator-card-refined {
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
  border: 1px solid rgba(12, 27, 58, 0.08);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 44px rgba(12, 27, 58, 0.08);
}

.calc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

.calc-action-row {
  margin-top: 18px;
}

.calc-group {
  margin-bottom: 14px;
}

.calculator-card-refined .calc-group {
  margin-bottom: 0;
}

.calculator-card-refined .calc-group label,
.tool-card .calc-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.calculator-card-refined .calc-group input,
.calculator-card-refined .calc-group select,
.tool-card .calc-group input,
.tool-card .calc-group select {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border: 1px solid rgba(12, 27, 58, 0.12);
  border-radius: 14px;
  background: #ffffff;
  color: var(--navy);
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.calculator-card-refined .calc-group input:focus,
.calculator-card-refined .calc-group select:focus,
.tool-card .calc-group input:focus,
.tool-card .calc-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.14);
  transform: translateY(-1px);
}

.calculator-card-refined .calc-group input::placeholder,
.tool-card .calc-group input::placeholder {
  color: rgba(12, 27, 58, 0.4);
}

.calculator-card-refined .calc-hint,
.tool-card .calc-hint {
  margin: 6px 0 0;
  color: rgba(12, 27, 58, 0.62);
  font-size: 12px;
  line-height: 1.55;
}

.calculator-card-refined .calc-btn,
.tool-card .calc-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy) 0%, #142852 100%);
  color: #ffffff;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 12px 26px rgba(12, 27, 58, 0.16);
}

.calculator-card-refined .calc-btn:hover,
.tool-card .calc-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(12, 27, 58, 0.2);
  background: linear-gradient(135deg, #11264a 0%, #18305e 100%);
}

.calculator-card-refined .calc-btn:disabled,
.tool-card .calc-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.calc-inline-error,
.simple-error {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(160, 30, 30, 0.08);
  border: 1px solid rgba(160, 30, 30, 0.18);
  color: #8e1f1f;
  font-size: 13px;
  line-height: 1.55;
}

.period-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.period-tab {
  border: 1px solid rgba(12, 27, 58, 0.1);
  background: #f7f7f3;
  color: var(--navy);
  padding: 11px 16px;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.period-tab:hover {
  border-color: rgba(201,168,76,0.45);
  color: var(--navy);
}

.period-tab.active {
  background: linear-gradient(135deg, var(--gold) 0%, #f0d370 100%);
  color: var(--navy-deep);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(201,168,76,0.2);
}

.calc-result {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  background: #f8f6f0;
  border: 1px solid rgba(12, 27, 58, 0.08);
}

.period-panel {
  display: none;
}

.period-panel.active {
  display: block;
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(12, 27, 58, 0.08);
}

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

.calc-result-row span {
  color: rgba(12, 27, 58, 0.78);
  line-height: 1.5;
  font-size: 14px;
}

.calc-result-row strong {
  color: var(--navy);
  font-weight: 700;
  text-align: right;
  font-size: 14px;
  white-space: nowrap;
}

.calc-result-row.section-lbl {
  padding-top: 4px;
  padding-bottom: 8px;
  border-bottom: none;
}

.calc-result-row.section-lbl span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b38710;
  font-weight: 700;
}

.calc-result-row.total {
  margin-top: 6px;
  padding: 14px 16px;
  border: none;
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(243,215,122,0.2));
  border-radius: 14px;
}

.calc-result-row.total span,
.calc-result-row.total strong {
  color: var(--navy);
  font-weight: 700;
}

.calc-result-row.total strong,
.calc-result-row.nett strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
}

.calc-result-row.nett {
  margin-top: 6px;
  padding: 14px 16px;
  border: none;
  background: rgba(12, 27, 58, 0.06);
  border-radius: 14px;
}

.calc-result-row.nett span,
.calc-result-row.nett strong {
  color: var(--navy);
  font-weight: 700;
}

.calculator-card-refined .calc-disclaimer,
.extra-tools-disclaimer {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(12, 27, 58, 0.05);
  color: rgba(12, 27, 58, 0.72);
  font-size: 13px;
  line-height: 1.7;
}

.extra-tools-wrap {
  margin-top: 28px;
  padding: 28px;
  background: linear-gradient(180deg, #f7f5ef 0%, #fcfbf8 100%);
  border: 1px solid rgba(12, 27, 58, 0.06);
  border-radius: 28px;
}

.extra-tools-head {
  margin-bottom: 18px;
}

.extra-tools-head .sub-title {
  margin-bottom: 10px;
}

.extra-tools-head .sec-desc {
  max-width: 760px;
  margin-bottom: 0;
}

.extra-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tool-card {
  background: #ffffff;
  border: 1px solid rgba(12, 27, 58, 0.08);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(12, 27, 58, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(12, 27, 58, 0.08);
}

.tool-card h4 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
}

.tool-card-desc {
  margin: 0 0 16px;
  color: rgba(12, 27, 58, 0.7);
  line-height: 1.6;
  font-size: 14px;
}

.simple-result {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8f6f0;
  border: 1px solid rgba(12, 27, 58, 0.08);
}

.simple-result[hidden],
.calc-result[hidden],
.period-tabs[hidden],
.calc-inline-error[hidden],
.simple-error[hidden] {
  display: none !important;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.link-card {
  background: var(--off-white);
  border-radius: 10px;
  padding: 28px 24px;
  border-top: 3px solid transparent;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-card:hover {
  background: var(--navy);
  border-top-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(11,34,64,0.15);
}

.link-card-icon {
  width: 28px;
  height: 28px;
  color: var(--navy);
  transition: color 0.3s;
}

.link-card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.link-card:hover .link-card-icon {
  color: var(--gold);
}

.link-card h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--navy);
  font-size: 20px;
  font-weight: 600;
  transition: color 0.3s;
}

.link-card:hover h3 {
  color: white;
}

.link-card p {
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.65;
  flex: 1;
  transition: color 0.3s;
}

.link-card:hover p {
  color: rgba(255,255,255,0.55);
}

.link-card a {
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: auto;
  transition: color 0.3s;
}

.link-card a::after {
  content: ' →';
}

.link-card:hover a {
  color: var(--gold);
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.download-item {
  background: var(--off-white);
  border-radius: 8px;
  padding: 20px 22px;
  border: 1.5px solid transparent;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s;
}

.download-item:hover {
  border-color: var(--gold);
  background: var(--white);
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(11,34,64,0.07);
}

.download-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--navy);
}

.download-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.download-info h4 {
  color: var(--navy);
  margin-bottom: 3px;
  font-size: 14px;
  font-weight: 600;
}

.download-info p {
  color: var(--text-light);
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 6px;
}

.download-info a {
  color: var(--gold);
  font-weight: 600;
  font-size: 12px;
}

.download-info a:hover {
  opacity: 0.75;
}

.compliance-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.compliance-summary-card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 24px;
  border: 1.5px solid #eae8e4;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.compliance-summary-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.compliance-summary-card:hover {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(11,34,64,0.1);
}

.compliance-summary-card:hover::after {
  transform: scaleX(1);
}

.cs-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.compliance-summary-card h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--navy);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.compliance-summary-card p {
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.compliance-summary-card a,
.compliance-summary-card a:link,
.compliance-summary-card a:visited {
  display: inline-block;
  background: var(--navy);
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.compliance-summary-card a:hover,
.compliance-summary-card a:active {
  background: var(--gold);
  color: var(--navy-deep) !important;
}

.gov-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gov-link-card {
  background: var(--white);
  border-radius: 12px;
  padding: 22px 18px;
  border: 1.5px solid #e7e1d7;
  text-align: center;
  transition: all 0.3s;
}

.gov-link-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(11,34,64,0.08);
}

.gov-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin: 0 auto 12px;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.gov-link-card h4 {
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
}

.gov-link-card p {
  color: var(--text-mid);
  font-size: 12px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.gov-link-card a,
.gov-link-card a:link,
.gov-link-card a:visited {
  display: inline-block;
  background: var(--navy);
  color: #ffffff !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.gov-link-card a:hover,
.gov-link-card a:active {
  background: var(--gold);
  color: var(--navy-deep) !important;
}

.disclaimer-box {
  background: rgba(11,34,64,0.04);
  border: 1px solid rgba(11,34,64,0.1);
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 40px;
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.8;
}

.disclaimer-box strong {
  color: var(--navy);
  font-weight: 600;
}

.cta-inner {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px;
  font-weight: 600;
  color: white;
  line-height: 1.1;
  margin-bottom: 16px;
}

.cta-title em {
  font-style: italic;
  color: var(--gold);
}

.cta-desc {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  max-width: 400px;
}

.cta-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all 0.3s;
}

.cta-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(201,168,76,0.3);
  transform: translateX(4px);
}

.cta-card-icon {
  font-size: 26px;
  flex-shrink: 0;
}

.cta-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-bottom: 2px;
}

.cta-card-detail {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.cta-card-btn {
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 40px;
  padding: 0 16px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-gold-sm {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-gold-sm:hover {
  background: var(--gold-light);
}

.btn-subtle {
  background: rgba(255,255,255,0.07);
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-subtle:hover {
  background: rgba(255,255,255,0.13);
}

.btn-wa {
  background: #25D366;
  color: white;
}

.btn-wa:hover {
  background: #1ebe5d;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: white;
  line-height: 1.2;
}

.footer-brand-name span {
  color: var(--gold);
}

#chat-toggle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy);
  border: 2.5px solid var(--gold);
  color: white;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(11,34,64,0.4);
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

#chat-toggle:hover {
  transform: scale(1.08);
}

@media (max-width: 1180px) {
  .gov-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .calc-layout-refined {
    grid-template-columns: 1fr;
  }

  .calc-form-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 80px 0;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .rates-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-right {
    display: none;
  }
}

@media (max-width: 900px) {
  .links-grid,
  .downloads-grid,
  .deductions-grid,
  .compliance-summary-grid,
  .gov-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 54px 0 44px;
    min-height: auto;
  }

  .hero-inner,
  .section-inner,
  .cta-inner {
    width: min(100%, calc(100% - 24px));
  }

  .hero-eyebrow {
    margin-bottom: 16px;
  }

  .hero-eyebrow-text {
    font-size: 10px;
    letter-spacing: 2.2px;
  }

  .hero-title {
    font-size: 38px;
    margin-bottom: 12px;
  }

  .hero-tagline {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.68;
    margin-bottom: 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 20px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .hero-disclaimer {
    padding-top: 12px;
    font-size: 11px;
    line-height: 1.6;
  }

  .rsec {
    padding: 56px 0;
  }

  .sec-title {
    font-size: 36px;
  }

  .sec-desc {
    font-size: 14px;
    margin-bottom: 26px;
  }

  .rebates-grid,
  .thresholds-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .rebate-card,
  .threshold-card {
    padding: 18px 10px;
  }

  .rebate-card .amount,
  .threshold-card .amount {
    font-size: 24px;
  }

  .rebate-card h4,
  .threshold-card h4 {
    font-size: 9px;
    letter-spacing: 1.4px;
  }

  .rebate-card p {
    font-size: 10px;
  }

  .links-grid,
  .downloads-grid,
  .deductions-grid,
  .compliance-summary-grid,
  .gov-links-grid,
  .extra-tools-grid {
    grid-template-columns: 1fr;
  }

  .gov-link-card {
    padding: 18px 16px;
  }

  .calculator-card-refined,
  .extra-tools-wrap,
  .tool-card {
    padding: 18px;
  }

  .period-tabs {
    gap: 8px;
  }

  .period-tab {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }

  .calc-result-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .calc-result-row strong {
    white-space: normal;
    text-align: left;
  }

  .cta-inner {
    padding: 56px 0;
    gap: 24px;
  }

  .cta-card {
    padding: 16px 14px;
    gap: 12px;
  }

  .cta-card-btn {
    min-width: 88px;
    height: 36px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  #chat-box {
    width: 300px;
    height: 420px;
  }

  #chat-widget {
    right: 16px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 20px;
  }
}

@media (max-width: 520px) {
  .period-tab {
    flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 34px;
  }

  .sec-title {
    font-size: 30px;
  }

  .rebates-grid,
  .thresholds-grid {
    gap: 8px;
  }

  .rebate-card,
  .threshold-card {
    padding: 14px 8px;
  }

  .rebate-card .amount,
  .threshold-card .amount {
    font-size: 20px;
  }

  .rebate-card p {
    display: none;
  }
}