/* ===== Time Print — main stylesheet ===== */

:root {
  --blue: #1040e0;
  --blue-dark: #0b2fa6;
  --blue-darker: #081f70;
  --ink: #101324;
  --ink-soft: #4b4f66;
  --bg: #ffffff;
  --bg-soft: #f4f6ff;
  --bg-soft-2: #eef1ff;
  --border: #e4e7f5;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 45px -20px rgba(16, 64, 224, .25);
  --shadow-sm: 0 8px 24px -12px rgba(16, 64, 224, .25);
  --ease: cubic-bezier(.16,1,.3,1);
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: 'Noto Sans Georgian', 'Manrope', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: 'Manrope', 'Noto Sans Georgian', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
  letter-spacing: -.01em;
}

p { margin: 0 0 1em; color: var(--ink-soft); }

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

svg { width: 1em; height: 1em; fill: currentColor; }

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

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }

/* Preloader */
#preloader {
  position: fixed; inset: 0; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity .5s var(--ease), visibility .5s;
}
#preloader img { width: 72px; height: 72px; animation: pulse 1.1s ease-in-out infinite; }
#preloader.is-hidden { opacity: 0; visibility: hidden; }
@keyframes pulse { 0%,100%{ transform: scale(1); opacity:1 } 50%{ transform: scale(.85); opacity:.6 } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { border-color: var(--border); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--blue); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(0,0,0,.3); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--block { width: 100%; }

.eyebrow {
  display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue); background: var(--bg-soft-2);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}

.checklist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; color: var(--ink); font-weight: 600; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 20.6 7.4 19.2 6z'/%3E%3C/svg%3E") center/60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 20.6 7.4 19.2 6z'/%3E%3C/svg%3E") center/60% no-repeat;
}

/* ===== Topbar ===== */
.topbar { background: var(--blue-darker); color: rgba(255,255,255,.85); font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.topbar__info { display: flex; align-items: center; gap: 22px; }
.topbar__item { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.85); }
.topbar__item svg { width: 14px; height: 14px; opacity: .8; }
.topbar__item:hover { color: #fff; }
.topbar__item--muted { cursor: default; }
.topbar__social a { display: flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.12); }
.topbar__social a:hover { background: #fff; color: var(--blue-darker); }
.topbar__social svg { width: 13px; height: 13px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(16,24,64,.35); border-color: var(--border); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand__logo { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 15px;
  color: var(--ink-soft); transition: all .2s;
}
.nav__link:hover, .nav__link.is-active { color: var(--blue); background: var(--bg-soft-2); }

.header__cta { margin-left: 4px; }

.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border);
  background: #fff; cursor: pointer;
}
.burger span { width: 18px; height: 2px; background: var(--ink); margin: 0 auto; transition: transform .25s, opacity .25s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 88px 0 70px; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 480px at 88% -8%, rgba(16,64,224,.12), transparent 60%),
    radial-gradient(600px 420px at 10% 110%, rgba(16,64,224,.08), transparent 60%),
    var(--bg-soft);
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); }
.hero__lead { font-size: 17px; max-width: 52ch; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 40px; }
.hero__trust { display: flex; align-items: center; gap: 20px; }
.trust__item { display: flex; flex-direction: column; }
.trust__item strong { font-family: 'Manrope', sans-serif; font-size: 24px; color: var(--blue); }
.trust__item span { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.trust__divider { width: 1px; height: 34px; background: var(--border); }

.hero__art { display: flex; align-items: center; justify-content: center; }
.hero__circle {
  position: relative; width: min(380px, 80vw); aspect-ratio: 1;
  border-radius: 50%; background: linear-gradient(145deg, var(--blue), var(--blue-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); animation: float 5s ease-in-out infinite;
}
.hero__circle::before {
  content: ""; position: absolute; inset: -18px; border-radius: 50%;
  border: 2px dashed rgba(16,64,224,.25);
}
.hero__circle img { width: 52%; filter: brightness(0) invert(1); }
@keyframes float { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-14px) } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border);
  background: #fff; display: flex; align-items: center; justify-content: center;
  color: var(--blue); animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100%{ transform: translate(-50%,0) } 50%{ transform: translate(-50%,6px) } }

