/* ==========================================================================
   Enterprise Web Cloud v2 — Brand-Matched Responsive Design System
   Brand Theme from Official Logo: Deep Navy (#0E2B5C) + Vibrant Orange (#F37136)
   ========================================================================== */
:root {
  --navy-950: #051024;
  --navy-900: #081A3A;
  --navy-800: #0E2B5C;
  --navy-700: #183E7D;
  --orange-600: #D9581E;
  --orange-500: #F37136;
  --orange-100: #FFEDD5;
  --orange-50: #FFF5F0;
  --blue-600: #1D63ED;
  --blue-50: #EFF6FF;
  --cyan-400: #38BDF8;
  --emerald-500: #10B981;
  --slate-900: #0F172A;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --white: #FFFFFF;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(14, 43, 92, 0.06), 0 1px 2px rgba(14, 43, 92, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(14, 43, 92, 0.09), 0 8px 10px -6px rgba(14, 43, 92, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(14, 43, 92, 0.18);
  --max-w: 1220px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--slate-900);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-800); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-500); }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* Top Utility Bar */
.top-bar {
  background: var(--navy-950);
  color: #CBD5E1;
  font-size: 0.84rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.top-bar a { color: #F1F5F9; font-weight: 500; }
.top-bar a:hover { color: var(--orange-500); }
.top-bar-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 18px; }
.brand-logo { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo img { height: 44px; width: auto; object-fit: contain; }

.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 13px; font-size: 0.94rem; font-weight: 600;
  color: var(--navy-800); border-radius: var(--radius-sm);
  cursor: pointer; background: none; border: none; font-family: inherit;
}
.nav-link:hover, .nav-link.active { color: var(--orange-600); background: var(--orange-50); }

.dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px;
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all var(--transition); z-index: 120;
}
.nav-item:hover .dropdown-menu, .nav-item:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-link {
  display: block; padding: 9px 12px; border-radius: var(--radius-sm);
  color: var(--slate-700); font-size: 0.9rem; font-weight: 500;
}
.dropdown-link:hover { background: var(--orange-50); color: var(--orange-600); }
.dropdown-badge {
  display: inline-block; margin-left: 6px; padding: 2px 7px;
  font-size: 0.7rem; font-weight: 700; background: var(--orange-50);
  color: var(--orange-600); border-radius: 99px;
}

.nav-actions { display: flex; align-items: center; gap: 10px; }
.mobile-toggle {
  display: none; background: var(--slate-100); border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm); padding: 8px 12px; font-size: 1.25rem;
  color: var(--navy-800); cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; font-size: 0.95rem; font-weight: 600;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; transition: all var(--transition); text-align: center; font-family: inherit;
}
.btn-primary {
  background: var(--orange-500); color: var(--white);
  box-shadow: 0 4px 14px rgba(243, 113, 54, 0.32);
}
.btn-primary:hover {
  background: var(--orange-600); color: var(--white);
  transform: translateY(-1px); box-shadow: 0 6px 18px rgba(243, 113, 54, 0.42);
}
.btn-navy { background: var(--navy-800); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy-800); border-color: var(--slate-200); }
.btn-outline:hover { border-color: var(--orange-500); color: var(--orange-600); background: var(--orange-50); }
.btn-outline-light { background: rgba(255, 255, 255, 0.08); color: var(--white); border-color: rgba(255, 255, 255, 0.28); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.16); color: var(--white); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }

/* Hero */
.hero {
  background: radial-gradient(circle at top right, #183E7D 0%, var(--navy-800) 48%, var(--navy-950) 100%);
  color: var(--white);
  padding: 80px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 99px; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  background: rgba(243, 113, 54, 0.16); color: #FDBA74;
  border: 1px solid rgba(243, 113, 54, 0.38); margin-bottom: 18px;
}
.eyebrow-light { background: var(--orange-50); color: var(--orange-600); border-color: #FED7AA; }
.hero h1 {
  font-size: clamp(2.1rem, 3.9vw, 3.25rem); line-height: 1.13;
  letter-spacing: -0.03em; margin: 0 0 18px; font-weight: 800;
}
.hero-lead { font-size: 1.1rem; color: #CBD5E1; margin: 0 0 30px; max-width: 600px; }
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.stat-value { font-size: 1.55rem; font-weight: 800; color: var(--white); line-height: 1.2; }
.stat-label { font-size: 0.84rem; color: #94A3B8; margin-top: 4px; }
.hero-visual img {
  border-radius: var(--radius-lg); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Trust Strip */
.trust-strip { background: var(--slate-50); border-bottom: 1px solid var(--slate-200); padding: 20px 0; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 0.9rem; color: var(--slate-600); }
.trust-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-pill {
  background: var(--white); border: 1px solid var(--slate-200);
  padding: 6px 14px; border-radius: 99px; font-weight: 600; font-size: 0.84rem; color: var(--navy-800);
}
a.trust-pill:hover { border-color: var(--orange-500); color: var(--orange-600); background: var(--orange-50); }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--slate-50); }
.section-dark { background: var(--navy-900); color: var(--white); }
.section-header { max-width: 740px; margin-bottom: 44px; }
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.2;
  letter-spacing: -0.025em; margin: 0 0 12px; font-weight: 800; color: var(--navy-800);
}
.section-dark .section-header h2 { color: var(--white); }
.section-header p { font-size: 1.04rem; color: var(--slate-600); margin: 0; }
.section-dark .section-header p { color: #CBD5E1; }

/* Grids & Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #FDBA74; }
.card-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--orange-50); color: var(--orange-600);
  font-weight: 800; font-size: 0.9rem; margin-bottom: 18px;
}
.card h3 { font-size: 1.18rem; margin: 0 0 10px; color: var(--navy-800); font-weight: 700; }
.card p { color: var(--slate-600); font-size: 0.95rem; margin: 0 0 18px; flex-grow: 1; }
.card-link { font-weight: 600; font-size: 0.92rem; color: var(--orange-600); display: inline-flex; align-items: center; gap: 6px; }
.card-link:hover { color: var(--navy-800); }

/* City Cards */
.city-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); padding: 26px; transition: all var(--transition); }
.city-card.featured {
  border-color: var(--orange-500);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF9F5 100%);
  box-shadow: var(--shadow-md);
}
.city-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.city-badge {
  display: inline-block; font-size: 0.74rem; font-weight: 700; padding: 4px 10px;
  border-radius: 99px; background: var(--orange-50); color: var(--orange-600); margin-bottom: 12px;
}

/* Blog & Article Layout */
.blog-controls {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; margin-bottom: 32px;
}
.blog-search {
  min-width: 260px; flex: 0 1 340px; padding: 11px 16px;
  border: 1px solid #CBD5E1; border-radius: 99px; font-size: 0.94rem; font-family: inherit;
}
.blog-search:focus { outline: none; border-color: var(--orange-500); box-shadow: 0 0 0 3px rgba(243, 113, 54, 0.16); }

.blog-card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #FDBA74; }
.blog-meta { font-size: 0.82rem; color: var(--slate-500); margin-bottom: 12px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.blog-card h2, .blog-card h3 { font-size: 1.2rem; line-height: 1.35; margin: 0 0 10px; color: var(--navy-800); }
.blog-card p { font-size: 0.94rem; color: var(--slate-600); margin: 0 0 18px; flex-grow: 1; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 44px; align-items: start; }
.article-content { font-size: 1.04rem; color: var(--slate-700); line-height: 1.8; }
.article-content h2 { font-size: 1.65rem; color: var(--navy-800); margin: 36px 0 14px; line-height: 1.28; }
.article-content h3 { font-size: 1.25rem; color: var(--navy-800); margin: 24px 0 10px; }
.article-content p { margin: 0 0 18px; }
.article-content ul { padding-left: 22px; margin: 0 0 22px; }
.article-content li { margin-bottom: 10px; }

.takeaway-box {
  background: var(--orange-50); border-left: 4px solid var(--orange-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 22px 24px; margin: 28px 0;
}
.takeaway-box h3 { margin-top: 0; color: var(--navy-800); font-size: 1.1rem; }

.article-sidebar { position: sticky; top: 100px; display: grid; gap: 22px; }

/* Portfolio Cards */
.portfolio-card {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--transition);
  display: flex; flex-direction: column;
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.portfolio-thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--slate-200); }
.portfolio-body { padding: 22px; flex-grow: 1; display: flex; flex-direction: column; }
.portfolio-cat { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--orange-600); margin-bottom: 6px; }

/* Filter Pills */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  padding: 8px 15px; border-radius: 99px; border: 1px solid var(--slate-200);
  background: var(--white); color: var(--slate-700); font-weight: 600;
  font-size: 0.86rem; cursor: pointer; transition: all var(--transition); font-family: inherit;
}
.filter-btn.active, .filter-btn:hover { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }

/* Process Steps */
.step-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-md); padding: 28px; }
.step-card h3 { color: var(--white); margin: 12px 0 8px; font-size: 1.15rem; }
.step-card p { color: #CBD5E1; font-size: 0.93rem; margin: 0; }
.step-num { font-size: 0.84rem; font-weight: 800; color: var(--orange-500); letter-spacing: 0.06em; }

/* Checklist */
.check-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.96rem; color: var(--slate-700); }
.check-icon { color: var(--orange-500); font-weight: 800; flex-shrink: 0; }

/* Testimonials */
.quote-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); }
.quote-stars { color: var(--orange-500); font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.quote-text { font-size: 0.98rem; color: var(--slate-700); margin: 0 0 18px; font-style: italic; }
.quote-author { font-weight: 700; color: var(--navy-800); font-size: 0.92rem; }

/* FAQ Accordion */
.faq-list { max-width: 840px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; padding: 20px 24px;
  font-size: 1.02rem; font-weight: 700; color: var(--navy-800);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; font-family: inherit;
}
.faq-answer { padding: 0 24px 20px; color: var(--slate-600); font-size: 0.96rem; line-height: 1.65; }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); color: var(--slate-900); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--navy-800); }
.form-control {
  width: 100%; padding: 11px 14px; border: 1px solid #CBD5E1; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.95rem; color: var(--slate-900); background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--orange-500); box-shadow: 0 0 0 3px rgba(243, 113, 54, 0.16); }

/* Breadcrumbs */
.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #94A3B8; margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumbs a { color: #CBD5E1; }
.breadcrumbs a:hover { color: var(--orange-500); }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-950) 100%);
  border: 1px solid rgba(243, 113, 54, 0.35);
  color: var(--white); border-radius: var(--radius-lg); padding: 52px 44px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.cta-banner h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); margin: 0 0 10px; color: var(--white); }
.cta-banner p { margin: 0; color: #CBD5E1; max-width: 580px; }

/* Footer */
.site-footer { background: var(--navy-950); color: #CBD5E1; padding: 72px 0 32px; border-top: 3px solid var(--orange-500); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-col h4 { color: var(--white); font-size: 0.92rem; font-weight: 700; margin: 0 0 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: #94A3B8; font-size: 0.9rem; }
.footer-links a:hover { color: var(--orange-500); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 0.86rem; color: #94A3B8;
}

/* Mobile Drawer */
.mobile-drawer { position: fixed; inset: 0; z-index: 200; background: rgba(5, 16, 36, 0.7); display: flex; justify-content: flex-end; }
.mobile-drawer-panel { width: min(340px, 88vw); height: 100%; background: var(--white); padding: 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.mobile-nav-group { border-top: 1px solid var(--slate-200); padding-top: 12px; margin-top: 4px; }
.mobile-nav-label { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--orange-600); margin-bottom: 6px; }
.mobile-nav-link { display: block; padding: 7px 0; font-weight: 600; color: var(--navy-800); font-size: 0.95rem; }

@media (max-width: 1024px) {
  .hero-grid, .grid-4, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .nav-menu, .nav-actions .btn-outline { display: none; }
  .mobile-toggle { display: inline-flex; }
}
@media (max-width: 720px) {
  .hero { padding: 54px 0 62px; }
  .section { padding: 56px 0; }
  .hero-grid, .grid-2, .grid-3, .grid-4, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 14px; }
  .cta-banner { padding: 34px 22px; }
  .form-card { padding: 22px; }
  .top-bar-inner { justify-content: center; text-align: center; }
  .brand-logo img { height: 36px; }
}

/* Blog Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 44px;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--navy-800);
  font-weight: 700;
  font-size: 0.92rem;
  transition: all var(--transition);
}
.page-btn:hover {
  border-color: var(--orange-500);
  color: var(--orange-600);
  background: var(--orange-50);
}
.page-btn.active {
  background: var(--orange-500);
  color: var(--white);
  border-color: var(--orange-500);
}

/* Web3Forms Inline Status Feedback (v6) */
.form-status {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}
.form-status.is-sending {
  display: block;
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #CBD5E1;
}
.form-status.is-success {
  display: block;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}
.form-status.is-error {
  display: block;
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}
