/* ================================================
   MARCO DOO - Premium Corporate Website v2
   Distribucija gasne opreme, inzenjering, konsalting
   With Scroll-Driven Pipeline Animation
   ================================================ */

/* ---- Variables ---- */
:root {
  --navy: #0f1923;
  --navy-light: #1a2d3d;
  --navy-mid: #142533;
  --gold: #c9a84c;
  --gold-light: #e0bf5a;
  --gold-dark: #a88b3a;
  --gold-glow: rgba(201, 168, 76, 0.15);
  --cream: #f8f6f0;
  --cream-dark: #efe9dc;
  --white: #ffffff;
  --text: #2a2a2a;
  --text-light: #6b6b6b;
  --text-on-dark: #c8c4bc;
  --border: rgba(201, 168, 76, 0.2);
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 8px 30px rgba(201, 168, 76, 0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gold { color: var(--gold); }

/* ---- Pipeline ---- */
.pipeline-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

main {
  position: relative;
  overflow-x: clip;
}

#pipelineSvg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.pipeline-drawn {
  will-change: stroke-dashoffset;
}

/* ---- Preloader ---- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  animation: preloaderForceHide 0.6s ease 1.5s forwards;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: none;
}

@keyframes preloaderForceHide {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

.preloader__inner { text-align: center; }

.preloader__logo {
  margin-bottom: 24px;
  text-align: center;
}

.preloader__logo-img {
  height: 160px;
  width: auto;
}

.preloader__bar {
  width: 200px;
  height: 2px;
  background: rgba(0,0,0,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.preloader__progress {
  width: 0;
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  animation: preloaderBar 1.2s ease forwards;
}

@keyframes preloaderBar {
  to { width: 100%; }
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(15, 25, 35, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.nav__logo-img {
  height: 48px;
  width: auto;
  filter: invert(1) brightness(2);
  transition: all var(--transition);
}

.nav__logo:hover .nav__logo-img { opacity: 0.85; }

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  transition: all var(--transition);
}

.nav__logo-text .dot { color: var(--gold); }

.nav__logo:hover .nav__logo-text { opacity: 0.85; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all var(--transition);
}

.nav__link i { display: none; }

.nav__link:hover,
.nav__link.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav__link.active { color: var(--gold); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__phone {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 8px;
  transition: all var(--transition);
}

.nav__phone:hover {
  background: var(--gold);
  color: var(--navy);
}

.nav__lang {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 8px;
  transition: all var(--transition);
  letter-spacing: 0.5px;
}

.nav__lang:hover {
  background: var(--gold);
  color: var(--navy);
}

.nav__burger { display: none; }
.nav__menu-cta { display: none; }
.nav__menu-social { display: none; }
.nav__menu-lang { display: none; }

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 10px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

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

.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn--outline {
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

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

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--lg { padding: 16px 36px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ---- Section Helpers ---- */
.section { padding: 100px 0; }

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

.section--alt { background: var(--cream-dark); }

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 16px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

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

.section__desc {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
}

.section--dark .section__desc { color: var(--text-on-dark); }

/* ---- Scroll Animations ---- */
.animate-on-scroll {
  opacity: 1;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Main (above pipeline) ---- */
main {
  position: relative;
}

/* All sections above pipeline */
.hero,
.about-intro,
.services,
.partners,
.cta,
.page-hero,
.story,
.timeline,
.founders,
.values,
.contact,
.map-section {
  position: relative;
  z-index: 2;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1520 0%, #0f2027 30%, #1a3a4a 60%, #0f1923 100%);
  z-index: 0;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.05) 0%, transparent 50%);
}

/* Geometric Shapes */
.hero__geometric {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 4px;
  animation: floatShape 20s ease-in-out infinite;
}

.hero__shape--1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: -5%;
  transform: rotate(45deg);
  animation-delay: 0s;
}

.hero__shape--2 {
  width: 200px;
  height: 200px;
  bottom: 15%;
  left: -3%;
  transform: rotate(30deg);
  animation-delay: -5s;
  border-color: rgba(201, 168, 76, 0.06);
}

