/*
	Theme Name: S6
	Description: Custom Wordpress theme
	Version: 4.0
	Author: Gabriel Nastase
	Author URI: http://gabrielnastase.com
	Tags: HTML5, CSS3
*/

/*------------------------------------*\
    CSS VARIABLES
\*------------------------------------*/
:root {
    --black: #0a0a0a;
    --white: #fff;
    --gray-mid: #999;
    --gray-dark: #444;
    --gray-light: #f0f0f0;
    --font-sans: 'DM Sans', sans-serif;
    --font-display: 'Syne', sans-serif;
    --pad: 24px;
    --max-w: 1440px;
}

/*------------------------------------*\
    RESET & BASE
\*------------------------------------*/
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color .3s;
}

a:hover {
    color: var(--gray-mid);
}

body.no-scroll {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
}

h1 { font-size: clamp(42px, 6vw, 72px); letter-spacing: -2px; }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: clamp(24px, 3vw, 32px); }
h4 { font-size: clamp(20px, 2.5vw, 24px); }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p {
    margin-bottom: 1.5em;
    font-weight: 300;
    color: var(--gray-dark);
}

ul, ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

li {
    margin-bottom: 0.5em;
}

/*------------------------------------*\
    LAYOUT
\*------------------------------------*/
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad);
}

.content-section {
    padding: 80px 0;
}

.content-section-sm {
    padding: 40px 0;
}

/*------------------------------------*\
    BUTTONS
\*------------------------------------*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .3px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all .3s ease;
}

.btn-primary {
    background: var(--black);
    color: var(--white);
}

.btn-primary:hover {
    background: #333;
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--black);
    border: 1.5px solid var(--black);
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
}

.btn-circle {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
}

/*------------------------------------*\
    GO UP BUTTON
\*------------------------------------*/
.go-up {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 900;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--black);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .4s, transform .4s, background .3s;
    pointer-events: none;
}

.go-up.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.go-up:hover {
    background: #333;
}

.go-up svg {
    width: 18px;
    height: 18px;
    stroke: var(--white);
    fill: none;
}

/*------------------------------------*\
    WHATSAPP BUBBLE
\*------------------------------------*/
.whatsapp-bubble {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 900;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
.whatsapp-bubble svg {
    width: 26px;
    height: 26px;
}

/*------------------------------------*\
    HEADER
\*------------------------------------*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 22px 0;
    transition: background .3s, padding .3s, box-shadow .3s;
}

.header.scrolled {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(14px);
    padding: 14px 0;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.5px;
}

.logo img {
    height: 40px;
    width: auto;
}

.header.scrolled .logo img {
    height: 32px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .2px;
    position: relative;
    transition: opacity .3s;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--black);
    transition: width .3s;
}

.nav a:hover::after,
.nav a.active::after,
.nav a.current-menu-item::after {
    width: 100%;
}

.nav a.active,
.nav a.current-menu-item {
    font-weight: 500;
}

.header-cta {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .3s;
}

.header-cta:hover {
    transform: scale(1.1);
}

.header-cta svg {
    width: 13px;
    height: 13px;
}

/*------------------------------------*\
    HAMBURGER
\*------------------------------------*/
.hamburger {
    display: none;
    width: 36px;
    height: 36px;
    cursor: pointer;
    position: relative;
    z-index: 1100;
    background: none;
    border: none;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: all .3s cubic-bezier(.22,1,.36,1);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/*------------------------------------*\
    MOBILE OVERLAY
\*------------------------------------*/
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(255,255,255,.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s cubic-bezier(.22,1,.36,1);
}

.mobile-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-overlay a {
    font-family: var(--font-display);
    font-size: clamp(32px,8vw,48px);
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--black);
    padding: 14px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .4s ease, transform .4s ease, color .3s;
}

.mobile-overlay.open a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-overlay.open a:nth-child(1) { transition-delay: .08s; }
.mobile-overlay.open a:nth-child(2) { transition-delay: .14s; }
.mobile-overlay.open a:nth-child(3) { transition-delay: .20s; }
.mobile-overlay.open a:nth-child(4) { transition-delay: .26s; }
.mobile-overlay.open a:nth-child(5) { transition-delay: .32s; }

/*------------------------------------*\
    PAGE HEADER / HERO
\*------------------------------------*/
.page-header {
    padding-top: 140px;
    padding-bottom: 60px;
    text-align: center;
}

.page-header-left {
    text-align: left;
}

.page-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(48px, 10vw, 120px);
    line-height: .9;
    letter-spacing: -4px;
    text-transform: lowercase;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 15px;
    font-weight: 300;
    color: var(--gray-dark);
}

