@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap");

:root {
  color-scheme: dark;
  --bg-primary: rgb(26, 26, 26);
  --bg-secondary: #0c1326;
  --bg-tertiary: rgba(20, 33, 66, 0.75);
  --glass: rgba(21, 34, 70, 0.56);
  --glass-strong: rgba(41, 68, 129, 0.75);
  --stroke: rgba(116, 145, 255, 0.25);
  --surface-light: rgb(243, 242, 247);
  --surface-border: rgba(17, 24, 50, 0.08);
  --text-dark: #11131f;
  --text-dark-secondary: #4a4d60;
  --hero-text-width: clamp(440px, 60vw, 748px);
  --hero-side-width: clamp(320px, 32vw, 420px);
  --text-primary: #f5f7ff;
  --text-secondary: rgba(181, 196, 255, 0.78);
  --text-muted: rgba(146, 164, 222, 0.6);
  --accent: #6c7bff;
  --accent-alt: #29d3ff;
  --accent-soft: rgba(97, 127, 255, 0.25);
  --gradient-primary: linear-gradient(135deg, #2f49d3 0%, #6c7bff 45%, #31d9ff 100%);
  --gradient-secondary: linear-gradient(145deg, rgba(70, 96, 255, 0.55) 0%, rgba(34, 204, 255, 0.35) 55%, rgba(111, 77, 255, 0.6) 100%);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container-width: min(1200px, 95vw);
  --shadow-xl: 0 40px 120px rgba(16, 28, 62, 0.55);
  --shadow-md: 0 24px 60px rgba(18, 32, 70, 0.45);
  --shadow-soft: 0 18px 40px rgba(18, 32, 70, 0.35);
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-primary);
  background: rgb(26, 26, 26);
  min-height: 100vh;
  overflow-x: hidden;
}

p {
  margin: 0 0 1.25rem;
  color: var(--text-secondary);
}

h1,
 h2,
 h3,
 h4 {
  margin: 0 0 0.75rem;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.15;
}

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

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

.container {
  width: var(--container-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.container.narrow {
  width: min(780px, 95vw);
}

.section {
  padding: 2rem 0;
}

.section-heading {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 0;
}

.section-heading p {
  max-width: 100%;
}

.hero {
  position: relative;
  padding: 2rem 0 2rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
  justify-content: center;
  grid-template-columns: minmax(0, var(--hero-text-width)) minmax(0, var(--hero-side-width));
  grid-template-rows: auto auto;
  grid-template-areas:
    "hero-content hero-badge"
    "hero-facts hero-badge";
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  gap: 1.5rem;
  grid-area: hero-content;
  align-self: stretch;
}

.hero-subtitle {
  margin: 0 0 1.4rem;
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  font-weight: 600;
  color: var(--accent-alt);
}

.hero-summary {
  margin: 0 0 2.4rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
  max-width: 560px;
}

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

.hero-side {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  grid-area: hero-badge;
  align-self: stretch;
}

.hero-badge {
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  height: 100%;
}

.badge-frame {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  border: 1px solid rgba(17, 24, 50, 0.12);
  background: var(--surface-light);
  box-shadow: 0 18px 40px rgba(13, 20, 38, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.badge-frame::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 64px;
  background: #2e71fc;
}

.badge-frame > * {
  position: relative;
  z-index: 1;
}

.badge-header {
  min-height: 64px;
  padding: 0 1.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.badge-company-logo {
  width: min(300px, 80%);
  height: auto;
  display: block;
}


.badge-body {
  flex: 1;
  padding: 1.8rem 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.badge-photo {
  width: 224px;
  height: 224px;
  border-radius: 18px;
  overflow: hidden;
  border: 3px solid rgba(46, 113, 252, 0.16);
  box-shadow: 0 16px 28px rgba(46, 113, 252, 0.22);
}

.badge-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.badge-name {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.25;
  color: #101426;
}

.badge-role {
  margin: 0;
  font-size: 1.28rem;
  color: rgba(16, 20, 38, 0.65);
}

.badge-footer {
  padding: 0.95rem 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.badge-qr {
  width: 110px;
  height: 110px;
  margin: 0;
  border-radius: 14px;
  padding: 0.5rem;
}

.badge-qr a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
}

.badge-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.badge-qr a:hover img {
  opacity: 0.8;
}

.badge-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.badge-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #0f0f0f;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.12rem;
}

.badge-link + .badge-link {
  margin-top: 0.45rem;
}

.badge-link__icon {
  width: 26px;
  height: 26px;
  display: block;
}

.badge-link span {
  line-height: 1;
  padding-top: 0.28rem;
}

.hero-context {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.hero-about,
.hero-profile {
  border-radius: var(--radius-lg);
  background: var(--surface-light);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-soft);
  color: var(--text-dark);
}

.hero-about {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
  max-width: 100%;
}


.hero-about h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
}

.hero-about p {
  margin: 0;
  color: var(--text-dark-secondary);
}

.hero-profile {
  border-radius: var(--radius-lg);
  background: var(--surface-light);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-soft);
  color: var(--text-dark);
  width: 100%;
  padding: 2rem;
  grid-area: hero-facts;
  align-self: stretch;
}

.hero-profile dl {
  margin: 0;
  display: grid;
  gap: 1.6rem;
}

.fact dt {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.3rem;
}

.fact dd {
  margin: 0.4rem 0 0;
  color: var(--text-dark-secondary);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.contact .button {
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
}

.button.primary {
  background: var(--gradient-primary);
  color: var(--text-primary);
  box-shadow: 0 20px 48px rgba(43, 92, 255, 0.45);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(43, 92, 255, 0.5);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--stroke);
  color: var(--text-primary);
}

.button.ghost:hover {
  border-color: rgba(97, 127, 255, 0.45);
  transform: translateY(-2px);
}

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 2.4rem 2.1rem;
  border-radius: var(--radius-xl);
  background: var(--surface-light);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-soft);
  color: var(--text-dark);
}