/* ===== Strip ===== */
.strip { background: var(--blue); color: #fff; padding: 22px 0; }
.strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.strip__item { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.strip__item svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section__head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.section__head p { font-size: 16px; }

/* About */
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.about__art { position: relative; height: 420px; }
.about__shape { position: absolute; border-radius: 32px; }
.about__shape--1 { inset: 0 10% 10% 0; background: linear-gradient(160deg, var(--blue), var(--blue-dark)); }
.about__shape--2 { inset: 12% 0 0 12%; border: 2px solid var(--border); }
.about__card {
  position: absolute; left: 8%; bottom: 8%; width: 240px;
  background: #fff; border-radius: var(--radius-sm); padding: 20px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px;
}
.about__card svg { width: 28px; height: 28px; color: var(--blue); margin-bottom: 4px; }
.about__card strong { font-family: 'Manrope', sans-serif; }
.about__card span { font-size: 13px; color: var(--ink-soft); }
.about__content h2 { font-size: clamp(26px, 3.4vw, 36px); }

/* Services */
.services { position: relative; padding-top: 0; }
.services__hero {
  height: 220px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, var(--blue-darker), var(--blue) 60%, var(--blue-dark));
  margin-bottom: 72px; position: relative; overflow: hidden;
}
.services__hero::before, .services__hero::after {
  content: ""; position: absolute; border: 2px solid rgba(255,255,255,.15); border-radius: 28px;
}
.services__hero::before { width: 220px; height: 220px; transform: rotate(18deg); right: 8%; top: -60px; }
.services__hero::after { width: 160px; height: 160px; transform: rotate(-12deg); left: 6%; bottom: -70px; }
.services__hero span {
  font-family: 'Manrope', sans-serif; font-weight: 800; color: #fff;
  font-size: clamp(28px, 4.5vw, 44px); position: relative; text-align: center; padding: 0 20px;
}

.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card__icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--bg-soft-2); color: var(--blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 21px; }
.service-card p { font-size: 14.5px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0 0; }
.chips li { font-size: 12.5px; font-weight: 600; color: var(--blue); background: var(--bg-soft-2); padding: 6px 12px; border-radius: 999px; }

/* Portfolio */
.portfolio__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.portfolio__card {
  border-radius: var(--radius); background: #fff; border: 1px solid var(--border);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.portfolio__card__img { aspect-ratio: 1 / 1; overflow: hidden; }
.portfolio__card img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.portfolio__card h4 {
  color: var(--ink); margin: 0; font-size: 16px; text-align: center; padding: 16px 18px;
}
.portfolio__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.portfolio__card:hover img { transform: scale(1.06); }

/* CTA band */
.cta-band { background: var(--blue); color: #fff; padding: 56px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; font-size: 28px; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.contact__info { display: grid; gap: 14px; }
.info-card {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); transition: all .2s;
}
.info-card:hover { border-color: var(--blue); background: var(--bg-soft-2); }
.info-card__icon {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: var(--bg-soft-2); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.info-card__icon svg { width: 19px; height: 19px; }
.info-card strong { display: block; font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.info-card span span { font-size: 15px; font-weight: 700; color: var(--ink); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-top: 4px; }
.map iframe { width: 100%; height: 220px; border: 0; display: block; }

.contact__form {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; display: grid; gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact__form label { display: grid; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.contact__form input, .contact__form textarea {
  font: inherit; padding: 13px 16px; border-radius: 10px; border: 1px solid var(--border);
  background: #fff; color: var(--ink); resize: vertical;
}
.contact__form input:focus, .contact__form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.form-note { font-size: 12.5px; color: var(--ink-soft); margin: 0; text-align: center; }

/* Footer */
.footer { background: var(--blue-darker); color: rgba(255,255,255,.75); padding-top: 64px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.footer__brand img { height: 40px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer__brand p { font-size: 14px; color: rgba(255,255,255,.6); max-width: 34ch; }
.footer__social {
  display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,.1); margin-top: 8px;
}
.footer__social:hover { background: #fff; color: var(--blue-darker); }
.footer__col h5 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; }
.footer__bottom-inner { display: flex; justify-content: center; font-size: 13px; color: rgba(255,255,255,.55); }

/* Floating buttons */
.fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 400;
  width: 58px; height: 58px; border-radius: 50%; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
  animation: ring 2.6s ease-in-out infinite;
}
.fab svg { width: 24px; height: 24px; }
@keyframes ring { 0%,100%{ transform: scale(1) } 5%{ transform: scale(1.08) } 10%{ transform: scale(1) } }

.to-top {
  position: fixed; right: 24px; bottom: 92px; z-index: 400;
  width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--blue);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 18px; height: 18px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__art { order: -1; }
  .about__grid { grid-template-columns: 1fr; }
  .about__art { height: 320px; margin-bottom: 12px; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .topbar__item span:last-child { display: none; }
  .topbar__item svg { margin: 0; }
  .services__grid { grid-template-columns: 1fr; }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav, .header__cta { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; padding: 12px; border-bottom: 1px solid var(--border); gap: 4px;
    box-shadow: 0 16px 30px -20px rgba(16,24,64,.35);
  }
  .burger { display: flex; }
  .topbar__info { gap: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .strip__inner { justify-content: center; text-align: center; }
  .cta-band__inner { justify-content: center; text-align: center; }
}

@media (max-width: 520px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 50px; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .about__card { width: calc(100% - 32px); }
}