.page-header-left .page-subtitle {
    margin: 0;
}

/*------------------------------------*\
    HERO LARGE
\*------------------------------------*/
.hero-large {
    padding-top: 110px;
    overflow: visible;
}

.hero-title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-title .word {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(90px, 16vw, 240px);
    line-height: .85;
    letter-spacing: -6px;
    text-transform: lowercase;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUp .9s cubic-bezier(.22,1,.36,1) forwards;
    animation-delay: .15s;
}

.hero-image {
    display: block;
    margin-top: 40px;
    width: 50vw;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
    background: #e8e8e8;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: .7s;
    will-change: width, margin;
}

/*------------------------------------*\
    SECTION HEADERS
\*------------------------------------*/
.section-header {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 3px solid var(--black);
    margin-bottom: 50px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 1;
}

.section-subtitle {
    font-size: 14px;
    font-weight: 300;
    color: var(--gray-dark);
    letter-spacing: .2px;
}

.section-subtitle::before {
    content: '/';
    margin-right: 6px;
}

/*------------------------------------*\
    CARDS / GRID
\*------------------------------------*/
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.card {
    opacity: 0;
    transform: translateY(40px);
    transition: all .7s cubic-bezier(.22,1,.36,1);
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card:nth-child(2) { transition-delay: .08s; }
.card:nth-child(3) { transition-delay: .16s; }
.card:nth-child(4) { transition-delay: .24s; }

.card-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #e8e8e8;
    margin-bottom: 18px;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.22,1,.36,1);
}

.card:hover .card-thumb img {
    transform: scale(1.06);
}

.card-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.3px;
    margin-bottom: 10px;
}

.card-meta {
    font-size: 13px;
    font-weight: 300;
    color: var(--gray-mid);
}

.card-tags {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    margin: 0;
}

.card-tags li {
    font-size: 13px;
    font-weight: 300;
    color: var(--gray-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.card-tags li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--black);
    border-radius: 50%;
    flex-shrink: 0;
}

/*------------------------------------*\
    POST / ARTICLE STYLES
\*------------------------------------*/
.article-content {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 60px var(--pad);
}
.article-content:has(> section),
.article-content:has(> .content-section) {
    padding: 0;
    max-width: 100%;
}
.article-content > section,
.article-content > .content-section {
    max-width: 100%;
}

.article-content h2 {
    margin-top: 2em;
    margin-bottom: 0.5em;
}
.article-content h2:first-child,
.article-content > section:first-child h2:first-child {
    margin-top: 0;
}

.article-content h3 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.article-content p {
    font-size: 17px;
    line-height: 1.8;
}

.article-content img {
    margin: 2em 0;
    width: 100%;
}

.article-content blockquote {
    margin: 2em 0;
    padding: 30px 40px;
    background: var(--gray-light);
    border-left: 4px solid var(--black);
    font-size: 20px;
    font-style: italic;
    font-weight: 300;
}

.article-content blockquote p {
    margin: 0;
    color: var(--black);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
    font-size: 13px;
    color: var(--gray-mid);
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta-item::before {
    content: '•';
    font-size: 8px;
}

.article-meta-item:first-child::before {
    display: none;
}

/*------------------------------------*\
    FEATURED IMAGE
\*------------------------------------*/
.featured-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--gray-light);
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-image-wide {
    aspect-ratio: 21/9;
    transition: background-color 0.3s ease;
}
.featured-image-wide img {
    object-fit: none;
    object-position: center;
}

/*------------------------------------*\
    SERVICES GRID
\*------------------------------------*/
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid #e0e0e0;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 20px;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease, background .3s;
    text-decoration: none;
    color: inherit;
}

.service-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-item:hover {
    background: #f7f7f7;
}

.service-item:nth-child(odd) {
    border-right: 1px solid #e0e0e0;
}

.service-item:nth-child(2) { transition-delay: .06s; }
.service-item:nth-child(3) { transition-delay: .12s; }
.service-item:nth-child(4) { transition-delay: .18s; }
.service-item:nth-child(5) { transition-delay: .24s; }
.service-item:nth-child(6) { transition-delay: .30s; }

.service-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--black);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--black);
    fill: none;
}

.service-info {
    flex: 1;
}

.service-cat {
    font-size: 11px;
    font-weight: 300;
    color: var(--gray-mid);
    letter-spacing: .3px;
    margin-bottom: 3px;
}

.service-cat::before {
    content: '•';
    margin-right: 4px;
    font-size: 8px;
}

