.page-home {
    --showcase-teal: #278ca0;
    --showcase-yellow: #f3d164;
    background: #fff;
    color: #20252b;
}

.page-home .ref-header.site-header { position: absolute; inset: 0 0 auto; width: 100%; z-index: 100; background: transparent; }
.page-home .top-bar { background: #1b2028; }
.page-home main { background: white; }
.page-home .header-main, .page-home .header-glass {
    background: transparent; border: 0; box-shadow: none; backdrop-filter: none;
}
.page-home .header-glass::before { display: none; }
.page-home .nav-tab { color: white; background: transparent; border-color: transparent; }
.page-home .nav-tab.is-active { background: #ffffff26; color: white; box-shadow: none; }
.page-home .nav-tab-muted { background: var(--showcase-yellow); color: #174f5a; }
.page-home .hero-slider { height: clamp(480px, 50vw, 850px); min-height: 0; }
.page-home .hero-slide-overlay { background: linear-gradient(#142b3c85, #12465655 50%, #102f3a85); }
.page-home .hero-slide:first-child .hero-slide-media { background-image: url('../images/tehran/tehran-skyline.jpg'); }
.page-home .hero-slide.is-active .hero-slide-content > * { animation: none; }
.page-home .hero-slide-content {
    max-width: min(720px, 92%); margin-inline: auto; align-items: center;
    padding: 100px 12px 66px; text-align: center;
}
.showcase-mark { width: clamp(74px, 11vw, 160px); height: auto; max-height: 165px; object-fit: contain; }
.page-home .hero-brand { font-size: clamp(1.6rem, 3vw, 3rem); margin: 0; color: white; }
.page-home .hero-slide-content h1 { font-size: clamp(1.25rem, 2.3vw, 2.25rem); margin: 0; }
.page-home .hero-slide-content .hero-lead { font-size: .9rem; margin: .4rem 0; }
.page-home .hero-slide-actions { justify-content: center; margin-top: .5rem; }
.page-home .hero-slide-actions .btn { padding: .35rem .8rem; font-size: .78rem; }
.page-home .btn-hero-solid { background: var(--showcase-yellow); color: #174f5a; }
.page-home .hero-progress { display: none; }

.showcase-wrap { width: min(94%, max(860px, 64vw), 1200px); margin-inline: auto; }
.page-home small { color: inherit; }
.showcase-wrap > small, .showcase-about small { color: #206e80; font-weight: 700; }
.showcase-wrap h2 { margin: .3rem 0 1.2rem; font-size: clamp(1.2rem, 1.65vw, 2rem); }
.showcase-shortcuts, .showcase-service-grid, .showcase-cards, .showcase-thumbnails {
    display: grid; gap: 1rem;
}
.showcase-shortcuts { grid-template-columns: repeat(5, minmax(0, 1fr)); padding-block: 2.4rem; }
.showcase-shortcuts a, .showcase-service-grid a {
    display: grid; place-content: center; justify-items: center; gap: .65rem;
    min-height: 116px; padding: .8rem; text-align: center; color: #25383d;
    font-size: .9rem; font-weight: 700; background: white; border: 1px solid #e9edf0;
}
.showcase-shortcuts a:hover, .showcase-service-grid a:hover { border-color: var(--showcase-teal); }
.showcase-shortcuts span, .showcase-service-grid span {
    display: grid; place-items: center; width: 3.1rem; height: 3.1rem;
    font-size: 1.45rem; color: #21768a; background: #edf4f6; border-radius: 50%;
}
.showcase-shortcuts a:nth-child(4) span { background: var(--showcase-yellow); }
.showcase-about { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; padding-block: 1.8rem 3.6rem; align-items: center; }
.showcase-copy { color: #485156; line-height: 2.05; font-size: .95rem; margin-bottom: 1rem; }
.showcase-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.showcase-pair img { width: 100%; height: clamp(220px, 27vw, 460px); object-fit: cover; border-radius: 5px; }
.showcase-button {
    display: inline-block; background: var(--showcase-yellow); color: #174f5a;
    border-radius: 3px; padding: .45rem 1rem; font-size: .85rem; font-weight: 800;
}
.showcase-feature { padding-block: 0 1.5rem; background: linear-gradient(white 45%, #2a8799 45%); }
.showcase-screen, .showcase-thumbnails a { display: block; position: relative; overflow: hidden; border-radius: 5px; color: white; background: #164451; }
.showcase-screen { width: min(78%, 850px); margin: 0 auto 1.5rem; }
.showcase-screen img, .showcase-thumbnails img { display: block; width: 100%; object-fit: cover; opacity: .69; }
.showcase-screen img { aspect-ratio: 2 / 1; }
.showcase-play {
    position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
    display: grid; place-items: center; width: 3rem; height: 3rem;
    border-radius: 50%; background: var(--showcase-yellow); color: #174f5a;
}
.showcase-screen strong, .showcase-thumbnails span {
    position: absolute; inset: auto 5% 9%; text-align: center; color: white;
    background: #123743dd; border-radius: 1rem; padding: .2rem .5rem;
}
.showcase-thumbnails { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 1rem; }
.showcase-thumbnails img { aspect-ratio: 2 / 1; }
.showcase-thumbnails span { font-size: .75rem; }
.showcase-services { background: #f2f2f8; padding-block: 2.5rem; text-align: center; }
.showcase-service-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.showcase-service-grid a:nth-child(3) { background: #21798b; color: white; }
.showcase-editorial { padding-block: 2.8rem; }
.showcase-projects { text-align: center; }
.showcase-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.showcase-story { background: #edf4f7; text-align: start; }
.showcase-story a { display: block; color: #205e6d; }
.showcase-story img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.showcase-story a > div { padding: 1rem; }
.showcase-story h3 { font-size: 1rem; }
.showcase-story p { font-size: .85rem; color: #414e53; }
.showcase-story span { font-size: .8rem; font-weight: 800; }
.showcase-knowledge {
    color: white; padding-block: 3rem;
    background: linear-gradient(to left, #278ca0 35%, #278ca000 85%), var(--knowledge-image) center / cover;
}
.showcase-knowledge small { color: white; }
.showcase-knowledge h2 { max-width: 18ch; }
.showcase-knowledge-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; max-width: 340px; }
.showcase-knowledge-links a { background: white; color: #1d6070; padding: .45rem; font-size: .85rem; text-align: center; }
.page-home .ref-footer { background: #1b2028; }
.page-home .logo-text strong, .page-home .logo-text small { color: white; }
.page-home .header-glass { -webkit-backdrop-filter: none; overflow: visible; }
.page-home .hero-slide:first-child .hero-lead,
.page-home .hero-slide:first-child .hero-slide-actions { display: none; }
.showcase-shortcuts a { box-shadow: 0 3px 15px #203a4610; border-radius: 4px; }
.showcase-shortcuts span, .showcase-service-grid span { color: #278ca0; }
.showcase-service-grid a:nth-child(3) span { color: #175664; background: var(--showcase-yellow); }
.showcase-screen strong { inset-inline: 12%; width: fit-content; margin-inline: auto; background: #fff; color: #206e80; }
.showcase-thumbnails span { background: white; color: #206e80; }
.showcase-cities { text-align: center; }
.showcase-cities-band {
    display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(1.2rem, 6vw, 5rem);
    background: var(--showcase-teal); padding: 1.5rem 1rem;
}
.showcase-cities-band a { display: grid; justify-items: center; gap: .4rem; font-weight: 800; color: white; }
.showcase-cities-band svg { width: 48px; height: 48px; }
.page-home .ref-footer {
    background: linear-gradient(135deg, #1a2028 25%, #212833 25% 48%, #1b222c 48% 72%, #202631 72%);
}

@media (min-width: 1000px) {
    .page-home .header-main > .container, .page-home .top-bar-inner {
        width: min(94%, max(860px, 64vw), 1200px);
    }
    .page-home .header-glass { display: flex; align-items: center; gap: 1rem; padding: .55rem 0; }
    .page-home .header-main-inner { padding: 0; flex: 0 0 138px; }
    .page-home .ref-logo { min-width: 0; }
    .page-home .logo-text { min-width: 0; }
    .page-home .logo-text strong { white-space: nowrap; font-size: 1rem; }
    .page-home .logo-text small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .62rem; }
    .page-home .header-main { padding: .15rem 0; }
    .page-home .top-bar-inner { min-height: 30px; padding-block: .2rem; }
    .page-home .top-bar .header-search { display: none; }
    .page-home .nav-tabs { flex: 1; min-width: 0; width: auto; margin: 0; }
    .page-home .nav-tabs-inner { justify-content: space-between; flex-wrap: nowrap; gap: .2rem; }
    .page-home .nav-tab { padding: .35rem .55rem; font-size: .82rem; white-space: nowrap; }
    .page-home .hero-slider { height: min(50.8vw, 960px); }
}

@media (max-width: 760px) {
    .page-home .nav-tabs.open { background: #1b343e; }
    .showcase-shortcuts, .showcase-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .showcase-about, .showcase-cards { grid-template-columns: 1fr; }
    .showcase-screen { width: 100%; }
    .showcase-thumbnails { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
    .showcase-knowledge { background: linear-gradient(#14546bc9, #14546bc9), var(--knowledge-image) center / cover; }
}
