/* ==========================================================================
   ONSITE CARPET & FLOORING - MAIN STYLESHEET
   Brand Colors: #ea4335 (Vibrant Red) & #fbbc05 (Amber Gold)
   Designed for SEO, AEO, Maximum Conversion & Mobile Performance
   ========================================================================== */

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

:root {
  --primary-red: #eb4a32;
  --primary-red-hover: #d33822;
  --primary-gold: #fab408;
  --primary-gold-hover: #e5a403;
  
  --brand-gradient: #eb4a32;
  --brand-gradient-alt: #fab408;
  --brand-gradient-subtle: #fef7ee;
  --dark-gradient: #0f172a;

  --dark-bg: #0f172a;
  --dark-surface: #1e293b;
  --dark-surface-2: #334155;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #f8fafc;
  --text-subtle: #94a3b8;
  
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-subtle: #f1f5f9;
  
  --border-light: #e2e8f0;
  --border-focus: #eb4a32;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
  --shadow-brand: 0 8px 20px rgba(235, 74, 50, 0.3);
  --shadow-gold: 0 8px 20px rgba(250, 180, 8, 0.3);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --container-max: 1240px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color: var(--text-dark);
  background-color: var(--bg-white);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  padding-bottom: 70px; /* Space for mobile sticky CTA bar */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

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

a {
  color: var(--primary-red);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-red-hover);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.85rem;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

ul, ol {
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

li {
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   CONTAINER & LAYOUT UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-light);
}

.section-dark {
  background: var(--dark-bg);
  color: var(--text-light);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-light);
}

.section-dark p,
.section-dark li {
  color: var(--text-subtle);
}

.section-gradient {
  background: var(--brand-gradient-subtle);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-red);
  color: #ffffff;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.section-badge-light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--primary-gold);
  border: 1px solid rgba(250, 180, 8, 0.4);
}

.gradient-text {
  color: var(--primary-red);
  display: inline;
}

.hero .gradient-text,
.hero-title .gradient-text {
  color: var(--primary-gold);
}

.gold-text {
  color: var(--primary-gold);
}

/* ==========================================================================
   BUTTONS & CALL-TO-ACTION (ONLY CALL TRIGGERED)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-red);
  color: #ffffff !important;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  background: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(235, 74, 50, 0.4);
}

.btn-gold {
  background: var(--primary-gold);
  color: #0f172a !important;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: var(--primary-gold-hover);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: #ffffff;
  color: var(--text-dark) !important;
  border-color: #ffffff;
}

.btn-lg {
  font-size: 1.15rem;
  padding: 1.1rem 2.25rem;
}

.btn-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: inline-block;
  flex-shrink: 0;
}

/* Call Button Pulsing Animation */
.pulse-call {
  animation: callPulse 2s infinite;
}

@keyframes callPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(234, 67, 53, 0.6);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(234, 67, 53, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(234, 67, 53, 0);
  }
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */

.top-bar {
  background: var(--dark-bg);
  color: var(--text-light);
  font-size: 0.875rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-subtle);
}

.top-bar-item a {
  color: var(--primary-gold);
  font-weight: 700;
}

.top-bar-item a:hover {
  color: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-logo-img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.site-logo:hover .site-logo-img {
  transform: scale(1.03);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.25rem;
  text-decoration: none;
}

.footer-logo-img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.footer-logo:hover .footer-logo-img {
  transform: scale(1.03);
}

.logo-symbol {
  width: 46px;
  height: 46px;
  background: #0f172a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1.15;
  color: var(--text-dark);
}

.logo-tagline {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Nav Menu */
.nav-menu {
  display: none;
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-item {
    position: relative;
    margin: 0;
  }

  .nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 0.5rem 0.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition);
  }

  .nav-link:hover, .nav-link.active {
    color: var(--primary-red);
  }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    padding: 0.75rem 0;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
  }

  .nav-item:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  .dropdown-link {
    display: block;
    padding: 0.6rem 1.25rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
  }

  .dropdown-link:hover {
    background: var(--bg-subtle);
    color: var(--primary-red);
    padding-left: 1.5rem;
  }
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-cta-short {
  display: none;
}

