/* ===================================================
   BUCK CORPORATION — Premium Agency Portfolio Stylesheet
   Inspired by the wild, fearless spirit of Buck Wild
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Bebas+Neue&family=Space+Grotesk:wght@400;500;600;700;800&display=swap');

/* ── CSS Custom Properties ── */
:root {
    --clr-bg: #080c0a;
    --clr-bg2: #0b1210;
    --clr-bg3: #0f1a16;
    --clr-accent: #f5a623;
    /* Buck gold / amber */
    --clr-accent2: #2d7a4f;
    /* forest green */
    --clr-accent3: #e8f0ea;
    /* off-white */
    --clr-danger: #c0392b;
    --clr-text: #e8f0ea;
    --clr-muted: #8fa898;
    --clr-card: rgba(15, 26, 22, 0.7);
    --clr-glass: rgba(255, 255, 255, 0.03);
    --clr-border: rgba(245, 166, 35, 0.12);
    --clr-border2: rgba(45, 122, 79, 0.18);
    --gradient-primary: linear-gradient(135deg, #f5a623 0%, #e8801a 100%);
    --gradient-green: linear-gradient(135deg, #2d7a4f 0%, #1aab68 100%);
    --gradient-wild: linear-gradient(135deg, #f5a623 0%, #2d7a4f 100%);
    --gradient-warm: linear-gradient(135deg, #f5a623 0%, #c0392b 100%);
    --gradient-cool: linear-gradient(135deg, #1aab68 0%, #0e6645 100%);
    --shadow-gold: 0 0 40px rgba(245, 166, 35, 0.2);
    --shadow-green: 0 0 40px rgba(45, 122, 79, 0.2);
    --radius-card: 20px;
    --radius-btn: 50px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ── Reset ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    overflow-x: hidden;
    line-height: 1.6;
}

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

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

ul {
    list-style: none;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--clr-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--clr-accent);
    border-radius: 3px;
}

/* ===================================================
   CANVAS BACKGROUND
   =================================================== */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===================================================
   NAVIGATION
   =================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 5%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(8, 12, 10, 0.75);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--clr-border);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(8, 12, 10, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(245, 166, 35, 0.15);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.nav-logo .brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.nav-logo .brand-buck {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
}

.nav-logo .brand-corp {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--clr-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--clr-muted);
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--clr-accent);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-primary) !important;
    color: #0a0c09 !important;
    padding: 0.5rem 1.4rem !important;
    border-radius: var(--radius-btn) !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.35);
    transition: var(--transition) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(245, 166, 35, 0.5) !important;
    color: #0a0c09 !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--clr-accent);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5% 80px;
    overflow: hidden;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('assets/images/hero_bg.png') center/cover no-repeat;
    opacity: 0.2;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(8, 12, 10, 0.2) 0%, var(--clr-bg) 75%);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(245, 166, 35, 0.08);
    border: 1px solid rgba(245, 166, 35, 0.3);
    padding: 7px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--clr-accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.8rem;
    animation: fadeInDown 0.8s ease both;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--clr-accent);
    border-radius: 50%;
    animation: pulse-gold 1.5s infinite;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6.5vw, 5.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 1.6rem;
    animation: fadeInUp 0.9s ease 0.1s both;
}

.hero h1 .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 .highlight-green {
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    letter-spacing: 0.15em;
    color: var(--clr-accent2);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    animation: fadeInUp 0.9s ease 0.15s both;
}

.hero p {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    color: var(--clr-muted);
    max-width: 640px;
    margin: 0 auto 2.8rem;
    animation: fadeInUp 1s ease 0.2s both;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.3s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: #0a0c09;
    padding: 0.95rem 2.4rem;
    border-radius: var(--radius-btn);
    font-weight: 800;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(245, 166, 35, 0.35);
    border: none;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 40px rgba(245, 166, 35, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--clr-text);
    padding: 0.95rem 2.4rem;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(245, 166, 35, 0.3);
    transition: var(--transition);
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(245, 166, 35, 0.08);
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    letter-spacing: 0.04em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--clr-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--clr-muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    color: var(--clr-accent);
}

/* ===================================================
   SECTION COMMONS
   =================================================== */
section {
    position: relative;
    z-index: 1;
}