.hero__shape--3 {
  width: 150px;
  height: 150px;
  top: 20%;
  left: 15%;
  transform: rotate(60deg);
  animation-delay: -10s;
  border-color: rgba(201, 168, 76, 0.04);
}

.hero__shape--4 {
  width: 100px;
  height: 100px;
  bottom: 30%;
  right: 20%;
  transform: rotate(15deg);
  animation-delay: -15s;
  border-color: rgba(201, 168, 76, 0.08);
}

@keyframes floatShape {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  25% { transform: rotate(50deg) translate(20px, -15px); }
  50% { transform: rotate(42deg) translate(-10px, 20px); }
  75% { transform: rotate(48deg) translate(15px, 10px); }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 0 80px;
  max-width: 800px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  padding: 8px 24px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.mob-br { display: none; }

.hero__title-accent {
  color: var(--gold);
  position: relative;
}

.hero__title-accent::after {
  display: none;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-on-dark);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero__stat { text-align: center; }

.hero__stat-row {
  height: 3.2rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
}

.hero__stat-plus {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold);
}

.hero__stat-icon {
  font-size: 2rem;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  display: block;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* Hero Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 10px auto 0;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---- Page Hero (subpages) ---- */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1520, #1a3a4a);
  z-index: 0;
}

.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 60%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero__breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-hero__breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.page-hero__breadcrumb a:hover { color: var(--gold); }
.page-hero__breadcrumb i { font-size: 0.65rem; }
.page-hero__breadcrumb span { color: var(--gold); }

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-on-dark);
  max-width: 500px;
}

/* ---- About Intro ---- */
.about-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro__image { position: relative; }

.about-intro__visual {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-intro__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(201,168,76,0.12) 0%, transparent 60%),
              radial-gradient(circle at 80% 70%, rgba(201,168,76,0.08) 0%, transparent 50%);
}

#aboutCanvas {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.about-intro__experience {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--navy);
  padding: 20px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-gold);
}

.about-intro__experience-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.about-intro__experience-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-intro__text {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.about-intro__features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}

.about-intro__feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-intro__feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--gold-glow);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.1rem;
}

.about-intro__feature strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.about-intro__feature p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

.about-intro__content > .btn {
  display: inline-flex;
}

@media (max-width: 768px) {
  .about-intro__content { text-align: center; }
  .about-intro__text { text-align: left; }
  .about-intro__feature strong,
  .about-intro__feature p { text-align: left; }
  .about-intro__features { margin: 32px 0 36px; }
  .about-intro__content > .btn { margin: 0 auto; }
}

/* ---- Services ---- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.services__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.services__card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-4px);
}

.services__card-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-glow);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.3rem;
  margin-bottom: 24px;
  transition: all var(--transition);
}

.services__card:hover .services__card-icon {
  background: var(--gold);
  color: var(--navy);
}

.services__card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.services__card p {
  font-size: 0.9rem;
  color: var(--text-on-dark);
  line-height: 1.6;
}

.services__card-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  line-height: 1;
}

/* ---- Partners ---- */
.partners__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.partners__card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.partners__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 168, 76, 0.2);
}

.partners__logo {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.partners__logo i { font-size: 1.6rem; }
.partners__logo:has(img) {
  background: none;
  border-radius: 0;
  width: auto;
  height: 50px;
}
.partners__logo img { max-height: 50px; object-fit: contain; }

.partners__card--dark-header {
  padding-top: 0;
  overflow: hidden;
}
.partners__card--dark-header .partners__logo {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: calc(100% + 60px);
  margin: 0 -30px 20px;
  height: auto;
  padding: 24px 30px;
}

.partners__link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.partners__link:hover h3 { color: var(--gold); }

.partners__card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.partners__card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.partners__tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--gold-glow);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---- CTA ---- */
.cta {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1520, var(--navy), #1a3a4a);
  z-index: 0;
}

