/* ==========================================================================
   AsesMarket v5.0 — Dark Premium
   Complete redesign: header, pages, footer
   Palette: #FF7400 (orange), dark backgrounds, glass effects
   Fonts: Space Grotesk (headings), Inter (body)
   ========================================================================== */

/* ---------- 1. VARIABLES ---------- */
:root {
    /* Brand */
    --am-orange: #FF7400;
    --am-orange-dark: #e56800;
    --am-orange-light: #ff9a44;
    --am-orange-glow: rgba(255, 116, 0, 0.15);
    --am-orange-glow-strong: rgba(255, 116, 0, 0.25);

    /* Backgrounds */
    --am-bg: #07070a;
    --am-bg-2: #0c0c12;
    --am-bg-3: #111118;
    --am-bg-card: rgba(255, 255, 255, 0.03);
    --am-bg-card-hover: rgba(255, 255, 255, 0.06);
    --am-bg-glass: rgba(255, 255, 255, 0.04);
    --am-bg-glass-hover: rgba(255, 255, 255, 0.07);

    /* Text */
    --am-white: #ffffff;
    --am-text: rgba(255, 255, 255, 0.88);
    --am-text-2: rgba(255, 255, 255, 0.72);
    --am-text-3: rgba(255, 255, 255, 0.55);

    /* Borders */
    --am-border: rgba(255, 255, 255, 0.08);
    --am-border-hover: rgba(255, 116, 0, 0.3);
    --am-border-orange: rgba(255, 116, 0, 0.5);

    /* Misc */
    --am-green: #22c55e;
    --am-green-hover: #16a34a;
    --am-radius: 14px;
    --am-radius-lg: 20px;
    --am-radius-xl: 28px;
    --am-radius-pill: 100px;
    --am-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --am-shadow-glow: 0 0 40px rgba(255, 116, 0, 0.08);
    --am-max-w: 1200px;
    --am-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --am-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--am-bg);
    color: var(--am-text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--am-white);
    letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Noise texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.am-wrap { overflow-x: hidden; }
.am-container { max-width: var(--am-max-w); margin: 0 auto; padding: 0 24px; }

/* ---------- 3. HEADER ---------- */
.am-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    background: #16161d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--am-transition);
}

.am-header-inner {
    max-width: var(--am-max-w);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.am-header.scrolled {
    background: rgba(22, 22, 29, 0.95);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.am-header.scrolled .am-header-inner {
    padding: 12px 24px;
}

.am-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.am-logo img {
    height: 36px;
    width: auto;
}

.am-logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--am-white);
    letter-spacing: -0.02em;
}

.am-logo-text span {
    color: var(--am-orange);
}

/* Navigation */
.am-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.am-nav a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--am-text-2);
    border-radius: var(--am-radius);
    transition: var(--am-transition);
    white-space: nowrap;
}

.am-nav a:hover,
.am-nav a.active {
    color: var(--am-white);
    background: var(--am-bg-glass);
}

/* Nav dropdown */
.am-nav-item {
    position: relative;
}

.am-nav-drop {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    background: rgba(17, 17, 24, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: var(--am-transition);
}

.am-nav-item:hover .am-nav-drop {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.am-nav-drop a {
    display: block;
    padding: 10px 14px;
    font-size: 0.88rem;
    border-radius: 8px;
    color: var(--am-text-2);
}

.am-nav-drop a:hover {
    background: var(--am-bg-card-hover);
    color: var(--am-orange);
}

/* Header CTA */
.am-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--am-orange);
    color: var(--am-bg) !important;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: var(--am-radius-pill);
    transition: var(--am-transition);
    flex-shrink: 0;
}

.am-header-cta:hover {
    background: var(--am-orange-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--am-orange-glow-strong);
}

/* Mobile burger */
.am-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.am-burger span {
    width: 22px;
    height: 2px;
    background: var(--am-white);
    border-radius: 2px;
    transition: var(--am-transition);
}

/* ---------- 4. HERO ---------- */
.am-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 24px 100px;
    overflow: hidden;
}

