/* Valencia SEO - New Modern Design */
/* Inspired by wimpdecaf.com with playful, minimal aesthetic */
/* Color Palette: #62109F (Deep Purple), #DC0E0E (Red), #FE6244 (Orange), #FFDEB9 (Cream) */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    /* Primary Colors */
    --primary: #62109F;
    --primary-dark: #4A0C78;
    --primary-light: #7A1FC7;

    /* Accent Colors */
    --accent: #FE6244;
    --accent-dark: #E54E30;
    --accent-light: #FF8066;

    /* Secondary */
    --red: #DC0E0E;
    --red-light: #FF3333;
    --cream: #FFDEB9;
    --cream-light: #FFF3E0;

    /* Backgrounds */
    --bg-white: #FFFFFF;
    --bg-light: #FDF9F5;
    --bg-cream: #FFDEB9;
    --bg-dark: #1A1A1A;

    /* Text Colors */
    --text-dark: #1A1A1A;
    --text-body: #3D3D3D;
    --text-muted: #6B6B6B;
    --text-light: rgba(255,255,255,0.8);

    /* UI */
    --border: #E8E1DA;
    --border-dark: #D4C9BC;
    --shadow: rgba(98, 16, 159, 0.08);
    --shadow-lg: rgba(98, 16, 159, 0.15);
    --radius: 1.5rem;
    --radius-sm: 1rem;
    --radius-full: 50px;

    /* Typography */
    --font-main: 'Space Grotesk', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }

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

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

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

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 32px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: 2px solid transparent;
    text-decoration: none;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px rgba(98, 16, 159, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: white;
    transform: translateY(-3px);
}

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

.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(254, 98, 68, 0.3);
}

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

.btn-white:hover {
    background: var(--cream);
    border-color: var(--cream);
    transform: translateY(-3px);
}

.btn-outline-white {
    background: transparent;
    border-color: white;
    color: white;
}

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

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 249, 245, 0.95);
    backdrop-filter: blur(20px);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 30px var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.logo svg {
    width: 44px;
    height: 44px;
}

.logo:hover {
    color: var(--primary);
    transform: scale(1.02);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 12px 18px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

.nav-link:hover::after {
    width: 20px;
}

.nav-link.active {
    color: var(--primary);
    background: rgba(98, 16, 159, 0.08);
}

/* Dropdown */
.dropdown {
    position: relative;
}

/* Desktop: dropdown header wrapper */
.dropdown-header {
    display: flex;
    align-items: center;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
}

/* Hover effect on entire dropdown header */
.dropdown-header:hover {
    background: rgba(98, 16, 159, 0.08);
}

/* Underline effect for dropdown (like nav-link) */
.dropdown-header::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

.dropdown-header:hover::after {
    width: 20px;
}

/* Active state for dropdown header (on service pages) */
.dropdown-header.active,
.dropdown.active .dropdown-header {
    background: rgba(98, 16, 159, 0.08);
}

.dropdown-link {
    padding: 12px 4px 12px 18px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius-full) 0 0 var(--radius-full);
    transition: var(--transition);
}

.dropdown-header:hover .dropdown-link,
.dropdown-link:hover {
    color: var(--primary);
}

.dropdown-link.active {
    color: var(--primary);
}

.dropdown-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 10px 0 0;
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
    transition: var(--transition);
}

.dropdown-arrow svg {
    width: 14px;
    height: 14px;
    transition: var(--transition);
    color: var(--text-dark);
}

.dropdown-header:hover .dropdown-arrow svg {
    color: var(--primary);
}

.dropdown:hover .dropdown-arrow svg,
.dropdown.active .dropdown-arrow svg {
    transform: rotate(180deg);
}

/* Legacy support for dropdown-toggle */
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-toggle svg {
    width: 14px;
    height: 14px;
    transition: var(--transition);
}

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

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px var(--shadow-lg);
    min-width: 240px;
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 2px solid var(--border);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 14px 18px;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    min-height: 44px;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
    transform: translateX(4px);
}

.dropdown-menu a.active {
    background: var(--primary);
    color: white;
}

.dropdown-menu a.active:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateX(4px);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 20px;
    padding: 4px;
    background: var(--bg-white);
    border-radius: var(--radius-full);
    border: 2px solid var(--border);
}

.lang-btn {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.lang-btn:hover {
    color: var(--primary);
}

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

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 26px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

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

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

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

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 70%;
    height: 140%;
    background: radial-gradient(ellipse, rgba(255, 222, 185, 0.5) 0%, transparent 60%);
    pointer-events: none;
    animation: float 15s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(98, 16, 159, 0.05) 0%, transparent 60%);
    pointer-events: none;
    animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, -30px) rotate(5deg); }
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--cream);
    color: var(--text-dark);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 28px;
    border: 2px solid var(--border-dark);
    animation: badge-bounce 2s ease-in-out infinite;
}

