/* ===== Luxury Black / Gold Theme ===== */
:root {
    --gold: #d4af37;
    --gold-light: #ffd86b;
    --orange: #ff5a1f;
    --bg: #050505;
    --bg-soft: #0b0b0b;
    --panel: rgba(16, 16, 16, .82);
    --panel-strong: rgba(12, 12, 12, .94);
    --border: rgba(212, 175, 55, .22);
    --border-strong: rgba(212, 175, 55, .55);
    --text: #f8f6ef;
    --muted: #b9b6ac;
    --danger: #ff5a5f;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { color-scheme: dark; }

body {
    min-height: 100vh;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 18% 18%, rgba(212,175,55,.12), transparent 30%),
        radial-gradient(circle at 82% 78%, rgba(255,80,20,.08), transparent 28%),
        linear-gradient(135deg, #000 0%, #060606 48%, #111 100%);
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
}

body::before {
    background-image:
        radial-gradient(circle, rgba(212,175,55,.65) 0 1px, transparent 1.7px),
        radial-gradient(circle, rgba(255,93,31,.35) 0 1px, transparent 1.6px);
    background-size: 90px 90px, 145px 145px;
    background-position: 12px 28px, 60px 10px;
    opacity: .18;
    animation: particlesFloat 22s linear infinite;
}

body::after {
    height: 2px;
    top: -5vh;
    bottom: auto;
    background: linear-gradient(90deg, transparent 5%, #ff3c00 35%, #ffd700 55%, transparent 95%);
    box-shadow: 0 0 18px rgba(255,90,31,.8), 0 0 28px rgba(212,175,55,.45);
    opacity: .55;
    animation: laserScan 10s linear infinite;
    z-index: 20;
}

@keyframes particlesFloat {
    from { transform: translateY(0); }
    to { transform: translateY(-90px); }
}

@keyframes laserScan {
    from { transform: translateY(0); }
    to { transform: translateY(110vh); }
}

@keyframes glowPulse {
    0%,100% { box-shadow: 0 0 15px rgba(212,175,55,.16); }
    50% { box-shadow: 0 0 30px rgba(212,175,55,.30), 0 0 55px rgba(255,80,20,.10); }
}

@keyframes shine {
    0% { left: -130%; }
    100% { left: 230%; }
}

button, input, a { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

/* ===== Header ===== */
.header {
    height: 76px;
    position: relative;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    background: rgba(7,7,7,.78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 35px rgba(0,0,0,.28);
}

.logo {
    color: var(--gold);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-shadow: 0 0 12px rgba(212,175,55,.75), 0 0 28px rgba(255,90,31,.16);
}

nav {
    display: flex;
    gap: 10px;
    align-items: center;
}

nav a {
    color: #ddd8ca;
    text-decoration: none;
    font-size: 13px;
    padding: 9px 15px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: .3s ease;
}

nav a:hover {
    color: var(--gold-light);
    border-color: var(--border);
    background: rgba(212,175,55,.07);
    box-shadow: 0 0 18px rgba(212,175,55,.08);
}

/* ===== Home ===== */
.home {
    min-height: calc(100vh - 76px);
    padding: 38px 5%;
}

.hero {
    max-width: 1180px;
    min-height: calc(100vh - 152px);
    margin: auto;
    padding: 48px 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 52px;
    background: rgba(15,15,15,.72);
    border: 1px solid var(--border);
    border-radius: 34px;
    backdrop-filter: blur(22px);
    box-shadow: 0 0 42px rgba(212,175,55,.09), inset 0 1px 0 rgba(255,255,255,.03);
    position: relative;
    overflow: hidden;
    animation: glowPulse 5s ease-in-out infinite;
}

.hero::before {
    content: "";
    position: absolute;
    width: 42%;
    aspect-ratio: 1;
    left: -12%;
    bottom: -28%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,80,20,.18), transparent 70%);
    filter: blur(6px);
}

.hero-text { width: 52%; position: relative; z-index: 2; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 20px;
    padding: 8px 15px;
    border-radius: 999px;
    color: var(--gold-light);
    background: rgba(212,175,55,.08);
    border: 1px solid rgba(212,175,55,.28);
    font-size: 12px;
    box-shadow: inset 0 0 18px rgba(212,175,55,.04);
}

.hero h1 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.24;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero h1 strong {
    display: block;
    color: var(--gold);
    text-shadow: 0 0 12px rgba(212,175,55,.45);
}

.hero p {
    color: var(--muted);
    line-height: 2.05;
    max-width: 570px;
    margin-bottom: 28px;
    font-size: 14px;
}

.main-btn,
.continue-btn,
.upload-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,216,107,.48);
    background: linear-gradient(135deg, #9b7418 0%, #d4af37 45%, #8f6712 100%);
    color: #090909;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    border-radius: 13px;
    box-shadow: 0 0 22px rgba(212,175,55,.20);
    transition: transform .28s ease, box-shadow .28s ease;
}

.main-btn::before,
.continue-btn::before,
.upload-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
    transform: skewX(-25deg);
    animation: shine 3.8s infinite;
}

