:root {
  --primary: #0f1c3f;
  --primary-light: #182c5d;
  --accent: #00b4d8;
  --accent-glow: rgba(0, 180, 216, 0.25);
  --gold: #f4a261;
  --paper: #f0f4f8;
  --ink: #101820;
  --line: #cbd5e1;
  --white: #ffffff;
  --head: 'Outfit', sans-serif;
  --hand: 'Caveat', cursive;
  --body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --header-h: 84px;
  --top-h: 40px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }

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

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ================= Top bar ================= */
.topbar { background: var(--primary); color: #cbd5e1; font-size: 13.5px; height: var(--top-h); }
.topbar .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.tb-left { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.tb-left i { font-style: normal; opacity: 0.4; }
.tb-right { display: flex; align-items: center; gap: 22px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: #e2e8f0; font-weight: 600; transition: color 0.2s ease; }
.topbar a:hover { color: var(--accent); }
.topbar svg { width: 15px; height: 15px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ================= Header ================= */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  z-index: 100;
  transition: box-shadow 0.3s ease;
}
header.scrolled { box-shadow: 0 6px 20px rgba(15, 28, 63, 0.08); }
header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent), var(--gold));
  background-size: 300% 100%;
  animation: lineSlide 8s linear infinite;
}
header.scrolled .wrap { min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
header.scrolled .brand-logo { height: 40px; }
.brand-logo { transition: height 0.3s ease; animation: logoGlow 3.5s ease-in-out infinite; }
.call-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 50px;
  background: var(--primary); color: var(--white);
  font-weight: 700; font-size: 14.5px; text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.call-pill svg { width: 16px; height: 16px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: ring 3s ease-in-out infinite; transform-origin: 50% 50%; }
.call-pill:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 18px var(--accent-glow); }

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand-logo { height: 48px; width: auto; object-fit: contain; display: block; }
.brand b { font-family: var(--head); font-size: 21px; color: var(--primary); display: block; line-height: 1.15; letter-spacing: -0.01em; }
.brand small { display: block; margin-top: 2px; font-size: 12px; color: #64748b; font-weight: 500; line-height: 1.3; }

nav { display: flex; gap: 28px; font-size: 15px; font-weight: 600; }
nav a { text-decoration: none; color: var(--primary); position: relative; padding: 6px 0; transition: color 0.25s ease; }
nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background: var(--accent); transition: width 0.3s ease; }
nav a:hover, nav a.active { color: var(--accent); }
nav a:hover::after, nav a.active::after { width: 100%; }

/* ================= Hero (full screen) ================= */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - var(--top-h));
  min-height: calc(100svh - var(--header-h) - var(--top-h));
  display: flex;
  align-items: center;
  padding: 90px 0 170px;
  background: #0b132b;
  color: var(--white);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: -20px; z-index: 0; transition: transform 0.4s ease-out; }
.hero-bg .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 1.4s ease, transform 8s ease-out;
}
.hero-bg .slide.on { opacity: 1; transform: scale(1); }

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(11, 19, 43, 0.95) 0%, rgba(11, 19, 43, 0.82) 48%, rgba(11, 19, 43, 0.5) 100%),
    linear-gradient(0deg, rgba(11, 19, 43, 0.7) 0%, rgba(11, 19, 43, 0) 40%);
}

/* soft light that follows the mouse */
.glow {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 620px;
  height: 620px;
  margin: -310px 0 0 -310px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.28) 0%, rgba(0, 180, 216, 0) 65%);
  pointer-events: none;
  transform: translate(75vw, 30vh);
  transition: transform 0.25s ease-out;
}

.ecg { position: absolute; left: 0; bottom: 90px; width: 100%; height: 110px; z-index: 2; pointer-events: none; opacity: 0.4; }
.ecg path {
  fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1400; stroke-dashoffset: 1400;
  animation: ecgDraw 5s ease-in-out infinite;
}

.hero-inner { position: relative; z-index: 3; }

