/* ============================================================
   components.css — buttons, cards, nav, grids, tables
   ============================================================ */

/* ── Buttons ──────────────────────────────────────────────────
   All buttons are pill-shaped by default (border-radius: full).
   Variants: primary (black), secondary (teal), outline (light bg),
             outline-white (dark bg), orange (CTA/action).
   ─────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1;
    letter-spacing: -0.01em;
    cursor: pointer;
    border: 1.5px solid transparent;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background 0.22s cubic-bezier(0.4, 0, 0.2, 1),
        color      0.22s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.22s,
        transform  0.22s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(0) !important; }

.btn-lg { padding: 0.825rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.8rem; }

/* Primary — conversion black */
.btn-primary {
    background: var(--color-ink);
    color: #fff;
    border-color: var(--color-ink);
    box-shadow: 0 4px 14px rgba(28, 27, 27, 0.22);
}
.btn-primary:hover {
    background: #000;
    border-color: #000;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(28, 27, 27, 0.32);
}

/* Secondary — brand teal */
.btn-secondary {
    background: var(--color-primary-dk);
    color: #fff;
    border-color: var(--color-primary-dk);
    box-shadow: 0 4px 12px rgba(18, 140, 126, 0.25);
}
.btn-secondary:hover {
    background: #0f7569;
    border-color: #0f7569;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(18, 140, 126, 0.38);
}

/* Outline — for use on light/warm backgrounds */
.btn-outline {
    background: var(--surface-card);
    color: var(--color-ink);
    border-color: rgba(28, 27, 27, 0.18);
    box-shadow: var(--shadow-xs);
}
.btn-outline:hover {
    border-color: rgba(28, 27, 27, 0.35);
    background: #f9f9f9;
    color: var(--color-ink);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Outline dark — teal stroke, for light backgrounds */
.btn-outline-dark {
    background: transparent;
    color: var(--color-primary-dk);
    border-color: var(--color-primary-dk);
}
.btn-outline-dark:hover {
    background: rgba(18, 140, 126, 0.07);
    color: var(--color-primary-dk);
    transform: translateY(-1px);
}

/* Outline white — for use on dark/teal backgrounds */
.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Orange — action/urgency */
.btn-orange {
    background: var(--color-orange);
    color: #fff !important;
    border-color: var(--color-orange);
    box-shadow: 0 4px 14px rgba(255, 90, 31, 0.3);
}
.btn-orange:hover {
    background: #e64a13;
    border-color: #e64a13;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 90, 31, 0.42);
}

/* ── Cards ────────────────────────────────────────────────────
   Base card: white surface with ambient shadow.
   Modifiers: --feature (hover→teal), --featured (teal border),
              --glass (frosted, for dark sections), --cta.
   ─────────────────────────────────────────────────────────── */
.card {
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: var(--space-sm); }

.card p{
    font-size: 0.875rem;
}
.card p:last-child { margin-bottom: 0; }

/* Centre-aligned card content */
.card--center     { text-align: center; }
.card--center ul  { text-align: left; }

/* Feature card — interactive hover to teal */
.card--feature {
    border: 1px solid var(--surface-border);
    transition:
        background  0.3s ease,
        border-color 0.3s ease,
        box-shadow  0.3s ease;
}
.card--feature .card-icon { color: var(--color-primary-dk); transition: color 0.3s; }
.card--feature h3          { transition: color 0.3s; }
.card--feature p           { transition: color 0.3s; color: var(--color-text-muted); }

.card--feature:hover {
    background: var(--color-primary-dk);
    border-color: transparent;
    box-shadow: var(--shadow);
}
.card--feature:hover .card-icon,
.card--feature:hover h3,
.card--feature:hover p { color: #fff; }

/* Featured (highlighted) card — teal border */
.card--featured {
    border: 2px solid var(--color-accent);
    box-shadow: var(--shadow);
    position: relative;
}
.card--featured::before {
    content: 'Recommended';
    position: absolute;
    top: 0; right: 0;
    background: var(--color-accent);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.85rem;
    border-top-right-radius: 5px;
}

/* Glass card — for dark/teal section backgrounds */
.card--glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.card--glass h3  { color: #fff; font-family: var(--font-serif); margin-bottom: 0; }
.card--glass p   { color: rgba(255, 255, 255, 0.78); flex: 1; margin-bottom: 0; }

/* Small body text cards (deployment options) */
.card--sm p,
.card--sm li { font-size: 0.9rem; color: var(--color-text-muted); }
.card--sm ul { margin-bottom: var(--space-lg); }

/* Compliance list inside cards */
.card-list { list-style: none; padding: 0; margin-bottom: 0; }
.card-list li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    padding: 0.55rem 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--surface-border);
}
.card-list li:last-child { border-bottom: none; padding-bottom: 0; }
.card-list li::before {
    content: '✓';
    color: var(--color-primary-dk);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

/* Use-case card — numbered accent, left-axis editorial */
.card--use-case {
    border: 1px solid var(--surface-border);
    padding: var(--space-lg);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.25s, border-color 0.25s;
}
.card--use-case::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dk) 100%);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.card--use-case:hover {
    box-shadow: var(--shadow);
    border-color: rgba(18, 140, 126, 0.2);
}
.card-use-case-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-primary);
    opacity: 0.35;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.03em;
}
.card--use-case h3 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: var(--space-sm);
}
.card--use-case p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* Industry card — minimal, editorial */
.card--industry {
    background: none;
    box-shadow: none;
    padding: var(--space-md) 0;
    
}
.card--industry h3 {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
    margin-bottom: var(--space-sm);
}
.card--industry p {
    font-size: 0.825rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ── Enterprise Data Sheet Layout ───────────────────────────────
   IBM-style "spec sheet": serif label left, sans content right.
   All content within a narrow ~900px column, left-aligned.
   Separation between rows = whitespace only, no dividers.
   ─────────────────────────────────────────────────────────────── */

/* Narrow inner container for the enterprise page (~900px) */
.enterprise-container { max-width: 900px; }

/* Hero block */
.enterprise-hero {
    padding-bottom: var(--space-xl);
}
.enterprise-hero h1 {
    font-style: italic;
    margin-bottom: var(--space-sm);
}
.enterprise-sub {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
    font-style: italic;
    color: var(--color-ink-muted);
    font-weight: 400;
    margin-bottom: var(--space-lg);
}
.enterprise-lead {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    max-width: 680px;
}

/* Data Sheet row — label ≈ 35% | content ≈ 65% */
.ds-row {
    display: grid;
    grid-template-columns: 5fr 8fr;
    gap: var(--space-lg) var(--space-xl);
    align-items: start;
    padding: calc(var(--space-xl) * 1.25) 0;
}
.ds-label h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.175rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.35;
    color: var(--color-ink);
    margin: 0;
}
.ds-content > p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}
.ds-content > p:last-of-type { margin-bottom: 0; }

