/* --- Variables & Theming --- */
:root {
    /* Colors based on user request */
    --primary: #025296;
    --primary-light: #6eaae0;
    --primary-dark: #013b6d;
    
    --secondary: #BC1C4F;
    --secondary-light: #d21f58;
    
    --text-main: #1D2939; /* Slate 800 */
    --text-muted: #475467; /* Slate 600 */
    
    --bg-body: #ffffff;
    --bg-light: #f8fafc; /* Slate 50 */
    --bg-dark: #0f172a; /* Slate 900 */
    
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    /* Animation timings */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-family: var(--font-sans); font-weight: 600; }

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.subtitle {
    display: inline-block;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

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

.w-100 {
    width: 100%;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-sans);
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(2, 82, 150, 0.3);
}

.btn-primary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 82, 150, 0.4);
}

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

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

.btn-secondary {
    background-color: white;
    color: var(--text-main);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-main);
    color: var(--text-main);
}

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

.btn-light:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary-small {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    box-shadow: 0 4px 14px rgba(2, 82, 150, 0.3);
}

.btn-primary-small:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 82, 150, 0.4);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-normal);
    padding: 1.5rem 0;
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.logo-image {
    width: clamp(150px, 16.5vw, 225px);
    height: auto;
    transition: opacity var(--transition-normal);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.lang-link {
    color: var(--text-main);
    opacity: 0.7;
    padding: 0.25rem 0.4rem;
    border-radius: 999px;
    transition: all var(--transition-fast);
}

.lang-link:hover {
    opacity: 1;
    color: var(--primary);
    background: rgba(2, 82, 150, 0.08);
}

.lang-link.active {
    opacity: 1;
    color: white;
    background: var(--primary);
}

.navbar.scrolled .lang-link.active {
    color: white;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
    position: relative;
}

.navbar:not(.scrolled) .nav-link:not(.btn-primary-outline) {
    color: white; /* White text on hero image */
}

.navbar:not(.scrolled) .lang-link {
    color: white;
}

.navbar:not(.scrolled) .lang-switch span {
    color: white;
}

.navbar:not(.scrolled) .btn-primary-outline {
    border-color: white;
    color: white;
}
.navbar:not(.scrolled) .btn-primary-outline:hover {
    /* Keep transparent background and white text on dark hero navbar to match other links */
    background-color: transparent;
    color: white;
    border-color: rgba(255,255,255,0.9);
}

.navbar.scrolled .btn-primary-outline:hover {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.nav-link:not(.btn-primary-outline)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--transition-normal);
}

.nav-link:not(.btn-primary-outline):hover::after,
.nav-link.active:not(.btn-primary-outline):::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text-main);
    transition: all var(--transition-fast);
}

.navbar:not(.scrolled) .nav-toggle span {
    background-color: white;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    background-color: var(--bg-dark);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay: Dark blue to Primary Dark with high opacity */
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(1, 59, 109, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 1.5rem;
    color: white;
}

.hero-content h1 {
    color: white;
    margin-bottom: 1.5rem;
    white-space: nowrap;
    font-size: clamp(1.1rem, 4vw, 3.5rem);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* --- Page Header (for subpages) --- */
.page-header {
    position: relative;
    padding: 180px 0 100px;
    background-color: var(--bg-dark);
    text-align: center;
    color: white;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(1, 59, 109, 0.85) 100%);
}

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.page-header-content h1 {
    color: white;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.page-header-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 0;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    /* Use fixed max column width so the grid can be centered when fewer items exist */
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    gap: 2rem;
    justify-content: center;
}

/* Force four columns layout for pages that need a 4-up grid */
.services-grid.grid-4 {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    justify-content: stretch;
}

@media (max-width: 1100px) {
    .services-grid.grid-4 {
        grid-template-columns: repeat(3, minmax(200px, 1fr));
    }
}

@media (max-width: 800px) {
    .services-grid.grid-4 {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .services-grid.grid-4 {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

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

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

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: rgba(2, 82, 150, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.service-card .btn-primary-small {
    margin-top: auto;
}

/* Ensure any button inside a service card stays at the bottom */
.service-card .btn {
    margin-top: auto;
}

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

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: white;
}

/* --- Partnerships Section --- */
.partnerships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.partnership-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border-top: 4px solid var(--primary);
}

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

.partnership-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.partnership-website {
    margin-bottom: 1rem;
}

.partnership-website a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.partnership-website a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.partnership-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 0;
}

/* --- Content Pages (Detail Services) --- */
.content-block {
    margin-bottom: 4rem;
}

.content-block:first-of-type {
    background: linear-gradient(135deg, rgba(2, 82, 150, 0.05) 0%, rgba(2, 82, 150, 0.02) 100%);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 5px solid var(--primary);
}

.content-block h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.content-block h3 {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    color: var(--text-main);
    font-weight: 600;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--bg-light);
}

.content-block p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    font-size: 1rem;
    color: var(--text-light);
}

