/* ============================================
   CINTIA PACHECO - SWISS BANKING STYLE
   Professional Website Stylesheet v3
   ============================================ */

/* Design System Variables */
:root {
  --navy: #1a2744;
  --navy-dark: #0d1525;
  --gold: #c9a84c;
  --white: #ffffff;
  --gray-light: #f7f7f7;
  --gray-mid: #c4c4c4;
  --text-dark: #1a2744;
  --text-light: #f7f7f7;
  --text-mid: #5c5c66;
  --max-width: 1200px;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

/* Typography */
h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-dark);
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-dark);
}

h3 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-dark);
}

p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
}

.caption {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-mid);
}

/* Language Handling — v4
   Pages are now in /en/ and /de/ folders, so language switching happens via
   navigation, not via toggling visibility. The data-lang elements were stripped
   from each language file by the i18n restructure. These rules below are
   kept as a defensive net in case any stale data-lang attribute slips through. */

html[lang="en"] [data-lang="de"] {
  display: none !important;
}
html[lang="de"] [data-lang="en"] {
  display: none !important;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 32px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.transparent {
  background-color: transparent;
}

.navbar.solid {
  background-color: var(--navy);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--white);
  padding: 8px 0;
  position: relative;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--gold);
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--white);
}

.lang-btn {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 400;
  color: var(--white);
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.lang-btn:hover {
  opacity: 0.85;
}

.lang-btn.active {
  opacity: 1;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--gold);
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--gold);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--navy);
  padding: 96px 32px;
  transition: right 0.3s ease;
  z-index: 1001;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 32px;
  right: 32px;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 24px;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 64px;
}

.mobile-nav-link {
  font-size: 18px;
  color: var(--white);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-lang-toggle {
  margin-top: 64px;
  display: flex;
  gap: 16px;
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.mobile-overlay.open {
  display: block;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(26, 39, 68, 0.78);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 96px 32px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 96px;
  align-items: center;
}

.hero-text {
  color: var(--white);
}

.hero-pretitle {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 32px;
}

.hero-description {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 64px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo {
  max-width: 360px;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border: 2px solid var(--gold);
  border-radius: 4px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background-color: #d4b55a;
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--gold);
}

.btn-secondary:hover {
  background-color: rgba(201, 168, 76, 0.1);
}

/* Divider */
.divider-gold {
  width: 100%;
  height: 60px;
  background-image: url('/images/divider-gold.png');
  background-size: cover;
  background-position: center;
}

/* Stat Band Section */
.stats-section {
  background-image: url('/images/stat-band-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 80px 32px;
  position: relative;
}

.stats-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.stat-item {
  text-align: center;
  padding: 32px;
  position: relative;
}

.stat-divider {
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 96px;
  background-color: var(--gold);
  background-image: none;
  opacity: 0.6;
}

.stat-number {
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 16px;
}

.stat-label {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Editorial Strip */
.editorial-strip {
  width: 100%;
  height: 480px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.editorial-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(26, 39, 68, 0.4);
}

.editorial-text {
  position: relative;
  z-index: 1;
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  text-align: center;
  max-width: 800px;
  padding: 0 32px;
  line-height: 1.5;
}

/* CTA Section */
.cta-section {
  padding: 80px 32px;
  background-color: var(--white);
  text-align: center;
}

.link-gold {
  font-size: 16px;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s ease;
}

.link-gold:hover {
  opacity: 0.8;
}

.link-gold::after {
  content: '>';
  font-size: 14px;
}

/* Page Hero */
.page-hero {
  height: 240px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}

.page-hero-legal {
  height: 200px;
}

.page-hero-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
  color: var(--gold);
  text-align: center;
}

/* Content Sections */
.section {
  padding: 96px 32px;
}

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

.section-pattern {
  background-color: var(--white);
  background-image: url('/images/about-pattern.jpg');
  background-size: cover;
  background-position: center;
}

.section-navy {
  background-color: var(--navy);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* About Page Layout */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 64px;
  align-items: start;
}

.about-photo {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(26, 39, 68, 0.08);
}

.about-text p {
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
}

.about-text p.text-mid {
  color: var(--text-mid);
  font-size: 15px;
}

.employer-mark {
  margin: 32px 0;
}

.employer-mark img {
  width: 240px;
  height: auto;
}

/* Value Section */
.value-section {
  position: relative;
  background-image: url('/images/editorial-meeting-room.jpg');
  background-size: cover;
  background-position: center;
  padding: 96px 32px;
}

.value-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.92);
}

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

.value-title {
  text-align: center;
  margin-bottom: 64px;
  color: var(--navy);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.value-card {
  background-color: var(--white);
  background-image: url('/images/card-pattern.jpg');
  background-size: cover;
  padding: 32px;
  text-align: center;
  position: relative;
  border: 1px solid var(--gray-mid);
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background-image: url('/images/corner-mark.png');
  background-size: contain;
  background-repeat: no-repeat;
}

.value-card-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
}

.value-card-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* Expertise Page */
.expertise-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
  color: var(--text-mid);
  font-size: 17px;
  line-height: 1.7;
}

