/* Components */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.btn--gold {
    background: var(--gold-bright);
    color: var(--black);
    border-color: var(--gold-bright);
}
.btn--gold:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn--outline:hover {
    background: var(--white);
    color: var(--black);
}

.section--light .btn--outline {
    color: var(--black);
    border-color: var(--black);
}
.section--light .btn--outline:hover {
    background: var(--black);
    color: var(--white);
}

.btn--outline-dark {
    background: transparent;
    color: var(--black);
    border-color: var(--black);
}
.btn--outline-dark:hover {
    background: var(--black);
    color: var(--white);
}

.btn--sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--full { width: 100%; }

/* Hero */
.hero {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    overflow: hidden;
}

.hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
    position: relative;
    z-index: 2;
}

@media (min-width: 1024px) {
    .hero__content { padding: var(--space-2xl) var(--space-xl); }
}

.hero__eyebrow {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-md);
}

.hero__title em {
    font-style: normal;
    color: var(--gold-bright);
}

.hero__text {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 520px;
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    width: 100%;
}

.hero__visual {
    order: -1;
    position: relative;
    width: 100%;
    min-height: 280px;
    height: min(56vw, 70vh);
    background: var(--black-soft);
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero__visual {
        min-height: 380px;
        height: min(52vw, 68vh);
    }
}

.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.28);
    z-index: 1;
}

.hero__crown {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    opacity: 0.85;
}

.hero__crown svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero__crown--1 {
    width: 80px;
    height: 84px;
    top: 10%;
    left: 8%;
    transform: rotate(15deg);
}

.hero__crown--2 {
    width: 120px;
    height: 126px;
    bottom: 15%;
    right: 8%;
    transform: rotate(20deg);
    opacity: 0.7;
}

.hero__marty-wrap {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 3;
    pointer-events: none;
    max-width: 42%;
    max-height: 78%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: visible;
}

.hero__marty-wrap::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 8%;
    width: 65%;
    height: 14%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55) 0%, transparent 72%);
    transform: translateY(40%);
    filter: blur(10px);
    z-index: 0;
}

.hero__marty-wrap::after {
    content: '';
    position: absolute;
    top: 10%;
    bottom: 0;
    left: -10%;
    width: 14%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(10, 10, 10, 0.35) 55%,
        transparent 100%
    );
    filter: blur(10px);
    z-index: 0;
    pointer-events: none;
}

.hero__marty {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: bottom right;
    filter:
        drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55))
        drop-shadow(0 18px 36px rgba(0, 0, 0, 0.35))
        drop-shadow(-4px 0 16px rgba(0, 0, 0, 0.25));
    -webkit-mask-image:
        linear-gradient(to top, #000 92%, transparent 100%),
        linear-gradient(to right, transparent 0%, #000 7%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(to top, #000 92%, transparent 100%),
        linear-gradient(to right, transparent 0%, #000 7%);
    mask-composite: intersect;
}

@media (max-width: 1023px) {
    .hero__marty-wrap {
        max-width: 50%;
        max-height: 68%;
    }
}

@media (min-width: 1024px) {
    .hero__marty-wrap {
        max-width: 45%;
        max-height: 82%;
    }
}

.hero__grain {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 2;
}

/* Trust Bar */
.trust-bar {
    background: var(--gold);
    color: var(--black);
    padding: var(--space-md) 0;
}

@media (max-width: 1023px) {
    .trust-bar {
        clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
        padding-top: calc(var(--space-md) + 1.5rem);
    }
}

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

@media (min-width: 768px) {
    .trust-bar__grid { grid-template-columns: repeat(4, 1fr); }
}

.trust-bar__item { text-align: center; }

.trust-bar__value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.trust-bar__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.7;
    margin-top: 4px;
}

.trust-strip__exterior {
    margin: 0;
    line-height: 0;
}

.trust-strip__exterior img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 520px;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 1024px) {
    .trust-strip__exterior--mobile {
        display: none;
    }
}

/* Bento Grid - Differentiators */
.bento {
    display: grid;
    gap: var(--space-sm);
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .bento { grid-template-columns: repeat(4, 1fr); }
}

.bento__card {
    background: var(--white-pure);
    border: 2px solid var(--gold);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.bento__card:hover {
    border-color: var(--gold-bright);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(201, 162, 39, 0.15);
}

.bento__card--featured {
    grid-column: span 1;
}
@media (min-width: 1024px) {
    .bento__card--featured { grid-column: span 2; }
}

.bento__icon {
    width: 48px;
    height: 48px;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: var(--space-sm);
    transform: rotate(-5deg);
}

.bento__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.03em;
    margin-bottom: var(--space-xs);
    color: var(--black);
}

