.marquee-wrapper {
overflow: hidden;
  width: 100%;
  position: relative;
}

.marquee-track {
display: flex;
  width: max-content;
}

.marquee-wrapper:hover .marquee-track {
animation-play-state: paused;
}

.marquee-list {
display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 4rem;
}

.sg-testi-section {
position: relative;
    padding: 100px 5vw;
    background: #F7F6F3;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.sg-testi-eyebrow {
display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6B6558;
    margin-bottom: 14px;
}

.sg-testi-title {
text-align: center;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    color: #16140F;
    max-width: 620px;
    margin: 0 auto 50px;
}

.sg-testi-title em {
font-style: italic;
    color: var(--blue);
}

.sg-testi-wrap {
max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.sg-testi-viewport {
overflow: hidden;
    cursor: grab;
}

.sg-testi-track {
display: flex;
    gap: 24px;
    padding: 4px 4px 20px;
    will-change: transform;
    touch-action: pan-x pan-y;
    user-select: none;
}

.sg-testi-card {
flex: 0 0 calc((100% - 48px) / 3);
    background: #FFFFFF;
    border: 1px solid #ECEAE4;
    border-radius: 18px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 260px;
    box-shadow: 0 4px 20px rgba(20, 18, 12, 0.04);
}

.sg-testi-card img, .sg-testi-card a {
-webkit-user-drag: none;
}

.sg-testi-quote-mark {
font-family: Georgia, serif;
    font-size: 54px;
    line-height: 1;
    color: var(--blue);
    opacity: 0.85;
    margin-bottom: 10px;
}

.sg-testi-text {
font-size: 15.5px;
    line-height: 1.6;
    color: #3A362E;
    margin: 0 0 24px;
    flex-grow: 1;
}

.sg-testi-footer {
display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #F0EEE8;
    padding-top: 18px;
}

.sg-testi-name {
font-size: 15px;
    font-weight: 700;
    color: #16140F;
    line-height: 1.3;
}

.sg-testi-company {
font-size: 13px;
    color: #837C6C;
    line-height: 1.3;
}

.sg-testi-nav {
display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 12px;
}

.sg-testi-arrow {
width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #E3E0D8;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}

.sg-testi-arrow:hover {
background: #16140F;
    border-color: #16140F;
}

.sg-testi-arrow:hover svg {
stroke: #FFFFFF;
}

.sg-testi-arrow svg {
width: 18px;
    height: 18px;
    stroke: #16140F;
    fill: none;
    stroke-width: 2;
}

.sg-testi-bg-circle {
position: absolute;
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid #E3E0D8;
    z-index: 1;
}

@media (max-width: 991px) {
.sg-testi-card {
flex: 0 0 calc((100% - 24px) / 2);
}

}

@media (max-width: 640px) {
.sg-testi-section {
padding: 70px 6vw;
}

.sg-testi-card {
flex: 0 0 88%; min-height: unset;
}

}

:root {
--h1-size: clamp(2rem, 1.5rem + 3vw, 4rem);      
  --h2-size: clamp(1.75rem, 1.4rem + 2vw, 3rem);   
  --h3-size: clamp(1.5rem, 1.25rem + 1.2vw, 2.25rem); 
  --h4-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
}

h1 {
font-size: var(--h1-size); line-height: 1.1;
}

h2 {
font-size: var(--h2-size); line-height: 1.15;
}

h3 {
font-size: var(--h3-size); line-height: 1.2;
}

h4 {
font-size: var(--h4-size); line-height: 1.3;
}

:root {
--p-regular-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);   
  --p-medium-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.25rem); 
  --p-big-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.5rem);
}

p, .p-regular {
font-size: var(--p-regular-size); line-height: 1.6;
}

.p-medium {
font-size: var(--p-medium-size); line-height: 1.5;
}

.p-big {
font-size: var(--p-big-size); line-height: 1.4;
}

.p-small {
font-size: calc(14px);
}

.p-medium, .p-regular, .p-small, .p-huge, .heading-h1 {
margin: 0;
}

:root {
--p-huge-size: clamp(1.75rem, 1.3rem + 2.2vw, 2.75rem);
}

.p-huge {
font-size: var(--p-huge-size);
  line-height: 1.25;
}
