/* ============================================
   Hair by Carmen Ferguson — Custom Styles
   Palette: Burgundy (#7B2D3B) + Blush (#F5E6D3)
   Fonts: Playfair Display + Lato
   ============================================ */

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

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

body {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    color: #2C1A1D;
    background-color: #FDF8F5;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.2;
    color: #2C1A1D;
}

/* ---------- Utility ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-eyebrow {
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #7B2D3B;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: #2C1A1D;
    margin-bottom: 0;
}

.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #7B2D3B, #C4787A);
    margin-top: 20px;
    margin-bottom: 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 2px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.35s ease;
    white-space: nowrap;
}

.btn--primary {
    background: #7B2D3B;
    color: #FDF8F5;
    border-color: #7B2D3B;
}

.btn--primary:hover {
    background: #5E2130;
    border-color: #5E2130;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 45, 59, 0.25);
}

.btn--ghost {
    background: transparent;
    color: #FDF8F5;
    border-color: rgba(253, 248, 245, 0.6);
}

.btn--ghost:hover {
    background: rgba(253, 248, 245, 0.1);
    border-color: #FDF8F5;
}

.btn--outline-light {
    background: transparent;
    color: #FDF8F5;
    border-color: rgba(253, 248, 245, 0.7);
}

.btn--outline-light:hover {
    background: rgba(253, 248, 245, 0.12);
    border-color: #FDF8F5;
}

.btn--lg {
    padding: 18px 40px;
    font-size: 0.9rem;
}

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

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    transition: all 0.35s ease;
}

.nav.scrolled {
    box-shadow: 0 2px 20px rgba(44, 26, 29, 0.08);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav__logo-mark {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #7B2D3B;
    width: 40px;
    height: 40px;
    border: 1.5px solid #7B2D3B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
}

.nav__logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 500;
    color: #2C1A1D;
    letter-spacing: 0.02em;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__link {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #2C1A1D;
    position: relative;
    padding: 4px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #7B2D3B;
    transition: width 0.3s ease;
}

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

.nav__link:hover {
    color: #7B2D3B;
}

.nav__link--cta {
    background: #7B2D3B;
    color: #FDF8F5 !important;
    padding: 10px 24px;
    border-radius: 2px;
    letter-spacing: 0.08em;
}

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

.nav__link--cta:hover {
    background: #5E2130;
    color: #FDF8F5 !important;
}

/* Mobile toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__toggle-line {
    width: 24px;
    height: 1.5px;
    background: #2C1A1D;
    transition: all 0.3s ease;
}

/* Mobile overlay */
.nav__overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(253, 248, 245, 0.98);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.nav__overlay.active {
    opacity: 1;
    pointer-events: all;
}

.nav__overlay-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.nav__overlay-link {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 500;
    color: #2C1A1D;
    transition: color 0.3s ease;
}

.nav__overlay-link:hover {
    color: #7B2D3B;
}

.nav__overlay-link--cta {
    margin-top: 16px;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: #7B2D3B;
    color: #FDF8F5;
    padding: 14px 40px;
    border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: #2C1A1D;
}

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

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 26, 29, 0.88) 0%,
        rgba(123, 45, 59, 0.72) 50%,
        rgba(44, 26, 29, 0.82) 100%
    );
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
}

.hero__eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #F5E6D3;
    margin-bottom: 24px;
    opacity: 0.85;
}

.hero__headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 500;
    line-height: 1.3;
    color: #FDF8F5;
    margin-bottom: 24px;
}

.hero__headline em {
    font-style: italic;
    color: #F5E6D3;
}

.hero__subheadline {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(253, 248, 245, 0.75);
    margin-bottom: 40px;
    max-width: 480px;
}

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

/* Hero image column */
.hero__image-col {
    position: relative;
    height: 560px;
}

.hero__image-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 80%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

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

.hero__image-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    border: 4px solid rgba(253, 248, 245, 0.15);
}

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

.hero__scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(253, 248, 245, 0.5);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero__scroll-indicator svg {
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ---------- Services ---------- */
.services {
    padding: 120px 0;
    background: #FDF8F5;
}

.services__header {
    text-align: center;
    margin-bottom: 64px;
}

.services__header .section-divider {
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background: #fff;
    border-radius: 4px;
    padding: 40px 32px;
    border: 1px solid rgba(123, 45, 59, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7B2D3B, #C4787A);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(123, 45, 59, 0.1);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(123, 45, 59, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7B2D3B;
    margin-bottom: 24px;
    transition: background 0.3s ease;
}

.service-card:hover .service-card__icon {
    background: rgba(123, 45, 59, 0.1);
}

.service-card__title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #2C1A1D;
}

.service-card__desc {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #5A3D42;
}

/* ---------- About ---------- */
.about {
    padding: 120px 0;
    background: #F5E6D3;
}

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

.about__image-stack {
    position: relative;
    height: 600px;
}

.about__img-primary {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 80%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(44, 26, 29, 0.15);
}

.about__img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(44, 26, 29, 0.12);
    border: 4px solid #F5E6D3;
}