.section-wrapper {
    padding: 100px 5%;
    max-width: 1320px;
    margin: 0 auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 166, 35, 0.08);
    border: 1px solid rgba(245, 166, 35, 0.25);
    color: var(--clr-accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-tag::before {
    content: '●';
    font-size: 0.55rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

.section-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title .green {
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--clr-muted);
    max-width: 560px;
    line-height: 1.75;
}

.centered {
    text-align: center;
}

.centered .section-subtitle {
    margin: 0 auto;
}

/* Thin gold divider */
.section-divider {
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    margin: 1.2rem 0 1.5rem;
}

.centered .section-divider {
    margin: 1.2rem auto 1.5rem;
}

/* ===================================================
   SERVICES SECTION
   =================================================== */
#services {
    background: linear-gradient(180deg, var(--clr-bg) 0%, var(--clr-bg2) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    backdrop-filter: blur(12px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: var(--transition);
}

.service-card:nth-child(1)::before {
    background: var(--gradient-primary);
}

.service-card:nth-child(2)::before {
    background: var(--gradient-green);
}

.service-card:nth-child(3)::before {
    background: var(--gradient-warm);
}

.service-card:nth-child(4)::before {
    background: linear-gradient(90deg, #1aab68, #f5a623);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(245, 166, 35, 0.25);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), var(--shadow-gold);
}

.service-card:hover::before {
    opacity: 1;
}

.service-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img {
    transform: scale(1.06);
}

.service-body {
    padding: 1.8rem;
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--clr-border);
}

.service-card:nth-child(1) .service-icon {
    background: rgba(245, 166, 35, 0.1);
}

.service-card:nth-child(2) .service-icon {
    background: rgba(45, 122, 79, 0.1);
}

.service-card:nth-child(3) .service-icon {
    background: rgba(245, 166, 35, 0.1);
}

.service-card:nth-child(4) .service-icon {
    background: rgba(45, 122, 79, 0.1);
}

.service-body h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.service-body p {
    font-size: 0.88rem;
    color: var(--clr-muted);
    line-height: 1.75;
    margin-bottom: 1.4rem;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.service-tag {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(245, 166, 35, 0.08);
    border: 1px solid rgba(245, 166, 35, 0.2);
    color: var(--clr-accent);
    letter-spacing: 0.03em;
}

/* ===================================================
   INDUSTRIES SECTION
   =================================================== */
#industries {
    background: var(--clr-bg2);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    margin-top: 4rem;
}

.industry-card {
    background: var(--clr-glass);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-card);
    padding: 2.2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.industry-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    opacity: 0.07;
    transition: var(--transition);
}

.industry-card:nth-child(odd)::after {
    background: var(--clr-accent);
}

.industry-card:nth-child(even)::after {
    background: var(--clr-accent2);
}

.industry-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 166, 35, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), var(--shadow-gold);
}

.industry-card:hover::after {
    opacity: 0.14;
    transform: scale(1.4);
}

.industry-icon {
    width: 68px;
    height: 68px;
    min-width: 68px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: rgba(245, 166, 35, 0.08);
    border: 1px solid rgba(245, 166, 35, 0.2);
}

.industry-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.industry-content p {
    font-size: 0.875rem;
    color: var(--clr-muted);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.industry-benefits {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.industry-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--clr-muted);
}

.industry-benefit::before {
    content: '✓';
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    background: rgba(245, 166, 35, 0.12);
    color: var(--clr-accent);
    font-size: 0.68rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===================================================
   PROCESS SECTION
   =================================================== */
#process {
    background: linear-gradient(180deg, var(--clr-bg2) 0%, var(--clr-bg) 100%);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 4.5rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent2));
    opacity: 0.25;
}

.step-card {
    text-align: center;
    padding: 0 1.2rem;
    transition: var(--transition);
}

.step-num {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 0.04em;
    margin: 0 auto 1.5rem;
    background: var(--clr-bg2);
    border: 2px solid rgba(245, 166, 35, 0.4);
    color: var(--clr-accent);
    box-shadow: 0 0 24px rgba(245, 166, 35, 0.15);
    transition: var(--transition);
}

.step-card:hover .step-num {
    background: var(--gradient-primary);
    color: #0a0c09;
    border-color: transparent;
    box-shadow: 0 0 40px rgba(245, 166, 35, 0.45);
    transform: scale(1.12) rotate(-3deg);
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.83rem;
    color: var(--clr-muted);
    line-height: 1.65;
}

/* ===================================================
   TECHNOLOGIES SECTION
   =================================================== */