.am-hero-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 116, 0, 0.15), transparent),
        radial-gradient(ellipse 60% 60% at 80% 50%, rgba(255, 116, 0, 0.06), transparent),
        radial-gradient(ellipse 50% 80% at 20% 80%, rgba(255, 154, 68, 0.04), transparent);
    animation: am-mesh-pulse 12s ease-in-out infinite alternate;
}

@keyframes am-mesh-pulse {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

.am-hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
}

.am-hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: am-glow-float 10s ease-in-out infinite alternate;
}

.am-hero-glow-1 {
    top: 10%;
    right: -10%;
    background: rgba(255, 116, 0, 0.12);
}

.am-hero-glow-2 {
    bottom: 10%;
    left: -10%;
    background: rgba(255, 154, 68, 0.06);
}

@keyframes am-glow-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20px, -20px) scale(1.1); }
}

.am-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.am-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--am-bg-glass);
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--am-orange-light);
    margin-bottom: 32px;
    animation: am-fade-up 0.6s ease-out;
}

.am-hero-label .dot {
    width: 6px;
    height: 6px;
    background: var(--am-orange);
    border-radius: 50%;
    animation: am-dot-pulse 2s ease-in-out infinite;
}

@keyframes am-dot-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.am-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--am-white) !important;
    animation: am-fade-up 0.6s ease-out 0.1s both;
}

.am-hero h1 .gradient {
    background: linear-gradient(135deg, var(--am-orange), var(--am-orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.am-hero-sub {
    font-size: 1.15rem;
    color: var(--am-text-2);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: am-fade-up 0.6s ease-out 0.2s both;
}

.am-hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: am-fade-up 0.6s ease-out 0.3s both;
}

@keyframes am-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stats bar below hero */
.am-hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--am-border);
    animation: am-fade-up 0.6s ease-out 0.4s both;
}

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

.am-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--am-orange);
}

.am-stat-label {
    font-size: 0.85rem;
    color: var(--am-text-3);
    margin-top: 4px;
}

/* ---------- 5. BUTTONS ---------- */
.am-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--am-radius-pill);
    border: none;
    cursor: pointer;
    transition: var(--am-transition);
    text-decoration: none;
}

.am-btn-primary {
    background: var(--am-orange);
    color: var(--am-bg) !important;
}

.am-btn-primary:hover {
    background: var(--am-orange-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--am-orange-glow-strong);
}

.am-btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--am-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.am-btn-ghost:hover {
    border-color: var(--am-orange);
    color: var(--am-orange) !important;
    background: rgba(255, 116, 0, 0.08);
}

.am-btn-wa {
    background: var(--am-green);
    color: var(--am-white) !important;
}

.am-btn-wa:hover {
    background: var(--am-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.2);
}

.am-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ---------- 6. SECTIONS ---------- */
.am-section {
    padding: 96px 0;
    position: relative;
}

.am-section-alt {
    background: var(--am-bg-2);
}

.am-section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.am-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--am-orange);
    margin-bottom: 16px;
}

.am-section-label::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--am-orange);
}

.am-section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--am-white) 60%, var(--am-orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.am-section-desc {
    font-size: 1.05rem;
    color: var(--am-text-2);
    line-height: 1.7;
}

/* ---------- 7. GLASS CARDS ---------- */
.am-grid {
    display: grid;
    gap: 24px;
}

.am-grid-2 { grid-template-columns: repeat(2, 1fr); }
.am-grid-3 { grid-template-columns: repeat(3, 1fr); }
.am-grid-4 { grid-template-columns: repeat(4, 1fr); }

.am-card {
    background: var(--am-bg-glass);
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius-lg);
    padding: 36px 28px;
    transition: var(--am-transition);
    position: relative;
    overflow: hidden;
}

.am-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--am-orange-glow-strong), transparent);
    opacity: 0;
    transition: var(--am-transition);
}

.am-card:hover {
    background: var(--am-bg-glass-hover);
    border-color: var(--am-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(255, 116, 0, 0.12);
}

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

.am-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 116, 0, 0.15), rgba(255, 116, 0, 0.05));
    border: 1px solid rgba(255, 116, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.am-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--am-orange);
}

