:root {
  --om-primary: #1a365d;
  --om-primary-dark: #0f2442;
  --om-accent: #0d9488;
  --om-accent-light: #f0fdfa;
  --om-accent-border: #99f6e4;
  --om-dark: #1e293b;
  --om-body: #475569;
  --om-muted: #64748b;
  --om-bg: #f8fafc;
  --om-card: #ffffff;
  --om-border: #e2e8f0;
  --om-border-focus: #0d9488;
  --om-radius-sm: 6px;
  --om-radius-md: 10px;
  --om-radius-lg: 16px;
  --om-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --om-shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --om-shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.12);
  --om-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --om-font-serif: Georgia, Cambria, "Times New Roman", Times, serif;
}

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

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

body {
  font-family: var(--om-font-sans);
  color: var(--om-body);
  background-color: var(--om-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--om-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--om-primary);
}

.om-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* 1. Header & Navigation */
.om-topbar {
  background-color: var(--om-primary-dark);
  color: #cbd5e1;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.om-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.om-topbar-tag {
  display: flex;
  align-items: center;
  gap: 6px;
}

.om-topbar-nav {
  display: flex;
  gap: 16px;
}

.om-topbar-nav a {
  color: #94a3b8;
  font-size: 0.8rem;
}

.om-topbar-nav a:hover {
  color: #ffffff;
}

.om-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--om-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--om-shadow-sm);
}

.om-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.om-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.om-brand-logo {
  width: 42px;
  height: 42px;
  border-radius: var(--om-radius-sm);
  background: var(--om-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.om-brand-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--om-primary);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.om-brand-subtitle {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--om-muted);
  font-weight: 600;
}

.om-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.om-nav-link {
  display: block;
  padding: 8px 14px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--om-dark);
  border-radius: var(--om-radius-sm);
  transition: all 0.2s ease;
}

.om-nav-link:hover,
.om-nav-link.active {
  color: var(--om-accent);
  background-color: var(--om-accent-light);
}

.om-nav-btn {
  background-color: var(--om-primary);
  color: #ffffff !important;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--om-radius-sm);
  transition: background-color 0.2s ease;
}

.om-nav-btn:hover {
  background-color: var(--om-primary-dark);
}

.om-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--om-border);
  padding: 8px 12px;
  border-radius: var(--om-radius-sm);
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--om-dark);
}

.om-mobile-nav {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid var(--om-border);
  padding: 16px 20px;
}

.om-mobile-nav.open {
  display: block;
}

.om-mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.om-mobile-nav a {
  display: block;
  padding: 8px 0;
  font-size: 1rem;
  color: var(--om-dark);
  border-bottom: 1px solid #f1f5f9;
}

/* 2. Hero Section */
.om-hero {
  background: linear-gradient(135deg, #0f2442 0%, #1e3a5f 100%);
  color: #ffffff;
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}

.om-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.om-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 148, 136, 0.2);
  border: 1px solid rgba(13, 148, 136, 0.4);
  color: #5eead4;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.om-hero h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}

.om-hero-desc {
  font-size: 1.12rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 28px;
}

.om-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.om-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--om-radius-sm);
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.om-btn-primary {
  background-color: var(--om-accent);
  color: #ffffff;
}

.om-btn-primary:hover {
  background-color: #0f766e;
  color: #ffffff;
}

.om-btn-outline {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.om-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.om-hero-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border-radius: var(--om-radius-lg);
  padding: 24px;
}

.om-hero-card img {
  border-radius: var(--om-radius-md);
  margin-bottom: 16px;
}