#technologies {
    background: var(--clr-bg);
    overflow: hidden;
}

.tech-marquee-wrapper {
    overflow: hidden;
    margin-top: 3rem;
    -webkit-mask: linear-gradient(90deg, transparent, #fff 8%, #fff 92%, transparent);
    mask: linear-gradient(90deg, transparent, #fff 8%, #fff 92%, transparent);
}

.tech-marquee {
    display: flex;
    gap: 1.2rem;
    animation: marquee 28s linear infinite;
    width: max-content;
}

.tech-marquee:hover {
    animation-play-state: paused;
}

.tech-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: 50px;
    padding: 0.6rem 1.4rem;
    font-size: 0.87rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.tech-pill:hover {
    border-color: var(--clr-accent);
    background: rgba(245, 166, 35, 0.08);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.tech-pill span {
    font-size: 1.2rem;
}

/* ===================================================
   PORTFOLIO / WORK SECTION
   =================================================== */
#portfolio {
    background: linear-gradient(180deg, var(--clr-bg) 0%, var(--clr-bg2) 100%);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    margin-top: 4rem;
}

.portfolio-item {
    border-radius: var(--radius-card);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    transition: var(--transition);
}

.portfolio-item:first-child {
    grid-column: span 2;
}

.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), var(--shadow-gold);
    border-color: rgba(245, 166, 35, 0.3);
}

.portfolio-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 12, 10, 0.97) 0%, rgba(8, 12, 10, 0.3) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.8rem;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.portfolio-overlay p {
    font-size: 0.8rem;
    color: var(--clr-muted);
}

.portfolio-overlay .badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: #0a0c09;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 0.6rem;
    align-self: flex-start;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ===================================================
   WHY US SECTION
   =================================================== */
#why-us {
    background: var(--clr-bg2);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.why-us-visual {
    position: relative;
}

.why-us-visual img {
    border-radius: var(--radius-card);
    width: 100%;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), var(--shadow-gold);
    border: 1px solid var(--clr-border);
}

.why-floating-badge {
    position: absolute;
    background: rgba(15, 26, 22, 0.9);
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: 14px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    animation: floatBadge 3s ease-in-out infinite;
}

.why-floating-badge:nth-child(2) {
    bottom: 20px;
    left: -30px;
    animation-delay: 0s;
}

.why-floating-badge:nth-child(3) {
    top: 30px;
    right: -30px;
    animation-delay: 1.5s;
}

.why-floating-badge .badge-icon {
    font-size: 1.5rem;
}

.why-floating-badge .badge-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--clr-text);
}

.why-floating-badge .badge-sub {
    font-size: 0.7rem;
    color: var(--clr-muted);
}

.why-us-features {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.feature-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.feature-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    background: rgba(245, 166, 35, 0.1);
    border: 1px solid rgba(245, 166, 35, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: rotate(-5deg) scale(1.05);
}

.feature-text h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.feature-text p {
    font-size: 0.875rem;
    color: var(--clr-muted);
    line-height: 1.7;
}

/* ===================================================
   TESTIMONIALS SECTION
   =================================================== */
#testimonials {
    background: linear-gradient(180deg, var(--clr-bg2) 0%, var(--clr-bg) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-card);
    padding: 2rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 166, 35, 0.25);
    box-shadow: var(--shadow-gold);
}

.quote-icon {
    font-family: Georgia, serif;
    font-size: 3.5rem;
    color: var(--clr-accent);
    opacity: 0.35;
    line-height: 1;
    margin-bottom: 0.8rem;
}

.testimonial-card p {
    font-size: 0.9rem;
    color: var(--clr-muted);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: #0a0c09;
    border: 2px solid rgba(245, 166, 35, 0.4);
}

