/* ===== Variables CSS ===== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #f43f5e;
    --success: #22c55e;
    --warning: #f59e0b;

    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;

    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --bg-card: #ffffff;

    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-text: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);

    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

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

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn--primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

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

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

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

.btn--white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

/* ===== Section Headers ===== */
.section__subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.section__title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section__description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav__logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.logo-pf {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav__link {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
    color: var(--primary);
}

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

.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    overflow: hidden;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-full);
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero__description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero__stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat__label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

.hero__shape {
    width: 400px;
    height: 400px;
    background: var(--gradient);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes morph {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

.hero__icons {
    position: absolute;
    inset: 0;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.icon-1 { top: 10%; left: 10%; color: #61dafb; animation-delay: 0s; }
.icon-2 { top: 20%; right: 5%; color: #68a063; animation-delay: 1s; }
.icon-3 { bottom: 30%; left: 0; color: #f24e1e; animation-delay: 2s; }
.icon-4 { bottom: 10%; right: 20%; color: #4285f4; animation-delay: 3s; }
.icon-5 { top: 50%; right: 0; color: #e4405f; animation-delay: 4s; }

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

.hero__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* ===== Services Section ===== */
.services {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service__card {
    position: relative;
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.service__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

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

.service__card.featured {
    border: 2px solid var(--primary);
}

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

.service__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.service__icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service__icon i {
    font-size: 1.75rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service__title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.service__description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.service__features {
    margin-bottom: 1.5rem;
}

.service__features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service__features i {
    color: var(--success);
    font-size: 0.875rem;
}

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

.service__link:hover {
    gap: 0.75rem;
}

/* ===== About Section ===== */
.about {
    padding: 6rem 0;
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about__features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about__feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.about__feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about__feature-icon i {
    font-size: 1.25rem;
    color: var(--primary);
}

.about__feature-info h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.about__feature-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.about__image {
    position: relative;
}

.about__img-wrapper {
    position: relative;
    padding: 2rem;
}

.about__shape-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: var(--gradient);
    border-radius: var(--radius-xl);
    opacity: 0.1;
}

.about__shape-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0.1;
}

.about__card {
    position: relative;
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 350px;
    margin: 0 auto;
}

.about__card i {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.about__card p {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.about__card span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== Process Section ===== */
.process {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

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

.process__steps::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--border-color);
}

.process__step {
    text-align: center;
    position: relative;
}

.process__number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--border-color);
    line-height: 1;
    margin-bottom: 1rem;
}

.process__icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.process__icon i {
    font-size: 1.75rem;
    color: white;
}

.process__step h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.process__step p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ===== Portfolio Section ===== */
.portfolio {
    padding: 6rem 0;
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.portfolio__item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
}

.portfolio__image {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.portfolio__image--2 {
    background: linear-gradient(135deg, var(--accent) 0%, #f97316 100%);
}

.portfolio__image--3 {
    background: linear-gradient(135deg, #22c55e 0%, #14b8a6 100%);
}

.portfolio__image--4 {
    background: linear-gradient(135deg, #8b5cf6 0%, var(--primary) 100%);
}

.portfolio__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.portfolio__item:hover .portfolio__overlay {
    opacity: 1;
}

.portfolio__category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.portfolio__overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.portfolio__overlay p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.portfolio__link {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.portfolio__link:hover {
    transform: scale(1.1);
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial__card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

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

.testimonial__rating i {
    color: #fbbf24;
}

.testimonial__text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial__avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.testimonial__info h4 {
    font-weight: 600;
    font-size: 1rem;
}

.testimonial__info span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ===== CTA Section ===== */
.cta {
    padding: 5rem 0;
    background: var(--gradient);
}

.cta__content {
    text-align: center;
    color: white;
}

.cta__content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta__content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* ===== Contact Section ===== */
.contact {
    padding: 6rem 0;
}

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

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact__card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

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

.contact__icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact__icon i {
    font-size: 1.25rem;
    color: white;
}

.contact__card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact__card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.contact__card a {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
}

.contact__card a:hover {
    text-decoration: underline;
}

.contact__social h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.social__link {
    width: 45px;
    height: 45px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

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

/* ===== Contact Form ===== */
.contact__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form__group {
    position: relative;
}

.form__group--full {
    grid-column: span 2;
}

.form__group input,
.form__group select,
.form__group textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: var(--transition);
    outline: none;
}

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

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    border-color: var(--primary);
    background: white;
}

.form__group i {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-light);
    transition: var(--transition);
}

.form__group input:focus + i,
.form__group select:focus + i,
.form__group textarea:focus + i {
    color: var(--primary);
}

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

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.footer__brand p {
    color: var(--text-light);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer__links h4,
.footer__newsletter h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.footer__links a {
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer__links a:hover {
    color: white;
    padding-left: 5px;
}

.footer__newsletter p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.newsletter__form {
    display: flex;
    gap: 0.5rem;
}

.newsletter__form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
}

.newsletter__form input::placeholder {
    color: var(--text-light);
}

.newsletter__form button {
    width: 45px;
    height: 45px;
    background: var(--gradient);
    border: none;
    border-radius: var(--radius);
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter__form button:hover {
    transform: scale(1.05);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 0.875rem;
    color: var(--text-light);
}

.footer__bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer__bottom-links a {
    color: var(--text-light);
}

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

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ===== Responsive Design ===== */
@media screen and (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__description {
        margin: 0 auto 2rem;
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__image {
        display: none;
    }

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

    .about__image {
        order: -1;
    }

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

    .process__steps::before {
        display: none;
    }

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

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

@media screen and (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: white;
        box-shadow: var(--shadow-xl);
        padding: 6rem 2rem 2rem;
        transition: var(--transition);
        z-index: 100;
    }

    .nav__menu.show {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav__toggle,
    .nav__close {
        display: block;
    }

    .nav__close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

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

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

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

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

    .form__group--full {
        grid-column: span 1;
    }

    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__brand p {
        max-width: 100%;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .hero__buttons {
        flex-direction: column;
    }

    .hero__stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .btn {
        width: 100%;
    }
}
