/* ═══════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════ */

:root {
  --ink: #111827;
  --ink-soft: #263241;
  --muted: #657184;
  --line: #dde5ef;
  --paper: #f4f7fb;
  --white: #ffffff;
  --cyan: #0889a6;
  --blue: #1455d9;
  --rose: #d7475d;
  --gold: #b7791f;
  --green: #21805f;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.14);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Cairo", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(8, 137, 166, 0.34);
  outline-offset: 4px;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, p, strong {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 340px;
  font-size: clamp(2.65rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.8rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.25;
}

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(18px, -24px) scale(1.06); }
  66%      { transform: translate(-12px, 14px) scale(0.95); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

@keyframes shimmerSlide {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%      { transform: scaleY(0.4); opacity: 0.4; }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === Scroll reveal === */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   HEADER
   ═══════════════════════════════════════ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--ink);
  transition:
    padding 280ms var(--ease),
    color 180ms ease,
    background-color 280ms var(--ease),
    border-color 180ms ease,
    box-shadow 280ms var(--ease);
}

.site-header[data-scrolled="true"] {
  padding-block: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(221, 229, 239, 0.7);
  box-shadow: 0 10px 40px rgba(17, 24, 39, 0.06);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.brand-mark,
nav {
  display: flex;
  align-items: center;
}

.brand-mark {
  gap: 12px;
  min-width: 0;
  font-weight: 900;
}

.brand-logo {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 58%, var(--rose));
  box-shadow: 0 16px 34px rgba(8, 137, 166, 0.28);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: transform 0.3s var(--ease);
}

.brand-mark:hover .brand-logo {
  transform: scale(1.06) rotate(-2deg);
}

.brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

nav {
  gap: clamp(14px, 2.4vw, 30px);
}

.nav-link {
  position: relative;
  color: currentColor;
  font-size: 0.92rem;
  font-weight: 800;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  border-radius: 2px;
  transition: width 0.35s var(--ease);
}

.nav-link:hover {
  opacity: 1;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  opacity: 1;
}

.nav-link.active::after {
  width: 100%;
}

/* ═══════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════ */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  min-height: 100vh;
  padding: 128px clamp(20px, 5vw, 72px) clamp(42px, 5vw, 64px);
  color: var(--ink);
  overflow: hidden;
  background: linear-gradient(135deg, #e8f0f8 0%, #cfe2ef 40%, #dde9f4 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(8, 137, 166, 0.10), transparent),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(20, 85, 217, 0.06), transparent);
  pointer-events: none;
}

/* Left content column */

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.hero-inner {
  width: min(440px, 100%);
  padding-bottom: 0;
}

/* Right image column */

.hero-image {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  display: block;
  width: 100%;
  max-width: 520px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow:
    0 32px 80px rgba(17, 24, 39, 0.18),
    0 8px 24px rgba(8, 137, 166, 0.10);
  border: 3px solid rgba(255, 255, 255, 0.6);
  transition: transform 0.5s var(--ease), box-shadow 0.5s ease;
}

.hero-image img:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 40px 100px rgba(17, 24, 39, 0.22),
    0 12px 32px rgba(8, 137, 166, 0.14);
}

/* Staggered entrance animations */

.hero-animate {
  opacity: 0;
  animation: heroFadeUp 0.7s var(--ease) forwards;
  animation-delay: calc(var(--delay, 0) * 0.12s + 0.25s);
}

/* Floating ambient orbs */

.hero-orbs {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orbFloat 14s ease-in-out infinite;
  will-change: transform;
}

.orb-1 {
  width: 280px;
  height: 280px;
  top: 8%;
  left: 5%;
  background: rgba(8, 137, 166, 0.14);
  animation-duration: 16s;
}

.orb-2 {
  width: 200px;
  height: 200px;
  top: 55%;
  right: 12%;
  background: rgba(20, 85, 217, 0.10);
  animation-duration: 18s;
  animation-delay: -4s;
}

.orb-3 {
  width: 160px;
  height: 160px;
  bottom: 15%;
  left: 30%;
  background: rgba(215, 71, 93, 0.08);
  animation-duration: 20s;
  animation-delay: -8s;
}

.orb-4 {
  width: 120px;
  height: 120px;
  top: 25%;
  right: 35%;
  background: rgba(183, 121, 31, 0.07);
  animation-duration: 22s;
  animation-delay: -6s;
}

/* Glow accent line */

.hero-glow-line {
  position: absolute;
  left: -18px;
  top: 0;
  width: 3px;
  height: 80px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 0 18px rgba(8, 137, 166, 0.5);
  animation: glowPulse 3s ease-in-out infinite;
  z-index: 1;
}

