:root {
    --bg: #070707;
    --bg-soft: #0b0b0b;
    --panel: #0f0f0f;
    --panel-2: #15100f;
    --panel-3: #1a1010;
    --text: #f7f3ed;
    --muted: #b7afa7;
    --gold: #d79a28;
    --gold-bright: #f0b640;
    --gold-soft: rgba(215, 154, 40, .16);
    --burgundy: #6d171c;
    --burgundy-dark: #3e0e11;
    --line: rgba(215, 154, 40, .34);
    --line-soft: rgba(255, 255, 255, .09);
    --shadow: 0 24px 70px rgba(0, 0, 0, .45);
    --container: 1240px;
    --header-h: 92px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    background: var(--bg)
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    overflow-x: hidden
}

body.menu-open {
    overflow: hidden
}

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

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

button,
input,
select,
textarea {
    font: inherit
}

button {
    color: inherit
}

svg {
    display: block
}

.icon {
    width: 1.25em;
    height: 1.25em
}

.btn-icon {
    width: 16px;
    height: 16px
}

.nav-icon {
    width: 13px;
    height: 13px
}

.side-arrow,
.submenu-arrow {
    width: 15px;
    height: 15px
}

.flip-x {
    transform: scaleX(-1)
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto
}

.section {
    position: relative;
    padding: 92px 0
}

.skip-link {
    position: fixed;
    left: 16px;
    top: -100px;
    z-index: 9999;
    background: var(--gold);
    color: #15100a;
    padding: 10px 14px;
    font-weight: 800
}

.skip-link:focus {
    top: 16px
}

:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: 3px
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    background: linear-gradient(180deg, rgba(3, 3, 3, .96), rgba(3, 3, 3, .82));
    border-bottom: 1px solid rgba(215, 154, 40, .13);
    backdrop-filter: blur(14px);
    transition: background .25s ease, box-shadow .25s ease
}

.site-header.scrolled {
    background: rgba(5, 5, 5, .97);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .38)
}

.header-inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 28px
}

.brand {
    width: 178px;
    flex: 0 0 178px;
    display: block
}

.brand img {
    width: 100%;
    height: 72px;
    object-fit: contain
}

.desktop-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 24px;
    height: 100%
}

.desktop-nav>a,
.desktop-dropdown-trigger {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .055em;
    white-space: nowrap
}

.desktop-nav>a::after,
.desktop-dropdown-trigger::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 20px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width .25s ease
}

.desktop-nav>a:hover::after,
.desktop-nav>a.active::after,
.desktop-dropdown:hover .desktop-dropdown-trigger::after,
.desktop-dropdown.active .desktop-dropdown-trigger::after {
    width: 100%
}

.desktop-dropdown {
    height: 100%;
    position: relative;
    display: flex;
    align-items: center
}

.desktop-submenu {
    position: absolute;
    left: -24px;
    top: calc(100% - 6px);
    width: 320px;
    background: #090909;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: .22s ease
}

.desktop-dropdown:hover .desktop-submenu,
.desktop-dropdown:focus-within .desktop-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.desktop-submenu>a {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 13px 12px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 12px;
    font-weight: 700;
    color: #e8e1d8;
    transition: .2s
}

.desktop-submenu>a:first-child {
    grid-template-columns: 1fr auto;
    color: var(--gold-bright);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: .08em
}

.desktop-submenu>a:last-child {
    border-bottom: 0
}

.desktop-submenu>a:hover {
    background: var(--gold-soft);
    color: #fff;
    padding-left: 16px
}

.submenu-icon {
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--gold)
}

.submenu-icon .icon {
    width: 17px;
    height: 17px
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--gold);
    background: linear-gradient(135deg, rgba(109, 23, 28, .45), rgba(9, 9, 9, .7));
    padding: 12px 16px;
    color: #fff;
    font-weight: 900;
    font-size: 13px;
    white-space: nowrap;
    transition: .22s
}

.header-phone .icon {
    color: var(--gold-bright);
    width: 18px;
    height: 18px
}

.header-phone:hover {
    background: var(--burgundy);
    border-color: var(--gold-bright)
}

.nav-toggle {
    display: none;
    margin-left: auto;
    border: 1px solid var(--line);
    background: #0d0d0d;
    width: 46px;
    height: 46px;
    place-items: center;
    cursor: pointer
}

.nav-toggle .icon {
    width: 25px;
    height: 25px;
    color: var(--gold-bright)
}


.hp-wrapper {
    position: absolute !important;
    left: -99999px !important;
    top: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Mobile off-canvas */
.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1390;
    background: rgba(0, 0, 0, .72);
    opacity: 0;
    visibility: hidden;
    transition: .25s;
    backdrop-filter: blur(3px)
}

.mobile-nav-backdrop.open {
    opacity: 1;
    visibility: visible
}

.mobile-nav {
    position: fixed;
    z-index: 1400;
    top: 0;
    right: 0;
    width: min(430px, 90vw);
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, #090909, #0e0b0b);
    border-left: 1px solid var(--line);
    transform: translateX(102%);
    transition: transform .3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -30px 0 60px rgba(0, 0, 0, .55)
}

.mobile-nav.open {
    transform: translateX(0)
}

.mobile-nav-head {
    height: 96px;
    flex: 0 0 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid var(--line)
}

.mobile-brand {
    width: 178px
}

.mobile-brand img {
    width: 100%;
    height: 72px;
    object-fit: contain
}

.nav-close {
    border: 1px solid var(--line);
    background: #111;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    cursor: pointer
}

.nav-close .icon {
    width: 22px;
    height: 22px;
    color: var(--gold)
}

.mobile-nav-scroll {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px 20px 32px
}

.mobile-menu>a,
.mobile-services-row {
    min-height: 55px;
    border-bottom: 1px solid var(--line-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .05em
}

.mobile-menu>a .icon {
    width: 16px;
    height: 16px;
    color: var(--gold)
}

.mobile-menu>a.active,
.mobile-services-row>a.active {
    color: var(--gold-bright)
}

.mobile-services-row>a {
    flex: 1;
    height: 55px;
    display: flex;
    align-items: center
}

.submenu-toggle {
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--gold)
}

.submenu-toggle .icon {
    transition: transform .2s
}

.mobile-services.open .submenu-toggle .icon {
    transform: rotate(180deg)
}

.mobile-submenu {
    display: none;
    padding: 8px 0 8px 14px;
    border-bottom: 1px solid var(--line-soft)
}

.mobile-services.open .mobile-submenu {
    display: block
}

.mobile-submenu>a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-left: 1px solid var(--line);
    font-size: 12px;
    color: #d9d1c8
}

.mobile-submenu>a:hover {
    background: var(--gold-soft);
    color: #fff
}

.mobile-submenu>a span {
    width: 30px;
    height: 30px;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--gold)
}

.mobile-submenu .icon {
    width: 15px;
    height: 15px
}

.mobile-client-card {
    margin-top: 22px;
    border: 1px solid var(--line);
    background: rgba(109, 23, 28, .12);
    padding: 18px
}

.mobile-client-card .eyebrow {
    margin-bottom: 12px
}

.mobile-contact-row {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft)
}

.mobile-contact-row:last-of-type {
    margin-bottom: 16px
}

.mobile-contact-row .mini-icon {
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--gold);
    flex: none
}

.mobile-contact-row small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .06em
}

.mobile-contact-row strong {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5
}