@media (max-width: 991px) {
  .header-cta {
    gap: 0.5rem;
  }
  .header-cta .btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 767px) {
  .top-bar-info {
    display: none;
  }
  .top-bar .container {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .site-logo {
    gap: 0.4rem;
  }
  .site-logo-img {
    height: 44px;
    max-width: 175px;
  }
  .footer-logo-img {
    height: 44px;
    max-width: 175px;
  }
  .logo-symbol {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }
  .logo-title {
    font-size: 1.05rem;
  }
  .logo-tagline {
    font-size: 0.62rem;
  }
  .header-cta .btn {
    padding: 0.4rem 0.65rem;
    font-size: 0.78rem;
    gap: 0.3rem;
  }
  .header-cta-full {
    display: none;
  }
  .header-cta-short {
    display: inline;
  }
  .top-bar-info {
    display: none;
  }
  .top-bar .container {
    justify-content: center;
    text-align: center;
  }
  .cta-phone-display {
    font-size: 1.25rem;
    padding: 0.75rem 1.25rem;
    max-width: 100%;
    word-break: break-word;
  }
  .cta-banner {
    padding: 2.25rem 1rem;
  }
  .cta-banner-title {
    font-size: 1.5rem;
  }
  .hero-title {
    font-size: 1.85rem;
  }
}

@media (max-width: 380px) {
  .header-cta .btn .header-cta-short {
    display: none;
  }
  .header-cta .btn {
    padding: 0.45rem;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    min-width: 36px;
    justify-content: center;
  }
  .header-cta .btn .btn-icon {
    font-size: 1rem;
    margin: 0;
  }
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.mobile-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

@media (min-width: 992px) {
  .mobile-toggle {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: #ffffff;
  z-index: 1100;
  padding: 2rem 1.5rem;
  box-shadow: -5px 0 25px rgba(0,0,0,0.2);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 1050;
  display: none;
}

.drawer-overlay.open {
  display: block;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--text-dark);
}

.drawer-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.drawer-item {
  margin-bottom: 1rem;
}

.drawer-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  display: block;
  padding: 0.5rem 0;
}

.drawer-submenu {
  list-style: none;
  padding-left: 1rem;
  margin: 0.5rem 0 1rem 0;
  border-left: 2px solid var(--primary-gold);
}

.drawer-submenu a {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: block;
  padding: 0.35rem 0;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  padding: 4.5rem 0 5rem 0;
  background: #0f172a;
  color: #ffffff;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-grid > * {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  max-width: 100%;
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(251, 188, 5, 0.4);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-gold);
}

.hero-title {
  color: #ffffff;
  font-size: 2.35rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.7;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  max-width: 100%;
}

.hero-actions .btn {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (min-width: 576px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }
}

.hero-callout-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  position: relative;
  overflow: hidden;
}

.hero-callout-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gold);
}

.hero-features-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.hero-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
}

.check-icon {
  width: 20px;
  height: 20px;
  background: var(--primary-gold);
  color: #0f172a;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.hero-image-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.hero-image-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(250, 180, 8, 0.45);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero-image-badge-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.hero-image-badge-text small {
  display: block;
  color: var(--primary-gold);
  font-size: 0.75rem;
  font-weight: 600;
}

.hero-image-badge .badge-cta {
  background: var(--primary-red);
  color: #ffffff;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}

.hero-image-badge .badge-cta:hover {
  background: var(--primary-red-hover);
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .hero-image-card img {
    height: 320px;
  }
}

@media (max-width: 576px) {
  .hero-image-card img {
    height: 250px;
  }
  .hero-image-badge {
    position: static;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 0.75rem 1rem;
  }
}

/* Feature Showcase Images in Sections */
.showcase-image-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
  margin: 3rem 0;
}

@media (min-width: 992px) {
  .showcase-image-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
  .showcase-image-grid.reverse {
    direction: rtl;
  }
  .showcase-image-grid.reverse > * {
    direction: ltr;
  }
}

.showcase-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  position: relative;
  background: var(--bg-subtle);
}

.showcase-img-wrap img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.showcase-img-wrap:hover img {
  transform: scale(1.02);
}

/* Trust Badges Strip */
.trust-strip {
  background: #ffffff;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-gradient-subtle);
  border: 1px solid rgba(234, 67, 53, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.trust-text-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.2;
}

.trust-text-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */

.card-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  min-width: 0;
}

@media (min-width: 768px) {
  .card-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card-grid-2 > * {
  min-width: 0;
  max-width: 100%;
}

.card-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 576px) {
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(234, 67, 53, 0.4);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary-red);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-brand);
}

