/* ==========================================================
   Time Global Shipping (TGS) — main stylesheet
   ========================================================== */
:root {
  --navy: #2f2f86;
  --navy-dark: #1d1d5c;
  --sky: #24a8df;
  --sky-light: #e8f6fc;
  --ink: #1f2233;
  --text: #555a6e;
  --muted: #8a8fa3;
  --line: #e6e8ef;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --dark: #15173a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(29, 29, 92, 0.08);
  --shadow-lg: 0 20px 50px rgba(29, 29, 92, 0.16);
  --container: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; }

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sky); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--sky); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--sky); }
.section-head h2, .h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 50px; border: 2px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; transition: all .25s ease;
  font-family: inherit;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--sky); color: #fff; }
.btn-primary:hover { background: var(--navy); }
.btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--sky); }

/* ---------- Header (transparent over hero, solid on scroll) ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; transition: background .35s, box-shadow .35s;
}
.header:not(.scrolled) { background: linear-gradient(180deg, rgba(21,23,58,.6) 0%, rgba(21,23,58,0) 100%); }
.header.scrolled { background: #fff; box-shadow: 0 8px 30px rgba(29,29,92,.12); }

.topbar {
  color: #e2e4f5; font-size: 13.5px; border-bottom: 1px solid rgba(255,255,255,.14);
  max-height: 60px; overflow: hidden; transition: max-height .35s, opacity .35s, border-color .35s;
}
.header.scrolled .topbar { max-height: 0; opacity: 0; border-color: transparent; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 16px; }
.topbar-info { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar-info a, .topbar-info span { display: inline-flex; align-items: center; gap: 8px; }
.topbar-info a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; color: var(--sky); }
.topbar-countries { letter-spacing: .08em; font-weight: 500; }
.topbar-countries b { color: var(--sky); font-weight: 400; margin: 0 6px; }
.tb-phones b { color: var(--sky); font-weight: 400; margin: 0 2px; }
.tb-phones a:hover { color: #fff; }

.header-main .container { display: flex; align-items: center; justify-content: space-between; height: 86px; transition: height .35s; }
.header.scrolled .header-main .container { height: 76px; }
.logo { border-radius: 12px; transition: background .35s, padding .35s, box-shadow .35s; }
.header:not(.scrolled) .logo { background: #fff; padding: 7px 14px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.logo, .footer-logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { height: 50px; width: auto; }
.logo-text {
  font-family: "Noto Serif", Georgia, serif; font-weight: 600; font-size: 36px; line-height: 1;
  letter-spacing: .06em; color: #3f4093;
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 10px 16px; font-size: 14.5px; font-weight: 600;
  letter-spacing: .04em; color: var(--ink); transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--sky); transform: scaleX(0); transition: transform .25s; transform-origin: left;
}
.nav a:hover, .nav a.active { color: var(--sky); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav .btn { margin-left: 12px; padding: 11px 22px; color: #fff; letter-spacing: 0; }
.nav .btn::after { display: none; }
.nav .btn:hover { color: #fff; }
@media (min-width: 1081px) {
  .header:not(.scrolled) .nav a:not(.btn) { color: #fff; }
  .header:not(.scrolled) .nav a:not(.btn):hover, .header:not(.scrolled) .nav a.active { color: #7fd3f5; }
}

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 10px;
  background: var(--sky-light); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: var(--navy); position: relative; transition: .3s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 700px; height: 100vh; max-height: 960px; overflow: hidden; color: #fff; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08); transition: opacity 1.2s ease, transform 7s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero.has-video .hero-video { opacity: 1; }
.hero.has-video .hero-dots { display: none; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(21,23,58,.92) 0%, rgba(29,29,92,.7) 45%, rgba(36,168,223,.15) 100%);
}
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding-top: 130px; }
.hero-text { max-width: 680px; }
.hero-text .eyebrow { color: #7fd3f5; }
.hero-text .eyebrow::before { background: #7fd3f5; }
.hero h1 { color: #fff; font-size: clamp(36px, 6vw, 64px); font-weight: 800; margin-bottom: 22px; }
.hero h1 span { color: var(--sky); }
.hero p { font-size: 18px; color: #d9dcf2; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; z-index: 3; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots button {
  width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent;
  padding: 0; cursor: pointer; transition: .3s;
}
.hero-dots button.active { background: var(--sky); border-color: var(--sky); width: 32px; border-radius: 10px; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative; padding: 220px 0 100px; color: #fff; text-align: center;
  background-size: cover; background-position: center;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(21,23,58,.93), rgba(47,47,134,.8) 60%, rgba(36,168,223,.55));
}
.page-banner .container { position: relative; }
.page-banner h1 { color: #fff; font-size: clamp(34px, 5vw, 54px); margin-bottom: 10px; }
.breadcrumb { display: inline-flex; gap: 10px; font-size: 15px; color: #c9cbe8; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--sky); }

/* ---------- Feature strip ---------- */
.features { position: relative; z-index: 5; margin-top: -70px; }
.features-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.feature { display: block; padding: 32px 24px; background: #fff; transition: background .3s; }
.feature:hover { background: var(--sky-light); }
.feature:hover h4 { color: var(--sky); }
.feature h4 { transition: color .2s; }
.feature .ico { width: 54px; height: 54px; margin-bottom: 16px; color: var(--sky); }
.feature h4 { font-size: 18px; margin-bottom: 6px; }
.feature p { font-size: 14.5px; margin: 0; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-media { position: relative; padding: 0 40px 40px 0; }
.about-media .img-main { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 5/4; object-fit: cover; width: 100%; }
.about-media .img-small {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius); border: 8px solid #fff; box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute; left: -20px; top: 40px; background: var(--navy); color: #fff;
  padding: 20px 24px; border-radius: var(--radius); box-shadow: var(--shadow-lg); text-align: center;
}
.about-badge strong { display: block; font-size: 34px; line-height: 1; color: var(--sky); }
.about-badge span { font-size: 13px; letter-spacing: .06em; }
.check-list { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.check-list svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--sky); margin-top: 2px; }
.lead { font-size: 18px; color: var(--ink); font-weight: 500; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; }
.card-pic { aspect-ratio: 4/3; overflow: hidden; }
.card-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-pic img { transform: scale(1.06); }
.card-ico {
  position: absolute; z-index: 2; left: 24px; bottom: -30px; width: 60px; height: 60px; border-radius: 14px; border: 4px solid #fff;
  background: var(--sky); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 20px rgba(36,168,223,.4);
  transition: background .3s;
}
.card:hover .card-ico { background: var(--navy); }
.card-ico svg { width: 30px; height: 30px; }
.card-body { padding: 44px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 21px; }
.card-body p { font-size: 15px; flex: 1; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); font-size: 14.5px; }
.link-more svg { width: 16px; height: 16px; transition: transform .25s; }
.link-more:hover { color: var(--sky); }
.link-more:hover svg { transform: translateX(4px); }