/* Buttons and typography */
.eyebrow {
    display: inline-block;
    color: var(--gold-bright);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 900;
    margin-bottom: 14px
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1,
h2,
h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 500
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 23px;
    border: 1px solid var(--gold);
    background: transparent;
    color: #fff;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    cursor: pointer;
    transition: .22s
}

.btn:hover {
    transform: translateY(-2px)
}

.btn-primary {
    background: linear-gradient(135deg, var(--burgundy), #481014)
}

.btn-primary:hover {
    background: linear-gradient(135deg, #8a2026, #561116)
}

.btn-outline {
    background: rgba(0, 0, 0, .28)
}

.btn-outline:hover {
    background: var(--gold-soft)
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    color: #180f08;
    border-color: var(--gold-bright)
}

.btn-gold:hover {
    filter: brightness(1.06)
}

.btn-full {
    width: 100%
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-bright);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .045em
}

.text-link:hover {
    color: #fff
}

.section-heading {
    margin-bottom: 38px
}

.section-heading.centered {
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto
}

.section-heading.left {
    text-align: left
}

.section-heading.compact {
    margin-bottom: 26px
}

.section-heading h2,
.about-home-copy h2,
.story-copy h2,
.faq-page-copy h2,
.contact-page-info h2,
.contact-form-wrap h2,
.service-intro-copy h2,
.split-heading h2,
.feedback-column h2,
.faq-column h2,
.mini-cta h2,
.service-contact-strip h2 {
    font-size: 43px;
    line-height: 1.06;
    margin-bottom: 15px
}

.section-heading p,
.about-home-copy p,
.story-copy p,
.section-intro,
.faq-page-copy p,
.contact-page-info p,
.service-intro-copy p {
    color: var(--muted);
    font-size: 14px
}

.center-action {
    text-align: center;
    margin-top: 30px
}

/* Home slider */
.hero-slider {
    position: relative;
    height: 710px;
    background: #080808;
    overflow: hidden
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .75s ease, visibility .75s ease
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .96) 0%, rgba(0, 0, 0, .82) 31%, rgba(0, 0, 0, .32) 62%, rgba(0, 0, 0, .12) 100%)
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .18), transparent 50%, rgba(0, 0, 0, .38))
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible
}

.hero-inner {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: var(--header-h)
}

.hero-copy {
    width: min(590px, 58%)
}

.hero-copy h1,
.hero-copy h2 {
    font-size: 58px;
    line-height: 1.03;
    text-transform: uppercase;
    margin: 0 0 20px;
    text-shadow: 0 3px 18px #000
}

.hero-copy h2 {
    font-size: 54px
}

.hero-copy p {
    max-width: 540px;
    color: #f1ece5;
    font-size: 16px;
    margin-bottom: 26px
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap
}

.slider-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: rgba(5, 5, 5, .62);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: .2s
}

.slider-arrow:hover {
    background: var(--burgundy)
}

.slider-arrow .icon {
    width: 18px;
    height: 18px;
    color: var(--gold-bright)
}

.slider-prev {
    left: 16px
}

.slider-next {
    right: 16px
}

.slider-dots {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px
}

.slider-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    padding: 0;
    border: 1px solid var(--gold);
    background: transparent;
    cursor: pointer
}

.slider-dots button.active {
    background: var(--gold)
}

.trust-bar {
    background: #0a0a0a;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 19px 22px;
    border-right: 1px solid var(--line-soft)
}

.trust-item:last-child {
    border-right: 0
}

.trust-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--gold);
    flex: none
}

.trust-icon .icon {
    width: 27px;
    height: 27px
}

.trust-item strong {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .045em
}

.trust-item small {
    color: var(--muted);
    font-size: 10px
}

/* Home about */
.section-about-home {
    background: radial-gradient(circle at 90% 18%, rgba(109, 23, 28, .12), transparent 34%), linear-gradient(135deg, #0a0a0a, #11100f 50%, #080808);
    border-bottom: 1px solid var(--line)
}

.about-home-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr .46fr;
    gap: 38px;
    align-items: center
}

.about-visual {
    min-height: 445px;
    position: relative
}

.about-photo {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #111
}

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

.about-photo-large {
    position: absolute;
    left: 0;
    top: 0;
    width: 61%;
    height: 100%
}

.about-photo-small {
    position: absolute;
    right: 0;
    width: 46%;
    height: 46%;
    border: 5px solid #0b0b0b;
    box-shadow: var(--shadow)
}

.about-photo-small.top {
    top: 5%
}

.about-photo-small.bottom {
    bottom: 5%
}

.about-seal {
    position: absolute;
    left: 51%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 124px;
    height: 148px;
    background: linear-gradient(145deg, #7d1d22, #3f0d10);
    border: 2px solid var(--gold);
    clip-path: polygon(50% 0, 91% 15%, 100% 60%, 50% 100%, 0 60%, 9% 15%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .5));
    z-index: 4
}

.about-seal strong {
    font: 42px Georgia;
    color: var(--gold-bright);
    line-height: 1
}

.about-seal span {
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 900;
    margin-top: 8px
}

.about-home-copy p {
    margin-bottom: 12px
}

.about-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px 18px;
    margin: 24px 0
}

.about-points>div {
    display: flex;
    gap: 10px;
    align-items: center
}

.about-points>div>span {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--gold);
    flex: none
}

.about-points .icon {
    width: 20px;
    height: 20px
}

.about-points strong {
    display: block;
    font-size: 12px
}

.about-points small {
    display: block;
    color: var(--muted);
    font-size: 10px
}

.about-info-panel {
    border: 1px solid var(--line);
    background: #080808
}

.info-panel-item {
    padding: 18px 15px;
    border-bottom: 1px solid var(--line-soft);
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: center
}

.info-panel-item:last-child {
    border-bottom: 0
}

.info-panel-item>span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--gold)
}

.info-panel-item .icon {
    width: 21px;
    height: 21px
}

.info-panel-item small {
    display: block;
    color: var(--muted);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .05em
}

.info-panel-item strong,
.info-panel-item a {
    font-size: 11px;
    line-height: 1.45
}

.info-panel-item.emergency strong {
    color: var(--gold-bright)
}

/* Services */
.section-services-home,
.section-services-page {
    background: radial-gradient(circle at 12% 0%, rgba(215, 154, 40, .05), transparent 27%), #080808
}

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

.service-card {
    position: relative;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #0d0d0d, #0a0a0a);
    overflow: hidden;
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 20px 48px rgba(0, 0, 0, .35)
}

.service-card-image {
    position: relative;
    height: 245px;
    display: block;
    overflow: hidden
}

.service-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .42))
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease
}

.service-card:hover .service-card-image img {
    transform: scale(1.04)
}

.service-icon {
    position: absolute;
    z-index: 2;
    left: 22px;
    bottom: -1px;
    width: 54px;
    height: 54px;
    border: 1px solid var(--gold);
    background: linear-gradient(145deg, var(--burgundy), var(--burgundy-dark));
    display: grid;
    place-items: center;
    color: var(--gold-bright);
    border-radius: 50% 50% 0 0
}

.service-icon .icon {
    width: 26px;
    height: 26px
}

.service-card-body {
    position: relative;
    padding: 30px 25px 26px
}

.service-number {
    position: absolute;
    right: 20px;
    top: 15px;
    color: rgba(215, 154, 40, .32);
    font-family: Georgia, serif;
    font-size: 30px
}

.service-card h3,
.service-card h2 {
    font-size: 25px;
    line-height: 1.08;
    text-transform: uppercase;
    margin: 0 50px 12px 0
}

