/**
 * Aikya Fertility - Flexible Page Builder Styles
 * Complete responsive CSS for ACF-based page sections
 * Updated: All colour values replaced with design-token CSS variables
 *
 * FIX APPLIED (bottom of file):
 *   .slider-cards-section had overflow:hidden which clipped asc-* arrows.
 *   Added explicit overflow:visible override for .asc-section.
 */

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - Global Section Styles
2.0 - Hero Section
3.0 - Statistics Section
4.0 - Services/Treatments Grid
5.0 - Doctors Section
6.0 - Testimonials Section
7.0 - Content Section
8.0 - CTA Section
9.0 - FAQ Section
10.0 - Contact Form Section
11.0 - Responsive Design
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 - Global Section Styles
--------------------------------------------------------------*/
.section {
    padding: 4rem 0;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin: -0.5rem auto 3rem;
    max-width: 700px;
}

/* Background Colors */
.bg-white  { background-color: var(--color-pure-white); }
.bg-light  { background-color: var(--color-bg-soft); }
.bg-beige  { background-color: var(--color-red-light); }
.bg-teal   {
    background-color: var(--color-primary-teal);
    color: var(--color-pure-white);
}
.bg-teal .section-title,
.bg-teal * {
    color: var(--color-pure-white);
}

/*--------------------------------------------------------------
2.0 - Hero Section
--------------------------------------------------------------*/
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(11, 178, 178, 0.9) 0%,
        rgba(226, 92, 153, 0.85) 100%
    );
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-pure-white);
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--color-pure-white);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.95;
}

.hero-cta {
    margin-top: 2rem;
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in:nth-child(1) { animation-delay: 0.2s; }
.animate-fade-in:nth-child(2) { animation-delay: 0.4s; }
.animate-fade-in:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*--------------------------------------------------------------
3.0 - Statistics Section
--------------------------------------------------------------*/

.stats-bar .section-title {
    color: var(--color-pure-white);
}
.stats-bar {
  background: var(--gradient-dark);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(11, 178, 178, 0.12) 1px, transparent 0);
  background-size: 28px 28px;
}