.author-info .name {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.author-info .role {
    font-size: 0.77rem;
    color: var(--clr-muted);
}

.stars {
    color: var(--clr-accent);
    font-size: 0.88rem;
    margin-bottom: 0.8rem;
    letter-spacing: 2px;
}



/* ===================================================
   FAQ SECTION
   =================================================== */
#faq {
    background: var(--clr-bg2);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 3rem;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.faq-item.open {
    border-color: rgba(245, 166, 35, 0.3);
    box-shadow: var(--shadow-gold);
}

.faq-question {
    padding: 1.3rem 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    gap: 1rem;
    user-select: none;
}

.faq-question svg {
    min-width: 20px;
    transition: transform 0.35s ease;
    color: var(--clr-accent);
}

.faq-item.open .faq-question svg {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.6rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    font-size: 0.9rem;
    color: var(--clr-muted);
    line-height: 1.8;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 1.3rem;
}

/* ===================================================
   CONTACT SECTION
   =================================================== */
#contact {
    background: linear-gradient(180deg, var(--clr-bg2) 0%, var(--clr-bg) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: start;
    margin-top: 4rem;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 0.9rem;
    color: var(--clr-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-detail-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(245, 166, 35, 0.08);
    border: 1px solid rgba(245, 166, 35, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-detail-text .label {
    font-size: 0.72rem;
    color: var(--clr-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.contact-detail-text .value {
    font-size: 0.9rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(245, 166, 35, 0.06);
    border: 1px solid rgba(245, 166, 35, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
}

.social-link:hover {
    background: rgba(245, 166, 35, 0.14);
    border-color: var(--clr-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.contact-form {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-card);
    padding: 2.5rem;
    backdrop-filter: blur(12px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--clr-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(245, 166, 35, 0.03);
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--clr-text);
    transition: var(--transition);
    outline: none;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--clr-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.12);
    background: rgba(245, 166, 35, 0.04);
}

.form-group select option {
    background: var(--clr-bg2);
    color: var(--clr-text);
}

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

.form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    color: #0a0c09;
    border: none;
    border-radius: var(--radius-btn);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.35);
    letter-spacing: 0.04em;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(245, 166, 35, 0.5);
}

.form-success {
    display: none;
    text-align: center;
    padding: 2.5rem;
}

.form-success .success-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.form-success h4 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.form-success p {
    font-size: 0.9rem;
    color: var(--clr-muted);
}

/* ===================================================
   FOOTER
   =================================================== */
footer {
    background: #030503;
    border-top: 1px solid var(--clr-border);
    padding: 4rem 5% 2rem;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1320px;
    margin: 0 auto 3rem;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-brand .logo img {
    width: 36px;
    border-radius: 9px;
    object-fit: cover;
}

.footer-brand .logo .name {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.footer-brand .logo .name .buck {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand .logo .name .corp {
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--clr-muted);
}

.footer-brand p {
    font-size: 0.87rem;
    color: var(--clr-muted);
    line-height: 1.8;
    max-width: 280px;
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--clr-text);
    margin-bottom: 1.2rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col ul li a {
    font-size: 0.87rem;
    color: var(--clr-muted);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--clr-accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--clr-border);
    padding-top: 2rem;
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--clr-muted);
}

.footer-bottom .accent {
    color: var(--clr-accent);
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.82rem;
    color: var(--clr-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--clr-accent);
}

/* Buck's wild motto bar */
.buck-motto {
    text-align: center;
    padding: 1.5rem 0 0.5rem;
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 0.15em;
    color: var(--clr-accent);
    opacity: 0.15;
    user-select: none;
    pointer-events: none;
}

/* ===================================================
   ANIMATIONS
   =================================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-gold {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.5);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(245, 166, 35, 0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================================
   MOBILE NAV
   =================================================== */
@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(8, 12, 10, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--clr-border);
        transform: translateY(-120%);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-steps::before {
        display: none;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }

    .portfolio-item:first-child {
        grid-column: span 2;
    }

    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .why-us-visual {
        order: -1;
        max-width: 500px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .section-wrapper {
        padding: 70px 5%;
    }

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

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item:first-child {
        grid-column: span 1;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .hero-stats {
        gap: 1.8rem;
    }

    .why-floating-badge {
        display: none;
    }

    .pricing-grid {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .industry-card {
        flex-direction: column;
    }

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

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
}

/* ===================================================
   FLOATING CHAT WIDGET
   =================================================== */
.chat-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 14px;
}

/* Toggle button */
.chat-toggle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0c09;
    box-shadow: 0 8px 28px rgba(245, 166, 35, 0.45), 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 36px rgba(245, 166, 35, 0.6);
}

.chat-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e74c3c;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--clr-bg);
    animation: badge-pulse 2s infinite;
}

.chat-badge.hidden {
    display: none;
}

@keyframes badge-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Chat Panel */
.chat-panel {
    width: 340px;
    background: #0e1a16;
    border: 1px solid rgba(245, 166, 35, 0.18);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(245, 166, 35, 0.08);
    display: flex;
    flex-direction: column;
    transform: scale(0.9) translateY(20px);
    transform-origin: bottom right;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    max-height: 520px;
}

.chat-panel.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

/* Header */
.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15) 0%, rgba(45, 122, 79, 0.12) 100%);
    border-bottom: 1px solid rgba(245, 166, 35, 0.12);
}