/* ---------- Stats ---------- */
.stats {
  position: relative; color: #fff; padding: 80px 0;
  background: linear-gradient(120deg, rgba(29,29,92,.95), rgba(47,47,134,.88)), url("https://images.unsplash.com/photo-1494412574643-ff11b0a5c1c3?w=1600&q=70") center/cover fixed;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat strong { display: block; font-size: clamp(38px, 5vw, 54px); font-weight: 800; color: #fff; line-height: 1.1; }
.stat strong em { font-style: normal; color: var(--sky); }
.stat > span { color: #c9cbe8; font-size: 15px; letter-spacing: .05em; }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.why-item {
  display: flex; gap: 18px; padding: 24px; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line); transition: .3s;
}
.why-item:hover { border-color: var(--sky); box-shadow: var(--shadow); }
.why-item .ico {
  flex: 0 0 52px; height: 52px; border-radius: 12px; background: var(--sky-light); color: var(--sky);
  display: grid; place-items: center;
}
.why-item .ico svg { width: 26px; height: 26px; }
.why-item h4 { font-size: 17px; margin-bottom: 4px; }
.why-item p { font-size: 14.5px; margin: 0; }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ind {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; color: #fff;
  display: flex; align-items: flex-end; box-shadow: var(--shadow);
}
.ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ind::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(21,23,58,0) 30%, rgba(21,23,58,.92) 100%); transition: .4s;
}
.ind:hover img { transform: scale(1.08); }
.ind:hover::before { background: linear-gradient(180deg, rgba(47,47,134,.35) 0%, rgba(29,29,92,.95) 100%); }
.ind-body { position: relative; z-index: 2; padding: 24px; }
.ind-body h3 { color: #fff; font-size: 20px; margin-bottom: 6px; }
.ind-body p { font-size: 14px; color: #d4d7f0; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: .4s; }
.ind:hover .ind-body p { max-height: 120px; opacity: 1; }
.ind-body .ico { width: 44px; height: 44px; color: var(--sky); margin-bottom: 10px; }

.ind-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ind-tile {
  padding: 30px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  border-top: 4px solid var(--sky); transition: .3s;
}
.ind-tile:hover { transform: translateY(-6px); border-top-color: var(--navy); }
.ind-tile .ico { width: 48px; height: 48px; color: var(--navy); margin-bottom: 16px; }
.ind-tile h3 { font-size: 19px; }
.ind-tile p { font-size: 15px; margin: 0; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; text-align: center; padding: 0 10px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%;
  background: #fff; border: 2px dashed var(--sky); color: var(--navy); font-size: 26px; font-weight: 800;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 42px; left: calc(50% + 54px); width: calc(100% - 80px);
  border-top: 2px dashed #c8d3e6;
}
.step h4 { font-size: 18px; }
.step p { font-size: 14.5px; }

/* ---------- CTA ---------- */
.cta {
  border-radius: 20px; padding: 56px 60px; color: #fff; display: flex; align-items: center;
  justify-content: space-between; gap: 30px; flex-wrap: wrap;
  background: linear-gradient(110deg, var(--navy) 0%, var(--navy) 55%, var(--sky) 100%);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  border-radius: 50%; border: 40px solid rgba(255,255,255,.08);
}
.cta h2 { color: #fff; font-size: clamp(24px, 3.4vw, 36px); margin-bottom: 6px; }
.cta p { margin: 0; color: #d9dcf2; }
.cta .btn { position: relative; z-index: 1; background: #fff; color: var(--navy); }
.cta .btn:hover { background: var(--dark); color: #fff; }

/* ---------- Service detail (services page) ---------- */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; }
.svc-row + .svc-row { border-top: 1px solid var(--line); }
.svc-row:nth-child(even) .svc-media { order: 2; }
.svc-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.svc-num { font-size: 15px; font-weight: 700; color: var(--sky); letter-spacing: .1em; }
.svc-row h2 { font-size: clamp(26px, 3.4vw, 36px); }

/* ---------- Values / mission ---------- */
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mv {
  padding: 40px 32px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.mv::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--navy), var(--sky)); transform: scaleX(.25); transform-origin: left; transition: .4s;
}
.mv:hover::after { transform: scaleX(1); }
.mv .ico { width: 56px; height: 56px; color: var(--sky); margin-bottom: 18px; }
.mv h3 { font-size: 22px; }

.presence { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.country {
  text-align: center; padding: 30px 20px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); transition: .3s;
}
.country:hover { border-color: var(--sky); box-shadow: var(--shadow); }
.country .flag { font-size: 40px; line-height: 1; margin-bottom: 12px; }
.country h4 { margin-bottom: 4px; }
.country p { font-size: 14px; margin: 0; }

/* ---------- Branches (about) ---------- */
.branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.branch {
  position: relative; padding: 36px 30px 30px; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line); border-top: 4px solid var(--sky); transition: .3s; display: flex; flex-direction: column;
}
.branch:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-top-color: var(--navy); }
.branch-ico {
  width: 56px; height: 56px; border-radius: 14px; background: var(--sky-light); color: var(--sky);
  display: grid; place-items: center; margin-bottom: 18px;
}
.branch-ico svg { width: 26px; height: 26px; }
.branch h3 { font-size: 22px; margin-bottom: 2px; }
.branch-state { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); margin-bottom: 14px; }
.branch p { font-size: 15px; flex: 1; }
@media (max-width: 860px) { .branches { grid-template-columns: 1fr; } }

