/* ========================================
   BALGIO - Styles principaux
   Version: 1.0
   Palette: #FBAB56, Noir, Blanc
======================================== */

:root {
    --primary: #0a0a0a;
    --accent: #FBAB56;
    --accent-hover: #e99a45;
    --accent-light: #FFF8F0;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-500: #737373;
    --gray-600: #525252;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========================================
   Animations
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Navigation
======================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 4rem;
    transition: 0.3s ease;
}

header.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    transition: 0.3s ease;
}

.nav-cta:hover {
    background: var(--accent);
    color: var(--primary) !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: 0.3s ease;
}

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

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

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

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 1.1rem 2.25rem;
    border-radius: 8px;
    transition: 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(251, 171, 86, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: var(--gray-50);
}

.btn-large {
    padding: 1.25rem 2.75rem;
    font-size: 1.05rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary);
    transition: 0.3s ease;
}

.link-arrow svg {
    width: 20px;
    height: 20px;
    transition: 0.3s ease;
}

.link-arrow:hover {
    color: var(--accent);
}

.link-arrow:hover svg {
    transform: translateX(4px);
}

/* ========================================
   Section Components
======================================== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--accent);
}

/* ========================================
   Page Header
======================================== */
.page-header {
    padding: 10rem 4rem 5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 50%, var(--accent-light) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
}