.am-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.am-card p {
    font-size: 0.92rem;
    color: var(--am-text-2);
    line-height: 1.7;
}

.am-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--am-orange);
    transition: var(--am-transition);
}

.am-card-link:hover {
    gap: 10px;
}

.am-card-link svg {
    width: 16px;
    height: 16px;
}

/* Service card variant */
.am-svc-card {
    padding: 40px 32px;
}

.am-svc-card .am-card-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    color: var(--am-orange-light);
    margin-top: 12px;
    font-weight: 600;
}

/* ---------- 8. FEATURE ROWS ---------- */
.am-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 40px 0;
}

.am-feature-row.reverse {
    direction: rtl;
}

.am-feature-row.reverse > * {
    direction: ltr;
}

.am-feature-visual {
    background: var(--am-bg-glass);
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius-xl);
    padding: 40px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.am-feature-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 116, 0, 0.08), transparent 70%);
}

.am-feature-text h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.am-feature-text p {
    color: var(--am-text-2);
    margin-bottom: 24px;
    line-height: 1.7;
}

.am-feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.am-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--am-text);
}

.am-check {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 6px;
    background: rgba(255, 116, 0, 0.12);
    border: 1px solid rgba(255, 116, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.am-check svg {
    width: 12px;
    height: 12px;
    stroke: var(--am-orange);
}

/* ---------- 9. PRICING ---------- */
.am-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.am-price-card {
    background: var(--am-bg-glass);
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius-xl);
    padding: 40px 32px;
    text-align: center;
    transition: var(--am-transition);
    position: relative;
}

.am-price-card:hover {
    transform: translateY(-4px);
    border-color: var(--am-border-hover);
}

.am-price-card.featured {
    border-color: var(--am-orange);
    background: linear-gradient(180deg, rgba(255, 116, 0, 0.06), transparent);
}

.am-price-card.featured::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--am-orange), transparent);
}

.am-price-badge {
    display: inline-block;
    padding: 5px 18px;
    background: var(--am-orange);
    color: var(--am-bg);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--am-radius-pill);
    margin-bottom: 16px;
}

.am-price-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--am-white);
}

.am-price-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--am-white);
    line-height: 1;
    margin-bottom: 4px;
}

.am-price-amount span {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--am-text-3);
}

.am-price-period {
    font-size: 0.85rem;
    color: var(--am-text-3);
    margin-bottom: 32px;
}

.am-price-features {
    text-align: left;
    margin-bottom: 32px;
}

.am-price-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--am-text);
    border-bottom: 1px solid var(--am-border);
}

.am-price-features li:last-child {
    border-bottom: none;
}

.am-price-features li svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    stroke: var(--am-orange);
    margin-top: 3px;
}

.am-price-card .am-btn {
    width: 100%;
    justify-content: center;
}

/* ---------- 10. PROCESS / STEPS ---------- */
.am-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    position: relative;
}

.am-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.am-step-num {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--am-bg-glass);
    border: 1px solid var(--am-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--am-orange);
    transition: var(--am-transition);
}

.am-step:hover .am-step-num {
    border-color: var(--am-orange);
    box-shadow: 0 0 20px var(--am-orange-glow);
}

.am-step-line {
    position: absolute;
    top: 28px;
    left: calc(50% + 36px);
    right: calc(-50% + 36px);
    height: 2px;
    background: linear-gradient(90deg, var(--am-orange-glow-strong), var(--am-border));
}

.am-step:last-child .am-step-line { display: none; }

/* Progressive orange tint on step numbers */
.am-step:nth-child(1) .am-step-num { background: rgba(255, 116, 0, 0.06); }
.am-step:nth-child(2) .am-step-num { background: rgba(255, 116, 0, 0.09); }
.am-step:nth-child(3) .am-step-num { background: rgba(255, 116, 0, 0.12); }
.am-step:nth-child(4) .am-step-num { background: rgba(255, 116, 0, 0.15); }
.am-step:nth-child(5) .am-step-num { background: rgba(255, 116, 0, 0.18); }
.am-step:nth-child(6) .am-step-num { background: rgba(255, 116, 0, 0.21); }