.cta__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.08), transparent 70%);
}

.cta__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.1rem;
  color: var(--text-on-dark);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta__social {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 28px;
}

.cta__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 1.1rem;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.cta__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

/* ---- Story (O nama) ---- */
.story__intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.story__intro-content .section__label { display: block; }

.story__intro-content p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.story__img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}

.story__img-placeholder i { font-size: 3.5rem; }
.story__img-placeholder span { font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; }
.story__img-placeholder canvas { width: 100%; height: 100%; position: absolute; inset: 0; }

/* ---- Timeline ---- */
.timeline__track {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Background line (faded) */
.timeline__line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(201, 168, 76, 0.1);
  transform: translateX(-50%);
}

/* Animated drawn line */
.timeline__line-drawn {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 0%;
  background: linear-gradient(to bottom, var(--gold), var(--gold-light));
  transform: translateX(-50%);
  z-index: 1;
  transition: height 0.1s linear;
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.4);
}

.timeline__item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
  margin-bottom: 50px;
  position: relative;
}

.timeline__item--right {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 40px);
}

/* Card slide-in animations */
.timeline__item .timeline__card {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline__item--right .timeline__card {
  transform: translateX(40px);
}

.timeline__item.visible .timeline__card {
  opacity: 1;
  transform: translateX(0);
}

/* Dot */
.timeline__dot {
  position: absolute;
  left: 50%;
  top: 20px;
  width: 16px;
  height: 16px;
  background: var(--navy-light);
  border: 3px solid rgba(201, 168, 76, 0.3);
  border-radius: 50%;
  transform: translateX(-50%) scale(0.6);
  z-index: 2;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline__item.visible .timeline__dot {
  background: var(--gold);
  border-color: var(--navy);
  transform: translateX(-50%) scale(1);
}

/* Dot pulse ring */
.timeline__dot::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 2px solid var(--gold);
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
}

.timeline__item.visible .timeline__dot::after {
  animation: dotPulse 1.5s ease-out 0.3s;
}

@keyframes dotPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

.timeline__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px;
}

.timeline__card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  background: rgba(255,255,255,0.06);
}

.timeline__year {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  padding: 4px 14px;
  background: var(--gold-glow);
  border-radius: 50px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.timeline__card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.timeline__card p {
  font-size: 0.9rem;
  color: var(--text-on-dark);
  line-height: 1.6;
}

/* ---- Founders ---- */
.founders__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.founders__card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: all var(--transition);
}

.founders__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.founders__card--highlight {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: var(--shadow-gold);
}

.founders__photo {
  width: 100%;
  height: 260px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.founders__photo::after {
  content: '\f065';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(0,0,0,0.5);
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.founders__photo:hover::after {
  opacity: 1;
}

.founders__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform var(--transition);
}

.founders__photo:hover img {
  transform: scale(1.05);
}

.founders__info {
  padding: 28px 30px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.2);
}

