/* ===== Base — palette extracted from the GAMGAM AI logo ===== */
:root {
  --bg: #f8f9fd;
  --bg-soft: #eef1f8;
  --text: #00082c;
  --text-dim: #46557a;
  --navy: #022777;
  --blue: #047fff;
  --sky: #00a7ff;
  --cyan: #047fff; /* primary accent */
  --violet: #0264c9; /* secondary accent (company names etc.) */
  --card: #ffffff;
  --card-border: rgba(2, 39, 119, 0.10);
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(2, 39, 119, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 39, 119, 0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 40%, transparent 100%);
  pointer-events: none;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text); }

.accent { color: var(--blue); }

.gradient-text {
  background: linear-gradient(120deg, #00a7ff, #047fff 45%, #022777);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(2, 39, 119, 0.06);
}

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1.25rem, 5vw, 4rem);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(248, 249, 253, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--card-border);
  box-shadow: 0 4px 20px rgba(2, 39, 119, 0.06);
}

.nav__logo {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

.nav__links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--blue); }

.lang-toggle {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  background: transparent;
  border: 1px solid rgba(4, 127, 255, 0.35);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.lang-toggle:hover {
  background: rgba(4, 127, 255, 0.08);
  box-shadow: 0 0 18px rgba(4, 127, 255, 0.18);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav__burger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(120deg, #047fff, #00a7ff);
  box-shadow: 0 8px 24px rgba(4, 127, 255, 0.30);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(4, 127, 255, 0.42);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(2, 39, 119, 0.25);
  box-shadow: none;
}

.btn--ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 6px 20px rgba(4, 127, 255, 0.15);
}

.btn--small { padding: 0.55rem 1.3rem; font-size: 0.85rem; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem clamp(1.25rem, 6vw, 6rem) 4rem;
  gap: 4rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(4, 127, 255, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(4, 127, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(4, 127, 255, 0); }
}

.hero__title {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero__subtitle {
  margin-top: 1.2rem;
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--navy);
  font-weight: 500;
}

.hero__typed {
  margin-top: 0.5rem;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--blue);
  font-family: var(--font-head);
  min-height: 1.8em;
}

.cursor { animation: blink 1s step-end infinite; color: var(--blue); }

@keyframes blink { 50% { opacity: 0; } }

.hero__desc {
  margin-top: 1.4rem;
  max-width: 620px;
  color: var(--text-dim);
  font-size: 1.05rem;
}

.hero__desc strong { color: var(--text); font-weight: 600; }

.hero__actions {
  margin-top: 2.2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__main {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__visual { display: flex; justify-content: center; }

.hero__photo {
  position: relative;
  width: min(340px, 80vw);
}

.hero__photo::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(0, 167, 255, 0.35), rgba(4, 127, 255, 0.12), rgba(2, 39, 119, 0.25));
  z-index: -1;
  filter: blur(2px);
}

.hero__photo img {
  width: 100%;
  display: block;
  border-radius: 24px;
  border: 1px solid var(--card-border);
  box-shadow: 0 30px 70px rgba(2, 39, 119, 0.25);
}

.float-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  color: var(--navy);
  box-shadow: 0 10px 26px rgba(2, 39, 119, 0.16);
  white-space: nowrap;
  animation: floaty 5s ease-in-out infinite;
}

.float-badge b { font-family: var(--font-head); font-weight: 700; }

.float-badge--1 { top: 8%; left: -16%; animation-delay: 0s; }
.float-badge--2 { bottom: 22%; right: -14%; animation-delay: 1.4s; }
.float-badge--3 { bottom: -4%; left: -8%; animation-delay: 2.8s; }

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

@media (max-width: 960px) {
  .hero__main { grid-template-columns: 1fr; }
  .hero__visual { order: -1; margin-top: 2rem; }
  .hero__photo { width: min(260px, 70vw); }
  .float-badge--1 { left: -6%; }
  .float-badge--2 { right: -4%; }
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}

.stat {
  padding: 1.5rem 1.6rem;
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #047fff, #00a7ff, transparent);
}

.stat__num {
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--navy);
}

.stat__plus {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--blue);
  font-weight: 700;
}

.stat__label {
  display: block;
  margin-top: 0.3rem;
  color: var(--text-dim);
  font-size: 0.88rem;
}

/* ===== References marquee ===== */
.refs {
  padding: 1rem 0 3rem;
  overflow: hidden;
}

.refs__title {
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.6rem;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,0.35) 6%, black 16%, black 84%, rgba(0,0,0,0.35) 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,0.35) 6%, black 16%, black 84%, rgba(0,0,0,0.35) 94%, transparent 100%);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  padding-right: 2rem;
  animation: marquee-scroll 18s linear infinite;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

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

