/*
Theme Name: Polaris Corporate
Theme URI: https://polaris.ae
Author: Polaris Corporate Services
Author URI: https://polaris.ae
Description: A refined corporate theme for Polaris Corporate Services — Licensed TCSP delivering integrated formation, fiduciary, tax, and migration advisory across UAE, Cyprus, and Switzerland.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
License URI: https://polaris.ae
Text Domain: polaris
Tags: corporate, business, one-column, custom-menu, translation-ready

Polaris Corporate Services FZ LLC — All Rights Reserved.
*/

/* ===== RESET & VARIABLES ===== */
:root {
  --navy: #0C1220;
  --navy-mid: #162036;
  --navy-light: #1E2D4A;
  --gold: #C9A96E;
  --gold-light: #D4BC8E;
  --gold-pale: #F0E6D2;
  --cream: #FAF8F5;
  --white: #FFFFFF;
  --stone: #E8E4DE;
  --text-dark: #1A1A2E;
  --text-mid: #4A4A5A;
  --text-light: #8A8A96;
  --text-on-dark: #C8C8D0;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', -apple-system, sans-serif;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); color: var(--text-dark); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

/* ===== LAYOUT ===== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 40px; }
.container-text { max-width: 760px; margin: 0 auto; padding: 0 40px; }

/* ===== NAVIGATION ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(12, 18, 32, 0.97); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(201, 169, 110, 0.15); }
.nav-inner { max-width: 1240px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; height: 80px; }
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo img { height: 38px; width: 38px; object-fit: contain; }
.nav-logo-text { font-family: var(--sans); font-weight: 300; font-size: 1rem; letter-spacing: 0.3em; color: var(--white); text-transform: uppercase; }
.nav-logo-text span { color: var(--gold); }
.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.nav-links a { font-family: var(--sans); font-size: 0.78rem; font-weight: 300; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-on-dark); text-decoration: none; transition: color 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width 0.3s; }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links li { list-style: none; }
.nav-cta { padding: 10px 28px !important; border: 1px solid var(--gold) !important; color: var(--gold) !important; transition: all 0.3s !important; }
.nav-cta:hover { background: var(--gold) !important; color: var(--navy) !important; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 1.5px; background: var(--gold); margin: 6px 0; transition: 0.3s; }

/* ===== HERO ===== */
.hero { min-height: 100vh; display: flex; align-items: center; background: var(--navy); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 800px; height: 800px; background: radial-gradient(ellipse, rgba(201, 169, 110, 0.06) 0%, transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.3), transparent); }
.hero-content { position: relative; z-index: 2; padding: 140px 0 100px; }
.hero-eyebrow { font-family: var(--sans); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 40px; display: flex; align-items: center; gap: 16px; }
.hero-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--gold); }
.hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 5.5vw, 4.5rem); line-height: 1.15; color: var(--white); max-width: 780px; margin-bottom: 32px; letter-spacing: -0.01em; }
.hero h1 em { font-style: italic; color: var(--gold-light); font-weight: 300; }
.hero-sub { font-family: var(--sans); font-size: 1.05rem; font-weight: 300; line-height: 1.75; color: var(--text-on-dark); max-width: 600px; margin-bottom: 50px; }
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn-primary { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 0.78rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; padding: 16px 40px; background: var(--gold); color: var(--navy); text-decoration: none; transition: all 0.35s; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-secondary { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 0.78rem; font-weight: 300; letter-spacing: 0.18em; text-transform: uppercase; padding: 16px 40px; border: 1px solid rgba(201, 169, 110, 0.4); color: var(--gold-light); text-decoration: none; transition: all 0.35s; background: transparent; cursor: pointer; }
.btn-secondary:hover { border-color: var(--gold); color: var(--white); }

/* ===== TRUST BAR ===== */
.trust-bar { background: var(--navy-mid); border-top: 1px solid rgba(201, 169, 110, 0.1); border-bottom: 1px solid rgba(201, 169, 110, 0.1); padding: 22px 0; }
.trust-bar-inner { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; align-items: center; }
.trust-item { font-family: var(--sans); font-size: 0.72rem; font-weight: 300; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-light); }
.trust-item strong { color: var(--gold-light); font-weight: 500; }
.trust-sep { color: rgba(201, 169, 110, 0.3); font-weight: 200; }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-cream { background: var(--cream); }
.section-label { font-family: var(--sans); font-size: 0.7rem; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; display: flex; align-items: center; gap: 14px; }
.section-label::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.section-dark .section-label { color: var(--gold-light); }
.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.25; color: var(--text-dark); max-width: 700px; margin-bottom: 24px; }
.section-dark .section-title { color: var(--white); }
.section-intro { font-family: var(--sans); font-size: 1.02rem; font-weight: 300; line-height: 1.8; color: var(--text-mid); max-width: 640px; margin-bottom: 64px; }
.section-dark .section-intro { color: var(--text-on-dark); }

