:root {
  --cypfer-blue: #1b3c68;
  --cypfer-orange: #FF6D2B;
  --cypfer-white: #FEFEFE;

  --bg: #1b3c68;
  --panel: #0B2236;
  --panel-2: #0E2A42;
  --text: #EAF2FA;
  --muted: rgba(234, 242, 250, 0.72);
  --border: rgba(255, 255, 255, 0.10);

  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);

  --container: 1120px;
  --gap: 18px;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);

  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(255, 109, 43, 0.10), transparent 60%),
    radial-gradient(900px 600px at 80% 20%, rgba(10, 23, 40, 0.35), transparent 55%),
    linear-gradient(180deg, #1b3c68 0%, #050E16 100%);

  background-repeat: no-repeat;
  background-attachment: fixed
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--cypfer-orange);
  color: #0b0b0b;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}

.skip-link:focus {
  left: 10px;
}

.site-header {
	
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 23, 40, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {

  height: 62px; 
  max-width: 220px; 
  width: auto;
  object-fit: contain;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  font-size: 14px;
  letter-spacing: 0.02em;
  color: rgba(234, 242, 250, 0.85);
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.nav-link:hover {
  color: var(--cypfer-white);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link-active {
  color: var(--cypfer-white);
  border-color: rgba(255, 109, 43, 0.35);
  background: rgba(255, 109, 43, 0.10);
}

.nav-cta {
  border-color: rgba(255, 109, 43, 0.55);
  background: rgba(255, 109, 43, 0.14);
}

.hero {
  padding: 42px 0 18px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.kicker {
  display: inline-block;
  margin: 0 0 10px 0;
  padding: 6px 10px;
  border: 1px solid rgba(255, 109, 43, 0.35);
  background: rgba(255, 109, 43, 0.10);
  border-radius: 999px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.90);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0 0 10px 0;
  font-size: 40px;
  line-height: 1.10;
  letter-spacing: -0.02em;
}

.subhead {
  margin: 0 0 18px 0;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 18px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--cypfer-orange);
  color: #0b0b0b;
}

.button.primary:hover {
  filter: brightness(0.98);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--cypfer-white);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.09);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-pill {
  font-size: 12px;
  color: rgba(234, 242, 250, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 10px;
  border-radius: 999px;
}

.hero-panel {
  background: linear-gradient(180deg, rgba(14, 42, 66, 0.95), rgba(9, 28, 44, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.panel-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  padding: 14px;
}

.panel-title {
  font-weight: 700;
  margin: 0 0 6px 0;
}

.panel-text {
  color: rgba(234, 242, 250, 0.75);
  font-size: 13px;
}

.posts {
  padding: 18px 0 42px 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 8px 0 14px 0;
}

.section-head h2 {
  margin: 0;
  font-size: 22px;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.post-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.post-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 109, 43, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.post-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-body {
  padding: 18px 18px 20px 18px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(234, 242, 250, 0.68);
  font-size: 12px;
}

.dot {
  opacity: 0.55;
}

.post-title {
  margin: 10px 0 8px 0;
  font-size: 16px;
  line-height: 1.25;
}

.post-title a:hover {
  color: var(--cypfer-white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 109, 43, 0.55);
}

.post-excerpt {
  margin: 0 0 12px 0;
  color: rgba(234, 242, 250, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.post-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 700;
  font-size: 13px;
  color: rgba(255, 109, 43, 0.95);
}

.post-link:hover {
  color: var(--cypfer-orange);
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(10, 23, 40, 0.78);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-text {
  margin: 0;
  color: rgba(234, 242, 250, 0.72);
  font-size: 13px;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-link {
  color: rgba(234, 242, 250, 0.78);
  font-size: 13px;
}

.footer-link:hover {
  color: var(--cypfer-white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 109, 43, 0.55);
}

.footer-copy {
  color: rgba(234, 242, 250, 0.65);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy h1 {
    font-size: 32px;
  }
  .site-nav {
    gap: 10px;
  }

  .brand-logo {
    height: 42px;
    max-width: 175px; 
  }

}


.post-hero {
  padding: 44px 0 22px;
  border-bottom: 1px solid var(--border);
}

.post-hero-inner {
  display: grid;
  gap: 14px;
}

.post-title {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(234, 242, 250, 0.75);
}

.post-summary {
  max-width: 72ch;
}

.post-cover {
  margin-top: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.post-cover figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: rgba(234, 242, 250, 0.7);
  border-top: 1px solid var(--border);
}

.post-content {
  max-width: 900px;
}

.post-content p {
  line-height: 1.75;
  max-width: 78ch;
  margin-bottom: 16px;
}

.post-content h2 {
  margin: 28px 0 10px;
}

.post-callout {
  margin: 20px 0;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(
    180deg,
    rgba(255, 109, 43, 0.08),
    rgba(3, 54, 97, 0.1)
  );
}

.post-image-grid {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}

@media (min-width: 900px) {
  .post-image-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.post-figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
}

.post-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: rgba(234, 242, 250, 0.7);
  border-top: 1px solid var(--border);
}

.contact-hero {
  padding: 44px 0 26px;
  border-bottom: 1px solid var(--border);
}

.contact-hero-inner {
  display: grid;
  gap: 14px;
}

.contact-title {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.contact-summary {
  max-width: 70ch;
}

.contact-body {
  padding: 36px 0 56px;
}

.contact-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin-top: 0;
}

.contact-list {
  padding-left: 18px;
  margin: 0 0 18px 0;
}

.contact-list li {
  margin-bottom: 8px;
  color: rgba(234, 242, 250, 0.9);
}

.contact-item {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.contact-label {
  font-size: 13px;
  color: rgba(234, 242, 250, 0.65);
}

.contact-value {
  font-size: 15px;
}

.contact-callout {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(
    180deg,
    rgba(255, 109, 43, 0.08),
    rgba(3, 54, 97, 0.1)
  );
}

.contact-button {
  margin-top: 12px;
}

.vp {
  color: var(--cypfer-orange);
  font-weight: bold;
}

.contact-button:hover {
  box-shadow: 0px 0px 7px var(--cypfer-orange); 
}

.image-circle {
  margin-top: 12px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 3px solid var(--cypfer-orange);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services {
  padding: 40px 0 60px;
}

.services-cta {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(
    180deg,
    rgba(6, 18, 28, 0.95) 
    rgba(3, 54, 97, 0.15)
  );
}


.services-cta-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-cta .button {
  margin-top: 16px;
}

.posts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.post-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.post-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel-2);
}

.post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-body {
  display: flex;
  flex-direction: column;
}

.post-body .post-title {
  margin: 4px 0 6px 0;
}

.post-body .post-excerpt {
  margin: 0 0 12px 0;
  max-width: 78ch;
}

.post-body .post-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(234, 242, 250, 0.7);
}

@media (max-width: 900px) {
  .post-row { grid-template-columns: 1fr; }
  .post-media { max-height: 180px; }
}

.posts-search {
  margin: 10px auto 18px;
}

.posts-search-inner {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20);
}

.posts-search-label {
  font-size: 13px;
  color: rgba(234, 242, 250, 0.70);
}

.posts-search-input {
  flex: 1;
  min-width: 220px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  outline: none;
}

.posts-search-input:focus {
  border-color: rgba(255, 109, 43, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 109, 43, 0.12);
}

.posts-search-clear {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}

.posts-search-clear:hover {
  border-color: rgba(255, 109, 43, 0.35);
  background: rgba(255, 255, 255, 0.09);
}

.posts-search-count {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(234, 242, 250, 0.70);
}

.is-hidden {
  display: none;
}

article.card,
article.card * {
    cursor: pointer;
}

/* Inputs aligned with CYPFER application style */

.form-group input[type="text"],
.form-group input[type="email"] {
    appearance: none;
    background-color: #0b0b0b;
    border: 1px solid #1f1f1f;
    border-radius: 4px;
    padding: 12px 14px;
    font-size: 0.95rem;
    color: #ffffff;
    line-height: 1.4;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.form-group input::placeholder {
    color: #6f6f6f;
}

.form-group input:hover {
    background-color: #0f0f0f;
}

.form-group input:focus {
    outline: none;
    background-color: #0f0f0f;
    border-color: #5c8dff;
    box-shadow: 0 0 0 1px rgba(92, 141, 255, 0.35);
}

.form-group input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Labels */

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #cfcfcf;
    margin-bottom: 6px;
}

/* Checkbox styling */

.checkbox-group label {
    font-size: 0.85rem;
    color: #b5b5b5;
}

.checkbox-group input[type="checkbox"] {
    accent-color: #5c8dff;
    width: 14px;
    height: 14px;
    margin-top: 2px;
}

.message {
	margin: auto;
	background-color: rgba(0, 240, 0, 0.2);
	padding: 8px;
	margin-bottom: 12px;
	max-width: 400px;
	text-align: center;
	border-radius: 5px;
	border: 1px solid #90EE90;
}