.refchip {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1rem 2rem;
  height: 92px;
  min-width: 170px;
  box-shadow: 0 4px 14px rgba(2, 39, 119, 0.05);
}

.refchip img {
  max-height: 58px;
  max-width: 190px;
  object-fit: contain;
  display: block;
}

.refchip--text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ===== University cards ===== */
.unis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.uni { padding: 0; overflow: hidden; }

.uni__photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--card-border);
}

.uni__body {
  padding: 1.3rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.uni__logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
}

.uni h4 { font-size: 1rem; margin: 0.25rem 0 0.15rem; }

.uni p { color: var(--text-dim); font-size: 0.88rem; }

/* ===== Sections ===== */
.section {
  padding: 4rem clamp(1.25rem, 6vw, 6rem);
  max-width: 1280px;
  margin: 0 auto;
}

.section__head { margin-bottom: 2.2rem; }

.section__tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid rgba(4, 127, 255, 0.30);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.2rem;
  background: rgba(4, 127, 255, 0.05);
}

.section__head h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.subhead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.2rem;
}

/* ===== About ===== */
.about {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about__photo img {
  width: 100%;
  display: block;
  border-radius: 22px;
  border: 1px solid var(--card-border);
  box-shadow: 0 24px 60px rgba(2, 39, 119, 0.18);
}

.about__eyebrow {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.about__text h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.about__text p:not(.about__eyebrow) {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  max-width: 640px;
}

.about__text strong { color: var(--text); }

.about__actions {
  margin-top: 1.8rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== Book a call ===== */
.book {
  text-align: center;
  padding: 4rem clamp(1.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

.book::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 50% -20%, rgba(0, 167, 255, 0.10), transparent 60%);
  pointer-events: none;
}

.book__badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #15803d;
  border: 1px solid rgba(21, 128, 61, 0.35);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.2rem;
  background: rgba(21, 128, 61, 0.05);
}

.book h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; }

.book p {
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto;
}

.book__actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Service cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.5rem 1.5rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(4, 127, 255, 0.35);
  box-shadow: 0 16px 40px rgba(2, 39, 119, 0.14);
}

.card__icon {
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 0.6rem;
}

.card h3 { font-size: 1.15rem; margin-bottom: 0.7rem; }

.card p { color: var(--text-dim); font-size: 0.95rem; }

.card--img { padding: 0; }

.card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--card-border);
}

.card__pad { padding: 1.6rem 1.8rem; }

.card__img--contain {
  object-fit: contain;
  padding: 1.4rem;
  background: #ffffff;
}

.card--link { padding: 0; }

.card--link a {
  display: block;
  padding: 2rem 1.8rem;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.card--link h3 { color: var(--blue); }

/* ===== Experience story cards ===== */
.xps {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.xp {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  overflow: hidden;
  padding: 0;
}

.xp--flip { grid-template-columns: 1fr minmax(240px, 340px); }

.xp--flip .xp__media { order: 2; }

.xp__media {
  position: relative;
  aspect-ratio: 3 / 4;
  align-self: center;
  margin: 1.4rem 0 1.4rem 1.4rem;
  border-radius: 14px;
  overflow: hidden;
}

.xp--flip .xp__media { margin: 1.4rem 1.4rem 1.4rem 0; }

.xp__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xp__body { padding: 2.2rem 2.4rem; }

.xp__meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
}

.xp__date { color: var(--blue); font-weight: 600; letter-spacing: 0.05em; }

.xp__loc { color: var(--text-dim); }

.xp__body h3 { font-size: 1.3rem; }

.xp__company {
  color: var(--violet);
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0.3rem 0 1rem;
}

.xp__story { color: var(--text-dim); font-size: 0.98rem; }

.xp__chips {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.xp__chips span {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(4, 127, 255, 0.07);
  border: 1px solid rgba(4, 127, 255, 0.25);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
}

@media (max-width: 820px) {
  .xp, .xp--flip { grid-template-columns: 1fr; }
  .xp--flip .xp__media { order: 0; margin: 1.2rem 1.2rem 0; }
  .xp__media { aspect-ratio: 16 / 10; margin: 1.2rem 1.2rem 0; }
  .xp__body { padding: 1.4rem 1.4rem 1.6rem; }
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  padding-left: 1.6rem;
  border-left: 2px solid rgba(2, 39, 119, 0.12);
}

.tl-item { position: relative; }

.tl-item::before {
  content: "";
  position: absolute;
  left: calc(-1.6rem - 7px);
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--blue);
  box-shadow: 0 0 10px rgba(4, 127, 255, 0.45);
}

.tl-item__meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
}

