/* ============================================
   Mandi's Accounting Services — Custom Styles
   ============================================ */

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

:root {
    --plum-50: #faf5f9;
    --plum-100: #f3e8f5;
    --plum-200: #e9d0eb;
    --plum-300: #d4a7d4;
    --plum-400: #b06fb0;
    --plum-500: #7B2D8B;
    --plum-600: #6a2476;
    --plum-700: #541d5f;
    --plum-800: #3e1647;
    --plum-900: #290f30;

    --amber-50: #fffbeb;
    --amber-100: #fff3cd;
    --amber-200: #ffeaa6;
    --amber-300: #f5c844;
    --amber-400: #D4A017;
    --amber-500: #c4900f;
    --amber-600: #a6770c;

    --cream: #FFFBF5;
    --cream-dark: #f5efe6;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shadow-sm: 0 1px 2px rgba(123, 45, 139, 0.04), 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(123, 45, 139, 0.08), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px -3px rgba(123, 45, 139, 0.1), 0 4px 10px -2px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 40px -5px rgba(123, 45, 139, 0.12), 0 8px 16px -4px rgba(0,0,0,0.08);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--gray-800);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Decorative Blobs --- */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.blob--plum {
    width: 500px;
    height: 500px;
    background: var(--plum-200);
    top: -100px;
    right: -100px;
    animation: blobFloat 20s ease-in-out infinite;
}

.blob--amber {
    width: 400px;
    height: 400px;
    background: var(--amber-200);
    bottom: 20%;
    left: -80px;
    animation: blobFloat 25s ease-in-out infinite reverse;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(255, 251, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo-mark {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--plum-500), var(--plum-700));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.2;
}

.logo-text--accent {
    color: var(--plum-500);
}

/* Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle__line {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active .nav-toggle__line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle__line:nth-child(2) {
    opacity: 0;
}

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

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

.nav__list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav__link {
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--plum-500);
    background: var(--plum-50);
}

.nav__link--cta {
    background: linear-gradient(135deg, var(--plum-500), var(--plum-600));
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: var(--radius-xl);
    margin-left: 8px;
}

.nav__link--cta:hover {
    background: linear-gradient(135deg, var(--plum-600), var(--plum-700));
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--plum-500), var(--plum-600));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(123, 45, 139, 0.3);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--plum-600), var(--plum-700));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 45, 139, 0.4);
}

.btn--ghost {
    background: var(--white);
    color: var(--plum-500);
    border: 1.5px solid var(--plum-200);
}

.btn--ghost:hover {
    border-color: var(--plum-500);
    background: var(--plum-50);
    transform: translateY(-2px);
}

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

.btn--outline:hover {
    background: var(--plum-50);
    border-color: var(--plum-500);
    transform: translateY(-2px);
}

.btn--lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* --- Section Shared --- */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--plum-500);
    margin-bottom: 16px;
}

.section-eyebrow-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--plum-400), var(--amber-400));
    border-radius: 50%;
    flex-shrink: 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--gray-600);
    max-width: 540px;
    line-height: 1.7;
}

/* --- Hero --- */
.hero {
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--plum-500);
    margin-bottom: 24px;
}

.hero__eyebrow-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--plum-400), var(--amber-400));
    border-radius: 50%;
    flex-shrink: 0;
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 600;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero__headline em {
    font-style: italic;
    background: linear-gradient(135deg, var(--plum-500), var(--plum-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subheadline {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero__trust {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.hero__trust-icon {
    width: 20px;
    height: 20px;
    color: var(--amber-400);
    flex-shrink: 0;
}

/* Hero Visual */
.hero__visual {
    position: relative;
    height: 580px;
}

.hero__image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero__image--main {
    position: absolute;
    top: 0;
    right: 0;
    width: 82%;
    height: 85%;
}

.hero__image--main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__image--accent {
    position: absolute;
    bottom: 5%;
    left: 0;
    width: 58%;
    height: 42%;
    border: 4px solid var(--cream);
    box-shadow: var(--shadow-lg);
}

.hero__image--accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__image--card {
    position: absolute;
    top: 55%;
    left: 30%;
    width: 55%;
    z-index: 2;
}

.hero__card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero__card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--plum-100), var(--plum-200));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--plum-500);
}

.hero__card-icon svg {
    width: 24px;
    height: 24px;
}

.hero__card-text {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.5;
    font-weight: 500;
}

/* --- Services --- */
.services {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.services .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.services .section-subtitle {
    margin: 0 auto;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--plum-400), var(--amber-400));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--plum-100);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--plum-50), var(--plum-100));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--plum-500);
    transition: var(--transition);
}

.service-card:hover .service-card__icon {
    background: linear-gradient(135deg, var(--plum-500), var(--plum-600));
    color: var(--white);
}

.service-card__icon svg {
    width: 28px;
    height: 28px;
}

