/* ===== Variables ===== */
:root {
  --bg: #060a12;
  --bg-elevated: #0c1220;
  --bg-card: #111a2e;
  --border: rgba(148, 163, 184, 0.1);
  --border-strong: rgba(148, 163, 184, 0.18);
  --text: #eef4ff;
  --text-muted: #94a3b8;
  --text-soft: #64748b;
  --accent: #60a5fa;
  --accent-2: #38bdf8;
  --accent-deep: #3b82f6;
  --accent-soft: rgba(96, 165, 250, 0.14);
  --accent-glow: rgba(59, 130, 246, 0.45);
  --gradient: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);
  --header-h: 72px;
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --transition: 0.3s ease;
  --cred-label-w: 6.75rem;
  --cred-gap: 1.25rem;
  --section-bg: rgba(6, 10, 18, 0.48);
  --section-alt-bg: rgba(12, 18, 32, 0.56);
}

html.light {
  --bg: #eef3fb;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.12);
  --text: #0f172a;
  --text-muted: #475569;
  --text-soft: #64748b;
  --accent: #2563eb;
  --accent-2: #0891b2;
  --accent-deep: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.1);
  --accent-glow: rgba(37, 99, 235, 0.22);
  --gradient: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --section-bg: rgba(238, 243, 251, 0.58);
  --section-alt-bg: rgba(255, 255, 255, 0.66);
}

/* ===== Reset & base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  font-family: var(--font-body);
  background: transparent;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: color var(--transition);
}

body > .header {
  z-index: 100;
}

body > main,
body > .footer {
  position: relative;
  z-index: 1;
}

/* ===== Sky background ===== */
.sky-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 80% at 50% 0%, #0f1a2e 0%, var(--bg) 55%);
}

html.light .sky-scene {
  background: radial-gradient(ellipse 120% 80% at 50% 0%, #dbeafe 0%, var(--bg) 60%);
}

.sky-layer {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
}

.sky-moon {
  position: absolute;
  top: 14%;
  right: 12%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 32% 32%,
    #fffef5 0%,
    #f5f0d8 35%,
    #d4cfc0 70%,
    #b8b4a8 100%
  );
  box-shadow:
    0 0 50px rgba(255, 254, 245, 0.35),
    0 0 100px rgba(96, 165, 250, 0.12),
    inset -8px -6px 12px rgba(0, 0, 0, 0.15);
  animation: moonDrift 28s ease-in-out infinite;
}

html.light .sky-moon {
  background: radial-gradient(
    circle at 32% 32%,
    #fff 0%,
    #fef3c7 45%,
    #fde68a 100%
  );
  box-shadow:
    0 0 40px rgba(253, 224, 71, 0.4),
    0 0 80px rgba(251, 191, 36, 0.15);
  opacity: 0.85;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  will-change: transform, opacity;
}

.sky-stars-far .star {
  opacity: 0.5;
  animation: starTwinkle 4s ease-in-out infinite, starDriftFar 140s linear infinite;
}

.sky-stars-near .star {
  opacity: 0.95;
  animation: starTwinkle 2.5s ease-in-out infinite, starDriftNear 90s linear infinite;
}

html.light .sky-stars-far .star,
html.light .sky-stars-near .star {
  background: #475569;
}

html.light .sky-stars-far .star {
  opacity: 0.35;
}

html.light .sky-stars-near .star {
  opacity: 0.55;
}

@keyframes moonDrift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-36px, 28px);
  }
  50% {
    transform: translate(-18px, 48px);
  }
  75% {
    transform: translate(28px, 22px);
  }
}

@keyframes starTwinkle {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

@keyframes starDriftFar {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-120px, 80px);
  }
}

