/* ========================================
   Kennelley's Auto Trim — Custom Styles
   Plum + Amber Editorial Design
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
    --plum-50:  #faf5f7;
    --plum-100: #f5e9ee;
    --plum-200: #ebd1da;
    --plum-300: #d9adae;
    --plum-400: #c07d82;
    --plum-500: #a35460;
    --plum-600: #8a4150;
    --plum-700: #713342;
    --plum-800: #5c2b38;
    --plum-900: #4a2c5e;
    --plum-950: #2a1830;
    
    --amber-50:  #fff9ee;
    --amber-100: #ffefcf;
    --amber-200: #ffdf9f;
    --amber-300: #ffd06f;
    --amber-400: #E8A838;
    --amber-500: #d4912a;
    --amber-600: #b07520;
    --amber-700: #8a5a19;
    --amber-800: #6d4615;
    --amber-900: #573812;
    
    --neutral-50:  #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e8e8e8;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    --neutral-950: #0a0a0a;
    
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(74, 44, 94, 0.05);
    --shadow-md: 0 4px 16px rgba(74, 44, 94, 0.08);
    --shadow-lg: 0 12px 40px rgba(74, 44, 94, 0.12);
    --shadow-xl: 0 24px 60px rgba(74, 44, 94, 0.15);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: var(--neutral-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--plum-950);
}

em {
    font-style: italic;
    color: var(--amber-600);
}

/* --- Section Labels --- */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 2px;
    background: var(--amber-400);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--plum-950);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--neutral-600);
    max-width: 560px;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--amber-400);
    color: var(--plum-950);
    box-shadow: 0 4px 16px rgba(232, 168, 56, 0.35);
}

.btn--primary:hover {
    background: var(--amber-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 168, 56, 0.45);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn--dark {
    background: var(--plum-900);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.btn--dark:hover {
    background: var(--plum-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(42, 24, 48, 0.95);
    backdrop-filter: blur(16px);
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #ffffff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
}

.nav__logo-icon {
    color: var(--amber-400);
}

.nav__logo-accent {
    color: var(--amber-400);
    font-weight: 400;
    font-style: italic;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav__link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.nav__link--cta {
    background: var(--amber-400);
    color: var(--plum-950);
    font-weight: 600;
    margin-left: 0.5rem;
}

.nav__link--cta:hover {
    background: var(--amber-500);
    color: var(--plum-950);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.nav__toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all var(--transition);
}

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

.nav__toggle.active .nav__toggle-bar:nth-child(2) {
    opacity: 0;
}

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

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--plum-950);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(42, 24, 48, 0.95) 0%,
        rgba(74, 44, 94, 0.88) 40%,
        rgba(74, 44, 94, 0.75) 100%
    );
}

.hero__bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(232, 168, 56, 0.06) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(232, 168, 56, 0.04) 0%, transparent 50%);
}

.hero__container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--amber-400);
    background: rgba(232, 168, 56, 0.12);
    border: 1px solid rgba(232, 168, 56, 0.25);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.hero__headline {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 900;
    line-height: 1.08;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.hero__em {
    color: var(--amber-400);
    font-style: italic;
}

.hero__subheadline {
    font-size: 1.125rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    margin-bottom: 2.5rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* --- Floating Stat Cards --- */
.hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: rgba(232, 168, 56, 0.3);
}

.stat-card--1 { transform: translateY(-12px); }
.stat-card--1:hover { transform: translateY(-16px); }
.stat-card--2 { transform: translateY(8px); }
.stat-card--2:hover { transform: translateY(4px); }
.stat-card--3 { transform: translateY(4px); }
.stat-card--3:hover { transform: translateY(0px); }
.stat-card--4 { transform: translateY(-8px); }
.stat-card--4:hover { transform: translateY(-12px); }

.stat-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 168, 56, 0.15);
    border-radius: var(--radius-sm);
    color: var(--amber-400);
    margin-bottom: 0.875rem;
}

.stat-card__number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.stat-card__label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}

/* --- Services Section --- */
.services {
    padding: 7rem 0;
    background: var(--neutral-50);
}

.services__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

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

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

.service-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    border: 1px solid var(--neutral-200);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

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

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

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

.service-card__icon-wrap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-50);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    transition: all var(--transition);
}

.service-card:hover .service-card__icon-wrap {
    background: var(--plum-900);
}

.service-card__icon {
    color: var(--plum-700);
    transition: color var(--transition);
}

.service-card:hover .service-card__icon {
    color: var(--amber-400);
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--plum-950);
}

