/* =========================================================
   Trimatric Servers — Global Stylesheet (HTML5 / CSS3)
   Light Yellow-White Theme
   ========================================================= */

:root {
  --bg: #fffaf1;
  --bg-2: #f9f3e3;
  --bg-3: #f1e9d2;
  --surface: rgba(255, 253, 247, 0.85);
  --surface-2: rgba(20, 34, 70, 0.05);
  --surface-solid: #ffffff;
  --border: rgba(84, 94, 128, 0.16);
  --border-strong: rgba(84, 94, 128, 0.28);
  --text: #232a3d;
  --muted: #5c6680;
  --accent: #0e94b8;
  --accent-strong: #0b7ea0;
  --accent-2: #4f46e5;
  --violet: #8720cf;
  --green: #16a34a;
  --amber: #d97706;
  --rose: #e11d48;
  --gradient: linear-gradient(135deg, #0ea5e9 0%, #4f46e5 55%, #8b2fe0 100%);
  --gradient-soft: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(79, 70, 229, 0.12), rgba(139, 47, 224, 0.12));
  --heading-grad: linear-gradient(120deg, #171e33, #3a4a7d);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 22px 55px rgba(120, 90, 30, 0.16);
  --shadow-accent: 0 14px 42px rgba(14, 165, 233, 0.35);
  --nav-h: 76px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-head: "Sora", "Inter", "Segoe UI", system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

::selection {
  background: rgba(14, 165, 233, 0.22);
  color: #10152a;
}

::-webkit-scrollbar {
  width: 11px;
}
::-webkit-scrollbar-track {
  background: var(--bg-2);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 10px;
  border: 2px solid var(--bg-2);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--accent-strong);
}

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

ul {
  list-style: none;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 46px rgba(14, 165, 233, 0.45);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: rgba(14, 165, 233, 0.08);
  color: var(--text);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.86rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ---------- Section helpers ---------- */
.section {
  padding: 110px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-strong);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.28);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 16px;
  background: var(--heading-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.nav.scrolled {
  background: rgba(255, 250, 241, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
  box-shadow: 0 8px 30px rgba(120, 90, 30, 0.12);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-accent);
  flex-shrink: 0;
}

.logo-mark span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
}

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

.brand-text strong {
  font-family: var(--font-head);
  font-size: 1.08rem;
  letter-spacing: 0.4px;
  color: var(--text);
}

.brand-text small {
  font-size: 0.66rem;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 999px;
  position: relative;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.nav-links a.active {
  color: var(--text);
  background: rgba(14, 165, 233, 0.14);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
}

.nav-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--surface-solid);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 80px;
}

#hero-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 55% at 75% 20%, rgba(79, 70, 229, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 75%, rgba(14, 165, 233, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255, 250, 241, 0.45) 0%, var(--bg) 92%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.4px;
  margin-bottom: 26px;
  box-shadow: 0 6px 18px rgba(120, 90, 30, 0.08);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(22, 163, 74, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  line-height: 1.12;
  margin-bottom: 22px;
  color: var(--text);
}

.hero-sub {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

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

.hero-meta .stat {
  display: flex;
  flex-direction: column;
}

.hero-meta .stat b {
  font-family: var(--font-head);
  font-size: 1.7rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-meta .stat span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Hero visual card stack */
.hero-visual {
  position: relative;
}

.visual-card {
  position: relative;
  background: var(--surface-solid);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.visual-card.glow {
  border-color: rgba(14, 165, 233, 0.45);
}

.visual-card h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--text);
}

.visual-card h3 svg {
  color: var(--accent);
}

.uptime-ring {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.ring {
  position: relative;
  width: 84px;
  height: 84px;
  flex-shrink: 0;
}

.ring circle {
  fill: none;
  stroke-width: 8;
}

.ring .bg {
  stroke: rgba(20, 34, 70, 0.12);
}

.ring .fg {
  stroke: url(#ringGrad);
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: center;
  animation: fillRing 2s ease forwards;
}

@keyframes fillRing {
  from { stroke-dashoffset: 264; }
}

.ring b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 0.94rem;
  color: var(--text);
}

.bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(20, 34, 70, 0.1);
  overflow: hidden;
  margin: 10px 0 8px;
}

.bar > i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--gradient);
  width: 0;
  animation: growBar 1.6s ease forwards;
}

@keyframes growBar {
  to { width: var(--w); }
}

.bar-row span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* floating chips */
.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow);
  z-index: 3;
}

.float-chip svg {
  color: var(--accent);
}

