/* ==========================================================================
   TPAX IT SOLUTIONS - MODERN ENTERPRISE STYLESHEET (GREEN EDITION 2026)
   Designed for CIOs, CTOs, IT Project Managers & Business Leaders
   Primary Palette: Enterprise Tech Green / Emerald / Forest
   ========================================================================== */

:root {
  /* Color Palette - Light Mode Default */
  --bg-primary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f0fdf4; /* Subtle green tint */
  --bg-card: rgba(255, 255, 255, 0.95);
  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --text-inverse: #ffffff;

  /* Brand Accents - Enterprise Green */
  --brand-primary: #15803d;        /* Deep Tech Green */
  --brand-primary-hover: #166534;  /* Dark Forest Green */
  --brand-secondary: #0d9488;      /* Teal */
  --brand-accent: #16a34a;         /* Vibrant Emerald */
  --brand-gradient: linear-gradient(135deg, #15803d 0%, #16a34a 50%, #22c55e 100%);
  --brand-gradient-glow: linear-gradient(135deg, rgba(21, 128, 61, 0.15), rgba(34, 197, 94, 0.1));

  /* Status Colors */
  --status-success: #16a34a;
  --status-warning: #f59e0b;
  --status-danger: #ef4444;
  --status-info: #0284c7;

  /* Cynet Brand Accent */
  --brand-cynet: #059669;
  --brand-cynet-bg: rgba(5, 150, 105, 0.12);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 30px rgba(22, 163, 74, 0.18);

  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Dark Theme Overrides - High-Tech Forest Slate */
[data-theme="dark"] {
  --bg-primary: #06110d;
  --bg-surface: #0b1a14;
  --bg-surface-elevated: #11281f;
  --bg-subtle: #0e221b;
  --bg-card: rgba(11, 26, 20, 0.9);
  --border-subtle: #19382b;
  --border-strong: #244e3d;

  --text-main: #f0fdf4;
  --text-muted: #9fc1b2;
  --text-subtle: #6e9483;
  --text-inverse: #06110d;

  --brand-primary: #22c55e;        /* Bright Green */
  --brand-primary-hover: #4ade80;  /* Light Green */
  --brand-secondary: #2dd4bf;      /* Neon Teal */
  --brand-accent: #86efac;
  --brand-gradient: linear-gradient(135deg, #16a34a 0%, #22c55e 50%, #4ade80 100%);
  --brand-gradient-glow: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.12));

  --brand-cynet: #10b981;
  --brand-cynet-bg: rgba(16, 185, 129, 0.2);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.6);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 35px rgba(34, 197, 94, 0.22);
}

/* Base Reset & Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-primary);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-primary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Header & Top Bar */
.top-bar {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.45rem 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-info-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-info-item svg {
  width: 14px;
  height: 14px;
  color: var(--brand-primary);
}

.top-hotline {
  font-weight: 700;
  color: var(--brand-primary);
  background: var(--brand-gradient-glow);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--brand-primary);
}

/* Main Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.35rem;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-primary);
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-primary);
  background-color: var(--bg-subtle);
}

/* Nav Badges */
.nav-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-ms {
  background: rgba(22, 163, 74, 0.15);
  color: var(--brand-primary);
  border: 1px solid rgba(22, 163, 74, 0.3);
}

.badge-gw {
  background: rgba(13, 148, 136, 0.15);
  color: var(--brand-secondary);
  border: 1px solid rgba(13, 148, 136, 0.3);
}

.badge-cynet {
  background: var(--brand-cynet-bg);
  color: var(--brand-cynet);
  border: 1px solid var(--brand-cynet);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
}

/* Mobile Hamburger */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at 80% 20%, rgba(22, 163, 74, 0.15), transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(13, 148, 136, 0.1), transparent 45%);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-pill-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--status-success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.25);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-guarantees {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.guarantee-item {
  display: flex;
  flex-direction: column;
}

.guarantee-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.guarantee-label {
  font-size: 0.8rem;
  color: var(--text-subtle);
  font-weight: 600;
}

/* Live Operational Dashboard Card (Hero Visual) */
.hero-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  position: relative;
}

.card-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--status-success);
  background: rgba(22, 163, 74, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.metric-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 1rem;
  border-radius: var(--radius-md);
}

.metric-title {
  font-size: 0.75rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.metric-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.metric-footer {
  font-size: 0.72rem;
  color: var(--status-success);
  font-weight: 600;
}

.system-status-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.85rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.status-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-success);
}

/* Section Common Styling */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-subtle {
  background-color: var(--bg-subtle);
  border-block: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-primary);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Feature & Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.service-card.cynet-featured {
  border: 2px solid var(--brand-cynet);
  background: linear-gradient(to bottom, var(--bg-surface), var(--bg-subtle));
}

.service-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient-glow);
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  margin-bottom: 1.35rem;
  border: 1px solid rgba(22, 163, 74, 0.25);
}

.service-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.service-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.service-card-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-card-features svg {
  width: 16px;
  height: 16px;
  color: var(--status-success);
  flex-shrink: 0;
}

/* Spotlight Cards (M365, Workspace, Cynet) */
.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.spotlight-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.spotlight-card.microsoft {
  border-top: 5px solid #16a34a;
}

.spotlight-card.google {
  border-top: 5px solid #0d9488;
}

.spotlight-card.cynet {
  border-top: 5px solid #059669;
}

.spotlight-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.spotlight-logo {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
}

.spotlight-title {
  font-size: 1.45rem;
  font-weight: 800;
}

/* 3 Pillars of Leadership Value */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
}

.pillar-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--brand-primary);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* NIS2 & Readiness Interactive Assessment Quiz */
.audit-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
}

.audit-question {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.audit-question:last-of-type {
  border-bottom: none;
}

.audit-q-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.audit-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.audit-btn {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  color: var(--text-main);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.audit-btn:hover, .audit-btn.selected {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

.audit-result-display {
  display: none;
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 1.5rem;
  border-left: 5px solid var(--brand-primary);
}

/* SLA Comparison Table */
.sla-table-wrapper {
  overflow-x: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  margin-top: 2.5rem;
}

.sla-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.sla-table th, .sla-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.sla-table th {
  background: var(--bg-subtle);
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sla-table tr:last-child td {
  border-bottom: none;
}

.sla-table tr:hover td {
  background-color: var(--bg-subtle);
}

.badge-sla {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

/* FAQ Accordion */
.faq-list {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--brand-primary);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-normal);
  color: var(--brand-primary);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding-inline: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

/* Contact & Quote Request Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 1.35rem;
  border-radius: var(--radius-md);
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--brand-gradient-glow);
  color: var(--brand-primary);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  color: var(--text-main);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Subpage Hero */
.subpage-hero {
  padding: 4.5rem 0 3.5rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.subpage-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-subtle);
  margin-bottom: 1.25rem;
}

.subpage-breadcrumb a:hover {
  color: var(--brand-primary);
}

.subpage-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding-top: 4.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--brand-primary);
  transform: translateX(3px);
  display: inline-block;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 1.75rem 0;
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Modal Popup */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  place-items: center;
  padding: 1rem;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: rgba(22, 163, 74, 0.15);
  color: var(--status-success);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1.25rem;
}

.modal-icon svg {
  width: 36px;
  height: 36px;
}

/* Back To Top Button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--brand-primary);
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-3px);
  background: var(--brand-primary-hover);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .spotlight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-surface);
    flex-direction: column;
    align-items: stretch;
    padding: 2rem 1.5rem;
    gap: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-guarantees {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