.chat-header-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    border: 2px solid rgba(245, 166, 35, 0.4);
}

.chat-header-info {
    flex: 1;
    min-width: 0;
}

.chat-header-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 3px;
}

.chat-header-status {
    font-size: 0.72rem;
    color: var(--clr-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    display: inline-block;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(46, 204, 113, 0);
    }
}

.chat-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--clr-muted);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.chat-close-btn:hover {
    background: rgba(245, 166, 35, 0.12);
    color: var(--clr-accent);
}

/* Body */
.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    scrollbar-width: thin;
    scrollbar-color: rgba(245, 166, 35, 0.3) transparent;
}

.chat-body::-webkit-scrollbar {
    width: 4px;
}

.chat-body::-webkit-scrollbar-thumb {
    background: rgba(245, 166, 35, 0.3);
    border-radius: 4px;
}

/* Bubbles */
.chat-bubble {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.bubble-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    border: 1px solid rgba(245, 166, 35, 0.3);
}

.bubble-content {
    background: rgba(245, 166, 35, 0.07);
    border: 1px solid rgba(245, 166, 35, 0.12);
    border-radius: 0 16px 16px 16px;
    padding: 12px 14px;
    font-size: 0.85rem;
    color: var(--clr-text);
    line-height: 1.55;
    max-width: 240px;
}

.bubble-time {
    display: block;
    font-size: 0.68rem;
    color: var(--clr-muted);
    margin-top: 6px;
}

.chat-bubble-out {
    flex-direction: row-reverse;
}

.chat-bubble-out .bubble-content {
    background: rgba(45, 122, 79, 0.15);
    border-color: rgba(45, 122, 79, 0.25);
    border-radius: 16px 0 16px 16px;
}

.chat-bubble-out .bubble-avatar {
    background: var(--gradient-green);
    font-size: 0.9rem;
}

/* Quick actions */
.chat-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(245, 166, 35, 0.12);
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--clr-text);
}

.quick-action:hover {
    background: rgba(245, 166, 35, 0.08);
    border-color: rgba(245, 166, 35, 0.3);
    transform: translateX(4px);
}

.quick-action.whatsapp:hover {
    border-color: rgba(37, 211, 102, 0.4);
    background: rgba(37, 211, 102, 0.06);
}

.quick-action.phone:hover {
    border-color: rgba(45, 122, 79, 0.4);
    background: rgba(45, 122, 79, 0.06);
}

.qa-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.qa-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.qa-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--clr-text);
}

.qa-sub {
    font-size: 0.72rem;
    color: var(--clr-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quick-action svg {
    color: var(--clr-muted);
    flex-shrink: 0;
}

/* Divider */
.chat-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--clr-muted);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.chat-divider::before,
.chat-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
}

.chat-replies {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Footer / input */
.chat-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 14px 8px;
    background: rgba(8, 12, 10, 0.5);
}

.chat-input-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(245, 166, 35, 0.15);
    border-radius: 14px;
    padding: 8px 8px 8px 14px;
    transition: var(--transition);
}

.chat-input-row:focus-within {
    border-color: rgba(245, 166, 35, 0.4);
    background: rgba(245, 166, 35, 0.04);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.08);
}

.chat-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--clr-text);
    resize: none;
    min-height: 22px;
    max-height: 90px;
    line-height: 1.5;
    padding: 2px 0;
}

.chat-input::placeholder {
    color: var(--clr-muted);
}

.chat-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--gradient-primary);
    border: none;
    color: #0a0c09;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.chat-send-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(245, 166, 35, 0.4);
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.chat-sent-msg {
    text-align: center;
    font-size: 0.82rem;
    color: #2ecc71;
    font-weight: 600;
    padding: 6px 0;
}

.chat-powered {
    text-align: center;
    font-size: 0.68rem;
    color: rgba(143, 168, 152, 0.4);
    margin-top: 6px;
}

@media (max-width: 480px) {
    .chat-widget {
        bottom: 18px;
        right: 16px;
    }

    .chat-panel {
        width: calc(100vw - 32px);
    }
}