.service-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.2px;
}

.service-arrow {
    font-size: 18px;
    color: var(--gray-mid);
    transition: transform .3s, color .3s;
    flex-shrink: 0;
}

.service-item:hover .service-arrow {
    transform: translateX(4px);
    color: var(--black);
}

/*------------------------------------*\
    COUNTERS
\*------------------------------------*/
.counters-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 60px 0;
}

.counter-item {
    width: clamp(100px, 14vw, 180px);
    aspect-ratio: 1;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(.8);
    transition: all .8s cubic-bezier(.22,1,.36,1);
}

.counter-item.visible {
    opacity: 1;
    transform: scale(1);
}

.counter-item:nth-child(2) { transition-delay: .08s; }
.counter-item:nth-child(3) { transition-delay: .16s; }
.counter-item:nth-child(4) { transition-delay: .24s; }

.counter-item.filled {
    background: var(--gray-light);
}

.counter-item.outlined {
    border: 1.5px solid #ccc;
}

.counter-number {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1px;
}

.counter-label {
    font-size: 13px;
    font-weight: 300;
    color: var(--gray-dark);
    margin-top: 6px;
}

/*------------------------------------*\
    CTA BANNER
\*------------------------------------*/
.cta-banner {
    background: #f3f3f3;
    padding: 100px 0;
    text-align: center;
}

.cta-banner-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    transition: all .8s cubic-bezier(.22,1,.36,1);
}

.cta-banner-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/*------------------------------------*\
    MV SECTION (Mission/Vision)
\*------------------------------------*/
 /* ===== MISSION / VISION / AWARDS ===== */
        .mv-section { padding: 100px 0 60px; }
        .mv-items { display: flex; flex-direction: column; gap: 50px; }
        .mv-item {
            display: flex; align-items: flex-start; gap: 40px;
            border-top: 1.5px solid #ddd; padding-top: 30px;
            opacity: 0; transform: translateY(30px);
            transition: all .8s cubic-bezier(.22,1,.36,1);
        }
        .mv-item.visible { opacity: 1; transform: translateY(0); }
        .mv-item:nth-child(1) { max-width: 580px; margin-left: 0; }
        .mv-item:nth-child(2) { max-width: 580px; margin-left: auto; margin-right: auto; transition-delay: .12s; }
        .mv-item:nth-child(3) { max-width: 580px; margin-left: auto; transition-delay: .24s; }
        .mv-label {
            font-family: var(--font-display); font-size: clamp(20px,2.5vw,28px);
            font-weight: 700; white-space: nowrap; letter-spacing: -.5px;
        }
        .mv-label::before { content: '•'; margin-right: 8px; }
        .mv-text { font-size: 15px; font-weight: 300; line-height: 1.8; color: var(--gray-dark); padding-top: 4px; }

/*------------------------------------*\
    WHY SECTION
\*------------------------------------*/
.why-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.why-right {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.why-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all .7s cubic-bezier(.22,1,.36,1);
}

.why-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.why-item:nth-child(2) { transition-delay: .1s; }
.why-item:nth-child(3) { transition-delay: .2s; }

.why-number {
    font-size: 12px;
    font-weight: 300;
    color: var(--gray-mid);
    margin-bottom: 10px;
    letter-spacing: .5px;
}

.why-item-title {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 700;
    letter-spacing: -.5px;
    line-height: 1.25;
    margin-bottom: 12px;
}

.why-item-text {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--gray-dark);
    margin: 0;
}

/*------------------------------------*\
    WIDE IMAGE
\*------------------------------------*/
.wide-image {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16/6;
    background: #e0e0e0;
}

.wide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*------------------------------------*\
    PARTNER LOGOS
\*------------------------------------*/
.partner-logos {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.logos-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.logo-item {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -.3px;
    opacity: .7;
    transition: opacity .3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-item:hover {
    opacity: 1;
}

.logo-item svg {
    width: 28px;
    height: 28px;
}

/*------------------------------------*\
    FOOTER
\*------------------------------------*/
.footer {
    background: var(--black);
    color: var(--white);
    padding: 70px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-brand .logo {
    color: var(--white);
    font-size: 22px;
    display: inline-block;
    margin-bottom: 18px;
}

.footer-brand-text {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.7;
    color: #888;
    max-width: 280px;
}

.footer-col-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: .2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    font-size: 13px;
    font-weight: 300;
    color: #888;
    transition: color .3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 300;
    color: #666;
}

.footer-bottom-item .lbl {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #555;
}

/*------------------------------------*\
    FORMS
\*------------------------------------*/
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    color: var(--black);
    background: transparent;
    border: none;
    border-bottom: 1.5px solid #ddd;
    border-radius: 0;
    transition: border-color .3s;
    outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
    border-color: var(--black);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

input[type="submit"],
button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    background: var(--black);
    border: none;
    cursor: pointer;
    transition: background .3s;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
    background: #333;
}

/* Contact Form 7 */
.wpcf7-form p {
    margin-bottom: 20px;
}

.wpcf7-submit {
    margin-top: 10px;
}

/*------------------------------------*\
    PAGINATION
\*------------------------------------*/
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 60px 0;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    background: transparent;
    border: 1.5px solid #ddd;
    transition: all .3s;
}