.stats-bar__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-bar__item {
  text-align: center;
  padding: 1rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.stats-bar__item:last-child { border-right: none; }

/* ── Stats bar responsive ── */
@media (max-width: 768px) {
  .stats-bar { padding: 2.5rem 0; }
  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-bar__item {
    padding: 1.25rem 1rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .stats-bar__item:nth-child(2n) { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .stats-bar__item:nth-last-child(-n+2) { border-bottom: none; }
  .stats-bar__number { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .stats-bar__grid {
    grid-template-columns: 1fr;
  }
  .stats-bar__item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .stats-bar__item:last-child { border-bottom: none; }
  .stats-bar__number { font-size: 2rem; }
}

.stats-bar__icon {
  width: 52px; height: 52px;
  background: rgba(11, 178, 178, 0.12);
  border: 1px solid rgba(11, 178, 178, 0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--color-teal-light);
  font-size: 1.3rem;
}

.stats-bar__number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  display: block;
}
.stats-bar__number .suffix { color: var(--color-teal-light); }

.stats-bar__label {
  font-family: var(--font-button);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/*--------------------------------------------------------------
4.0 - Services/Treatments Grid
--------------------------------------------------------------*/
.treatments-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.treatments-grid-2 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
.treatments-grid-3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.treatments-grid-4 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.treatment-card {
    background: var(--color-pure-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.treatment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.treatment-image {
    overflow: hidden;
    height: 240px;
}

.treatment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.treatment-card:hover .treatment-image img {
    transform: scale(1.1);
}

.treatment-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.treatment-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.treatment-title a {
    color: var(--color-text-primary);
    text-decoration: none;
}

.treatment-title a:hover {
    color: var(--color-primary-teal);
}

.treatment-excerpt {
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.treatment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-gray-100);
    font-size: 0.9rem;
}

.treatment-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
}

.treatment-meta i {
    color: var(--color-primary-teal);
}

/*--------------------------------------------------------------
5.0 - Doctors Section
--------------------------------------------------------------*/
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.doctors-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    margin-top: 3rem;
}

.doctors-carousel .doctor-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
}

.doctor-card {
    background: var(--color-pure-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.doctor-image {
    overflow: hidden;
    height: 320px;
    background: var(--color-bg-soft);
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.05);
}

.doctor-info {
    padding: 1.5rem;
}

.doctor-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.doctor-designation {
    color: var(--color-primary-teal);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.doctor-qualification {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.doctor-experience {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.doctor-experience i {
    color: var(--color-primary-teal);
}

.doctor-specializations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.spec-tag {
    background: var(--color-bg-soft);
    color: var(--color-text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/*--------------------------------------------------------------
6.0 - Testimonials Section
--------------------------------------------------------------*/
.testimonials-section {
    background: var(--color-gray-100);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--color-pure-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
}

.quote-icon {
    color: var(--color-primary-teal);
    font-size: 3rem;
    opacity: 0.2;
    margin-bottom: 1rem;
}

.testimonial-content blockquote {
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 1rem;
    border-top: 2px solid var(--color-gray-100);
    margin-bottom: 1rem;
}

.testimonial-meta strong {
    color: var(--color-text-primary);
    font-size: 1.125rem;
}

.testimonial-meta span {
    color: var(--color-primary-teal);
    font-size: 0.9rem;
}

.read-story {
    color: var(--color-primary-teal);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap var(--transition-fast);
}

.read-story:hover {
    gap: 0.75rem;
}

/*--------------------------------------------------------------
7.0 - Content Section  |  Repeater Two-Column Split Per Row
--------------------------------------------------------------*/

.content-section {
    font-family: var(--font-body);
    background: var(--color-pure-white);
}

.content-section.bg-white { background: var(--color-pure-white); }
.content-section.bg-light { background: var(--color-bg-soft); }
.content-section.bg-muted { background: var(--color-bg-muted); }
.content-section.bg-teal  { background: var(--gradient-primary); }
.content-section.bg-dark  { background: var(--gradient-dark); }
.content-section.bg-warm  { background: var(--gradient-warm); }
.content-section.bg-beige  { background: var(--gradient-dark); }

.content-section__top {
    max-width: var(--container-max-width);
    margin-inline: auto;
    padding: var(--spacing-xxl) var(--container-padding) 0;
}

.content-section__eyebrow {
    display: inline-block;
    font-family: var(--font-button);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary-teal);
}

.bg-dark .content-section__eyebrow,
.bg-teal .content-section__eyebrow,
.bg-warm .content-section__eyebrow { color: rgba(255, 255, 255, 0.6); }

.content-section__rows {
    max-width: var(--container-max-width);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

.content-section__row {
    border-bottom: 1px solid var(--color-gray-200);
    padding-block: var(--spacing-xxl);
}

.content-section__row--first { padding-top: var(--spacing-xl); }
.content-section__row--last  {
    border-bottom: none;
    padding-bottom: var(--spacing-xxl);
}

.bg-dark .content-section__row,
.bg-teal .content-section__row { border-bottom-color: rgba(255, 255, 255, 0.1); }
.bg-warm .content-section__row { border-bottom-color: rgba(255, 255, 255, 0.15); }

.content-section__row-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: clamp(3rem, 8vw, 6rem);
    align-items: start;
}

.content-section__row-sticky {
    position: sticky;
    top: 5.5rem;
}

.content-section__row-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--color-pure-white);
    font-family: var(--font-button);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.bg-warm .content-section__row-num { background: rgba(255, 255, 255, 0.25); }

.content-section__row-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.2vw, 1.625rem);
    font-weight: 700;
    font-style: italic;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--color-pure-white);
    margin: 0 0 var(--spacing-md);
}

.bg-dark .content-section__row-heading,
.bg-teal .content-section__row-heading,
.bg-warm .content-section__row-heading { color: var(--color-pure-white); }

.content-section__row-rule {
    width: 2rem;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 9999px;
}

.bg-warm .content-section__row-rule { background: rgba(255, 255, 255, 0.4); }
.bg-dark .content-section__row-rule { background: var(--color-primary-teal); }

.content-section__row-content { color: var(--color-text-muted); }

.bg-dark .content-section__row-content,
.bg-teal .content-section__row-content,
.bg-warm .content-section__row-content { color: rgba(255, 255, 255, 0.8); }

.content-section__row-content > p:first-child {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    color: var(--color-pure-white);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.bg-dark .content-section__row-content > p:first-child,
.bg-teal .content-section__row-content > p:first-child,
.bg-warm .content-section__row-content > p:first-child { color: rgba(255, 255, 255, 0.9); }

.content-section__row-content p {
    font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
    line-height: 1.85;
    margin-bottom: var(--spacing-md);
}

.content-section__row-content p:last-child { margin-bottom: 0; }

.content-section__row-content h3,
.content-section__row-content h4 {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.3vw, 1.125rem);
    font-weight: 600;
    color: var(--color-text-primary);
    margin: var(--spacing-lg) 0 var(--spacing-xs);
    letter-spacing: -0.01em;
}

.bg-dark .content-section__row-content h3,
.bg-teal .content-section__row-content h3,
.bg-warm .content-section__row-content h3 { color: var(--color-pure-white); }

.content-section__row-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.content-section__row-content ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.875rem 1.125rem;
    background: var(--color-teal-subtle);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    color: var(--color-pure-white);
    line-height: 1.65;
    transition: var(--transition-fast);
}

.content-section__row-content ul li:hover {
    border-color: var(--color-primary-teal);
    box-shadow: var(--shadow-sm);
}

.content-section__row-content ul li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient-primary);
    margin-top: 0.55rem;
}