/* Gradient text */

.hero-name-gradient {
  background: linear-gradient(135deg, var(--ink) 0%, #1a3a5c 40%, var(--cyan) 80%, var(--blue) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease infinite;
}

/* Eyebrow dot */

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(8, 137, 166, 0.6);
  vertical-align: middle;
  animation: glowPulse 2s ease-in-out infinite;
}

/* Scroll indicator */

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  inset-inline-end: clamp(20px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.scroll-text {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.scroll-line {
  width: 2px;
  height: 28px;
  border-radius: 2px;
  background: var(--cyan);
  transform-origin: top;
  animation: scrollBounce 2s ease-in-out infinite;
}

/* Hero typography */

.hero-role {
  margin: 18px 0 0;
  font-size: clamp(1.05rem, 1.4vw, 1.24rem);
  font-weight: 800;
  color: var(--ink-soft);
}

.hero-summary {
  max-width: 340px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: var(--radius);
  font-weight: 900;
  font-size: 0.95rem;
  transition:
    transform 260ms var(--ease),
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 260ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.12);
}

.button.primary {
  position: relative;
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(135deg, var(--ink) 0%, #1a3a5c 100%);
  overflow: hidden;
}

.button.primary:hover {
  background: linear-gradient(135deg, #1a3a5c 0%, var(--ink) 100%);
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.22);
}

.hero-cta-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.14) 46%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.14) 54%,
    transparent 70%
  );
  animation: shimmerSlide 3.5s ease-in-out infinite;
  pointer-events: none;
}

.cta-arrow {
  display: inline-flex;
  transition: transform 260ms var(--ease);
}

.button.primary:hover .cta-arrow {
  transform: translateX(4px);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border-color: rgba(17, 24, 39, 0.10);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(8, 137, 166, 0.3);
}

/* ═══════════════════════════════════════
   HERO METRICS
   ═══════════════════════════════════════ */

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(780px, 100%);
  margin-top: 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 24px 64px rgba(17, 24, 39, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}

.hero-metrics:hover {
  transform: translateY(-2px);
  box-shadow:
    0 28px 72px rgba(17, 24, 39, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hero-metrics div {
  min-height: 92px;
  padding: 22px 24px;
  border-inline-end: 1px solid rgba(17, 24, 39, 0.08);
  transition: background-color 0.3s ease;
}

.hero-metrics div:hover {
  background: rgba(8, 137, 166, 0.04);
}

.hero-metrics div:last-child {
  border-inline-end: 0;
}

.hero-metrics strong {
  display: block;
  font-size: clamp(1.65rem, 2.6vw, 2.45rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--ink), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.84rem;
}

/* ═══════════════════════════════════════
   SECTION SHARED
   ═══════════════════════════════════════ */

.profile-section,
.focus-section,
.contact-section {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 72px);
  scroll-margin-top: 86px;
}

.section-kicker {
  max-width: 980px;
  margin-bottom: 48px;
}

.section-kicker.compact {
  max-width: 820px;
}

.profile-section .eyebrow,
.contact-section .eyebrow {
  color: var(--cyan);
}

/* ═══════════════════════════════════════
   PROFILE SECTION
   ═══════════════════════════════════════ */

.profile-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
  align-items: stretch;
}

.profile-card,
.capability-list article,
.focus-grid article,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.07);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}

.profile-card:hover,
.capability-list article:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.10);
}

.profile-card {
  display: grid;
  align-content: end;
  min-height: 420px;
  padding: clamp(26px, 4vw, 42px);
  background:
    linear-gradient(145deg, rgba(8, 137, 166, 0.06), transparent 58%),
    var(--white);
  position: relative;
  overflow: hidden;
}

.profile-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 137, 166, 0.06), transparent 70%);
  pointer-events: none;
}

.role-pill {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 20px;
  padding: 10px 16px;
  color: var(--white);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ink), #1a3a5c);
  font-weight: 900;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.profile-card p,
.capability-list p,
.focus-grid p,
.contact-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

/* ═══════════════════════════════════════
   CAPABILITY LIST
   ═══════════════════════════════════════ */

.capability-list {
  display: grid;
  gap: 14px;
}

.capability-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 18px;
  padding: 26px;
  align-items: start;
}

.cap-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: var(--cyan);
  border: 1px solid rgba(8, 137, 166, 0.18);
  border-radius: 12px;
  background: rgba(8, 137, 166, 0.06);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}

