/*
Theme Name: ShopStudio Oficial
Description: Tema personalizado para e-commerce e estúdios criativos
Version: 1.0
Author: Leonofre
*/

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Arial", sans-serif;
    line-height: 1.6;
    padding-top: 60px;
    color: #333;
}



/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: .5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.quote-btn {
    background-color: #FFE045;
    color: #252525;
    padding: 10px 30px;
    text-decoration: none;
    border-radius: 72px;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0%;
    transition: background 0.3s;
    gap: 10px;
}

.quote-btn:hover {
    background-color: #e6c93d;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    position: relative;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    padding-bottom: 8px;
}

.main-navigation a:focus::after,
.main-navigation a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 2px;
    background-color: #ff5777;
    opacity: 1;
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    width: 28px;
    height: 2px;
    background-color: #ff5777;
    transition: left 0.3s ease;
    opacity: 0;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.site-logo {
    position: relative;
    z-index: 3;
}

.site-logo::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -40px;
    width: 100vw;
    height: calc(100% + 2rem);
    background-color: #FFE045;
    border-top-right-radius: 47px;
    border-bottom-right-radius: 47px;
    z-index: -1;
    transform: translate(0, -50%);
}

.main-navigation {
    position: relative;
    z-index: 3;
}

.quote-btn {
    position: relative;
    z-index: 3;
}

.mobile-menu-toggle {
    position: relative;
    z-index: 3;
}

.site-logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    flex-shrink: 0;
}