.main-btn:hover,
.continue-btn:hover,
.upload-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 28px rgba(212,175,55,.36), 0 0 48px rgba(255,80,20,.10);
}

.main-btn { padding: 14px 28px; }

.hero-shirt {
    width: min(440px, 42vw);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(212,175,55,.13), rgba(212,175,55,.035) 42%, transparent 67%);
    position: relative;
}

.hero-shirt::before {
    content: "";
    position: absolute;
    inset: 8%;
    border: 1px solid rgba(212,175,55,.18);
    border-radius: 50%;
    box-shadow: inset 0 0 36px rgba(212,175,55,.06), 0 0 36px rgba(212,175,55,.08);
}

.shirt-placeholder {
    font-size: clamp(150px, 20vw, 245px);
    filter: drop-shadow(0 0 22px rgba(212,175,55,.35));
    transform: rotate(-4deg);
}

/* ===== Designer ===== */
.designer {
    height: calc(100vh - 76px);
    padding: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 18px;
}

.viewer,
.panel,
.preview-viewer,
.preview-controls {
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: 0 0 34px rgba(212,175,55,.08);
    backdrop-filter: blur(20px);
}

.viewer {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 45%, rgba(212,175,55,.10), transparent 30%),
        radial-gradient(circle at 25% 80%, rgba(255,80,20,.05), transparent 25%),
        linear-gradient(145deg, #060606, #0c0c0c 58%, #121212);
}

.viewer::before,
.preview-viewer::before {
    content: "";
    position: absolute;
    inset: 24px;
    border: 1px solid rgba(212,175,55,.08);
    border-radius: 22px;
    pointer-events: none;
    z-index: 2;
}

#canvas3d,
#previewCanvas {
    width: 100%;
    height: 100%;
    display: block;
    touch-action: none;
}

#loading {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    color: var(--gold-light);
    background: rgba(6,6,6,.92);
    border: 1px solid var(--border-strong);
    padding: 14px 22px;
    border-radius: 13px;
    box-shadow: 0 0 25px rgba(212,175,55,.18);
}

.viewer-help {
    position: absolute;
    left: 24px;
    bottom: 22px;
    z-index: 5;
    color: #d8d3c5;
    background: rgba(5,5,5,.72);
    border: 1px solid rgba(212,175,55,.18);
    backdrop-filter: blur(10px);
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 11px;
    line-height: 1.8;
    text-align: center;
}

.panel {
    border-radius: 28px;
    padding: 26px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(212,175,55,.4) rgba(255,255,255,.03);
}

.panel h2 {
    color: var(--gold);
    font-size: 25px;
    margin-bottom: 6px;
    text-shadow: 0 0 12px rgba(212,175,55,.22);
}