.service-card p {
    font-size: 12px;
    color: var(--muted);
    min-height: 57px;
    margin-bottom: 18px
}

.services-grid-large .service-card h2 {
    font-size: 26px
}

.services-grid-large .service-card-body {
    padding-bottom: 30px
}

.services-grid-large .btn {
    margin-top: 4px
}

/* Before & After */
.section-before-after {
    background: linear-gradient(135deg, #0a0a0a, #0f0d0c);
    border-top: 1px solid rgba(215, 154, 40, .14);
    border-bottom: 1px solid rgba(215, 154, 40, .14)
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px
}

.compare-card {
    border: 1px solid var(--line);
    background: #0a0a0a;
    overflow: hidden
}

.compare-frame {
    position: relative;
    height: 330px;
    overflow: hidden;
    --compare: 50%
}

.compare-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.compare-after {
    z-index: 1
}

.compare-before-wrap {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--compare);
    z-index: 2;
    overflow: hidden;
    border-right: 2px solid var(--gold-bright)
}

.compare-before-wrap img {
    width: 100%;
    min-width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: left center
}

.compare-label {
    position: absolute;
    z-index: 4;
    top: 14px;
    padding: 5px 9px;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em
}

.compare-label.before {
    left: 14px;
    background: var(--burgundy)
}

.compare-label.after {
    right: 14px;
    background: var(--gold);
    color: #1a1006
}

.compare-handle {
    position: absolute;
    z-index: 4;
    left: var(--compare);
    top: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #0a0a0a;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-bright);
    pointer-events: none
}

.compare-handle .icon {
    width: 13px;
    height: 13px;
    margin: 0 -2px
}

.compare-frame input[type="range"] {
    position: absolute;
    inset: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize
}

.compare-caption {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    padding: 14px 16px;
    border-top: 1px solid var(--line)
}

.compare-caption span {
    font-size: 9px;
    text-transform: uppercase;
    color: var(--gold-bright);
    letter-spacing: .06em
}

.compare-caption strong {
    font-size: 11px;
    text-transform: uppercase;
    text-align: right
}

.service-ba-grid {
    grid-template-columns: 1fr 1fr
}

/* Metrics */
.metrics-strip {
    background: linear-gradient(90deg, #431013, #771a20 48%, #3b0d10);
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold)
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.metric-item {
    min-height: 112px;
    display: grid;
    grid-template-columns: 54px auto;
    grid-template-rows: auto auto;
    align-content: center;
    justify-content: center;
    column-gap: 12px;
    border-right: 1px solid rgba(255, 255, 255, .13)
}

.metric-item:last-child {
    border-right: 0
}

.metric-item>span {
    grid-row: 1/3;
    width: 54px;
    display: grid;
    place-items: center;
    color: var(--gold-bright)
}

.metric-item>span .icon {
    width: 34px;
    height: 34px
}

.metric-item strong {
    font: 34px Georgia;
    line-height: 1
}

.metric-item small {
    font-size: 10px;
    color: #e8dbd4;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-top: 4px
}

/* Project preview */
.section-project-showcase {
    background: radial-gradient(circle at 80% 25%, rgba(109, 23, 28, .12), transparent 30%), #080808
}

.split-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px
}

.split-heading h2 {
    margin-bottom: 0
}

.project-preview-grid {
    display: grid;
    grid-template-columns: 1.25fr .9fr .9fr;
    grid-template-rows: 220px 220px;
    gap: 12px
}

.project-preview-item {
    position: relative;
    border: 1px solid var(--line);
    padding: 0;
    background: #0a0a0a;
    overflow: hidden;
    cursor: pointer;
    text-align: left
}

.project-preview-item:first-child {
    grid-row: 1/3
}

.project-preview-item:nth-child(4) {
    grid-column: 2/4
}

.project-preview-item:nth-child(5) {
    display: none
}

.project-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s
}

.project-preview-item:hover img {
    transform: scale(1.04)
}

.project-preview-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .78))
}

.project-preview-item>span {
    position: absolute;
    z-index: 2;
    left: 16px;
    right: 16px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 9px
}

.project-preview-item>span .icon {
    width: 18px;
    height: 18px;
    color: var(--gold)
}

.project-preview-item>span b {
    font-size: 11px;
    text-transform: uppercase
}

/* Feedback + FAQ */
.section-feedback-faq {
    background: linear-gradient(135deg, #090909, #11100f);
    border-top: 1px solid var(--line)
}

.two-column-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 46px
}

.feedback-column {
    padding-right: 38px;
    border-right: 1px solid var(--line)
}

.section-intro {
    margin-bottom: 24px
}

.review-placeholder-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px
}

.review-placeholder {
    border: 1px solid var(--line);
    background: #0b0b0b;
    padding: 18px 15px;
    min-height: 218px;
    display: flex;
    flex-direction: column
}

.quote-mark {
    color: var(--gold);
    margin-bottom: 14px
}

.quote-mark .icon {
    width: 28px;
    height: 28px
}

.review-placeholder strong {
    font-family: Georgia, serif;
    font-size: 16px;
    margin-bottom: 9px
}

.review-placeholder p {
    font-size: 11px;
    color: var(--muted);
    flex: 1
}

.review-placeholder small {
    font-size: 9px;
    text-transform: uppercase;
    color: var(--gold-bright)
}

.section-link {
    margin-top: 20px
}

.faq-list {
    border-top: 1px solid var(--line)
}

.faq-item {
    border: 1px solid var(--line);
    border-top: 0;
    background: #0a0a0a
}

.faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 14px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    text-align: left;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700
}

.faq-toggle-icon {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    color: var(--gold);
    flex: none
}

.faq-toggle-icon .icon {
    width: 16px;
    height: 16px
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .25s ease
}

.faq-answer>p {
    overflow: hidden;
    margin: 0;
    padding: 0 15px;
    color: var(--muted);
    font-size: 12px
}

.faq-item.open .faq-answer {
    grid-template-rows: 1fr
}

.faq-item.open .faq-answer>p {
    padding: 0 15px 15px
}

.faq-item.open .faq-question {
    color: var(--gold-bright)
}

/* Contact band */
.section-contact-band {
    background: #080808;
    padding-top: 40px
}

.contact-band-grid {
    display: grid;
    grid-template-columns: .9fr 1.15fr .55fr;
    border: 1px solid var(--gold);
    background: linear-gradient(100deg, #571317 0%, #241011 42%, #0a0a0a 100%);
    min-height: 390px;
    overflow: hidden
}

.contact-band-info {
    padding: 38px
}

.contact-band-info h2 {
    font-size: 39px;
    margin-bottom: 12px
}

.contact-band-info p {
    font-size: 12px;
    color: #e6d7d0
}

.contact-list {
    margin-top: 22px
}

.contact-list>a,
.contact-list>div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 11px 0;
    font-size: 11px
}

.contact-list span {
    color: var(--gold-bright);
    width: 22px;
    display: grid;
    place-items: center;
    flex: none
}

.contact-list .icon {
    width: 17px;
    height: 17px
}

.contact-band-grid>.contact-form {
    padding: 34px 24px;
    align-self: center
}

.contact-band-photo {
    min-height: 100%;
    overflow: hidden
}

.contact-band-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

/* Forms */
.contact-form {
    display: block
}

.form-grid.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.contact-form label {
    display: block;
    margin-bottom: 12px
}

