:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-alt: #eef3f8;
  --text: #102033;
  --muted: #5f6f81;
  --line: rgba(16, 32, 51, 0.12);
  --brand: #125dff;
  --brand-dark: #0b3fb3;
  --brand-soft: rgba(18, 93, 255, 0.12);
  --shadow: 0 20px 50px rgba(16, 32, 51, 0.08);
  --radius: 24px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(18, 93, 255, 0.12), transparent 35%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
  line-height: 1.6;
}

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

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

.site-shell {
  min-height: 100vh;
}

.site-header,
.site-footer,
.hero,
.section {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand__mark {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.brand__text {
  display: grid;
  gap: 0.15rem;
}

.brand__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand__name {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.1;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.site-nav a {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--muted);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.site-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.site-cta:hover {
  transform: translateY(-1px);
  background: var(--brand-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: center;
  padding: 3rem 0 1.5rem;
}

.hero--stacked {
  grid-template-columns: 1fr;
  justify-items: start;
}

.hero__content {
  display: grid;
  gap: 1.25rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.hero h1,
.hero h2,
.section h2 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.9rem);
  max-width: 12ch;
}

.hero h2,
.section h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.lead,
.section p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.92rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
}

.button--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.75);
}

.button--ghost:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.hero__visual,
.panel,
.card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero__visual {
  padding: 1.25rem;
  border-radius: var(--radius);
}

.hero__visual img {
  border-radius: calc(var(--radius) - 6px);
  width: 100%;
  height: auto;
  object-fit: cover;
}

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

.section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section__header p {
  max-width: 58ch;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius);
  padding: 1.4rem;
}

.card h3,
.panel h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  line-height: 1.2;
}

.card p,
.panel p,
.list {
  color: var(--muted);
}

.service-list,
.list {
  margin: 0;
  padding-left: 1.2rem;
}

.service-list li,
.list li {
  margin: 0.45rem 0;
}

.panel {
  border-radius: var(--radius);
  padding: 1.5rem;
}

.panel--accent {
  background: linear-gradient(135deg, rgba(18, 93, 255, 0.1), rgba(255, 255, 255, 0.9));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: 1.25rem;
  align-items: stretch;
}

.split__media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.note {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  padding: 0 0 2rem;
}

.footer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(16, 32, 51, 0.95);
  color: #fff;
}

.footer-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 900px) {
  .site-header,
  .hero,
  .split,
  .grid--cards,
  .grid--two,
  .section__header,
  .footer-card {
    grid-template-columns: 1fr;
  }

  .site-header,
  .section__header,
  .footer-card {
    display: grid;
    justify-items: start;
  }

  .hero {
    padding-top: 1.5rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 1rem;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero h1 {
    max-width: none;
  }

  .card,
  .panel,
  .hero__visual {
    border-radius: 20px;
  }
}

/* Footer link styles: distinct colors for the developer link and phone link */
.footer-text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
}

.footer-text a {
  text-decoration: none;
  transition: color 150ms ease;
}

.footer-text a.seniratech-link {
  /* changed from blue to gold (normal) */
  color: #D4AF37;
  font-weight: 700;
}

.footer-text a.seniratech-link:hover {
  /* hover: attractive green */
  color: #2ecc71;
}

.footer-text a.phone-link {
  /* phone normal: green */
  color: #2ecc71;
  font-weight: 700;
}

.footer-text a.phone-link:hover {
  /* phone hover: gold */
  color: #D4AF37;
}