.founders__info h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.founders__role {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.founders__info p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Founder card clickable */
.founders__card[data-founder] {
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

.founders__card[data-founder] .founders__info {
  flex: 1;
}

.founders__card[data-founder].active {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.founders__read-more {
  padding: 12px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-top: 1px solid rgba(0,0,0,0.06);
  transition: all var(--transition);
}

.founders__card[data-founder]:hover .founders__read-more,
.founders__card[data-founder].active .founders__read-more {
  background: var(--gold-glow);
  color: var(--gold-dark);
}

.founders__card[data-founder].active .founders__read-more i {
  transform: rotate(180deg);
}

.founders__card[data-founder].active .founders__read-more .rm-text {
  display: none;
}

.founders__card[data-founder].active .founders__read-more .rm-text-close {
  display: inline;
}

.founders__read-more .rm-text-close {
  display: none;
}

.founders__read-more i {
  margin-right: 6px;
  transition: transform 0.3s ease;
}

/* Bio container */
.founders__bio-container {
  position: relative;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease, margin 0.4s ease;
  opacity: 0;
  margin-top: 0;
}

.founders__bio-container.open {
  max-height: 2000px;
  opacity: 1;
  margin-top: 30px;
}

.founders__bio-arrow {
  position: absolute;
  top: -10px;
  width: 20px;
  height: 20px;
  background: var(--white);
  border: 1px solid var(--gold);
  border-right: none;
  border-bottom: none;
  transform: rotate(45deg);
  transition: left 0.4s ease;
  z-index: 2;
}

.founders__bio {
  display: none;
  background: var(--white);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  animation: bioFadeIn 0.5s ease forwards;
}

.founders__bio.active {
  display: block;
}

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

.founders__bio-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--cream);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.founders__bio-close:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.founders__bio-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.founders__bio-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  flex-shrink: 0;
}

.founders__bio-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.founders__bio-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.founders__bio-content {
  columns: 2;
  column-gap: 40px;
}

.founders__bio-section {
  break-inside: avoid;
  margin-bottom: 24px;
}

.founders__bio-section h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.founders__bio-section h4 i {
  color: var(--gold);
  font-size: 0.95rem;
}

.founders__bio-section p {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 10px;
}

.founders__bio-list {
  list-style: none;
  padding: 0;
}

.founders__bio-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.65;
}

.founders__bio-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.founders__bio-highlight {
  break-inside: avoid;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--cream);
  padding: 24px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  position: relative;
  margin-top: 8px;
}

.founders__bio-highlight i {
  color: var(--gold);
  font-size: 1.2rem;
  margin-right: 8px;
  font-style: normal;
}

/* ---- Values ---- */
.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.values__item {
  text-align: center;
  padding: 30px 20px;
}

.values__icon {
  width: 80px;
  height: 80px;
  background: var(--white);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin: 0 auto 20px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.values__icon .icon-draw {
  color: var(--gold);
}

.values__item:hover .values__icon {
  background: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.values__item:hover .values__icon .icon-draw {
  color: var(--navy);
}

/* SVG Self-Drawing Icons */
.icon-draw path,
.icon-draw circle,
.icon-draw rect,
.icon-draw polyline,
.icon-draw line {
  stroke-dashoffset: var(--dash-len, 100);
  stroke-dasharray: var(--dash-len, 100);
  transition: stroke-dashoffset 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-draw.drawn path,
.icon-draw.drawn circle,
.icon-draw.drawn rect,
.icon-draw.drawn polyline,
.icon-draw.drawn line {
  stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .icon-draw path, .icon-draw circle, .icon-draw rect,
  .icon-draw polyline, .icon-draw line {
    stroke-dashoffset: 0 !important;
    stroke-dasharray: none !important;
  }
}

.values__item h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.values__item p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---- Contact ---- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: flex-start;
}

.contact__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.contact__card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all var(--transition);
}

.contact__card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(201, 168, 76, 0.15);
}

.contact__card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--gold-glow);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.1rem;
}

.contact__card h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 4px;
}

.contact__card a {
  display: block;
  font-size: 0.95rem;
  color: var(--text-light);
  transition: color var(--transition);
}

.contact__card a:hover { color: var(--gold); }

.contact__card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Contact Form */
.contact__form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
}

.contact__form-wrap h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.contact__form-wrap > p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 28px;
}

.form__group {
  margin-bottom: 20px;
}

.form__group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form__group input,
.form__group textarea,
.form__group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  background: var(--cream);
  color: var(--text);
  transition: all var(--transition);
  outline: none;
}

.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.form__group textarea { resize: vertical; min-height: 120px; }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---- Map ---- */
.map-section {
  padding: 80px 0 0;
}

.map-section__header { text-align: center; margin-bottom: 40px; }

.map-section__wrap {
  width: 100%;
  height: 450px;
  background: var(--navy);
}