.pagination a:hover {
    border-color: var(--black);
    color: var(--black);
}

.pagination .current {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

/*------------------------------------*\
    COMMENTS
\*------------------------------------*/
.comments-section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 60px var(--pad);
    border-top: 1px solid #eee;
}

.comments-title {
    font-size: 24px;
    margin-bottom: 40px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.comment-author {
    font-weight: 600;
    margin-bottom: 8px;
}

.comment-meta {
    font-size: 13px;
    color: var(--gray-mid);
    margin-bottom: 15px;
}

.comment-content p {
    margin: 0;
}

.comment-reply-link {
    font-size: 13px;
    font-weight: 500;
    margin-top: 15px;
    display: inline-block;
}

/*------------------------------------*\
    404 PAGE
\*------------------------------------*/
.error-404 {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px var(--pad);
}

.error-404 h1 {
    font-size: clamp(100px, 20vw, 200px);
    letter-spacing: -8px;
    line-height: 1;
    margin-bottom: 20px;
}

.error-404 p {
    font-size: 18px;
    margin-bottom: 30px;
}

/*------------------------------------*\
    SEARCH
\*------------------------------------*/
.search-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
}

.search-form input[type="search"] {
    flex: 1;
}

.search-form button {
    flex-shrink: 0;
}

/*------------------------------------*\
    ANIMATIONS
\*------------------------------------*/
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all .7s cubic-bezier(.22,1,.36,1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    :root {
        --pad: 24px;
    }

    .nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-overlay {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .page-header {
        padding-top: 100px;
    }

    .hero-large {
        padding-top: 90px;
    }

    .hero-title .word {
        font-size: 70px;
        letter-spacing: -3px;
    }

    .mv-item:nth-child(2),
    .mv-item:nth-child(3) {
        margin-left: 0;
    }

    .counters-section {
        flex-wrap: wrap;
        gap: 16px;
    }

    .counter-item {
        width: 120px;
    }

    .grid-4,
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-item:nth-child(odd) {
        border-right: none;
    }

    .why-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .logos-row {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    :root {
        --pad: 16px;
    }

    .content-section {
        padding: 50px 0;
    }

    .article-content {
        padding: 40px var(--pad);
    }

    .article-content:has(> section),
    .article-content:has(> .content-section) {
        padding: 0;
    }

    .page-header {
        padding: 80px 0 40px;
    }

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        gap: 10px;
    }

    .hero-title .word {
        font-size: 48px;
    }
}

@media (max-width: 480px) {
    .hero-title .word {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .counter-item {
        width: 100px;
    }

    .counter-number {
        font-size: 20px;
    }

    .page-title {
        font-size: 36px;
        letter-spacing: -1px;
    }
}

/*------------------------------------*\
    UTILITY CLASSES
\*------------------------------------*/
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 60px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 60px; }

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

.bg-light { background: var(--gray-light); }
.bg-dark { background: var(--black); color: var(--white); }

/*------------------------------------*\
    CONTACT FORM 7
\*------------------------------------*/
.wpcf7-form .form-row {
    margin-bottom: 20px;
}
.wpcf7-form .privacy-acceptance {
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.6;
}
.wpcf7-form .privacy-acceptance .wpcf7-list-item {
    margin: 0;
}
.wpcf7-form .privacy-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.wpcf7-form .privacy-acceptance input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--black);
}
.wpcf7-form .privacy-acceptance a {
    text-decoration: underline;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #ddd;
    font-family: var(--font-sans);
    font-size: 15px;
    transition: border-color 0.3s ease;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--black);
}
.wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}
.wpcf7-form input[type="submit"] {
    cursor: pointer;
}
.wpcf7-spinner {
    display: none;
}
.wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 16px 20px !important;
    border: none !important;
    font-size: 14px;
}
.wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
}
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background: #f8d7da;
    color: #721c24;
}
.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 13px;
    margin-top: 6px;
}