.contact-form label>span {
    display: block;
    font-size: 9px;
    color: #cfc5bc;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 6px
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .16);
    background: #080808;
    color: #fff;
    padding: 12px 13px;
    border-radius: 0;
    outline: none;
    transition: border-color .2s, background .2s
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
    background: #0d0d0d
}

.contact-form select {
    min-height: 47px
}

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

.contact-form .btn {
    margin-top: 2px
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important
}

.form-alert {
    padding: 14px 16px;
    margin: 0 0 18px;
    border: 1px solid var(--line);
    font-size: 12px
}

.form-alert.success {
    background: rgba(61, 131, 74, .14);
    border-color: rgba(96, 190, 112, .55)
}

.form-alert.error {
    background: rgba(150, 35, 42, .18);
    border-color: rgba(215, 85, 91, .55)
}

.form-alert ul {
    margin: 8px 0 0;
    padding-left: 18px
}

.form-note {
    font-size: 10px;
    color: var(--muted);
    margin-top: 12px
}

.form-note code,
.contact-page-info code,
.testimonial-admin-note code {
    color: var(--gold-bright);
    font-family: monospace
}

/* Footer */
.site-footer {
    background: #060606;
    border-top: 1px solid rgba(215, 154, 40, .18);
    position: relative
}

.footer-top-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent)
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr .65fr .95fr 1.25fr;
    gap: 46px;
    padding: 48px 0 40px
}

.footer-logo {
    display: block;
    width: 190px;
    margin-bottom: 12px
}

.footer-logo img {
    width: 100%;
    height: auto
}

.footer-brand-col p {
    max-width: 240px;
    color: var(--muted);
    font-size: 11px
}

.footer-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-bright);
    font-weight: 800;
    font-size: 12px
}

.footer-phone-link .icon {
    width: 17px;
    height: 17px
}

.footer-col h3 {
    font-family: Arial, sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #fff;
    margin-bottom: 14px
}

.footer-col>a,
.footer-col>span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin: 7px 0
}

.footer-col>a:hover {
    color: var(--gold-bright)
}

.footer-contact>div {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0
}

.footer-contact>div>span {
    color: var(--gold);
    width: 24px;
    flex: none
}

.footer-contact .icon {
    width: 17px;
    height: 17px
}

.footer-contact strong,
.footer-contact p {
    font-size: 11px;
    color: var(--muted);
    margin: 0
}

.footer-contact b {
    color: var(--gold-bright);
    font-weight: 700
}

.footer-bottom {
    min-height: 54px;
    border-top: 1px solid var(--line-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #7f7871;
    font-size: 10px
}

.footer-bottom p {
    margin: 0
}

.footer-bottom-links {
    display: flex;
    gap: 18px
}

.footer-bottom-links a:hover {
    color: var(--gold)
}

.floating-call {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 900;
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    color: #191008;
    border: 1px solid #ffd073;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .4);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase
}

.floating-call .icon {
    width: 18px;
    height: 18px
}

/* Page hero */
.page-hero {
    position: relative;
    min-height: 500px;
    background-image: var(--page-image);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-top: var(--header-h);
    overflow: hidden
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .96), rgba(0, 0, 0, .72) 43%, rgba(0, 0, 0, .28) 78%, rgba(0, 0, 0, .45))
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .42))
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 30px;
    padding-bottom: 34px
}

.page-hero h1 {
    font-size: 58px;
    line-height: 1.02;
    text-transform: uppercase;
    margin-bottom: 18px;
    max-width: 700px
}

.page-hero p {
    max-width: 600px;
    color: #eee;
    font-size: 15px
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: .08em;
    color: #bdb4ac
}

.breadcrumbs a:hover {
    color: var(--gold-bright)
}

.breadcrumbs strong {
    color: var(--gold-bright)
}

/* About page */
.section-about-story {
    background: radial-gradient(circle at 78% 20%, rgba(109, 23, 28, .13), transparent 30%), #090909
}

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

.story-images {
    position: relative;
    min-height: 520px
}

.story-main {
    position: absolute;
    left: 0;
    top: 0;
    width: 70%;
    height: 430px;
    margin: 0;
    border: 1px solid var(--line);
    overflow: hidden
}

.story-secondary {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 48%;
    height: 260px;
    margin: 0;
    border: 7px solid #090909;
    box-shadow: var(--shadow);
    overflow: hidden
}

.story-main img,
.story-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.story-badge {
    position: absolute;
    left: 57%;
    bottom: 62px;
    transform: translateX(-50%);
    z-index: 4;
    width: 118px;
    height: 118px;
    border: 2px solid var(--gold);
    background: linear-gradient(145deg, var(--burgundy), var(--burgundy-dark));
    clip-path: polygon(50% 0, 94% 25%, 90% 78%, 50% 100%, 10% 78%, 6% 25%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center
}

.story-badge strong {
    font: 25px Georgia;
    color: var(--gold-bright)
}

.story-badge span {
    font-size: 9px;
    text-transform: uppercase
}

.feature-check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
    margin: 24px 0
}

.feature-check-list>div {
    display: flex;
    gap: 10px;
    align-items: flex-start
}

.feature-check-list>.icon {
    color: var(--gold);
    width: 23px;
    height: 23px;
    flex: none
}

.feature-check-list strong {
    display: block;
    font-size: 12px
}

.feature-check-list small {
    display: block;
    color: var(--muted);
    font-size: 10px
}

.section-values {
    background: linear-gradient(135deg, #0c0b0b, #11100f);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.value-card {
    position: relative;
    border: 1px solid var(--line);
    background: #090909;
    padding: 26px 22px;
    min-height: 240px
}

.value-card>span {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid var(--line);
    color: var(--gold);
    margin-bottom: 24px
}

.value-card>span .icon {
    width: 26px;
    height: 26px
}

.value-card>b {
    position: absolute;
    right: 18px;
    top: 18px;
    color: rgba(215, 154, 40, .28);
    font: 28px Georgia
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 8px
}

.value-card p {
    font-size: 11px;
    color: var(--muted)
}

.section-about-projects {
    background: #080808
}

.about-project-grid {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 46px;
    align-items: center
}

.about-project-mosaic {
    display: grid;
    grid-template-columns: 1.3fr .9fr;
    grid-template-rows: 190px 190px;
    gap: 10px
}

.about-project-mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--line)
}

.about-project-mosaic img:first-child {
    grid-row: 1/3
}

/* Service overview and process */
.service-process-section {
    background: linear-gradient(135deg, #0c0b0b, #100d0d);
    border-top: 1px solid var(--line)
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.process-item {
    position: relative;
    border-top: 1px solid var(--line);
    padding-top: 24px;
    display: flex;
    gap: 14px
}

.process-item>span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gold);
    color: #1a1008;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 12px;
    flex: none
}

.process-item>div>.icon {
    color: var(--gold);
    width: 26px;
    height: 26px;
    margin-bottom: 12px
}

.process-item h3 {
    font-size: 18px;
    margin-bottom: 5px
}

.process-item p {
    font-size: 11px;
    color: var(--muted)
}

.mini-cta {
    padding: 58px 0;
    background: linear-gradient(110deg, #511216, #210e0f 45%, #090909);
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold)
}

.mini-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.mini-cta h2 {
    font-size: 36px;
    margin-bottom: 0
}

.mini-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end
}

/* Service detail pages */
.service-detail-section {
    background: radial-gradient(circle at 90% 15%, rgba(109, 23, 28, .12), transparent 28%), #090909
}

.service-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 42px;
    align-items: start
}

.service-main-content {
    min-width: 0
}

.service-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 46px
}