/* Bullet list — green dot + bold title */
.ds-list {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.ds-list li {
    display: flex;
    gap: var(--space-md);
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}
.ds-list .bi {
    flex-shrink: 0;
    font-size: 1.8rem;
    color: var(--color-accent);
    margin-top: -4px;
}
.ds-list li strong {
    color: var(--color-ink);
    font-weight: 600;
}

/* 2-col spec grid (security section) */
.ds-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg) var(--space-xl);
    margin-top: var(--space-lg);
}
.ds-spec h4 {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 0.35rem;
}
.ds-spec p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Compliance list — green left border */
.ds-compliance-list {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.ds-compliance-list li {
    padding-left: var(--space-md);
    border-left: 2px solid var(--color-primary);
}
.ds-compliance-list h4 {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 0.35rem;
}
.ds-compliance-list p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Simple item list (integration section) */
.ds-item-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: var(--space-md);
}
.ds-item {
    padding-left: var(--space-md);
    border-left: 2px solid var(--color-primary);
}
.ds-item h4 {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 0.3rem;
}
.ds-item p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

.ds-link {
    display: inline-block;
    margin-top: var(--space-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
}
.ds-link:hover { text-decoration: underline; color: var(--color-accent); }

.ds-inline-link {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Partner logos row (Zendesk section) */
.ds-partner-logos {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: nowrap;
    margin-top: var(--space-lg);
}
.ds-partner-logos img { height: 104px; width: auto; max-width: 48%; object-fit: contain; }

/* Final CTA — dark contained card, not full-bleed */
.ds-cta-card {
    background: var(--color-primary-dk);
    border-radius: var(--radius-xl);
    padding: var(--space-xl) var(--space-xl);
    text-align: center;
    margin-top: calc(var(--space-xl) * 1.5);
    margin-bottom: var(--space-xl);
}
.ds-cta-card h4 {
    font-family: var(--font-serif) !important;
    font-size: clamp(1.4rem, 2.5vw, 2rem) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    color: #fff !important;
    margin-bottom: var(--space-md) !important;
}
.ds-cta-card p {
    color: #fff !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
    margin-bottom: var(--space-sm) !important;
}

.ds-cta-card p a:not(.btn){
    color: #fff;
    text-decoration: underline;
}

.ds-cta-card p a:not(.btn):hover{
    color: lightgreen;
}

.ds-cta-card .btn { margin-top: var(--space-lg); }

/* When .ds-cta-card lives inside the narrow .content-article (720px),
   break it out to the full container inner width (1136px).
   Uses CSS math: margin = (article_width - container_inner) / 2, which
   is negative (expands outward) when the container is wider than 720px. */
.content-article .ds-cta-card {
    --_ci: min(
        calc(var(--container-max) - 2 * var(--space-lg)),
        calc(100vw - 2 * var(--space-lg))
    );
    width: var(--_ci);
    margin-left:  calc((100% - var(--_ci)) / 2);
    margin-right: calc((100% - var(--_ci)) / 2);
}

.ds-cta-tagline {
    color: #93BBA9 !important;
    font-weight: 600;
    font-size: 1.05rem;
    
}

/* Responsive */
@media (max-width: 768px) {
    .enterprise-page { padding-inline: var(--space-md); }
    .ds-row {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        padding: var(--space-lg) 0;
    }
    .ds-grid-2 { grid-template-columns: 1fr; }
}

/* ── Feature definition list — 2-col label | description grid ── */
.feature-dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.6rem var(--space-md);
    margin: 0;
    padding: 0;
}
.feature-dl dt {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-ink);
    padding-top: 0.1rem;
    white-space: nowrap;
}
.feature-dl dd {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin: 0;
}
.feature-dl dt,
.feature-dl dd {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--surface-border);
}
.feature-dl dt:last-of-type,
.feature-dl dd:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