@keyframes badge-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.hero-badge svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.hero h1 {
    margin-bottom: 28px;
    color: var(--text-dark);
}

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

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 12px;
    background: var(--cream);
    z-index: -1;
    transform: rotate(-1deg);
}

.hero-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    text-align: left;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: var(--border);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 500;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual svg {
    width: 100%;
    max-width: 480px;
    height: auto;
    animation: hero-float 6s ease-in-out infinite;
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

/* Section Styles */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

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

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

.section-dark {
    background: var(--primary);
    color: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--cream);
    color: var(--text-dark);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    border: 2px solid var(--border-dark);
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
}

/* Cards with Rotation Effect */
.card-rotate {
    transition: var(--transition-bounce);
}

.card-rotate:nth-child(3n+1) { transform: rotate(-2deg); }
.card-rotate:nth-child(3n+2) { transform: rotate(1deg); }
.card-rotate:nth-child(3n+3) { transform: rotate(-1deg); }

.card-rotate:hover {
    transform: rotate(0deg) translateY(-10px) scale(1.02);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 36px;
    text-decoration: none;
    transition: var(--transition-bounce);
    border: 2px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-light) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: rotate(-5deg) scale(1.1);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    margin-bottom: 14px;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
    flex-grow: 1;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    margin-top: 20px;
    transition: var(--transition);
}

.service-link::after {
    content: '→';
    transition: var(--transition);
}

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

.service-card:hover .service-link::after {
    transform: translateX(5px);
}

/* Carousel Section */
.carousel-section {
    padding: 100px 0;
    background: var(--bg-white);
    overflow: hidden;
}

.carousel-wrapper {
    margin: 50px 0;
}

.carousel-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    animation: scroll-left linear infinite;
}

.carousel-row:nth-child(1) { animation-duration: 240s; }
.carousel-row:nth-child(2) { animation-duration: 250s; animation-direction: reverse; }
.carousel-row:nth-child(3) { animation-duration: 260s; }

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

.carousel-item {
    flex-shrink: 0;
    padding: 14px 26px;
    background: var(--bg-light);
    border-radius: var(--radius-full);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: 2px solid var(--border);
    white-space: nowrap;
    font-size: 15px;
}

.carousel-item:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    transform: scale(1.08);
    box-shadow: 0 15px 40px rgba(98, 16, 159, 0.25);
}

/* Keyword Content (Hidden) */
.keyword-content {
    display: none;
}

/* Modal */
.keyword-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal-content {
    background: white;
    border-radius: var(--radius);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.9) translateY(20px);
    transition: var(--transition-bounce);
    border: 2px solid var(--border);
}

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

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 36px;
    border-bottom: 2px solid var(--border);
    background: var(--bg-light);
}

.modal-header h3 {
    font-size: 1.5rem;
}

.modal-close {
    width: 44px;
    height: 44px;
    border: 2px solid var(--border);
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 20px;
}

.modal-close:hover {
    background: var(--red);
    border-color: var(--red);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: 36px;
    overflow-y: auto;
    line-height: 1.9;
}

.modal-body h2 {
    font-size: 1.5rem;
    margin-top: 28px;
    margin-bottom: 14px;
}

.modal-body h2:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 18px;
}

.modal-body ul, .modal-body ol {
    margin: 18px 0;
    padding-left: 28px;
}

.modal-body li {
    margin-bottom: 10px;
}

/* About Preview Section */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-visual svg {
    width: 100%;
    max-width: 480px;
    height: auto;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 36px 0;
}

.about-feature {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 2px solid var(--border);
    transition: var(--transition);
}

.about-feature:hover {
    border-color: var(--primary);
    transform: translateX(8px);
}

.about-feature-icon {
    width: 56px;
    height: 56px;
    background: var(--cream);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.about-feature h4 {
    margin-bottom: 6px;
}

.about-feature p {
    color: var(--text-muted);
    font-size: 15px;
    margin: 0;
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-step {
    text-align: center;
    padding: 40px 28px;
    background: white;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    position: relative;
    transition: var(--transition-bounce);
}

.process-step:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px var(--shadow);
}

.process-step::after {
    content: '→';
    position: absolute;
    top: 50%;
    right: -18px;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--text-muted);
    font-weight: bold;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.process-step:hover .step-number {
    transform: scale(1.15) rotate(-5deg);
}

.process-step h3 {
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.process-step p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius);
    padding: 36px;
    border: 2px solid var(--border);
    transition: var(--transition-bounce);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    color: var(--cream);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 0 25px 50px var(--shadow);
    border-color: var(--primary);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 18px;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    font-size: 15px;
    color: var(--text-body);
    font-style: normal;
    margin-bottom: 24px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 2px solid var(--border);
}

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