.am-step h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.am-step p {
    font-size: 0.82rem;
    color: var(--am-text-3);
}

/* ---------- 11. FAQ ---------- */
.am-faq {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.am-faq details {
    background: var(--am-bg-glass);
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius);
    transition: var(--am-transition);
}

.am-faq details[open] {
    border-color: var(--am-border-hover);
}

.am-faq summary {
    padding: 20px 24px;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--am-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.am-faq summary::-webkit-details-marker { display: none; }

.am-faq summary::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--am-orange);
    transition: var(--am-transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.am-faq details[open] summary::after {
    content: '\2212';
}

.am-faq-body {
    padding: 0 24px 20px;
    font-size: 0.92rem;
    color: var(--am-text-2);
    line-height: 1.7;
}

/* ---------- 12. CTA SECTION ---------- */
.am-cta-section {
    position: relative;
    padding: 80px 0 96px;
    text-align: center;
    overflow: hidden;
}

.am-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(255, 116, 0, 0.1), transparent);
}

.am-cta-section .am-container {
    position: relative;
    z-index: 2;
}

.am-cta-box {
    background: linear-gradient(180deg, rgba(255, 116, 0, 0.06), var(--am-bg-glass));
    border: 1px solid rgba(255, 116, 0, 0.2);
    border-radius: var(--am-radius-xl);
    padding: 72px 48px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.am-cta-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--am-orange), transparent);
}

.am-cta-box h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 16px;
}

.am-cta-box p {
    color: var(--am-text-2);
    font-size: 1.05rem;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- 13. CONTACT ---------- */
.am-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}

.am-contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.am-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.am-contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 116, 0, 0.15), rgba(255, 116, 0, 0.05));
    border: 1px solid rgba(255, 116, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.am-contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--am-orange);
}

.am-contact-item h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.am-contact-item a,
.am-contact-item p {
    color: var(--am-text-2);
    font-size: 0.95rem;
}

.am-contact-item a:hover {
    color: var(--am-orange);
}

/* Contact form */
.am-contact-form {
    background: var(--am-bg-glass);
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius-xl);
    padding: 40px;
}

.am-contact-form h2 {
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.am-contact-form input[type="text"],
.am-contact-form input[type="email"],
.am-contact-form input[type="tel"],
.am-contact-form textarea,
.am-contact-form select,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius);
    color: var(--am-white);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--am-transition);
    margin-bottom: 16px;
}

.am-contact-form input:focus,
.am-contact-form textarea:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--am-orange);
    box-shadow: 0 0 0 3px var(--am-orange-glow);
    background: rgba(255, 116, 0, 0.03);
}

.am-contact-form input[type="submit"],
.wpcf7 input[type="submit"] {
    width: 100%;
    padding: 16px;
    background: var(--am-orange);
    color: var(--am-bg);
    border: none;
    border-radius: var(--am-radius-pill);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--am-transition);
}

.am-contact-form input[type="submit"]:hover,
.wpcf7 input[type="submit"]:hover {
    background: var(--am-orange-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--am-orange-glow-strong);
}

/* ---------- 14. ABOUT PAGE ---------- */
.am-about-team {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 40px;
}

.am-value-card {
    padding-left: 20px;
    border-left: 2px solid var(--am-orange);
    margin-bottom: 28px;
}

.am-value-card h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--am-orange-light);
}

.am-value-card p {
    font-size: 0.92rem;
    color: var(--am-text-2);
    line-height: 1.7;
}

.am-trust-section {
    background: var(--am-bg-glass);
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius-xl);
    padding: 60px 48px;
    text-align: center;
}

.am-trust-section h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.am-trust-section p {
    color: var(--am-text-2);
    font-size: 1.02rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 12px;
}

/* ---------- 15. FOOTER ---------- */
.am-footer {
    background: #16161d;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 72px 0 0;
}

