/* ============================================================
   Tabred Company — main stylesheet (mobile-first)
   Palette: ink navy / brand blue / cold cyan / frost / steel
   Type: Archivo (display) · Inter (body) · IBM Plex Mono (data)
   Signature: blueprint hero + cyan→blue "temperature line"
   ============================================================ */

:root {
  --ink:    #0b1b33;
  --ink-2:  #122a4d;
  --brand:  #2e62e8;
  --brand-d:#1e4bc4;
  --cyan:   #1fb9d6;
  --frost:  #eef4fb;
  --paper:  #ffffff;
  --steel:  #56677f;
  --line:   #dbe4f0;
  --ok:     #167d4e;
  --err:    #b3261e;

  --font-display: 'Archivo', 'Noto Kufi Arabic', sans-serif;
  --font-body:    'Inter', 'Noto Kufi Arabic', sans-serif;
  --font-mono:    'IBM Plex Mono', 'Noto Kufi Arabic', monospace;

  --radius: 10px;
  --shadow: 0 8px 28px rgba(11, 27, 51, .10);
  --temp-line: linear-gradient(90deg, var(--cyan), var(--brand));
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

.container { width: min(1150px, 100% - 2.5rem); margin-inline: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
}

/* Mono eyebrow — the spec-sheet voice */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: '';
  width: 2rem; height: 2px;
  background: var(--temp-line);
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: .8rem 1.7rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-d); transform: translateY(-1px); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--frost); }