/* ===== PAGE HERO ===== */
.page-hero { padding: 160px 0 80px; background: var(--navy); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -40%; right: -15%; width: 600px; height: 600px; background: radial-gradient(ellipse, rgba(201, 169, 110, 0.05) 0%, transparent 70%); }
.page-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.3), transparent); }
.breadcrumb { font-family: var(--sans); font-size: 0.72rem; font-weight: 300; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light); margin-bottom: 32px; }
.breadcrumb a { color: var(--text-light); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(201, 169, 110, 0.4); margin: 0 10px; }
.page-hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.2; color: var(--white); max-width: 700px; margin-bottom: 24px; }
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero-sub { font-family: var(--sans); font-size: 1.02rem; font-weight: 300; line-height: 1.75; color: var(--text-on-dark); max-width: 580px; }

/* ===== CAPABILITIES GRID ===== */
.capabilities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(201, 169, 110, 0.15); border: 1px solid rgba(201, 169, 110, 0.15); }
.capability-card { background: var(--navy-mid); padding: 48px 36px; transition: all 0.4s; position: relative; cursor: default; }
.capability-card::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 2px; background: var(--gold); transition: width 0.4s; }
.capability-card:hover::before { width: 100%; }
.capability-card:hover { background: var(--navy-light); }
.capability-num { font-family: var(--serif); font-size: 2.2rem; font-weight: 300; color: rgba(201, 169, 110, 0.25); margin-bottom: 20px; line-height: 1; }
.capability-title { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--white); margin-bottom: 16px; line-height: 1.3; }
.capability-desc { font-family: var(--sans); font-size: 0.88rem; font-weight: 300; line-height: 1.7; color: var(--text-on-dark); }
.capability-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-family: var(--sans); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); text-decoration: none; transition: gap 0.3s; }
.capability-link:hover { gap: 14px; }

/* ===== JURISDICTION CARDS ===== */
.jurisdictions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.jurisdiction-card { padding: 48px 36px; border: 1px solid rgba(26, 26, 46, 0.08); background: var(--white); transition: all 0.35s; position: relative; overflow: hidden; }
.jurisdiction-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.jurisdiction-card:hover { border-color: rgba(201, 169, 110, 0.3); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(12, 18, 32, 0.06); }
.jurisdiction-card:hover::after { transform: scaleX(1); }
.jurisdiction-flag { font-size: 1.8rem; margin-bottom: 20px; }
.jurisdiction-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--text-dark); margin-bottom: 8px; }
.jurisdiction-sub { font-family: var(--sans); font-size: 0.78rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.jurisdiction-points { list-style: none; padding: 0; }
.jurisdiction-points li { font-family: var(--sans); font-size: 0.9rem; font-weight: 300; line-height: 1.6; color: var(--text-mid); padding: 6px 0 6px 18px; position: relative; }
.jurisdiction-points li::before { content: ''; position: absolute; left: 0; top: 14px; width: 6px; height: 1px; background: var(--gold); }

/* ===== ABOUT GRID ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-text { font-family: var(--sans); font-size: 1rem; font-weight: 300; line-height: 1.9; color: var(--text-mid); }
.about-text p { margin-bottom: 24px; }
.stat-item { padding: 28px 0; border-bottom: 1px solid rgba(26, 26, 46, 0.08); }
.stat-item:first-child { border-top: 1px solid rgba(26, 26, 46, 0.08); }
.stat-num { font-family: var(--serif); font-size: 2.4rem; font-weight: 300; color: var(--text-dark); line-height: 1; margin-bottom: 6px; }
.stat-num span { color: var(--gold); }
.stat-label { font-family: var(--sans); font-size: 0.82rem; font-weight: 300; letter-spacing: 0.08em; color: var(--text-light); text-transform: uppercase; }

/* ===== DIFFERENTIATORS ===== */
.diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
.diff-item { padding: 0 0 0 28px; border-left: 2px solid var(--gold); }
.diff-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--text-dark); margin-bottom: 10px; }
.diff-desc { font-family: var(--sans); font-size: 0.92rem; font-weight: 300; line-height: 1.7; color: var(--text-mid); }