.service-intro-image {
    height: 410px;
    border: 1px solid var(--line);
    overflow: hidden;
    position: relative
}

.service-intro-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 8px solid rgba(0, 0, 0, .22);
    pointer-events: none
}

.service-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.service-feature-panel {
    border: 1px solid var(--line);
    background: linear-gradient(135deg, #0d0d0d, #130e0e);
    padding: 28px;
    margin-bottom: 46px
}

.service-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 18px
}

.service-feature-grid>div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 12px
}

.service-feature-grid>div>.icon {
    width: 20px;
    height: 20px;
    color: var(--gold);
    flex: none
}

.service-comparison-section {
    margin-bottom: 46px
}

.service-gallery-section {
    margin-bottom: 10px
}

.service-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px
}

.service-photo-grid button {
    position: relative;
    height: 250px;
    border: 1px solid var(--line);
    padding: 0;
    background: #090909;
    overflow: hidden;
    cursor: pointer
}

.service-photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s
}

.service-photo-grid button:hover img {
    transform: scale(1.04)
}

.service-photo-grid button span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .72);
    border: 1px solid var(--gold);
    display: grid;
    place-items: center;
    color: var(--gold)
}

.service-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 22px);
    border: 1px solid var(--line);
    background: #080808;
    padding: 22px
}

.service-sidebar h3 {
    font-size: 24px;
    margin-bottom: 15px
}

.service-sidebar nav {
    border-top: 1px solid var(--line)
}

.service-sidebar nav a {
    display: grid;
    grid-template-columns: 34px 1fr 16px;
    gap: 10px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 11px;
    color: #d6cec6
}

.service-sidebar nav a:hover,
.service-sidebar nav a.active {
    color: var(--gold-bright)
}

.service-side-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    color: var(--gold)
}

.service-side-icon .icon {
    width: 17px;
    height: 17px
}

.service-sidebar-call {
    margin-top: 20px;
    background: linear-gradient(145deg, var(--burgundy), var(--burgundy-dark));
    border: 1px solid var(--gold);
    padding: 20px;
    text-align: center
}

.service-sidebar-call>.icon {
    margin: 0 auto 10px;
    color: var(--gold-bright);
    width: 28px;
    height: 28px
}

.service-sidebar-call span {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    margin-bottom: 6px
}

.service-sidebar-call a {
    font: 21px Georgia;
    color: #fff
}

.service-contact-strip {
    background: linear-gradient(110deg, #491114, #1b0c0d 55%, #080808);
    border-top: 1px solid var(--gold)
}

.service-contact-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px
}

.service-contact-strip h2 {
    font-size: 36px;
    margin-bottom: 8px
}

.service-contact-strip p {
    color: var(--muted);
    font-size: 11px;
    margin: 0
}

/* Project page */
.projects-section {
    background: #080808
}

.project-filter-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px
}

.project-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end
}

.project-filter {
    border: 1px solid var(--line);
    background: #0d0d0d;
    color: #ddd;
    padding: 10px 14px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .05em
}

.project-filter:hover,
.project-filter.active {
    background: var(--burgundy);
    color: #fff;
    border-color: var(--gold)
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px
}

.gallery-card {
    min-width: 0
}

.gallery-card.hidden {
    display: none
}

.gallery-card button {
    width: 100%;
    height: 300px;
    position: relative;
    padding: 0;
    border: 1px solid var(--line);
    background: #0a0a0a;
    overflow: hidden;
    cursor: pointer
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .45s
}

.gallery-card button:hover img {
    transform: scale(1.045)
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .63);
    opacity: 0;
    transition: .25s
}

.gallery-card button:hover .gallery-overlay,
.gallery-card button:focus-visible .gallery-overlay {
    opacity: 1
}

.gallery-overlay i {
    width: 44px;
    height: 44px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--gold);
    font-style: normal;
    margin-bottom: 10px
}

.gallery-overlay b {
    font: 17px Georgia
}

.gallery-overlay small {
    color: var(--gold-bright);
    text-transform: uppercase;
    font-size: 9px;
    margin-top: 4px
}

.projects-ba {
    border-top: 1px solid var(--line)
}

/* Testimonials page */
/* =========================================================
   EQUIS GOOGLE-STYLE TESTIMONIALS
========================================================= */

.eqx-google-reviews {
    padding: 90px 0;
    background:
        radial-gradient(circle at 15% 10%, rgba(123,25,35,.10), transparent 30%),
        radial-gradient(circle at 85% 80%, rgba(217,164,59,.07), transparent 32%),
        #080808;
    color: #fff;
}

.eqx-google-reviews .eqx-gr-container {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.eqx-google-reviews .eqx-gr-heading {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.eqx-google-reviews .eqx-gr-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #d9a43b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.eqx-google-reviews .eqx-gr-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
}

.eqx-google-reviews .eqx-gr-heading h2 em {
    color: #d9a43b;
    font-style: normal;
}

.eqx-google-reviews .eqx-gr-heading p {
    max-width: 680px;
    margin: 18px auto 0;
    color: #aaa39b;
    font-size: 15px;
    line-height: 1.75;
}

.eqx-google-reviews .eqx-gr-demo-note {
    margin: 0 auto 28px;
    padding: 12px 16px;
    max-width: 760px;
    border: 1px solid rgba(217,164,59,.20);
    border-radius: 12px;
    background: rgba(217,164,59,.05);
    color: #c6b8a8;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
}

.eqx-google-reviews .eqx-gr-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.eqx-google-reviews .eqx-gr-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.025), rgba(255,255,255,.01)),
        #11100f;
    box-shadow: 0 16px 40px rgba(0,0,0,.20);
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.eqx-google-reviews .eqx-gr-card:hover {
    transform: translateY(-5px);
    border-color: rgba(217,164,59,.34);
    box-shadow: 0 24px 54px rgba(0,0,0,.30);
}

.eqx-google-reviews .eqx-gr-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.eqx-google-reviews .eqx-gr-avatar {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        linear-gradient(145deg, #7b1923, #4d1018);
    color: #fff;
    border: 1px solid rgba(217,164,59,.38);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .5px;
}

.eqx-google-reviews .eqx-gr-person {
    min-width: 0;
    flex: 1;
}

.eqx-google-reviews .eqx-gr-person strong {
    display: block;
    color: #f7f3ed;
    font-size: 14px;
    line-height: 1.3;
}

.eqx-google-reviews .eqx-gr-person small {
    display: block;
    margin-top: 3px;
    color: #8f8881;
    font-size: 11px;
}

.eqx-google-reviews .eqx-gr-google-mark {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #4285f4;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 800;
}

.eqx-google-reviews .eqx-gr-rating-row {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
}

.eqx-google-reviews .eqx-gr-stars {
    display: inline-flex;
    gap: 2px;
    color: #fbbc04;
    font-size: 17px;
    letter-spacing: 1px;
}

.eqx-google-reviews .eqx-gr-rating-row small {
    color: #8f8881;
    font-size: 10px;
}

.eqx-google-reviews .eqx-gr-card p {
    flex: 1;
    margin: 0;
    color: #d3ccc4;
    font-size: 14px;
    line-height: 1.75;
}

.eqx-google-reviews .eqx-gr-service {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.eqx-google-reviews .eqx-gr-service span {
    color: #d9a43b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.eqx-google-reviews .eqx-gr-service small {
    color: #756f68;
    font-size: 10px;
}

@media (max-width: 980px) {
    .eqx-google-reviews .eqx-gr-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .eqx-google-reviews {
        padding: 70px 0;
    }

    .eqx-google-reviews .eqx-gr-grid {
        grid-template-columns: 1fr;
    }

    .eqx-google-reviews .eqx-gr-card {
        min-height: auto;
    }
}

/* FAQ page */
.faqs-page-section {
    background: #090909
}

.faqs-page-grid {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 56px;
    align-items: start
}

.faq-page-copy {
    position: sticky;
    top: calc(var(--header-h) + 30px)
}

.faq-contact-card {
    margin-top: 24px;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, var(--burgundy), var(--burgundy-dark));
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 12px
}

.faq-contact-card>span {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold);
    display: grid;
    place-items: center;
    color: var(--gold)
}