.product-card ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.8rem;
}

.product-visual {
  margin: 0;
  align-self: stretch;
}

.product-visual img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}


.product-description {
  margin: 0;
  color: var(--text-dark-secondary);
}

.product-role {
  margin-bottom: 1.2rem;
  font-weight: 600;
  color: var(--text-dark-secondary);
}

.product-link {
  margin-top: auto;
  font-weight: 600;
  color: var(--accent-alt);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.product-link::after {
  content: "→";
}

/* removed gradient overlays for cleaner look */

.timeline {
  display: grid;
  gap: 2.5rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 13px;
  width: 2px;
  background: rgba(108, 123, 255, 0.25);
}

.timeline-item {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--surface-light);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-soft);
  padding: 2.4rem 2.6rem 2.4rem 3.4rem;
  display: grid;
  gap: 1.6rem;
  color: var(--text-dark);
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 2.1rem;
  left: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 10px rgba(108, 123, 255, 0.18);
}

.timeline-item header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.company {
  font-weight: 600;
  color: var(--accent-alt);
}

.period {
  color: var(--text-dark-secondary);
  font-size: 0.95rem;
}

.company-brand {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.company-brand.text-only {
  align-items: flex-start;
}

.company-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.company-link {
  font-weight: 600;
  color: var(--accent-alt);
}

.company-description {
  margin: 0.35rem 0 0;
  color: var(--text-secondary);
}

.cloud-experience {
  border-radius: var(--radius-lg);
  background: var(--surface-light);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-soft);
  padding: 2.4rem;
  color: var(--text-dark);
  overflow: visible;
  position: relative;
}

.cloud-experience + .cloud-experience {
  margin-top: 2rem;
}

.cloud-header {
  margin-bottom: 2.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.cloud-logo {
  flex-shrink: 0;
  height: calc(1.8rem + 0.5rem + 1.05rem * 1.3); /* Высота h3 + margin-bottom + высота p с line-height */
  width: auto;
  object-fit: contain;
}

#education .cloud-logo {
  height: calc(1.8rem + 0.5rem + 1.05rem * 1.3); /* Высота h3 + margin-bottom + высота subtitle с line-height */
}

.cloud-logo-round {
  border-radius: 50%;
  width: calc(1.8rem + 0.5rem + 1.05rem * 1.3);
  height: calc(1.8rem + 0.5rem + 1.05rem * 1.3);
  object-fit: cover;
}

.cloud-header-text {
  flex: 1;
}

.cloud-header h3 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.cloud-subtitle {
  margin: 0;
  color: var(--text-dark-secondary);
  font-size: 1.05rem;
}