/* ---- Topbar ---- */
.topbar { background: var(--ink); color: #b9c6da; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar a { color: #b9c6da; margin-inline-end: 1.2rem; }
.topbar a:hover { color: #fff; }
.topbar-lang a { margin-inline-end: 0; margin-inline-start: .9rem; font-weight: 500; }
.topbar-lang a.active { color: var(--cyan); }

/* ---- Header / nav ---- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; gap: 1rem; }
.brand img { height: 52px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a:not(.nav-cta) {
  color: var(--ink);
  font-weight: 500;
  font-size: .95rem;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:not(.nav-cta):hover,
.main-nav a.active { color: var(--brand); border-bottom-color: var(--cyan); }
.nav-cta { padding: .6rem 1.3rem; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute; top: 100%; inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: .6rem 1.25rem 1.2rem;
  }
  .main-nav.open { display: flex; }
  .main-nav a:not(.nav-cta) { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: .9rem; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---- Language modal ---- */
.lang-modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(11, 27, 51, .92);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.lang-modal-box {
  background: #fff; border-radius: 14px;
  padding: 2.5rem 2rem; text-align: center;
  max-width: 420px; width: 100%;
  box-shadow: var(--shadow);
}
.lang-modal-logo { height: 60px; width: auto; margin: 0 auto 1.2rem; }
.lang-modal-box h2 { margin-bottom: .4rem; }
.lang-modal-box p { color: var(--steel); font-size: .9rem; margin-bottom: 1.5rem; }
.lang-modal-options { display: grid; gap: .7rem; }
.lang-option {
  display: block; padding: .85rem;
  border: 2px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  transition: border-color .15s, background .15s;
}
.lang-option:hover { border-color: var(--brand); background: var(--frost); }

/* ============================================================
   HERO — blueprint field: navy + engineering grid + gauge stats
   ============================================================ */
.hero {
  position: relative;
  background:
    linear-gradient(rgba(46, 98, 232, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 98, 232, .06) 1px, transparent 1px),
    linear-gradient(rgba(31, 185, 214, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 185, 214, .12) 1px, transparent 1px),
    linear-gradient(160deg, var(--ink) 55%, var(--ink-2));
  background-size: 24px 24px, 24px 24px, 120px 120px, 120px 120px, 100% 100%;
  color: #fff;
  overflow: hidden;
}
.hero::after {              /* temperature line along the bottom edge */
  content: '';
  position: absolute; bottom: 0; inset-inline: 0; height: 3px;
  background: var(--temp-line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
}
.hero-inner {
  padding: 4.5rem 0 4rem;
  max-width: 720px;
}
.hero-art { display: none; }
@media (min-width: 940px) {
  .hero-art { display: block; padding: 2.5rem 0 2rem; }
  .hero-art img {
    width: 100%; height: auto;
    filter: drop-shadow(0 0 22px rgba(31, 185, 214, .12));
    animation: heroFloat 7s ease-in-out infinite;
  }
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.hero .eyebrow { color: var(--cyan); }
.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  font-weight: 800;
  margin: 1rem 0 1.1rem;
  color: #fff;
}
.hero p { color: #b9c6da; font-size: 1.06rem; max-width: 560px; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.9rem; }

/* Gauge-readout stats — container-bounded strip, 2×2 on mobile */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(185, 198, 218, .22);
  border: 1px solid rgba(185, 198, 218, .22);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  position: relative; z-index: 1;
}
@media (min-width: 700px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
}
.hero-stat {
  background: rgba(11, 27, 51, .72);
  padding: 1.1rem 1.3rem;
  min-width: 0;                     /* let cells shrink instead of overflowing */
  text-align: center;
}
.hero-stat b {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 4.5vw, 1.55rem);
  font-weight: 500;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;   /* stable width while counting up */
  white-space: nowrap;
}
.hero-stat span {
  display: block;
  font-size: .74rem; color: #8fa2bd; letter-spacing: .04em;
  overflow-wrap: break-word;
}
@media (max-width: 420px) {
  .hero-stat { padding: .9rem .6rem; }
}

/* ---- Sections ---- */
.section { padding: 4.2rem 0; }
.section.alt { background: var(--frost); }
.section-head { max-width: 620px; margin-bottom: 2.6rem; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: .8rem 0 .5rem; }
.section-head p { color: var(--steel); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* ---- Service cards ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.3rem;
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}
.service-card::before {      /* temperature line reveal on hover */
  content: '';
  position: absolute; top: 0; inset-inline: 0; height: 3px;
  background: var(--temp-line);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleX(1); }
a.service-card { color: var(--ink); display: flex; flex-direction: column; }
a.service-card .view-link {
  margin-top: auto; padding-top: 1rem;
  color: var(--brand); font-weight: 600; font-size: .88rem;
  opacity: 0; transform: translateX(-4px);
  transition: opacity .2s, transform .2s;
}
a.service-card:hover .view-link { opacity: 1; transform: translateX(0); }
.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--frost);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.service-card p { color: var(--steel); font-size: .92rem; }

/* ---- Project cards ---- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.project-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-thumb {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(rgba(31,185,214,.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,185,214,.15) 1px, transparent 1px),
    linear-gradient(150deg, var(--ink-2), var(--ink));
  background-size: 28px 28px, 28px 28px, 100% 100%;
  position: relative;
}
.project-thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-thumb .type-badge {
  position: absolute; top: .8rem; inset-inline-start: .8rem;
  background: rgba(11, 27, 51, .78);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 5px;
}
.project-body { padding: 1.3rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.project-body h3 { font-size: 1.08rem; }
.project-body .proj-meta { color: var(--steel); font-size: .85rem; }
.project-body .view-link {
  margin-top: auto; padding-top: .7rem;
  font-weight: 600; font-size: .9rem;
}

/* Portfolio filters */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.2rem; }
.filter-btn {
  border: 1px solid var(--line); background: var(--paper);
  border-radius: 100px; padding: .45rem 1.1rem;
  font-family: var(--font-body); font-size: .88rem; color: var(--steel);
  cursor: pointer;
  transition: all .15s;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.empty-note { color: var(--steel); padding: 2rem 0; }

/* ---- Mini about (home page) ---- */
.about-mini-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 880px) {
  .about-mini-grid { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; }
}
.about-mini-text h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  margin: .8rem 0 1rem;
}
.about-mini-text p { color: var(--steel); }
.about-mini-mission {
  margin: 1rem 0 1.6rem;
  padding-inline-start: 1rem;
  border-inline-start: 3px solid var(--cyan);
  font-weight: 500;
  color: var(--ink) !important;
}
.about-mini-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 560px) {
  .about-mini-points { grid-template-columns: 1fr 1fr; }
}
.about-mini-point {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.about-mini-point .point-check {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--frost); color: var(--brand);
  font-size: .85rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: .15rem;
}
.about-mini-point h3 { font-size: .95rem; margin-bottom: .25rem; }
.about-mini-point p { font-size: .84rem; color: var(--steel); margin: 0; }