/* ===== CONTENT BLOCKS ===== */
.content-block { margin-bottom: 48px; }
.content-block h2 { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--text-dark); margin-bottom: 16px; }
.content-block h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--text-dark); margin-bottom: 12px; }
.content-block p { font-family: var(--sans); font-size: 0.98rem; font-weight: 300; line-height: 1.85; color: var(--text-mid); margin-bottom: 20px; }

/* ===== TWO COLUMN ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.two-col-wide { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px; align-items: start; }

/* ===== SIDEBAR LIST ===== */
.sidebar-list { list-style: none; padding: 0; }
.sidebar-list li { padding: 14px 0 14px 20px; border-left: 2px solid var(--gold); margin-bottom: 12px; font-family: var(--sans); font-size: 0.92rem; font-weight: 300; color: var(--text-mid); line-height: 1.5; }
.sidebar-list li strong { color: var(--text-dark); font-weight: 500; display: block; margin-bottom: 2px; }

/* ===== SERVICE CARDS ===== */
.service-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.service-card { display: block; padding: 36px 32px; border: 1px solid rgba(26,26,46,0.08); background: var(--white); text-decoration: none; transition: all 0.35s; position: relative; }
.service-card::after { content: '\2192'; position: absolute; top: 36px; right: 32px; font-family: var(--sans); font-size: 1.2rem; color: var(--gold); opacity: 0; transition: opacity 0.3s; }
.service-card:hover { border-color: rgba(201,169,110,0.3); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(12,18,32,0.05); }
.service-card:hover::after { opacity: 1; }
.service-card-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.service-card-desc { font-family: var(--sans); font-size: 0.88rem; font-weight: 300; line-height: 1.65; color: var(--text-mid); }

/* ===== FEATURES ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.feature-card { padding: 40px 32px; border: 1px solid rgba(26, 26, 46, 0.08); background: var(--white); transition: all 0.35s; position: relative; }
.feature-card::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.feature-card:hover { border-color: rgba(201, 169, 110, 0.3); transform: translateY(-3px); box-shadow: 0 16px 48px rgba(12, 18, 32, 0.06); }
.feature-card:hover::after { transform: scaleX(1); }
.feature-num { font-family: var(--serif); font-size: 1.8rem; font-weight: 300; color: rgba(201, 169, 110, 0.35); margin-bottom: 16px; }
.feature-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--text-dark); margin-bottom: 12px; }
.feature-desc { font-family: var(--sans); font-size: 0.88rem; font-weight: 300; line-height: 1.7; color: var(--text-mid); }
.features-grid-dark { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(201, 169, 110, 0.12); border: 1px solid rgba(201, 169, 110, 0.12); margin-top: 48px; }
.feature-card-dark { background: var(--navy-mid); padding: 44px 36px; transition: background 0.3s; }
.feature-card-dark:hover { background: var(--navy-light); }
.feature-card-dark .feature-title { color: var(--white); }
.feature-card-dark .feature-desc { color: var(--text-on-dark); }

/* ===== PROCESS STEPS ===== */
.process-steps { margin-top: 48px; }
.process-step { display: grid; grid-template-columns: 80px 1fr; gap: 32px; padding: 36px 0; border-bottom: 1px solid rgba(26, 26, 46, 0.06); }
.process-step:first-child { border-top: 1px solid rgba(26, 26, 46, 0.06); }
.step-num { font-family: var(--serif); font-size: 2rem; font-weight: 300; color: var(--gold); line-height: 1; padding-top: 4px; }
.step-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.step-desc { font-family: var(--sans); font-size: 0.92rem; font-weight: 300; line-height: 1.75; color: var(--text-mid); }