.fc-1 {
  top: -22px;
  right: 4%;
  animation: floaty 5.5s ease-in-out infinite;
}
.fc-2 {
  bottom: 14%;
  left: -30px;
  animation: floaty 6.5s ease-in-out 0.8s infinite;
}
.fc-3 {
  bottom: -20px;
  right: 6%;
  animation: floaty 7s ease-in-out 1.6s infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Marquee / trust strip ---------- */
.trust-strip {
  border-block: 1px solid var(--border);
  background: rgba(255, 253, 247, 0.6);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}

.trust-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg), transparent 18%, transparent 82%, var(--bg));
  pointer-events: none;
}

.marquee {
  display: flex;
  width: max-content;
  gap: 56px;
  animation: marquee 28s linear infinite;
}

.marquee span {
  font-family: var(--font-head);
  font-size: 0.98rem;
  letter-spacing: 1px;
  color: var(--muted);
  white-space: nowrap;
}

.marquee span i {
  font-style: normal;
  color: var(--accent);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Services grid (legacy cards) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  position: relative;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(14, 165, 233, 0.5);
  box-shadow: var(--shadow);
}

.svc-icon {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--gradient-soft);
  border: 1px solid var(--border-strong);
  margin-bottom: 22px;
  color: var(--accent);
  transition: transform 0.35s ease;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.svc-tags li {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.1);
  border: 1px solid rgba(79, 70, 229, 0.26);
  color: #4338ca;
}

a.service-card {
  display: block;
  color: inherit;
  cursor: pointer;
}

a.service-card:hover {
  color: inherit;
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.18rem;
  margin-bottom: 10px;
  color: var(--text);
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-card .card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}

.service-card .card-cta svg {
  transition: transform 0.25s ease;
}

.service-card:hover .card-cta svg {
  transform: translateX(4px);
}

.service-card .for-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(217, 119, 6, 0.1);
  border: 1px solid rgba(217, 119, 6, 0.3);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Product groups (themed sections) ---------- */
.product-group {
  margin-bottom: 88px;
}

.product-group:last-child {
  margin-bottom: 0;
}

.product-group + .product-group {
  border-top: 1px solid var(--border);
  padding-top: 88px;
}

.group-head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.group-icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 16px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--accent);
}

.group-body .eyebrow {
  margin-bottom: 10px;
}

.group-body h3 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  margin-bottom: 8px;
  color: var(--text);
}

.group-body p {
  color: var(--muted);
  max-width: 640px;
  font-size: 0.98rem;
}

/* ---------- Product sections (per product, two columns) ---------- */
.product-sections {
  display: grid;
  gap: 20px;
}

.product-section {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 34px;
  align-items: center;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 36px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
  position: relative;
}

.product-section:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.5);
  box-shadow: var(--shadow);
}

.topline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.topline .num {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.topline .svc-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 0;
}

.product-info h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--text);
}

.product-info p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 560px;
}

.product-info .svc-tags {
  margin-top: 18px;
}

.product-panel {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 26px;
}

.product-panel h4 {
  font-family: var(--font-head);
  color: var(--accent-strong);
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.product-panel p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.product-panel .btn {
  width: 100%;
  justify-content: center;
}

/* ---------- Features / Why us ---------- */
.features {
  background: var(--bg-2);
  border-block: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-item {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.5);
}

.feature-item svg {
  color: var(--accent);
  margin-bottom: 16px;
}

.feature-item h4 {
  font-family: var(--font-head);
  font-size: 1.04rem;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-item p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Stack / plans strip ---------- */
.stack-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
  align-items: center;
}

.stack-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.stack-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.stack-item svg {
  flex-shrink: 0;
  color: var(--green);
  margin-top: 3px;
}

.stack-item b {
  display: block;
  font-family: var(--font-head);
  margin-bottom: 4px;
  color: var(--text);
}

.stack-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
}

.cta-card {
  position: relative;
  border-radius: 26px;
  padding: 74px 60px;
  text-align: center;
  border: 1px solid rgba(14, 165, 233, 0.35);
  background:
    radial-gradient(ellipse 60% 120% at 50% -20%, rgba(79, 70, 229, 0.14), transparent 60%),
    var(--surface-solid);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(20, 34, 70, 0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.3;
}

.cta-card h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  margin-bottom: 14px;
  position: relative;
  color: var(--text);
}

.cta-card p {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 32px;
  position: relative;
}

.cta-card .hero-actions {
  justify-content: center;
  margin: 0;
  position: relative;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 50px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 18px 0 22px;
  max-width: 320px;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--surface-solid);
  transition: all 0.3s ease;
}

.socials a:hover {
  color: var(--accent-strong);
  border-color: var(--accent);
  background: rgba(14, 165, 233, 0.1);
  transform: translateY(-3px);
}