.tl-item__date { color: var(--blue); font-weight: 600; letter-spacing: 0.05em; }

.tl-item__loc { color: var(--text-dim); }

.tl-item__body { padding: 1.8rem 2rem; }

.tl-item__body h3 { font-size: 1.25rem; }

.tl-item__company {
  color: var(--violet);
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0.3rem 0 1rem;
}

.tl-item__body ul { padding-left: 1.1rem; color: var(--text-dim); font-size: 0.95rem; }

.tl-item__body li { margin-bottom: 0.45rem; }

.tl-item__body strong { color: var(--text); }

/* ===== Chips ===== */
.chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.chip {
  padding: 1.1rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.chip strong { font-family: var(--font-head); font-size: 0.98rem; color: var(--text); }

.chip span { color: var(--text-dim); font-size: 0.85rem; }

/* ===== Education & skills ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.edu {
  padding: 1.4rem 1.6rem;
  margin-bottom: 1rem;
}

.edu__date {
  font-family: var(--font-head);
  font-size: 0.8rem;
  color: var(--blue);
  letter-spacing: 0.08em;
  font-weight: 600;
}

.edu h4 { font-size: 1.02rem; margin: 0.3rem 0 0.15rem; }

.edu p { color: var(--text-dim); font-size: 0.9rem; }

.langs { display: flex; gap: 1rem; flex-wrap: wrap; }

.lang {
  padding: 0.8rem 1.3rem;
  display: flex;
  flex-direction: column;
  min-width: 110px;
}

.lang span { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--text); }

.lang em { color: var(--text-dim); font-size: 0.8rem; font-style: normal; }

.tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.tags span {
  padding: 0.45rem 1rem;
  border: 1px solid rgba(2, 39, 119, 0.18);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-dim);
  background: #ffffff;
  transition: border-color 0.2s, color 0.2s;
}

.tags span:hover { border-color: var(--blue); color: var(--blue); }

.cert-list { list-style: none; padding: 0; color: var(--text-dim); font-size: 0.9rem; }

.cert-list li {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  margin-bottom: 0.55rem;
}

.cert-list strong { color: var(--text); font-weight: 600; }

.card p em { color: var(--blue); font-style: normal; font-size: 0.85rem; font-family: var(--font-head); }

/* ===== Around the world gallery ===== */
.gallery {
  padding: 5rem 0;
  overflow: hidden;
}

.section__head--center { text-align: center; margin-bottom: 2.5rem; }

.gallery .section__head--center { padding: 0 1.5rem; }

.marquee--photos { padding: 0.5rem 0 1rem; }

.marquee__track--photos {
  gap: 1.4rem;
  animation: marquee-scroll 28s linear infinite;
}

.photocard {
  position: relative;
  width: 210px;
  height: 280px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 12px 32px rgba(2, 39, 119, 0.14);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.photocard:hover { transform: translateY(-8px) scale(1.03); }

.photocard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photocard figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: rgba(0, 8, 44, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
}

/* ===== Colorful competency tags ===== */
.tags span:nth-child(3n+1) { border-color: rgba(4, 127, 255, 0.35); color: #047fff; background: rgba(4, 127, 255, 0.05); }
.tags span:nth-child(3n+2) { border-color: rgba(0, 167, 255, 0.4); color: #0087cf; background: rgba(0, 167, 255, 0.06); }
.tags span:nth-child(3n) { border-color: rgba(2, 39, 119, 0.3); color: var(--navy); background: rgba(2, 39, 119, 0.04); }

.tags span:hover { transform: translateY(-2px); }

.tags span { transition: border-color 0.2s, color 0.2s, transform 0.2s; }

.cert-list li { transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; border-left: 3px solid var(--blue); }

.cert-list li:nth-child(3n+2) { border-left-color: var(--sky); }

.cert-list li:nth-child(3n) { border-left-color: var(--navy); }

.cert-list li:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 20px rgba(2, 39, 119, 0.10);
}

/* ===== Gallery banner ===== */
.gallery__banner {
  display: block;
  width: min(1100px, calc(100% - 3rem));
  margin: 0 auto 2.2rem;
  border-radius: 22px;
  border: 1px solid var(--card-border);
  box-shadow: 0 24px 60px rgba(2, 39, 119, 0.18);
}

/* ===== Booking calendar ===== */
.book__steps {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.4rem;
  position: relative;
  z-index: 1;
}

.bstep {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 0.45rem 1rem 0.45rem 0.5rem;
  text-align: left;
}

.bstep b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 0.78rem;
  color: #ffffff;
  background: linear-gradient(120deg, #047fff, #00a7ff);
}

.cal__note {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: 1.4rem;
}

.cal {
  max-width: 720px;
  margin: 1.2rem auto 0;
  position: relative;
  z-index: 1;
}

.cal__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.cal__month {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  min-width: 170px;
  text-transform: capitalize;
}

.cal__nav {
  font-family: var(--font-head);
  font-size: 1.2rem;
  line-height: 1;
  color: var(--blue);
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cal__nav:hover:not(:disabled) { border-color: var(--blue); box-shadow: 0 4px 12px rgba(4, 127, 255, 0.2); }

.cal__nav:disabled { opacity: 0.35; cursor: default; }

.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.3rem;
  max-width: 420px;
  margin: 0 auto;
}

.cal__wd {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  padding: 0.3rem 0;
}

.cal__wd--off { color: rgba(70, 85, 122, 0.4); }

.cal__d {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  aspect-ratio: 1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.cal__d:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }

.cal__d:disabled {
  color: rgba(70, 85, 122, 0.3);
  background: transparent;
  border-color: transparent;
  cursor: default;
}

.cal__d.sel {
  border-color: var(--blue);
  color: #ffffff;
  background: linear-gradient(120deg, #047fff, #00a7ff);
  box-shadow: 0 6px 18px rgba(4, 127, 255, 0.35);
}

.cal__slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cal__slot {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 0.5rem 0;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.cal__day:hover, .cal__slot:hover { border-color: var(--blue); color: var(--blue); }

.cal__day.sel, .cal__slot.sel {
  border-color: var(--blue);
  color: #ffffff;
  background: linear-gradient(120deg, #047fff, #00a7ff);
  box-shadow: 0 6px 18px rgba(4, 127, 255, 0.35);
}

.cal__day.sel b { color: #ffffff; }

.cal__cta { margin-top: 1.4rem; display: inline-block; }

.btn--disabled {
  opacity: 0.45;
  pointer-events: none;
  filter: grayscale(0.4);
}

/* ===== Contact ===== */
.section--contact { padding-bottom: 4rem; }

.contact {
  padding: 0;
  position: relative;
  overflow: hidden;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(260px, 460px) 1fr;
  align-items: stretch;
}

.contact__photo {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.contact__body {
  text-align: center;
  padding: 4rem clamp(1.5rem, 4vw, 3.5rem);
}

@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__photo { max-height: 240px; }
  .contact__body { padding: 2.5rem 1.5rem; }
}

.contact::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 50% 120%, rgba(4, 127, 255, 0.08), transparent 60%);
  pointer-events: none;
}

.contact h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 1rem 0 0.8rem; }

.contact p { color: var(--text-dim); }

.contact__actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-dim);
  font-size: 0.85rem;
  border-top: 1px solid rgba(2, 39, 119, 0.10);
  background: #ffffff;
}

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

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

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }

  .about { grid-template-columns: 1fr; gap: 2rem; }

  .about__photo { max-width: 300px; }

  .nav__logo { font-size: 0.95rem; }

  .nav__links {
    position: fixed;
    top: 60px;
    right: 0;
    flex-direction: column;
    background: rgba(248, 249, 253, 0.98);
    border: 1px solid var(--card-border);
    border-radius: 0 0 0 18px;
    box-shadow: 0 12px 32px rgba(2, 39, 119, 0.12);
    padding: 1.5rem 2.5rem;
    transform: translateX(110%);
    transition: transform 0.3s;
  }

  .nav__links.open { transform: translateX(0); }

  .nav__burger { display: flex; }

  .nav .btn--small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse-dot, .cursor { animation: none; }
}

/* ===== WhatsApp floating button ===== */
.wa-fab {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25D366;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.42);
  transition: width 0.3s ease, box-shadow 0.25s ease, transform 0.2s ease;
  overflow: hidden;
  padding-left: 15px;
}

.wa-fab svg { width: 28px; height: 28px; flex-shrink: 0; }

.wa-fab__tip {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  margin-left: 0.6rem;
  transition: opacity 0.2s ease;
}

.wa-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: wa-pulse 2.4s infinite;
}

@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.wa-fab:hover {
  width: 210px;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.5);
}

.wa-fab:hover .wa-fab__tip { opacity: 1; }

.btn--wa {
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn--wa:hover { box-shadow: 0 12px 34px rgba(37, 211, 102, 0.45); }

@media (max-width: 600px) {
  .wa-fab { width: 54px; height: 54px; padding-left: 13px; }
  .wa-fab svg { width: 26px; height: 26px; }
  .wa-fab:hover { width: 54px; }
  .wa-fab__tip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-fab::before { animation: none; }
}
