/* =========================================================
   Sharifi Company — Home redesign
   Palette: ink charcoal + copper + stone
   ========================================================= */

:root {
    --ink: #12161c;
    --ink-soft: #1c232d;
    --copper: #c4894a;
    --copper-deep: #a86f35;
    --copper-soft: #e2b07a;
    --stone: #f4f1ec;
    --stone-deep: #e8e2d8;
    --pearl: #fbfaf7;
    --mist: #d9d4cb;
    --text-color: #1a1f27;
    --text-light: #5c6570;
    --text-muted: #8a929c;
    --bg-color: var(--pearl);
    --bg-light: var(--stone);
    --bg-dark: var(--ink);
    --border-color: rgba(18, 22, 28, 0.08);
    --primary-color: #c4894a;
    --primary-dark: #a86f35;
    --secondary-color: #2a3340;
    --accent-color: #c4894a;
    --gradient-primary: linear-gradient(135deg, #c4894a 0%, #d4a06a 55%, #a86f35 100%);
    --gradient-secondary: linear-gradient(145deg, #12161c 0%, #2a3340 100%);
    --gradient-accent: linear-gradient(135deg, #c4894a 0%, #e2b07a 100%);
    --gradient-hero: linear-gradient(115deg, rgba(12, 14, 18, 0.88) 0%, rgba(18, 22, 28, 0.55) 48%, rgba(18, 22, 28, 0.25) 100%);
    --shadow: 0 8px 30px rgba(18, 22, 28, 0.06);
    --shadow-lg: 0 18px 50px rgba(18, 22, 28, 0.12);
    --shadow-xl: 0 28px 70px rgba(18, 22, 28, 0.16);
    --border-radius: 10px;
    --border-radius-lg: 18px;
    --home-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(196, 137, 74, 0.08), transparent 55%),
        radial-gradient(900px 500px at 100% 0%, rgba(42, 51, 64, 0.06), transparent 50%),
        linear-gradient(180deg, #fbfaf7 0%, #f4f1ec 45%, #efeae3 100%);
    color: var(--text-color);
}

body.home-page .main-content {
    padding: 0 0 0;
    margin-top: 0;
}

/* ---------- Navbar polish ---------- */
.navbar {
    background: rgba(251, 250, 247, 0.78);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: none;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(251, 250, 247, 0.92);
    box-shadow: 0 10px 40px rgba(18, 22, 28, 0.08);
    border-bottom-color: rgba(18, 22, 28, 0.06);
}

body.home-page:not(:has(.hero-slider)) .main-content {
    padding-top: 100px;
}

body.home-page:has(.hero-slider) .navbar:not(.scrolled) {
    background: linear-gradient(180deg, rgba(12, 14, 18, 0.55) 0%, rgba(12, 14, 18, 0.12) 70%, transparent 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.home-page:has(.hero-slider) .navbar:not(.scrolled)::before {
    opacity: 0;
}

body.home-page:has(.hero-slider) .navbar:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

body.home-page:has(.hero-slider) .navbar:not(.scrolled) .nav-link:hover,
body.home-page:has(.hero-slider) .navbar:not(.scrolled) .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

body.home-page:has(.hero-slider) .navbar:not(.scrolled) .lang-switcher {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

body.home-page:has(.hero-slider) .navbar:not(.scrolled) .lang-link {
    color: rgba(255, 255, 255, 0.85);
}

body.home-page:has(.hero-slider) .navbar:not(.scrolled) .bar {
    background: #fff;
}

body.home-page:has(.hero-slider) .navbar:not(.scrolled) .nav-toggle {
    background: rgba(255, 255, 255, 0.1);
}

body.home-page:has(.hero-slider) .navbar:not(.scrolled) .logo-main {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

body.home-page:has(.hero-slider) .navbar:not(.scrolled) .logo-sub {
    color: var(--copper-soft);
}

.navbar::before {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--copper), var(--copper-soft), transparent);
    animation: none;
}

.nav-logo .logo {
    filter: drop-shadow(0 2px 8px rgba(18, 22, 28, 0.12));
}

.nav-logo:hover .logo {
    transform: scale(1.04);
    filter: drop-shadow(0 4px 12px rgba(196, 137, 74, 0.25));
}

.logo-main {
    background: none;
    -webkit-text-fill-color: var(--ink);
    color: var(--ink);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.logo-text:hover .logo-main {
    background: none;
    -webkit-text-fill-color: var(--copper-deep);
    color: var(--copper-deep);
}

.logo-sub {
    color: var(--copper);
    letter-spacing: 0.28em;
}

.nav-link {
    border-radius: 999px;
    font-weight: 500;
    color: var(--ink-soft);
}

.nav-link::before,
.nav-link::after {
    display: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--ink);
    background: rgba(196, 137, 74, 0.12);
    transform: none;
    box-shadow: none;
}

.nav-link.active {
    background: rgba(196, 137, 74, 0.16);
}

.lang-switcher {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(18, 22, 28, 0.08);
    box-shadow: none;
    border-radius: 999px;
}

.lang-link:hover {
    color: var(--copper-deep);
    background: rgba(196, 137, 74, 0.1);
}

.lang-link.active {
    background: var(--gradient-primary);
    box-shadow: 0 4px 14px rgba(196, 137, 74, 0.35);
}

.nav-toggle {
    background: rgba(18, 22, 28, 0.04);
}

.bar {
    background: var(--ink);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(196, 137, 74, 0.28);
}

.btn-primary:hover {
    box-shadow: 0 16px 36px rgba(196, 137, 74, 0.38);
}

.btn-outline {
    color: var(--ink);
    border-color: rgba(18, 22, 28, 0.22);
    border-radius: 999px;
}

.btn-outline:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

/* =========================================================
   HERO — full-bleed cinematic slider
   ========================================================= */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 640px;
    max-height: 980px;
    overflow: hidden;
    background: var(--ink);
    margin: 0;
    padding: 0;
}

.hero-slider .slider-container,
.hero-slider .slider-wrapper {
    width: 100%;
    height: 100%;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s var(--home-ease), visibility 1s var(--home-ease);
    display: block;
}

.hero-slider .slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slider .slide-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slider .slide-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.06);
    transition: transform 8s linear;
    filter: saturate(0.92) contrast(1.05);
}

.hero-slider .slide.active .slide-media img {
    transform: scale(1);
}

.hero-slider .slide-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        var(--gradient-hero),
        linear-gradient(0deg, rgba(12, 14, 18, 0.55) 0%, transparent 42%);
    pointer-events: none;
}

.hero-slider .slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6.5rem 2rem 11vh;
    grid-template-columns: none;
    gap: 0;
    box-sizing: border-box;
}