@media (max-width: 600px) {
    .feature-dl {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }
    .feature-dl dd { margin-bottom: var(--space-sm); border-bottom: none; }
    .feature-dl dt { border-bottom: none; }
}

/* ── Video wrapper ────────────────────────────────────────────── */
.video-wrapper {
    display: flex;
    justify-content: center;
    margin-top: var(--space-lg);
    
}

.video-wrapper video {
    width: 100%;
    max-width: 680px;
    background:  none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
  border-color: rgba(18, 140, 126);
  border: 1px solid rgba(18, 140, 126, 0.25);
  padding: 0.5rem;
  
}

/* ── Grids ────────────────────────────────────────────────────── */
/* min(Xpx, 100%) prevents the track from ever exceeding the
   container width, which would cause horizontal overflow.       */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: var(--space-lg);
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: var(--space-lg);
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
    gap: var(--space-lg);
}
.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: var(--space-lg);
    max-width: 860px;
    margin-inline: auto;
    text-align: left;
}

/* ── Navigation ────────────────────────────────────────────────── */
.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    margin: 0;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius);
    color: var(--color-ink);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.15s, background 0.15s;
}
.nav-item > a:hover {
    color: var(--color-primary-dk);
    text-decoration: none;
    background: rgba(18, 140, 126, 0.06);
}
.nav-item.is-active > a {
    color: var(--color-primary-dk);
    background: rgba(18, 140, 126, 0.06);
    text-decoration: none;
}

.nav-arrow { font-size: 0.65rem; color: var(--color-accent); vertical-align: middle; margin-left: 0.2rem; font-weight: bold;}

/* Dropdown */
.has-dropdown { position: relative; }

.dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 36px rgba(28, 27, 27, 0.12);
    min-width: 200px;
    list-style: none;
    padding: 0.4rem 0;
    z-index: 200;
}

/* Invisible bridge that fills the gap between the trigger and the dropdown
   so moving the mouse downward doesn't lose hover and hide the menu. */
.dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown { display: block; }

.dropdown li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem var(--space-md);
    font-size: 0.875rem;
    color: var(--color-ink);
    white-space: nowrap;
    transition: background 0.1s, color 0.1s;
}
.dropdown li a:hover {
    background: var(--surface-low);
    color: var(--color-primary-dk);
    text-decoration: none;
}