.author-info strong {
    display: block;
    color: var(--text-dark);
    font-size: 15px;
}

.author-info span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    transition: var(--transition-bounce);
    border: 2px solid var(--border);
    display: block;
}

.blog-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 30px 60px var(--shadow-lg);
    border-color: var(--primary);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    position: relative;
    overflow: hidden;
}

.blog-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition);
}

.blog-card:hover .blog-image::after {
    opacity: 0.1;
}

.blog-image svg {
    width: 64px;
    height: 64px;
    opacity: 0.6;
}

.blog-content {
    padding: 28px;
}

.blog-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 14px;
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    background: var(--primary);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(255, 222, 185, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.contact-info {
    color: white;
}

.contact-info h2 {
    color: white;
    margin-bottom: 20px;
}

.contact-info > p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

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

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

.contact-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    border: 2px solid rgba(255,255,255,0.2);
}

.contact-item strong {
    display: block;
    color: white;
    margin-bottom: 4px;
    font-size: 15px;
}

.contact-item span,
.contact-item a {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
}

.contact-item a:hover {
    color: white;
}

/* Contact Form */
.contact-form-card {
    background: white;
    border-radius: var(--radius);
    padding: 44px;
    border: 2px solid var(--border);
}

.contact-form-card h3 {
    margin-bottom: 28px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(98, 16, 159, 0.1);
}

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

.form-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 16px;
}

/* SEO Text Section */
.seo-text {
    padding: 100px 0;
    background: var(--bg-white);
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
}

.seo-content h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.seo-content h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 18px;
}

.seo-content p {
    color: var(--text-body);
    line-height: 1.9;
    margin-bottom: 18px;
}

.seo-content ul,
.seo-content ol {
    margin: 24px 0;
    padding-left: 28px;
}

.seo-content li {
    margin-bottom: 14px;
    line-height: 1.8;
    color: var(--text-body);
}

.seo-content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 2px solid var(--cream);
    transition: var(--transition);
}

.seo-content a:hover {
    border-bottom-color: var(--primary);
}

.seo-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 100px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 70px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
    color: white;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 15px;
    max-width: 300px;
    line-height: 1.8;
}

.footer-column h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 14px;
}

.footer-column a {
    color: rgba(255,255,255,0.5);
    font-size: 15px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
    color: rgba(255,255,255,0.4);
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    border: 2px solid transparent;
}

.social-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-4px);
}

/* Page Header */
.page-header {
    padding: 160px 0 80px;
    background: var(--bg-light);
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at right, rgba(255, 222, 185, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: var(--text-muted);
}

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

.breadcrumb span {
    color: var(--text-muted);
}

.page-header h1 {
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.page-header > .container > p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Service Hero - Two Column Layout */
.service-hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 70px;
    align-items: start;
}

.service-hero-content h2 {
    margin-bottom: 24px;
}

.service-checklist {
    list-style: none;
    padding: 0;
    margin: 32px 0;
}

.service-checklist li {
    padding: 12px 0 12px 36px;
    position: relative;
    font-size: 16px;
}

.service-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: bold;
    font-size: 14px;
}

/* Form Card */
.form-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: 0 20px 60px var(--shadow-lg);
    position: sticky;
    top: 110px;
    border: 2px solid var(--border);
}

.form-card h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.form-card > p {
    color: var(--text-muted);
    margin-bottom: 28px;
    font-size: 15px;
}

.form-card .form-group {
    margin-bottom: 18px;
}

.form-card input {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    background: var(--bg-light);
    transition: var(--transition);
}

.form-card input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--bg-white);
    padding: 40px 32px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition-bounce);
    border: 2px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px var(--shadow);
    border-color: var(--primary);
}

.feature-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
    border: 2px solid var(--border);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(-5deg);
    border-color: var(--primary);
}

.feature-icon svg {
    width: 36px;
    height: 36px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* Testimonial Highlight */
.testimonial-highlight {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    padding: 60px;
    background: white;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    position: relative;
}

.testimonial-highlight::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 150px;
    color: var(--cream);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-highlight blockquote {
    position: relative;
    z-index: 1;
}

.testimonial-highlight p {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 28px;
    line-height: 1.6;
}

.testimonial-highlight cite {
    display: block;
    font-style: normal;
}

.testimonial-highlight cite strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary);
}