.service-card__title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.service-card__desc {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* --- About --- */
.about {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__visual {
    position: relative;
    height: 600px;
}

.about__image-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 80%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about__image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__image-float {
    position: absolute;
    bottom: 5%;
    right: 0;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}

.about__image-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__stat-card {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--plum-500), var(--plum-700));
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    box-shadow: var(--shadow-xl);
    z-index: 2;
}

.about__stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 6px;
    background: linear-gradient(135deg, var(--amber-200), var(--amber-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about__stat-label {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1.4;
}

.about__content .section-title {
    margin-top: 8px;
}

.about__text {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about__values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about__value {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
}

.about__value-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--plum-50), var(--plum-100));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--plum-500);
}

.about__value-icon svg {
    width: 18px;
    height: 18px;
}

/* --- Why Us --- */
.why-us {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.why-us__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us__content .section-title {
    margin-top: 8px;
}

.why-us__list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.why-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.why-item__number {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 600;
    color: var(--plum-200);
    line-height: 1;
    flex-shrink: 0;
    width: 48px;
}

.why-item__body h4 {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.why-item__body p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

.why-us__visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 600px;
}

.why-us__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- CTA --- */
.cta {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.cta__inner {
    background: linear-gradient(135deg, var(--plum-500), var(--plum-800));
    border-radius: var(--radius-xl);
    padding: 72px 60px;
    position: relative;
    overflow: hidden;
}

.cta__content {
    position: relative;
    z-index: 2;
    max-width: 560px;
}

.cta__title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 20px;
}

.cta__text {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 36px;
}

.cta__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta__actions .btn--outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.cta__actions .btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.cta__decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.cta__circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta__circle--1 {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -100px;
}

.cta__circle--2 {
    width: 280px;
    height: 280px;
    top: -80px;
    right: -40px;
}

.cta__circle--3 {
    width: 160px;
    height: 160px;
    top: -30px;
    right: 30px;
    background: rgba(212, 160, 23, 0.1);
}

/* --- Contact --- */
.contact {
    padding: 100px 0 80px;
    position: relative;
    z-index: 1;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact__info .section-title {
    margin-top: 8px;
}

.contact__text {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

.contact__detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact__detail-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--plum-50), var(--plum-100));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--plum-500);
}

.contact__detail-icon svg {
    width: 22px;
    height: 22px;
}

.contact__detail-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.contact__detail-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-800);
    line-height: 1.6;
}

.contact__detail-value a {
    color: var(--plum-500);
    transition: var(--transition);
}

.contact__detail-value a:hover {
    color: var(--plum-700);
    text-decoration: underline;
}

/* Contact Form */
.contact__form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--plum-100);
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

.form-input {
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--gray-800);
    background: var(--gray-50);
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-input:focus {
    border-color: var(--plum-400);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(123, 45, 139, 0.1);
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-radius: var(--radius-sm);
    color: #065f46;
    font-size: 15px;
    font-weight: 500;
    margin-top: 8px;
}

.form-success svg {
    width: 22px;
    height: 22px;
    color: #10b981;
    flex-shrink: 0;
}

/* --- Footer --- */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 64px 0 0;
    position: relative;
    z-index: 1;
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__tagline {
    font-size: 15px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer__heading {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer__links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    font-size: 15px;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--amber-400);
}

.footer__contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 15px;
    line-height: 1.7;
}

.footer__contact a {
    color: var(--gray-400);
    transition: var(--transition);
}

.footer__contact a:hover {
    color: var(--amber-400);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 14px;
    flex-wrap: wrap;
    gap: 12px;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero__grid {
        gap: 40px;
    }

    .hero__visual {
        height: 480px;
    }

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

    .about__visual {
        height: 480px;
    }

    .why-us__inner {
        gap: 40px;
    }

    .why-us__visual {
        height: 480px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        padding: 80px 32px 32px;
        box-shadow: var(--shadow-xl);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    .nav.open {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .nav__link {
        padding: 12px 16px;
        font-size: 16px;
    }

    .nav__link--cta {
        margin-left: 0;
        text-align: center;
        margin-top: 12px;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero__visual {
        height: 400px;
        order: -1;
    }

    .hero__headline {
        font-size: clamp(28px, 6vw, 42px);
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        justify-content: center;
    }

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

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

    .about__visual {
        height: 400px;
    }

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

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

    .why-us__visual {
        height: 360px;
        order: -1;
    }

    .cta__inner {
        padding: 48px 32px;
    }

    .cta__actions {
        flex-direction: column;
    }

    .cta__actions .btn {
        justify-content: center;
    }

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

    .contact__form-wrapper {
        padding: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

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

    .hero {
        padding: 100px 0 60px;
    }

    .hero__visual {
        height: 320px;
    }

    .hero__image--card {
        display: none;
    }

    .services,
    .about,
    .why-us,
    .cta {
        padding: 72px 0;
    }

    .contact {
        padding: 72px 0 60px;
    }
}