/* ===== FAQ ===== */
.faq-list { margin-top: 40px; }
.faq-item { padding: 28px 0; border-bottom: 1px solid rgba(26, 26, 46, 0.06); }
.faq-item:first-child { border-top: 1px solid rgba(26, 26, 46, 0.06); }
.faq-q { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--text-dark); margin-bottom: 12px; }
.faq-a { font-family: var(--sans); font-size: 0.92rem; font-weight: 300; line-height: 1.8; color: var(--text-mid); }

/* ===== CTA SECTION ===== */
.cta-section { padding: 100px 0; background: var(--navy); position: relative; text-align: center; }
.cta-section::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 200px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.cta-title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 300; color: var(--white); margin-bottom: 20px; }
.cta-sub { font-family: var(--sans); font-size: 1rem; font-weight: 300; color: var(--text-on-dark); margin-bottom: 40px; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy); padding: 80px 0 40px; border-top: 1px solid rgba(201, 169, 110, 0.1); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-brand img { height: 32px; width: 32px; }
.footer-brand-text { font-family: var(--sans); font-size: 0.9rem; font-weight: 300; letter-spacing: 0.25em; color: var(--white); text-transform: uppercase; }
.footer-brand-text span { color: var(--gold); }
.footer-desc { font-family: var(--sans); font-size: 0.85rem; font-weight: 300; line-height: 1.7; color: var(--text-light); max-width: 360px; }
.footer-heading { font-family: var(--sans); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-family: var(--sans); font-size: 0.88rem; font-weight: 300; color: var(--text-on-dark); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { padding-top: 40px; border-top: 1px solid rgba(201, 169, 110, 0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-legal { font-family: var(--sans); font-size: 0.75rem; font-weight: 300; color: var(--text-light); line-height: 1.6; }
.footer-legal strong { color: var(--gold-light); font-weight: 400; }
.footer-lang { display: flex; gap: 16px; }
.footer-lang a { font-family: var(--sans); font-size: 0.75rem; font-weight: 300; color: var(--text-light); text-decoration: none; transition: color 0.3s; }
.footer-lang a:hover { color: var(--gold); }

/* ===== CONTACT FORM ===== */
.contact-form { background: var(--cream); padding: 48px 40px; border: 1px solid rgba(26,26,46,0.06); }
.contact-form h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--text-dark); margin-bottom: 24px; }
.contact-form label { display: block; font-family: var(--sans); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 8px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 12px 16px; font-family: var(--sans); font-size: 0.92rem; border: 1px solid rgba(26,26,46,0.12); background: var(--white); color: var(--text-dark); margin-bottom: 20px; outline: none; transition: border-color 0.3s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form textarea { min-height: 120px; resize: vertical; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-content > * { animation: fadeUp 0.8s ease forwards; opacity: 0; }
.hero-eyebrow { animation-delay: 0.2s; }
.hero h1 { animation-delay: 0.4s; }
.hero-sub { animation-delay: 0.55s; }
.hero-actions { animation-delay: 0.7s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .capabilities-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .jurisdictions-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .capabilities-grid, .features-grid, .features-grid-dark, .service-cards, .jurisdictions-grid { grid-template-columns: 1fr; }
  .about-grid, .two-col, .two-col-wide, .diff-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .container, .container-narrow, .container-text { padding: 0 24px; }
  .section { padding: 72px 0; }
  .trust-bar-inner { gap: 20px; justify-content: flex-start; }
  .process-step { grid-template-columns: 60px 1fr; gap: 20px; }
  .hero-content { padding: 120px 0 80px; }
  .page-hero { padding: 130px 0 60px; }
}