.faq-contact-card small {
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    color: #e5d6cf
}

.faq-contact-card a {
    font: 19px Georgia;
    color: #fff
}

.faq-list-large .faq-question {
    padding: 18px;
    font-size: 13px
}

.faq-list-large .faq-item.open .faq-answer>p {
    padding: 0 18px 18px
}

.faq-list-large .faq-answer>p {
    padding-left: 18px;
    padding-right: 18px
}

/* Contact page */
.contact-page-section {
    background: radial-gradient(circle at 86% 12%, rgba(109, 23, 28, .14), transparent 28%), #090909
}

.contact-page-grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 48px;
    align-items: start
}

.contact-info-cards {
    margin-top: 26px
}

.contact-info-card {
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
    display: flex;
    gap: 13px;
    align-items: flex-start
}

.contact-info-card>span {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--gold);
    flex: none
}

.contact-info-card small {
    display: block;
    color: var(--muted);
    font-size: 9px;
    text-transform: uppercase
}

.contact-info-card strong {
    font-size: 12px;
    line-height: 1.55
}

.contact-page-image {
    margin-top: 24px;
    border: 1px solid var(--line);
    height: 280px;
    overflow: hidden
}

.contact-page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.contact-form-wrap {
    border: 1px solid var(--line);
    background: linear-gradient(145deg, #0d0d0d, #120d0d);
    padding: 34px
}

.contact-form.large input,
.contact-form.large select,
.contact-form.large textarea {
    padding: 13px 14px
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, .94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px;
    opacity: 0;
    visibility: hidden;
    transition: .22s
}

.lightbox.open {
    opacity: 1;
    visibility: visible
}

.lightbox img {
    max-width: min(1280px, 94vw);
    max-height: 88vh;
    object-fit: contain;
    border: 1px solid var(--line);
    box-shadow: var(--shadow)
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    border: 1px solid var(--gold);
    background: #0a0a0a;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--gold)
}

.lightbox-close .icon {
    width: 22px;
    height: 22px
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .65s ease, transform .65s ease
}

.reveal.visible {
    opacity: 1;
    transform: none
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }

    .hero-slide,
    .desktop-submenu,
    .mobile-nav,
    .mobile-nav-backdrop {
        transition: none
    }
}

/* Responsive */
@media (max-width:1180px) {
    :root {
        --container: 1080px
    }

    .desktop-nav {
        gap: 17px
    }

    .desktop-nav>a,
    .desktop-dropdown-trigger {
        font-size: 10px
    }

    .brand {
        width: 160px;
        flex-basis: 160px
    }

    .header-phone {
        padding: 11px 13px;
        font-size: 12px
    }

    .hero-copy h1 {
        font-size: 54px
    }

    .hero-copy h2 {
        font-size: 50px
    }

    .about-home-grid {
        grid-template-columns: 1fr 1fr
    }

    .about-info-panel {
        grid-column: 1/3;
        display: grid;
        grid-template-columns: repeat(4, 1fr)
    }

    .info-panel-item {
        border-bottom: 0;
        border-right: 1px solid var(--line-soft)
    }

    .info-panel-item:last-child {
        border-right: 0
    }

    .review-placeholder-grid {
        grid-template-columns: 1fr
    }

    .review-placeholder {
        min-height: unset
    }
}

@media (max-width:1030px) {
    :root {
        --header-h: 82px
    }

    .desktop-nav,
    .header-phone {
        display: none
    }

    .nav-toggle {
        display: grid
    }

    .header-inner {
        height: var(--header-h)
    }

    .brand {
        width: 164px;
        flex-basis: 164px
    }

    .brand img {
        height: 66px
    }

    .hero-slider {
        height: 680px
    }

    .hero-inner {
        padding-top: var(--header-h)
    }

    .hero-copy {
        width: 68%
    }

    .hero-copy h1 {
        font-size: 50px
    }

    .hero-copy h2 {
        font-size: 47px
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr
    }

    .trust-item:nth-child(2) {
        border-right: 0
    }

    .trust-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--line-soft)
    }

    .services-grid {
        gap: 16px
    }

    .service-card-image {
        height: 220px
    }

    .service-card h3,
    .service-card h2 {
        font-size: 22px
    }

    .two-column-feature {
        grid-template-columns: 1fr;
        gap: 42px
    }

    .feedback-column {
        padding-right: 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding-bottom: 42px
    }

    .review-placeholder-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .contact-band-grid {
        grid-template-columns: .9fr 1.1fr
    }

    .contact-band-photo {
        display: none
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px
    }

    .service-layout {
        grid-template-columns: 1fr
    }

    .service-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px
    }

    .service-sidebar>.eyebrow,
    .service-sidebar>h3 {
        grid-column: 1/3
    }

    .service-sidebar-call {
        margin-top: 0
    }

    .service-sidebar nav {
        border-top: 1px solid var(--line)
    }

    .testimonial-placeholder-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:820px) {
    .container {
        width: min(100% - 34px, var(--container))
    }

    .section {
        padding: 72px 0
    }

    .section-heading h2,
    .about-home-copy h2,
    .story-copy h2,
    .faq-page-copy h2,
    .contact-page-info h2,
    .contact-form-wrap h2,
    .service-intro-copy h2,
    .split-heading h2,
    .feedback-column h2,
    .faq-column h2 {
        font-size: 36px
    }

    .hero-slider {
        height: 640px
    }

    .hero-slide {
        background-position: center
    }

    .hero-slide::before {
        background: linear-gradient(90deg, rgba(0, 0, 0, .95), rgba(0, 0, 0, .72) 67%, rgba(0, 0, 0, .42))
    }

    .hero-copy {
        width: 78%
    }

    .hero-copy h1 {
        font-size: 46px
    }

    .hero-copy h2 {
        font-size: 43px
    }

    .hero-copy p {
        font-size: 14px
    }

    .about-home-grid {
        grid-template-columns: 1fr
    }

    .about-visual {
        min-height: 430px
    }

    .about-info-panel {
        grid-column: auto;
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .info-panel-item {
        border-bottom: 1px solid var(--line-soft)
    }

    .info-panel-item:nth-child(2n) {
        border-right: 0
    }

    .services-grid {
        grid-template-columns: 1fr 1fr
    }

    .service-card:last-child {
        grid-column: 1/3;
        max-width: calc(50% - 8px);
        width: 100%;
        justify-self: center
    }

    .before-after-grid {
        grid-template-columns: 1fr
    }

    .compare-frame {
        height: 310px
    }

    .metrics-grid {
        grid-template-columns: 1fr 1fr
    }

    .metric-item:nth-child(2) {
        border-right: 0
    }

    .metric-item:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, .13)
    }

    .project-preview-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 240px 180px 180px
    }

    .project-preview-item:first-child {
        grid-column: 1/3;
        grid-row: auto
    }

    .project-preview-item:nth-child(4) {
        grid-column: auto
    }

    .project-preview-item:nth-child(5) {
        display: block
    }

    .review-placeholder-grid {
        grid-template-columns: 1fr
    }

    .contact-band-grid {
        grid-template-columns: 1fr
    }

    .contact-band-grid>.contact-form {
        padding-top: 0
    }

    .contact-band-info {
        padding-bottom: 20px
    }

    .page-hero {
        min-height: 450px
    }

    .page-hero h1 {
        font-size: 48px
    }

    .story-grid {
        grid-template-columns: 1fr
    }

    .story-images {
        min-height: 480px
    }

    .feature-check-list {
        grid-template-columns: 1fr 1fr
    }

    .values-grid {
        grid-template-columns: 1fr 1fr
    }

    .about-project-grid {
        grid-template-columns: 1fr
    }

    .about-project-copy {
        max-width: 600px
    }

    .process-grid {
        grid-template-columns: 1fr 1fr
    }

    .service-intro-grid {
        grid-template-columns: 1fr
    }

    .service-intro-image {
        height: 370px
    }

    .service-feature-grid {
        grid-template-columns: 1fr
    }

    .service-sidebar {
        display: block
    }

    .service-sidebar>.eyebrow,
    .service-sidebar>h3 {
        grid-column: auto
    }

    .service-sidebar-call {
        margin-top: 20px
    }

    .service-contact-strip-inner,
    .mini-cta-inner {
        align-items: flex-start;
        flex-direction: column
    }

    .mini-cta-actions {
        justify-content: flex-start
    }

    .project-filter-wrap {
        align-items: flex-start;
        flex-direction: column
    }

    .project-filters {
        justify-content: flex-start
    }

    .project-gallery {
        grid-template-columns: 1fr 1fr
    }

    .gallery-card button {
        height: 280px
    }

    .faqs-page-grid {
        grid-template-columns: 1fr
    }

    .faq-page-copy {
        position: static
    }

    .faq-page-copy {
        max-width: 620px
    }

    .contact-page-grid {
        grid-template-columns: 1fr
    }

    .contact-page-info {
        max-width: 650px
    }
}

