:root {
    --primary: #14b8a6;
    --primary-dark: #0d9488;
    --secondary: #0f172a;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
}

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

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--secondary);
    background-color: var(--white);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.ambient-canvas {
    position: fixed;
    inset: -20vh -20vw;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background: radial-gradient(120% 120% at 10% 10%, rgba(20, 184, 166, 0.12), transparent 55%),
        radial-gradient(100% 140% at 90% 20%, rgba(14, 116, 144, 0.1), transparent 60%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.05), transparent 60%);
}

.ambient-orb {
    position: absolute;
    display: block;
    width: clamp(22rem, 18vw + 12rem, 40rem);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.85;
    mix-blend-mode: screen;
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.85), rgba(59, 130, 246, 0) 65%),
        radial-gradient(circle at 70% 70%, rgba(20, 184, 166, 0.75), rgba(20, 184, 166, 0) 60%);
    animation: ambientFloat 18s ease-in-out infinite alternate;
}

.ambient-orb--one {
    top: 10vh;
    left: 5vw;
    animation-delay: -4s;
    transform-origin: 30% 40%;
}

.ambient-orb--two {
    top: 45vh;
    left: -5vw;
    animation-duration: 22s;
    animation-delay: -10s;
    transform-origin: 10% 70%;
}

.ambient-orb--three {
    top: -15vh;
    right: -10vw;
    animation-duration: 26s;
    animation-delay: -7s;
    transform-origin: 80% 20%;
    background: radial-gradient(circle at 20% 20%, rgba(244, 114, 182, 0.8), rgba(244, 114, 182, 0) 60%),
        radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.75), rgba(14, 165, 233, 0) 60%);
}

.ambient-orb--four {
    bottom: -10vh;
    right: 15vw;
    animation-duration: 24s;
    animation-delay: -14s;
    transform-origin: 70% 90%;
    background: radial-gradient(circle at 25% 35%, rgba(94, 234, 212, 0.9), rgba(94, 234, 212, 0) 60%),
        radial-gradient(circle at 70% 70%, rgba(59, 130, 246, 0.7), rgba(59, 130, 246, 0) 65%);
}

.ambient-orb--five {
    bottom: 25vh;
    left: 55vw;
    animation-duration: 20s;
    animation-delay: -2s;
    transform-origin: 60% 30%;
    background: radial-gradient(circle at 40% 40%, rgba(14, 116, 144, 0.85), rgba(14, 116, 144, 0) 65%),
        radial-gradient(circle at 75% 75%, rgba(244, 114, 182, 0.65), rgba(244, 114, 182, 0) 60%);
}

@keyframes ambientFloat {
    0% {
        transform: translate3d(-4%, -2%, 0) scale(0.92) rotate(-4deg);
        opacity: 0.75;
    }
    30% {
        transform: translate3d(3%, 6%, 0) scale(1.06) rotate(6deg);
        opacity: 0.95;
    }
    60% {
        transform: translate3d(-6%, 4%, 0) scale(1.02) rotate(-2deg);
        opacity: 0.85;
    }
    100% {
        transform: translate3d(5%, -6%, 0) scale(1.12) rotate(8deg);
        opacity: 0.9;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ambient-orb {
        animation: none;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

a {
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 3rem;
    }
}

.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary);
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.section-title--left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

@media (max-width: 640px) {
    html {
        font-size: 15px;
    }

    .section {
        padding: 3rem 0;
    }

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

@media print {
    .header,
    .footer,
    .cookie-banner,
    .btn {
        display: none !important;
    }

    .section {
        padding: 2rem 0;
    }

    body {
        color: #000;
        background: #fff;
    }
}