.bg-dark .content-section__row-content ul li,
.bg-teal .content-section__row-content ul li {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
}

.bg-warm .content-section__row-content ul li {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.content-section__row-content ol {
    padding-left: 1.25rem;
    margin-bottom: var(--spacing-md);
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.content-section__row-content ol li { margin-bottom: 0.5rem; }

.content-section__row-content ol li::marker {
    color: var(--color-primary-teal);
    font-weight: 600;
}

.content-section__row-content strong {
    font-weight: 600;
    color: var(--color-primary-teal);
}

.bg-dark .content-section__row-content strong,
.bg-teal .content-section__row-content strong,
.bg-warm .content-section__row-content strong { color: var(--color-pure-white); }

.content-section__row-content blockquote {
    border-left: 3px solid var(--color-primary-teal);
    margin: var(--spacing-md) 0;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 1.0625rem;
    font-style: italic;
    font-family: var(--font-heading);
    color: var(--color-text-secondary);
    line-height: 1.6;
    background: var(--color-teal-subtle);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

@media (max-width: 900px) {
    .content-section__row-inner {
        grid-template-columns: 220px 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .content-section__row-inner {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    .content-section__row-sticky { position: static; }
    .content-section__row { padding-block: var(--spacing-xl); }
}

/*--------------------------------------------------------------
8.0 - CTA Section
--------------------------------------------------------------*/
.cta-section {
    position: relative;
    padding: 5rem 0;
    background-size: cover;
    background-position-y: -96px;
    text-align: center;
    color: var(--color-pure-white);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(11, 178, 178, 0.95) 0%,
        rgba(226, 92, 153, 0.9) 100%
    );
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    color: var(--color-pure-white);
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/*--------------------------------------------------------------
9.0 - FAQ Section
--------------------------------------------------------------*/
.faq-accordion {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--color-pure-white);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    border: none;
    background: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-normal);
}

.faq-question:hover {
    background-color: var(--color-bg-soft);
}

.faq-question i {
    color: var(--color-primary-teal);
    transition: transform var(--transition-normal);
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 1000px;
}

.faq-answer > * {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/*--------------------------------------------------------------
10.0 - Contact Form Section
--------------------------------------------------------------*/
.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h2 {
    margin-bottom: 0.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary-teal);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal !important;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/*--------------------------------------------------------------
11.0 - Responsive Design
--------------------------------------------------------------*/
@media (max-width: 1024px) {
    .section { padding: 3rem 0; }
    .hero-section { min-height: 500px; }
    .stats-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2rem; }
    .treatments-grid-2,
    .treatments-grid-3,
    .treatments-grid-4 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

@media (max-width: 768px) {
    .section { padding: 2.5rem 0; }
    .hero-section { min-height: 450px; padding: 2rem 0; }
    .hero-title    { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .stat-number { font-size: 2.5rem; }
    .treatments-grid,
    .doctors-grid,
    .testimonials-slider { grid-template-columns: 1fr; }
    .treatment-card,
    .doctor-card,
    .testimonial-card { max-width: 100%; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .cta-section  { padding: 3rem 0; }
    .cta-title    { font-size: 1.75rem; }
    .cta-description { font-size: 1rem; }
}

@media (max-width: 480px) {
    .hero-section { min-height: 400px; }
    .stats-grid { grid-template-columns: 1fr; }
    .treatment-image,
    .doctor-image { height: 200px; }
    .btn { width: 100%; justify-content: center; }
}

@media print {
    .hero-section,
    .cta-section { background: none !important; }
    .hero-overlay,
    .cta-overlay { display: none; }
    .btn,
    .appointment-form { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   FLEXIBLE SECTIONS — GLOBAL
   ═══════════════════════════════════════════════════════════════════ */

.section-padding           { padding: 80px 0; }
.section-padding.padding-small  { padding: 40px 0; }
.section-padding.padding-medium { padding: 80px 0; }
.section-padding.padding-large  { padding: 120px 0; }

.section-header { margin-bottom: 50px; }

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.bg-white   { background-color: var(--color-pure-white); }
.bg-light   { background-color: var(--color-bg-soft); }
.bg-primary { background-color: var(--color-gray-50); }
.bg-dark    { background-color: var(--color-bg-dark); color: var(--color-pure-white); }

.bg-dark .section-title,
.bg-dark .content-title { color: var(--color-pure-white); }

.bg-dark .section-subtitle,
.bg-dark .content-subtitle { color: var(--color-text-light); }

/* ═══════════════════════════════════════════════════════════════════
   SLIDER CARDS SECTION (old .slider-* classes — legacy support)
   ═══════════════════════════════════════════════════════════════════ */

:root {
    --slider-card-bg:           var(--color-pure-white);
    --slider-card-shadow:       0 4px 15px rgba(0, 0, 0, 0.08);
    --slider-card-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --slider-arrow-bg:          var(--color-pure-white);
    --slider-arrow-color:       var(--color-gray-700);
    --slider-arrow-border:      var(--color-gray-200);
    --slider-dot-bg:            var(--color-gray-300);
    --slider-dot-active-bg:     var(--color-primary-teal);
}

.container-slider {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.slider-cards-section {
    position: relative;
    /*
     * FIX: was `overflow: hidden` — this clipped the asc-* slider arrows
     * which are positioned outside the inner .asc-outer container.
     * Changed to overflow: visible. The .asc-viewport inside handles
     * its own clip independently.
     */
    overflow: visible;
}

.slider-cards-wrapper {
    position: relative;
    padding: 0 60px;
}

.slider-cards-container {
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.slider-cards-container:active { cursor: grabbing; }

.slider-cards-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.slider-card {
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slider-card:hover { transform: translateY(-8px); }

.card-inner {
    height: 100%;
    background: var(--slider-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--slider-card-shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.slider-card:hover .card-inner {
    box-shadow: var(--slider-card-shadow-hover);
}

.slider-card .card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.card-image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.slider-card:hover .card-image img { transform: scale(1.05); }

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 36px;
    color: var(--color-pure-white);
    transition: transform 0.3s ease;
}

.slider-card:hover .card-icon { transform: rotate(360deg); }

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-text-primary);
    line-height: 1.3;
}

.card-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    flex: 1;
}

.card-link-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-primary-teal);
    font-size: 15px;
    transition: gap 0.3s ease;
    margin-top: auto;
}

.slider-card:hover .card-link-text { gap: 12px; }
.card-link-text i { transition: transform 0.3s ease; }
.slider-card:hover .card-link-text i { transform: translateX(4px); }

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--slider-arrow-bg);
    border: 2px solid var(--slider-arrow-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    color: var(--slider-arrow-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.slider-arrow:hover:not(:disabled) {
    background: var(--color-primary-teal);
    color: var(--color-pure-white);
    border-color: var(--color-primary-teal);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(11, 178, 178, 0.35);
}

.slider-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: var(--color-bg-soft);
}

.slider-arrow-prev { left: 0; }
.slider-arrow-next { right: 0; }

.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    padding: 20px 0;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--slider-dot-bg);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
}

.slider-dot:hover {
    background: var(--color-gray-400);
    transform: scale(1.2);
}

.slider-dot.active {
    background: var(--slider-dot-active-bg);
    width: 32px;
    border-radius: 6px;
}

.slider-dot.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: inherit;
    border: 2px solid var(--color-primary-teal);
    opacity: 0.3;
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50%       { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.slider-cards-container.loading {
    opacity: 0.5;
    pointer-events: none;
}

.slider-arrow:focus,
.slider-dot:focus {
    outline: 3px solid var(--color-primary-teal);
    outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════════
   ASC-* SLIDER OVERFLOW GUARD
   ─────────────────────────────────────────────────────────────────
   The new Aikya Slider Cards (asc-* prefix) have arrows positioned
   as direct children of .asc-section. Any ancestor overflow:hidden
   (including .slider-cards-section above) would clip them.
   These rules ensure .asc-section is ALWAYS overflow:visible,
   regardless of what other classes are applied to the same element.
   ═══════════════════════════════════════════════════════════════════ */
.asc-section,
.asc-section.slider-cards-section,
.asc-section.section,
.asc-section.section-padding {
    overflow: visible !important;
}

/* Slider Responsive */
@media (max-width: 767px) {
    .slider-cards-wrapper { padding: 0 20px; }
    .slider-arrow { width: 40px; height: 40px; font-size: 16px; }
    .slider-arrow-prev { left: -10px; }
    .slider-arrow-next { right: -10px; }
}

@media (max-width: 1199px) {
    .card-inner   { padding: 25px; }
    .card-title   { font-size: 20px; }
    .card-description { font-size: 14px; }
}

@media (max-width: 767px) {
    .card-inner  { padding: 20px; }
    .card-image  { height: 180px; }
    .card-icon   { width: 60px; height: 60px; font-size: 28px; margin-bottom: 20px; }
    .card-title  { font-size: 18px; margin-bottom: 12px; }
    .card-description { font-size: 14px; margin-bottom: 15px; }
    .card-link-text   { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .slider-cards-track,
    .slider-card,
    .card-image img,
    .card-icon,
    .slider-arrow,
    .slider-dot {
        transition: none !important;
        animation: none !important;
    }
}

@media print {
    .slider-arrow,
    .slider-dots { display: none; }
    .slider-cards-track {
        display: block !important;
        transform: none !important;
    }
    .slider-card {
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 20px;
    }
}

@media (prefers-color-scheme: dark) {
    .slider-cards-section {
        --slider-card-bg:           var(--color-bg-dark);
        --slider-card-shadow:       0 4px 15px rgba(255, 255, 255, 0.05);
        --slider-card-shadow-hover: 0 8px 30px rgba(255, 255, 255, 0.1);
        --slider-arrow-bg:          var(--color-gray-800);
        --slider-arrow-color:       var(--color-pure-white);
        --slider-arrow-border:      var(--color-gray-700);
        --slider-dot-bg:            var(--color-gray-600);
    }
    .card-title       { color: var(--color-pure-white); }
    .card-description { color: var(--color-gray-400); }
}

/* ═══════════════════════════════════════════════════════════════════
   CONTENT WITH IMAGE SECTION
   ═══════════════════════════════════════════════════════════════════ */

.content-image-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-image-wrapper.layout-right { direction: rtl; }
.content-image-wrapper.layout-right > * { direction: ltr; }

.image-column .image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.image-column .image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--gradient-warm);
    border-radius: 12px;
    z-index: -1;
}

.image-column img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.content-column .content-subtitle {
    display: inline-block;
    color: var(--color-accent-red);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.content-column .content-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 25px;
    line-height: 1.3;
}

.content-column .content-text {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
}

.content-column .content-text p { margin-bottom: 15px; }

.content-column .feature-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.content-column .feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 16px;
    color: var(--color-text-secondary);
}

.content-column .feature-list li i {
    color: var(--color-accent-red);
    font-size: 18px;
    min-width: 18px;
}

.content-column .btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--gradient-warm);
    color: var(--color-pure-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 15px;
}

.content-column .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(218, 75, 79, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════
   MAP SECTION
   ═══════════════════════════════════════════════════════════════════ */

.map-section {
    padding: 80px 0;
    background: var(--color-gray-50);
}

.map-section .section-header { margin-bottom: var(--spacing-xl); }

.locations-grid { display: grid; gap: 30px; }
.locations-grid.locations-count-1 { grid-template-columns: 1fr; max-width: 700px; margin: 0 auto; }
.locations-grid.locations-count-2 { grid-template-columns: repeat(2, 1fr); }
.locations-grid.locations-count-3 { grid-template-columns: repeat(3, 1fr); }

.location-box {
    background: var(--color-pure-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-200);
    transition: var(--transition-smooth);
}

.location-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-teal);
}

.location-map { width: 100%; overflow: hidden; position: relative; background: var(--color-gray-100); }
.location-map iframe { display: block; width: 100%; height: 100%; border: 0; }

.location-info { padding: 28px; }

.location-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-teal-darker);
    margin: 0 0 var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--color-primary-teal);
}

