/* cat-structure2.css - Cat Structure Page Specific Styles */
/* Import global styles first in your HTML */

/* Cat Structure Page Color Variables - Using same palette as dog-skin but scoped */
:root {
    --catstructure-olive: #2C7A7B;
    --catstructure-teal: #2f8f83;
    --catstructure-forest: #0f3d2e;
    --catstructure-dark: #1f2937;
    --catstructure-beige: #f1e8d2;
    --catstructure-rust: #a9471c;
    --catstructure-bg-page: linear-gradient(180deg, #f8faf7 0%, #ffffff 100%);
  }
  
  /* HERO SECTION - FIXED FOR HEADER OVERLAP */
  .hero-section {
    padding-top: 8rem;    /* Increased to account for fixed header */
    padding-bottom: 5rem;
    background: var(--catstructure-bg-page);
    margin-top: 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
  }
  
  /* grid: single column mobile, two columns at lg */
  .hero-grid { 
    display: grid; 
    gap: 3rem; 
    align-items: center; 
    grid-template-columns: 1fr;
    width: 100%;
  }
  
  @media (min-width: 1024px) {
    .hero-grid { 
      grid-template-columns: 1fr 1fr; 
      gap: 3rem;
    }
  }
  
  /* fade-in-up animation */
  .fade-in-up { 
    animation: catStructureFadeInUp 0.6s ease both; 
  }
  
  @keyframes catStructureFadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* left column - copy */
  .hero-copy { 
    max-width: 720px;
    margin-top: 0;
  }
  
  /* Badge styles for cat structure page */
  .catstructure-badge { 
    display: inline-flex; 
    align-items: center; 
    gap: 0.5rem; 
    border-radius: 6px; 
    padding: 0.125rem 0.5rem; 
    font-size: 0.75rem; 
    font-weight: 600; 
  }
  
  .catstructure-badge-intro { 
    background: var(--catstructure-olive); 
    color: #fff; 
    border: 1px solid transparent; 
    margin-bottom: 1.5rem; 
  }
  
  .catstructure-badge-small { 
    background: var(--catstructure-olive); 
    color: #fff; 
    border: 1px solid transparent; 
    margin-top: 1rem; 
  }
  
  /* hero title & lead */
  .hero-title {
    font-size: 2.25rem;
    line-height: 1.03;
    font-weight: 800;
    color: var(--catstructure-forest);
    margin-bottom: 1.25rem;
    margin-top: 0;
  }
  
  @media (min-width: 768px) {
    .hero-title { 
      font-size: 3.75rem;
    }
  }
  
  @media (max-width: 480px) {
    .hero-title { 
      font-size: 1.75rem; 
      line-height: 1.2;
    }
  }
  
  .hero-lead {
    font-size: 1.125rem;
    color: var(--catstructure-dark);
    margin-bottom: 2rem;
    line-height: 1.65;
  }
  
  /* CTA group */
  .cta-group { 
    display: flex; 
    flex-direction: column; 
    gap: 0.75rem; 
  }
  
  @media (min-width: 640px) { 
    .cta-group { 
      flex-direction: row; 
    } 
  }
  
  /* Cat Structure specific buttons - only override what's needed */
  .hero-section .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.6rem 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .hero-section .btn svg { 
    margin-left: 0.4rem; 
  }
  
  .hero-section .btn-primary {
    background: var(--catstructure-olive);
    color: #fff;
  }
  
  .hero-section .btn-primary:hover { 
    opacity: 0.94;
    transform: translateY(-2px);
  }
  
  .hero-section .btn-outline {
    background: transparent;
    border: 1px solid var(--catstructure-teal);
    color: var(--catstructure-teal);
  }
  
  .hero-section .btn-outline:hover {
    background: var(--catstructure-teal);
    color: #fff;
    transform: translateY(-2px);
  }
  
  /* Right column panel */
  .hero-panel { 
    display: flex; 
    justify-content: center;
    margin-top: 0;
  }
  
  .panel-outer {
    width: 100%;
    max-width: 420px;
    border-radius: 28px;
    padding: 2rem;
    background: linear-gradient(135deg, var(--catstructure-teal) 0%, var(--catstructure-olive) 100%);
    box-shadow: 0 20px 40px rgba(14, 16, 18, 0.12);
  }
  
  .panel-inner {
    background: #fff;
    padding: 1.5rem;
    border-radius: 18px;
    text-align: center;
  }
  
  .panel-circle {
    width: 128px; 
    height: 128px; 
    margin: 0 auto 1rem; 
    border-radius: 50%;
    background: var(--catstructure-beige);
    display: flex; 
    align-items: center; 
    justify-content: center;
  }
  
  .icon-bone-large { 
    width: 64px; 
    height: 64px; 
    color: var(--catstructure-rust); 
  }
  
  .panel-title { 
    font-size: 1.25rem; 
    font-weight: 700; 
    color: var(--catstructure-forest); 
    margin-bottom: 0.5rem; 
  }
  
  .panel-sub { 
    color: var(--catstructure-dark); 
  }
  
  @media (max-width: 480px) {
    .panel-outer { 
      padding: 1.25rem; 
    }
    
    .hero-section {
      padding-top: 7rem;
      min-height: auto;
    }
    
    .hero-lead {
      font-size: 1rem;
    }
  }
  
  /* Extra small devices */
  @media (max-width: 360px) {
    .hero-section {
      padding-top: 6rem;
    }
    
    .hero-title {
      font-size: 1.5rem;
    }
    
    .cta-group {
      flex-direction: column;
    }
    
    .hero-section .btn {
      width: 100%;
      justify-content: center;
    }
  }
  
  /* -------------------------
   Cat Structure Stats Section
   ------------------------- */
  
  .cat-structure-stats-section {
    padding: 4rem 0;
    background: var(--color-gray-50);
  }
  
  .stats-grid {
    display: grid;
    gap: 2rem;
    text-align: center;
    grid-template-columns: 1fr;
  }
  
  @media (min-width: 768px) {
    .stats-grid { 
      grid-template-columns: repeat(4, 1fr); 
    }
  }
  
  .stat-item { }
  
  .stat-value {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }
  
  .stat-value.rust { color: var(--catstructure-rust); }
  .stat-value.teal { color: var(--catstructure-teal); }
  .stat-value.olive { color: var(--catstructure-olive); }
  .stat-value.forest { color: var(--catstructure-forest); }
  
  .stat-text {
    color: var(--catstructure-dark);
    font-size: 1rem;
    line-height: 1.5;
  }
  
  /* -------------------------
   Cat Structure Issues Section
   ------------------------- */
  
  .cat-structure-issues {
    padding: 5rem 0;
  }
  
  .cat-structure-issues .section-header {
    text-align: center;
    margin-bottom: 4rem;
  }
  
  .cat-structure-issues .section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--catstructure-forest);
    margin-bottom: 1.5rem;
  }
  
  @media (min-width: 768px) {
    .cat-structure-issues .section-header h2 { 
      font-size: 3rem; 
    }
  }
  
  .cat-structure-issues .section-header p {
    font-size: 1.25rem;
    color: var(--catstructure-dark);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.6;
  }
  
  /* grid */
  .issues-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
  }
  
  @media (min-width: 768px) {
    .issues-grid { 
      grid-template-columns: repeat(2, 1fr); 
    }
  }
  
  @media (min-width: 1024px) {
    .issues-grid { 
      grid-template-columns: repeat(3, 1fr); 
    }
  }
  
  /* card */
  .issue-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease;
  }
  
  .issue-card:hover { 
    transform: translateY(-6px); 
  }
  
  .issue-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    margin-bottom: 1rem;
  }
  
  .issue-card h3 {
    color: var(--catstructure-forest);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 1.5rem;
  }
  
  .issue-card p {
    color: var(--catstructure-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 1.5rem;
  }
  
  /* icon colors */
  .catstructure-icon { 
    width: 2rem; 
    height: 2rem; 
  }
  
  .catstructure-icon.rust { color: var(--catstructure-rust); }
  .catstructure-icon.olive { color: var(--catstructure-olive); }
  .catstructure-icon.teal { color: var(--catstructure-teal); }
  
  /* badge styles */
  .catstructure-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
    color: #fff;
  }
  
  .catstructure-badge.high { background: var(--catstructure-olive); }
  .catstructure-badge.severe { background: var(--catstructure-rust); }
  .catstructure-badge.moderate { background: var(--catstructure-teal); }
  
  /* solution box */
  .solution-box {
    margin-top: 4rem;
    background: var(--catstructure-rust);
    color: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  .solution-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  
  .solution-box p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #fff;
  }
  
  /* -------------------------
   Cat Structure Ingredients Section
   ------------------------- */
  
  .cat-structure-ingredients {
    padding: 5rem 0;
    background: var(--color-gray-50);
  }
  
  .cat-structure-ingredients .section-header {
    text-align: center;
    margin-bottom: 4rem;
  }
  
  .cat-structure-ingredients .section-header .section-badge {
    display: inline-flex;
    align-items: center;
    background: var(--catstructure-olive);
    color: #fff;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
  }
  
  .cat-structure-ingredients .section-header .section-badge .catstructure-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
  }
  
  .cat-structure-ingredients .section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--catstructure-forest);
    margin-bottom: 1.5rem;
  }
  
  @media (min-width: 768px) {
    .cat-structure-ingredients .section-header h2 { 
      font-size: 3rem; 
    }
  }
  
  .cat-structure-ingredients .section-header p {
    font-size: 1.25rem;
    color: var(--catstructure-dark);
    max-width: 48rem;
    margin: 0 auto;
  }
  
  /* grid */
  .ingredients-grid {
    display: grid;
    gap: 3rem;
  }
  
  @media (min-width: 1024px) {
    .ingredients-grid { 
      grid-template-columns: repeat(2, 1fr); 
    }
  }
  
  /* card */
  .ingredient-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease;
  }
  
  .ingredient-card:hover { 
    transform: translateY(-6px); 
  }
  
  .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
  }
  
  .ingredient-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--catstructure-forest);
    margin: 0 1.5rem;
  }
  
  .ingredient-card .subtitle {
    margin: 0 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
  }
  
  .subtitle.teal { color: var(--catstructure-teal); }
  
  .card-body { 
    padding: 0 1.5rem; 
  }
  
  .card-body p { 
    margin-bottom: 1rem; 
    color: var(--catstructure-dark); 
    line-height: 1.6; 
  }
  
  /* highlights */
  .highlight {
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .highlight.beige { background: var(--catstructure-beige); }
  .highlight.white { background: #fff; }
  .teal-border { border-left: 4px solid var(--catstructure-teal); }
  
  .highlight h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--catstructure-forest);
    margin-bottom: 0.5rem;
  }
  
  .highlight p { 
    font-size: 0.85rem; 
  }
  
  /* check info */
  .card-check {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
  }
  
  .card-check.teal { color: var(--catstructure-teal); }
  
  /* endorsement box */
  .endorsement-box {
    margin-top: 4rem;
    background: linear-gradient(135deg, var(--catstructure-dark), var(--catstructure-forest));
    color: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
  }
  
  .endorsement-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
  }
  
  .endorsement-box p { 
    margin-bottom: 1rem; 
    color: rgba(255, 255, 255, 0.9);
  }
  
  .endorsement-box .author { 
    font-size: 0.9rem; 
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.8);
  }
  
  /* Cat Structure Protection Section */
  .cat-structure-protection-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1c3d32, #162b26);
    color: #fff;
    text-align: center;
  }
  
  .cat-structure-protection-section .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--catstructure-rust);
    color: #fff;
    border-radius: 8px;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
  }
  
  .cat-structure-protection-section .section-badge .catstructure-icon {
    width: 20px;
    height: 20px;
  }
  
  .cat-structure-protection-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff;
  }
  
  .cat-structure-protection-section .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
  }
  
  /* Benefits Row */
  .benefits-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
  }
  
  .benefit .catstructure-icon-lg {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
  }
  
  .cat-structure-protection-section .benefit h3 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #fff;
  }
  
  .cat-structure-protection-section .benefit p {
    font-size: 0.875rem;
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.8);
  }
  
  /* Formula List */
  .formula-box {
    background: rgba(169, 68, 54, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
  }
  
  .cat-structure-protection-section .formula-box h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
    color: #fff;
  }
  
  .formula-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .cat-structure-protection-section .formula-grid p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
  }
  
  /* CTA Buttons */
  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
  }
  
  @media (min-width: 640px) {
    .cta-buttons {
      flex-direction: row;
    }
  }
  
  .cat-structure-protection-section .btn {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .cat-structure-protection-section .btn.rust {
    background: var(--catstructure-rust);
    color: #fff;
    border: none;
  }
  
  .cat-structure-protection-section .btn.rust:hover {
    background: #8b372c;
  }
  
  .cat-structure-protection-section .btn.outline {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
  }
  
  .cat-structure-protection-section .btn.outline:hover {
    background: #fff;
    color: #1c3d32;
  }
  
  .cat-structure-protection-section .disclaimer {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
  }
  
  /* Fix for very small screens */
  @media (max-width: 360px) {
    .hero-section {
      padding-top: 5rem;
    }
    
    .cat-structure-protection-section,
    .cat-structure-ingredients,
    .cat-structure-issues {
      padding-left: 0.75rem;
      padding-right: 0.75rem;
    }
    
    .formula-grid {
      grid-template-columns: 1fr;
    }
  }