/* ===== ORGANIC LUXURY AESTHETIC =====
   Distinctive design for a psychology practice
   Typography: Cormorant Garamond (editorial) + Outfit (modern)
   Palette: Warm earth tones with terracotta accent
   ===================================== */

:root {
    /* Color Palette - Earth & Warmth */
    --color-cream: #FAF7F2;
    --color-sand: #E8E0D5;
    --color-stone: #C4B8A8;
    --color-earth: #8B7355;
    --color-forest: #4A5D52;
    --color-forest-deep: #3A4A42;
    --color-terracotta: #C17F59;
    --color-terracotta-light: #D4A484;
    --color-ink: #2C2C2C;
    --color-ink-soft: #4A4A4A;
    --color-ink-muted: #7A7A7A;
    --color-white: #FFFFFF;

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
    --font-handwritten: 'Caveat', cursive;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Layout */
    --header-height: 5rem;
    --container-max: 1400px;
    --container-narrow: 900px;

    /* Effects */
    --shadow-soft: 0 4px 20px rgba(44, 44, 44, 0.06);
    --shadow-medium: 0 8px 40px rgba(44, 44, 44, 0.1);
    --shadow-dramatic: 0 20px 60px rgba(44, 44, 44, 0.15);

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 0.2s;
    --duration-normal: 0.4s;
    --duration-slow: 0.8s;
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    color-scheme: light only;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-ink-soft);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    color-scheme: light only;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea { font-family: inherit; }

/* ===== UTILITIES ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container--narrow {
    max-width: var(--container-narrow);
}

/* ===== TYPOGRAPHY ===== */
.section__label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-terracotta);
    margin-bottom: var(--space-sm);
    position: relative;
    padding-left: 2rem;
}

.section__label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.25rem;
    height: 1px;
    background: var(--color-terracotta);
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    color: var(--color-ink);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.section__title em {
    font-style: italic;
    color: var(--color-forest);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 100px;
    transition: all var(--duration-normal) var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--color-forest);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(74, 93, 82, 0.3);
}

.btn--primary:hover {
    background: var(--color-forest-deep);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(74, 93, 82, 0.4);
}

.btn--outline {
    background: transparent;
    color: var(--color-forest);
    border: 1.5px solid var(--color-forest);
}

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

.btn--full { width: 100%; }

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: all var(--duration-normal) var(--ease-out-expo);
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-cream);
    opacity: 0;
    backdrop-filter: blur(20px);
    transition: opacity var(--duration-normal);
}

.header.scrolled::before {
    opacity: 0.95;
}

.header.scrolled {
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    z-index: 1;
}

.nav__logo {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-ink);
    letter-spacing: -0.01em;
}

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

.nav__link {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--color-ink-soft);
    transition: color var(--duration-fast);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-terracotta);
    transition: width var(--duration-normal) var(--ease-out-expo);
}

.nav__link:hover {
    color: var(--color-ink);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    padding: 0.625rem 1.5rem;
    background: var(--color-forest);
    color: var(--color-white) !important;
    border-radius: 100px;
    font-weight: 500;
}

.nav__link--cta::after { display: none; }

.nav__link--cta:hover {
    background: var(--color-forest-deep);
    transform: translateY(-2px);
}

.nav__toggle, .nav__close {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--color-ink);
}

/* ===== HERO ===== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + var(--space-md)) 0 var(--space-lg);
    position: relative;
    overflow: hidden;
}

/* Animated Butterfly Background */
.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.4;
    filter: grayscale(10%);
}

