/* Idetiks site styles */
:root {
  --white: #FFFFFF;
  --soft: #F5F5F7;
  --black: #111214;
  --black-2: #1D1D1F;
  --gray: #6E6E73;
  --gray-2: #A1A1A6;
  --line: #E5E5EA;
  --orange: #FF6B1A;
  --orange-soft: #FFF0E6;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--black); font: 400 17px/1.5 var(--sans); letter-spacing: -0.011em; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.03em; }
button { font: inherit; }
.wrap { width: min(1140px, 100% - 48px); margin-inline: auto; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark { width: 18px; height: 20px; }
.wordmark { font-weight: 800; font-size: 17px; letter-spacing: 0.16em; }
.icon { width: 28px; height: 28px; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 999px; border: 0; background: var(--black); color: var(--white); font: 500 16px/1 var(--sans); cursor: pointer; transition: background .2s, transform .15s; }
.btn:hover { background: #2C2C2E; }
.btn:active { transform: scale(.98); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-orange { background: var(--orange); }
.btn-orange:hover { background: #F25E0D; }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: #E8E8ED; }
.text-link { color: var(--orange); font-weight: 500; }
.text-link:hover { text-decoration: underline; }

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; }
.form input, .form textarea { font: inherit; font-size: 16px; color: var(--black); padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); resize: vertical; transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.form .btn { justify-self: start; }
.wa-icon { width: 18px; height: 18px; margin-right: 8px; flex: none; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; padding: 13px 18px 13px 16px; border-radius: 999px; background: var(--black); color: var(--white); font-size: 15px; font-weight: 500; box-shadow: 0 10px 30px -8px rgba(0,0,0,.35); transition: transform .2s, background .2s; }
.wa-float:hover { transform: translateY(-2px); background: var(--orange); }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 15px; } .wa-float .wa-icon { margin: 0; width: 22px; height: 22px; } }
.form-note { color: var(--gray); font-size: 14px; min-height: 1.2em; }

.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 13px; color: var(--gray); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .logo-mark { width: 14px; height: 16px; }
.footer .wordmark { font-size: 13px; color: var(--black); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }


@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Page */
.nav { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.links { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.links a:not(.btn) { padding: 8px 14px; border-radius: 999px; color: var(--gray); }
.links a:not(.btn):hover { background: var(--soft); color: var(--black); }

h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 600; line-height: 1.06; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 600; line-height: 1.1; }
.lede { font-size: 20px; color: var(--gray); margin-top: 20px; max-width: 520px; }
.section { padding: 112px 0; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.head .lede { margin-top: 12px; }

.hero { padding: 88px 0 96px; }
/* Rotating headline: slides share one grid cell so the height never jumps */
.rot-label { font-size: 15px; font-weight: 600; color: var(--orange); margin-bottom: 14px; transition: opacity .4s; }
.rot-label.out { opacity: 0; }
.rotator { display: grid; }
.rotator .slide { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.rotator .slide.on { opacity: 1; transform: none; }
.rotator .slide.off { opacity: 0; transform: translateY(-14px); }
.rotator em { font-style: normal; color: var(--orange); display: block; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cta-row { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.btn-outline { background: var(--white); color: var(--black); border: 1px solid var(--line); }
.btn-outline:hover { background: var(--soft); }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile { border: 1px solid var(--line); border-radius: 24px; padding: 26px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; transition: box-shadow .25s, transform .25s, border-color .25s, background .5s, color .5s; background: var(--white); }
.tile:hover { box-shadow: 0 12px 32px -12px rgba(0,0,0,.18); transform: translateY(-2px); border-color: transparent; }
.tile .icon { width: 40px; height: 40px; }
.tile strong { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.tile small { display: block; color: var(--gray); font-size: 14px; margin-top: 4px; }
.tile.dark { background: var(--black); color: var(--white); border-color: var(--black); }
.tile.dark small { color: var(--gray-2); }
.mosaic .wide { grid-column: span 2; min-height: 0; flex-direction: row; align-items: center; gap: 16px; justify-content: flex-start; }

/* Chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--white); padding: 9px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--black); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.chip .icon { width: 18px; height: 18px; }
.chip:hover { background: var(--soft); }
.chip[aria-pressed="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.chip[aria-pressed="true"] .icon { color: var(--white); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .25s, border-color .25s; min-height: 220px; }
.card:hover { box-shadow: 0 12px 32px -12px rgba(0,0,0,.18); border-color: transparent; }
.card.hide { display: none !important; }
.card .meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--gray); margin-bottom: 18px; }
.card .meta .icon { width: 26px; height: 26px; }
.badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--gray); }
.badge.product { background: var(--orange-soft); color: #C2410C; }
.card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.card p { color: var(--gray); font-size: 15.5px; }
.card.has-video { grid-column: span 3; display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: center; padding: 32px; }
.card.has-video video { border-radius: 14px; aspect-ratio: 16/10; object-fit: cover; object-position: top; background: #0A0F1E; }
.card.has-video h3 { font-size: 30px; }
.card.has-video p { font-size: 18px; }

/* Custom */
.custom { background: var(--soft); }
.custom-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.offer-list { display: grid; gap: 12px; }
.offer { background: var(--white); border-radius: 18px; padding: 22px 24px; display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.offer .icon { width: 32px; height: 32px; }
.offer h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.02em; }
.offer p { color: var(--gray); font-size: 15px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 9px; left: 10px; right: 10px; height: 2px; background: var(--line); }
.timeline > div { position: relative; }
.timeline i { display: block; width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 2px solid var(--black); margin-bottom: 18px; }
.timeline > div:first-child i { background: var(--orange); border-color: var(--orange); }
.timeline h4 { font-size: 18px; margin-bottom: 4px; }
.timeline p { color: var(--gray); font-size: 15px; }

.contact-card { border: 1px solid var(--line); border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }

@media (max-width: 900px) {
  .links a:not(.btn) { display: none; }
  .hero-grid, .custom-grid, .contact-card { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr; }
  .card.has-video { grid-column: auto; grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .contact-card { padding: 28px; }
  .section { padding: 80px 0; }
}