.bento__text {
    color: #555;
    font-size: 0.9375rem;
}

/* Service Cards */
.services-grid__cards {
    display: grid;
    gap: var(--space-sm);
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .services-grid__cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .services-grid__cards { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
    background: var(--white-pure);
    border: 2px solid var(--gold);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    border-color: var(--gold-bright);
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(201, 162, 39, 0.15);
}

.service-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--transition);
}
.service-card:hover .service-card__accent { transform: scaleY(1); }

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    letter-spacing: 0.03em;
    margin-bottom: var(--space-sm);
    color: var(--gold-dim);
}

.service-card__list {
    flex: 1;
    margin-bottom: var(--space-md);
}
.service-card__list li {
    font-size: 0.875rem;
    color: #555;
    padding: 4px 0;
    padding-left: var(--space-sm);
    position: relative;
}
.service-card__list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold-dim);
}

.service-card__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold-dim);
}
.service-card__link:hover {
    color: var(--gold);
}

/* Process Steps */
.process__grid {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .process__grid { grid-template-columns: repeat(3, 1fr); }
}

.process__step {
    position: relative;
    padding: var(--space-lg) var(--space-md);
    border-left: 3px solid var(--gold);
}

.process__number {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.3;
    display: block;
    margin-bottom: var(--space-xs);
}

.process__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.03em;
    margin-bottom: var(--space-xs);
}

.process__text {
    font-size: 0.9375rem;
    color: #555;
}

/* Counties */
.counties__inner {
    display: grid;
    gap: var(--space-lg);
    align-items: center;
}

@media (min-width: 768px) {
    .counties__inner { grid-template-columns: 1fr 1fr; }
}

.counties__content p {
    color: var(--gray);
    margin-top: var(--space-sm);
}

.counties__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.county-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid var(--gray-dark);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: all var(--transition);
}
.county-tag:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* FAQ */
.faq__list { max-width: 800px; }

.faq__item {
    border-bottom: 1px solid var(--gray-dark);
}

.faq__question {
    padding: var(--space-md) 0;
    font-weight: 600;
    font-size: 1.0625rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
    content: '+';
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold);
    transition: transform var(--transition);
}
.faq__item[open] .faq__question::after { content: '−'; }

.faq__answer {
    padding-bottom: var(--space-md);
    color: var(--gray);
    line-height: 1.7;
}

.section--light .faq__item {
    border-bottom-color: #e5e5e0;
    border-left: 3px solid transparent;
    padding-left: var(--space-sm);
    transition: border-color var(--transition);
}

.section--light .faq__item[open] {
    border-left-color: var(--gold);
}

.section--light .faq__answer {
    color: #555;
}

/* CTA Band */
.cta-band__inner {
    background: var(--white-pure);
    border: 1px solid #e5e5e0;
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    color: var(--black);
}

.cta-band__inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201,162,39,0.08) 0%, transparent 70%);
    pointer-events: none;
}

@media (min-width: 768px) {
    .cta-band__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cta-band__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 0.02em;
    margin-bottom: var(--space-xs);
}

.cta-band__text { color: #555; max-width: 480px; }

.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    flex-shrink: 0;
}

/* Referral Banner */
.referral {
    background: var(--gold);
    color: var(--black);
    text-align: center;
    padding: var(--space-lg) 0;
}

.referral__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    letter-spacing: 0.03em;
    margin-bottom: var(--space-sm);
}

.referral__text {
    font-size: 1rem;
    margin-bottom: var(--space-md);
    opacity: 0.8;
}

.referral .btn--outline {
    color: var(--black);
    border-color: var(--black);
}
.referral .btn--outline:hover {
    background: var(--black);
    color: var(--gold);
}

/* Page Hero (inner pages) */
.page-hero {
    padding: var(--space-xl) 0 var(--space-lg);
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.page-hero__label {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-xs);
}

.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-sm);
}

.page-hero__subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 640px;
}

/* Content blocks */
.content-block {
    padding: var(--space-lg) 0;
}

.content-block__grid {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .content-block__grid--2 { grid-template-columns: 1fr 1fr; }
}