.section-ornament {
  text-align: center;
  margin-bottom: 64px;
}

.section-ornament img {
  height: 100px;
  margin: 0 auto;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.expertise-card {
  background-color: var(--white);
  background-image: url('/images/card-pattern.jpg');
  background-size: cover;
  border: 1px solid var(--gray-mid);
  padding: 40px;
  transition: border-top-width 0.2s ease, border-top-color 0.2s ease;
}

.expertise-card:hover {
  border-top: 3px solid var(--gold);
}

.expertise-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 32px;
}

.expertise-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.expertise-card-title {
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 16px;
}

.expertise-card-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-mid);
}

/* Editorial Break */
.editorial-break {
  width: 100%;
  height: 320px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.editorial-break-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(26, 39, 68, 0.55);
}

.editorial-break-text {
  position: relative;
  z-index: 1;
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  text-align: center;
  max-width: 800px;
  padding: 0 32px;
}

.editorial-break-alt {
  background-color: rgba(255, 255, 255, 0.85);
}

.editorial-break-alt .editorial-break-text {
  color: var(--navy);
  font-style: normal;
}

/* Experience Timeline */
.timeline-section {
  position: relative;
  background-color: var(--navy);
  background-image: url('/images/editorial-folder.jpg');
  background-size: cover;
  background-position: center;
  padding: 96px 32px;
}

.timeline-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(26, 39, 68, 0.92);
}

.timeline-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  padding: 64px 0;
}

/* Central gold line as pseudo-element so it doesn't count in :nth-child */
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--gold);
  transform: translateX(-50%);
}

/* Legacy class kept for backwards compat — hidden */
.timeline-line {
  display: none;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  grid-auto-flow: dense;
  gap: 64px;
  margin-bottom: 96px;
  position: relative;
  align-items: start;
}

/* ODD items (1, 3, 5): IMAGE LEFT, CONTENT RIGHT */
.timeline-item:nth-child(odd) .timeline-image-side {
  grid-column: 1;
  grid-row: 1;
  padding-right: 32px;
}

.timeline-item:nth-child(odd) .timeline-content-side {
  grid-column: 2;
  grid-row: 1;
  padding-left: 32px;
}

/* EVEN items (2, 4): CONTENT LEFT, IMAGE RIGHT */
.timeline-item:nth-child(even) .timeline-image-side {
  grid-column: 2;
  grid-row: 1;
  padding-left: 32px;
}

.timeline-item:nth-child(even) .timeline-content-side {
  grid-column: 1;
  grid-row: 1;
  padding-right: 32px;
}

/* All content text is left-aligned for readability — no right-align gymnastics */
.timeline-content-side {
  text-align: left;
}

/* Image side: stretch to match row height, then center the img inside via flex */
.timeline-image-side {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Content side stays anchored to top so date aligns with dot */
.timeline-content-side {
  align-self: start;
}

.timeline-image-side img {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.timeline-item:nth-child(even) .timeline-image-side img {
  margin-left: auto;
  display: block;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background-color: var(--gold);
  border: 2px solid var(--navy);
  border-radius: 50%;
  top: 5px;
  z-index: 2;
}

/* Date is the first element of content-side; ensure no top margin so dot aligns */
.timeline-date {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.4;
}

.timeline-content-wrapper {
  color: var(--white);
}

.timeline-title {
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}

.timeline-company {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.timeline-list {
  list-style: disc;
  padding-left: 24px;
}

.timeline-list li {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}

.timeline-employer-mark {
  margin: 24px 0;
}

.timeline-employer-mark img {
  width: 240px;
  height: auto;
}

/* Education Section */
.education-section {
  padding-top: 64px;
  border-top: 1px solid rgba(201, 168, 76, 0.3);
  max-width: 900px;
  margin: 0 auto;
}

.education-title {
  font-size: 24px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 32px;
  text-align: center;
}

.education-list {
  max-width: 600px;
  margin: 0 auto;
}

.education-item {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
  padding-left: 24px;
  position: relative;
}

.education-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: var(--gold);
  border-radius: 50%;
}

/* Contact Page */
.contact-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 128px 32px;
}

.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(26, 39, 68, 0.85);
}