/* Gradient overlay for better text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(250, 247, 242, 0.75) 0%,
        rgba(250, 247, 242, 0.85) 50%,
        rgba(250, 247, 242, 0.92) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero__container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero__content {
    max-width: 800px;
    text-align: center;
    padding: var(--space-md);
}

.hero__greeting {
    font-family: var(--font-handwritten);
    font-size: 1.5rem;
    color: var(--color-terracotta);
    margin-bottom: var(--space-sm);
    opacity: 0;
    animation: fadeSlideUp 0.8s var(--ease-out-expo) 0.2s forwards;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8);
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 500;
    color: var(--color-ink);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: fadeSlideUp 0.8s var(--ease-out-expo) 0.4s forwards;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.9);
}

.hero__title em {
    font-style: italic;
    color: var(--color-forest);
    display: block;
}

.hero__underline {
    display: block;
    width: 120px;
    height: 12px;
    margin: var(--space-sm) auto var(--space-md);
    opacity: 0;
    animation: fadeSlideUp 0.6s var(--ease-out-expo) 0.5s forwards;
}

.hero__description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-ink-soft);
    margin-bottom: var(--space-md);
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
    opacity: 0;
    animation: fadeSlideUp 0.8s var(--ease-out-expo) 0.6s forwards;
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.8);
}

.hero__description strong {
    color: var(--color-ink-soft);
    font-weight: 500;
}

.hero__buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: fadeSlideUp 0.8s var(--ease-out-expo) 0.8s forwards;
}

.hero__image {
    display: flex;
    justify-content: center;
    position: relative;
}

/* Polaroid-style image */
.hero__image-placeholder {
    position: relative;
    width: 100%;
    max-width: 380px;
    background: var(--color-white);
    padding: 16px 16px 60px;
    box-shadow: var(--shadow-dramatic);
    transform: rotate(3deg);
    opacity: 0;
    animation: fadeRotateIn 1s var(--ease-out-expo) 0.6s forwards;
}

.hero__image-placeholder::before {
    content: '';
    display: block;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--color-sand) 0%, var(--color-stone) 100%);
    position: relative;
}

.hero__image-placeholder::after {
    content: '';
    position: absolute;
    inset: 16px;
    bottom: 60px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 250' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='100' cy='90' r='45' fill='%23C4B8A8'/%3E%3Cpath d='M100 145C50 145 15 190 15 240V250H185V240C185 190 150 145 100 145Z' fill='%23C4B8A8'/%3E%3C/svg%3E");
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
}

.hero__image-placeholder span {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-handwritten);
    font-size: 1.25rem;
    color: var(--color-ink-muted);
    white-space: nowrap;
}

/* Decorative elements */
.hero__decoration {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 1px solid var(--color-stone);
    border-radius: 50%;
    top: -30px;
    right: -30px;
    opacity: 0.3;
}

/* ===== ABOUT ===== */
.about {
    padding: var(--space-xl) 0;
    position: relative;
}

.about__container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.about__image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: start;
}

.about__image-frame {
    position: relative;
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-dramatic);
    background: var(--color-white);
    padding: 12px;
    transition: transform var(--duration-normal) var(--ease-out-expo), 
                box-shadow var(--duration-normal) ease;
}

.about__image-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(44, 44, 44, 0.2);
}

.about__image-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform var(--duration-slow) ease;
}

.about__image-frame:hover img {
    transform: scale(1.02);
}

/* Decorative accent behind image */
.about__image::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    max-width: 420px;
    background: linear-gradient(135deg, var(--color-terracotta-light) 0%, var(--color-sand) 100%);
    opacity: 0.25;
    border-radius: 12px;
    z-index: -1;
}

.about__content {
    max-width: 100%;
}

.about__subtitle {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-forest);
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.about__text {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: var(--color-ink-soft);
    margin-bottom: var(--space-sm);
}

.about__text:first-of-type::first-letter {
    font-family: var(--font-display);
    font-size: 3.5rem;
    float: left;
    line-height: 1;
    margin-right: 0.5rem;
    margin-top: 0.1rem;
    color: var(--color-forest);
    font-weight: 600;
}

.about__credentials {
    margin-top: var(--space-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs) var(--space-md);
}

.about__credentials li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--color-ink-soft);
}