.content-block__text {
    color: var(--white);
    font-size: 1.0625rem;
    line-height: 1.8;
}
.content-block__text p + p { margin-top: var(--space-sm); }
.content-block__text a,
.coming-soon a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.content-block__text a:hover,
.coming-soon a:hover { color: var(--gold-bright); }

.item-grid {
    display: grid;
    gap: var(--space-sm);
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.item-grid__card {
    background: var(--black-soft);
    border: 1px solid var(--gray-dark);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    font-size: 0.9375rem;
    transition: border-color var(--transition);
}
.item-grid__card:hover { border-color: var(--gold-dim); }

.section--light .item-grid__card {
    background: var(--white-pure);
    border-color: #ddd;
}

/* Contact Form */
.contact-grid {
    display: grid;
    gap: var(--space-xl);
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr 1.2fr; }
}

.contact-info__item {
    margin-bottom: var(--space-md);
}

.contact-info__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
}

.contact-info__value {
    font-size: 1.125rem;
}
.contact-info__value a:hover { color: var(--gold); }

.contact-form {
    background: var(--black-soft);
    border: 1px solid var(--gray-dark);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.form-group { margin-bottom: var(--space-md); }

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--gray);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--black);
    border: 1px solid var(--gray-dark);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
}

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

.form-alert {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    font-size: 0.9375rem;
}
.form-alert--success {
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid var(--gold-dim);
    color: var(--gold-bright);
}
.form-alert--error {
    background: rgba(255, 60, 60, 0.1);
    border: 1px solid #ff3c3c;
    color: #ff6b6b;
}

.map-embed {
    width: 100%;
    height: 300px;
    border: 1px solid var(--gray-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Blog */
.blog-grid {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

.blog-card {
    background: var(--black-soft);
    border: 1px solid var(--gray-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    border-color: var(--gold-dim);
    transform: translateY(-4px);
}

.blog-card__body { padding: var(--space-lg); flex: 1; display: flex; flex-direction: column; }

.blog-card__date {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.blog-card__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-sm);
    line-height: 1.1;
}

.blog-card__excerpt {
    color: var(--gray);
    font-size: 0.9375rem;
    flex: 1;
    margin-bottom: var(--space-md);
}

.blog-card__link {
    font-weight: 600;
    color: var(--gold);
    font-size: 0.875rem;
}

/* Article */
.article {
    max-width: 760px;
    margin: 0 auto;
    padding: var(--space-lg) 0 var(--space-xl);
}

.breadcrumbs {
    margin-bottom: var(--space-md);
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
    font-size: 0.8125rem;
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
    color: var(--gray);
}

.breadcrumbs__item:not(:last-child)::after {
    content: '/';
    margin: 0 0.5rem;
    color: var(--gray-dark);
}

.breadcrumbs__link {
    color: var(--gold);
}

.breadcrumbs__link:hover {
    color: var(--gold-bright);
}

.breadcrumbs__current {
    color: var(--gray);
}

.article__meta {
    font-size: 0.8125rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.article__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-lg);
}

.article__content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #ccc;
}
.article__content p { margin-bottom: var(--space-md); }
.article__content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.15;
    letter-spacing: 0.02em;
    color: var(--white);
    margin: var(--space-lg) 0 var(--space-sm);
}
.article__content ul { margin-bottom: var(--space-md); padding-left: var(--space-md); }
.article__content li { list-style: disc; margin-bottom: var(--space-xs); color: var(--gray); }
.article__content strong { color: var(--white); }
.article__content a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.article__content a:hover { color: var(--gold-bright); }

/* Legal */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-lg) 0 var(--space-xl);
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    letter-spacing: 0.03em;
    margin: var(--space-lg) 0 var(--space-sm);
    color: var(--gold);
}

.legal-content p,
.legal-content li {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.legal-content ul { padding-left: var(--space-md); }
.legal-content li { list-style: disc; }

.legal-content a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.legal-content a:hover { color: var(--gold-bright); }

/* 404 */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
}

.error-page__code {
    font-family: var(--font-display);
    font-size: clamp(6rem, 15vw, 12rem);
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
}