.hero-slider .slide-text {
    width: min(100%, 620px);
    text-align: right;
    color: #fff;
    animation: none;
}

html[dir="ltr"] .hero-slider .slide-text {
    text-align: left;
}

/* Text panel: keeps long copy readable over the image */
.hero-slider .slide-copy {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-height: min(62vh, 520px);
    padding: 1.5rem 1.6rem 1.6rem;
    border-radius: 20px;
    background:
        linear-gradient(155deg, rgba(12, 14, 18, 0.72) 0%, rgba(18, 22, 28, 0.55) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    opacity: 0;
    transform: translateY(28px);
}

.hero-slider .slide.active .slide-copy {
    animation: homeReveal 0.85s var(--home-ease) 0.12s forwards;
}

.hero-slider .slide-brand {
    display: block;
    flex-shrink: 0;
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
    color: var(--copper-soft);
    margin: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-slider .slide-brand em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.55);
}

.hero-slider .slide-title {
    flex-shrink: 0;
    font-size: clamp(1.35rem, 3.2vw, 2.35rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.01em;
    text-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.hero-slider .slide-description-wrap {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    max-height: 9.5em;
    overflow: hidden;
}

.hero-slider .slide-description-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2.2em;
    background: linear-gradient(180deg, transparent, rgba(14, 16, 20, 0.92));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.hero-slider .slide-description-wrap.is-long::after {
    opacity: 1;
}

.hero-slider .slide-description {
    font-size: clamp(0.92rem, 1.35vw, 1.05rem);
    color: rgba(255, 255, 255, 0.84);
    margin: 0;
    line-height: 1.75;
    max-height: 9.5em;
    overflow-y: auto;
    overflow-x: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    padding-left: 0.35rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(226, 176, 122, 0.55) transparent;
}

.hero-slider .slide-description::-webkit-scrollbar {
    width: 4px;
}

.hero-slider .slide-description::-webkit-scrollbar-thumb {
    background: rgba(226, 176, 122, 0.55);
    border-radius: 999px;
}

.hero-slider .slide-buttons {
    flex-shrink: 0;
    margin-top: 0.35rem;
    padding-top: 0.35rem;
}

.hero-slider .slide-buttons .btn {
    border-radius: 999px;
    padding: 0.85rem 1.55rem;
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    box-shadow: 0 12px 32px rgba(196, 137, 74, 0.35);
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
}

.hero-slider .slide-buttons .btn:hover {
    transform: translateY(-3px);
}

.hero-slider .slide-image {
    display: none;
}

.hero-slider .slider-controls {
    padding: 0 clamp(1rem, 3vw, 2.5rem);
    pointer-events: none;
}

.hero-slider .slider-btn {
    pointer-events: auto;
    width: 52px;
    height: 52px;
    background: rgba(251, 250, 247, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    backdrop-filter: blur(10px);
    box-shadow: none;
}

.hero-slider .slider-btn:hover {
    background: rgba(196, 137, 74, 0.9);
    border-color: transparent;
    transform: scale(1.05);
}

.hero-slider .slider-indicators {
    bottom: 2.5rem;
    gap: 0.55rem;
}

.hero-slider .indicator {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    transition: width 0.35s var(--home-ease), background 0.35s ease;
}

.hero-slider .indicator.active {
    width: 34px;
    background: var(--copper-soft);
}

@keyframes homeReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   Shared section rhythm
   ========================================================= */
.home-page .section-header {
    text-align: right;
    margin-bottom: 3.5rem;
    max-width: 640px;
}

html[dir="ltr"] .home-page .section-header {
    text-align: left;
}

.home-page .section-header.is-centered,
.home-page .cta .section-header {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.home-page .section-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--copper-deep);
    margin-bottom: 0.85rem;
}

.home-page .section-title {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.home-page .section-title::after {
    display: none;
}

.home-page .section-description {
    font-size: 1.05rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.8;
}

.home-page .section-footer {
    margin-top: 3rem;
}

.home-page .section-footer .btn {
    border-radius: 999px;
}

/* =========================================================
   Features — modern equal cards
   ========================================================= */
.home-page .features {
    padding: 6.5rem 0 5.5rem;
    background:
        radial-gradient(700px 280px at 15% 0%, rgba(196, 137, 74, 0.1), transparent 55%),
        linear-gradient(180deg, transparent, rgba(232, 226, 216, 0.45)),
        var(--pearl);
}

.home-page .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.35rem;
    margin-top: 2.75rem;
    border: none;
    align-items: stretch;
}

.home-page .feature-card {
    background: #fff;
    box-shadow: 0 10px 32px rgba(18, 22, 28, 0.06);
    border-radius: 18px;
    padding: 1.65rem 1.4rem 1.5rem;
    text-align: right;
    border: 1px solid rgba(18, 22, 28, 0.07);
    border-left: 1px solid rgba(18, 22, 28, 0.07);
    overflow: hidden;
    min-height: 0;
    height: 100%;
    max-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    transition: background 0.35s var(--home-ease), transform 0.35s var(--home-ease), box-shadow 0.35s var(--home-ease), border-color 0.35s ease;
}

html[dir="ltr"] .home-page .feature-card {
    text-align: left;
    align-items: flex-start;
}

.home-page .feature-card:first-child,
.home-page .feature-card:last-child {
    border-left: 1px solid rgba(18, 22, 28, 0.07);
}

html[dir="ltr"] .home-page .feature-card,
html[dir="ltr"] .home-page .feature-card:last-child {
    border-left: 1px solid rgba(18, 22, 28, 0.07);
    border-right: 1px solid rgba(18, 22, 28, 0.07);
}

.home-page .feature-card::before {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0.9;
}

.home-page .feature-card--expandable {
    cursor: pointer;
}

.home-page .feature-card:hover {
    transform: translateY(-6px);
    background: #fff;
    border-color: rgba(196, 137, 74, 0.28);
    box-shadow: 0 18px 40px rgba(18, 22, 28, 0.1);
}

.home-page .feature-icon {
    width: 52px;
    height: 52px;
    margin: 0 0 1.1rem;
    border-radius: 14px;
    background: rgba(196, 137, 74, 0.12);
    color: var(--copper-deep);
    font-size: 1.25rem;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.home-page .feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    color: #fff;
    transform: translateY(-2px);
}

.home-page .feature-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
    flex: 1;
}

.home-page .feature-card h3 {
    font-size: 1.08rem;
    margin: 0 0 0.55rem;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 2.7rem;
    word-break: break-word;
}

.home-page .feature-card p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    max-height: 4.8rem;
    word-break: break-word;
}