.about__credentials svg {
    color: var(--color-terracotta);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.about__quote {
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: linear-gradient(135deg, var(--color-sand) 0%, transparent 100%);
    border-left: 3px solid var(--color-terracotta);
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-style: italic;
    color: var(--color-ink);
    line-height: 1.6;
}

/* ===== SERVICES ===== */
.services {
    padding: var(--space-xl) 0;
    background: var(--color-white);
    position: relative;
}

/* Subtle texture */
.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
}

.services__container {
    position: relative;
    z-index: 1;
}

.services__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.service__card {
    padding: var(--space-md);
    background: var(--color-cream);
    border-radius: 20px;
    transition: all var(--duration-normal) var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.service__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-terracotta), var(--color-forest));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--duration-normal) var(--ease-out-expo);
}

.service__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.service__card:hover::before {
    transform: scaleX(1);
}

.service__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: 16px;
    margin-bottom: var(--space-sm);
    color: var(--color-forest);
    transition: all var(--duration-normal) var(--ease-out-back);
}

.service__card:hover .service__icon {
    background: var(--color-forest);
    color: var(--color-white);
    transform: scale(1.1) rotate(-5deg);
}

.service__title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-ink);
    margin-bottom: 0.5rem;
}

.service__description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-ink-muted);
}

/* Benefits */
.services__benefits {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-forest-deep) 100%);
    border-radius: 24px;
    color: var(--color-white);
    text-align: center;
}

.services__benefits h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.benefit__icon {
    font-size: 2rem;
    filter: grayscale(1) brightness(2);
}

.benefit__text {
    font-size: 0.9375rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* ===== PROCESS ===== */
.process {
    padding: var(--space-xl) 0;
    background: var(--color-cream);
}

.process__header {
    text-align: center;
    max-width: 500px;
    margin: 0 auto var(--space-xl);
}

.process__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    position: relative;
}

/* Connecting line */
.process__steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        var(--color-stone) 10%,
        var(--color-stone) 90%,
        transparent
    );
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step__number {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: 50%;
    font-family: var(--font-handwritten);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-terracotta);
    box-shadow: var(--shadow-soft);
    transition: all var(--duration-normal) var(--ease-out-back);
}

.step:hover .step__number {
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
    background: var(--color-terracotta);
    color: var(--color-white);
}

.step__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-ink);
    margin-bottom: 0.5rem;
}

.step__description {
    font-size: 0.9375rem;
    color: var(--color-ink-muted);
    line-height: 1.6;
    max-width: 220px;
    margin: 0 auto;
}

.step__connector { display: none; }

/* ===== CONTACT ===== */
.contact {
    padding: var(--space-xl) 0;
    background: var(--color-sand);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at center, var(--color-terracotta-light) 0%, transparent 60%);
    opacity: 0.2;
    pointer-events: none;
}

.contact__container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-xl);
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact__content {
    max-width: 400px;
}

.contact__text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-ink-soft);
    margin-bottom: var(--space-md);
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact__info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--color-ink-soft);
}

.contact__info-item svg {
    color: var(--color-terracotta);
    flex-shrink: 0;
}

.contact__form {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: 24px;
    box-shadow: var(--shadow-medium);
}

.form__group {
    margin-bottom: var(--space-sm);
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.form__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-ink);
    margin-bottom: 0.5rem;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1.5px solid var(--color-sand);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--color-ink);
    background: var(--color-cream);
    transition: all var(--duration-fast);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--color-forest);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(74, 93, 82, 0.1);
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: var(--color-ink-muted);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form__checkbox input {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    accent-color: var(--color-forest);
}

.form__checkbox label {
    font-size: 0.875rem;
    color: var(--color-ink-muted);
    line-height: 1.5;
    cursor: pointer;
}

.form__message {
    margin-top: var(--space-sm);
    padding: var(--space-sm);
    border-radius: 12px;
    display: none;
    font-size: 0.9375rem;
}