.page-header h1 {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-header h1 .highlight {
    color: var(--accent);
}

.page-header p {
    font-size: 1.15rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ========================================
   Hero Section
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 4rem 4rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 50%, var(--accent-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.12;
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content .section-label {
    animation: fadeInUp 0.6s ease forwards;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 4.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.hero-content h1 .highlight {
    color: var(--accent);
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--gray-600);
    max-width: 480px;
    margin-bottom: 2.5rem;
    line-height: 1.75;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.hero-visual {
    position: relative;
    animation: fadeIn 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-image-main {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 80px rgba(0,0,0,0.12);
}

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

/* Floating Card */
.hero-floating-card {
    position: absolute;
    bottom: -30px;
    left: -40px;
    background: var(--white);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 4s ease-in-out infinite;
    min-width: 320px;
}

.hero-floating-card .icon-container {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.hero-floating-card .icon-container svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    position: absolute;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.hero-floating-card .icon-container svg.active {
    opacity: 1;
    transform: scale(1);
}

.hero-floating-card .text-container {
    position: relative;
    height: 44px;
    overflow: hidden;
    flex: 1;
}

.rotating-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.rotating-item.active {
    opacity: 1;
    transform: translateY(0);
}

.rotating-item.exit {
    opacity: 0;
    transform: translateY(-20px);
}

.rotating-item strong {
    display: block;
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 2px;
}

.rotating-item span {
    font-size: 0.8rem;
    color: var(--gray-500);
    display: block;
}

/* ========================================
   Clients Banner (Marquee)
======================================== */
.clients-banner {
    background: var(--primary);
    padding: 2.5rem 0;
    overflow: hidden;
    position: relative;
}

.clients-banner::before,
.clients-banner::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.clients-banner::before {
    left: 0;
    background: linear-gradient(to right, var(--primary) 0%, transparent 100%);
}

.clients-banner::after {
    right: 0;
    background: linear-gradient(to left, var(--primary) 0%, transparent 100%);
}

.clients-banner-inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.clients-banner p {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.marquee-container {
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}

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

.marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
}

.marquee-item img {
    max-height: 40px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.6;
    filter: brightness(0) invert(1);
    transition: 0.3s ease;
}

.marquee-item:hover img {
    opacity: 1;
}

/* Legacy scroll styles (kept for compatibility) */
.clients-logos-scroll {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.client-logo-placeholder {
    padding: 0.75rem 1.5rem;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
    transition: 0.3s ease;
}

.client-logo-placeholder:hover {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.8);
}

.client-logo-img {
    height: 32px;
    width: auto;
    opacity: 0.7;
    transition: 0.3s ease;
}

.client-logo-img:hover {
    opacity: 1;
}

/* ========================================
   Intro Section
======================================== */
.intro {
    padding: 7rem 4rem;
}

.intro-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.intro-images {
    position: relative;
}

.intro-image-1 {
    width: 85%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

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

.intro-image-2 {
    width: 55%;
    aspect-ratio: 1;
    background: var(--accent);
    border-radius: 12px;
    position: absolute;
    bottom: -40px;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px rgba(251, 171, 86, 0.25);
    overflow: hidden;
}

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

.intro-content h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.intro-content p {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.intro-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.intro-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.intro-feature .check {
    width: 28px;
    height: 28px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.intro-feature .check svg {
    width: 14px;
    height: 14px;
    stroke: var(--accent);
    stroke-width: 3;
}

.intro-feature span {
    font-weight: 500;
    color: var(--gray-600);
}

/* ========================================
   Services Section
======================================== */
.services {
    padding: 7rem 4rem;
    background: var(--gray-50);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.services-header h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.service-card {
    background: var(--white);
    padding: 2.25rem;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.4s ease;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--accent);
}

.service-card:hover .service-icon svg {
    stroke: var(--primary);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent);
    transition: 0.3s ease;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* Service Page Detailed */
.services-detailed {
    padding: 5rem 4rem;
}

.services-detailed-container {
    max-width: 1000px;
    margin: 0 auto;
}

.service-detail-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding: 4rem 0;
    border-bottom: 1px solid var(--gray-200);
    align-items: start;
}

.service-detail-item:last-child {
    border-bottom: none;
}

.service-detail-title {
    position: sticky;
    top: 120px;
}

.service-detail-title .service-icon {
    margin-bottom: 1.5rem;
}

.service-detail-title h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-detail-content p {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-detail-content ul {
    margin-top: 1.5rem;
}

.service-detail-content li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.service-detail-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* ========================================
   Clients Page
======================================== */
.clients-section {
    padding: 5rem 4rem;
}

.clients-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.client-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.client-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.client-card .client-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.client-card-logo {
    max-height: 50px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.7;
    transition: 0.3s ease;
}

.client-card:hover .client-card-logo {
    opacity: 1;
}

/* ========================================
   About Section
======================================== */
.about {
    padding: 7rem 4rem;
    background: var(--gray-50);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-photo {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-photo .placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    color: var(--gray-500);
    font-size: 0.9rem;
}

.about-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--accent);
    border-radius: 12px;
    z-index: -1;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--gray-200);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
    display: block;
}

/* ========================================
   Contact Section
======================================== */
.contact-section {
    padding: 5rem 4rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-wrapper h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.contact-form-wrapper > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 1rem 1.25rem;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(251, 171, 86, 0.1);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.cal-wrapper {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 2rem;
}

.cal-wrapper h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cal-wrapper > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.cal-embed {
    background: var(--white);
    border-radius: 12px;
    min-height: 500px;
    overflow: hidden;
}

/* ========================================
   Blog Section
======================================== */
.blog-section {
    padding: 5rem 4rem;
}

.blog-container {
    max-width: 900px;
    margin: 0 auto;
}

.blog-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--gray-50);
    border-radius: 16px;
}

.blog-empty h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-empty p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

/* ========================================
   CTA Section
======================================== */
.cta {
    padding: 8rem 4rem;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.15;
    border-radius: 50%;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2.5rem;
}

/* ========================================
   Floating CTA Button
======================================== */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 99;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent);
    color: var(--primary);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 40px rgba(251, 171, 86, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(251, 171, 86, 0.5);
    background: var(--accent-hover);
}

.floating-cta svg {
    width: 20px;
    height: 20px;
}

.floating-cta span {
    display: inline;
}

/* ========================================
   Footer
======================================== */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 4rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-main {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    color: rgba(255,255,255,0.4);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    transition: 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* ========================================
   Thank You Page
======================================== */
.thank-you {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 50%, var(--accent-light) 100%);
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: pulse 2s ease-in-out infinite;
}

.thank-you-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary);
}

.thank-you h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.thank-you p {
    font-size: 1.15rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 1024px) {
    .hero-container,
    .intro-container,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero {
        text-align: center;
        padding-top: 8rem;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-floating-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
        animation: none;
    }

    .intro-images {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-container {
        text-align: center;
    }

    .about-image {
        max-width: 320px;
        margin: 0 auto;
    }

    .service-detail-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-detail-title {
        position: static;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.25rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero, .intro, .services, .about, .cta,
    .page-header, .services-detailed, .clients-section,
    .contact-section, .blog-section, footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-floating-card {
        position: relative;
        left: auto;
        transform: none;
        bottom: auto;
        margin-top: 2rem;
        justify-content: flex-start;
        min-width: auto;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .clients-banner {
        padding: 2rem 1.5rem;
    }

    .clients-banner-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .clients-logos-scroll {
        justify-content: center;
        gap: 1rem;
    }

    .intro-images {
        display: none;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .floating-cta {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 1rem;
        border-radius: 50%;
    }

    .floating-cta span {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .client-card {
        padding: 1.5rem 1rem;
        min-height: 100px;
    }
}