.home-page .feature-read-more {
    margin-top: auto;
    padding-top: 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--copper-deep);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.home-page .feature-card--expandable:hover .feature-read-more {
    gap: 0.55rem;
}

/* Feature dialog */
.feature-dialog {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.feature-dialog.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.feature-dialog-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 22, 28, 0.55);
    backdrop-filter: blur(6px);
}

.feature-dialog-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    max-height: min(80vh, 620px);
    overflow-y: auto;
    background: var(--pearl);
    border-radius: 20px;
    border: 1px solid rgba(18, 22, 28, 0.08);
    box-shadow: 0 24px 60px rgba(18, 22, 28, 0.22);
    padding: 2.1rem 1.7rem 1.8rem;
    text-align: center;
    transform: translateY(14px) scale(0.98);
    transition: transform 0.25s var(--home-ease);
}

.feature-dialog.is-open .feature-dialog-panel {
    transform: translateY(0) scale(1);
}

.feature-dialog-close {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: rgba(18, 22, 28, 0.06);
    color: var(--text-light);
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-dialog-close:hover {
    background: rgba(196, 137, 74, 0.15);
    color: var(--copper-deep);
}

.feature-dialog-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 1.1rem;
    border-radius: 16px;
    background: rgba(196, 137, 74, 0.12);
    color: var(--copper-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.feature-dialog-panel h3 {
    margin: 0 0 0.8rem;
    font-size: 1.3rem;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.4;
}

.feature-dialog-panel p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--text-light);
    white-space: pre-line;
    text-align: justify;
}