/* ---- CTA band ---- */
.cta-band {
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(120deg, var(--brand-d), var(--brand));
  background-size: 26px 26px, 26px 26px, 100% 100%;
  color: #fff;
  text-align: center;
  padding: 3.8rem 0;
}
.cta-band h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin-bottom: .6rem; }
.cta-band p { color: #d9e4ff; margin-bottom: 1.7rem; }

/* ---- Page hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(160deg, var(--ink) 60%, var(--ink-2));
  color: #fff;
  padding: 3rem 0;
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; inset-inline: 0; height: 3px;
  background: var(--temp-line);
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: .8rem 0 .4rem; }
.page-hero p { color: #b9c6da; max-width: 560px; }
.page-hero .eyebrow { color: var(--cyan); }

/* ---- About ---- */
.two-col { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 800px) { .two-col { grid-template-columns: 1fr 1fr; } }
.about-block h3 { margin-bottom: .6rem; }
.about-block p + p { margin-top: .9rem; }
.mv-cards { display: grid; gap: 1.3rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .mv-cards { grid-template-columns: 1fr 1fr; } }
.mv-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.5rem;
}
.mv-card h3 { color: var(--brand); font-size: 1.05rem; margin-bottom: .5rem; }
.mv-card p { color: var(--steel); font-size: .93rem; }

.why-grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.why-card { padding: 1.5rem; border-inline-start: 3px solid var(--cyan); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: 0 2px 12px rgba(11,27,51,.06); }
.why-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.why-card p { color: var(--steel); font-size: .9rem; }

/* ---- Project detail ---- */
.detail-grid { display: grid; gap: 2.4rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .detail-grid { grid-template-columns: 2fr 1fr; } }
.detail-meta {
  background: var(--frost); border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  align-self: start;
}
.detail-meta dl { display: grid; gap: .9rem; margin: 0; }
.detail-meta dt {
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--steel);
}
.detail-meta dd { margin: 0; font-weight: 600; }

/* Spec-sheet equipment table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.equip-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 640px; }
.equip-table th {
  background: var(--ink); color: #fff;
  font-family: var(--font-mono); font-weight: 500;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .75rem 1rem; text-align: start;
}
.equip-table td { padding: .75rem 1rem; border-top: 1px solid var(--line); }
.equip-table tbody tr:nth-child(even) { background: var(--frost); }
.equip-table td.num { font-family: var(--font-mono); }

.map-box { height: 380px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); z-index: 1; }
.photo-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.photo-grid img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* Clickable photos → lightbox */
.lightbox-item { display: block; position: relative; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; }
.lightbox-item img { transition: transform .25s; display: block; }
.lightbox-item::after {
  content: '⤢';
  position: absolute; top: .6rem; inset-inline-end: .6rem;
  width: 32px; height: 32px;
  background: rgba(11, 27, 51, .65); color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  opacity: 0; transition: opacity .2s;
}
.lightbox-item:hover img { transform: scale(1.04); }
.lightbox-item:hover::after { opacity: 1; }

/* Lightbox overlay */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(11, 27, 51, .94);
  display: flex; align-items: center; justify-content: center;
  padding: 2.5rem 1rem 3.5rem;
}
.lightbox-overlay img {
  max-width: min(94vw, 1200px);
  max-height: 82vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.lightbox-caption {
  position: absolute; bottom: 1.1rem; inset-inline: 0;
  text-align: center; color: #b9c6da; font-size: .9rem;
  padding: 0 4rem;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.3rem; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, .25); }
.lightbox-close { top: 1rem; inset-inline-end: 1rem; }
.lightbox-prev  { inset-inline-start: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next  { inset-inline-end: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 560px) {
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; }
}

/* ---- Forms ---- */
.form-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem 1.6rem;
  box-shadow: 0 2px 14px rgba(11,27,51,.05);
}
.form-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 680px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .35rem; }
.field label .req { color: var(--err); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="number"], .field input[type="file"], .field select, .field textarea {
  width: 100%;
  padding: .7rem .9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: .78rem; color: var(--steel); margin-top: .3rem; }