.about__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__img-badge {
    position: absolute;
    bottom: 42%;
    left: 60%;
    transform: translateX(-50%);
    z-index: 2;
    background: #7B2D3B;
    color: #FDF8F5;
    padding: 12px 24px;
    border-radius: 2px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 24px rgba(123, 45, 59, 0.3);
}

.about__eyebrow {
    margin-bottom: 16px;
}

.about__title {
    margin-bottom: 0;
}

.about__divider {
    margin-bottom: 32px;
}

.about__body {
    font-size: 1rem;
    line-height: 1.85;
    color: #4A2F33;
    margin-bottom: 20px;
}

.about__signature {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(123, 45, 59, 0.2);
}

.about__signature-name {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-style: italic;
    color: #7B2D3B;
    margin-bottom: 4px;
}

.about__signature-title {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5A3D42;
}

/* ---------- Gallery ---------- */
.gallery {
    padding: 120px 0;
    background: #FDF8F5;
}

.gallery__header {
    text-align: center;
    margin-bottom: 64px;
}

.gallery__header .section-divider {
    margin-left: auto;
    margin-right: auto;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 20px;
}

.gallery__item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.gallery__item--large {
    grid-column: span 7;
    grid-row: span 2;
}

.gallery__item--wide {
    grid-column: span 12;
}

.gallery__item:not(.gallery__item--large):not(.gallery__item--wide) {
    grid-column: span 6;
}

.gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    min-height: 220px;
}

.gallery__item:hover .gallery__img {
    transform: scale(1.05);
}

.gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 26, 29, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery__item:hover .gallery__item-overlay {
    opacity: 1;
}

.gallery__item-overlay span {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #FDF8F5;
    font-style: italic;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 120px 0;
    background: #2C1A1D;
}

.testimonials__header {
    text-align: center;
    margin-bottom: 64px;
}

.testimonials__header .section-eyebrow {
    color: #F5E6D3;
}

.testimonials__header .section-title {
    color: #FDF8F5;
}

.testimonials__header .section-divider {
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(90deg, #C4787A, #F5E6D3);
}

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

.testimonial-card {
    background: rgba(253, 248, 245, 0.04);
    border: 1px solid rgba(245, 230, 211, 0.1);
    border-radius: 4px;
    padding: 40px 32px;
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    background: rgba(253, 248, 245, 0.07);
    border-color: rgba(245, 230, 211, 0.2);
    transform: translateY(-4px);
}

.testimonial-card__quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1;
    color: #7B2D3B;
    position: absolute;
    top: 16px;
    left: 24px;
    opacity: 0.6;
}

.testimonial-card__text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(253, 248, 245, 0.8);
    margin-bottom: 24px;
    margin-top: 32px;
    font-style: italic;
}

.testimonial-card__attribution {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #F5E6D3;
    opacity: 0.7;
}

/* ---------- CTA ---------- */
.cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

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

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

.cta__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(123, 45, 59, 0.92) 0%,
        rgba(44, 26, 29, 0.88) 100%
    );
}

.cta__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta__eyebrow {
    color: #F5E6D3;
    margin-bottom: 16px;
}

.cta__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: #FDF8F5;
    margin-bottom: 20px;
}

.cta__body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(253, 248, 245, 0.75);
    margin-bottom: 40px;
}

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

/* ---------- Contact ---------- */
.contact {
    padding: 120px 0;
    background: #FDF8F5;
}

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

.contact__title {
    margin-bottom: 0;
}

.contact__divider {
    margin-bottom: 40px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

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

.contact__detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(123, 45, 59, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7B2D3B;
    flex-shrink: 0;
}

.contact__detail-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #7B2D3B;
    margin-bottom: 4px;
    font-weight: 500;
}

.contact__detail-value {
    display: block;
    font-size: 0.95rem;
    color: #2C1A1D;
    line-height: 1.6;
}

.contact__link:hover {
    color: #7B2D3B;
}