.location-name i { color: var(--color-primary-teal); font-size: 1.1rem; }

.location-details { display: flex; flex-direction: column; gap: 14px; margin-bottom: var(--spacing-lg); }

.location-detail { display: flex; align-items: flex-start; gap: 12px; }
.location-detail i { color: var(--color-primary-teal); font-size: 0.95rem; margin-top: 3px; flex-shrink: 0; width: 18px; text-align: center; }
.location-detail p { margin: 0; color: var(--color-text-secondary); font-size: 0.95rem; line-height: 1.6; }
.location-detail a { color: var(--color-primary-teal); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color var(--transition-normal); }
.location-detail a:hover { color: var(--color-teal-dark); }
.location-info .btn { width: 100%; justify-content: center; }

@media (max-width: 768px) {
    .map-section { padding: 60px 0; }
    .locations-grid.locations-count-2,
    .locations-grid.locations-count-3 { grid-template-columns: 1fr; }
    .location-info { padding: 24px; }
}

/* ═══════════════════════════════════════════════════════════════════
   RICH CONTENT SECTION
   ═══════════════════════════════════════════════════════════════════ */

.rich-content-section .content-wrapper { display: grid; gap: 40px; }
.rich-content-section .content-wrapper.layout-single { grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; }
.rich-content-section .content-wrapper.layout-two-column   { grid-template-columns: 1fr 1fr; }
.rich-content-section .content-wrapper.layout-three-column { grid-template-columns: repeat(3, 1fr); }