/* =========================================================
   Featured products
   ========================================================= */
.home-page .featured-products {
    padding: 6.5rem 0;
    background:
        radial-gradient(700px 320px at 80% 0%, rgba(196, 137, 74, 0.08), transparent 60%),
        var(--stone);
}

.home-page .featured-products .products-grid {
    gap: 1.75rem;
}

.home-page .product-card {
    background: var(--pearl);
    border-radius: 16px;
    box-shadow: none;
    border: 1px solid rgba(18, 22, 28, 0.06);
    max-height: none;
    overflow: hidden;
    transition: transform 0.4s var(--home-ease), box-shadow 0.4s var(--home-ease), border-color 0.4s ease;
}

.home-page .product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(196, 137, 74, 0.28);
}

.home-page .product-image {
    height: 210px;
}

.home-page .product-image img {
    transition: transform 0.7s var(--home-ease);
}

.home-page .product-card:hover .product-image img {
    transform: scale(1.06);
}

.home-page .product-content {
    padding: 1.35rem 1.35rem 1.5rem;
}

.home-page .product-name {
    color: var(--ink);
}

.home-page .product-price {
    color: var(--copper-deep);
    font-weight: 700;
}

.home-page .product-overlay {
    background: rgba(18, 22, 28, 0.72);
}

.home-page .btn-view-details {
    border-radius: 999px;
    padding: 0.65rem 1.1rem;
    font-size: 0.88rem;
}

