/* Homepage sections (index.php) */

body {
    font-family: var(--cn-font-family);
    font-size: var(--cn-font-size-body);
    line-height: var(--cn-line-height-body);
    color: var(--cn-color-body);
}

#header17-1s.cid-uM9gthnSwE {
    background-size: cover;
    background-position: center;
}

.site-section-heading {
    margin: 0 0 2.5rem;
    font-family: var(--cn-font-family);
    font-size: clamp(1.85rem, 3vw, 2.35rem);
    font-weight: 700;
    color: var(--cn-dark);
    text-align: left;
}

.site-section-heading--center {
    text-align: center;
}

.site-section-heading::after {
    content: '';
    display: block;
    width: 3.25rem;
    height: 3px;
    margin-top: 0.75rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cn-cyan), var(--cn-orange));
}

.site-section-heading--center::after {
    margin-left: auto;
    margin-right: auto;
}

.site-section-subtitle {
    margin: -1.5rem 0 2rem;
    text-align: center;
    color: #666;
    font-size: 1.05rem;
}

/* Services */
.services-section .item-wrapper {
    height: 100%;
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.services-section .item-wrapper:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.services-section .img-wrapper img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.services-section .card-text {
    margin-bottom: 0;
    line-height: 1.6;
    color: #444;
}

/* Learn more */
.learn-more-section .site-section-heading {
    text-align: left;
}

.learn-more-section .site-section-heading::after {
    margin-left: 0;
}

.learn-more-section img {
    border-radius: 0.75rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* Testimonials */
.testimonials-section .item-wrapper {
    height: 100%;
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.75rem 1.5rem;
    border: 1px solid #e9ecef;
}

.testimonials-section blockquote {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.65;
    color: #333;
    font-style: italic;
}

.testimonials-section cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: #555;
    font-size: 0.95rem;
}

/* Portfolio carousel */
.portfolio-carousel-section {
    overflow: hidden;
}

.portfolio-carousel {
    --portfolio-slide-width: 260px;
    --portfolio-gap: 1.25rem;
    margin-top: 0.5rem;
    position: relative;
}

.portfolio-carousel__controls {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: center;
}

.portfolio-carousel__button {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(237, 248, 252, 0.92));
    color: #18323b;
    box-shadow: 0 10px 24px rgba(10, 10, 10, 0.12);
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-carousel__button:hover,
.portfolio-carousel__button:focus-visible {
    background: linear-gradient(135deg, var(--cn-cyan), #8fe3fb);
    border-color: rgba(46, 196, 242, 0.8);
    color: #08212a;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 26px rgba(46, 196, 242, 0.28);
}

.portfolio-carousel__button:active {
    transform: translateY(0);
    box-shadow: 0 8px 16px rgba(46, 196, 242, 0.2);
}

.portfolio-carousel__button:focus-visible {
    outline: 2px solid rgba(46, 196, 242, 0.35);
    outline-offset: 2px;
}

.portfolio-carousel__button span {
    display: inline-block;
    transform: translateY(-2px);
}

.portfolio-carousel__button--prev span {
    transform: translate(-1px, -2px);
}

.portfolio-carousel__button--next span {
    transform: translate(1px, -2px);
}

.portfolio-carousel__viewport {
    overflow: hidden;
    width: 100%;
    padding: 0.25rem 0 1rem;
}

.portfolio-carousel__track {
    display: flex;
    align-items: stretch;
    gap: var(--portfolio-gap);
    width: max-content;
    will-change: transform;
}

.portfolio-carousel__track.is-paused {
    cursor: default;
}

.portfolio-carousel__slide {
    flex: 0 0 var(--portfolio-slide-width);
    width: var(--portfolio-slide-width);
    max-width: var(--portfolio-slide-width);
}

.portfolio-carousel-section .item-wrapper {
    margin-bottom: 0 !important;
    top: auto !important;
    position: static !important;
    height: 100%;
    min-height: 280px;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.portfolio-carousel-section .item-wrapper:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.work-section .img-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.work-section .item-wrapper {
    cursor: pointer;
}

.work-section .img-wrapper p {
    margin: 0.5rem 0 0;
    font-weight: 600;
    color: var(--cn-cyan);
}

.work-section .img-wrapper a {
    color: inherit;
    text-decoration: none;
}

.work-section .img-wrapper a:hover {
    color: var(--cn-cyan-dark);
}

@media (min-width: 768px) {
    .portfolio-carousel {
        --portfolio-slide-width: 280px;
    }
}

@media (max-width: 575px) {
    .portfolio-carousel__controls {
        justify-content: center;
    }
}

/* Contacts */
.cid-uM9hWshl0w.contacts-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #edefeb;
}

.contacts-section .contact-card {
    height: 100%;
    padding: 2rem 2.25rem;
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.contacts-section .contact-card__title {
    margin: 0 0 1rem;
    font-family: var(--cn-font-family);
    font-size: 1.25rem;
    font-weight: 700;
    color: #0a0a0a;
}

.contacts-section .contact-card__detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.5;
}

.contacts-section .contact-card__emoji {
    flex-shrink: 0;
    font-size: 1.1rem;
    line-height: 1;
}

.contacts-section .contact-card__text {
    color: #0a0a0a;
    font-weight: 400;
    text-decoration: none;
}

.contacts-section a.contact-card__text:hover {
    color: #333;
    text-decoration: underline;
}

.contacts-section .site-contact-link {
    color: var(--cn-cyan);
    text-decoration: underline;
    font-weight: 400;
    word-break: break-word;
}

.contacts-section .site-contact-link:hover {
    color: var(--cn-cyan-dark);
}

/* Contact form */
.contact-form-section .form-alert {
    border-radius: 0.5rem;
}

.contact-form-section .success-message {
    display: none;
    color: var(--cn-cyan);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(46, 196, 242, 0.1);
    border-radius: 0.5rem;
}

.contact-form-section .success-message.is-visible,
.contact-form-section .error-message.is-visible {
    display: block;
}

.contact-form-section .error-message {
    display: none;
    color: #c0392b;
    font-size: 1.05rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(192, 57, 43, 0.08);
    border-radius: 0.5rem;
}

.btn-site-submit {
    background-color: #2ec4f2 !important;
    border-color: #2ec4f2 !important;
    color: #0a0a0a !important;
    border-radius: 999px !important;
    padding: 0.75rem 1.75rem !important;
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
}

.btn-site-submit:hover {
    background-color: var(--cn-cyan-dark) !important;
    border-color: var(--cn-cyan-dark) !important;
    color: var(--cn-dark) !important;
}

.btn-site-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.4rem;
    border: 1.5px solid #f5b89a;
    border-radius: 999px;
    color: #f0785a !important;
    background: rgba(245, 184, 154, 0.1);
    font-size: 0.95rem;
    line-height: 1.2;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-site-secondary:hover {
    color: #e56548 !important;
    border-color: #f0785a;
    background: rgba(240, 120, 90, 0.14);
}

.mbr-section-btn .btn-site-secondary,
.mbr-section-btn .btn-site-submit {
    font-size: 0.95rem;
    line-height: 1.2;
    margin: 0;
}

.learn-more-section .mbr-section-btn {
    font-size: inherit;
}

.site-footer {
    padding: 2rem 1rem;
    text-align: center;
    background: #f8fafb;
    border-top: 1px solid #e9ecef;
    color: #666;
    font-size: 0.9rem;
}

.site-section-lead {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    color: #5b6573;
    font-size: 1.02rem;
    line-height: 1.55;
}

.service-card-link {
    display: inline-block;
    margin-top: 0.85rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #0e7490;
    text-decoration: none;
}

.service-card-link:hover,
.service-card-link:focus {
    color: #2ec4f2;
    text-decoration: underline;
}

.seo-faq-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.seo-faq-list {
    max-width: 48rem;
    margin: 0 auto;
    display: grid;
    gap: 0.85rem;
}

.seo-faq-item {
    background: #fff;
    border: 1px solid #e6ebf1;
    border-radius: 0.9rem;
    padding: 0.95rem 1.15rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.seo-faq-item summary {
    cursor: pointer;
    font-weight: 700;
    color: #1f2937;
    list-style: none;
}

.seo-faq-item summary::-webkit-details-marker {
    display: none;
}

.seo-faq-item summary::after {
    content: '+';
    float: right;
    color: #2ec4f2;
    font-weight: 700;
}

.seo-faq-item[open] summary::after {
    content: '–';
}

.seo-faq-item p {
    margin: 0.75rem 0 0;
    color: #4b5563;
    line-height: 1.55;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem 1.25rem;
    margin-bottom: 0.85rem;
}

.site-footer__nav a {
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus {
    color: #2ec4f2;
}