@keyframes starDriftNear {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-200px, 120px);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(6, 10, 18, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

html.light .header {
  background: rgba(238, 243, 251, 0.9);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 12px var(--accent-glow);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 100px;
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: var(--accent-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition);
}

.theme-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

html:not(.light) .icon-sun {
  display: none;
}

html.light .icon-moon {
  display: none;
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  cursor: pointer;
  padding: 10px;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background var(--transition);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 28px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-full {
  width: 100%;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 80px;
  overflow: hidden;
  background: transparent;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.28;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  top: -120px;
  right: -80px;
  background: var(--accent-glow);
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
  background: rgba(56, 189, 248, 0.18);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  opacity: 0.22;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-top: -40px;
  margin-bottom: 16px;
  font-variation-settings: "SOFT" 50, "WONK" 0.9;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-typewriter {
  display: inline-block;
  vertical-align: baseline;
  white-space: nowrap;
  font-family: Tahoma, Verdana, "Segoe UI", sans-serif;
  font-size: 0.88em;
  font-style: italic;
  font-variation-settings: normal;
  color: var(--accent);
}

.tw-slot {
  display: inline-grid;
  vertical-align: baseline;
}

.tw-ghost {
  grid-area: 1 / 1;
  visibility: hidden;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.tw-line {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.hero-typewriter .tw-cursor {
  display: none;
  width: 3px;
  height: 0.85em;
  margin-left: 0.25em;
  vertical-align: -0.05em;
  background: #facc15;
  border-radius: 1px;
}

.hero-typewriter .tw-cursor.tw-cursor--on {
  display: inline-block;
  animation: twBlink 0.75s step-end infinite;
}

@keyframes twBlink {
  50% {
    opacity: 0;
  }
}

.hero-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.hero-stats span {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Hero visual card */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  width: 100%;
}

.hero-card-img {
  aspect-ratio: 4/4;
  background: linear-gradient(160deg, var(--accent-soft), rgba(56, 189, 248, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-card-img img {
  display: block;
  width: 95%;
  height: 95%;
  object-fit: cover;
}

.hero-card-body {
  padding: 12px 28px 24px;
  text-align: center;
}

.hero-card-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.hero-card-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.hero-card-tags {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-width: 100%;
  margin-inline: auto;
}

.hero-card-tags::-webkit-scrollbar {
  display: none;
}

.hero-card-tags span {
  font-size: 0.625rem;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 100px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--border);
  white-space: nowrap;
  flex-shrink: 0;
}

html.light .hero-card-tags span {
  color: var(--accent);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  align-self: center;
  padding: 10px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  }
  50% {
    opacity: 0.85;
    box-shadow: 0 0 0 6px rgba(74, 222, 128, 0);
  }
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
  background: var(--section-bg);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.section-alt {
  background: var(--section-alt-bg);
}

.section-head {
  margin-bottom: 48px;
  max-width: 560px;
}

.section-head-center {
  margin-inline: auto;
  text-align: center;
}

.section-head-center .section-desc {
  margin-inline: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 40, "WONK" 0.85;
}

.section-desc {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
  background: linear-gradient(180deg, var(--accent-soft), var(--bg-card));
}

.about-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-accent-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-img {
  position: relative;
}

.about-accent-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.about-accent-txt {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.credentials {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.credentials li {
  display: grid;
  grid-template-columns: var(--cred-label-w) 1fr;
  align-items: baseline;
  column-gap: var(--cred-gap);
  font-size: 0.9rem;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.cred-label {
  width: var(--cred-label-w);
  font-weight: 600;
  color: var(--text-soft);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-align: left;
}

.cred-label::after {
  content: ":";
  margin-left: 3px;
}

.cred-value {
  color: var(--text-muted);
  line-height: 1.5;
  text-align: left;
  justify-self: start;
}

.cred-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.cred-link:hover {
  color: var(--accent-2);
}

.cred-ext {
  display: inline-block;
  vertical-align: -2px;
  margin-left: 4px;
  opacity: 0.85;
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
  padding: 8px 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    transparent,
    var(--accent-deep) 8%,
    var(--accent-2) 50%,
    var(--accent-deep) 92%,
    transparent
  );
  opacity: 0.45;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
  opacity: 0;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  grid-column: 2;
  width: 14px;
  height: 14px;
  margin-top: 28px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  z-index: 1;
  justify-self: center;
}

.timeline-current .timeline-dot {
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft), 0 0 20px var(--accent-glow);
}

.timeline-card {
  grid-column: 1;
  grid-row: 1;
  padding: 24px 28px;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform 0.25s;
}

.timeline-right .timeline-card {
  grid-column: 3;
}

.timeline-left .timeline-card {
  text-align: right;
}

.timeline-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.timeline-year {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.25;
}

.timeline-place {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.timeline-card p:last-of-type {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.timeline-badge {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--border);
}

.timeline-current .timeline-card {
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 8px 32px var(--accent-glow);
}

/* Stagger reveal for timeline items */
.timeline.visible .timeline-item {
  animation: timelineIn 0.6s ease forwards;
}

.timeline.visible .timeline-item:nth-child(3) { animation-delay: 0.08s; }
.timeline.visible .timeline-item:nth-child(4) { animation-delay: 0.16s; }
.timeline.visible .timeline-item:nth-child(5) { animation-delay: 0.24s; }
.timeline.visible .timeline-item:nth-child(6) { animation-delay: 0.32s; }
.timeline.visible .timeline-item:nth-child(7) { animation-delay: 0.4s; }

@keyframes timelineIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 768px) {
  .timeline-line {
    left: 7px;
    transform: none;
  }

  .timeline-item {
    grid-template-columns: auto 1fr;
    gap: 20px;
    padding-left: 8px;
  }

  .timeline-dot {
    grid-column: 1;
    grid-row: 1;
    margin-top: 24px;
  }

  .timeline-card {
    grid-column: 2 !important;
    grid-row: 1;
    text-align: left !important;
  }
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  padding: 32px;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform 0.25s;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== Contact ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.contact-list a {
  color: var(--accent);
  font-weight: 500;
  transition: opacity 0.2s;
}

.contact-list a:hover {
  opacity: 0.8;
}

.contact-map {
  margin-top: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

.contact-form {
  padding: 36px;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  transition: border-color var(--transition);
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--accent);
}

.form-row textarea {
  resize: vertical;
  min-height: 110px;
}

/* ===== WhatsApp float — fixed bottom-right, always on top ===== */
.whatsapp-float {
  position: fixed;
  inset: auto 22px 22px auto;
  top: auto !important;
  left: auto !important;
  right: 22px !important;
  bottom: 22px !important;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
}

@media (max-width: 480px) {
  .whatsapp-float {
    inset: auto 16px 16px auto;
    right: 16px !important;
    bottom: 16px !important;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: var(--section-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer p {
  font-size: 0.82rem;
  color: var(--text-soft);
}

.footer-note {
  font-size: 0.75rem !important;
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 1;
  transform: translateY(24px);
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.reveal.visible {
  transform: none;
}

.reveal-delay {
  transition-delay: 0.12s;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .hero-inner,
  .about-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 420px;
    margin-inline: auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 24px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    font-size: 0.875rem;
    padding: 12px;
  }

  .menu-btn {
    display: flex;
  }

  .hero-stats {
    gap: 24px;
  }

  .about-accent-card {
    right: 12px;
    bottom: -12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-badge-dot {
    animation: none;
  }

  .hero-typewriter .tw-cursor {
    display: none !important;
  }

  .sky-moon,
  .star {
    animation: none !important;
  }

  .timeline-item {
    opacity: 1;
    animation: none !important;
  }
}