.card-icon-gold {
  background: var(--primary-gold);
  color: #0f172a;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.card-link {
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary-red);
}

.card-link:hover {
  gap: 0.7rem;
}

/* ==========================================================================
   PROCESS / STEP-BY-STEP SECTION
   ========================================================================== */

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-step {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-light);
  position: relative;
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-gold);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 24px;
  background: var(--primary-red);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.step-title {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

/* ==========================================================================
   COMPARISON TABLE / DATA DISPLAY
   ========================================================================== */

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  background: #ffffff;
  margin: 2rem 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
  background: var(--dark-bg);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:nth-child(even) {
  background-color: var(--bg-light);
}

.comparison-table tr:hover {
  background-color: var(--brand-gradient-subtle);
}

.table-highlight {
  color: var(--primary-red);
  font-weight: 700;
}

/* ==========================================================================
   FAQ ACCORDION (AEO OPTIMIZED)
   ========================================================================== */

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary-red);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.active .faq-toggle-icon {
  background: var(--primary-red);
  color: #ffffff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}

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

/* ==========================================================================
   CALL-TO-ACTION BANNER (PHONE ONLY)
   ========================================================================== */

.cta-banner {
  background: #0f172a;
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--primary-gold);
}

.cta-banner-title {
  color: #ffffff;
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.cta-banner-desc {
  color: #cbd5e1;
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

.cta-phone-display {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 900;
  color: #ffffff;
  background: var(--primary-red);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-brand);
  text-decoration: none;
  transition: var(--transition);
}

.cta-phone-display:hover {
  transform: scale(1.04);
  color: #ffffff;
  background: var(--primary-red-hover);
  box-shadow: 0 12px 30px rgba(235, 74, 50, 0.4);
}

/* ==========================================================================
   INTERLINKING DIRECTORIES (SERVICES & AREAS)
   ========================================================================== */

.interlink-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.interlink-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.interlink-card:hover {
  background: var(--brand-gradient-subtle);
  border-color: var(--primary-red);
  color: var(--primary-red);
  transform: translateX(4px);
}

.interlink-icon {
  color: var(--primary-gold);
  font-size: 1rem;
}

/* Breadcrumb */
.breadcrumb-nav {
  padding: 1rem 0;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--text-muted);
}

.breadcrumb-item a {
  color: var(--text-muted);
}

.breadcrumb-item a:hover {
  color: var(--primary-red);
}

.breadcrumb-item.active {
  color: var(--primary-red);
  font-weight: 600;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--dark-bg);
  color: #94a3b8;
  padding: 4.5rem 0 2.5rem 0;
  border-top: 3px solid var(--primary-red);
  position: relative;
  overflow: hidden;
}

.site-footer a {
  color: #cbd5e1;
  transition: var(--transition);
}

.site-footer a:hover {
  color: var(--primary-gold);
}

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

@media (min-width: 640px) and (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 2.5rem;
  }
}

.footer-about {
  display: flex;
  flex-direction: column;
}

.footer-about p {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.25rem;
  text-decoration: none;
}

.footer-logo-img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.footer-logo:hover .footer-logo-img {
  transform: scale(1.03);
}

.site-footer h3,
.site-footer h4 {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(250, 180, 8, 0.35);
  display: inline-block;
}

.site-footer h3 a {
  color: #ffffff !important;
}

.site-footer h3 a:hover {
  color: var(--primary-gold) !important;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

.footer-phone-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary-red);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-brand);
  text-decoration: none;
  transition: var(--transition);
  margin-top: 0.35rem;
  white-space: nowrap;
}

.footer-phone-cta:hover {
  background: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(235, 74, 50, 0.45);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #cbd5e1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
  padding: 0.15rem 0;
}

.footer-links a:hover {
  color: var(--primary-gold);
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-bottom p {
  margin: 0;
  line-height: 1.7;
}

.footer-bottom a {
  color: #cbd5e1;
  text-decoration: underline;
  margin: 0 0.35rem;
}

.footer-bottom a:hover {
  color: var(--primary-gold);
}

.footer-disclaimer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 991px) {
  .site-footer {
    padding: 3.5rem 0 5.5rem 0;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding: 3rem 0 5.5rem 0;
  }
  .site-footer h3,
  .site-footer h4 {
    margin-bottom: 0.85rem;
    font-size: 1.05rem;
  }
  .footer-links li {
    margin-bottom: 0.7rem;
  }
  .footer-links a {
    font-size: 0.92rem;
  }
  .footer-about {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.5rem;
  }
  .footer-bottom {
    font-size: 0.82rem;
    padding-top: 1.5rem;
  }
}