.capability-list article:hover .cap-icon {
  background: rgba(8, 137, 166, 0.12);
  border-color: rgba(8, 137, 166, 0.3);
  transform: scale(1.06);
}

.cap-content h3 {
  margin-bottom: 4px;
}

.capability-list p {
  margin: 0;
}

/* ═══════════════════════════════════════
   FOCUS SECTION
   ═══════════════════════════════════════ */

.focus-section {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(145deg, #111827, #172033 62%, #102b32);
  overflow: hidden;
}

.focus-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 50% at 80% 20%, rgba(8, 137, 166, 0.08), transparent),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(20, 85, 217, 0.06), transparent);
  pointer-events: none;
}

.focus-section .eyebrow {
  color: rgba(8, 137, 166, 0.9);
}

.focus-section h2 {
  color: var(--white);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.focus-grid article {
  position: relative;
  min-height: 280px;
  padding: 32px;
  color: var(--ink);
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s ease;
}

.focus-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,0.04), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.focus-grid article:hover {
  transform: translateY(-6px);
  box-shadow:
    0 28px 70px rgba(17, 24, 39, 0.18),
    0 0 0 1px rgba(8, 137, 166, 0.12);
}

.focus-grid article:hover::before {
  opacity: 1;
}

.focus-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  color: var(--white);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--rose), #e85d72);
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(215, 71, 93, 0.25);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}

.focus-grid article:hover .focus-icon {
  transform: translateY(-3px) scale(1.05);
}