.rich-content-section .content-column {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.rich-content-section .content-column h1,
.rich-content-section .content-column h2,
.rich-content-section .content-column h3 {
    font-family: 'Playfair Display', serif;
    color: var(--color-text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.rich-content-section .content-column h1 { font-size: 36px; }
.rich-content-section .content-column h2 { font-size: 30px; }
.rich-content-section .content-column h3 { font-size: 24px; }
.rich-content-section .content-column p { margin-bottom: 20px; }
.rich-content-section .content-column ul,
.rich-content-section .content-column ol { margin-bottom: 20px; padding-left: 25px; }
.rich-content-section .content-column li { margin-bottom: 10px; }
.rich-content-section .content-column img { max-width: 100%; height: auto; border-radius: 8px; margin: 25px 0; }
.rich-content-section .content-column blockquote {
    border-left: 4px solid var(--color-accent-red);
    padding: 20px 25px;
    background: var(--color-bg-soft);
    margin: 25px 0;
    font-style: italic;
    color: var(--color-text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════
   FLEXIBLE SECTIONS — RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .section-title { font-size: 36px; }
    .content-image-wrapper { gap: 40px; }
    .content-column .content-title { font-size: 32px; }
    .rich-content-section .content-wrapper.layout-three-column { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section-padding           { padding: 60px 0; }
    .section-padding.padding-large { padding: 80px 0; }
    .section-title    { font-size: 30px; }
    .section-subtitle { font-size: 16px; }
    .content-image-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .content-image-wrapper.layout-right { direction: ltr; }
    .content-column .content-title { font-size: 28px; }
    .image-column .image-wrapper::before { width: 60px; height: 60px; top: -15px; right: -15px; }
    .rich-content-section .content-wrapper.layout-two-column,
    .rich-content-section .content-wrapper.layout-three-column { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .section-padding        { padding: 40px 0; }
    .section-title          { font-size: 26px; }
    .content-column .content-title { font-size: 24px; }
}

/* ═══════════════════════════════════════════════════════════════════
   ANIMATION UTILITIES
   ═══════════════════════════════════════════════════════════════════ */

[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate { opacity: 1; }

[data-aos="fade-up"]              { transform: translateY(30px); }
[data-aos="fade-up"].aos-animate  { transform: translateY(0); }

[data-aos="fade-left"]             { transform: translateX(30px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }

[data-aos="fade-right"]             { transform: translateX(-30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }



/* ═══════════════════════════════════════════════════════════════════
   COMPARISON TABLE SECTION  (cmt-*)
   Add this entire block to the bottom of flexible-sections.css
   ═══════════════════════════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────────────── */
.cmt-section {
    --cmt-bg:           #0d1117;
    --cmt-surface:      #161c26;
    --cmt-border:       rgba(255,255,255,0.07);
    --cmt-head-bg:      rgba(11,178,178,0.08);
    --cmt-head-color:   #ffffff;
    --cmt-cell-color:   rgba(255,255,255,0.78);
    --cmt-muted:        rgba(255,255,255,0.38);
    --cmt-accent:       #0bb2b2;
    --cmt-accent-soft:  rgba(11,178,178,0.15);
    --cmt-accent-glow:  rgba(11,178,178,0.25);
    --cmt-hl-bg:        rgba(11,178,178,0.07);
    --cmt-hl-border:    rgba(11,178,178,0.45);
    --cmt-badge-bg:     rgba(11,178,178,0.18);
    --cmt-badge-color:  #5fe0e0;
    --cmt-num-color:    rgba(11,178,178,0.5);
    --cmt-first-color:  #ffffff;
    --cmt-radius:       16px;
    --cmt-row-pad:      1.125rem 1.375rem;
    --cmt-head-pad:     0.875rem 1.375rem;
}

/* Light variant */
.cmt-section.cmt-bg-light {
    --cmt-bg:           #f4f8f8;
    --cmt-surface:      #ffffff;
    --cmt-border:       rgba(0,0,0,0.07);
    --cmt-head-bg:      rgba(11,178,178,0.07);
    --cmt-head-color:   #066f6f;
    --cmt-cell-color:   #364747;
    --cmt-muted:        #9ab0b0;
    --cmt-hl-bg:        rgba(11,178,178,0.05);
    --cmt-hl-border:    rgba(11,178,178,0.4);
    --cmt-badge-bg:     rgba(11,178,178,0.12);
    --cmt-badge-color:  #066f6f;
    --cmt-num-color:    rgba(11,178,178,0.55);
    --cmt-first-color:  #066f6f;
}

/* Teal variant */
.cmt-section.cmt-bg-teal {
    --cmt-bg:           linear-gradient(135deg, #0a3d3d 0%, #062424 100%);
    --cmt-surface:      rgba(255,255,255,0.1);
    --cmt-border:       rgba(255,255,255,0.12);
    --cmt-head-bg:      rgba(255,255,255,0.15);
    --cmt-head-color:   #ffffff;
    --cmt-cell-color:   rgba(255,255,255,0.88);
    --cmt-muted:        rgba(255,255,255,0.45);
    --cmt-hl-bg:        rgba(255,255,255,0.12);
    --cmt-hl-border:    rgba(255,255,255,0.4);
    --cmt-badge-bg:     rgba(255,255,255,0.2);
    --cmt-badge-color:  #ffffff;
    --cmt-num-color:    rgba(255,255,255,0.45);
    --cmt-first-color:  #ffffff;
}

/* ── Section shell ───────────────────────────────────── */
.cmt-section {
    position: relative;
    padding: 80px 0 100px;
    background: var(--cmt-bg);
    overflow: visible; /* never clip — arrows from asc-* won't be affected */
}

/* Subtle dot-grid texture */
.cmt-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle at 1px 1px,
        rgba(11,178,178,0.08) 1px,
        transparent 0
    );
    background-size: 32px 32px;
    pointer-events: none;
}

/* Glow blob top-right */
.cmt-section::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(11,178,178,0.12) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.cmt-outer {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/* ── Header ──────────────────────────────────────────── */
.cmt-header {
    text-align: center;
    margin-bottom: 56px;
}

.cmt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-button, 'Poppins', sans-serif);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cmt-accent);
    background: var(--cmt-accent-soft);
    border: 1px solid rgba(11,178,178,0.25);
    border-radius: 40px;
    padding: 0.35rem 1rem;
    margin-bottom: 1.25rem;
}

.cmt-eyebrow::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cmt-accent);
    box-shadow: 0 0 6px var(--cmt-accent-glow);
}

.cmt-heading {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--cmt-head-color);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
}

.cmt-subheading {
    font-size: 1.0625rem;
    color: var(--cmt-muted);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ── Scroll hint (mobile) ────────────────────────────── */
.cmt-scroll-wrap { position: relative; }

.cmt-scroll-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--cmt-muted);
    margin-bottom: 12px;
    font-family: var(--font-button, 'Poppins', sans-serif);
}

/* ── Table container ─────────────────────────────────── */
.cmt-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--cmt-radius);
    /* Glow border effect */
    box-shadow:
        0 0 0 1px var(--cmt-border),
        0 24px 64px rgba(0,0,0,0.35),
        0 0 80px rgba(11,178,178,0.05);
}