@media (max-width:620px) {
    .container {
        width: calc(100% - 28px)
    }

    .section {
        padding: 62px 0
    }

    .brand {
        width: 150px;
        flex-basis: 150px
    }

    .brand img {
        height: 60px
    }

    .nav-toggle {
        width: 43px;
        height: 43px
    }

    .hero-slider {
        height: 620px
    }

    .hero-slide {
        background-position: center
    }

    .hero-slide::before {
        background: linear-gradient(90deg, rgba(0, 0, 0, .94), rgba(0, 0, 0, .70)), linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .35))
    }

    .hero-copy {
        width: 94%;
        padding-right: 16px
    }

    .hero-copy h1 {
        font-size: 39px
    }

    .hero-copy h2 {
        font-size: 38px
    }

    .hero-copy p {
        font-size: 13px
    }

    .hero-actions {
        width: 100%
    }

    .hero-actions .btn {
        min-width: 0;
        flex: 1;
        padding: 0 14px
    }

    .slider-arrow {
        top: auto;
        bottom: 18px;
        transform: none;
        width: 38px;
        height: 38px
    }

    .slider-prev {
        left: 14px
    }

    .slider-next {
        right: 14px
    }

    .slider-dots {
        bottom: 31px
    }

    .trust-grid {
        grid-template-columns: 1fr
    }

    .trust-item {
        border-right: 0;
        border-bottom: 1px solid var(--line-soft) !important
    }

    .trust-item:last-child {
        border-bottom: 0 !important;
        padding-bottom: 18px
    }

    .section-heading h2,
    .about-home-copy h2,
    .story-copy h2,
    .faq-page-copy h2,
    .contact-page-info h2,
    .contact-form-wrap h2,
    .service-intro-copy h2,
    .split-heading h2,
    .feedback-column h2,
    .faq-column h2 {
        font-size: 31px
    }

    .about-visual {
        min-height: 390px
    }

    .about-photo-large {
        width: 70%
    }

    .about-photo-small {
        width: 44%;
        height: 40%
    }

    .about-seal {
        width: 106px;
        height: 130px
    }

    .about-points {
        grid-template-columns: 1fr
    }

    .about-info-panel {
        grid-template-columns: 1fr
    }

    .info-panel-item {
        border-right: 0 !important
    }

    .services-grid {
        grid-template-columns: 1fr
    }

    .service-card:last-child {
        grid-column: auto;
        max-width: none
    }

    .service-card-image {
        height: 240px
    }

    .compare-frame {
        height: 260px
    }

    .compare-caption {
        align-items: flex-start;
        flex-direction: column
    }

    .compare-caption strong {
        text-align: left
    }

    .metrics-grid {
        grid-template-columns: 1fr
    }

    .metric-item {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .13) !important;
        justify-content: flex-start;
        padding-left: 24px
    }

    .metric-item:last-child {
        border-bottom: 0 !important
    }

    .split-heading {
        align-items: flex-start;
        flex-direction: column
    }

    .project-preview-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 210px)
    }

    .project-preview-item:first-child,
    .project-preview-item:nth-child(4) {
        grid-column: auto;
        grid-row: auto
    }

    .project-preview-item:nth-child(5) {
        display: block
    }

    .two-column-feature {
        gap: 36px
    }

    .feedback-column {
        padding-bottom: 36px
    }

    .form-grid.two {
        grid-template-columns: 1fr
    }

    .contact-band-info {
        padding: 28px 22px
    }

    .contact-band-grid>.contact-form {
        padding: 0 22px 28px
    }

    .contact-band-info h2 {
        font-size: 32px
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        padding: 15px 0
    }

    .floating-call span {
        display: none
    }

    .floating-call {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        padding: 0;
        justify-content: center
    }

    .page-hero {
        min-height: 420px
    }

    .page-hero h1 {
        font-size: 39px
    }

    .page-hero p {
        font-size: 13px
    }

    .story-images {
        min-height: 410px
    }

    .story-main {
        width: 76%;
        height: 350px
    }

    .story-secondary {
        width: 50%;
        height: 210px
    }

    .story-badge {
        width: 100px;
        height: 100px;
        left: 59%;
        bottom: 48px
    }

    .feature-check-list {
        grid-template-columns: 1fr
    }

    .values-grid {
        grid-template-columns: 1fr
    }

    .about-project-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 230px 170px
    }

    .about-project-mosaic img:first-child {
        grid-column: 1/3;
        grid-row: auto
    }

    .process-grid {
        grid-template-columns: 1fr
    }

    .mini-cta h2,
    .service-contact-strip h2 {
        font-size: 29px
    }

    .service-intro-image {
        height: 300px
    }

    .service-photo-grid {
        grid-template-columns: 1fr
    }

    .service-photo-grid button {
        height: 230px
    }

    .service-feature-panel {
        padding: 22px 18px
    }

    .service-ba-grid {
        grid-template-columns: 1fr
    }

    .project-gallery {
        grid-template-columns: 1fr
    }

    .gallery-card button {
        height: 270px
    }

    .project-filters {
        width: 100%
    }

    .project-filter {
        flex: 1 1 calc(50% - 8px)
    }

    .testimonial-placeholder-grid {
        grid-template-columns: 1fr
    }

    .testimonial-card {
        min-height: 270px
    }

    .contact-form-wrap {
        padding: 25px 18px
    }

    .lightbox {
        padding: 44px 12px 20px
    }

    .lightbox-close {
        top: 10px;
        right: 10px
    }
}

