/* Porto SEO - Mobile-First Responsive CSS */
/* Colors: #0046FF (primary), #73C8D2 (secondary), #F5F1DC (cream), #FF9013 (accent) */

/* ============================================
   CSS RESET & BASE STYLES (Mobile First - 320px)
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #0046FF;
    --primary-dark: #0035CC;
    --secondary: #73C8D2;
    --secondary-dark: #5AB5C0;
    --cream: #F5F1DC;
    --accent: #FF9013;
    --accent-dark: #E68000;
    --white: #FFFFFF;
    --black: #1A1A2E;
    --gray-50: #FAFBFC;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Poppins', var(--font-primary);

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--cream);
    overflow-x: hidden;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   TYPOGRAPHY (Mobile First)
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
}

h1 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 0.875rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.125rem;
    margin-bottom: 0.625rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.lead {
    font-size: 1.0625rem;
    color: var(--gray-600);
}

/* ============================================
   LAYOUT & CONTAINER
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 3rem 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    min-height: 48px;
    min-width: 48px;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 70, 255, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 70, 255, 0.4);
}

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

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

.btn-accent {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 144, 19, 0.3);
}

.btn-accent:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ============================================
   HEADER & NAVIGATION (Mobile First)
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    height: 64px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--black);
    z-index: 1001;
    flex-shrink: 0;
    text-decoration: none;
}

.logo:hover {
    color: var(--black);
}

.logo svg {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-text span:first-child {
    font-size: 1.125rem;
    color: var(--primary);
    font-weight: 700;
}

.logo-text span:last-child {
    font-size: 0.6875rem;
    color: var(--gray-500);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
    margin-right: -10px;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-800);
    transition: var(--transition);
    border-radius: 1px;
}

.mobile-menu-toggle span:nth-child(1) {
    margin-bottom: 5px;
}

.mobile-menu-toggle span:nth-child(2) {
    margin-bottom: 5px;
}

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

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

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

/* Mobile Navigation */
.main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    padding: 80px 1.5rem 2rem;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
}

.main-nav.active {
    right: 0;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
    backdrop-filter: blur(2px);
}

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

.nav-list {
    display: flex;
    flex-direction: column;
}

.nav-item {
    border-bottom: 1px solid var(--gray-100);
}

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

.nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 0;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9375rem;
    min-height: 48px;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

/* Dropdown (Mobile) */
.has-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.dropdown-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.has-dropdown.open .dropdown-toggle svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    padding: 0.25rem 0 0.5rem 1rem;
    background: var(--gray-50);
    margin: 0 -1.5rem;
    padding-left: 2.5rem;
    padding-right: 1.5rem;
}

.has-dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 0.625rem 0;
    color: var(--gray-600);
    font-size: 0.875rem;
    min-height: 40px;
    transition: color 0.2s ease;
}

.dropdown-menu a:hover {
    color: var(--primary);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
    padding: 1.25rem 0 0;
    border-top: 1px solid var(--gray-200);
    margin-top: 1rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    color: var(--gray-600);
    background: var(--gray-100);
    min-height: 40px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

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

.lang-btn:hover:not(.active) {
    background: var(--gray-200);
    color: var(--gray-800);
}

/* Header CTA (hidden on mobile) */
.header-cta {
    display: none;
}

/* ============================================
   HERO SECTION (Mobile First)
   ============================================ */
.hero {
    padding-top: 5.5rem;
    padding-bottom: 3rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 50%, var(--cream) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 70, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    order: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-xl);
    font-size: 0.8125rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

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

.hero h1 .highlight {
    color: var(--primary);
    position: relative;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--secondary);
    opacity: 0.5;
    z-index: -1;
}