.content-block p:last-child {
    margin-bottom: 0;
}

.service-list {
    list-style: none;
    margin-left: 0;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-list li {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    line-height: 1.6;
    transition: all var(--transition-normal);
}

.service-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 82, 150, 0.1);
}

.service-list li::before {
    content: '✓';
    display: inline-block;
    color: var(--primary);
    font-weight: bold;
    margin-right: 0.75rem;
}

.cta-block {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
    margin-bottom: 4rem;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 12px;
}

.related-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-link {
    display: block;
    padding: 1.75rem;
    background: white;
    border-left: 5px solid var(--primary);
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    transition: all var(--transition-normal);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.service-link:hover {
    background-color: rgba(2, 82, 150, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(2, 82, 150, 0.15);
}

.service-link span {
    font-size: 1.1rem;
}

.section-light {
    background-color: var(--bg-light);
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--primary);
}

/* --- About Section --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 500;
}

.feature-list svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.about-image-wrapper {
    position: relative;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.about-image-placeholder .gradient-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    /* Replace with real image */
    background-image: url('https://images.unsplash.com/photo-1560250097-0b93528c311a?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
}

/* Real image inserted for About section */
.about-image-placeholder img.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--primary);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.experience-badge .number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    font-family: var(--font-serif);
}

.experience-badge .text {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 5rem 0;
    text-align: center;
    color: white;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

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

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.contact-card address {
    font-style: normal;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.contact-methods p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.contact-methods svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.contact-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 500;
}

.form-website {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-message {
    margin: 0 0 1rem;
    font-size: 0.95rem;
}

.form-message--success {
    color: #0f766e;
}

.form-message--error {
    color: #b42318;
}

.map-embed {
    margin-top: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 220px;
    border: 0;
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-main);
    transition: border-color var(--transition-fast);
    background-color: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: white;
}

/* --- Footer --- */
.footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem;
}

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

.footer-brand .logo-image {
    width: clamp(165px, 19.5vw, 255px);
    filter: brightness(0) invert(1);
}

.footer-brand p {
    margin-top: 1.5rem;
    max-width: 300px;
}

.footer-brand .brand-title {
    color: white;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.125rem;
    margin: 0 0 0.25rem;
    letter-spacing: 0.04em;
}

.footer-contact h4 {
    color: white;
    font-family: var(--font-sans);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-contact address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    display: inline-block;
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 0.25rem;
}

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

.footer h4 {
    color: white;
    font-family: var(--font-sans);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    transform: translate(-50%, 16px);
    width: min(900px, 92vw);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal), transform var(--transition-normal);
    backdrop-filter: blur(10px);
    z-index: 1100;
}

.cookie-banner--visible {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.cookie-banner__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-banner__text {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-main);
}

.cookie-banner__link {
    font-weight: 600;
}

.cookie-banner__actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-banner .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 999px;
}

@media (max-width: 640px) {
    .cookie-banner {
        bottom: 1rem;
    }

    .cookie-banner__content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner__actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner {
        transition: none;
    }
}

/* --- Animations (Scroll Reveal) --- */
.reveal {
    opacity: 0;
    visibility: hidden;
}

.reveal.visible {
    opacity: 1;
    visibility: visible;
}

.fade-up {
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s;
}

.fade-up.visible {
    transform: translateY(0);
}

.fade-right {
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s;
}

.fade-right.visible {
    transform: translateX(0);
}

.fade-left {
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s;
}

.fade-left.visible {
    transform: translateX(0);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-form-wrapper {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path var(--transition-normal);
    }
    
    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .navbar:not(.scrolled) .nav-menu {
        background-color: rgba(255, 255, 255, 0.98);
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link {
        display: block;
        padding: 1.5rem;
        color: var(--text-main) !important;
    }
    
    .nav-link.btn-primary-outline {
        border: none;
        background: transparent;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .page-header {
        padding: 140px 0 60px;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image-wrapper {
        order: -1;
        margin-bottom: 1rem;
    }
    
    .experience-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -30px;
        width: 90%;
        padding: 1.5rem;
    }
    
    .footer {
        padding: 4rem 0 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 1.5rem auto 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        grid-column: 1;
        padding: 1.5rem;
    }
}