.contact-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
}

.contact-intro {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 48px;
}

.contact-divider {
  margin: 48px auto;
}

.contact-divider img {
  height: 60px;
  margin: 0 auto;
}

.contact-methods {
  margin-bottom: 48px;
}

.contact-method {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-method img {
  width: 32px;
  height: 32px;
}

.contact-method a,
.contact-method span {
  font-size: 24px;
  color: var(--gold);
  transition: opacity 0.2s ease;
}

.contact-method a:hover {
  opacity: 0.8;
}

.contact-closing {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Legal Pages */
.legal-section {
  padding: 96px 32px;
  background-color: var(--white);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 28px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 48px;
}

.legal-content h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 24px;
}

/* Footer */
.footer {
  position: relative;
  background-color: var(--navy-dark);
  background-image: url('/images/footer-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 64px 32px;
}

.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(13, 21, 37, 0.7);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  margin-bottom: 64px;
}

.footer-col {
  color: var(--white);
}

.footer-name {
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-role,
.footer-location {
  font-size: 14px;
  color: var(--gray-mid);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contact-item img {
  width: 24px;
  height: 24px;
}

.footer-link {
  font-size: 14px;
  color: var(--gold);
  transition: opacity 0.2s ease;
}

.footer-link:hover {
  opacity: 0.8;
}

.footer-legal {
  display: flex;
  gap: 16px;
}

.footer-legal-link {
  font-size: 14px;
  color: var(--white);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.footer-legal-link:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  font-size: 14px;
  color: var(--gray-mid);
}

/* Cookie / privacy disclosure — discreet, no popup */
.footer-privacy-notice {
  margin-top: 16px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.05em;
  line-height: 1.6;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.footer-privacy-notice a {
  color: rgba(201, 168, 76, 0.7);
  text-decoration: none;
}

.footer-privacy-notice a:hover {
  color: var(--gold);
}

/* Page Load Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body {
  animation: fadeIn 0.4s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-photo {
    max-width: 280px;
    margin: 0 auto;
  }

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

  .about-photo {
    max-width: 400px;
    margin: 0 auto;
  }

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

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

  .timeline-line {
    left: 20px;
    transform: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 50px;
    gap: 16px;
  }

  /* Mobile: image on top, content below, all left-aligned */
  .timeline-item:nth-child(odd) .timeline-image-side,
  .timeline-item:nth-child(even) .timeline-image-side {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
  }

  .timeline-item:nth-child(odd) .timeline-content-side,
  .timeline-item:nth-child(even) .timeline-content-side {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
    padding: 0;
  }

  .timeline-item:nth-child(even) .timeline-list,
  .timeline-item:nth-child(odd) .timeline-list {
    text-align: left;
    display: block;
  }

  .timeline-item:nth-child(even) .timeline-employer-mark,
  .timeline-item:nth-child(odd) .timeline-employer-mark {
    display: block;
    justify-content: flex-start;
  }

  .timeline-item:nth-child(even) .timeline-image-side img {
    margin-left: 0;
  }

  .timeline-image-side img {
    max-width: 100%;
  }

  .timeline-dot {
    left: 20px;
    transform: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-contact-item {
    justify-content: center;
  }

  .footer-legal {
    justify-content: center;
  }
  
  .editorial-strip {
    height: 320px;
  }
  
  .editorial-text {
    font-size: 20px;
  }
}

@media (max-width: 375px) {
  .hero {
    min-height: auto;
    padding-top: 100px;
  }

  .btn {
    width: 100%;
  }

  .contact-method a,
  .contact-method span {
    font-size: 18px;
  }
  
  .section {
    padding: 64px 16px;
  }
}