.form__message.success {
    display: block;
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

.form__message.error {
    display: block;
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #EF9A9A;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-ink);
    color: var(--color-white);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer__logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--color-white);
}

.footer__description {
    font-size: 0.9375rem;
    color: var(--color-stone);
    max-width: 300px;
    line-height: 1.7;
}

.footer__links h4,
.footer__social h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--color-white);
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__links a {
    font-size: 0.9375rem;
    color: var(--color-stone);
    transition: color var(--duration-fast);
}

.footer__links a:hover {
    color: var(--color-terracotta-light);
}

.social__links {
    display: flex;
    gap: 0.75rem;
}

.social__link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--color-white);
    transition: all var(--duration-fast);
}

.social__link:hover {
    background: var(--color-terracotta);
    transform: translateY(-3px);
}

.footer__bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer__copyright {
    font-size: 0.875rem;
    color: var(--color-stone);
    margin-bottom: 0.5rem;
}

.footer__legal {
    font-size: 0.8125rem;
    color: var(--color-ink-muted);
    font-style: italic;
}

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

@keyframes fadeRotateIn {
    from {
        opacity: 0;
        transform: rotate(-5deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(3deg) scale(1);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
}

.animate-on-scroll.animated {
    animation: fadeSlideUp 0.8s var(--ease-out-expo) forwards;
    animation-delay: var(--animation-delay, 0s);
}

/* ===== FLOATING CTA BUTTON ===== */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--color-forest);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(74, 93, 82, 0.4);
    text-decoration: none;
    z-index: 999;
    transition: all var(--duration-normal) var(--ease-out-expo);
    opacity: 1;
    transform: translateY(0);
}

.floating-cta:hover {
    background: var(--color-forest-deep);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(74, 93, 82, 0.5);
}

.floating-cta svg {
    flex-shrink: 0;
}

.floating-cta.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero__content { 
        max-width: 100%; 
        padding: var(--space-md);
    }
    
    .hero__background img {
        opacity: 0.35;
    }

    .about__container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    .about__image { 
        justify-self: center;
        order: -1;
    }
    .about__image-frame {
        max-width: 350px;
    }
    .about__content { max-width: 100%; }
    .about__credentials { grid-template-columns: 1fr; }

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

    .process__steps {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    .process__steps::before { display: none; }

    .contact__container { grid-template-columns: 1fr; }
    .contact__content { max-width: 100%; text-align: center; }
    .contact__info { align-items: center; }
}

@media (max-width: 768px) {
    :root {
        --header-height: 4rem;
        --space-xl: 3rem;
        --space-2xl: 4rem;
    }
    
    .floating-cta {
        bottom: 20px;
        right: 20px;
        padding: 0.75rem 1rem;
        font-size: 0.8125rem;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: var(--color-cream);
        padding: 6rem var(--space-md) var(--space-md);
        box-shadow: var(--shadow-dramatic);
        transition: right var(--duration-normal) var(--ease-out-expo);
        z-index: 100;
    }

    .nav__menu.show-menu { right: 0; }

    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .nav__link { font-size: 1.25rem; }

    .nav__toggle, .nav__close {
        display: flex;
    }

    .nav__close {
        position: absolute;
        top: var(--space-sm);
        right: var(--space-sm);
    }

    .hero__content {
        padding: var(--space-sm);
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__description {
        font-size: 1rem;
    }

    .services__grid { grid-template-columns: 1fr; }
    .process__steps { grid-template-columns: 1fr; }
    .benefits__grid { grid-template-columns: 1fr; }

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

    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-md);
    }

    .footer__description { margin: 0 auto; }
    .social__links { justify-content: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 var(--space-sm); }

    .hero__title { font-size: 2.25rem; }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero__buttons .btn { width: 100%; }

    .contact__form { padding: var(--space-md); }
}