.focus-icon.gold {
  background: linear-gradient(135deg, var(--gold), #d4952c);
  box-shadow: 0 8px 24px rgba(183, 121, 31, 0.25);
}

.focus-icon.green {
  background: linear-gradient(135deg, var(--green), #2a9e76);
  box-shadow: 0 8px 24px rgba(33, 128, 95, 0.25);
}

.focus-icon svg {
  width: 24px;
  height: 24px;
}

.focus-grid h3 {
  color: var(--ink);
  margin-bottom: 6px;
}

.focus-grid p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* ═══════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════ */

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 40px;
  align-items: start;
  background: var(--paper);
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.contact-copy p {
  max-width: 580px;
  font-size: 1.05rem;
}

.contact-panel {
  overflow: hidden;
  border-radius: var(--radius);
}

.contact-panel > a {
  display: grid;
  grid-template-columns: 46px minmax(0, 0.78fr) minmax(0, 1.16fr) 24px;
  gap: 14px;
  align-items: center;
  min-height: 80px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    padding-left 0.35s var(--ease);
}

.contact-panel > a:last-child {
  border-bottom: 0;
}

.contact-panel > a:hover {
  color: var(--cyan);
  background: linear-gradient(90deg, #eef8fb, #f0fafc);
  padding-left: 28px;
}

.contact-panel span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--cyan);
  border: 1px solid rgba(8, 137, 166, 0.18);
  border-radius: 12px;
  background: rgba(8, 137, 166, 0.06);
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.3s var(--ease);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.contact-icon svg.fill-icon {
  fill: currentColor;
  stroke: none;
}

.contact-panel > a:hover .contact-icon {
  color: var(--white);
  border-color: var(--cyan);
  background: var(--cyan);
  transform: scale(1.06);
}

.contact-label {
  min-width: 0;
}

.contact-panel strong {
  text-align: right;
  font-size: 1rem;
}

.contact-arrow {
  display: grid;
  place-items: center;
  color: var(--line);
  transition: color 0.25s ease, transform 0.3s var(--ease);
}

.contact-arrow svg {
  fill: none;
  stroke: currentColor;
}

.contact-panel > a:hover .contact-arrow {
  color: var(--cyan);
  transform: translateX(3px);
}

/* Phone + WhatsApp combined rows */

.contact-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 0.78fr) minmax(0, 1.16fr) 46px;
  gap: 14px;
  align-items: center;
  min-height: 80px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row .contact-icon {
  width: 44px;
  height: 44px;
}

.contact-row .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

[dir="rtl"] .nav-link::after {
  transform-origin: right;
}

[dir="rtl"] .nav-link:hover::after,
[dir="rtl"] .nav-link.active::after {
  transform-origin: right;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  margin-inline-start: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(8, 137, 166, 0.08);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.lang-switch:hover {
  background: rgba(8, 137, 166, 0.15);
}


.contact-row .contact-icon:hover {
  transform: scale(1.1);
}

.contact-row .contact-icon:hover:not(.wa-icon) {
  color: var(--white);
  border-color: var(--cyan);
  background: var(--cyan);
}

.wa-icon {
  color: #25D366;
  border-color: rgba(37, 211, 102, 0.22);
  background: rgba(37, 211, 102, 0.08);
}

.wa-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
}

.wa-icon:hover {
  color: var(--white) !important;
  border-color: #25D366 !important;
  background: #25D366 !important;
}

.contact-row .contact-label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-row strong {
  text-align: right;
  font-size: 1rem;
  font-weight: 900;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */

footer {
  background: linear-gradient(145deg, var(--ink), #172033);
  color: var(--white);
  padding: 0 clamp(20px, 5vw, 72px);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-logo {
  width: 38px;
  height: 38px;
  font-size: 0.75rem;
}

.footer-name {
  margin: 0;
  font-weight: 900;
  font-size: 1rem;
}

.footer-title {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  font-weight: 600;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
  font-size: 0.88rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-copy {
  margin: 0;
  width: 100%;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.82rem;
  font-weight: 500;
}

/* ═══════════════════════════════════════
   FLOATING ACTIONS (BACK TO TOP & WA)
   ═══════════════════════════════════════ */

.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 50;
  display: flex;
  gap: 12px;
  align-items: center;
}

.back-to-top,
.floating-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(8, 137, 166, 0.4);
  transition:
    opacity 0.3s var(--ease),
    visibility 0.3s,
    transform 0.3s var(--ease),
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.back-to-top {
  background: var(--cyan);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(20, 85, 217, 0.4);
}

.floating-wa {
  background: #25D366;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
}

.floating-wa:hover {
  background: #1EBE5D;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6);
}

.floating-wa svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* ═══════════════════════════════════════
   RESPONSIVE — TABLET (≤ 920px)
   ═══════════════════════════════════════ */

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 108px;
    padding-bottom: 40px;
    gap: 32px;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    max-width: 380px;
  }

  .hero-glow-line {
    display: none;
  }

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

  .profile-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }

  .focus-grid {
    grid-template-columns: 1fr;
  }

  .focus-grid article {
    min-height: auto;
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 680px)
   ═══════════════════════════════════════ */

@media (max-width: 680px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand-name {
    max-width: 148px;
  }

  nav {
    gap: 10px;
  }

  .nav-link {
    font-size: 0.84rem;
  }

  .lang-switch {
    padding: 4px 8px;
    margin-inline-start: 8px;
    font-size: 0.8rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 100px 18px 28px;
    gap: 24px;
  }

  .hero-image img {
    max-width: 280px;
    border-radius: var(--radius);
  }

  .hero-glow-line {
    display: none;
  }

  .hero-scroll-hint {
    display: none;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    min-height: 88px;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .profile-section,
  .focus-section,
  .contact-section {
    padding-inline: 18px;
  }

  .profile-card {
    min-height: 320px;
    padding: 24px;
  }

  .focus-grid article,
  .capability-list article {
    padding: 20px;
  }

  .capability-list article {
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }

  .cap-icon {
    width: 42px;
    height: 42px;
  }

  .contact-panel > a {
    grid-template-columns: 44px 1fr;
    gap: 4px 12px;
  }

  .contact-panel > a > .contact-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .contact-panel > a .contact-label {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
  }

  .contact-panel > a strong {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    text-align: left;
  }

  .contact-row {
    grid-template-columns: 44px 1fr 44px;
    gap: 12px;
  }
  
  .contact-row .contact-label,
  .contact-row strong {
    grid-column: 2;
    text-align: left;
  }

  .contact-arrow {
    display: none;
  }

  .contact-panel strong {
    text-align: left;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }

  .footer-brand {
    flex-direction: column;
    gap: 10px;
  }

  .footer-nav {
    justify-content: center;
  }

  .floating-actions {
    bottom: 20px;
    right: 20px;
  }

  .back-to-top,
  .floating-wa {
    width: 44px;
    height: 44px;
  }

  .floating-wa svg {
    width: 22px;
    height: 22px;
  }
}

/* ═══════════════════════════════════════
   EXPERIENCE TIMELINE
   ═══════════════════════════════════════ */

.experience-section {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 72px);
  scroll-margin-top: 86px;
  background: var(--white);
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 24px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 31px; /* 24px padding + 7px to center in the 14px dot */
  width: 2px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cyan);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px rgba(8, 137, 166, 0.2);
  z-index: 2;
}

.timeline-content {
  padding-left: 32px;
}

.timeline-date {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(8, 137, 166, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.timeline-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
}

.timeline-content h4 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 16px;
}

.timeline-content p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.timeline-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-bullets li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.timeline-bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cyan);
}