.footer h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  margin-bottom: 18px;
  color: var(--text);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.93rem;
}

.footer-links a:hover {
  color: var(--accent-strong);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-contact svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-bottom b {
  color: var(--text);
}

/* =========================================================
   Page head (About / Contact)
   ========================================================= */
.page-head {
  position: relative;
  padding: calc(var(--nav-h) + 86px) 0 70px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 55% 70% at 80% 10%, rgba(79, 70, 229, 0.12), transparent 60%),
    radial-gradient(ellipse 45% 60% at 10% 90%, rgba(14, 165, 233, 0.1), transparent 60%);
}

.page-head-inner {
  position: relative;
}

.page-head h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 14px;
  color: var(--text);
}

.page-head p {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.06rem;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.page-head .breadcrumb {
  justify-content: center;
}

.breadcrumb a {
  color: var(--accent);
}

.legal-note {
  margin-top: 34px;
  background: rgba(217, 119, 6, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.3);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.7;
}

.legal-note svg {
  color: var(--amber);
  margin-right: 8px;
  vertical-align: -3px;
}

/* ---------- About page ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.about-intro h2 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.4vw, 2.4rem);
  margin-bottom: 18px;
  color: var(--text);
}

.about-intro p {
  color: var(--muted);
  margin-bottom: 16px;
}

.about-list {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.about-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.about-list svg {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 3px;
}

.about-list b {
  display: block;
  margin-bottom: 2px;
}

.about-list span {
  color: var(--muted);
  font-size: 0.94rem;
}

.snapshot-wrap {
  position: relative;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.snapshot-item {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.snapshot-item:hover {
  border-color: rgba(14, 165, 233, 0.5);
  transform: translateY(-4px);
}

.snapshot-item span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 700;
}

.snapshot-item b {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  word-break: break-word;
  color: var(--text);
}

.cin-badge {
  margin-top: 18px;
  background: var(--gradient-soft);
  border: 1px dashed rgba(14, 165, 233, 0.5);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-align: center;
}

.cin-badge span {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

.cin-badge b {
  font-family: var(--font-head);
  font-size: 1.25rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 70, 229, 0.5);
}

.value-card .svc-icon {
  margin: 0 auto 18px;
}

.value-card h3 {
  font-family: var(--font-head);
  margin-bottom: 10px;
  font-size: 1.15rem;
  color: var(--text);
}

.value-card p {
  color: var(--muted);
  font-size: 0.93rem;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.journey-step {
  position: relative;
  padding: 30px 26px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.journey-step .num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 10px;
}

.journey-step h4 {
  font-family: var(--font-head);
  margin-bottom: 8px;
  color: var(--text);
}

.journey-step p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}

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

.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.5);
}

.contact-card .svc-icon {
  margin-bottom: 0;
  width: 50px;
  height: 50px;
}

.contact-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text);
}

.contact-card p,
.contact-card a {
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-card a {
  color: var(--accent);
  word-break: break-all;
}

.contact-card a:hover {
  color: var(--accent-strong);
}

.reach-bar {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.form-wrap {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.form-wrap h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--text);
}

.form-wrap > p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
}

.field label span {
  color: var(--rose);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}

.field select option {
  background: var(--surface-solid);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--muted);
}

.form-success {
  display: none;
  margin-top: 14px;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.4);
  color: var(--green);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.form-success.show {
  display: block;
}

.map-wrap {
  margin-top: 30px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
}

.map-wrap iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
  filter: grayscale(0.05) contrast(1);
}

.map-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--surface-solid);
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--muted);
}

.map-note svg {
  color: var(--accent);
  flex-shrink: 0;
}

.hours-item {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.hours-item b {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--text);
}

.hours-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-visual {
    max-width: 520px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-intro {
    grid-template-columns: 1fr;
  }
  .journey-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 20px 6%;
    background: rgba(255, 250, 241, 0.98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-140%);
    transition: transform 0.35s ease;
    z-index: 999;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-links a {
    border-radius: 12px;
  }
  .nav-links a.active::after {
    display: none;
  }
  .nav-links a.active {
    background: rgba(14, 165, 233, 0.16);
  }
  .nav .btn {
    display: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .stack-cols {
    grid-template-columns: 1fr;
  }
  .product-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 76px 0;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .snapshot-grid {
    grid-template-columns: 1fr;
  }
  .cta-card {
    padding: 50px 26px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-meta {
    gap: 22px;
  }
  .float-chip.fc-2 {
    left: 0;
  }
  .brand-text small {
    display: none;
  }
  .product-section {
    padding: 26px 22px;
  }
  .group-head {
    flex-direction: column;
  }
}