.slider-nav {
    position: absolute;
    top: 4rem;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 3;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.nav-btn {
    background: #FF5777;
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: background 0.3s;
    opacity: .8;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.nav-btn.prev-btn {
    border-top-left-radius: 7px;
    border-bottom-right-radius: 7px;
    border-bottom-left-radius: 7px;
    background-image: url('assets/images/slider-arrow.svg');
    transform: rotate(180deg);
}

.nav-btn.next-btn {
    border-top-left-radius: 7px;
    border-bottom-right-radius: 7px;
    border-bottom-left-radius: 7px;
    background-image: url('assets/images/slider-arrow.svg');
}

.nav-btn:hover {
    opacity: 1;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #fff;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
    z-index: 1;
}

.slide-content {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: space-between;
    z-index: 2;
    width: 100%;
}

.slide-text {
    flex: 1;
    max-width: 68%;
    color: #fff;
    z-index: 3;
    position: relative;
}

.slide-text h2 {
    font-size: 56px;
    font-family: 'Inter', sans-serif;
    line-height: 135%;
    letter-spacing: 0.3px;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.slide-description {
    font-size: 22px;
    font-family: 'Open Sans', sans-serif;
    line-height: 140%;
    margin-bottom: 2rem;
}

.slide-description p {
    max-width: 83%;
}

.slide-btn {
    background-color: #FFE045;
    color: #252525;
    padding: 10px 30px;
    margin-top: 30px;
    text-decoration: none;
    border-radius: 72px;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0%;
    display: inline-block;
    transition: background 0.3s;
    gap: 10px;
}

.slide-btn:hover {
    background-color: #e6c93d;
}

.slide-image {
    flex: 1;
    max-width: 50%;
    text-align: right;
    margin-left: -20%;
    z-index: 2;
    position: relative;
}

.slide-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Services Section */
.services-section {
    background: #fff;
    padding: 4rem 0;
}

.services-header {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
}

.services-logo {
    width: 61px;
    height: 41px;
    margin-right: 12px;
}

.services-title {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 130%;
    letter-spacing: 0.3px;
    color: #333;
    margin: 0;
}

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

.service-card {
    width: 274px;
    height: 338px;
    border-radius: 24px;
    padding: 16px;
    background: #F0F3F5;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    background: linear-gradient(270deg, #FF5777 -250.39%, #31CAFF -43.21%, #FFE045 163.98%);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.service-icon-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    background-color: #ffffff;
}

.service-card .service-title {
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0%;
    margin-bottom: 1rem;
}

.service-card .service-description {
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0%;
}

.service-card .service-title,
.service-card .service-description {
    color: #252525;
}

.service-card:hover .service-title,
.service-card:hover .service-description {
    color: #ffffff;
}

/* Clients Section */
.clients-section {
    padding: 4rem 0;
    background: transparent;
}

.clients-container {
    padding: 50px;
    border-radius: 69px;
    background-color: #FF5777;
}

.clients-header {
    text-align: center;
    margin-bottom: 3rem;
}

.clients-logo {
    width: 61px;
    height: 41px;
    margin-bottom: 1rem;
}

.clients-title {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 110%;
    letter-spacing: 0%;
    color: #FFFFFF;
    margin: 0;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 9px;
    justify-items: center;
}

.client-card {
    width: 100%;
    height: 100%;
    padding: 20px;
    border-radius: 24px;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-card {
    background: linear-gradient(270deg, #FF5777 -250.39%, #2AB5E6 -136.44%, #E4C93F 163.98%);
}

.cta-card {
    background: linear-gradient(270deg, #FF5777 -250.39%, #2AB5E6 -136.44%, #E4C93F 163.98%);
    flex-direction: column;
    text-decoration: none;
    color: #FFFFFF;
    font-family: 'Titillium Web', sans-serif;
    transition: transform 0.3s;
}

.cta-card:hover {
    transform: scale(1.05);
    color: #FFFFFF;
    text-decoration: none;
}

.cta-text {
    font-weight: 400;
    font-size: 28px;
    margin-bottom: 0.5rem;
}

.cta-action {
    font-weight: 700;
    font-size: 18px;
}

.client-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Cases Section */
.cases-section {
    background: #fff;
    padding: 4rem 0;
}

.cases-header {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
}

.cases-logo {
    width: 61px;
    height: 41px;
    margin-right: 12px;
}

.cases-title {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 130%;
    letter-spacing: 0.3px;
    color: #333;
    margin: 0;
}

.cases-slider-container {
    position: relative;
}

.cases-nav {
    position: absolute;
    top: -65px;
    right: 0;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.cases-slider {
    position: relative;
    overflow: hidden;
    border-radius: 56px;
}

.cases-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.case-slide {
    width: 100%;
    flex-shrink: 0;
    display: flex;
    min-height: 400px;
}

.case-image {
    width: 50%;
    background-size: cover;
    background-position: center;
}

.case-content {
    width: 50%;
    background: linear-gradient(270deg, #FF5777 -250.39%, #2AB5E6 -136.44%, #E4C93F 163.98%);
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.case-categories {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.case-category {
    padding: 15px;
    border: 1px solid #ffffff;
    background-color: transparent;
    color: #FFFFFF;
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0px;
    text-align: right;
    border-radius: 20px;
    text-decoration: none;
}

.case-slide-title {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 130%;
    letter-spacing: 0px;
    margin-bottom: 1.5rem;
    color: #fff;
}

.case-slide-content {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0px;
    margin-bottom: 2rem;
    color: #fff;
}

.case-content .quote-btn {
    align-self: flex-start;
    width: auto;
}

#casesDots {
    display: flex;
    justify-content: center;
    gap: 5px;
    bottom: -50px;
}

#casesDots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #C8CFD3;
    cursor: pointer;
    transition: background-color 0.3s;
}

#casesDots .dot.active {
    background-color: #FF5777;
}

/* Team Section */
.team-section {
    padding: 4rem 0;
    background: transparent;
}

.team-container {
    padding: 50px;
    border-radius: 69px;
    background-color: #FF5777;
}

.team-header {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
}

.team-logo {
    width: 61px;
    height: 41px;
    margin-right: 12px;
}

.team-title {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 110%;
    letter-spacing: 0%;
    color: #FFFFFF;
    margin: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-bottom: 9px;
}

.team-grid-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 9px;
}

.team-card {
    padding: 20px;
    border-radius: 24px;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 20px;
}
.team-photo-wrapper {
    max-width: 30%;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.team-photo-wrapper-large {
    height: 180px;
}

.team-photo {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
}

.team-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-name {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 125%;
    letter-spacing: 0%;
    color: #333;
    margin-bottom: 0.25rem;
}

.team-position,
.team-description {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0%;
    color: #666;
}

/* Content */
.site-main {
    padding: 2rem 0;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Contact Form */
.contact-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.contact-section .form-title {
    text-align: left;
    margin-bottom: 1rem;
    max-width: 519px;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 110%;
    letter-spacing: 0%;
    color: #FFFFFF;
}

.contact-section .form-title h1,
.contact-section .form-title h2,
.contact-section .form-title h3 {
    margin: 0;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 110%;
    letter-spacing: 0%;
    color: #FFFFFF;
}

.contact-section .form-description {
    text-align: left;
    margin-bottom: 2rem;
    max-width: 519px;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    letter-spacing: 0%;
    color: #FFFFFF;
}

.contact-info {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    max-width: 800px;
    flex-wrap: wrap;
}

@media (max-width: 800px) {
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

mark {
    background: -webkit-linear-gradient(135deg, #31CAFF 20.14%, #FFE045 95.55%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    padding: 5px 10px;
    border-image-slice: 27 27 27 27;
    border-image-width: 20px 20px 20px 20px;
    border-image-outset: 0px 0px 0px 0px;
    border-image-repeat: stretch stretch;
    border-image-source: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVwAAABNCAYAAADq69ymAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGFSURBVHgB7drBicJQFEDR/wcLsRU7s7SUYAl24kRw4SgyQeHi4pxNSHjry+fnzctq/G+Zcx4GAE+2dvRnAJAQXICI4AJEdhvn9usVxXEA8DYnXIDItKUA8BlbCgBfRnABItefZsvd+/72PD/MnQYArywP7/vb83z37W9Hr5sIthEAPvOqpa4UACKCCxARXICI4AJEBBcgIrgAEcEFiAguQERwASKCCxARXICI4AJEBBcgIrgAEcEFiAguQERwASKCCxARXICI4AJEBBcgIrgAEcEFiAguQERwASKCCxARXICI4AJEBBcgIrgAEcEFiAguQERwASKCCxARXICI4AJEBBcgIrgAEcEFiAguQERwASKCCxARXICI4AJEBBcgIrgAEcEFiAguQERwASKCCxARXICI4AJEBBcgIrgAEcEFiAguQGReVhvmljnnYQDwZGtHnXABIoILEBFcgMhu49x+vaI4DgDe5oQLELGlAPAhWwoAX0ZwASLXn2bLhrnTAOCVZcPM6Ren5kT72adG/QAAAABJRU5ErkJggg==");
    border-style: solid;
}

.contact-item a {
    color: #ffffff;
}

.contact-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0%;
    color: #FFFFFF;
    margin-bottom: 2px;
}

.contact-value {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 150%;
    letter-spacing: 0%;
    color: #FFFFFF;
}

.contact-form {
    max-width: 570px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form .form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-form .form-row .field-half {
    flex: 1;
}

.contact-form .field-half {
    width: 50%;
}

.contact-form .field-full {
    width: 100%;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-form .field-label {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 0 5px;
    width: fit-content;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #515151;
    margin-bottom: 5px;
    margin: 0 0 -20px 12px;
    z-index: 2;
}

.contact-form .required-asterisk {
    color: #DA1414;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border-radius: 19px;
    font-size: 1rem;
    border: 1px solid #E7E7E7;
}

.contact-form button {
    background-color: #FFE045;
    color: #252525;
    padding: 10px 30px;
    text-decoration: none;
    border: none;
    border-radius: 72px;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0%;
    cursor: pointer;
    transition: background 0.3s;
    align-self: flex-start;
    margin-top: 45px;
}

.contact-form button:hover {
    background-color: #e6c93d;
}

.contact-form fieldset {
    border: 1px solid #E7E7E7;
    border-radius: 43px;
    padding: 1rem;
    margin-bottom: 10px;
}

.contact-form legend {
    font-weight: bold;
    padding: 0 0.5rem;
}

.contact-form fieldset label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: normal;
}

.contact-form fieldset input {
    margin-right: 0.5rem;
    padding: 0;
    width: auto;
}

.contact-form select {
    padding: 1rem;
    border: 1px solid #E7E7E7;
    border-radius: 43px;
    font-size: 1rem;
    width: 100%;
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2rem;
}
/* 
.footer-logo {
    width: 61px;
    height: 41px;
} */

.footer-site-name {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #fff;
}

.footer-divider {
    width: 770px;
    height: 1px;
    background: #fff;
    margin: 0 auto 2rem;
    max-width: 100%;
}

.footer-social {
    margin-bottom: 2rem;
}

.social-title {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #ffffff;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    display: inline-block;
    transition: opacity 0.3s;
}

.social-icon:hover {
    opacity: 0.7;
}

.social-icon img {
    width: 32px;
    height: 32px;
}

.footer-copyright {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #ffffff;
}

/* Services bullets - apenas mobile */
.services-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.services-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
    pointer-events: none;
}

.services-dot.active {
    background-color: #FF5777;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        width: 100%;
        max-width: 1200px;
        padding: 0 2rem;
    }

    .header-content {
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }
    
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .main-navigation.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }
    
    .main-navigation a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid #eee;
    }
    
    .header-content .quote-btn {
        order: 3;
        display: none;
    }
    
    .nav-indicator {
        display: none;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .site-header {
        padding: 0.5rem 0;
    }
    
    .slide {
        min-height: 500px;
        padding-top: 0;
    }
    
    .slide-content {
        flex-direction: column;
        text-align: left;
        padding-top: 2rem;
    }
    
    .slide-text {
        max-width: 100%;
        margin-bottom: 2rem;
        z-index: 2;
    }
    
    .slide-text h2 {
        font-size: 32px;
    }
    
    .slide-description {
        font-size: 18px;
    }
    
    .slide-image {
        max-width: 100%;
        margin-left: 0;
    }
    
    .slider-nav {
        top: 90px;
        z-index: 1;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .services-title,
    .clients-title,
    .cases-title,
    .team-title {
        font-size: 32px;
    }
    
    .clients-container,
    .team-container {
        padding: 30px 20px;
        border-radius: 40px;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .case-slide {
        flex-direction: column;
    }
    
    .case-image,
    .case-content {
        width: 100%;
    }
    
    .case-image {
        min-height: 200px;
    }
    
    .case-content {
        padding: 40px 30px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid-bottom {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-card {
        flex-direction: column;
        text-align: center;
    }
    .team-photo-wrapper {
        max-width: 90%;
        height: 235px;
    }
    
    .team-photo-wrapper-large {
        height: 590px;
    }
    
    .contact-form .form-row {
        flex-direction: column;
    }
    
    .contact-form .field-half {
        width: 100%;
    }
    
    .contact-section .form-title {
        font-size: 32px;
    }
    
    .footer-divider {
        width: 100%;
    }
}


@media (max-width: 768px) {
    .services-dots {
        display: flex;
    }
    
    .services-grid {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    .service-card {
        scroll-snap-align: start;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 58px;
    }

    .container {
        padding: 0 1rem;
    }

    .slider-nav {
        top: 20px;
    }

    .slide-text h2 {
        max-width: 350px;
    }

    .slide-description p {
        max-width: 100%;
    }

    .slide-content {
        padding-top: 6rem;
    }
    
    .slide-text h2 {
        font-size: 24px;
        line-height: 200%;
    }
    
    .slide-description {
        font-size: 16px;
    }
    
    .services-title,
    .clients-title,
    .cases-title,
    .team-title {
        font-size: 30px;
        text-align: justify;
    }
    
    .clients-grid {
        grid-template-columns: 1fr 1fr;
    }

    .client-card {
        order: 5;
    }
    
    .client-card.cta-card {
        grid-column: span 2;
        order: 5;
    }
    
    .client-card:nth-child(7) {
        order: 6;
    }

    .client-card:nth-child(n+10):not(.cta-card) {
        order: 8;
    }
    
    .case-content {
        padding: 30px 20px;
    }
    
    .contact-section .form-title {
        font-size: 24px;
    }

    .contact-form button {
        width: 100%;
        font-size: 24px;
        padding: 20px 20px;
    }

    .case-slide-content {
        min-height: 100px;
    }
    
    .quote-btn,
    .slide-btn {
        padding: 18px 35px;
        font-size: 20px;
    }
    
    .team-grid-bottom {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        grid-template-columns: none;
        grid-template-rows: none;
    }
    
    .team-grid-bottom .team-card {
        flex: 0 0 65%;
        min-width: 65%;
    }

    .team-photo-wrapper {
        max-width: 90%;
        height: 165px;
    }
    
    .team-photo-wrapper-large {
        height: fit-content;
    }

    .team-photo, .team-photo-large {
        width: 160px;
        height: auto;
        margin: 0 auto 1rem;
    }

    .team-photo-wrapper .team-photo {
        width: 100%;
        max-width: 100%;
    }
    
    .services-grid {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        gap: 1rem;
        grid-template-columns: none;
    }
    
    .services-grid .service-card {
        flex: 0 0 80%;
        min-width: 80%;
        max-width: none;
        width: auto;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .team-grid-bottom {
        grid-template-columns: repeat(2, 1fr);
    }
}