@media (max-width: 480px) {
  .footer-logo-img {
    height: 44px;
    max-width: 175px;
  }
  .footer-phone-cta {
    width: 100%;
  }
  .footer-bottom a {
    display: inline-block;
    margin: 0.15rem 0.35rem;
  }
}

/* ==========================================================================
   STICKY MOBILE CALL BAR (MANDATORY CTR)
   ========================================================================== */

.mobile-sticky-call {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(12px);
  padding: 0.6rem 1rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 2px solid var(--primary-gold);
}

@media (min-width: 992px) {
  .mobile-sticky-call {
    display: none;
  }
}

.mobile-sticky-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 1;
  min-width: 0;
}

.mobile-sticky-label {
  font-size: 0.68rem;
  color: var(--primary-gold);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.mobile-sticky-loc {
  font-size: 0.82rem;
  color: #ffffff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-sticky-btn {
  flex-shrink: 0;
  background: var(--primary-red);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-shadow: var(--shadow-brand);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}

.mobile-sticky-btn:hover,
.mobile-sticky-btn:active {
  background: var(--primary-red-hover);
  transform: scale(1.02);
}

.sticky-call-short {
  display: none;
}

@media (max-width: 480px) {
  .mobile-sticky-call {
    padding: 0.5rem 0.75rem;
    gap: 0.45rem;
  }
  .mobile-sticky-label {
    font-size: 0.62rem;
  }
  .mobile-sticky-loc {
    font-size: 0.75rem;
  }
  .mobile-sticky-btn {
    font-size: 0.85rem;
    padding: 0.55rem 0.85rem;
    gap: 0.35rem;
  }
}

@media (max-width: 380px) {
  .mobile-sticky-call {
    padding: 0.45rem 0.5rem;
    gap: 0.35rem;
  }
  .mobile-sticky-info {
    max-width: 125px;
  }
  .mobile-sticky-label {
    font-size: 0.58rem;
  }
  .mobile-sticky-loc {
    font-size: 0.68rem;
  }
  .mobile-sticky-btn {
    font-size: 0.82rem;
    padding: 0.5rem 0.75rem;
  }
  .sticky-call-full {
    display: none;
  }
  .sticky-call-short {
    display: inline;
  }
}

/* Content Typography Enhancement for 2,000+ words readability */
.content-body {
  width: 100%;
  max-width: 920px;
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  font-size: 1.08rem;
  line-height: 1.8;
  color: #334155;
  margin: 0 auto;
}

.content-body h2 {
  margin-top: 2.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(234, 67, 53, 0.15);
}

.content-body h3 {
  margin-top: 1.75rem;
}

.content-body ul, .content-body ol {
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.content-highlight-box {
  background: var(--brand-gradient-subtle);
  border-left: 4px solid var(--primary-red);
  padding: 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
}

.badge-tag {
  display: inline-block;
  background: #fee2e2;
  color: var(--primary-red);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-right: 0.5rem;
}

/* ==========================================================================
   BLOG & EDITORIAL GUIDE STYLES
   ========================================================================== */
.blog-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
  color: var(--text-muted);
}
.blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.blog-meta-item strong {
  color: var(--text-dark);
}

.blog-key-takeaways {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 5px solid var(--primary-gold);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  margin: 2rem 0 2.5rem 0;
  box-shadow: var(--shadow-sm);
}
.blog-key-takeaways h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.blog-key-takeaways ul {
  margin: 0;
  padding-left: 1.25rem;
}
.blog-key-takeaways li {
  margin-bottom: 0.6rem;
  font-size: 1rem;
  line-height: 1.6;
}

.species-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
  min-width: 0;
}
@media (min-width: 768px) {
  .species-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.species-grid > * {
  min-width: 0;
  max-width: 100%;
}
.species-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}
.species-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(235, 74, 50, 0.3);
}
.species-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}
.species-title {
  font-size: 1.35rem;
  margin: 0;
  color: var(--text-dark);
}
.janka-badge {
  background: #f1f5f9;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid #cbd5e1;
  white-space: nowrap;
}
.species-meta-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1rem 0;
  font-size: 0.95rem;
}
.species-meta-list li {
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.5rem;
}
.species-meta-list strong {
  min-width: 140px;
  color: var(--text-dark);
}