.testimonial-highlight cite span {
    color: var(--text-muted);
    font-size: 15px;
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.review-card {
    background: var(--bg-white);
    padding: 36px;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    transition: var(--transition);
}

.review-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 50px var(--shadow);
}

.review-stars {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 18px;
    letter-spacing: 2px;
}

.review-author {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border);
}

.review-author strong {
    display: block;
    color: var(--text-dark);
}

.review-author span {
    color: var(--text-muted);
    font-size: 14px;
}

/* Trust Section */
.trust-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.guarantees h2,
.faq-section h2 {
    margin-bottom: 28px;
}

.guarantee-items {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    transition: var(--transition);
}

.guarantee-item:hover {
    border-color: var(--primary);
    transform: translateX(8px);
}

.guarantee-item svg {
    color: var(--primary);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}

.guarantee-item span {
    font-weight: 500;
}

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

.faq-item {
    padding: 28px 0;
    border-bottom: 2px solid var(--border);
}

.faq-item:first-child {
    padding-top: 0;
}

.faq-item h3 {
    margin-bottom: 14px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 50px 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 16px;
}

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

.cta-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Rating Summary */
.rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
}

.stars {
    color: var(--accent);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

/* About Page */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    padding: 70px 0;
}

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

.value-card {
    text-align: center;
    padding: 48px 28px;
    background: white;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    transition: var(--transition-bounce);
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 25px 50px var(--shadow);
}

.value-icon {
    width: 88px;
    height: 88px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary);
    transition: var(--transition);
    border: 2px solid var(--border);
}

.value-card:hover .value-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.value-icon svg {
    width: 36px;
    height: 36px;
}

.value-card h3 {
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.team-card {
    text-align: center;
    padding: 40px 24px;
    background: white;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    transition: var(--transition-bounce);
}

.team-card:hover {
    transform: translateY(-10px) rotate(-2deg);
    border-color: var(--primary);
    box-shadow: 0 25px 50px var(--shadow);
}

.team-photo {
    width: 130px;
    height: 130px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
    border: 3px solid var(--border);
    transition: var(--transition);
}

.team-card:hover .team-photo {
    border-color: var(--primary);
}

.team-card h3 {
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.team-card span {
    color: var(--text-muted);
    font-size: 14px;
}

/* Process Timeline */
.timeline {
    position: relative;
    padding: 50px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--border);
    border-radius: 3px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    margin-bottom: 70px;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    order: 2;
}

.timeline-item:nth-child(even) .timeline-visual {
    order: 1;
}

.timeline-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    z-index: 1;
    border: 4px solid var(--bg-light);
}

.timeline-content {
    padding: 40px;
    background: white;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 50px var(--shadow);
}

.timeline-content h2 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.timeline-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-visual svg {
    max-width: 200px;
    color: var(--primary);
}

/* Testimonials Page */
.testimonials-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.testimonial-large {
    padding: 44px;
}

.testimonial-large blockquote {
    font-size: 1.1rem;
}

/* 404 Error Page */
.error-page {
    padding: 140px 0 100px;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-page .container {
    width: 100%;
}

.error-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px;
}

.error-code {
    font-size: 10rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
}

.error-content h1 {
    font-size: 2rem;
    margin-bottom: 18px;
    color: var(--text-dark);
}

.error-content > p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.15rem;
    line-height: 1.7;
}