.panel-description {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.parts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.part {
    min-height: 78px;
    border: 1px solid rgba(212,175,55,.14);
    background: rgba(255,255,255,.025);
    color: #eee9dc;
    border-radius: 15px;
    padding: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: .28s ease;
}

.part:hover {
    transform: translateY(-3px);
    border-color: rgba(212,175,55,.55);
    background: rgba(212,175,55,.06);
    box-shadow: 0 0 18px rgba(212,175,55,.08);
}

.part.active {
    color: #050505;
    background: linear-gradient(135deg, #b78d24, #e2c65c);
    border-color: #f0d777;
    box-shadow: 0 0 20px rgba(212,175,55,.22);
}

.part span { font-size: 22px; }
.part b { font-size: 12px; }

.upload-box,
.color-section,
.transform-section,
.selected-info {
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(212,175,55,.14);
    border-radius: 17px;
}

.upload-box {
    border-style: dashed;
    border-color: rgba(212,175,55,.35);
    padding: 20px 15px;
    text-align: center;
    margin-bottom: 16px;
}

.upload-icon {
    width: 46px;
    height: 46px;
    margin: auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #050505;
    background: linear-gradient(145deg, #e5c85f, #aa7d1b);
    box-shadow: 0 0 22px rgba(212,175,55,.22);
    font-size: 22px;
    font-weight: 900;
}

.upload-box h3 { margin-top: 12px; font-size: 14px; }
.upload-box p { color: #99958c; font-size: 10px; margin: 7px 0 13px; }
.upload-btn { padding: 10px 18px; font-size: 12px; }
.upload-btn input { display: none; }

.color-section { padding: 15px; margin-bottom: 15px; }
.color-section h3,
.transform-section h3 { color: #f0e9d5; font-size: 14px; margin-bottom: 12px; }

.colors { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }

.color {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.22);
    cursor: pointer;
    transition: .25s ease;
    box-shadow: 0 0 0 2px rgba(0,0,0,.35);
}
.color:hover { transform: scale(1.12); border-color: var(--gold-light); }
.color.white { background: white; }
.color.black { background: #111; }
.color.red { background: #d62828; }
.color.blue { background: #2563eb; }
.color.green { background: #16a34a; }
.color.yellow { background: #facc15; }

#customColor {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(212,175,55,.25);
    padding: 2px;
    border-radius: 50%;
    background: #111;
    cursor: pointer;
}

.selected-info {
    padding: 12px 14px;
    font-size: 12px;
    margin-bottom: 14px;
    color: #bcb7a9;
}
.selected-info strong { color: var(--gold-light); }

.transform-section { padding: 15px; margin-bottom: 15px; }
.transform-hint { color: #9f9a8f; font-size: 11px; line-height: 1.85; margin-bottom: 12px; }

.range-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 7px;
    color: #d9d3c4;
    font-size: 12px;
}
.range-label strong { color: var(--gold-light); }

#sizeRange,
#rotationRange {
    width: 100%;
    accent-color: var(--gold);
    margin-bottom: 13px;
    cursor: pointer;
}

.transform-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.secondary-btn,
.small-btn {
    border: 1px solid rgba(212,175,55,.22);
    color: #e8e1d0;
    background: rgba(212,175,55,.045);
    border-radius: 11px;
    cursor: pointer;
    transition: .25s ease;
}
.secondary-btn:hover:not(:disabled),
.small-btn:hover:not(:disabled) {
    color: var(--gold-light);
    border-color: rgba(212,175,55,.55);
    background: rgba(212,175,55,.09);
    transform: translateY(-2px);
}
.small-btn { width: 100%; padding: 9px 8px; font-size: 11px; }

.delete-design-btn {
    width: 100%;
    padding: 10px 12px;
    color: #ff8a8d;
    background: rgba(255,60,70,.035);
    border: 1px solid rgba(255,80,90,.3);
    border-radius: 11px;
    cursor: pointer;
    font-weight: 700;
    transition: .25s ease;
}
.delete-design-btn:hover:not(:disabled) { background: rgba(255,70,80,.09); border-color: rgba(255,100,110,.55); }

.transform-section button:disabled,
.transform-section input:disabled { opacity: .38; cursor: not-allowed; }

.continue-btn { width: 100%; padding: 14px; font-size: 13px; }

/* ===== Preview ===== */
.preview-page {
    height: calc(100vh - 76px);
    padding: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 18px;
}

.preview-viewer {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 45%, rgba(212,175,55,.10), transparent 30%),
        linear-gradient(145deg, #060606, #0c0c0c 58%, #121212);
}

.preview-title {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    color: var(--gold-light);
    background: rgba(6,6,6,.72);
    border: 1px solid rgba(212,175,55,.25);
    backdrop-filter: blur(12px);
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 12px;
    box-shadow: 0 0 22px rgba(212,175,55,.10);
}

.preview-controls {
    border-radius: 28px;
    padding: 42px 30px;
}

.preview-controls h2 {
    color: var(--gold);
    margin-bottom: 12px;
    font-size: 25px;
    text-shadow: 0 0 12px rgba(212,175,55,.20);
}

.preview-controls p {
    color: var(--muted);
    line-height: 2;
    margin-bottom: 26px;
    font-size: 13px;
}

.preview-buttons { display: flex; gap: 10px; }
.preview-buttons .secondary-btn { padding: 13px 18px; }
.preview-buttons .main-btn { padding: 13px 18px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .header { padding: 0 4%; }
    nav { gap: 2px; }
    nav a { padding: 8px 9px; font-size: 11px; }

    .hero {
        min-height: auto;
        padding: 38px 28px;
        flex-direction: column;
        text-align: center;
    }
    .hero-text { width: 100%; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-shirt { width: min(340px, 80vw); }

    .designer,
    .preview-page {
        height: auto;
        display: flex;
        flex-direction: column;
        padding: 12px;
    }
    .viewer { height: 58vh; min-height: 420px; }
    .panel { overflow: visible; }
    .preview-viewer { height: 60vh; min-height: 420px; }
}

@media (max-width: 560px) {
    .header { height: auto; min-height: 72px; padding: 12px 16px; gap: 12px; }
    .logo { font-size: 15px; }
    nav { flex-wrap: wrap; justify-content: flex-end; }
    nav a { padding: 6px 8px; }

    .home { padding: 18px 12px; }
    .hero { border-radius: 24px; padding: 32px 20px; }
    .hero h1 { font-size: 36px; }
    .designer { min-height: calc(100vh - 72px); }
    .panel, .viewer, .preview-viewer, .preview-controls { border-radius: 22px; }
    .panel { padding: 20px; }
    .parts { grid-template-columns: repeat(2, 1fr); }
    .preview-buttons { flex-direction: column; }
    .preview-buttons button { width: 100%; }
}

/* ===== Brand home content ===== */
.brand-home-page {
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}

.brand-home {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0 64px;
}

.brand-hero {
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    align-items: center;
    gap: 56px;
    padding: 58px;
    position: relative;
    overflow: hidden;
    background: rgba(15,15,15,.72);
    border: 1px solid rgba(212,175,55,.24);
    border-radius: 34px;
    backdrop-filter: blur(22px);
    box-shadow: 0 0 42px rgba(212,175,55,.09), inset 0 1px 0 rgba(255,255,255,.03);
}

.brand-hero::after {
    content: "";
    position: absolute;
    inset: auto -80px -120px auto;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,80,20,.17), transparent 68%);
    pointer-events: none;
}

.brand-hero-copy { position: relative; z-index: 2; }
.brand-hero-copy h1 {
    margin: 18px 0 18px;
    font-size: clamp(46px, 6vw, 76px);
    line-height: 1.12;
}
.brand-hero-copy h1 strong {
    display: block;
    color: var(--gold);
    text-shadow: 0 0 14px rgba(212,175,55,.48);
}
.brand-hero-copy p {
    max-width: 650px;
    color: var(--muted);
    line-height: 2.1;
    font-size: 15px;
}

.brand-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.brand-hero-actions .main-btn { gap: 10px; }

.home-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 13px;
    text-decoration: none;
    color: #e7dfca;
    border: 1px solid rgba(212,175,55,.24);
    background: rgba(255,255,255,.025);
    transition: .25s ease;
}
.home-secondary-btn:hover {
    color: var(--gold-light);
    border-color: rgba(212,175,55,.5);
    background: rgba(212,175,55,.07);
}

.brand-visual {
    min-height: 370px;
    position: relative;
    display: grid;
    place-items: center;
}
.brand-emblem {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
    z-index: 3;
    color: #060606;
    font-size: 70px;
    background: radial-gradient(circle at 35% 30%, #ffe59a, #d4af37 48%, #7a5710 100%);
    box-shadow: 0 0 40px rgba(212,175,55,.34), 0 0 90px rgba(255,80,20,.12);
}
.brand-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,.26);
}
.brand-orbit-one { width: 280px; height: 280px; }
.brand-orbit-two { width: 350px; height: 350px; border-style: dashed; animation: homeOrbit 24s linear infinite; }
.brand-visual-label {
    position: absolute;
    bottom: 8px;
    color: rgba(255,255,255,.38);
    letter-spacing: 4px;
    font-size: 11px;
}
@keyframes homeOrbit { to { transform: rotate(360deg); } }

.home-section,
.home-contact-section {
    margin-top: 34px;
    padding: 42px;
    border-radius: 30px;
    background: rgba(13,13,13,.72);
    border: 1px solid rgba(212,175,55,.18);
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(212,175,55,.055);
}

.home-section-heading { margin-bottom: 26px; }
.home-section-heading > span,
.home-contact-copy > span {
    display: inline-block;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 7px;
}
.home-section-heading h2,
.home-contact-copy h2 {
    font-size: clamp(27px, 4vw, 40px);
    margin-bottom: 8px;
}
.home-section-heading p,
.home-contact-copy p {
    color: var(--muted);
    line-height: 1.9;
}

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.home-service-card {
    min-height: 120px;
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: center;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(212,175,55,.14);
    transition: .3s ease;
}
.home-service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212,175,55,.48);
    background: rgba(212,175,55,.06);
    box-shadow: 0 10px 28px rgba(0,0,0,.22), 0 0 22px rgba(212,175,55,.08);
}
.home-service-card > i {
    grid-row: 1 / 3;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--gold-light);
    background: rgba(212,175,55,.09);
    border: 1px solid rgba(212,175,55,.18);
    font-size: 20px;
}
.home-service-card h3 { font-size: 16px; align-self: end; }
.home-service-card p { font-size: 12px; line-height: 1.8; color: #9f9b91; align-self: start; }

.home-contact-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.home-contact-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.home-contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    color: inherit;
    text-decoration: none;
    border-radius: 17px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(212,175,55,.15);
    transition: .25s ease;
}
.home-contact-card:hover { border-color: rgba(212,175,55,.48); background: rgba(212,175,55,.055); }
.home-contact-card i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--gold);
    background: rgba(212,175,55,.08);
}
.home-contact-card div { display: flex; flex-direction: column; gap: 2px; }
.home-contact-card small { color: #a8a398; }
.home-contact-card strong { direction: ltr; font-size: 17px; }

.home-social-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.home-instagram-btn,
.home-design-cta {
    min-height: 52px;
    padding: 0 24px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    transition: .3s ease;
}
.home-instagram-btn {
    background: linear-gradient(45deg, #405DE6, #833AB4, #E1306C, #FD1D1D, #FCAF45);
    background-size: 260% 260%;
    animation: instagramGradientHome 6s ease infinite;
    box-shadow: 0 0 20px rgba(225,48,108,.18);
}
.home-design-cta {
    color: #090909;
    border: 1px solid rgba(255,216,107,.48);
    background: linear-gradient(135deg, #9b7418 0%, #d4af37 45%, #8f6712 100%);
}
.home-instagram-btn:hover,
.home-design-cta:hover { transform: translateY(-3px); }
@keyframes instagramGradientHome {
    0%,100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.home-footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 28px;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #8f8a80;
    border-top: 1px solid rgba(212,175,55,.12);
}
.home-footer span { color: var(--gold); font-weight: 800; }

@media (max-width: 880px) {
    .brand-hero { grid-template-columns: 1fr; padding: 38px 26px; }
    .brand-hero-copy { text-align: center; }
    .brand-hero-copy p { margin: 0 auto; }
    .brand-hero-actions { justify-content: center; }
    .brand-visual { min-height: 300px; }
    .brand-emblem { width: 150px; height: 150px; font-size: 56px; }
    .brand-orbit-one { width: 230px; height: 230px; }
    .brand-orbit-two { width: 290px; height: 290px; }
}

@media (max-width: 680px) {
    .brand-home { width: min(100% - 20px, 1180px); padding-top: 18px; }
    .brand-hero { border-radius: 24px; padding: 30px 20px; }
    .brand-hero-copy h1 { font-size: 42px; }
    .brand-visual { min-height: 250px; }
    .brand-emblem { width: 120px; height: 120px; font-size: 45px; }
    .brand-orbit-one { width: 190px; height: 190px; }
    .brand-orbit-two { width: 235px; height: 235px; }
    .home-section,
    .home-contact-section { padding: 26px 18px; border-radius: 23px; }
    .home-services-grid,
    .home-contact-cards { grid-template-columns: 1fr; }
    .home-social-row > a { width: 100%; }
    .home-footer { flex-direction: column; text-align: center; align-items: center; }
}
.brand-emblem img{
    width:100%;
    height:100%;
    object-fit:contain;
}