/* ----------------------------------------------------
   SENTRATECH Marketing Site – Global Styles
   ---------------------------------------------------- */

/*  Reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.15), #020617);
  color: #e5e7eb;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Utility layout shell */
.shell {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
}

/* ----------------------------------------------------
   Header / Navigation
   ---------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.85));
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  height: 50px;
  width: auto;
  border-radius: 0.5rem;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), #020617);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-kicker {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
}

.brand-wordmark {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.main-nav a {
  position: relative;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  color: #cbd5f5;
  border: 1px solid transparent;
  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.1s ease;
}

.main-nav a:hover {
  color: #e5f2ff;
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(148, 163, 184, 0.6);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.5);
  transform: translateY(-1px);
}

.main-nav a.active {
  background: radial-gradient(circle at top left, #38bdf8, #0ea5e9);
  color: #0b1220;
  border-color: transparent;
  box-shadow:
    0 12px 30px rgba(8, 47, 73, 0.7),
    0 0 0 1px rgba(15, 23, 42, 0.5);
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

/* ----------------------------------------------------
   Hero sections
   ---------------------------------------------------- */

.hero {
  flex: 1 0 auto;
  padding: 3rem 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-left h1 {
  font-size: clamp(2.3rem, 3vw, 2.8rem);
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.hero-left h1 span.highlight {
  background: linear-gradient(to right, #38bdf8, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.05rem;
  color: #cbd5f5;
  max-width: 30rem;
  margin-bottom: 1.25rem;
}

.hero-tagline {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-right {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 360px;
  border-radius: 1.2rem;
  padding: 1.25rem 1.2rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.2), rgba(15, 23, 42, 0.95));
  box-shadow:
    0 20px 60px rgba(15, 23, 42, 0.9),
    0 0 30px rgba(56, 189, 248, 0.25);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.hero-card-logo {
  height: 40px;
  width: 40px;
  border-radius: 0.9rem;
  background: radial-gradient(circle at top, #38bdf8, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5f2ff;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.8);
}

.hero-card-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-card-subtitle {
  font-size: 0.75rem;
  color: #9ca3af;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.35rem 0 0.75rem;
}

.hero-pill {
  font-size: 0.72rem;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
}

.hero-card-body {
  font-size: 0.85rem;
  color: #cbd5f5;
  margin-bottom: 0.75rem;
}

.hero-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: #9ca3af;
}

.hero-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.hero-dot span.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #4ade80;
  box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.25);
}

/* Smaller heroes (other pages) */

.hero-simple {
  padding: 2.5rem 0 3.25rem;
}

.hero-simple h1 {
  font-size: clamp(1.9rem, 2.5vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.hero-simple p.lead {
  font-size: 1rem;
  max-width: 40rem;
  color: #cbd5f5;
}

/* ----------------------------------------------------
   Buttons
   ---------------------------------------------------- */

.cta-button,
.button,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.18s ease,
    transform 0.12s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.cta-button,
.button-primary {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #020617;
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(15, 23, 42, 0.8);
}

.cta-button:hover,
.button-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 22px 55px rgba(15, 23, 42, 1),
    0 0 0 1px rgba(8, 47, 73, 0.9);
}

.btn-outline {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.7);
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 1);
  transform: translateY(-1px);
}

/* ----------------------------------------------------
   Shared content layout
   ---------------------------------------------------- */

.page-section {
  padding: 1.5rem 0 3rem;
}

.section-heading {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.section-lead {
  font-size: 0.95rem;
  color: #cbd5f5;
  max-width: 40rem;
}

/* Two-column content */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .hero-inner,
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ----------------------------------------------------
   Services grid
   ---------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  border-radius: 1.2rem;
  padding: 1.3rem 1.25rem 1.3rem;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow:
    0 16px 45px rgba(15, 23, 42, 0.95),
    0 0 30px rgba(15, 23, 42, 0.5);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.16s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px) translateZ(0);
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow:
    0 24px 55px rgba(15, 23, 42, 1),
    0 0 40px rgba(56, 189, 248, 0.18);
}

.service-card:hover::before {
  opacity: 1;
}

.service-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #93c5fd;
  letter-spacing: 0.16em;
  margin-bottom: 0.35rem;
}

.service-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.service-body {
  font-size: 0.9rem;
  color: #cbd5f5;
  margin-bottom: 0.7rem;
}

.service-meta {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.8rem;
}

.service-logo {
  margin-bottom: 0.75rem;
}

.service-logo img {
  max-width: 150px;
  height: auto;
}

/* ----------------------------------------------------
   Contact / Forms
   ---------------------------------------------------- */

.contact-section {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2.25rem;
}

@media (max-width: 880px) {
  .contact-section {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-section form {
  margin-top: 0.75rem;
}

.contact-table {
  width: 100%;
  border-spacing: 0.35rem 0.75rem;
}

.contact-table td {
  font-size: 0.9rem;
  vertical-align: top;
}

.contact-table input,
.contact-table textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 0.9rem;
}

.contact-table input:focus,
.contact-table textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.7);
}

.contact-table textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info {
  font-size: 0.9rem;
  color: #cbd5f5;
}

/* ----------------------------------------------------
   Privacy page
   ---------------------------------------------------- */

.privacy {
  margin-top: 1.25rem;
  padding: 1.25rem 1.3rem 1.5rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.95);
  font-size: 0.9rem;
  line-height: 1.7;
  color: #d1d5db;
}

/* ----------------------------------------------------
   Lists / misc
   ---------------------------------------------------- */

.hero ul,
.page-section ul {
  margin: 0.35rem 0 0.85rem 1.2rem;
  padding: 0;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.hero li,
.page-section li {
  margin-bottom: 0.25rem;
}

/* ----------------------------------------------------
   Footer
   ---------------------------------------------------- */

footer {
  padding: 1.25rem 1.25rem 1.5rem;
  font-size: 0.8rem;
  color: #9ca3af;
  border-top: 1px solid rgba(30, 64, 175, 0.5);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), #020617 60%);
  margin-top: auto;
}

footer .shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0;
  padding-bottom: 0;
}

footer a {
  color: #bfdbfe;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  footer .shell {
    flex-direction: column;
    align-items: flex-start;
  }
}