.am-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
}

.am-footer-brand .am-logo img {
    height: auto;
    max-width: 160px;
}

.am-footer-brand p {
    color: var(--am-text-3);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.am-footer h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--am-text-3);
    margin-bottom: 20px;
}

.am-footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.am-footer-links a {
    font-size: 0.9rem;
    color: var(--am-text-2);
    transition: var(--am-transition);
}

.am-footer-links a:hover {
    color: var(--am-orange);
    transform: translateX(4px);
    display: inline-block;
}

.am-footer-contact a,
.am-footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--am-text-2);
    margin-bottom: 12px;
}

.am-footer-contact a:hover {
    color: var(--am-orange);
}

.am-footer-contact svg {
    width: 16px;
    height: 16px;
    stroke: var(--am-orange);
    flex-shrink: 0;
}

.am-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
    background: #111117;
}

.am-footer-bottom-inner {
    max-width: var(--am-max-w);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--am-text-3);
}

.am-footer-legal {
    display: flex;
    gap: 24px;
}

.am-footer-legal a {
    color: var(--am-text-3);
    transition: var(--am-transition);
}

.am-footer-legal a:hover {
    color: var(--am-orange);
}

/* ---------- 16. BLOG ---------- */
.am-blog-hero {
    padding: 140px 0 60px;
    text-align: center;
    background: var(--am-bg-2);
}

.am-blog-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.am-blog-hero p {
    color: var(--am-text-2);
    font-size: 1.05rem;
}

.am-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 60px 0;
}

.am-post-card {
    background: var(--am-bg-glass);
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius-lg);
    overflow: hidden;
    transition: var(--am-transition);
}

.am-post-card:hover {
    transform: translateY(-4px);
    border-color: var(--am-border-hover);
}

.am-post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.am-post-card-body {
    padding: 24px;
}

.am-post-card-cat {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--am-orange);
    margin-bottom: 10px;
}

.am-post-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.am-post-card p {
    font-size: 0.88rem;
    color: var(--am-text-3);
    line-height: 1.6;
}

/* Single post */
body.single-post {
    background: var(--am-bg);
}

body.single-post .site-main {
    max-width: 760px;
    margin: 0 auto;
    padding: 140px 24px 80px;
}

body.single-post .entry-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--am-white);
    margin-bottom: 24px;
    line-height: 1.2;
}

body.single-post .page-content {
    color: var(--am-text);
    font-size: 1.05rem;
    line-height: 1.8;
}

body.single-post .page-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: var(--am-white);
    margin: 48px 0 16px;
}

body.single-post .page-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    color: var(--am-white);
    margin: 32px 0 12px;
}

body.single-post .page-content a {
    color: var(--am-orange);
    text-decoration: underline;
    text-underline-offset: 2px;
}

body.single-post .page-content a:hover {
    color: var(--am-orange-light);
}

body.single-post .page-content ul,
body.single-post .page-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

body.single-post .page-content li {
    margin-bottom: 8px;
    list-style: disc;
    color: var(--am-text-2);
}

body.single-post .page-content blockquote {
    border-left: 3px solid var(--am-orange);
    padding-left: 20px;
    margin: 24px 0;
    color: var(--am-text-2);
    font-style: italic;
}

body.single-post .page-content img {
    border-radius: var(--am-radius);
    margin: 24px 0;
}

body.page {
    background: var(--am-bg);
}

/* ---------- 17. RESPONSIVE ---------- */