.contact__hours {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: rgba(123, 45, 59, 0.04);
    border-radius: 4px;
    border-left: 3px solid #7B2D3B;
}

.contact__hours-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #7B2D3B;
    font-weight: 500;
}

.contact__hours-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-style: italic;
    color: #2C1A1D;
}

/* Contact form */
.contact__form-col {
    background: #fff;
    border-radius: 4px;
    padding: 48px 40px;
    border: 1px solid rgba(123, 45, 59, 0.08);
    box-shadow: 0 8px 32px rgba(44, 26, 29, 0.06);
}

.contact__form-title {
    font-size: 1.5rem;
    margin-bottom: 32px;
    color: #2C1A1D;
}

.contact__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact__form-group {
    margin-bottom: 20px;
}

.contact__form-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5A3D42;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact__form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: #2C1A1D;
    background: #FDF8F5;
    border: 1.5px solid rgba(123, 45, 59, 0.12);
    border-radius: 2px;
    transition: all 0.3s ease;
    outline: none;
}

.contact__form-input:focus {
    border-color: #7B2D3B;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.08);
}

.contact__form-input::placeholder {
    color: #B8A0A4;
}

.contact__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='%237B2D3B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

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

.contact__form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 20px;
    background: rgba(123, 45, 59, 0.06);
    border-radius: 4px;
    border: 1px solid rgba(123, 45, 59, 0.12);
    color: #7B2D3B;
    font-size: 0.9rem;
}

.contact__form-success svg {
    flex-shrink: 0;
    color: #7B2D3B;
}

/* ---------- Map ---------- */
.map {
    background: #2C1A1D;
}

.map iframe {
    display: block;
    filter: grayscale(40%) contrast(1.05);
}

/* ---------- Footer ---------- */
.footer {
    background: #1A0F11;
    padding: 80px 0 0;
}

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

.footer__logo-mark {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: #C4787A;
    width: 44px;
    height: 44px;
    border: 1.5px solid #C4787A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.footer__logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: #FDF8F5;
    display: block;
    margin-bottom: 12px;
}

.footer__tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(253, 248, 245, 0.5);
    max-width: 280px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    font-size: 0.85rem;
    color: rgba(253, 248, 245, 0.6);
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: #C4787A;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__contact-link {
    font-size: 0.9rem;
    color: rgba(253, 248, 245, 0.6);
    transition: color 0.3s ease;
}

.footer__contact-link:hover {
    color: #C4787A;
}

.footer__address {
    font-size: 0.85rem;
    color: rgba(253, 248, 245, 0.4);
    line-height: 1.6;
    margin-top: 4px;
}

.footer__bottom {
    padding: 24px 0;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.8rem;
    color: rgba(253, 248, 245, 0.3);
    letter-spacing: 0.05em;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero__image-col {
        height: 400px;
        max-width: 480px;
    }

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

    .about__layout {
        gap: 48px;
    }

    .about__image-stack {
        height: 450px;
    }

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

    .testimonials__grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

    .contact__layout {
        gap: 48px;
    }

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

@media (max-width: 768px) {
    .nav__links {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: 72px;
    }

    .hero__inner {
        padding: 80px 24px 60px;
        display: flex;
        flex-direction: column;
    }

    .hero__image-col {
        height: 320px;
        width: 100%;
        max-width: none;
    }

    .hero__image-main {
        width: 100%;
        height: 70%;
    }

    .hero__image-accent {
        width: 60%;
    }

    .hero__scroll-indicator {
        display: none;
    }

    .services {
        padding: 80px 0;
    }

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

    .about {
        padding: 80px 0;
    }

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

    .about__image-stack {
        height: 360px;
        order: -1;
    }

    .gallery {
        padding: 80px 0;
    }

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

    .gallery__item--large,
    .gallery__item--wide,
    .gallery__item:not(.gallery__item--large):not(.gallery__item--wide) {
        grid-column: span 1;
    }

    .gallery__item--large {
        grid-row: span 1;
    }

    .testimonials {
        padding: 80px 0;
    }

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

    .testimonials__grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: none;
    }

    .cta {
        padding: 80px 0;
    }

    .cta__actions {
        flex-direction: column;
        align-items: center;
    }

    .contact {
        padding: 80px 0;
    }

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

    .contact__form-col {
        padding: 32px 24px;
    }

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

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

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

    .hero__actions {
        flex-direction: column;
    }

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

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

    .cta__actions {
        flex-direction: column;
    }
}

/* ---------- Reduced Motion ---------- */
@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;
    }
}