@media (max-width:390px) {
    .hero-copy h1 {
        font-size: 35px
    }

    .hero-copy h2 {
        font-size: 34px
    }

    .hero-actions {
        flex-direction: column
    }

    .hero-actions .btn {
        width: 100%;
        flex: auto
    }

    .mobile-nav {
        width: 94vw
    }

    .mobile-brand {
        width: 155px
    }

    .about-visual {
        min-height: 350px
    }

    .about-seal {
        left: 56%
    }

    .page-hero h1 {
        font-size: 35px
    }
}


/*==================================================
DYNAMIC ACTIVE MENU
==================================================*/

/* Desktop */
.desktop-nav > a.active,
.desktop-dropdown-trigger.active {
    color: #d9a43b;
}


/* Línea inferior */
.desktop-nav > a.active::after,
.desktop-dropdown-trigger.active::after {
    width: 100%;
    opacity: 1;
}


/* Dropdown */
.desktop-submenu a.active {
    color: #d9a43b;
    background: rgba(217, 164, 59, 0.08);
}

.desktop-submenu a.active .submenu-icon {
    color: #d9a43b;
}


/* Mobile */
.mobile-menu > a.active,
.mobile-services-row > a.active,
.mobile-submenu a.active {
    color: #d9a43b;
}


/* Indicador mobile */
.mobile-menu > a.active,
.mobile-services-row > a.active {
    border-left-color: #d9a43b;
}


/* Service parent */
.desktop-dropdown.active
.desktop-dropdown-trigger {
    color: #d9a43b;
}

.mobile-services.active
.mobile-services-row > a {
    color: #d9a43b;
}

/*==================================================
EQUIS CONSTRUCTION
APPLE STYLE PAGE TRANSITION
==================================================*/

:root {
    --eqx-transition-bg: #070707;
    --eqx-transition-panel: #11100f;
    --eqx-transition-gold: #d9a43b;
    --eqx-transition-burgundy: #7b1923;
}


/*----------------------------------------------
PAGE ENTER
----------------------------------------------*/

body {
    transition:
        opacity .45s ease,
        transform .55s cubic-bezier(.22, 1, .36, 1),
        filter .45s ease;
}

body.eqx-page-enter {
    opacity: 0;
    transform: scale(.975);
    filter: blur(5px);
}

body.eqx-page-enter.eqx-page-ready {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}


/*----------------------------------------------
CURRENT PAGE LEAVING
----------------------------------------------*/

body.eqx-page-leaving > *:not(.eqx-apple-transition) {
    transform: scale(.975);
    filter: blur(3px);
    opacity: .55;

    transition:
        transform .45s cubic-bezier(.22, 1, .36, 1),
        filter .35s ease,
        opacity .35s ease;
}


/*==================================================
TRANSITION LAYER
==================================================*/

.eqx-apple-transition {
    position: fixed;
    inset: 0;

    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    opacity: 0;
    visibility: hidden;

    background: rgba(0, 0, 0, 0);

    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);

    pointer-events: none;

    transition:
        opacity .3s ease,
        visibility .3s ease,
        background .4s ease,
        backdrop-filter .4s ease;
}


/* Active */

.eqx-apple-transition.eqx-active {
    opacity: 1;
    visibility: visible;

    background: rgba(0, 0, 0, .58);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}


/*==================================================
APPLE WINDOW
==================================================*/

.eqx-apple-window {
    position: relative;

    width: 150px;
    height: 95px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 30px;

    border:
        1px solid
        rgba(217, 164, 59, .30);

    background:
        linear-gradient(
            145deg,
            rgba(123, 25, 35, .22),
            rgba(15, 15, 15, .98) 45%,
            rgba(6, 6, 6, 1)
        );

    box-shadow:
        0 30px 100px rgba(0, 0, 0, .75),
        inset 0 1px 0 rgba(255, 255, 255, .06);

    transform:
        scale(.55)
        translateY(25px);

    opacity: 0;

    transition:
        width .55s cubic-bezier(.22, 1, .36, 1),
        height .55s cubic-bezier(.22, 1, .36, 1),
        border-radius .55s cubic-bezier(.22, 1, .36, 1),
        transform .55s cubic-bezier(.22, 1, .36, 1),
        opacity .3s ease;
}


/* Window appears */

.eqx-active .eqx-apple-window {
    width: min(620px, 88vw);
    height: 330px;

    border-radius: 30px;

    opacity: 1;

    transform:
        scale(1)
        translateY(0);
}


/* Window grows */

.eqx-active.eqx-expand .eqx-apple-window {
    width: 100vw;
    height: 100vh;

    border-radius: 0;

    border-color: transparent;

    transform: scale(1);
}


/*==================================================
WINDOW TOP BAR
==================================================*/

.eqx-apple-bar {
    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 44px;

    display: flex;
    align-items: center;

    padding: 0 16px;

    background:
        rgba(255, 255, 255, .025);

    border-bottom:
        1px solid
        rgba(255, 255, 255, .055);
}


/* macOS dots */

.eqx-apple-dots {
    display: flex;
    gap: 7px;
}

.eqx-apple-dot {
    width: 10px;
    height: 10px;

    border-radius: 50%;
}

.eqx-apple-dot:nth-child(1) {
    background: #ff5f57;
}

.eqx-apple-dot:nth-child(2) {
    background: #febc2e;
}

.eqx-apple-dot:nth-child(3) {
    background: #28c840;
}


/*==================================================
CENTER CONTENT
==================================================*/

.eqx-transition-content {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 16px;

    transition:
        opacity .25s ease,
        transform .3s ease;
}


/* Logo */

.eqx-transition-logo {
    width: 125px;
    height: 70px;

    object-fit: contain;

    opacity: 0;

    transform: scale(.82);

    transition:
        opacity .45s ease .1s,
        transform .6s cubic-bezier(.22, 1, .36, 1);
}


.eqx-active .eqx-transition-logo {
    opacity: 1;
    transform: scale(1);
}


/* Loading line */

.eqx-transition-line {
    position: relative;

    width: 100px;
    height: 2px;

    overflow: hidden;

    border-radius: 20px;

    background:
        rgba(255, 255, 255, .08);
}


.eqx-transition-line::after {
    content: "";

    position: absolute;

    top: 0;
    left: -60%;

    width: 55%;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--eqx-transition-gold),
            transparent
        );

    animation:
        eqxAppleLoader
        .9s ease-in-out
        infinite;
}


@keyframes eqxAppleLoader {

    0% {
        left: -60%;
    }

    100% {
        left: 110%;
    }

}


/* When fullscreen */

.eqx-expand .eqx-transition-content {
    opacity: 0;
    transform: scale(1.08);
}


/*==================================================
REDUCED MOTION
==================================================*/

@media (prefers-reduced-motion: reduce) {

    .eqx-apple-transition,
    .eqx-apple-window,
    .eqx-transition-logo,
    body {
        transition: none !important;
        animation: none !important;
    }

}


/*==================================================
MOBILE
==================================================*/

@media (max-width: 600px) {

    .eqx-active .eqx-apple-window {
        width: calc(100vw - 30px);
        height: 260px;

        border-radius: 26px;
    }

    .eqx-active.eqx-expand .eqx-apple-window {
        width: 100vw;
        height: 100vh;

        border-radius: 0;
    }

    .eqx-transition-logo {
        width: 105px;
    }

}