/* Custom scrollbar */
.cmt-table-wrap::-webkit-scrollbar       { height: 4px; }
.cmt-table-wrap::-webkit-scrollbar-track { background: transparent; }
.cmt-table-wrap::-webkit-scrollbar-thumb { background: var(--cmt-accent-soft); border-radius: 4px; }

/* ── Table ───────────────────────────────────────────── */
.cmt-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    background: var(--cmt-surface);
    table-layout: auto;
}

/* ── Column widths ───────────────────────────────────── */
.cmt-th--w-narrow { width: 100px; white-space: nowrap; }
.cmt-th--w-wide   { width: 240px; }
.cmt-th--w-xwide  { width: 300px; }
.cmt-th--num      { width: 52px; text-align: center; }
.cmt-td--num      { text-align: center; font-family: var(--font-button, 'Poppins', sans-serif); font-size: 0.75rem; font-weight: 700; color: var(--cmt-num-color); letter-spacing: 0.05em; }

/* ── Header row ──────────────────────────────────────── */
.cmt-row--head {
    background: var(--cmt-head-bg);
    border-bottom: 1px solid var(--cmt-accent);
}

.cmt-th {
    padding: var(--cmt-head-pad);
    font-family: var(--font-button, 'Poppins', sans-serif);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cmt-head-color);
    text-align: left;
    white-space: nowrap;
    position: relative;
}

