/* ==========================================================
   YMT International — website stylesheet
   Brand colours taken from the YMT logo (green / blue / red)
   ========================================================== */
:root {
  --ink: #0b1324;
  --ink-2: #131f38;
  --ink-3: #1c2a48;
  --text: #22304a;
  --muted: #5d6b82;
  --line: #e4e8ef;
  --paper: #ffffff;
  --sand: #f6f4ef;          /* warm Omani neutral */
  --lime: #6ad300;          /* logo green */
  --green: #3c8a00;         /* accessible green for text */
  --blue: #2f86d6;          /* logo blue */
  --red: #e84b4b;           /* logo red */
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -18px rgba(11, 19, 36, .25);
  --shadow-lg: 0 30px 60px -20px rgba(11, 19, 36, .35);
  --max: 1200px;
  --header-h: 76px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--paper);
  font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: #b9c3d6; }
.section--dark h2, .section--dark h3 { color: #fff; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 48px; flex-wrap: wrap; }
.head > div { max-width: 640px; }
.head p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.section--dark .head p { color: #9aa6bd; }
.head--center { text-align: center; justify-content: center; }
.head--center > div { margin: 0 auto; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--red), var(--blue), var(--lime)); }
.section--dark .kicker, .on-dark .kicker { color: var(--lime); }
.lime { color: var(--lime); }
.grad-text { background: linear-gradient(90deg, var(--lime), #b6f24f); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: .98rem; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--lime { background: var(--lime); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(106, 211, 0, .8); }
.btn--lime:hover { background: #7be31a; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255,255,255,.22); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--ink); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  padding-top: env(safe-area-inset-top);
  transition: background .3s, box-shadow .3s, color .3s; color: #fff;
}
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header.is-solid, .header--solid {
  background: rgba(255, 255, 255, .92); color: var(--ink);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.01em; }
.brand img { width: 44px; height: auto; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; font-size: 1.1rem; }
.brand small { font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .nav__drop > button {
  padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: .94rem; color: inherit;
  background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover, .nav__drop > button:hover { background: rgba(127, 127, 127, .14); }
.nav > a.active { color: var(--lime); }
.header.is-solid .nav > a.active, .header--solid .nav > a.active { color: var(--green); }
.nav__drop { position: relative; }
.nav__drop > button svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.4; transition: transform .2s; }
.nav__drop:hover > button svg, .nav__drop.open > button svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 8px); width: 620px;
  background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transition: .2s var(--ease);
}
.mega::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav__drop:hover .mega, .nav__drop.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: flex; gap: 12px; padding: 12px; border-radius: var(--radius-sm); align-items: flex-start; }
.mega a:hover { background: var(--sand); }
.mega .ico { flex: none; width: 40px; height: 40px; }
.mega strong { display: block; font-size: .95rem; }
.mega small { color: var(--muted); font-size: .8rem; line-height: 1.4; display: block; }
.tag-new { font-size: .62rem; font-weight: 800; background: var(--lime); color: var(--ink); padding: 2px 7px; border-radius: 99px; margin-left: 6px; vertical-align: 2px; letter-spacing: .04em; }
.header__cta { display: flex; align-items: center; gap: 10px; }
.header__cta .btn { min-height: 44px; padding: 0 20px; font-size: .9rem; }
.header__phone { font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; }
.header__phone svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(127,127,127,.16); color: inherit; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: .25s var(--ease); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 27px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Mobile drawer (sibling of header so fixed positioning is relative to the viewport) */
.drawer {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff; overflow-y: auto;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + 10px) 22px calc(110px + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .3s var(--ease);
}
.menu-open .drawer { opacity: 1; visibility: visible; transform: none; }
.menu-open .header { color: #fff; background: var(--ink); box-shadow: none; }
.drawer a.big { display: block; font-size: 1.6rem; font-weight: 800; padding: 10px 0; letter-spacing: -.02em; }
.drawer h4 { color: #7f8ba3; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; margin: 26px 0 8px; }
.drawer .grid-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drawer .grid-links a { background: var(--ink-2); border-radius: var(--radius-sm); padding: 14px; font-weight: 600; font-size: .92rem; display: flex; gap: 10px; align-items: center; }
.drawer .grid-links .ico { width: 30px; height: 30px; }
.drawer .contact-mini { margin-top: 26px; display: grid; gap: 10px; color: #b9c3d6; }

/* ---------- Icons ---------- */
.ico { display: grid; place-items: center; border-radius: 12px; background: var(--sand); color: var(--ink); }
.ico svg { width: 55%; height: 55%; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico--lime { background: rgba(106, 211, 0, .16); color: var(--green); }
.ico--blue { background: rgba(47, 134, 214, .14); color: var(--blue); }
.ico--red { background: rgba(232, 75, 75, .13); color: var(--red); }
.section--dark .ico, .drawer .ico { background: rgba(255,255,255,.08); color: var(--lime); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; color: #fff; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero__slides, .hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__slides img { object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 7s linear; }
.hero__slides img.on { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,19,36,.55) 0%, rgba(11,19,36,.25) 35%, rgba(11,19,36,.85) 78%, var(--ink) 100%),
              linear-gradient(90deg, rgba(11,19,36,.75) 0%, rgba(11,19,36,0) 70%);
}
.hero .container { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 60px); padding-bottom: 40px; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 99px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: .85rem; font-weight: 600;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); margin-bottom: 26px;
}
.hero__pill b { background: var(--lime); color: var(--ink); border-radius: 99px; padding: 3px 10px; font-size: .72rem; letter-spacing: .05em; }
.hero h1 { color: #fff; max-width: 900px; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d3dbea; max-width: 620px; margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__bar {
  margin-top: clamp(50px, 8vh, 90px); display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero__bar div { padding: 22px 18px 6px 0; }
.hero__bar strong { display: block; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.hero__bar span { font-size: .88rem; color: #aab5c9; }
.hero__dots { position: absolute; right: 22px; bottom: 40%; z-index: 3; display: grid; gap: 10px; }
.hero__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; }
.hero__dots button.on { background: var(--lime); height: 28px; border-radius: 10px; }

/* ---------- Marquee ---------- */
.marquee { background: var(--lime); color: var(--ink); overflow: hidden; padding: 16px 0; font-weight: 800; font-size: 1.05rem; }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 40px; white-space: nowrap; }
.marquee__track span::after { content: "✦"; font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Service bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.tile {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; isolation: isolate;
  background: var(--ink-2); grid-column: span 4; transition: transform .35s var(--ease), box-shadow .35s;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,19,36,0) 25%, rgba(11,19,36,.9) 100%); }
.tile h3 { color: #fff; font-size: 1.45rem; margin-bottom: 6px; }
.tile p { color: #cfd7e6; font-size: .93rem; margin: 0; max-width: 420px; }
.tile__go {
  position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: .3s var(--ease);
}
.tile__go svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.2; transform: rotate(-45deg); transition: .3s var(--ease); }
.tile:hover .tile__go { background: var(--lime); }
.tile:hover .tile__go svg { stroke: var(--ink); transform: rotate(0); }
.tile__badge { position: absolute; top: 22px; left: 22px; background: var(--lime); color: var(--ink); font-weight: 800; font-size: .7rem; letter-spacing: .08em; padding: 5px 11px; border-radius: 99px; }
.tile--wide { grid-column: span 8; }
.tile--tall { min-height: 420px; }
.tile--tech { background: radial-gradient(500px 280px at 90% 0%, rgba(47,134,214,.55), transparent 60%), radial-gradient(400px 300px at 0% 100%, rgba(106,211,0,.35), transparent 60%), var(--ink-2); }
.tile--tech::before { display: none; }
.tile--tech .tile__art { position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 34px 34px; mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent); }
.tile--tech .tile__icon { position: absolute; top: 26px; left: 26px; width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.tile--tech .tile__icon svg { width: 32px; height: 32px; stroke: var(--lime); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile--tech .tile__badge { left: auto; right: 80px; }

/* ---------- About / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.collage { position: relative; aspect-ratio: 1 / 1.02; }
.collage img { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.collage img:nth-child(1) { inset: 0 22% 22% 0; width: 78%; height: 78%; }
.collage img:nth-child(2) { right: 0; bottom: 0; width: 52%; height: 50%; border: 8px solid var(--paper); }
.section--sand .collage img:nth-child(2) { border-color: var(--sand); }
.collage__badge {
  position: absolute; left: 6%; bottom: 6%; background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px;
}
.collage__badge strong { font-size: 2.2rem; color: var(--lime); font-weight: 800; line-height: 1; }
.collage__badge span { font-size: .85rem; line-height: 1.3; color: #b9c3d6; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 2px;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1324' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
}
.section--dark .checks li { color: #d3dbea; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.stat strong { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: .3s var(--ease); }
.card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.card .ico { width: 54px; height: 54px; margin-bottom: 20px; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.section--dark .card { background: var(--ink-2); border-color: rgba(255,255,255,.07); }
.section--dark .card p { color: #9aa6bd; }
.section--sand .card { border-color: transparent; }

/* ---------- Tech section ---------- */
.tech { position: relative; overflow: hidden; }
.tech::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 400px at 100% 0%, rgba(47,134,214,.25), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(106,211,0,.15), transparent 60%); }
.tech .container { position: relative; }
.tech__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tech__card { border-radius: 24px; padding: clamp(26px, 4vw, 40px); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); display: flex; flex-direction: column; }
.tech__card .ico { width: 62px; height: 62px; margin-bottom: 22px; border-radius: 18px; }
.tech__card h3 { font-size: 1.7rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 28px; }
.chips span { font-size: .84rem; font-weight: 600; padding: 7px 14px; border-radius: 99px; background: rgba(255,255,255,.07); color: #d3dbea; }
.tech__card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Logos / clients ---------- */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.logos span { padding: 14px 24px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--ink-3); font-size: .95rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { counter-increment: s; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); position: relative; }
.step::before { content: "0" counter(s); display: block; font-weight: 800; font-size: 2.4rem; letter-spacing: -.04em; line-height: 1; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--blue), var(--lime)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- CTA ---------- */
.cta { position: relative; border-radius: 28px; overflow: hidden; padding: clamp(40px, 6vw, 72px); color: #fff; isolation: isolate; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11,19,36,.95) 0%, rgba(11,19,36,.75) 55%, rgba(11,19,36,.35) 100%); }
.cta h2 { color: #fff; max-width: 640px; }
.cta p { color: #cfd7e6; max-width: 560px; font-size: 1.08rem; margin-bottom: 30px; }

/* ---------- Page hero (inner) ---------- */
.phero { position: relative; color: #fff; padding: calc(var(--header-h) + clamp(60px, 9vw, 110px)) 0 clamp(50px, 7vw, 80px); overflow: hidden; background: var(--ink); isolation: isolate; }
.phero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,19,36,.94) 0%, rgba(11,19,36,.7) 60%, rgba(11,19,36,.45) 100%); }
.phero--tech { background: radial-gradient(700px 360px at 85% 10%, rgba(47,134,214,.5), transparent 60%), radial-gradient(500px 300px at 10% 100%, rgba(106,211,0,.28), transparent 60%), var(--ink); }
.phero--tech::before { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; }
.crumbs { font-size: .85rem; color: #aab5c9; margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--lime); }
.phero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 800px; }
.phero p { color: #cfd7e6; font-size: 1.12rem; max-width: 640px; margin: 0; }

/* ---------- Service detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(30px, 5vw, 60px); align-items: start; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 1.04rem; }
.prose .lead { font-size: 1.18rem; color: var(--ink-3); }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0; }
.feat { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; }
.feat .ico { flex: none; width: 44px; height: 44px; }
.feat h3 { font-size: 1rem; margin-bottom: 4px; }
.feat p { font-size: .9rem; color: var(--muted); margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.gallery img:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; height: 100%; }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.box { border-radius: var(--radius); padding: 24px; background: var(--sand); }
.box h4 { font-size: 1rem; margin-bottom: 12px; }
.box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.box li a { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: .93rem; }
.box li a:hover { background: #fff; }
.box li a.active { background: var(--ink); color: #fff; }
.box li a::after { content: "→"; opacity: .5; }
.box--dark { background: var(--ink); color: #b9c3d6; }
.box--dark h4 { color: #fff; font-size: 1.3rem; }
.box--dark .btn { margin-top: 10px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 5vw, 60px); }
.info { display: grid; gap: 14px; align-content: start; }
.info a, .info div.item { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--sand); align-items: flex-start; transition: .2s; }
.info a:hover { background: #eeebe3; }
.info .ico { flex: none; width: 48px; height: 48px; background: #fff; }
.info strong { display: block; color: var(--ink); }
.info span { color: var(--muted); font-size: .95rem; }
.form { background: #fff; border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .86rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  font: inherit; font-size: 16px; /* 16px stops iOS zooming into fields */ color: var(--ink); background: #fbfbfa;
  -webkit-appearance: none; appearance: none; transition: border-color .2s, background .2s;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6b82' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.form small { display: block; color: var(--muted); margin-top: 12px; font-size: .82rem; }
.map { margin-top: 30px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #97a3ba; padding: clamp(60px, 8vw, 90px) 0 calc(30px + env(safe-area-inset-bottom)); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__logo { width: 110px; height: auto; margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .94rem; }
.footer a:hover { color: var(--lime); }
.footer__bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.social a:hover { background: var(--lime); color: var(--ink); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Floating WhatsApp (desktop) & bottom bar (phones) ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.mbar { display: none; }

/* ---------- Reveal animation ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .hero__slides img { transform: none; }
}

/* ==========================================================
   Responsive — tablet & phones (Android / iPhone)
   ========================================================== */
@media (max-width: 1080px) {
  .header__phone { display: none; }
  .tile, .tile--wide { grid-column: span 6; }
  .cards--4, .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: 1fr; }
  .aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav, .header__cta .btn { display: none; }
  .burger { display: block; }
  .split, .contact, .tech__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .hero__bar { grid-template-columns: repeat(2, 1fr); }
  .hero__dots { display: none; }
  .hero { min-height: 0; }
  .hero .container { padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 56px); }
  .collage { max-width: 560px; }
  /* bottom action bar for phones */
  .wa-float { display: none; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94);
    backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 -1px 0 var(--line);
  }
  .mbar a { min-height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: .9rem; background: var(--sand); color: var(--ink); }
  .mbar a svg { width: 20px; height: 20px; }
  .mbar .wa { background: #25d366; color: #fff; }
  .mbar .wa svg { fill: #fff; }
  .mbar .call svg { stroke: currentColor; fill: none; stroke-width: 2; }
  .mbar .quote { background: var(--lime); }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding: 0 18px; }
  .brand small { display: none; }
  .brand img { width: 40px; }
  .tile, .tile--wide { grid-column: span 12; min-height: 260px; }
  .tile--tall { min-height: 320px; }
  .cards, .cards--4, .cards--2, .steps, .feats, .row, .aside { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 20px; }
  .hero .container { padding-bottom: 26px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__bar div { padding: 16px 10px 4px 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer__top > div:first-child, .footer__top > div:last-child { grid-column: 1 / -1; }
  .head { margin-bottom: 32px; }
  .cta .btn { width: 100%; }
  .collage__badge { padding: 14px 16px; }
  .collage__badge strong { font-size: 1.7rem; }
  .map iframe { height: 300px; }
  .drawer a.big { font-size: 1.4rem; }
}

/* ---------- Solution cards with photo (IT services) ---------- */
.solutions { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0 10px; }
.sol { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .3s var(--ease); }
.sol:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.sol__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-2); }
.sol__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sol:hover .sol__img img { transform: scale(1.05); }
.sol__img .ico { position: absolute; left: 16px; bottom: -22px; width: 48px; height: 48px; background: #fff; box-shadow: var(--shadow); }
.sol__body { padding: 32px 22px 22px; }
.sol__body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.sol__body p { color: var(--muted); font-size: .93rem; margin-bottom: 12px; }
.sol__body ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sol__body li { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--sand); color: var(--ink-3); }
.sol--wide { grid-column: 1 / -1; flex-direction: row; }
.sol--wide .sol__img { flex: 0 0 48%; aspect-ratio: auto; }
.sol--wide .sol__img .ico { left: auto; right: -24px; bottom: 20px; }

/* ---------- Tourism destinations ---------- */
.dest { margin: 34px 0; }
.dest__head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.dest__flag { font-size: 1.6rem; line-height: 1; }
.dest__head h3 { font-size: 1.45rem; margin: 0; }
.dest p { color: var(--muted); margin-bottom: 0; }
.dest .gallery { margin-top: 16px; }
.gallery img { transition: transform .5s var(--ease); }
.gallery--5 img:last-child { grid-column: span 2; aspect-ratio: auto; height: 100%; }
.cap { position: relative; }

@media (max-width: 640px) {
  .solutions { grid-template-columns: 1fr; }
  .sol--wide { flex-direction: column; }
  .sol--wide .sol__img { flex: none; aspect-ratio: 16 / 10; }
  .sol--wide .sol__img .ico { left: 16px; right: auto; bottom: -22px; }
  .gallery--5 img:last-child { grid-column: auto; aspect-ratio: 4 / 3; height: auto; }
}

/* Gallery: fixed row heights so portrait and landscape photos crop evenly */
.gallery { grid-auto-rows: clamp(120px, 13vw, 175px); }
.gallery img, .gallery img:first-child, .gallery--5 img:last-child { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.gallery img:first-child { grid-column: span 2; grid-row: span 2; }
.sol--wide .sol__img .ico { left: 16px; right: auto; bottom: 16px; }
@media (max-width: 640px) {
  .gallery { grid-auto-rows: 120px; }
  .gallery img:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery--5 img:last-child { grid-column: auto; }
  .sol--wide .sol__img .ico { bottom: -22px; }
}