.om-hero-card-meta {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* 3. Section Standards */
.om-section {
  padding: 64px 0;
}

.om-section-alt {
  background-color: #ffffff;
  border-top: 1px solid var(--om-border);
  border-bottom: 1px solid var(--om-border);
}

.om-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.om-section-badge {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--om-accent);
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.om-section-head h2 {
  font-size: 2.1rem;
  color: var(--om-dark);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
}

.om-section-head p {
  color: var(--om-muted);
  font-size: 1.05rem;
}

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

.om-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.om-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.om-card {
  background-color: var(--om-card);
  border: 1px solid var(--om-border);
  border-radius: var(--om-radius-md);
  padding: 28px;
  box-shadow: var(--om-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.om-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--om-shadow-md);
}

.om-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--om-radius-sm);
  background-color: var(--om-accent-light);
  color: var(--om-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.om-card h3 {
  font-size: 1.25rem;
  color: var(--om-dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.om-card p {
  font-size: 0.95rem;
  color: var(--om-muted);
  margin-bottom: 16px;
}

.om-article-card {
  background: var(--om-card);
  border: 1px solid var(--om-border);
  border-radius: var(--om-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--om-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.om-article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--om-shadow-md);
}

.om-article-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.om-article-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.om-article-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--om-accent);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.om-article-body h3 {
  font-size: 1.2rem;
  color: var(--om-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.om-article-body p {
  font-size: 0.92rem;
  color: var(--om-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.om-article-meta {
  font-size: 0.8rem;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--om-border);
  padding-top: 12px;
}

/* 5. Filter Controls */
.om-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.om-filter-btn {
  background: #ffffff;
  border: 1px solid var(--om-border);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--om-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.om-filter-btn:hover,
.om-filter-btn.active {
  background: var(--om-accent);
  color: #ffffff;
  border-color: var(--om-accent);
}

/* 6. Interactive Calculator */
.om-calculator-box {
  background: #ffffff;
  border: 1px solid var(--om-border);
  border-radius: var(--om-radius-lg);
  padding: 36px;
  box-shadow: var(--om-shadow-md);
}

.om-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.om-form-group {
  margin-bottom: 18px;
}

.om-form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--om-dark);
  margin-bottom: 6px;
}

.om-input,
.om-select,
.om-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--om-border);
  border-radius: var(--om-radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--om-dark);
  background-color: #ffffff;
  transition: border-color 0.2s ease;
}

.om-input:focus,
.om-select:focus,
.om-textarea:focus {
  outline: none;
  border-color: var(--om-border-focus);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.om-calc-results {
  background-color: var(--om-accent-light);
  border: 1px solid var(--om-accent-border);
  border-radius: var(--om-radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.om-calc-res-item {
  border-bottom: 1px solid rgba(13, 148, 136, 0.15);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.om-calc-res-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.om-calc-res-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--om-muted);
  font-weight: 600;
}

.om-calc-res-val {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--om-primary);
}

/* 7. FAQ Accordion */
.om-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.om-accordion-item {
  background: #ffffff;
  border: 1px solid var(--om-border);
  border-radius: var(--om-radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.om-accordion-head {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  color: var(--om-dark);
}

.om-accordion-head:hover {
  background-color: #f8fafc;
}

.om-accordion-icon {
  font-size: 1.2rem;
  color: var(--om-accent);
  transition: transform 0.2s ease;
}

.om-accordion-item.active .om-accordion-icon {
  transform: rotate(45deg);
}

.om-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
}

.om-accordion-item.active .om-accordion-body {
  padding: 0 24px 20px;
}

/* 8. Institutional Content & Legal Pages */
.om-editorial-content {
  background: #ffffff;
  border: 1px solid var(--om-border);
  border-radius: var(--om-radius-md);
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.om-editorial-content h2 {
  font-size: 1.6rem;
  color: var(--om-dark);
  margin-top: 28px;
  margin-bottom: 14px;
}

.om-editorial-content h3 {
  font-size: 1.25rem;
  color: var(--om-dark);
  margin-top: 20px;
  margin-bottom: 10px;
}

.om-editorial-content p,
.om-editorial-content ul {
  font-size: 1rem;
  color: var(--om-body);
  margin-bottom: 18px;
}

.om-editorial-content ul {
  padding-left: 24px;
}

.om-editorial-content li {
  margin-bottom: 6px;
}

.om-notice-box {
  background: #f1f5f9;
  border-left: 4px solid var(--om-accent);
  padding: 18px;
  border-radius: var(--om-radius-sm);
  margin: 24px 0;
  font-size: 0.92rem;
}

/* 9. Contact Info Grid */
.om-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.om-contact-card {
  background: #ffffff;
  border: 1px solid var(--om-border);
  border-radius: var(--om-radius-md);
  padding: 32px;
}

.om-contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.om-contact-icon {
  width: 40px;
  height: 40px;
  background: var(--om-accent-light);
  color: var(--om-accent);
  border-radius: var(--om-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* 10. Footer */
.om-footer {
  background-color: var(--om-primary-dark);
  color: #cbd5e1;
  padding: 60px 0 24px;
  font-size: 0.92rem;
}

.om-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
  gap: 36px;
  margin-bottom: 48px;
}

.om-footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 18px;
  font-weight: 600;
}

.om-footer-links {
  list-style: none;
}

.om-footer-links li {
  margin-bottom: 10px;
}

.om-footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.om-footer-links a:hover {
  color: #ffffff;
}

.om-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: #64748b;
}

/* 11. Alerts */
.om-alert {
  padding: 14px 18px;
  border-radius: var(--om-radius-sm);
  margin-bottom: 20px;
  display: none;
  font-size: 0.92rem;
}

.om-alert-success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.om-alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* 12. GDPR Cookie Consent Banner */
.om-cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 520px;
  background: #ffffff;
  border: 1px solid var(--om-border);
  box-shadow: var(--om-shadow-lg);
  border-radius: var(--om-radius-md);
  padding: 20px;
  z-index: 9999;
  display: none;
}

.om-cookie-banner.show {
  display: block;
}

.om-cookie-text {
  font-size: 0.88rem;
  color: var(--om-body);
  margin-bottom: 14px;
  line-height: 1.5;
}

.om-cookie-actions {
  display: flex;
  gap: 10px;
}

/* Responsive */
@media (max-width: 992px) {
  .om-hero-grid,
  .om-calc-grid,
  .om-contact-grid {
    grid-template-columns: 1fr;
  }
  .om-grid-3,
  .om-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .om-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .om-nav-list {
    display: none;
  }
  .om-menu-btn {
    display: block;
  }
}

@media (max-width: 640px) {
  .om-grid-2,
  .om-grid-3,
  .om-grid-4,
  .om-footer-grid {
    grid-template-columns: 1fr;
  }
  .om-hero h1 {
    font-size: 1.95rem;
  }
  .om-cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
}