.comparison-table-wrapper {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2.5rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  background: #ffffff;
  display: block;
  box-sizing: border-box;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}
.comparison-table th {
  background: #0f172a;
  color: #ffffff;
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.comparison-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}
.comparison-table tr:nth-child(even) {
  background: #f8fafc;
}
.comparison-table tr:hover {
  background: #f1f5f9;
}

.climate-callout {
  background: #fff7ed;
  border-left: 5px solid #f97316;
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
}
.climate-callout h4 {
  color: #9a3412;
  margin: 0 0 0.5rem 0;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.climate-callout p {
  margin: 0;
  color: #7c2d12;
  font-size: 0.98rem;
  line-height: 1.65;
}

.faq-block {
  margin: 2.5rem 0;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.faq-item:hover {
  border-color: var(--primary-gold);
}
.faq-item h3 {
  color: var(--text-dark);
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.faq-item h3 span.q-icon {
  color: var(--primary-red);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1;
}
.faq-item p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  font-size: 1rem;
}

.author-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin: 3rem 0;
}
.author-avatar {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
  border: 2px solid var(--primary-gold);
}
.author-info h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1.15rem;
  color: var(--text-dark);
}
.author-info .author-title {
  color: var(--primary-red);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  display: block;
}
.author-info p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   BLOG MOBILE VIEW & RESPONSIVE ENHANCEMENTS
   ========================================================================== */

.table-scroll-hint {
  display: none;
}

.blog-related-box {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin: 3rem 0;
  border: 1px solid var(--border-light);
}

/* Blog Hub Featured Article */
.blog-featured-article {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 3.5rem;
}
.blog-featured-grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .blog-featured-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.blog-featured-media {
  position: relative;
  min-height: 280px;
}
.blog-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-featured-content {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-featured-title {
  font-size: 1.6rem;
  line-height: 1.3;
  margin: 0 0 1rem 0;
}

#blog-hero {
  padding: 3.5rem 0 4rem 0;
  overflow: hidden;
}
#blog-hero .hero-title {
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  line-height: 1.25;
  overflow-wrap: break-word;
  word-break: break-word;
}
#blog-hero .hero-desc {
  max-width: 650px;
  overflow-wrap: break-word;
  word-break: break-word;
}
#blog-hero .hero-actions .btn {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.35;
}
.hero-cta-short {
  display: none;
}
@media (max-width: 480px) {
  .hero-cta-full {
    display: none;
  }
  .hero-cta-short {
    display: inline;
  }
}
#blog-hub-hero {
  padding: 3.5rem 0 3rem 0;
}