.cmt-th::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background 0.25s ease;
}

.cmt-th:first-child { border-radius: var(--cmt-radius) 0 0 0; }
.cmt-th:last-child  { border-radius: 0 var(--cmt-radius) 0 0; }

.cmt-th-icon {
    margin-right: 6px;
    color: var(--cmt-accent);
    font-size: 0.8rem;
}

/* ── Body rows ───────────────────────────────────────── */
.cmt-row--body {
    border-bottom: 1px solid var(--cmt-border);
    transition: background 0.2s ease;
    position: relative;
}

.cmt-row--body:last-child { border-bottom: none; }

.cmt-row--body:hover {
    background: rgba(11,178,178,0.04);
}

/* Highlighted / featured row */
.cmt-row--highlight {
    background: var(--cmt-hl-bg);
    border-left: 3px solid var(--cmt-hl-border);
    border-right: 3px solid var(--cmt-hl-border);
}

.cmt-row--highlight:hover {
    background: rgba(11,178,178,0.1);
}

/* ── Cells ───────────────────────────────────────────── */
.cmt-td {
    padding: var(--cmt-row-pad);
    font-size: 0.9375rem;
    color: var(--cmt-cell-color);
    line-height: 1.6;
    vertical-align: middle;
    transition: color 0.2s ease;
}

