:root {
    --deep-navy: #060e1a;
    --navy: #0a1929;
    --gold: #c8944a;
    --gold-light: #e0b878;
    --white: #ffffff;
    --off-white: #f8f7f4;
    --gray: #94a3b8;
    --gradient-gold: linear-gradient(135deg, #c8944a 0%, #e0b878 50%, #c8944a 100%);
    --gradient-dark: linear-gradient(160deg, #060e1a 0%, #0a1929 50%, #0f1f3d 100%);
    --page-bg: #ffffff;
    --page-text: #1a1a1a;
    --muted-text: #64748b;
    --card-bg: #ffffff;
    --card-border: #e5e7eb;
    --surface-2: rgba(255,255,255,0.03);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    touch-action: manipulation;
}
html[data-theme="dark"] {
    --page-bg: var(--deep-navy);
    --page-text: #eef2ff;
    --muted-text: rgba(238,242,255,0.72);
    --card-bg: rgba(255,255,255,0.06);
    --card-border: rgba(255,255,255,0.12);
    --surface-2: rgba(255,255,255,0.06);
}
img,
svg,
video,
canvas {
    max-width: 100%;
}
img,
video {
    height: auto;
}
iframe {
    max-width: 100%;
}
html[data-palette="t1"] {
    --deep-navy: #060e1a;
    --navy: #0a1929;
    --gold: #c8944a;
    --gold-light: #e0b878;
    --gradient-gold: linear-gradient(135deg, #c8944a 0%, #e0b878 50%, #c8944a 100%);
    --gradient-dark: linear-gradient(160deg, #060e1a 0%, #0a1929 50%, #0f1f3d 100%);
}
html[data-palette="t2"] {
    --deep-navy: #041b14;
    --navy: #063023;
    --gold: #10b981;
    --gold-light: #34d399;
    --gradient-gold: linear-gradient(135deg, #10b981 0%, #34d399 50%, #10b981 100%);
    --gradient-dark: linear-gradient(160deg, #041b14 0%, #063023 50%, #0a3d2c 100%);
}
html[data-palette="t3"] {
    --deep-navy: #06162a;
    --navy: #0b2a4a;
    --gold: #3b82f6;
    --gold-light: #60a5fa;
    --gradient-gold: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #3b82f6 100%);
    --gradient-dark: linear-gradient(160deg, #06162a 0%, #0b2a4a 50%, #123b6b 100%);
}
html[data-palette="t4"] {
    --deep-navy: #170a2a;
    --navy: #2b0f4d;
    --gold: #a855f7;
    --gold-light: #c084fc;
    --gradient-gold: linear-gradient(135deg, #a855f7 0%, #c084fc 50%, #a855f7 100%);
    --gradient-dark: linear-gradient(160deg, #170a2a 0%, #2b0f4d 50%, #3a1972 100%);
}
html[data-palette="t5"] {
    --deep-navy: #2a0a0a;
    --navy: #3d1010;
    --gold: #ef4444;
    --gold-light: #fb7185;
    --gradient-gold: linear-gradient(135deg, #ef4444 0%, #fb7185 50%, #ef4444 100%);
    --gradient-dark: linear-gradient(160deg, #2a0a0a 0%, #3d1010 50%, #5a1a1a 100%);
}
html[data-palette="t6"] {
    --deep-navy: #041c1a;
    --navy: #063834;
    --gold: #14b8a6;
    --gold-light: #2dd4bf;
    --gradient-gold: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 50%, #14b8a6 100%);
    --gradient-dark: linear-gradient(160deg, #041c1a 0%, #063834 50%, #0b5b52 100%);
}
html[data-palette="t7"] {
    --deep-navy: #221406;
    --navy: #3a230a;
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #f59e0b 100%);
    --gradient-dark: linear-gradient(160deg, #221406 0%, #3a230a 50%, #5a3a14 100%);
}
html[data-palette="t8"] {
    --deep-navy: #041a22;
    --navy: #063548;
    --gold: #06b6d4;
    --gold-light: #22d3ee;
    --gradient-gold: linear-gradient(135deg, #06b6d4 0%, #22d3ee 50%, #06b6d4 100%);
    --gradient-dark: linear-gradient(160deg, #041a22 0%, #063548 50%, #0b5270 100%);
}
html[data-palette="t9"] {
    --deep-navy: #220b14;
    --navy: #3a1124;
    --gold: #fb7185;
    --gold-light: #fda4af;
    --gradient-gold: linear-gradient(135deg, #fb7185 0%, #fda4af 50%, #fb7185 100%);
    --gradient-dark: linear-gradient(160deg, #220b14 0%, #3a1124 50%, #5b1f3a 100%);
}
html[data-palette="t10"] {
    --deep-navy: #151f06;
    --navy: #26350b;
    --gold: #84cc16;
    --gold-light: #a3e635;
    --gradient-gold: linear-gradient(135deg, #84cc16 0%, #a3e635 50%, #84cc16 100%);
    --gradient-dark: linear-gradient(160deg, #151f06 0%, #26350b 50%, #3a5415 100%);
}
html[data-palette="t11"] {
    --deep-navy: #0b1030;
    --navy: #121a4a;
    --gold: #6366f1;
    --gold-light: #818cf8;
    --gradient-gold: linear-gradient(135deg, #6366f1 0%, #818cf8 50%, #6366f1 100%);
    --gradient-dark: linear-gradient(160deg, #0b1030 0%, #121a4a 50%, #1d2a7a 100%);
}
html[data-palette="t12"] {
    --deep-navy: #061a2a;
    --navy: #0b314b;
    --gold: #0ea5e9;
    --gold-light: #38bdf8;
    --gradient-gold: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 50%, #0ea5e9 100%);
    --gradient-dark: linear-gradient(160deg, #061a2a 0%, #0b314b 50%, #124b72 100%);
}
html[data-palette="t13"] {
    --deep-navy: #140a2a;
    --navy: #23104a;
    --gold: #7c3aed;
    --gold-light: #a78bfa;
    --gradient-gold: linear-gradient(135deg, #7c3aed 0%, #a78bfa 50%, #7c3aed 100%);
    --gradient-dark: linear-gradient(160deg, #140a2a 0%, #23104a 50%, #341b72 100%);
}
html[data-palette="t14"] {
    --deep-navy: #261007;
    --navy: #3f1a0b;
    --gold: #f97316;
    --gold-light: #fb923c;
    --gradient-gold: linear-gradient(135deg, #f97316 0%, #fb923c 50%, #f97316 100%);
    --gradient-dark: linear-gradient(160deg, #261007 0%, #3f1a0b 50%, #5f2a16 100%);
}
html[data-palette="t15"] {
    --deep-navy: #2a0a1d;
    --navy: #3d1030;
    --gold: #ec4899;
    --gold-light: #f472b6;
    --gradient-gold: linear-gradient(135deg, #ec4899 0%, #f472b6 50%, #ec4899 100%);
    --gradient-dark: linear-gradient(160deg, #2a0a1d 0%, #3d1030 50%, #5a1a4a 100%);
}
html[data-palette="t16"] {
    --deep-navy: #041b18;
    --navy: #063733;
    --gold: #2dd4bf;
    --gold-light: #5eead4;
    --gradient-gold: linear-gradient(135deg, #2dd4bf 0%, #5eead4 50%, #2dd4bf 100%);
    --gradient-dark: linear-gradient(160deg, #041b18 0%, #063733 50%, #0a5a52 100%);
}
html[data-palette="t17"] {
    --deep-navy: #0b1220;
    --navy: #0f1f3a;
    --gold: #94a3b8;
    --gold-light: #cbd5e1;
    --gradient-gold: linear-gradient(135deg, #94a3b8 0%, #cbd5e1 50%, #94a3b8 100%);
    --gradient-dark: linear-gradient(160deg, #0b1220 0%, #0f1f3a 50%, #162a4a 100%);
}
html[data-palette="t18"] {
    --deep-navy: #1b140b;
    --navy: #2a1f12;
    --gold: #d4a373;
    --gold-light: #e8c39e;
    --gradient-gold: linear-gradient(135deg, #d4a373 0%, #e8c39e 50%, #d4a373 100%);
    --gradient-dark: linear-gradient(160deg, #1b140b 0%, #2a1f12 50%, #3a2b18 100%);
}
html[data-palette="t19"] {
    --deep-navy: #1a0830;
    --navy: #2a0f4a;
    --gold: #9333ea;
    --gold-light: #c084fc;
    --gradient-gold: linear-gradient(135deg, #9333ea 0%, #c084fc 50%, #9333ea 100%);
    --gradient-dark: linear-gradient(160deg, #1a0830 0%, #2a0f4a 50%, #3b1972 100%);
}
html[data-palette="t20"] {
    --deep-navy: #071b10;
    --navy: #0a3020;
    --gold: #22c55e;
    --gold-light: #4ade80;
    --gradient-gold: linear-gradient(135deg, #22c55e 0%, #4ade80 50%, #22c55e 100%);
    --gradient-dark: linear-gradient(160deg, #071b10 0%, #0a3020 50%, #0f4a2f 100%);
}
html[data-theme="dark"] .service-card h3,
html[data-theme="dark"] .feature-card h3,
html[data-theme="dark"] .project-title,
html[data-theme="dark"] .modal-content h3,
html[data-theme="dark"] .modal-section h4,
html[data-theme="dark"] .modal-list li,
html[data-theme="dark"] .kpi .kpi-value,
html[data-theme="dark"] .modal-quote .q,
html[data-theme="dark"] .about-card h3 {
    color: var(--page-text);
}
html[data-theme="dark"] .project-tag {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.18);
    color: var(--page-text);
}
html:not(.aos-enabled) [data-aos] {
    opacity: 1 !important;
    transform: none !important;
}
body {
    font-family: "Cairo", system-ui, -apple-system, "Segoe UI", "Noto Sans Arabic", Arial, sans-serif;
    background: var(--page-bg);
    color: var(--page-text);
    line-height: 1.8;
    overflow-x: hidden;
    cursor: auto;
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* ========== Custom Cursor ========== */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
    display: none;
}
.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.05s ease;
    display: none;
}
body.use-custom-cursor .cursor,
body.use-custom-cursor .cursor-dot {
    display: block;
}
.cursor.hover {
    background: rgba(200,148,74,0.2);
    border-color: transparent;
}

/* ========== Particles Canvas ========== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: none;
}
body.show-particles #particles-canvas {
    display: block;
}

/* ========== Preloader ========== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--deep-navy);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    display: none;
}
.preloader-ring {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(200,148,74,0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== Header ========== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s ease;
}
.header.scrolled {
    background: rgba(6,14,26,0.9);
    backdrop-filter: blur(20px);
    padding: 0.6rem 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(6,14,26,0.25);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.icon-btn:hover {
    transform: translateY(-2px);
    background: rgba(6,14,26,0.4);
    border-color: rgba(255,255,255,0.35);
}
.icon-btn:focus-visible {
    outline: 3px solid rgba(200,148,74,0.55);
    outline-offset: 3px;
}
.lang-chip {
    width: auto;
    padding: 0 0.85rem;
    gap: 0.55rem;
}
.lang-chip span {
    font-weight: 900;
    font-size: 0.9rem;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}
.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-navy);
    font-weight: 900;
    font-size: 1.1rem;
    animation: floatIcon 3s infinite ease-in-out;
}
@keyframes floatIcon {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}
.logo-text .brand-gold {
    color: var(--gold);
}
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s ease;
}
.nav-link:hover {
    color: #fff;
}
.nav-link:hover::after {
    width: 100%;
}
.btn-whatsapp {
    background: var(--gradient-gold);
    color: var(--deep-navy);
    padding: 0.65rem 1.6rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 25px rgba(200,148,74,0.3);
}
.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(200,148,74,0.5);
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ========== Hero ========== */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(200,148,74,0.1);
    border: 1px solid rgba(200,148,74,0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    color: var(--gold-light);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
}
.hero-badge i { animation: bounce 2s infinite; }
@keyframes bounce {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-title .gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.typing-wrapper {
    color: var(--gold-light);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}
.typing-text {
    border-left: 3px solid var(--gold);
    padding-left: 10px;
    animation: blink 0.8s infinite;
}
@keyframes blink {
    50% { border-color: transparent; }
}
.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.6s both;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}
.btn-primary {
    background: var(--gradient-gold);
    color: var(--deep-navy);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(200,148,74,0.35);
    border: none;
}
.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(200,148,74,0.5);
}
.btn-outline {
    background: transparent;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}
.btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.05);
    transform: translateY(-4px);
}

/* ========== Service Pages ========== */
.service-hero {
    padding: 8rem 0 5rem;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}
.service-hero-inner {
    max-width: 820px;
}
.service-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(200,148,74,0.1);
    border: 1px solid rgba(200,148,74,0.3);
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    color: var(--gold-light);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.6rem;
}
.service-hero-title {
    color: #fff;
    font-weight: 900;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    line-height: 1.2;
    margin-bottom: 1.1rem;
}
.service-hero-desc {
    color: rgba(255,255,255,0.68);
    font-weight: 600;
    font-size: 1.05rem;
    max-width: 700px;
    margin-bottom: 2rem;
}
.service-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.service-hero-note {
    margin-top: 1rem;
    color: rgba(224,184,120,0.9);
    font-weight: 800;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}
.feature-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    padding: 2rem 1.75rem;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.08);
    border-color: rgba(200,148,74,0.55);
}
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(200,148,74,0.08);
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.feature-card h3 {
    color: var(--deep-navy);
    font-weight: 900;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.feature-card p {
    color: var(--gray);
    font-weight: 700;
    font-size: 0.95rem;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== Sections General ========== */
section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-label {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--page-text);
}
.section-subtitle {
    margin-top: 0.85rem;
    color: var(--muted-text);
    font-weight: 750;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.services-hint {
    margin-top: 0.6rem;
    color: var(--gold);
    font-weight: 800;
    font-size: 0.95rem;
}
.section-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-gold);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ========== Counter Section ========== */
.counter-section {
    background: var(--gradient-dark);
    padding: 4rem 0;
    text-align: center;
}
.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}
.counter-item i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    animation: floatIcon 4s infinite ease-in-out;
}
.counter-number {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
}
.counter-label {
    color: var(--gray);
    font-size: 1rem;
}

/* ========== Services ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.service-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--card-border);
    cursor: pointer;
}
.service-card:focus-visible {
    outline: 3px solid rgba(200,148,74,0.55);
    outline-offset: 3px;
}
.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-gold);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.service-card:hover::before {
    opacity: 1;
}
.service-card:hover {
    transform: translateY(-10px);
    border-color: transparent;
}
.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(200,148,74,0.08);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--gold);
    transition: all 0.4s;
}
.service-card:hover .service-icon {
    background: var(--gradient-gold);
    color: #fff;
    animation: floatIcon 2s infinite ease-in-out;
}
.service-card h3 {
    font-size: 1.2rem;
    color: var(--deep-navy);
    margin-bottom: 0.8rem;
}
.service-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ========== Portfolio ========== */
.portfolio-controls {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}
.portfolio-filter {
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    border-radius: 999px;
    padding: 0.65rem 1.1rem;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.portfolio-filter:hover {
    transform: translateY(-2px);
    border-color: rgba(200,148,74,0.55);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}
.portfolio-filter.active {
    background: var(--gradient-gold);
    border-color: transparent;
    color: var(--deep-navy);
}
.portfolio-filter:focus-visible {
    outline: 3px solid rgba(200,148,74,0.55);
    outline-offset: 3px;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}
.project-card {
    background: var(--card-bg);
    border-radius: 18px;
    border: 1px solid var(--card-border);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    cursor: pointer;
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.08);
    border-color: rgba(200,148,74,0.55);
}
.project-card:focus-visible {
    outline: 3px solid rgba(200,148,74,0.55);
    outline-offset: 3px;
}
.project-thumb {
    aspect-ratio: 16 / 10;
    width: 100%;
    display: block;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(6,14,26,0.95), rgba(15,31,61,0.9));
}
.project-body {
    padding: 1.1rem 1.1rem 1.25rem;
    text-align: right;
}
.project-title {
    font-weight: 900;
    color: var(--deep-navy);
    margin-bottom: 0.35rem;
}
.project-meta {
    color: var(--gray);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.project-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}
.project-tag {
    border: 1px solid #e5e7eb;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    color: var(--deep-navy);
    font-weight: 800;
    font-size: 0.8rem;
    background: #fff;
}

/* ========== Modal ========== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.modal.open {
    display: block;
}
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6,14,26,0.75);
    backdrop-filter: blur(6px);
}
.modal-dialog {
    position: relative;
    z-index: 1;
    width: min(940px, calc(100% - 2rem));
    margin: 5rem auto 2rem;
    background: color-mix(in srgb, var(--card-bg) 85%, transparent);
    backdrop-filter: blur(18px);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 35px 70px rgba(0,0,0,0.35);
    border: 1px solid var(--card-border);
}
.modal-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    border: 0;
    background: rgba(6,14,26,0.06);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.modal-close:hover {
    background: rgba(6,14,26,0.12);
}
.modal-body {
    padding: 1.1rem;
    max-height: calc(100vh - 8rem);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
.modal-hero {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}
.modal-hero img {
    width: 100%;
    height: auto;
    display: block;
}
.modal-content {
    padding: 1.1rem 0.25rem 0;
    text-align: right;
}
.modal-content h3 {
    color: var(--deep-navy);
    font-weight: 900;
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}
.modal-content p {
    color: var(--gray);
    font-weight: 700;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.1rem;
    margin-top: 1rem;
}
.modal-section {
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 1rem;
}
.modal-section h4 {
    color: var(--deep-navy);
    font-weight: 900;
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}
.modal-section p {
    color: var(--gray);
    font-weight: 700;
    font-size: 0.95rem;
}
.modal-list {
    list-style: none;
    display: grid;
    gap: 0.5rem;
    margin-top: 0.75rem;
}
.modal-list li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    color: var(--deep-navy);
    font-weight: 800;
}
.modal-list li i {
    color: #10b981;
    margin-top: 0.25rem;
}
.modal-kpis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.kpi {
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 0.9rem;
    background: var(--card-bg);
}
.kpi .kpi-top {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    color: var(--gray);
    font-weight: 800;
    font-size: 0.9rem;
}
.kpi .kpi-top i {
    color: var(--gold);
}
.kpi .kpi-value {
    color: var(--deep-navy);
    font-weight: 900;
    font-size: 1.15rem;
    margin-top: 0.25rem;
}
.modal-quote {
    margin-top: 0.85rem;
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 1rem;
    background: linear-gradient(180deg, #fffef9 0%, #fff 100%);
}
html[data-theme="dark"] .modal-quote {
    background: rgba(255,255,255,0.06);
}
.modal-quote .q {
    color: var(--deep-navy);
    font-weight: 800;
    line-height: 1.8;
}
.modal-quote .who {
    margin-top: 0.55rem;
    color: var(--gray);
    font-weight: 800;
    font-size: 0.9rem;
}
.modal-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.modal-actions .btn-primary,
.modal-actions .btn-outline {
    justify-content: center;
}
.modal-actions .btn-primary {
    flex: 1 1 220px;
}
.modal-actions .btn-outline {
    flex: 1 1 180px;
}

@media (max-width: 768px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }
    .modal-dialog {
        margin: 4.2rem auto 1.5rem;
    }
    .modal-body {
        max-height: calc(100vh - 6.2rem);
    }
}

/* ========== Pricing ========== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    border: 2px solid var(--card-border);
    transition: all 0.4s;
}
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 50px rgba(0,0,0,0.1);
}
.pricing-card.featured {
    border-color: var(--gold);
    background: linear-gradient(180deg, #fffef9 0%, #fff 100%);
    position: relative;
}
html[data-theme="dark"] .pricing-card.featured {
    background: rgba(255,255,255,0.07);
    border-color: rgba(224,184,120,0.9);
}
.pricing-badge {
    background: var(--gradient-gold);
    color: #fff;
    padding: 0.4rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
}
.pricing-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    animation: floatIcon 3s infinite ease-in-out;
}
.pricing-price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--page-text);
    margin: 1rem 0;
}
.pricing-from {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--card-border) 70%, rgba(200,148,74,0.25));
    background: rgba(200,148,74,0.08);
    color: var(--gold);
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 0.4px;
}
.pricing-card.featured .pricing-from {
    border-color: rgba(224,184,120,0.35);
}
.pricing-price span {
    font-size: 1rem;
    color: var(--muted-text);
    font-weight: 500;
}
.pricing-features {
    list-style: none;
    text-align: right;
    margin: 1.5rem 0;
}
.pricing-features li {
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pricing-features li i {
    color: #10b981;
}
.btn-price {
    display: block;
    width: 100%;
    padding: 0.8rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid color-mix(in srgb, var(--page-text) 55%, transparent);
    color: var(--page-text);
    background: transparent;
}
.btn-price:hover {
    background: var(--page-text);
    color: var(--page-bg);
}
.featured .btn-price {
    background: var(--gradient-gold);
    color: #fff;
    border: none;
    box-shadow: 0 8px 25px rgba(200,148,74,0.3);
}
.featured .btn-price:hover {
    box-shadow: 0 15px 35px rgba(200,148,74,0.5);
    transform: translateY(-3px);
}

/* ========== About ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.about-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    border-right: 5px solid var(--gold);
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}
.about-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--deep-navy);
    margin-bottom: 1rem;
}
.about-card h3 i {
    color: var(--gold);
    animation: floatIcon 3s infinite ease-in-out;
}
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.tag {
    background: var(--deep-navy);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    transition: all 0.3s;
}
.tag:hover {
    background: var(--gold);
    color: var(--deep-navy);
}

/* ========== CTA ========== */
.cta-section {
    background: var(--gradient-dark);
    text-align: center;
}
.cta-section .section-title {
    color: #fff;
}
.cta-section p {
    color: var(--gray);
    max-width: 600px;
    margin: 1rem auto 2rem;
}
.cta-section .hero-buttons {
    justify-content: center;
}

/* ========== Footer ========== */
.footer {
    background: #030a14;
    color: var(--gray);
    text-align: center;
    padding: 3rem 0;
}
.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin: 0 0.5rem;
    text-decoration: none;
    transition: all 0.3s;
}
.footer-social a:hover {
    background: var(--gradient-gold);
    color: var(--deep-navy);
    animation: floatIcon 2s infinite ease-in-out;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}
.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 22px;
    padding: 1.75rem;
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}
.testimonial-stars {
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 0.9rem;
}
.testimonial-text {
    color: var(--page-text);
    font-weight: 800;
    line-height: 1.9;
}
.testimonial-who {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.2rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--card-border);
}
.testimonial-name {
    font-weight: 900;
    color: var(--page-text);
}
.testimonial-meta {
    color: var(--muted-text);
    font-weight: 800;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.1rem;
}
.process-step {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 22px;
    padding: 1.5rem 1.4rem;
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}
.process-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.process-num {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: rgba(200,148,74,0.14);
    border: 1px solid rgba(200,148,74,0.22);
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}
.process-time {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--card-border) 70%, rgba(200,148,74,0.25));
    background: rgba(255,255,255,0.04);
    color: var(--muted-text);
    font-weight: 900;
    font-size: 0.85rem;
}
.process-title {
    font-weight: 900;
    color: var(--page-text);
    margin-bottom: 0.6rem;
    font-size: 1.15rem;
}
.process-desc {
    color: var(--muted-text);
    font-weight: 750;
    line-height: 1.85;
}

.faq-list {
    display: grid;
    gap: 0.85rem;
    max-width: 940px;
    margin: 0 auto;
}
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 0.15rem 1rem;
}
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1rem 0.25rem;
    font-weight: 900;
    color: var(--page-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: '+';
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(200,148,74,0.1);
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex: 0 0 auto;
}
.faq-item[open] summary::after {
    content: '—';
}
.faq-answer {
    padding: 0 0.25rem 1rem;
    color: var(--muted-text);
    font-weight: 750;
    line-height: 1.85;
}

.ai-chat-launcher {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 12000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(224,184,120,0.55);
    background: var(--gradient-gold);
    color: var(--deep-navy);
    cursor: pointer;
    box-shadow: 0 18px 44px rgba(0,0,0,0.24);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.ai-chat-launcher i {
    font-size: 1.25rem;
}
.ai-chat-launcher::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, rgba(224,184,120,0.45), rgba(200,148,74,0.12) 45%, transparent 60%);
    opacity: 0.65;
    filter: blur(2px);
    z-index: -1;
}
.ai-chat-launcher:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 70px rgba(0,0,0,0.32);
}
.ai-chat-launcher:focus-visible {
    outline: 3px solid rgba(200,148,74,0.55);
    outline-offset: 4px;
}

.ai-chat-panel {
    position: fixed;
    right: 22px;
    bottom: 90px;
    z-index: 12000;
    width: min(380px, calc(100% - 44px));
    height: min(70dvh, 640px);
    max-height: calc(100dvh - 140px);
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,247,244,0.92) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid color-mix(in srgb, var(--card-border) 70%, rgba(200,148,74,0.25));
    border-radius: 22px;
    box-shadow: 0 35px 70px rgba(0,0,0,0.35);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr auto;
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}
.ai-chat-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 8%, rgba(200,148,74,0.18), transparent 46%);
    pointer-events: none;
}
.ai-chat-panel::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: var(--gradient-gold);
    opacity: 0.95;
    pointer-events: none;
}
.ai-chat-panel > * {
    position: relative;
    z-index: 1;
}
.ai-chat-panel.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
html[data-theme="dark"] .ai-chat-panel {
    background: linear-gradient(180deg, rgba(6,14,26,0.92) 0%, rgba(10,25,41,0.88) 100%);
    border-color: rgba(224,184,120,0.22);
}
.ai-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--card-border);
}
.ai-chat-title {
    font-weight: 900;
    color: var(--page-text);
}
.ai-chat-close {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.08);
    color: var(--page-text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ai-chat-close:hover {
    transform: translateY(-1px);
    border-color: rgba(200,148,74,0.32);
}
.ai-chat-body {
    padding: 0.9rem 1rem;
    overflow: hidden;
}
.ai-chat-messages {
    height: 100%;
    overflow: auto;
    display: grid;
    gap: 0.65rem;
    padding-right: 0.25rem;
}
.ai-chat-msg {
    display: flex;
}
.ai-chat-msg.is-user {
    justify-content: flex-start;
}
.ai-chat-msg.is-ai {
    justify-content: flex-end;
}
.ai-chat-bubble {
    max-width: 88%;
    padding: 0.7rem 0.85rem;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--card-border) 80%, rgba(200,148,74,0.2));
    background: rgba(255,255,255,0.78);
    color: var(--page-text);
    font-weight: 750;
    line-height: 1.6;
    white-space: pre-wrap;
}
html[data-theme="dark"] .ai-chat-bubble {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
}
.ai-chat-msg.is-user .ai-chat-bubble {
    background: linear-gradient(135deg, rgba(200,148,74,0.26), rgba(224,184,120,0.22));
    border-color: rgba(224,184,120,0.35);
}
.ai-chat-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
    padding: 0.85rem 1rem 1rem;
    border-top: 1px solid var(--card-border);
}
.ai-chat-input {
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    border-radius: 16px;
    padding: 0.85rem 0.9rem;
    font-family: inherit;
    font-weight: 800;
    color: var(--page-text);
    font-size: 16px;
}
.ai-chat-input::placeholder {
    color: var(--muted-text);
}
.ai-chat-input:focus-visible {
    outline: 3px solid rgba(200,148,74,0.55);
    outline-offset: 3px;
}
.ai-chat-send {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 0;
    background: var(--gradient-gold);
    color: var(--deep-navy);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ai-chat-send:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(200,148,74,0.28);
}

@media (max-width: 520px) {
    .ai-chat-panel {
        right: 12px;
        left: 12px;
        bottom: 86px;
        width: auto;
        height: min(72dvh, 560px);
        max-height: calc(100dvh - 120px);
    }
    html[dir="ltr"] .ai-chat-panel {
        left: 12px;
        right: 12px;
    }
}
html[dir="ltr"] .ai-chat-launcher,
html[dir="ltr"] .ai-chat-panel {
    left: 22px;
    right: auto;
}
html[dir="ltr"] .ai-chat-msg.is-user {
    justify-content: flex-end;
}
html[dir="ltr"] .ai-chat-msg.is-ai {
    justify-content: flex-start;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    body {
        cursor: auto;
    }
    .cursor, .cursor-dot {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--deep-navy);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right 0.4s ease;
    }
    .nav.active {
        right: 0;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
}

html[dir="ltr"] .nav {
    left: -100%;
    right: auto;
}
html[dir="ltr"] .nav.active {
    left: 0;
}
html[dir="ltr"] .about-card {
    border-right: 0;
    border-left: 5px solid var(--gold);
}
html[dir="ltr"] .pricing-features {
    text-align: left;
}
html[dir="ltr"] .project-body,
html[dir="ltr"] .modal-content,
html[dir="ltr"] .contact-meta,
html[dir="ltr"] .field label {
    text-align: left;
}

@media (pointer: coarse) {
    body {
        cursor: auto;
    }
    .cursor, .cursor-dot {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .nav {
        width: 85%;
    }
    section {
        padding: 4.5rem 0;
    }
    .hero-buttons a {
        width: 100%;
        justify-content: center;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}
.contact-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--card-border);
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}
.contact-card h3 {
    color: var(--deep-navy);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.contact-form {
    display: grid;
    gap: 1rem;
}
.field {
    display: grid;
    gap: 0.45rem;
}
.field label {
    font-weight: 700;
    color: var(--deep-navy);
    font-size: 0.95rem;
}
.field input,
.field textarea,
.field select {
    width: 100%;
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--card-bg);
    color: var(--page-text);
}
.field textarea {
    min-height: 140px;
    resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: rgba(200,148,74,0.7);
    box-shadow: 0 0 0 4px rgba(200,148,74,0.15);
}
.contact-meta {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.2rem;
}
.meta-item {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    color: var(--gray);
}
.meta-item i {
    color: var(--gold);
    margin-top: 0.25rem;
}
.meta-item a {
    color: inherit;
    text-decoration: none;
}
.meta-item a:hover {
    color: var(--deep-navy);
}

.contact-extra {
    margin-top: 1.4rem;
    display: grid;
    gap: 1rem;
}
.contact-subtitle {
    font-weight: 900;
    color: var(--page-text);
    font-size: 1rem;
}
.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}
.social-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    border: 1px solid var(--card-border);
    background: rgba(200,148,74,0.06);
    color: var(--page-text);
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.social-pill i {
    color: var(--gold);
}
.social-pill:hover {
    transform: translateY(-1px);
    background: rgba(200,148,74,0.10);
    border-color: rgba(200,148,74,0.35);
}
.contact-map {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
}
.contact-map iframe {
    width: 100%;
    height: 260px;
    border: 0;
    display: block;
}
.verify-box {
    margin-top: 0.2rem;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    background: rgba(15,23,42,0.03);
}
html[data-theme="dark"] .verify-box {
    background: rgba(255,255,255,0.03);
}
.verify-list {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.65rem;
}
.verify-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted-text);
    font-weight: 700;
}
.verify-row span:last-child {
    color: var(--page-text);
    font-weight: 800;
    text-align: end;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .social-grid {
        grid-template-columns: 1fr;
    }
}