.hero-text {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-visual {
    order: 1;
    display: flex;
    justify-content: center;
}

.hero-image {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.hero-graphic {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero-graphic::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.1) 50%, transparent 55%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.hero-graphic svg {
    width: 60%;
    height: 60%;
    fill: var(--white);
}

/* Floating Elements */
.floating-element {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    bottom: 20%;
    right: -5%;
    animation-delay: 1s;
}

.floating-element:nth-child(3) {
    bottom: 5%;
    left: 5%;
    animation-delay: 2s;
}

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

.floating-element.success { color: #10B981; }
.floating-element.warning { color: var(--accent); }
.floating-element.info { color: var(--primary); }

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

/* Hero Stats */
.hero-stats {
    display: none;
}

/* ============================================
   SERVICES SECTION (Mobile First)
   ============================================ */
.services-section {
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.service-card {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    background: var(--white);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
    fill: none;
    stroke-width: 2;
}

.service-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9375rem;
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

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

/* ============================================
   STATS SECTION (Mobile First)
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-number span {
    color: var(--secondary);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* ============================================
   TESTIMONIALS SECTION (Mobile First)
   ============================================ */
.testimonials-section {
    background: var(--cream);
}

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    fill: var(--accent);
}

.testimonial-text {
    font-size: 0.9375rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.125rem;
}

.author-info h4 {
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
}

.author-info span {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* ============================================
   CTA SECTION (Mobile First)
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--black) 0%, var(--gray-900) 100%);
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.cta-section p {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   WHAT WE DO - KEYWORD CAROUSEL (Mobile First)
   ============================================ */
.what-we-do-section {
    background: var(--white);
    overflow: hidden;
}

.what-we-do-section .section-header {
    padding-bottom: 1.5rem;
}

.keyword-carousel-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0 2rem;
}

.keyword-carousel-row {
    overflow: hidden;
    position: relative;
    padding: 0.25rem 0;
}

.keyword-carousel-row::before,
.keyword-carousel-row::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.keyword-carousel-row::before {
    left: 0;
    background: linear-gradient(90deg, var(--white) 0%, transparent 100%);
}

.keyword-carousel-row::after {
    right: 0;
    background: linear-gradient(270deg, var(--white) 0%, transparent 100%);
}

.keyword-carousel-track {
    display: flex;
    gap: 0.75rem;
    animation: carouselScroll var(--carousel-duration, 240s) linear infinite;
    animation-direction: var(--carousel-direction, normal);
    width: max-content;
}

.keyword-carousel-row:hover .keyword-carousel-track {
    animation-play-state: paused;
}

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

.keyword-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-family: inherit;
}

.keyword-tag:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 70, 255, 0.3);
}

.keyword-tag svg {
    width: 16px;
    height: 16px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.keyword-tag:hover svg {
    opacity: 1;
}

/* Keyword Modal */
.keyword-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.keyword-modal.active {
    opacity: 1;
    visibility: visible;
}

.keyword-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.keyword-modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
}

.keyword-modal.active .keyword-modal-content {
    transform: translateY(0) scale(1);
}

.keyword-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-100);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: all 0.2s ease;
    z-index: 10;
}

.keyword-modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

.keyword-modal-close svg {
    width: 20px;
    height: 20px;
}

.keyword-modal-header {
    padding: 1.5rem 3.5rem 1rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    flex-shrink: 0;
}

.keyword-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin: 0;
    text-transform: capitalize;
}

.keyword-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.keyword-modal-body h1,
.keyword-modal-body h2,
.keyword-modal-body h3,
.keyword-modal-body h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.keyword-modal-body h1:first-child,
.keyword-modal-body h2:first-child,
.keyword-modal-body h3:first-child {
    margin-top: 0;
}

.keyword-modal-body p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.keyword-modal-body ul,
.keyword-modal-body ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.keyword-modal-body li {
    margin-bottom: 0.5rem;
    list-style: disc;
}

.keyword-modal-body ol li {
    list-style: decimal;
}

.keyword-modal-body a {
    color: var(--primary);
    text-decoration: underline;
}

.keyword-modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 1rem 0;
}

/* ============================================
   HOME CONTACT SECTION (Mobile First)
   ============================================ */
.home-contact-section {
    background: linear-gradient(135deg, var(--black) 0%, var(--gray-900) 100%);
    position: relative;
    overflow: hidden;
}

.home-contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 60%);
    opacity: 0.1;
    pointer-events: none;
}

.home-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.home-contact-info {
    color: var(--white);
}

.home-contact-info .section-label {
    color: var(--secondary);
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
}