/* Nested dropdown (right side) */
.depth-2 { left: 100%; top: 0; }

/* ── Language selector ─────────────────────────────────────────── */
.lang-selector { position: relative; }

.lang-selector-btn {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    padding: 0.3rem 0.65rem;
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-full);
    background: none;
    cursor: pointer;
    transition: color 0.12s, border-color 0.12s;
}
.lang-selector-btn:hover {
    color: var(--color-ink);
    border-color: rgba(28, 27, 27, 0.25);
}

.lang-selector:hover > .lang-dropdown,
.lang-selector:focus-within > .lang-dropdown { display: block; }

.lang-dropdown { min-width: 76px; left: 50%; transform: translateX(-50%); }
.lang-dropdown a {
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.4rem var(--space-sm);
}
.lang-dropdown a.lang-active { color: var(--color-primary-dk); }

/* ── Mobile nav toggle ─────────────────────────────────────────── */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--color-ink);
    border-radius: 2px;
    transition: transform 0.22s, opacity 0.22s;
}

/* ── Tables ────────────────────────────────────────────────────── */
table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-md) 0;
    font-size: 0.9rem;
}
th, td {
    padding: 0.65rem var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--surface-border);
}
th {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--color-text-muted);
}
tbody tr:hover { background: var(--surface-low); }

/* Mobile-only CTA inside the nav panel — hidden on desktop */
.nav-mobile-cta { display: none; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .nav-toggle { display: flex; }

    /* Hide the header-bar CTA; it reappears inside the mobile menu */
    .header-actions .btn-orange { display: none; }

    .main-nav {
        position: absolute;
        top: 68px;
        right: 0;
        left: auto;
        width: min(280px, calc(100vw - 2 * var(--space-md)));
        background: var(--surface-card);
        border: 1px solid var(--surface-border);
        border-radius: var(--radius-lg);
        padding: var(--space-md);
        box-shadow: var(--shadow);
    }
    .nav-list  { flex-direction: column; align-items: flex-start; gap: 0; }
    .nav-item > a { width: 100%; padding: 0.65rem var(--space-sm); }
    /* Flatten dropdowns only inside the mobile nav panel, not the lang selector */
    .main-nav .dropdown {
        position: static;
        box-shadow: none;
        border-radius: 0;
        padding-left: var(--space-md);
        border-top: none;
    }
    .depth-2 { left: 0; }
    /* Keep lang dropdown absolutely positioned but right-aligned so it doesn't cover the logo */
    .lang-dropdown {
        left: auto;
        right: 0;
        transform: none;
    }

    /* Show the CTA at the bottom of the slide-down nav panel */
    .nav-mobile-cta {
        display: block;
        margin-top: var(--space-md);
        padding-top: var(--space-md);
        border-top: 1px solid var(--surface-border);
    }
    .nav-mobile-cta .btn {
        display: inline-block;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .grid-4 { grid-template-columns: 1fr; }
    .cta-grid { grid-template-columns: 1fr; }
}

/* ── Testimonial Slider ────────────────────────────────────────── */
.testimonial-slider {
    margin: var(--space-xl) 20% 0;
}

/* Stack all slides in the same grid cell so height = tallest slide */
.testimonial-track {
    display: grid;
    grid-template-columns: 1fr;
}

.testimonial-slide {
    grid-area: 1 / 1;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Reset blockquote margin/spacing inside slider */
.testimonial-slider blockquote {
    margin: 0;
    padding-left: var(--space-lg);
}

/* Company label above the quote */
.testimonial-company {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary-dk);
    margin-bottom: var(--space-md);
}

/* Prev / next + dots row */
.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.testimonial-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1.5px solid var(--surface-border);
    border-radius: var(--radius-full);
    background: var(--surface-card);
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--color-ink);
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.testimonial-btn:hover {
    background: var(--surface-low);
    border-color: rgba(28, 27, 27, 0.28);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.testimonial-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: var(--radius-full);
    background: rgba(28, 27, 27, 0.18);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}
.testimonial-dot.is-active {
    background: var(--color-primary-dk);
    transform: scale(1.4);
}
/* 
@media (max-width: 500px) {
    .btn{
        white-space: break-spaces;
        line-height: 1.2em;
    }
} */