/* Gallery: keep original layout from style.css */
.home-page .gallery-preview .section-header {
    text-align: center;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.home-page .gallery-preview .section-title::after {
    display: block;
}

.home-page .gallery-preview .section-eyebrow {
    display: none;
}

/* =========================================================
   Contact
   ========================================================= */
.home-page .home-contact {
    padding: 6.5rem 0;
    background:
        linear-gradient(180deg, var(--stone) 0%, var(--pearl) 100%);
}

.home-page .home-contact .form-card,
.home-page .home-contact .info-card {
    background: var(--pearl);
    border: 1px solid rgba(18, 22, 28, 0.07);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 2.25rem;
}

.home-page .home-contact .form-card::before,
.home-page .home-contact .info-card::before {
    background: var(--gradient-primary);
}

.home-page .home-contact .form-header,
.home-page .home-contact .info-header {
    text-align: right;
}

html[dir="ltr"] .home-page .home-contact .form-header,
html[dir="ltr"] .home-page .home-contact .info-header {
    text-align: left;
}

.home-page .home-contact .form-header h2,
.home-page .home-contact .info-header h2 {
    font-size: 1.65rem;
    color: var(--ink);
}

.home-page .home-contact .contact-info-item {
    background: rgba(196, 137, 74, 0.06);
    border: 1px solid rgba(196, 137, 74, 0.12);
    border-radius: 14px;
}

.home-page .home-contact .contact-icon {
    background: var(--gradient-primary);
    border-radius: 12px;
}

.home-page .home-contact .social-link {
    background: var(--ink);
    box-shadow: none;
}

.home-page .home-contact .social-link:hover {
    background: var(--copper);
    box-shadow: 0 8px 22px rgba(196, 137, 74, 0.35);
}

.home-page .home-contact input,
.home-page .home-contact textarea {
    border-radius: 12px;
    border: 1px solid rgba(18, 22, 28, 0.1);
    background: #fff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-page .home-contact input:focus,
.home-page .home-contact textarea:focus {
    border-color: var(--copper);
    box-shadow: 0 0 0 4px rgba(196, 137, 74, 0.15);
    outline: none;
}

/* =========================================================
   CTA
   ========================================================= */
.home-page .cta {
    padding: 6.5rem 0;
    background:
        radial-gradient(800px 400px at 20% 0%, rgba(196, 137, 74, 0.28), transparent 55%),
        linear-gradient(145deg, #12161c 0%, #232b36 55%, #1a211c 100%);
    color: #fff;
    overflow: hidden;
    position: relative;
}

.home-page .cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 40%, rgba(196, 137, 74, 0.08) 50%, transparent 60%);
    background-size: 220% 100%;
    animation: ctaSheen 8s ease-in-out infinite;
    opacity: 1;
}

@keyframes ctaSheen {
    0%, 100% { background-position: 100% 0; }
    50% { background-position: 0% 0; }
}

.home-page .cta-content {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.home-page .cta-title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    color: #fff;
    margin-bottom: 1rem;
}

.home-page .cta-description {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
}

.home-page .cta .btn-primary.btn-large,
.home-page .cta .btn-large.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
}

.home-page .cta .btn-outline.btn-large {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    background: transparent;
}

.home-page .cta .btn-outline.btn-large:hover {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
}

/* =========================================================
   Footer tint to match theme
   ========================================================= */
.footer {
    background: linear-gradient(180deg, #0f1318 0%, #161b22 100%);
    margin-top: 0;
}

.footer::before {
    background: linear-gradient(90deg, transparent, var(--copper), transparent);
}

.footer .social-link:hover {
    box-shadow: 0 8px 25px rgba(196, 137, 74, 0.35);
}

.back-to-top {
    background: var(--ink) !important;
    border: 1px solid rgba(196, 137, 74, 0.4);
}

.back-to-top:hover {
    background: var(--copper) !important;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
    .home-page .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.15rem;
    }

    .home-page .feature-card {
        border: 1px solid rgba(18, 22, 28, 0.07);
        max-height: 270px;
    }

    .home-page .feature-card:nth-child(2n) {
        border-left: 1px solid rgba(18, 22, 28, 0.07);
    }
}

@media (max-width: 900px) {
    .hero-slider {
        min-height: 560px;
        height: 92vh;
    }

    .hero-slider .slide-content {
        padding: 5.5rem 1.25rem 10vh;
        align-items: flex-end;
    }

    .hero-slider .slide-copy {
        padding: 1.2rem 1.25rem 1.3rem;
        max-height: min(58vh, 460px);
        border-radius: 16px;
    }

    .hero-slider .slide-title {
        font-size: clamp(1.2rem, 5.5vw, 1.85rem);
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }

    .home-page .featured-products .products-grid,
    .home-page .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: none !important;
    }

    .home-page .home-contact .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-slider {
        min-height: 520px;
    }

    .hero-slider .slider-btn {
        width: 42px;
        height: 42px;
    }

    .home-page .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .home-page .feature-card {
        border: 1px solid rgba(18, 22, 28, 0.07) !important;
        padding: 1.4rem 1.25rem;
        max-height: 260px;
    }

    .feature-dialog-panel p {
        text-align: right;
        font-size: 0.92rem;
    }

    .home-page .featured-products .products-grid,
    .home-page .products-grid {
        grid-template-columns: 1fr !important;
    }

    .home-page .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}