.badge {
  display: inline-block;
  padding: 7px 16px;
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

h1 {
  font-family: var(--head);
  font-size: clamp(38px, 6.2vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 14em;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.rot-line { display: block; min-height: 1.15em; }
.rot {
  display: inline-block;
  color: var(--accent);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.rot.out { opacity: 0; transform: translateY(-16px); }

.hero p {
  max-width: 48ch;
  color: #b4c0d3;
  font-size: 19px;
  line-height: 1.75;
  margin-bottom: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

/* ================= Feature strip ================= */
.strip {
  position: relative;
  z-index: 5;
  margin-top: -80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 25px 50px -12px rgba(15, 28, 63, 0.22);
}
.strip-item { display: flex; align-items: center; gap: 16px; padding: 30px 28px; border-right: 1px solid var(--line); }
.strip-item:last-child { border-right: 0; }
.strip-item .ico { flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: rgba(0, 180, 216, 0.12); }
.strip-item .ico svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.strip-item h3 { font-family: var(--head); font-size: 17px; color: var(--primary); line-height: 1.3; }
.strip-item p { font-size: 14px; color: #64748b; line-height: 1.45; }

/* ================= Sections ================= */
section { padding: 110px 0; }
.wrap + section#products, section#products { padding-top: 100px; }

h2.t { font-family: var(--head); font-size: clamp(28px, 3.5vw, 40px); line-height: 1.2; color: var(--primary); margin-bottom: 16px; letter-spacing: -0.02em; }
.lead { max-width: 62ch; color: #475569; font-size: 18px; line-height: 1.75; margin-bottom: 56px; }

.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }

.note {
  font-size: 14px; line-height: 1.7; color: #64748b; margin-top: 40px; max-width: 70ch;
  background: rgba(0, 180, 216, 0.08); padding: 16px 20px; border-left: 4px solid var(--accent); border-radius: 0 8px 8px 0;
}

/* ================= Flip cards ================= */
.flip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.flip { height: 400px; perspective: 1200px; cursor: pointer; border-radius: 18px; }
.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.85s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}
.flip.flipped .flip-inner,
.flip:focus-visible .flip-inner { transform: rotateY(180deg); }

@media (hover: hover) {
  .flip:hover .flip-inner { transform: rotateY(180deg); }
}

.flip-front, .flip-back {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 18px 40px -14px rgba(15, 28, 63, 0.35);
}

.flip-front { background: linear-gradient(145deg, #1c2541, #0f1c3f); }
.fb-ico { position: absolute; top: 50%; left: 50%; width: 90px; height: 90px; margin: -60px 0 0 -45px; fill: none; stroke: rgba(0, 180, 216, 0.5); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.flip-front img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flip-front::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 19, 43, 0) 35%, rgba(11, 19, 43, 0.9) 100%); }
.flip-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; z-index: 2; color: var(--white); }
.flip-title h3 { font-family: var(--head); font-size: 23px; line-height: 1.25; margin-bottom: 8px; }
.flip-title span { font-size: 14px; font-weight: 600; color: var(--accent); }

.flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(160deg, #0f1c3f, #182c5d);
  border-top: 5px solid var(--accent);
  color: var(--white);
  padding: 30px 28px;
}
.flip-back h3 { font-family: var(--head); font-size: 21px; line-height: 1.3; margin-bottom: 16px; color: #38bdf8; }
.flip-back ul { list-style: none; padding: 0; }
.flip-back li { position: relative; padding: 7px 0 7px 22px; font-size: 15px; line-height: 1.45; color: #dbe4f0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.flip-back li:last-child { border-bottom: 0; }
.flip-back li::before { content: ''; position: absolute; left: 0; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.swipe-hint { display: none; margin-top: 8px; font-size: 14px; color: #64748b; }

/* ================= Hard-to-find: spec cards ================= */
.spec-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; }
.spec { grid-column: span 2; }
.spec:nth-child(4) { grid-column: 2 / 4; }
.spec:nth-child(5) { grid-column: 4 / 6; }

.spec {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 30px 28px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.spec::before { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 56px; background: var(--accent); transition: width 0.5s ease; }
.spec:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -18px rgba(15, 28, 63, 0.25); border-color: #94a3b8; }
.spec:hover::before { width: 100%; }

.spec-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.spec-ico { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(0, 180, 216, 0.12); }
.spec-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spec-no { font-family: var(--head); font-size: 36px; font-weight: 700; line-height: 1; color: #e2e8f0; }
.spec h3 { font-family: var(--head); font-size: 22px; line-height: 1.25; color: var(--primary); margin-bottom: 8px; }
.spec-sub { font-size: 15px; line-height: 1.6; color: #64748b; padding-bottom: 20px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.spec ul { flex: 1; list-style: none; padding: 0; margin-bottom: 24px; }
.spec li { position: relative; padding: 7px 0 7px 32px; font-size: 15.5px; line-height: 1.5; color: #334155; }
.spec li::before {
  content: '';
  position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0, 180, 216, 0.14)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300b4d8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}
.ask { align-self: flex-start; font-weight: 700; color: var(--primary); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; transition: color 0.2s ease; }
.ask:hover { color: var(--accent); }

/* ================= Who we supply (horizontal carousel) ================= */
.sup-view { overflow: hidden; }

/* arrow buttons: sit in the middle of the row, only show when you point at it */
.sup-wrap { position: relative; }
.sup-nav {
  position: absolute; top: 50%; z-index: 20;
  width: 58px; height: 58px; margin-top: -29px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 0; background: var(--white); cursor: pointer;
  box-shadow: 0 10px 28px rgba(15, 28, 63, 0.3);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
}
.sup-nav.prev { left: -24px; transform: translateX(12px); }
.sup-nav.next { right: -24px; transform: translateX(-12px); }
.sup-wrap:hover .sup-nav, .sup-nav:focus-visible { opacity: 1; visibility: visible; transform: none; }
.sup-wrap.at-start .sup-nav.prev, .sup-wrap.at-end .sup-nav.next { opacity: 0 !important; visibility: hidden !important; }
.sup-nav svg { width: 24px; height: 24px; fill: none; stroke: var(--primary); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.2s ease; }
.sup-nav:hover { background: var(--primary); }
.sup-nav:hover svg { stroke: var(--white); }
@media (hover: none) { .sup-nav { display: none; } }


.sup-track {
  display: flex;
  overflow-x: auto;
  padding: 12px 2px 20px;
  scrollbar-width: none;
}
.sup-track::-webkit-scrollbar { display: none; }

.sup {
  position: relative;
  flex: 0 0 360px;
  margin-right: 24px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 36px 32px 32px;
  border-radius: 22px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(160deg, #0f1c3f, #182c5d);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.sup:nth-child(2) { background: linear-gradient(160deg, #123a5c, #17537a); }
.sup:nth-child(3) { background: linear-gradient(160deg, #0e5a78, #0f7a99); }
.sup:nth-child(4) { background: linear-gradient(160deg, #0a7a96, #00a0c0); }
.sup:nth-child(5) { background: linear-gradient(160deg, #1c2541, #3a4a7a); }
.sup:hover { transform: translateY(-8px); box-shadow: 0 28px 44px -20px rgba(15, 28, 63, 0.55); }
.sup-bg { position: absolute; right: -40px; top: -30px; width: 240px; height: 240px; fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 0.7; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }

.t-ico { position: relative; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, 0.16); margin-bottom: 24px; transition: background 0.35s ease, transform 0.35s ease; }
.sup:hover .t-ico { background: var(--accent); transform: rotate(-6deg) scale(1.06); }
.t-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sup h3 { position: relative; font-family: var(--head); font-size: 24px; line-height: 1.25; margin-bottom: 10px; }
.sup p { position: relative; color: #d3deec; font-size: 16px; line-height: 1.6; margin-bottom: 22px; }
.chips2 { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips2 span { padding: 7px 15px; border-radius: 50px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.18); font-size: 14px; font-weight: 600; color: var(--white); }
.sup-link { position: relative; margin-top: auto; align-self: flex-start; padding: 10px 24px; border-radius: 50px; border: 1.5px solid rgba(255, 255, 255, 0.6); color: var(--white); font-weight: 700; font-size: 15px; text-decoration: none; transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease; }
.sup-link:hover { background: var(--white); color: var(--primary); border-color: var(--white); }

/* ================= Gallery ================= */
.pics figure { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03); }
.pics img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.pics figure:hover img { transform: scale(1.07); }
.pics figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; color: var(--white);
  font-family: var(--head); font-weight: 600; font-size: 17px;
  background: linear-gradient(180deg, rgba(15, 28, 63, 0) 0%, rgba(15, 28, 63, 0.85) 100%);
  transform: translateY(8px); opacity: 0.92; transition: transform 0.35s ease;
}
.pics figure:hover figcaption { transform: translateY(0); }
.pics figure.no-img { background: linear-gradient(135deg, #1c2541, #0f1c3f); display: flex; align-items: center; justify-content: center; }
.pics figure.no-img figcaption { position: static; background: none; padding: 0; font-size: 18px; text-align: center; }

/* ================= About ================= */
.about-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; margin-bottom: 64px; }
.about-text p { line-height: 1.85; margin-bottom: 18px; color: #334155; }
.about-text .intro-lead { font-family: var(--head); font-size: 24px; line-height: 1.5; color: var(--primary); font-weight: 600; margin-bottom: 24px; }

.sub-t { font-family: var(--head); font-size: 24px; color: var(--primary); margin-bottom: 26px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 64px; position: relative; }
.step { position: relative; padding: 28px 28px 26px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.step .num { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--white); font-family: var(--head); font-weight: 700; font-size: 20px; margin-bottom: 16px; box-shadow: 0 6px 14px var(--accent-glow); }
.step h4 { font-family: var(--head); font-size: 19px; color: var(--primary); margin-bottom: 6px; }
.step p { font-size: 15px; color: #475569; line-height: 1.65; }
.step:not(:last-child)::after { content: ''; position: absolute; top: 50px; right: -28px; width: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); }
.about-note { color: #475569; font-weight: 500; }
.facts { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--gold); padding: 32px; border-radius: 12px; font-size: 15px; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04); }
.facts p { margin: 14px 0; line-height: 1.6; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 64px; }
.value { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 32px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.value:hover { transform: translateY(-5px); box-shadow: 0 20px 30px -12px rgba(15, 28, 63, 0.12); }
.v-ico { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(0, 180, 216, 0.12); margin-bottom: 20px; }
.v-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.value h3 { font-family: var(--head); font-size: 20px; color: var(--primary); margin-bottom: 10px; }
.value p { font-size: 15px; color: #475569; line-height: 1.7; }

.owner { display: grid; grid-template-columns: 340px 1fr; background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 25px 50px -20px rgba(15, 28, 63, 0.2); }
.owner-photo { position: relative; min-height: 420px; background: linear-gradient(160deg, #1c2541, #0f1c3f); display: flex; align-items: center; justify-content: center; }
.owner-photo svg { width: 46%; fill: rgba(255, 255, 255, 0.18); }
.owner-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.owner-body { padding: 48px 52px; align-self: center; }
.role { display: inline-block; padding: 6px 14px; border-radius: 50px; background: rgba(244, 162, 97, 0.18); color: #b45f1a; font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.owner-body h3 { font-family: var(--head); font-size: 32px; color: var(--primary); line-height: 1.2; margin-bottom: 16px; }
.owner-body p { color: #475569; line-height: 1.8; margin-bottom: 22px; }
.owner-body blockquote { border-left: 4px solid var(--accent); padding: 4px 0 4px 20px; margin-bottom: 26px; font-size: 18px; font-style: italic; color: var(--primary); line-height: 1.6; }
.owner-link { font-weight: 700; color: var(--primary); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.owner-link:hover { color: var(--accent); }

/* ================= Profile page (arif.html) ================= */
.page-hero { background: linear-gradient(135deg, #0b132b 0%, #1c2541 55%, #0f1c3f 100%); color: var(--white); padding: 70px 0 80px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; width: 520px; height: 520px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 180, 216, 0.3), rgba(0, 180, 216, 0) 65%); }
.back-link { position: relative; display: inline-flex; align-items: center; gap: 8px; color: #a7b4c7; text-decoration: none; font-weight: 600; font-size: 15px; margin-bottom: 36px; transition: color 0.2s ease; }
.back-link:hover { color: var(--accent); }
.back-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.page-hero .wrap > .ph-grid { position: relative; }
.ph-grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.ph-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, #1c2541, #0f1c3f); border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); display: flex; align-items: center; justify-content: center; }
.ph-photo svg { width: 46%; fill: rgba(255, 255, 255, 0.18); }
.ph-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); margin: 14px 0 16px; animation: none; }
.page-hero .tagline { color: #b4c0d3; font-size: 19px; max-width: 52ch; line-height: 1.75; margin-bottom: 30px; }
.page-hero .role { background: rgba(0, 180, 216, 0.15); color: var(--accent); border: 1px solid var(--accent); margin-bottom: 0; }
.quick { display: flex; flex-wrap: wrap; gap: 14px; }
.quick span { padding: 8px 18px; border-radius: 50px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); font-size: 14px; font-weight: 600; color: #e2e8f0; }

.prof-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.prof-cols p { line-height: 1.85; margin-bottom: 18px; color: #334155; }
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), var(--gold)); }
.tl-item { position: relative; margin-bottom: 32px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-item::before { content: ''; position: absolute; left: -34px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 4px solid var(--accent); }
.tl-year { display: inline-block; font-size: 13px; font-weight: 700; color: #b45f1a; background: rgba(244, 162, 97, 0.18); padding: 3px 12px; border-radius: 50px; margin-bottom: 8px; }
.tl-item h4 { font-family: var(--head); font-size: 20px; color: var(--primary); margin-bottom: 4px; }
.tl-item p { font-size: 15.5px; color: #475569; line-height: 1.7; margin: 0; }

.tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tags span { padding: 10px 20px; border-radius: 50px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: 15px; color: var(--primary); transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease; }
.tags span:hover { background: var(--primary); color: var(--white); border-color: var(--primary); transform: translateY(-3px); }

.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cred { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 14px; padding: 28px; }
.cred h4 { font-family: var(--head); font-size: 19px; color: var(--primary); margin-bottom: 6px; }
.cred p { font-size: 15px; color: #475569; line-height: 1.65; margin: 0; }
.cred small { display: block; margin-top: 10px; color: #64748b; font-weight: 600; font-size: 13px; }

.big-quote { max-width: 860px; margin: 0 auto; text-align: center; }
.big-quote blockquote { font-family: var(--head); font-size: clamp(24px, 3vw, 34px); line-height: 1.45; color: var(--primary); font-weight: 600; margin-bottom: 22px; }
.big-quote cite { font-style: normal; font-weight: 700; color: #64748b; }

.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px 48px; border-radius: 22px; background: linear-gradient(135deg, #0f1c3f, #182c5d); color: var(--white); }
.cta-card h3 { font-family: var(--head); font-size: 28px; margin-bottom: 6px; }
.cta-card p { color: #b4c0d3; margin: 0; }
.cta-links { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-links a { padding: 12px 26px; border-radius: 50px; border: 1.5px solid rgba(255, 255, 255, 0.5); color: var(--white); font-weight: 700; text-decoration: none; transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease; }
.cta-links a:first-child { background: var(--accent); border-color: var(--accent); }
.cta-links a:hover { background: var(--white); color: var(--primary); border-color: var(--white); }

/* ================= Contact ================= */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 34px 32px; box-shadow: 0 10px 25px -8px rgba(15, 28, 63, 0.08); }
.contact-card .ico { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(0, 180, 216, 0.12); margin-bottom: 20px; }
.contact-card .ico svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h3 { font-family: var(--head); font-size: 20px; color: var(--primary); margin-bottom: 14px; }
.contact-card p { margin: 0 0 14px; line-height: 1.5; font-size: 16px; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-card .label { display: block; font-size: 13px; color: #64748b; margin-bottom: 2px; }
.contact-card a { color: var(--primary); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-card a:hover { color: var(--accent); text-decoration: underline; }
.contact-card address { font-style: normal; color: #334155; line-height: 1.8; font-size: 16px; }
.contact-card address a { color: inherit; }
.dir-link { margin-top: 16px !important; }
.dir-link a { display: inline-block; padding: 8px 18px; border-radius: 50px; background: rgba(0, 180, 216, 0.12); color: var(--primary); }
.dir-link a:hover { background: var(--accent); color: var(--white); text-decoration: none; }

.map-box { position: relative; display: block; margin-top: 32px; height: 340px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 10px 25px -8px rgba(15, 28, 63, 0.12); }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; pointer-events: none; }
.map-cta { position: absolute; right: 16px; bottom: 16px; padding: 12px 22px; border-radius: 50px; background: var(--primary); color: var(--white); font-weight: 700; font-size: 15px; box-shadow: 0 8px 20px rgba(15, 28, 63, 0.3); transition: background 0.2s ease; }
.map-box:hover .map-cta { background: var(--accent); }

/* ================= Footer ================= */
footer { background: var(--primary); color: #a7b4c7; padding: 80px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.8fr 1.2fr 1.1fr; gap: 56px; padding-bottom: 56px; }
.f-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 18px; }
.f-brand img { height: 40px; width: auto; background: var(--white); border-radius: 8px; padding: 4px; }
.f-brand b { font-family: var(--head); font-size: 20px; color: var(--white); }
.f-about p { max-width: 34ch; line-height: 1.75; }
.f-col h4 { font-family: var(--head); font-size: 17px; color: var(--white); margin-bottom: 20px; }
.f-col ul { list-style: none; padding: 0; }
.f-col li { margin-bottom: 12px; }
.f-col address { font-style: normal; line-height: 1.85; }
footer a { color: #cbd5e1; text-decoration: none; transition: color 0.2s ease; }
footer a:hover { color: var(--accent); }

.social { display: flex; gap: 12px; margin-top: 26px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.social svg { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; padding-bottom: 30px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 14px; }

/* ---------------------WhatApp Button---------------------- */
.wa-float {
  position: fixed;
  left: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  transition: transform 0.25s ease;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ================= Back to top ================= */
.to-top {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; min-width: 52px; padding: 0 20px 0 16px;
  border-radius: 50px;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  font-weight: 700; font-size: 14px;
  box-shadow: 0 10px 25px rgba(15, 28, 63, 0.35);
  border: 2px solid var(--accent);
  z-index: 9999;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}
.to-top.at-top { opacity: 0; transform: translateY(16px); pointer-events: none; }
.to-top:hover { background: var(--accent); }
.to-top svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: var(--white); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ================= Scroll reveal ================= */
.js-reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.js-reveal.in { opacity: 1; transform: none; }
/* flip cards "turn up" like cue cards */
.flip.js-reveal { transform: perspective(900px) rotateX(-70deg) translateY(30px); transform-origin: top center; transition-duration: 0.9s; }
.flip.js-reveal.in { transform: none; }

/* ================= Animations ================= */
@keyframes lineSlide { from { background-position: 0% 0; } to { background-position: 300% 0; } }
@keyframes logoGlow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(0, 180, 216, 0)); } 50% { filter: drop-shadow(0 0 10px rgba(0, 180, 216, 0.45)); } }
@keyframes ring { 0%, 60%, 100% { transform: rotate(0); } 68% { transform: rotate(-14deg); } 76% { transform: rotate(12deg); } 84% { transform: rotate(-8deg); } 92% { transform: rotate(5deg); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ecgDraw { 0% { stroke-dashoffset: 1400; } 60% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1400; } }

/* ================= Responsive ================= */
@media (max-width: 1100px) {
  .call-pill { display: none; }
}

@media (max-width: 1000px) {
  .prof-cols { grid-template-columns: 1fr; gap: 40px; }
  .cred-grid { grid-template-columns: 1fr; gap: 20px; }
  .flip-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .spec, .spec:nth-child(4), .spec:nth-child(5) { grid-column: auto; }
  .spec:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 14px); }
}

@media (max-width: 820px) {
  :root { --header-h: 120px; --top-h: 38px; }
  .tb-left { display: none; }
  .topbar .wrap { justify-content: center; }
  .tb-hide { display: none !important; }
  .steps { grid-template-columns: 1fr; gap: 16px; margin-bottom: 48px; }
  .step:not(:last-child)::after { display: none; }
  .ph-grid { grid-template-columns: 1fr; gap: 32px; }
  .ph-photo { max-width: 280px; }
  .page-hero { padding: 50px 0 60px; }
  .cta-card { flex-direction: column; align-items: flex-start; padding: 34px 28px; }
  header .wrap { flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 14px; padding-bottom: 12px; }
  nav { flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }

  .hero { padding: 60px 0 130px; }
  .ecg { bottom: 60px; }
  .strip { grid-template-columns: 1fr 1fr; margin-top: -60px; }
  .strip-item:nth-child(2) { border-right: 0; }
  .strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  section { padding: 80px 0; }
  .lead { margin-bottom: 40px; }

  .about-top { grid-template-columns: 1fr; gap: 36px; margin-bottom: 48px; }
  .values { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .owner { grid-template-columns: 1fr; }
  .owner-photo { min-height: 320px; }
  .owner-body { padding: 32px 26px; }
}

@media (max-width: 700px) {
  /* horizontal swipe rows instead of long vertical lists */
  .flip-grid, .spec-grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -20px;
    padding: 6px 20px 22px;
    scrollbar-width: none;
  }
  .flip-grid::-webkit-scrollbar, .spec-grid::-webkit-scrollbar { display: none; }
  .flip { flex: 0 0 80%; height: 370px; scroll-snap-align: center; }
  .spec, .spec:last-child { flex: 0 0 82%; width: auto; scroll-snap-align: center; }

  .sup-track { margin: 0 -20px; padding: 6px 20px 22px; scroll-snap-type: x mandatory; }
  .sup { flex: 0 0 82%; min-height: 400px; padding: 30px 26px 28px; }
  .swipe-hint { display: block; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .grid { grid-template-columns: 1fr; gap: 24px; }
  .grid.pics { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pics figcaption { font-size: 13px; padding: 28px 10px 10px; }
  .hero p { font-size: 17px; }
  .strip { grid-template-columns: 1fr; }
  .strip-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 24px; }
  .strip-item:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; }
  .to-top { padding: 0; width: 52px; }
  .to-top span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-reveal, .flip.js-reveal { opacity: 1; transform: none; }
  .ecg path { stroke-dashoffset: 0; }
  header::after { animation: none; }
}