.error-page__title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.error-page__text {
    color: var(--gray);
    margin-bottom: var(--space-lg);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.lightbox[hidden] {
    display: none;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
}

.lightbox__content {
    position: relative;
    z-index: 1;
    max-width: min(1100px, 100%);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: var(--space-sm);
}

.lightbox__img {
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.lightbox__caption {
    margin: 0;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    text-align: center;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.lightbox__close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    font-size: 2.5rem;
    line-height: 1;
    color: var(--white);
    padding: var(--space-xs);
    z-index: 2;
}

.lightbox__close:hover {
    color: var(--gold-bright);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    line-height: 1;
    color: var(--white);
    padding: var(--space-sm);
    z-index: 2;
}

.lightbox__nav:hover {
    color: var(--gold-bright);
}

.lightbox__nav--prev { left: -0.5rem; }
.lightbox__nav--next { right: -0.5rem; }

@media (max-width: 768px) {
    .lightbox__nav--prev { left: 0; }
    .lightbox__nav--next { right: 0; }

    .lightbox__close {
        top: var(--space-sm);
        right: var(--space-sm);
        background: rgba(0, 0, 0, 0.5);
        border-radius: var(--radius-sm);
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* How It Works modal */
.hiw {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.hiw[hidden] {
    display: none;
}

.hiw__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(4px);
}

.hiw__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    background: var(--black-soft);
    color: var(--white);
    border: 1px solid rgba(201, 162, 39, 0.35);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
    padding: var(--space-lg) var(--space-md) var(--space-md);
    overflow: hidden;
}

.hiw__dismiss {
    position: absolute;
    top: 0.75rem;
    right: 0.85rem;
    width: 36px;
    height: 36px;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--gray);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}

.hiw__dismiss:hover,
.hiw__dismiss:focus-visible {
    color: var(--white);
    background: var(--gray-dark);
}

.hiw__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
    margin-bottom: var(--space-md);
}

.hiw__stepper {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 280px;
    margin: 0 auto var(--space-lg);
}

.hiw__track {
    position: absolute;
    top: 50%;
    left: 22px;
    right: 22px;
    height: 4px;
    background: var(--gray-dark);
    border-radius: 99px;
    transform: translateY(-50%);
    overflow: hidden;
    z-index: 0;
}

.hiw__progress {
    height: 100%;
    width: 0%;
    background: var(--green);
    border-radius: 99px;
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.hiw[data-step="2"] .hiw__progress { width: 50%; }
.hiw[data-step="3"] .hiw__progress { width: 100%; }

.hiw__circle {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--gray-dark);
    background: var(--black);
    color: var(--gray);
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.hiw__circle.is-done,
.hiw__circle.is-active {
    background: var(--green);
    border-color: var(--green);
    color: var(--white-pure);
}

.hiw__circle.is-active {
    box-shadow: 0 0 0 4px rgba(46, 155, 87, 0.28);
}

.hiw__pane {
    text-align: center;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hiw__pane[hidden] {
    display: none;
}

.hiw__eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: var(--space-xs);
}

.hiw__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.75rem);
    line-height: 1;
    letter-spacing: 0.04em;
    margin-bottom: var(--space-sm);
}

.hiw__text {
    color: var(--white);
    font-size: 1.0625rem;
    line-height: 1.6;
    max-width: 28rem;
    margin-bottom: var(--space-md);
}

.hiw__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-top: auto;
    width: 100%;
}

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

    .hiw__circle {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .hiw__track {
        left: 19px;
        right: 19px;
    }

    .hiw__actions .btn {
        width: 100%;
    }

    .hiw__pane {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hiw__progress,
    .hiw__circle {
        transition: none;
    }
}

/* Review tiles */
.review-grid {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .review-grid--service {
        grid-template-columns: repeat(2, 1fr);
        align-items: stretch;
    }

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

@media (min-width: 1200px) {
    .review-grid--page {
        grid-template-columns: repeat(3, 1fr);
    }
}

.review-grid--service .review-card:only-child {
    max-width: 40rem;
}

.review-card {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    background: var(--black-soft);
    border: 1px solid var(--gray-dark);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.review-card:hover {
    border-color: var(--gold-dim);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(201, 162, 39, 0.12);
}

.section--light .review-card {
    background: var(--white-pure);
    border: 2px solid var(--gold);
}

.section--light .review-card:hover {
    border-color: var(--gold-bright);
}

.review-card__stars {
    color: var(--gold);
    font-size: 0.875rem;
    letter-spacing: 0.12em;
    line-height: 1;
}

.review-card__text {
    color: var(--gray);
    font-size: 0.9375rem;
    line-height: 1.7;
    flex: 1;
}

.section--light .review-card__text {
    color: #555;
}

.review-card__name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    color: var(--gold);
    margin-top: auto;
}

.reviews__all {
    margin-top: var(--space-md);
}

.reviews__all a {
    font-weight: 600;
    color: var(--gold);
}