/* First column styling variants */
.cmt-first-col-bold .cmt-td--first {
    font-weight: 700;
    color: var(--cmt-first-color);
    font-size: 0.9375rem;
}

.cmt-first-col-highlight .cmt-td--first {
    font-weight: 700;
    color: var(--cmt-accent);
    font-size: 0.9375rem;
}

/* Staggered row entrance — set via JS */
.cmt-row--body {
    opacity: 1;
    transform: translateX(-12px);
    transition:
        opacity    0.4s ease,
        transform  0.4s ease,
        background 0.2s ease;
}

.cmt-row--body.cmt-row--visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── Badge ───────────────────────────────────────────── */
.cmt-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    padding: 0.2rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cmt-badge-color);
    background: var(--cmt-badge-bg);
    border: 1px solid rgba(11,178,178,0.25);
    border-radius: 40px;
    vertical-align: middle;
    white-space: nowrap;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 767px) {
    .cmt-section  { padding: 56px 0 72px; }
    .cmt-outer    { padding: 0 20px; }
    .cmt-header   { margin-bottom: 36px; }
    .cmt-heading  { font-size: 1.6rem; }
    .cmt-scroll-hint { display: flex; }

    .cmt-th { font-size: 0.68rem; padding: 0.75rem 1rem; }
    .cmt-td { font-size: 0.875rem; padding: 1rem; }

    /* On very small screens, stack as definition list */
    @media (max-width: 480px) {
        .cmt-table-wrap { border-radius: 12px; }
        .cmt-th, .cmt-td { padding: 0.75rem 0.875rem; }
    }
}

/* ── Reduced motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .cmt-row--body {
        opacity: 1;
        transform: none;
        transition: none;
    }
}