.error-actions {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.error-suggestions {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 32px 40px;
    text-align: left;
    display: inline-block;
    border: 2px solid var(--border);
}

.error-suggestions h2 {
    font-size: 1.1rem;
    margin-bottom: 18px;
    color: var(--text-dark);
}

.error-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-suggestions li {
    margin-bottom: 10px;
}

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

.error-suggestions a:hover {
    color: var(--accent);
}

/* Contact Page */
.contact-page-section {
    padding: 70px 0 120px;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
}

.contact-page-info h2 {
    margin-bottom: 18px;
}

.contact-page-info > p {
    color: var(--text-muted);
    margin-bottom: 36px;
    font-size: 1.1rem;
}

/* Contact page specific - dark text for light background */
.contact-page-info .contact-item strong {
    color: var(--text-dark);
}

.contact-page-info .contact-item span,
.contact-page-info .contact-item a {
    color: var(--text-body);
}

.contact-page-info .contact-item a:hover {
    color: var(--primary);
}

.contact-page-form {
    background: var(--bg-white);
    padding: 48px;
    border-radius: var(--radius);
    border: 2px solid var(--border);
}

.contact-page-form h3 {
    margin-bottom: 28px;
    font-size: 1.5rem;
}

/* Services Overview Page */
.services-overview-section {
    padding: 70px 0 120px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-inner,
    .about-preview,
    .contact-inner,
    .about-hero,
    .service-hero,
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-visual,
    .about-visual {
        display: none;
    }

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

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

    .process-step::after {
        display: none;
    }

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

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

    .trust-section {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .container {
        padding: 0 20px;
    }

    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }

    .hero {
        padding: 140px 0 80px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-item::after {
        display: none;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-light);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        transition: var(--transition);
        z-index: 999;
        padding: 100px 20px 40px 20px;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .nav.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.3rem;
        padding: 16px 24px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .nav-link::after {
        display: none;
    }

    /* Mobile dropdown with split click zones */
    .dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-header {
        display: flex;
        align-items: center;
        width: auto;
        justify-content: center;
        margin: 0 auto;
        background: none;
        border-radius: var(--radius-full);
    }

    .dropdown-header:hover {
        background: none;
    }

    .dropdown-header::after {
        display: none;
    }

    .dropdown-link {
        font-size: 1.3rem;
        padding: 16px 8px 16px 20px;
        min-height: 52px;
        border-radius: var(--radius-full) 0 0 var(--radius-full);
        display: flex;
        align-items: center;
    }

    .dropdown-arrow {
        width: 52px;
        height: 52px;
        min-width: 52px;
        padding: 0;
        background: none;
        border-radius: 0 var(--radius-full) var(--radius-full) 0;
        margin-left: 0;
        border: none;
    }

    .dropdown-arrow:active {
        background: none;
    }

    .dropdown-arrow svg {
        width: 20px;
        height: 20px;
        color: var(--text-dark);
        transition: transform 0.3s ease;
    }

    /* Arrow rotation when dropdown is open */
    .dropdown.active .dropdown-arrow svg {
        transform: rotate(180deg);
    }

    /* Active state for arrow button - no highlight */
    .dropdown.active .dropdown-arrow {
        background: none;
    }

    /* Legacy dropdown-toggle for mobile */
    .dropdown-toggle {
        font-size: 1.3rem;
        padding: 18px;
    }

    /* Override desktop hover behavior on mobile */
    .dropdown:hover .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        display: none;
    }

    /* FIXED: Mobile dropdown menu - full width, no cut-off */
    .dropdown-menu {
        position: static !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100vw;
        box-shadow: none;
        background: rgba(98, 16, 159, 0.03);
        border-radius: var(--radius);
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        border: none;
        margin-top: 8px;
        margin-left: 0;
        margin-right: 0;
        padding: 12px 16px;
        text-align: left;
        overflow: visible;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 14px 16px;
        font-size: 1rem;
        min-height: 48px;
        display: block;
        text-align: center;
        color: var(--text-dark);
        border-radius: var(--radius-sm);
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.4;
    }

    .dropdown-menu a:hover,
    .dropdown-menu a:active {
        background: rgba(98, 16, 159, 0.08);
        color: var(--primary);
        transform: none;
    }

    .dropdown-menu a.active {
        background: var(--primary);
        color: white;
    }

    .lang-switcher {
        margin: 24px 0 0;
        padding: 4px;
        border: 2px solid var(--border);
        background: var(--bg-white);
        border-radius: var(--radius-full);
    }

    .mobile-toggle {
        display: flex;
    }

    .services-grid,
    .features-grid,
    .reviews-grid,
    .testimonials-grid,
    .blog-grid,
    .process-grid,
    .team-grid,
    .values-grid,
    .testimonials-page-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .timeline::before {
        left: 24px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        padding-left: 70px;
    }

    .timeline-number {
        left: 24px;
        transform: translateX(-50%);
    }

    .timeline-visual {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .error-code {
        font-size: 6rem;
    }

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

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .service-hero {
        grid-template-columns: 1fr;
    }

    .form-card {
        position: static;
    }

    .page-header {
        padding: 130px 0 60px;
    }

    .testimonial-highlight {
        padding: 40px 28px;
    }

    .testimonial-highlight::before {
        font-size: 100px;
    }

    .testimonial-highlight p {
        font-size: 1.2rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-32 { margin-top: 32px; }

/* Form Messages */
.form-success {
    background: #D1FAE5;
    color: #065F46;
    padding: 18px 24px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    border: 2px solid #A7F3D0;
    font-weight: 500;
}

.form-error {
    background: #FEE2E2;
    color: #991B1B;
    padding: 18px 24px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    border: 2px solid #FECACA;
    font-weight: 500;
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Smooth scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-8px); }
}