.education-direction {
  margin: 0.5rem 0 0;
  color: var(--text-dark-secondary);
  font-size: 0.95rem;
  line-height: 1.4;
}

.career-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 3rem;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  z-index: 1;
}

.timeline-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.8rem;
  flex-wrap: nowrap;
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  padding-bottom: 6.4px;
  scrollbar-width: thin;
}

.timeline-row::-webkit-scrollbar {
  height: 6px;
}

.timeline-row::-webkit-scrollbar-track {
  background: rgba(17, 24, 50, 0.08);
  border-radius: 3px;
}

.timeline-row::-webkit-scrollbar-thumb {
  background: rgba(17, 24, 50, 0.2);
  border-radius: 3px;
}

.timeline-vertical-connector {
  position: absolute;
  width: 3px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(46, 113, 252, 0.4), rgba(46, 113, 252, 0.6));
  border-radius: 2px;
  z-index: 0;
  pointer-events: none;
}

.timeline-vertical-connector::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid rgba(46, 113, 252, 0.6);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}

.timeline-row-reverse {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: nowrap;
  position: relative;
  padding-top: 46.4px;
  width: 100%;
  margin-left: 0;
  overflow-x: auto;
  overflow-y: visible;
  padding-bottom: 1rem;
  scrollbar-width: thin;
}

.timeline-row-reverse::-webkit-scrollbar {
  height: 6px;
}

.timeline-row-reverse::-webkit-scrollbar-track {
  background: rgba(17, 24, 50, 0.08);
  border-radius: 3px;
}

.timeline-row-reverse::-webkit-scrollbar-thumb {
  background: rgba(17, 24, 50, 0.2);
  border-radius: 3px;
}

.timeline-step-last {
  position: relative;
}

.timeline-step-first {
  position: relative;
}


.timeline-step {
  flex-shrink: 0;
  width: 319px;
  height: 110px;
  padding: 1.2rem 1rem;
  margin: 5px;
  border-radius: var(--radius-md);
  background: rgba(46, 113, 252, 0.1);
  border: 2px solid rgba(46, 113, 252, 0.25);
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.timeline-step:hover {
  background: rgba(46, 113, 252, 0.15);
  border-color: rgba(46, 113, 252, 0.4);
  transform: translateY(-2px);
  z-index: 10;
}

.timeline-step-current {
  background: rgba(46, 113, 252, 0.2);
  border-color: #2e71fc;
  box-shadow: 0 4px 12px rgba(46, 113, 252, 0.25);
}

.timeline-step-next {
  background: rgba(46, 113, 252, 0.15);
  border-color: rgba(46, 113, 252, 0.35);
  border-style: dashed;
}

.timeline-date {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.timeline-icon {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeline-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.timeline-role {
  font-size: 0.95rem;
  color: var(--text-dark-secondary);
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.timeline-connector {
  flex-shrink: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, rgba(46, 113, 252, 0.4), rgba(46, 113, 252, 0.6));
  border-radius: 2px;
  position: relative;
}

.timeline-connector::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid rgba(46, 113, 252, 0.6);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.timeline-connector-reverse {
  background: linear-gradient(to left, rgba(46, 113, 252, 0.4), rgba(46, 113, 252, 0.6));
}

.timeline-connector-reverse::after {
  right: auto;
  left: -4px;
  border-left: none;
  border-right: 6px solid rgba(46, 113, 252, 0.6);
}

.success-factors {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--surface-border);
  width: 100%;
  max-width: 100%;
}

.success-factors h4 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.factors-list {
  display: flex;
  gap: calc(1.6rem + 40px); /* gap + ширина стрелки + gap, как у таймлайна (0.8rem + 40px + 0.8rem) */
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
}

.factor-item {
  flex-shrink: 0;
  width: 319px;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(46, 113, 252, 0.08);
  border: 1px solid rgba(46, 113, 252, 0.15);
  color: var(--text-dark);
  font-size: 0.95rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  box-sizing: border-box;
}

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

.skills-card {
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  background: var(--surface-light);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-soft);
  color: var(--text-dark);
}

.skills-card h3 {
  color: var(--text-dark);
}

.skills-card ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.65rem;
  color: var(--text-dark-secondary);
}

.education-card {
  padding: 2.4rem;
  border-radius: var(--radius-lg);
  background: var(--surface-light);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-soft);
  color: var(--text-dark);
}