.home-contact-info .section-title {
    color: var(--white);
    font-size: 1.75rem;
}

.home-contact-info > p {
    color: var(--gray-400);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.home-contact-features {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-300);
    font-size: 0.9375rem;
}

.contact-feature svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.home-contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
}

.home-contact-form .form-group {
    margin-bottom: 1rem;
}

.home-contact-form .form-group label {
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
}

.home-contact-form .form-group input,
.home-contact-form .form-group select,
.home-contact-form .form-group textarea {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
}

.home-contact-form .form-group textarea {
    min-height: 100px;
}

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

/* ============================================
   FOOTER (Mobile First)
   ============================================ */
.footer {
    background: var(--black);
    color: var(--gray-400);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--gray-400);
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-800);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.footer-legal a {
    color: var(--gray-500);
}

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

/* ============================================
   ABOUT PAGE (Mobile First)
   ============================================ */
.about-hero {
    padding-top: 5.5rem;
    padding-bottom: 2rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

.about-hero-content {
    text-align: center;
}

.story-section {
    background: var(--white);
}

.story-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.story-text h2 {
    margin-bottom: 1rem;
}

.story-text p {
    margin-bottom: 1rem;
}

.story-image {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-image svg {
    width: 50%;
    fill: var(--white);
    opacity: 0.9;
}

.mission-section {
    background: var(--cream);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.mission-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}

.mission-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.mission-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
    fill: none;
    stroke-width: 2;
}

.values-section {
    background: var(--white);
}

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

.value-card {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.value-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.value-content h4 {
    margin-bottom: 0.25rem;
}

.value-content p {
    font-size: 0.9375rem;
    margin: 0;
}

/* ============================================
   PROCESS PAGE (Mobile First)
   ============================================ */
.process-hero {
    padding-top: 5.5rem;
    padding-bottom: 2rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    text-align: center;
}

.process-steps {
    background: var(--white);
}

.steps-container {
    position: relative;
}

.step-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 23px;
    top: 48px;
    width: 2px;
    height: calc(100% - 48px + 2rem);
    background: var(--gray-200);
}

.step-content {
    flex: 1;
    padding-top: 0.5rem;
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.9375rem;
    margin: 0;
}

/* FAQ Accordion */
.faq-section {
    background: var(--cream);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    color: var(--gray-800);
    background: var(--white);
    border: none;
    cursor: pointer;
    min-height: 56px;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.25rem 1.25rem;
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ============================================
   CONTACT PAGE (Mobile First)
   ============================================ */
.contact-hero {
    padding-top: 5.5rem;
    padding-bottom: 2rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    text-align: center;
}

.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-form {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    transition: var(--transition);
    min-height: 48px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 70, 255, 0.1);
}

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

.form-submit {
    width: 100%;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-card {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-info-card svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.contact-info-card p {
    font-size: 0.9375rem;
    margin: 0;
    color: var(--gray-600);
}

.contact-info-card a {
    color: var(--gray-800);
}

/* Map placeholder */
.contact-map {
    height: 250px;
    background: var(--gray-200);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
}

/* ============================================
   SERVICE PAGES (Mobile First)
   ============================================ */
.service-hero {
    padding-top: 5.5rem;
    padding-bottom: 2rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

.service-hero-content {
    text-align: center;
}

.service-hero .hero-badge {
    margin-bottom: 1rem;
}

/* Benefits Grid */
.benefits-section {
    background: var(--white);
}

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

.benefit-card {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
    fill: none;
    stroke-width: 2;
}

/* Process Timeline (for service pages) */
.service-process {
    background: var(--cream);
}

/* Deliverables List */
.deliverables-section {
    background: var(--white);
}

.deliverables-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.deliverable-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gray-100);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
}

.deliverable-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
}

/* Related Services */
.related-services {
    background: var(--cream);
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.related-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.related-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.related-card svg {
    width: 40px;
    height: 40px;
    color: var(--primary);
    flex-shrink: 0;
}

.related-card h4 {
    font-size: 1rem;
    margin: 0;
}

/* ============================================
   BLOG (Mobile First)
   ============================================ */
.blog-hero {
    padding-top: 5.5rem;
    padding-bottom: 2rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.blog-card-image {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image svg {
    width: 48px;
    height: 48px;
    fill: var(--white);
    opacity: 0.5;
}

.blog-card-content {
    padding: 1.25rem;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.blog-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.blog-card h3 a {
    color: var(--black);
}

.blog-card h3 a:hover {
    color: var(--primary);
}

.blog-card p {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9375rem;
}

.read-more svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.blog-card:hover .read-more svg {
    transform: translateX(4px);
}

/* Blog Post */
.blog-post-hero {
    padding-top: 5.5rem;
    padding-bottom: 2rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.blog-post-content {
    background: var(--white);
    padding: 2rem 0;
}

.blog-post-content .container {
    max-width: 800px;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.blog-post-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
    list-style: disc;
}

.blog-post-content ol li {
    list-style: decimal;
}

/* ============================================
   404 PAGE
   ============================================ */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: var(--cream);
}

.error-content {
    max-width: 500px;
}

.error-code {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-content h1 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.error-content p {
    margin-bottom: 1.5rem;
}

/* ============================================
   SERVICES LISTING PAGE
   ============================================ */
.services-hero {
    padding-top: 5.5rem;
    padding-bottom: 2rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    text-align: center;
}

.all-services-section {
    background: var(--white);
}

.all-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-full-card {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.service-full-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-full-image {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-full-image svg {
    width: 64px;
    height: 64px;
    stroke: var(--white);
    fill: none;
    stroke-width: 1.5;
}

.service-full-content {
    padding: 1.5rem;
}

.service-full-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.service-full-content p {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.875rem;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    color: var(--gray-400);
}

.breadcrumb-list a {
    color: var(--gray-600);
}

.breadcrumb-list a:hover {
    color: var(--primary);
}

.breadcrumb-list li:last-child {
    color: var(--gray-800);
    font-weight: 500;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none; }

/* Form Messages */
.form-message {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    font-weight: 500;
}

.form-message.success {
    background: #D1FAE5;
    color: #065F46;
}

.form-message.error {
    background: #FEE2E2;
    color: #991B1B;
}

/* ============================================
   TABLET BREAKPOINT (576px+)
   ============================================ */
@media (min-width: 576px) {
    .container {
        padding: 0 1.5rem;
    }

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

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

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

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

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

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

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

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

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

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

    /* Home contact form tablet */
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Keyword carousel tablet */
    .keyword-carousel-row::before,
    .keyword-carousel-row::after {
        width: 100px;
    }

    .keyword-tag {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
    }

    .keyword-modal-header {
        padding: 2rem 4rem 1.25rem 2rem;
    }

    .keyword-modal-body {
        padding: 2rem;
    }

    .keyword-modal-title {
        font-size: 1.5rem;
    }
}

/* ============================================
   TABLET/DESKTOP BREAKPOINT (768px+)
   ============================================ */
@media (min-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .btn-group {
        flex-direction: row;
        justify-content: center;
    }

    /* Desktop Header */
    .header {
        height: 72px;
    }

    /* Desktop Navigation */
    .mobile-menu-toggle {
        display: none;
    }

    .main-nav {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .nav-overlay {
        display: none;
    }

    .nav-list {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }

    .nav-item {
        border-bottom: none;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
        min-height: auto;
        white-space: nowrap;
    }

    /* Desktop Dropdown */
    .has-dropdown {
        position: relative;
    }

    .dropdown-toggle svg {
        width: 14px;
        height: 14px;
    }

    .dropdown-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 50%;
        transform: translateX(-50%);
        background: var(--white);
        min-width: 220px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
        padding: 0.5rem;
        display: none;
        z-index: 1000;
        margin: 0;
        border: 1px solid var(--gray-100);
    }

    .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -8px;
        left: 50%;
        transform: translateX(-50%);
        border: 8px solid transparent;
        border-bottom-color: var(--white);
        border-top: none;
    }

    .has-dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 0.625rem 1rem;
        border-radius: var(--radius-sm);
        min-height: auto;
        font-size: 0.875rem;
    }

    .dropdown-menu a:hover {
        background: var(--gray-100);
    }

    /* Desktop Lang Switcher */
    .lang-switcher {
        border-top: none;
        margin-top: 0;
        padding: 0;
        margin-left: 0.25rem;
        gap: 0.25rem;
    }

    .lang-btn {
        padding: 0.375rem 0.625rem;
        font-size: 0.75rem;
        min-height: 32px;
        min-width: 32px;
    }

    .header-cta {
        display: flex;
        align-items: center;
        margin-left: 0.75rem;
        flex-shrink: 0;
    }

    .header-cta .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
        min-height: 36px;
        white-space: nowrap;
    }

    /* Logo adjustments for desktop */
    .logo svg {
        width: 40px;
        height: 40px;
    }

    .logo-text span:first-child {
        font-size: 1.25rem;
    }

    .logo-text span:last-child {
        font-size: 0.75rem;
    }

    /* Hero Desktop */
    .hero {
        padding-top: 7.5rem;
        padding-bottom: 4rem;
    }

    .about-hero,
    .process-hero,
    .contact-hero,
    .service-hero,
    .blog-hero,
    .blog-post-hero,
    .services-hero {
        padding-top: 7rem;
    }

    .hero-container {
        flex-direction: row;
        text-align: left;
        align-items: center;
    }

    .hero-content {
        order: 1;
        flex: 1;
    }

    .hero-visual {
        order: 2;
        flex: 1;
    }

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

    .hero-text {
        margin-left: 0;
        margin-right: 0;
    }

    .btn-group {
        justify-content: flex-start;
    }

    .hero-image {
        max-width: 400px;
    }

    .hero-stats {
        display: flex;
        gap: 2rem;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid var(--gray-200);
    }

    .hero-stat {
        text-align: left;
    }

    .hero-stat-number {
        font-family: var(--font-heading);
        font-size: 1.75rem;
        font-weight: 700;
        color: var(--primary);
    }

    .hero-stat-label {
        font-size: 0.875rem;
        color: var(--gray-600);
    }

    /* Stats Desktop */
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

    /* Testimonials Desktop */
    .testimonials-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .testimonial-card:nth-child(3),
    .testimonial-card:nth-child(4) {
        display: block;
    }

    /* Contact Desktop */
    .contact-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .contact-form {
        padding: 2rem;
    }

    /* Story Desktop */
    .story-content {
        flex-direction: row;
        align-items: center;
    }

    .story-text {
        flex: 1;
    }

    .story-image {
        flex: 1;
    }

    /* Home contact desktop */
    .home-contact-grid {
        grid-template-columns: 1fr 1.1fr;
        gap: 4rem;
        align-items: center;
    }

    .home-contact-info .section-title {
        font-size: 2.25rem;
    }

    .home-contact-form {
        padding: 2rem;
    }

    .home-contact-features {
        gap: 1rem;
    }

    /* Footer Desktop */
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ============================================
   DESKTOP BREAKPOINT (992px+)
   ============================================ */
@media (min-width: 992px) {
    .container {
        padding: 0 2rem;
    }

    .section {
        padding: 5rem 0;
    }

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

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

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

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

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

    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================
   LARGE DESKTOP BREAKPOINT (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

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

    .hero-image {
        max-width: 480px;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .cta-section h2 {
        font-size: 2.25rem;
    }
}

/* ============================================
   EXTRA LARGE DESKTOP (1200px+)
   ============================================ */
@media (min-width: 1200px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-image {
        max-width: 520px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .header,
    .footer,
    .mobile-menu-toggle,
    .btn {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .section {
        padding: 1rem 0;
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger animation for grid items */
.services-grid .service-card,
.benefits-grid .benefit-card,
.testimonials-grid .testimonial-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.services-grid .service-card:nth-child(1) { animation-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { animation-delay: 0.2s; }
.services-grid .service-card:nth-child(3) { animation-delay: 0.3s; }
.services-grid .service-card:nth-child(4) { animation-delay: 0.4s; }
.services-grid .service-card:nth-child(5) { animation-delay: 0.5s; }
.services-grid .service-card:nth-child(6) { animation-delay: 0.6s; }

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