.map-section__wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---- Footer ---- */
.footer {
  background: var(--white);
  color: var(--text);
  padding: 60px 0 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  position: relative;
  z-index: 2;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer__logo-img {
  height: 150px;
  width: auto;
}

.footer__desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.footer__nav ul li,
.footer__contact ul li {
  margin-bottom: 10px;
}

.footer__nav a,
.footer__contact a {
  font-size: 0.9rem;
  color: var(--text-light);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__nav a:hover,
.footer__contact a:hover { color: var(--gold); }

.footer__contact span {
  font-size: 0.9rem;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__contact i { width: 16px; text-align: center; color: var(--gold); }

.footer__bottom {
  padding: 20px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--transition);
  box-shadow: var(--shadow-gold);
}

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

.back-to-top:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
}

/* ---- 3D Tilt Card ---- */
.tilt-card {
  transition: transform 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__title { font-size: 3rem; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }

  /* Nav Mobile */
  .nav__burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    width: 28px;
    padding: 4px 0;
  }

  .nav__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .nav__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav__burger.active span:nth-child(2) { opacity: 0; }
  .nav__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .nav__phone span { display: none; }
  .nav__phone { border: none; padding: 8px; }
  .nav__lang { display: none; }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 40px;
    gap: 8px;
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    border-left: 1px solid rgba(201, 168, 76, 0.15);
  }

  .nav__menu.active { right: 0; }

  .nav__link {
    font-size: 1.1rem;
    padding: 18px 20px;
    min-height: 56px;
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 10px;
  }

  .nav__link i { display: inline; margin-right: 10px; color: var(--gold); }

  .nav__link:hover {
    background: rgba(255,255,255,0.05);
  }

  .nav__link.active {
    background: none;
    color: var(--gold);
    border-left: 3px solid var(--gold);
    border-radius: 0 10px 10px 0;
    padding-left: 17px;
  }

  .nav__menu-cta {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .nav__menu-cta .btn { width: 100%; justify-content: center; }

  .nav__menu-social {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .nav__menu-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    color: var(--gold);
    font-size: 1.1rem;
  }

  .nav__menu-lang {
    display: block;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .nav__menu-lang a {
    color: var(--gold);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
  }

  /* Buttons — bigger tap targets */
  .btn {
    padding: 16px 32px;
    font-size: 1rem;
    min-height: 52px;
  }

  .btn--sm {
    padding: 12px 24px;
    font-size: 0.9rem;
    min-height: 48px;
  }

  .btn--lg {
    padding: 18px 32px;
    font-size: 1.05rem;
    min-height: 56px;
  }

  .hero__actions .btn {
    width: auto;
    min-width: 220px;
    justify-content: center;
  }

  .cta__actions .btn {
    width: auto;
    justify-content: center;
  }

  .nav__phone {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Hero */
  .hero__title { font-size: 2.4rem; }
  .hero__subtitle { font-size: 1rem; }
  .hero__actions { flex-direction: column; align-items: center; gap: 12px; }
  .hero__stats { gap: 20px; flex-wrap: wrap; }
  .hero__stat-number { font-size: 2rem; }
  .hero__scroll { display: none; }
  .hero__shape { display: none; }

  /* About */
  .about-intro__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-intro__experience {
    right: 10px;
    bottom: -10px;
  }

  /* Story */
  .story__intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .story__intro-content { text-align: center; }
  .story__intro-content p { text-align: left; }

  /* Partners */
  .partners__grid { grid-template-columns: 1fr; }

  /* Founders */
  .founders__grid { grid-template-columns: 1fr; }
  .founders__photo { height: 300px; }
  .founders__bio { padding: 24px; }
  .founders__bio-content { columns: 1; }
  .founders__bio-header h3 { font-size: 1.25rem; }
  .founders__bio-section h4 { flex-direction: column; align-items: flex-start; gap: 4px; }
  .founders__bio-arrow { display: none; }
  .founders__bio-container { display: none; }
  .founders__bio-mobile-wrap { margin-bottom: 20px; }
  .founders__bio-mobile-wrap .founders__bio {
    display: block;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    border-top: 2px solid var(--gold);
    margin-top: -1px;
  }
  .founders__card[data-founder].active {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin-bottom: 0;
  }

  /* Timeline */
  .timeline__line,
  .timeline__line-drawn { left: 20px; transform: none; }

  .timeline__item,
  .timeline__item--right {
    padding-left: 60px;
    padding-right: 0;
    justify-content: flex-start;
  }

  .timeline__item .timeline__card,
  .timeline__item--right .timeline__card {
    transform: translateX(-30px);
  }

  .timeline__item.visible .timeline__card {
    transform: translateX(0);
  }

  .timeline__dot {
    left: 20px;
    transform: translateX(0) scale(0.6);
  }

  .timeline__item.visible .timeline__dot {
    transform: translateX(0) scale(1);
  }

  /* Contact */
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  /* Page Hero */
  .page-hero { padding: 130px 0 60px; }
  .page-hero h1 { font-size: 2.2rem; }

  /* CTA */
  .cta h2 { font-size: 1.8rem; }
  .cta p { text-align: center; }
  .cta__actions { flex-direction: column; align-items: center; }
  .cta__actions .btn { min-width: 260px; text-align: center; justify-content: center; }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer__brand { grid-column: 1 / -1; text-align: center; }
  .footer__logo { justify-content: center; }

  /* Header mobile */
  .header { padding: 12px 0; }
  .header.scrolled { padding: 10px 0; }
  .nav__logo-img { height: 40px; }
  .header.scrolled .nav__logo-img { height: 36px; }
  .nav__logo-text { font-size: 1.3rem; }
  .header.scrolled .nav__logo-text { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }

  .section__title { font-size: 1.8rem; }

  .hero { min-height: 100svh; }
  .hero__content { padding: 100px 0 60px; }
  .hero__title { font-size: 2rem; }
  .mob-br { display: inline; }
  .hero__badge { font-size: 0.75rem; padding: 6px 18px; }
  .hero__stats { gap: 16px; }
  .hero__stat-number { font-size: 1.6rem; }
  .hero__stat-label { font-size: 0.7rem; }
  .hero__stat-divider { height: 30px; }

  .services__grid { grid-template-columns: 1fr; }
  .services__card { padding: 30px 24px; }

  .values__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .values__item { padding: 20px; }
  .values__item .values__icon { width: 56px; height: 56px; }

  .contact__form-wrap { padding: 28px 20px; }

  .page-hero { padding: 110px 0 50px; }
  .page-hero h1 { font-size: 1.8rem; }

  .btn--lg { padding: 14px 28px; font-size: 0.95rem; }

  .cta { padding: 70px 0; }
  .cta h2 { font-size: 1.5rem; }

  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .footer__brand { text-align: center; }
  .footer__logo { justify-content: center; }

  .about-intro__experience { display: none; }

  .map-section { padding: 60px 0 0; }
  .map-section__wrap { height: 300px; }

  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }

}

/* ================================================
   PREMIUM FEATURE 2: Word-by-Word Hero Reveal
   ================================================ */
.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  margin-right: 0.25em;
}

.hero__title .word.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero__title .word-accent {
  color: var(--gold);
}

/* ================================================
   PREMIUM FEATURE 3: Scroll Progress Bar
   ================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold));
  z-index: 100000;
  transition: none;
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.5);
}

/* ================================================
   PREMIUM FEATURE 4: Image Reveal (clip-path)
   ================================================ */
.reveal-image {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.reveal-image.revealed {
  clip-path: inset(0 0% 0 0);
}

/* ================================================
   PREMIUM FEATURE 5: Grain Texture Overlay
   ================================================ */
.grain-overlay {
  position: fixed;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  z-index: 99990;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  animation: grainShift 0.5s steps(1) infinite;
}

@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, -3%); }
  50% { transform: translate(3%, 1%); }
  75% { transform: translate(-1%, 4%); }
  100% { transform: translate(2%, -2%); }
}