/* Tablet */
@media (max-width: 1024px) {
    .am-nav { display: none; }
    .am-burger { display: flex; }

    .am-nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(7, 7, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 100;
        padding: 80px 24px 40px;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .am-nav.open a {
        font-size: 1.2rem;
        padding: 16px 24px;
    }

    .am-nav-drop {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: auto;
        background: transparent;
        border: none;
        backdrop-filter: none;
        padding: 0;
    }

    .am-header-cta { display: none; }

    .am-hero { min-height: auto; padding: 100px 24px 64px; }
    .am-hero h1 { font-size: 2.2rem; }
    .am-hero-stats { gap: 32px; }

    .am-feature-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .am-feature-row.reverse { direction: ltr; }

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

/* Tablet content */
@media (max-width: 900px) {
    .am-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .am-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .am-pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
    .am-contact-grid { grid-template-columns: 1fr; }
    .am-about-team { grid-template-columns: 1fr; }
    .am-posts-grid { grid-template-columns: repeat(2, 1fr); }

    .am-steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .am-step { padding: 0; }
    .am-step-line { display: none; }
}

/* Mobile */
@media (max-width: 600px) {
    .am-section { padding: 80px 0; }

    .am-grid-2,
    .am-grid-3,
    .am-grid-4 {
        grid-template-columns: 1fr;
    }

    .am-hero { padding: 80px 16px 48px; min-height: auto; }
    .am-hero h1 { font-size: 1.9rem; }
    .am-hero-sub { font-size: 1rem; }
    .am-hero-stats { flex-direction: column; gap: 24px; }

    .am-hero-btns {
        flex-direction: column;
        align-items: stretch;
    }

    .am-hero-btns .am-btn {
        justify-content: center;
    }

    .am-section-title { font-size: 1.6rem; }

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

    .am-footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .am-cta-box { padding: 48px 24px; }

    .am-posts-grid { grid-template-columns: 1fr; }

    .am-trust-section { padding: 40px 24px; }
}

/* ---------- 18. ANIMATIONS ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ---------- 19. FOCUS STATES ---------- */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--am-orange);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---------- 20. ELEMENTOR OVERRIDES ---------- */
.elementor-widget-html { width: 100% !important; }
.elementor-element { --widgets-spacing: 0px; }
.e-con { --padding-inline: 0px; --padding-block: 0px; }
.elementor-section { padding: 0; }
body.elementor-page .site-main { max-width: 100%; padding: 0; }

/* Force dark theme colors over Elementor defaults */
.elementor-widget-container h1,
.elementor-widget-container h2,
.elementor-widget-container h3,
.elementor-widget-container h4 {
    color: var(--am-white) !important;
}

.elementor-widget-container p,
.elementor-widget-container li {
    color: var(--am-text);
}

.elementor-widget-container a:not(.am-btn):not(.am-card):not(.am-svc-card):not(.am-card-link) {
    color: inherit;
}

/* Fix body background for all page types */
body {
    background: var(--am-bg) !important;
}

body .site-main {
    background: transparent;
}

/* Ensure page content area doesn't constrain width */
body.elementor-page .page-content,
body.page .page-content {
    max-width: 100%;
    padding: 0;
}

/* When Elementor header is NOT active, the theme header (dynamic-header) shows
   We style it for dark theme instead of hiding it */

/* ---------- 21. DYNAMIC HEADER OVERRIDE ---------- */
/* dynamic-header.php now outputs .am-header class directly,
   but keep fallback styles for .site-header if theme wraps it */
.site-header.dynamic-header {
    display: none; /* Hide old theme header wrapper if it still renders */
}

.site-header:not(.am-header) {
    display: none; /* Hide any non-am-header site headers */
}

.site-header.dynamic-header .header-inner {
    max-width: var(--am-max-w);
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header.dynamic-header .site-branding {
    flex-shrink: 0;
}

.site-header.dynamic-header .site-logo img {
    height: 36px;
    width: auto;
}

.site-header.dynamic-header .site-navigation ul {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header.dynamic-header .site-navigation ul li a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--am-text-2);
    border-radius: var(--am-radius);
    transition: var(--am-transition);
}

.site-header.dynamic-header .site-navigation ul li a:hover,
.site-header.dynamic-header .site-navigation ul li.current-menu-item a {
    color: var(--am-white);
    background: var(--am-bg-glass);
}

.site-header.dynamic-header .site-navigation ul li ul.sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: rgba(17, 17, 24, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius);
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 0;
    z-index: 10;
}

.site-header.dynamic-header .site-navigation ul li:hover > ul.sub-menu {
    display: flex;
}

