/* ==========================================================================
   TasteOfMason Wealth Journal - Luxury Obsidian & Gold Editorial Style System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Luxury Obsidian & Gold */
  --bg-obsidian: #0c0a09;
  --bg-surface: #18181b;
  --bg-surface-elevated: #27272a;
  --bg-card: rgba(24, 24, 27, 0.85);
  
  --gold-primary: #d97706;
  --gold-hover: #b45309;
  --gold-light: #f59e0b;
  --gold-accent: #fbbf24;
  --gold-glow: rgba(217, 119, 6, 0.25);
  --gold-gradient: linear-gradient(135deg, #fbbf24 0%, #d97706 50%, #92400e 100%);
  --gold-border: rgba(217, 119, 6, 0.3);
  --gold-border-glow: rgba(251, 191, 36, 0.4);

  --text-main: #f5f5f4;
  --text-secondary: #d6d3d1;
  --text-muted: #a8a29e;
  --text-gold: #f59e0b;

  --border-subtle: rgba(255, 255, 255, 0.08);
  
  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Layout & Spacing */
  --container-max: 1200px;
  --header-height: 80px;

  /* Effects */
  --shadow-gold: 0 10px 30px -10px rgba(217, 119, 6, 0.3);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.6);
  --glass-bg: rgba(12, 10, 9, 0.85);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-obsidian);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  background-color: var(--bg-obsidian);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(217, 119, 6, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(217, 119, 6, 0.03) 0%, transparent 50%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
  position: relative;
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.1vw, 1.125rem);
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--gold-accent);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.02em;
  min-height: 48px;
  min-width: 48px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--gold-primary);
}

.logo span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  position: relative;
  min-height: 48px;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
}

.mobile-only-action {
  display: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--gold-light);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--gold-accent);
}

.btn-contact-header {
  min-height: 48px;
  min-width: 48px;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.btn-contact-header:hover {
  background: rgba(217, 119, 6, 0.15);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 10px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
  stroke: var(--text-main);
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(217, 119, 6, 0.12);
  border: 1px solid var(--gold-border);
  border-radius: 30px;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.hero-tag svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.hero-title .gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(1.1rem, 1.3vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.meta-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold-primary);
}

.hero-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-card), 0 0 30px rgba(217, 119, 6, 0.15);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

.hero-image-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(12, 10, 9, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--gold-glow);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-accent);
  flex-shrink: 0;
}

.badge-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.badge-text strong {
  display: block;
  color: var(--text-main);
  font-size: 0.95rem;
}

/* Article & Content Layout */
.content-section {
  padding: 4rem 0;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
}

.article-body {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-card);
}

.article-chapter {
  margin-bottom: 3.5rem;
  position: relative;
}

.article-chapter:last-child {
  margin-bottom: 0;
}

.chapter-number {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
  display: block;
}

.editorial-quote {
  margin: 2.5rem 0;
  padding: 1.75rem 2rem;
  background: rgba(217, 119, 6, 0.06);
  border-left: 3px solid var(--gold-primary);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.7;
}

.editorial-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-style: normal;
  color: var(--gold-light);
  font-weight: 600;
}

/* Sidebar Widgets */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.widget {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.75rem;
}

.widget-title {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.widget-title svg {
  width: 20px;
  height: 20px;
  color: var(--gold-primary);
}

.stats-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stat-card {
  background: rgba(12, 10, 9, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1rem;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-accent);
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Interactive Calculator Widget */
.calculator-section {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  padding: clamp(1.75rem, 4vw, 3rem);
  margin: 4rem 0;
  box-shadow: var(--shadow-card), 0 0 35px rgba(217, 119, 6, 0.1);
  position: relative;
  overflow: hidden;
}

.calculator-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.input-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
}

.input-group label span {
  color: var(--gold-light);
  font-weight: 700;
}

.range-slider {
  width: 100%;
  height: 8px;
  background: var(--bg-surface-elevated);
  border-radius: 4px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-gradient);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.5);
  border: 2px solid #ffffff;
}