.education-card .period {
  color: #2e71fc;
  font-weight: 600;
}

.not-only-work {
  padding: 2rem 0 0;
}

.collage-container {
  width: 100%;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

.collage-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.speaking-card {
  padding: 2.1rem;
  border-radius: var(--radius-lg);
  background: var(--surface-light);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-soft);
  color: var(--text-dark);
}

.speaking-card h3 {
  color: var(--text-dark);
}

.speaking-card .meta {
  color: #2e71fc;
  font-weight: 600;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.speaking-card .meta a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.2s ease;
}

.speaking-card .meta a:hover {
  opacity: 0.8;
}

.speaking-card .meta-icon {
  height: 1em;
  width: auto;
  flex-shrink: 0;
}

.speaking-card ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.7rem;
  color: var(--text-dark-secondary);
}

.contact {
  padding: 2rem 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  pointer-events: none;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

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

.contact .container {
  pointer-events: auto;
}

.contact-inner {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-xl);
  background: #2e71fc;
  color: var(--text-primary);
  box-shadow: var(--shadow-xl);
  max-width: fit-content;
  margin: 0 auto;
}

.contact-inner h2 {
  font-size: inherit;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

.contact p {
  color: rgba(245, 247, 255, 0.86);
}

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

.contact-actions .button {
  white-space: nowrap;
  min-width: fit-content;
}

.contact-actions .button img {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.contact .button.ghost {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--text-primary);
}

.site-footer {
  padding: 2.4rem 0 3.4rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 720px) and (orientation: portrait) {
  :root {
    --hero-text-width: min(540px, 100%);
    --hero-side-width: min(520px, 100%);
  }

  body {
    font-size: 17px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, auto);
    grid-template-areas:
      "hero-badge"
      "hero-content"
      "hero-facts";
    justify-items: center;
  }

  .hero-grid {
    gap: 1.6rem;
  }

  .hero-side,
  .hero-content,
  .hero-profile {
    width: min(520px, 100%);
  }

  .hero-side {
    align-self: center;
  }

  .hero-badge {
    height: auto;
  }

  .badge-frame {
    width: 100%;
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 540px) and (orientation: portrait) {
  .section {
    padding: 1.5rem 0;
  }

  .hero-summary {
    font-size: 1.05rem;
  }

  .hero-grid {
    gap: 1.4rem;
  }

  .hero-side,
  .hero-content,
  .hero-profile {
    width: 100%;
  }

  .product-grid,
  .skills-grid,
  .speaking-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 9px;
  }

  .timeline-item {
    padding: 2.2rem 2rem 2.2rem 2.9rem;
  }

  .cloud-experience {
    padding: 1.8rem;
  }

  .career-timeline {
    gap: 0;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .timeline-row,
  .timeline-row-reverse {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    overflow-x: visible;
    overflow-y: visible;
    padding-bottom: 0;
    padding-top: 0;
    margin-left: 0;
  }

  .timeline-step {
    width: 100%;
    height: auto;
    min-height: 90px;
    padding: 0.9rem 0.8rem;
    flex: 0 0 auto;
    max-width: 100%;
    margin-bottom: 0.8rem;
  }

  .timeline-step-last {
    margin-bottom: 0.8rem;
  }

  .timeline-step-first {
    margin-top: 0;
  }

  .timeline-date {
    font-size: 0.85rem;
  }

  .timeline-role {
    font-size: 0.88rem;
  }

  .timeline-connector,
  .timeline-connector-reverse,
  .timeline-vertical-connector {
    display: none;
  }

  .cloud-companies {
    display: none;
  }

  .success-factors {
    margin-top: 2rem;
    padding-top: 2rem;
  }

  .factors-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .factor-item {
    width: 100%;
    max-width: 100%;
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
  }

  .contact-inner {
    flex-direction: column;
    align-items: center;
    max-width: calc(100% - 2rem);
    width: calc(100% - 2rem);
  }

  .contact-inner > div:first-child {
    width: 100%;
    text-align: center;
  }

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

  .button {
    flex: 1 1 auto;
    justify-content: center;
  }

  main {
    padding-bottom: 40px;
  }

  .not-only-work {
    margin-bottom: 40px;
  }
}

@media (max-width: 520px) {
  .hero-summary {
    font-size: 1rem;
  }

  .timeline-item header {
    flex-direction: column;
    align-items: flex-start;
  }
}