.site-header.dynamic-header .site-navigation ul li ul.sub-menu li a {
    padding: 10px 14px;
    font-size: 0.88rem;
    border-radius: 8px;
    display: block;
}

.site-header.dynamic-header .site-navigation ul li ul.sub-menu li a:hover {
    color: var(--am-orange);
    background: var(--am-bg-card-hover);
}

/* Mobile toggle */
.site-header.dynamic-header .site-navigation-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.site-header.dynamic-header .site-navigation-toggle-icon {
    width: 22px;
    height: 2px;
    background: var(--am-white);
    position: relative;
    display: block;
    border-radius: 2px;
}

.site-header.dynamic-header .site-navigation-toggle-icon::before,
.site-header.dynamic-header .site-navigation-toggle-icon::after {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--am-white);
    position: absolute;
    left: 0;
    border-radius: 2px;
}

.site-header.dynamic-header .site-navigation-toggle-icon::before { top: -7px; }
.site-header.dynamic-header .site-navigation-toggle-icon::after { top: 7px; }

.site-header.dynamic-header .site-navigation-dropdown {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 7, 10, 0.98);
    padding: 24px;
    z-index: 100;
}

.site-header.dynamic-header .site-navigation-dropdown[aria-hidden="false"] {
    display: block;
}

.site-header.dynamic-header .site-navigation-dropdown ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    list-style: none;
    padding: 0;
}

.site-header.dynamic-header .site-navigation-dropdown ul li a {
    display: block;
    padding: 14px 16px;
    font-size: 1.1rem;
    color: var(--am-text-2);
    border-radius: var(--am-radius);
}

.site-header.dynamic-header .site-navigation-dropdown ul li a:hover {
    color: var(--am-orange);
    background: var(--am-bg-glass);
}

@media (max-width: 768px) {
    .site-header.dynamic-header .site-navigation { display: none; }
    .site-header.dynamic-header .site-navigation-toggle { display: block; }
}

@media (min-width: 769px) {
    .site-header.dynamic-header .site-navigation-toggle-holder { display: none; }
    .site-header.dynamic-header .site-navigation-dropdown { display: none !important; }
}

/* ---------- 22. BLOG ARCHIVE ---------- */
.blog-hero {
    padding: 140px 24px 60px;
    text-align: center;
    background: var(--am-bg-2);
}

.blog-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--am-white);
    margin-bottom: 12px;
}

.blog-hero p {
    color: var(--am-text-2);
    font-size: 1.05rem;
}

.blog-container {
    max-width: var(--am-max-w);
    margin: 0 auto;
    padding: 60px 24px 80px;
}

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

.post-card {
    background: var(--am-bg-glass);
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius-lg);
    overflow: hidden;
    transition: var(--am-transition);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-4px);
    border-color: var(--am-border-hover);
}

.post-card a { display: flex; flex-direction: column; height: 100%; }

.post-card .post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card .post-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card .post-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--am-orange);
    margin-bottom: 10px;
}

.post-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--am-white);
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-card .post-excerpt {
    font-size: 0.88rem;
    color: var(--am-text-3);
    line-height: 1.6;
    flex: 1;
}

.post-card .post-meta {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--am-border);
    font-size: 0.78rem;
    color: var(--am-text-3);
}

/* Pagination */
.am-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.am-pagination a,
.am-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--am-text-2);
    background: var(--am-bg-glass);
    border: 1px solid var(--am-border);
    transition: var(--am-transition);
}

.am-pagination a:hover {
    border-color: var(--am-orange);
    color: var(--am-orange);
}

.am-pagination span.current {
    background: var(--am-orange);
    color: var(--am-bg);
    border-color: var(--am-orange);
}

@media (max-width: 768px) {
    .posts-grid { grid-template-columns: 1fr; }
    .blog-hero { padding: 120px 16px 40px; }
    .blog-hero h1 { font-size: 1.8rem; }
}

/* ---------- 23. HEADER JS ---------- */
/* Scroll detection handled by inline script in header HTML */