.service-card__desc {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

/* --- About Section --- */
.about {
    padding: 7rem 0;
    background: var(--plum-950);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 168, 56, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.about__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.about__image-wrap {
    position: relative;
}

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

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

.about__image-accent {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 260px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 4px solid var(--plum-950);
    box-shadow: var(--shadow-lg);
}

.about__image-accent img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.about__experience-badge {
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    background: var(--amber-400);
    color: var(--plum-950);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about__experience-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.about__experience-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.about__content .section-title {
    color: #ffffff;
}

.about__content .section-title em {
    color: var(--amber-400);
}

.about__text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.25rem;
}

.about__values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0 2.5rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.value-item__mark {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 168, 56, 0.15);
    border-radius: 50%;
    color: var(--amber-400);
}

.about__content .btn--dark {
    background: var(--amber-400);
    color: var(--plum-950);
}

.about__content .btn--dark:hover {
    background: var(--amber-500);
}

/* --- Why Us Section --- */
.why-us {
    padding: 7rem 0;
    background: #ffffff;
}

.why-us__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

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

.why-card {
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all var(--transition);
    position: relative;
}

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

.why-card__number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--plum-100);
    line-height: 1;
    margin-bottom: 1rem;
    transition: color var(--transition);
}

.why-card:hover .why-card__number {
    color: var(--plum-200);
}

.why-card__title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--plum-950);
}

.why-card__text {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.75;
}

/* --- Contact Section --- */
.contact {
    padding: 7rem 0;
    background: var(--plum-900);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 168, 56, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.contact__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.contact__info .section-title {
    color: #ffffff;
}

.contact__info .section-title em {
    color: var(--amber-400);
}

.contact__text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.contact-detail__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 168, 56, 0.12);
    border-radius: var(--radius-sm);
    color: var(--amber-400);
}

.contact-detail__label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.25rem;
}

.contact-detail__value {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #ffffff;
}

.contact-detail__value a {
    color: var(--amber-400);
    transition: color var(--transition);
}

.contact-detail__value a:hover {
    color: var(--amber-500);
}

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

/* --- Contact Form --- */
.contact__form-wrap {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
}

.contact__form-header {
    margin-bottom: 2rem;
}

.contact__form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--plum-950);
    margin-bottom: 0.5rem;
}

.contact__form-subtitle {
    font-size: 0.9375rem;
    color: var(--neutral-500);
}

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

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--neutral-800);
    background: var(--neutral-50);
    border: 1.5px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--plum-500);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(163, 84, 96, 0.1);
}

.form-input::placeholder {
    color: var(--neutral-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='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

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

.contact__success {
    text-align: center;
    padding: 2rem 1rem;
}

.contact__success-icon {
    margin-bottom: 1rem;
}

.contact__success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--plum-950);
    margin-bottom: 0.75rem;
}

.contact__success-text {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

.contact__success-text a {
    color: var(--amber-600);
    font-weight: 600;
}

/* --- Footer --- */
.footer {
    background: var(--plum-950);
    padding: 4rem 0 0;
}

.footer__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.footer__brand {
    max-width: 320px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #ffffff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer__logo-icon {
    color: var(--amber-400);
}

.footer__logo-accent {
    color: var(--amber-400);
    font-weight: 400;
    font-style: italic;
}

.footer__tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

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

.footer__link-group h4 {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--amber-400);
    margin-bottom: 1.25rem;
}

.footer__link-group ul {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer__link-group a,
.footer__address {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition);
    line-height: 1.6;
}

.footer__link-group a:hover {
    color: #ffffff;
}

.footer__address {
    font-style: normal;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.footer__copyright,
.footer__location {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero__stats {
        max-width: 480px;
    }
    
    .about__layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about__image-main img {
        height: 500px;
    }
    
    .about__image-accent {
        width: 200px;
        right: -1rem;
        bottom: -1rem;
    }
    
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact__layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer__top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(42, 24, 48, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0.5rem;
        transition: right var(--transition);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }
    
    .nav__menu.open {
        right: 0;
    }
    
    .nav__link {
        width: 100%;
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }
    
    .nav__link--cta {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
        width: 100%;
        justify-content: center;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding: 6rem 0 4rem;
    }
    
    .hero__container {
        padding: 6rem 1.5rem 3rem;
    }
    
    .hero__headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero__stats {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-card--1, .stat-card--2, .stat-card--3, .stat-card--4 {
        transform: none;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .why-us__grid {
        grid-template-columns: 1fr;
    }
    
    .about__values {
        grid-template-columns: 1fr;
    }
    
    .about__image-accent {
        display: none;
    }
    
    .footer__links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
    }
    
    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero__stats {
        grid-template-columns: 1fr;
    }
    
    .contact__form-wrap {
        padding: 1.5rem;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