/* ---------- Careers ---------- */
.jobs { display: grid; gap: 18px; }
.job {
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
  padding: 26px 30px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); transition: .3s;
}
.job:hover { border-color: var(--sky); box-shadow: var(--shadow); }
.job h3 { font-size: 19px; margin-bottom: 6px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-meta svg { width: 15px; height: 15px; color: var(--sky); }
.job p { margin: 10px 0 0; font-size: 15px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; }
.info-card {
  background: var(--navy); color: #d9dcf2; border-radius: var(--radius); padding: 44px 38px;
  position: relative; overflow: hidden;
}
.info-card::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 240px; height: 240px;
  border-radius: 50%; background: rgba(36,168,223,.18);
}
.info-card h3 { color: #fff; font-size: 26px; }
.info-item { display: flex; gap: 16px; margin-top: 26px; position: relative; z-index: 1; }
.info-item .ico {
  flex: 0 0 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.1); color: var(--sky);
  display: grid; place-items: center;
}
.info-item .ico svg { width: 22px; height: 22px; }
.info-item h5 { margin: 0 0 2px; color: #fff; font-size: 15px; font-weight: 600; }
.info-item p, .info-item a { margin: 0; font-size: 15px; color: #d9dcf2; word-break: break-word; }
.info-item a:hover { color: #fff; }
.info-item .map-link { display: inline-block; margin-top: 4px; font-size: 13.5px; font-weight: 600; color: var(--sky); }
.footer-contact strong { color: #fff; font-weight: 600; }

.form-card { background: #fff; border-radius: var(--radius); padding: 44px 40px; box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 15px; color: var(--ink); background: var(--bg-alt); transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(36,168,223,.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 60px; }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #a7abc8; padding-top: 80px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 56px; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 10px 16px; margin-bottom: 20px; border: 4px solid var(--sky); }
.footer-logo .logo-mark { height: 46px; }
.footer-logo .logo-text { font-size: 32px; }
.footer h4 { color: #fff; font-size: 18px; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--sky); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { transition: .2s; display: inline-flex; align-items: center; gap: 8px; }
.footer ul a::before { content: "›"; color: var(--sky); font-weight: 700; }
.footer ul a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact li::before { display: none; }
.footer-contact svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--sky); margin-top: 4px; }
.footer-contact a::before { display: none; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff;
  display: grid; place-items: center; transition: .25s;
}
.socials a:hover { background: var(--sky); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: 14px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom .credit {
  display: block; text-align: center; margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.06); font-size: 13px; color: #8a8fb0;
}
.footer-bottom .credit a { color: var(--sky); font-weight: 600; }
.footer-bottom .credit a:hover { color: #fff; text-decoration: underline; }
.footer-bottom .countries b { color: var(--sky); font-weight: 400; margin: 0 6px; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 23px; bottom: 154px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  background: var(--sky); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(36,168,223,.4); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide { transition: opacity .3s; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 85vw); background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 100px 24px 30px;
    transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility .35s; z-index: 99;
  }
  .nav a { padding: 14px 6px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .btn { margin: 20px 0 0; justify-content: center; border-bottom: 0; }
  .nav-open .nav { transform: none; visibility: visible; box-shadow: -20px 0 40px rgba(0,0,0,.12); }
  .nav-toggle { position: relative; z-index: 101; }
  .cards.cols-4, .ind-grid, .presence { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(6, 1fr); }
  .feature { grid-column: span 2; }
  .feature:nth-child(4), .feature:nth-child(5) { grid-column: span 3; }
  .cards, .mv-grid, .ind-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step::after { display: none; }
}

@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .topbar-countries { display: none; }
  .split, .svc-row, .contact-grid, .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-row:nth-child(even) .svc-media { order: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .about-badge { left: 10px; }
  .cta { padding: 44px 32px; }
  .stats { background-attachment: scroll; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .topbar-info .hide-sm { display: none; }
  .header-main .container, .header.scrolled .header-main .container { height: 70px; }
  .logo-mark { height: 40px; }
  .logo-text { font-size: 30px; }
  .header:not(.scrolled) .logo { padding: 5px 10px; }
  .hero { min-height: 580px; height: auto; }
  .hero-content { padding: 170px 0 110px; }
  .features-grid, .cards, .cards.cols-4, .mv-grid, .ind-list, .presence, .form-grid, .footer-grid, .check-list { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .ind { aspect-ratio: 3/4; }
  .ind-body { padding: 16px; }
  .ind-body h3 { font-size: 16px; }
  .ind-body p { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(4), .feature:nth-child(5) { grid-column: auto; }
  .process { grid-template-columns: 1fr; }
  .job { grid-template-columns: 1fr; }
  .form-card, .info-card { padding: 32px 22px; }
  .about-media { padding: 0 20px 20px 0; }
  .page-banner { padding: 170px 0 70px; }
}

/* ---------- Quote popup ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(21, 23, 58, .7); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-box {
  position: relative; width: 100%; max-width: 640px; max-height: calc(100vh - 40px); overflow-y: auto;
  background: #fff; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.35);
  transform: translateY(24px) scale(.97); transition: transform .35s ease;
}
.modal.open .modal-box { transform: none; }
.modal-head {
  padding: 28px 36px 24px; color: #fff; border-radius: 18px 18px 0 0;
  background: linear-gradient(110deg, var(--navy) 0%, var(--navy) 55%, var(--sky) 100%);
}
.modal-head h3 { color: #fff; font-size: 24px; margin-bottom: 4px; }
.modal-head p { margin: 0; color: #d9dcf2; font-size: 14.5px; }
.modal-body { padding: 28px 36px 32px; }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.15); color: #fff; cursor: pointer; display: grid; place-items: center; transition: .2s;
}
.modal-close:hover { background: rgba(255,255,255,.3); transform: rotate(90deg); }
.modal-close svg { width: 18px; height: 18px; }
body.modal-lock { overflow: hidden; }
@media (max-width: 600px) {
  .modal { padding: 12px; align-items: flex-end; }
  .modal-box { max-height: calc(100vh - 24px); }
  .modal-head { padding: 24px 22px 20px; }
  .modal-body { padding: 22px; }
}

/* ---------- Floating WhatsApp / Call ---------- */
.float-btns { position: fixed; right: 20px; bottom: 22px; z-index: 95; display: flex; flex-direction: column; gap: 12px; }
.float-btn {
  position: relative; width: 54px; height: 54px; border-radius: 50%; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.22); transition: transform .25s;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn svg { width: 28px; height: 28px; position: relative; z-index: 1; }
.float-wa { background: #25d366; }
.float-call { background: var(--sky); }
.float-call svg { width: 24px; height: 24px; }
.float-btn::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
  animation: float-pulse 2.2s ease-out infinite;
}
.float-call::before { animation-delay: 1.1s; }
@keyframes float-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .float-btn::before { animation: none; } }
@media (max-width: 600px) {
  .float-btns { right: 14px; bottom: 16px; }
  .to-top { right: 16px; bottom: 140px; width: 44px; height: 44px; }
  .float-btn { width: 50px; height: 50px; }
}

/* Keep footer text clear of the floating WhatsApp / Call buttons */
@media (max-width: 860px) {
  .footer-bottom { padding-bottom: 150px; }
}