.radio-row { display: flex; gap: 1.4rem; align-items: center; padding: .45rem 0; }
.radio-row label { font-weight: 500; margin: 0; display: flex; align-items: center; gap: .4rem; }
.form-note { font-size: .8rem; color: var(--steel); }

/* Honeypot: invisible to humans, present for bots */
.hp-field {
  position: absolute !important;
  inset-inline-start: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
}
.map-pick { height: 300px; border-radius: 8px; border: 1px solid var(--line); margin-top: .5rem; z-index: 1; }

/* Alerts */
.alert { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.5rem; font-size: .94rem; }
.alert-success { background: #e7f6ee; color: var(--ok); border: 1px solid #bfe5d0; }
.alert-error   { background: #fdeceb; color: var(--err); border: 1px solid #f5c6c3; }

/* ---- Service detail page ---- */
.svc-features li {
  padding: .6rem 0 .6rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.svc-features li::before {
  content: '✓';
  position: absolute; inset-inline-start: 0; top: .55rem;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--frost); color: var(--brand);
  font-size: .8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.svc-side-card {
  background: var(--ink); color: #fff;
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
}
.svc-side-card .service-icon { background: rgba(31,185,214,.15); color: var(--cyan); }
.svc-side-card h3 { color: #fff; margin: 1rem 0 .5rem; }
.svc-side-card p { color: #b9c6da; font-size: .9rem; margin-bottom: 1.2rem; }
.svc-other-list li { border-bottom: 1px solid var(--line); }
.svc-other-list a {
  display: flex; align-items: center; gap: .7rem;
  padding: .65rem .2rem;
  color: var(--ink); font-weight: 500; font-size: .93rem;
}
.svc-other-list a:hover { color: var(--brand); }

/* ---- Contact ---- */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 3fr 2fr; } }
.contact-info-card {
  background: var(--ink); color: #fff;
  border-radius: var(--radius); padding: 2rem 1.7rem;
}
.contact-info-card h3 { color: #fff; margin-bottom: 1.2rem; }
.contact-info-card ul li { display: flex; gap: .8rem; margin-bottom: 1rem; color: #b9c6da; font-size: .94rem; }
.contact-info-card a { color: var(--cyan); }
.contact-social { display: flex; gap: .8rem; margin-top: 1.4rem; flex-wrap: wrap; }
.contact-social a {
  border: 1px solid rgba(185,198,218,.35); border-radius: 100px;
  padding: .4rem 1rem; font-size: .85rem; color: #fff;
}
.contact-social a:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #b9c6da; margin-top: 0; }
.footer-topline { height: 3px; background: var(--temp-line); }
.footer-grid {
  display: grid; gap: 2.2rem;
  grid-template-columns: 1fr;
  padding: 3.2rem 0 2.4rem;
}
@media (min-width: 620px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: 1.8fr 1fr 1.1fr 1.4fr; } }
.btn-footer-cta { margin-top: 1.1rem; }
.footer-logo { height: 46px; width: auto; margin-bottom: 1rem; background: #fff; padding: .35rem .6rem; border-radius: 8px; }
.footer-col h4 {
  color: #fff; font-family: var(--font-mono); font-weight: 500;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col p { font-size: .9rem; }
.footer-col ul li { margin-bottom: .55rem; font-size: .9rem; }
.footer-col a { color: #b9c6da; }
.footer-col a:hover { color: var(--cyan); }
.footer-social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(185,198,218,.3); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #b9c6da;
  transition: border-color .15s, color .15s, background .15s;
}
.footer-social a:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(31,185,214,.08); }
.footer-bottom {
  border-top: 1px solid rgba(185,198,218,.15);
  padding: 1.1rem 0; font-size: .82rem;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
}
.footer-langs a { color: #8fa2bd; }
.footer-langs a:hover { color: var(--cyan); }

/* ---- Utility ---- */
.mt-2 { margin-top: 2rem; }
.center { text-align: center; }


.hero-art img {
    border-radius: 20px;
}