@media (max-width: 767px) {

  /* Blog Hero Section */
  #blog-hero {
    padding: 2.25rem 0 2.5rem 0 !important;
  }
  #blog-hero .hero-grid {
    gap: 1.75rem;
    grid-template-columns: 100%;
    min-width: 0;
  }
  #blog-hero .hero-title {
    font-size: clamp(1.5rem, 5.8vw, 2.15rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 0.85rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  #blog-hero .hero-desc {
    font-size: clamp(0.92rem, 2.8vw, 1.05rem) !important;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  #blog-hero .hero-badge-wrap {
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    max-width: 100%;
  }
  #blog-hero .hero-badge-wrap .section-badge,
  #blog-hero .hero-badge-wrap .badge-tag {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    white-space: normal;
    line-height: 1.3;
    max-width: 100%;
  }
  #blog-hero .hero-actions {
    width: 100%;
    margin-bottom: 1rem;
    max-width: 100%;
  }
  #blog-hero .hero-actions .btn {
    width: 100%;
    max-width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  #blog-hero .hero-image-card img {
    height: 220px;
    object-fit: cover;
  }
  #blog-hero .hero-image-badge {
    position: static;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 0.75rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  #blog-hero .hero-image-badge .badge-cta {
    align-self: flex-start;
  }

  /* Breadcrumbs */
  .breadcrumb-nav {
    padding: 0.65rem 0;
    font-size: 0.82rem;
  }
  .breadcrumb-list {
    gap: 0.35rem;
  }

  /* Editorial Meta Bar */
  .blog-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    margin-bottom: 1.75rem;
    font-size: 0.88rem;
  }
  .blog-meta-item {
    width: 100%;
    font-size: 0.88rem;
  }

  /* Key Takeaways Box */
  .blog-key-takeaways {
    padding: 1.25rem 1rem;
    margin: 1.5rem 0 2rem 0;
    border-left-width: 4px;
  }
  .blog-key-takeaways h3 {
    font-size: 1.15rem;
  }
  .blog-key-takeaways ul {
    padding-left: 1.15rem;
  }
  .blog-key-takeaways li {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 0.5rem;
  }

  /* Content Typography & Headings */
  .content-body {
    font-size: 1rem;
    line-height: 1.7;
  }
  .content-body h2 {
    font-size: 1.35rem;
    line-height: 1.3;
    margin-top: 2rem;
    padding-bottom: 0.4rem;
  }
  .content-body h3 {
    font-size: 1.15rem;
    margin-top: 1.35rem;
  }
  .content-body ul,
  .content-body ol {
    padding-left: 1.25rem;
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
  }
  .content-body li {
    margin-bottom: 0.5rem;
    font-size: 0.98rem;
    line-height: 1.65;
  }
  .content-highlight-box {
    padding: 1.15rem 1rem;
    margin: 1.5rem 0;
  }

  /* Species Cards on Mobile */
  .species-card {
    padding: 1.25rem 1rem;
  }
  .species-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.65rem;
  }
  .species-title {
    font-size: 1.18rem;
    line-height: 1.3;
  }
  .janka-badge {
    align-self: flex-start;
    font-size: 0.78rem;
    padding: 0.25rem 0.65rem;
  }
  .species-meta-list {
    margin: 0.65rem 0 0.85rem 0;
  }
  .species-meta-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    margin-bottom: 0.65rem;
    font-size: 0.92rem;
    line-height: 1.55;
  }
  .species-meta-list strong {
    min-width: auto;
    font-size: 0.88rem;
    color: var(--primary-red);
  }

  /* Comparison Table Mobile Swipe & Responsive */
  .table-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px dashed #93c5fd;
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
  }
  .comparison-table-wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0.5rem 0 2rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    display: block;
    box-sizing: border-box;
  }
  .comparison-table {
    min-width: 680px;
    font-size: 0.88rem;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem 0.85rem;
  }
  .comparison-table th {
    font-size: 0.82rem;
    white-space: nowrap;
  }

  /* Climate Callout */
  .climate-callout {
    padding: 1.15rem 1rem;
    margin: 1.5rem 0;
  }
  .climate-callout h4 {
    font-size: 1.05rem;
  }
  .climate-callout p {
    font-size: 0.92rem;
  }

  /* FAQ Items on Mobile */
  .faq-block {
    margin: 1.5rem 0;
  }
  .faq-item {
    padding: 1.15rem 1rem;
    margin-bottom: 1rem;
  }
  .faq-item h3 {
    font-size: 1.05rem;
    gap: 0.45rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
  }
  .faq-item p {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  /* Author Card on Mobile */
  .author-card {
    flex-direction: column;
    text-align: center;
    padding: 1.35rem 1rem;
    gap: 0.85rem;
    margin: 2.25rem 0;
  }
  .author-avatar {
    width: 65px;
    height: 65px;
    font-size: 1.8rem;
    margin: 0 auto;
  }
  .author-info h4 {
    font-size: 1.1rem;
  }
  .author-info .author-title {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }
  .author-info p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* Related Box on Mobile */
  .blog-related-box {
    padding: 1.25rem 1rem;
    margin: 2rem 0;
  }

  /* CTA Banner on Mobile */
  .cta-banner {
    padding: 2.25rem 1.15rem;
  }
  .cta-banner-title {
    font-size: 1.45rem;
    line-height: 1.25;
  }
  .cta-banner-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  .cta-phone-display {
    font-size: 1.15rem;
    padding: 0.75rem 1.25rem;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* Blog Hub (blog.php) Mobile Adjustments */
  #blog-hub-hero {
    padding: 2.25rem 0 2rem 0 !important;
  }
  #blog-hub-hero .hero-title {
    font-size: clamp(1.65rem, 6.2vw, 2.15rem) !important;
  }
  #blog-hub-hero .hero-desc {
    font-size: 0.98rem !important;
  }
}

@media (max-width: 480px) {
  #blog-hero .hero-title {
    font-size: 1.6rem !important;
  }
  .species-title {
    font-size: 1.1rem;
  }
  .cta-phone-display {
    font-size: 1.05rem;
    padding: 0.7rem 1rem;
  }
}