.calc-results {
  background: var(--bg-obsidian);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.result-card-main {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.result-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.result-amount {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--gold-accent);
}

.result-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.detail-item {
  background: var(--bg-surface);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.detail-val {
  font-weight: 700;
  color: var(--text-main);
  font-size: 1.1rem;
}

.detail-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* FAQ Accordion Section */
.faq-section {
  padding: 3rem 0;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: var(--gold-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.faq-question {
  width: 100%;
  min-height: 56px;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--gold-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* Legal Pages & Forms Styling */
.legal-container {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 5rem;
  max-width: 900px;
  margin: 0 auto;
}

.legal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: var(--shadow-card);
}

.legal-card h1 {
  border-bottom: 2px solid var(--gold-border);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.legal-card h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--gold-light);
}

.legal-card ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.legal-card li {
  margin-bottom: 0.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(12, 10, 9, 0.5);
  padding: 1.25rem;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--gold-glow);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-accent);
  flex-shrink: 0;
}

.contact-text h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.contact-text p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input, .form-textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

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

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.2);
}

.btn-submit {
  min-height: 50px;
  padding: 0.8rem 2rem;
  background: var(--gold-gradient);
  border: none;
  border-radius: 8px;
  color: #0c0a09;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px -5px rgba(217, 119, 6, 0.45);
}

/* Footer Section */
.footer {
  margin-top: auto;
  background-color: #070605;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 1rem;
  color: var(--text-muted);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
}

.toast {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  color: var(--text-main);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideIn 0.3s ease forwards;
}

.toast svg {
  color: var(--gold-accent);
}

@keyframes slideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .article-layout {
    grid-template-columns: 1fr;
  }
  
  .calculator-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  /* Header bar on mobile: ONLY Logo left, Toggle right. Hide header button */
  .nav-wrapper > .btn-contact-header {
    display: none !important;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-obsidian);
    flex-direction: column;
    padding: 2rem 1.5rem 3rem 1.5rem;
    gap: 0.75rem;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 1px solid var(--border-subtle);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-link {
    font-size: 1.15rem;
    width: 100%;
    justify-content: flex-start;
    min-height: 48px;
    min-width: 48px;
    padding: 0.75rem 1rem;
    border-radius: 8px;
  }

  .mobile-only-action {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
  }

  .mobile-menu-btn {
    display: inline-flex !important;
    width: 100%;
    min-height: 48px;
    min-width: 48px;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 2.5rem;
  }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .hero-image-badge {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 1rem;
    width: 100%;
    border-radius: 12px;
  }

  .content-section {
    padding: 2.5rem 0;
  }

  .article-body {
    padding: 1.5rem 1.25rem;
    border-radius: 14px;
  }

  .article-chapter {
    margin-bottom: 2.5rem;
  }

  .editorial-quote {
    padding: 1.25rem 1rem;
    margin: 1.5rem 0;
  }

  .sidebar {
    gap: 1.5rem;
  }

  .widget {
    padding: 1.25rem 1rem;
    border-radius: 14px;
  }

  .calculator-section {
    padding: 1.75rem 1.25rem;
    margin: 2.5rem 0;
    border-radius: 16px;
  }

  .calc-results {
    padding: 1.5rem 1.25rem;
  }

  .faq-section {
    padding: 2.5rem 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

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

/* 375px+ Mobile Optimization */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 7vw, 2.25rem);
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .article-body {
    padding: 1.25rem 1rem;
  }

  .editorial-quote {
    padding: 1rem;
    font-size: 1.05rem;
  }

  .calculator-section {
    padding: 1.25rem 1rem;
    border-radius: 14px;
  }

  .calc-results {
    padding: 1.25rem 1rem;
    border-radius: 12px;
  }

  .result-details {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .result-amount {
    font-size: clamp(1.6rem, 7.5vw, 2.2rem);
  }

  .input-group label {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .widget {
    padding: 1.25rem 1rem;
  }

  .legal-card {
    padding: 1.5rem 1rem;
  }

  .legal-card h1 {
    font-size: 1.75rem;
  }

  .contact-info-item {
    padding: 1rem;
  }
}
