:root {
  --ces-shadow: 0 18px 48px rgba(3, 19, 43, 0.1);
  --ces-border: #dfe4e8;
  --ces-radius: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

a {
  text-underline-offset: 0.2em;
}

.ces-site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(3, 19, 43, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.ces-site-header .wp-block-site-title a {
  text-decoration: none;
}

.ces-eyebrow {
  margin-bottom: 0.75rem;
  color: #707070;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ces-hero {
  min-height: 650px;
  background:
    linear-gradient(90deg, rgba(3, 19, 43, 0.97) 0%, rgba(3, 19, 43, 0.88) 48%, rgba(3, 19, 43, 0.35) 100%),
    linear-gradient(135deg, #03132b, #27445f);
}

.ces-hero h1,
.ces-hero p {
  color: #ffffff;
}

.ces-section {
  padding-top: clamp(4rem, 7vw, 7rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.ces-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--ces-border);
  border-radius: var(--ces-radius);
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(3, 19, 43, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.ces-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ces-card__body {
  padding: 1.5rem;
}

.ces-card__body h2,
.ces-card__body h3 {
  margin-top: 0;
}

.ces-grid {
  display: grid;
  grid-template-columns: repeat(var(--ces-columns, 3), minmax(0, 1fr));
  gap: 1.5rem;
}

.ces-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.ces-meta-item {
  padding: 1rem;
  border-left: 3px solid #ffd100;
  background: #f2f4f6;
}

.ces-meta-item__label {
  display: block;
  color: #707070;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ces-meta-item__value {
  display: block;
  margin-top: 0.2rem;
  color: #03132b;
  font-weight: 700;
}

.ces-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.ces-spec-table th,
.ces-spec-table td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--ces-border);
  text-align: left;
}

.ces-spec-table th {
  width: 40%;
  background: #f2f4f6;
  color: #03132b;
}

.ces-empty-state {
  padding: 2rem;
  border: 1px dashed #b7b7b7;
  background: #f8fafb;
  color: #505963;
  text-align: center;
}

.ces-site-footer a {
  color: inherit;
}

.ces-inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ces-inquiry-form__full {
  grid-column: 1 / -1;
}

.ces-inquiry-form label {
  display: block;
  margin-bottom: 0.35rem;
  color: #03132b;
  font-weight: 700;
}

.ces-inquiry-form input,
.ces-inquiry-form textarea,
.ces-inquiry-form select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid #b7b7b7;
  border-radius: 2px;
  background: #ffffff;
  font: inherit;
}

.ces-inquiry-form button {
  padding: 0.9rem 1.4rem;
  border: 0;
  border-radius: 2px;
  background: #ffd100;
  color: #03132b;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

@media (max-width: 900px) {
  .ces-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ces-hero {
    min-height: 560px;
  }
}

@media (max-width: 640px) {
  .ces-grid,
  .ces-meta-grid,
  .ces-inquiry-form {
    grid-template-columns: 1fr;
  }

  .ces-inquiry-form__full {
    grid-column: auto;
  }

  .ces-hero {
    min-height: 500px;
  }
}

