/* =========================================================
   Tuksys — faithful recreation
   Palette: blue #288feb + navy #243141, thin Montserrat
   ========================================================= */

:root {
  --brand: #288feb;
  --brand-dark: #1f7ad1;
  --navy: #243141;
  --navy-2: #1d2836;
  --ink: #333333;
  --ink-soft: #5b6573;
  --muted: #8a95a3;
  --line: #e7eaef;
  --bg: #ffffff;
  --bg-alt: #eeeeee;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(36, 49, 65, .06);
  --shadow-md: 0 14px 34px rgba(36, 49, 65, .12);
  --maxw: 1170px;
  --font: "Montserrat", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
.img-fluid { width: 100%; max-width: 100%; height: auto; object-fit: contain; }
a { color: inherit; text-decoration: none; }

/* heading weights match the live theme exactly */
h1, h2 { font-family: "Montserrat", sans-serif; font-weight: 100; line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h3 { font-family: "Montserrat", sans-serif; font-weight: 400; line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h4 { font-family: "Raleway", sans-serif; font-weight: 100; line-height: 1.3; margin: 0 0 .5em; color: var(--ink); }
h5, h6 { font-family: "Open Sans", sans-serif; font-weight: 600; line-height: 1.3; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; color: var(--ink-soft); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 15px; }

.section { padding: 50px 0; }
.section--alt { background: var(--bg-alt); }
.text-center { text-align: center; }

/* ---------- Section titles ---------- */
.section-title { text-align: center; max-width: 860px; margin: 0 auto 50px; }
.section-title h3 { font-size: 36px; line-height: 36px; font-weight: 400; margin-bottom: 15px; }
.section-title p { font-size: 16px; font-weight: 400; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 4px;
  font-weight: 500; font-size: 14px; cursor: pointer; border: 1px solid transparent;
  transition: .25s ease; text-align: center;
}
.btn--rounded { border-radius: 50px; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }
.btn--light { background: #fff; color: var(--brand); border-color: #fff; }
.btn--light:hover { background: var(--brand-dark); color: #fff; border-color: var(--brand-dark); }
.btn--outline { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn--ghost { background: transparent; border: 1px solid rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--brand); }
/* slider "View Details" — black, uppercase (matches live .btn-more) */
.btn--dark { background: #000; border: 1px solid var(--navy); color: #fff; text-transform: uppercase; font-size: 16px; padding: 10px 22px; border-radius: 0; }
.btn--dark:hover { background: var(--navy); color: #fff; }
/* CTA bar button — transparent w/ 3px blue border, 60px tall (matches live) */
.btn--cta { background: transparent; border: 3px solid var(--brand); color: #fff; font-size: 19px; height: 60px; line-height: 54px; padding: 0 25px; border-radius: 10px; }
.btn--cta:hover { background: var(--brand); color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 13px; }
.topbar .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 40px;
  gap: 12px;
}
.topbar__contact {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  grid-column: 2;
}
.topbar__social {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-self: end;
  grid-column: 3;
}
.topbar__welcome {
  grid-column: 1;
  justify-self: start;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.topbar a { color: #fff; }
.topbar a:hover { color: var(--brand); }
.topbar__social a { opacity: .85; }
.topbar__social a:hover { opacity: 1; color: var(--brand); }
.topbar__social i { font-size: 15px; }

/* ---------- Header / Nav ---------- */
.header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 90px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 22px; color: var(--navy); }
.brand .brand__mark {
  width: 46px; height: 46px; border-radius: 8px; background: var(--brand);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 22px;
}
.brand b { color: var(--brand); font-weight: 800; }
.brand small { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.brand__logo { height: 62px; width: auto; display: block; }
@media (max-width: 767px) { .brand__logo { height: 50px; } }

.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a {
  display: inline-flex; align-items: center; gap: 6px; padding: 14px 16px;
  font-weight: 500; font-size: 15px; color: var(--navy); text-transform: none;
}
.menu > li > a:hover, .menu > li.active > a { color: var(--brand); }
.menu .caret { font-size: 9px; opacity: .7; }

/* dropdown */
.submenu {
  position: absolute; top: 100%; left: 0;
  background: #f0f2f5;
  min-width: 220px; max-width: 260px;
  box-shadow: var(--shadow-md);
  padding: 6px;
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s;
  border-top: 2px solid var(--brand);
}
.menu > li:hover > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li { margin: 0; padding: 0; }
.submenu li + li { margin-top: 4px; }
.submenu li a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink);
  background: #e4e8ed;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}
.submenu li a:hover { background: #d8dee6; color: var(--brand); }
.submenu--right { left: auto; right: 0; }

/* mega menu */
.mega {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  width: 760px; background: #fff; box-shadow: var(--shadow-md); border-top: 2px solid var(--brand);
  padding: 26px 30px; opacity: 0; visibility: hidden; transition: .2s;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.menu > li:hover > .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); font-weight: 700; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega ul li a { display: block; padding: 6px 0; font-size: 13.5px; color: var(--ink-soft); }
.mega ul li a:hover { color: var(--brand); padding-left: 5px; }

.nav__right { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 24px; height: 2px; background: var(--navy); position: relative;
}
.nav-toggle span { margin: 0 auto; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

/* ---------- Hero slider ---------- */
.hero { background: var(--brand); color: #fff; position: relative; overflow: hidden; padding: 50px 0; }
.slider { position: relative; }
.slides { position: relative; height: 400px; }
.slide {
  position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px;
  opacity: 0; visibility: hidden; transition: opacity .8s ease; height: 400px;
}
.slide.active { opacity: 1; visibility: visible; position: relative; }
.slide__media { display: grid; place-items: center; height: 400px; }
.slide__media img { max-height: 340px; width: auto; max-width: 100%; height: auto; object-fit: contain; }
.slide__body h1 { color: #fff; font-size: 48px; font-weight: 800; margin: 0; line-height: 1.1; text-transform: capitalize; font-family: var(--font); }
.slide__body h2 { color: #fff; font-size: 34px; font-weight: 800; margin: 0 0 16px; font-family: var(--font); }
.slide__body p { color: #fff; font-size: 16px; font-weight: 400; max-width: 470px; margin-bottom: 24px; }
.slider__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; pointer-events: none; padding: 0 6px; }
.slider__nav button {
  pointer-events: all; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.12); color: #fff; font-size: 18px; cursor: pointer; transition: .2s;
}
.slider__nav button:hover { background: #fff; color: var(--brand); }
.slider__dots { display: flex; gap: 8px; justify-content: center; padding: 16px 0 26px; }
.slider__dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; }
.slider__dots span.active { background: #fff; }

/* ---------- CTA bar ---------- */
.cta-bar { background: var(--navy); color: #fff; padding: 25px 0; }
.cta-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-bar h5 { color: #fff; font-size: 18px; font-weight: 500; line-height: 28px; margin: 0; flex: 1; min-width: 280px; }

/* ---------- Feature row (What We Do) ---------- */
.features { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.feature { text-align: center; padding: 10px; cursor: pointer; }
.feature__icon { margin: 0 0 18px; line-height: 1; }
.feature__icon i { font-size: 79px; color: var(--brand); transition: .3s; }
.feature:hover .feature__icon i { color: var(--brand-dark); }
.feature h3 { font-size: 15px; font-weight: 500; color: #2d2d2d; margin: 0; line-height: 18px; }
.feature h3 a { color: var(--navy); }
.feature h3 a:hover { color: var(--brand); }

/* blue full-width section (Packages, etc.) */
.section--blue { background: var(--brand); color: #fff; padding: 100px 0; }
.section--blue .section-title h3, .section--blue .section-title p { color: #fff; }

/* ---------- Packages buttons ---------- */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.packages .btn { width: 100%; padding: 16px; font-size: 15px; }

/* ---------- Portfolio ---------- */
.filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 35px; list-style: none; padding: 0; }
.filters li { padding: 9px 18px; border-radius: 3px; cursor: pointer; font-weight: 500; font-size: 13px; background: #3a3f48; color: #fff; transition: .2s; }
.filters li.active, .filters li:hover { background: var(--brand); color: #fff; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}
.work {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(27, 35, 48, 0.08);
}
.work.is-hidden { display: none; }
.work__link { display: block; color: inherit; text-decoration: none; }
.work__link:hover .work__info h4 { color: var(--brand); }
.work__thumb {
  width: 100%; height: clamp(160px, 28vw, 220px); transition: transform .4s ease; position: relative;
  background-size: cover; background-position: center; background-repeat: no-repeat; background-color: var(--navy);
}
.work:hover .work__thumb { transform: scale(1.05); }
.work__info { padding: 18px; background: #f5f6f8; border: 1px solid var(--line); }
.work__info h4 { margin: 0 0 4px; font-size: 15px; font-weight: 600; color: var(--ink); }
.work__info span { font-size: 12px; color: var(--muted); }

/* ---------- Facts (blue band) ---------- */
.facts { background: var(--brand); color: #fff; padding: 60px 0; }
.facts .section-title h3 { color: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 960px; margin: 0 auto; }
.fact { text-align: center; border: 1.5px solid rgba(255,255,255,.55); padding: 30px; min-height: 191px; display: flex; flex-direction: column; justify-content: center; }
.fact h4 { color: #fff; font-size: 23px; font-weight: 400; margin-bottom: 10px; }
.fact p { color: rgba(255,255,255,.92); font-size: 14px; margin: 0; }

/* ---------- Logos scroller ---------- */
.logos { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; align-items: center; }
.logos .logo {
  height: 90px; min-width: 145px; border: 1px solid var(--line); border-radius: 6px; background: #fff;
  display: grid; place-items: center; color: var(--muted); font-weight: 600; padding: 0 18px;
  opacity: .6; transition: .25s;
}
.logos .logo:hover { opacity: 1; color: var(--brand); border-color: var(--brand); }

/* ---------- Page banner (interior) ---------- */
.page-banner { background: var(--brand); color: #fff; padding: 55px 0; text-align: center; }
.page-banner h1 { color: #fff; font-size: 40px; font-weight: 100; margin: 0 0 6px; }
.breadcrumb { color: rgba(255,255,255,.85); font-size: 13px; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* Dark "You are here" breadcrumb bar (interior pages) */
.crumb-bar { background: var(--navy); color: #fff; padding: 22px 0; }
.crumb-bar .crumb { font-size: 14px; color: rgba(255,255,255,.75); }
.crumb-bar .crumb a { color: rgba(255,255,255,.75); }
.crumb-bar .crumb a:hover { color: #fff; text-decoration: underline; }
.crumb-bar .crumb .sep { margin: 0 8px; opacity: .6; }
.crumb-bar .crumb .current { color: #fff; font-weight: 700; }

/* Centered page title block */
.page-head { text-align: center; padding: 60px 0 10px; }
.page-head h1 { font-family: "Montserrat", sans-serif; font-weight: 100; font-size: 40px; line-height: 1.1; margin: 0 0 18px; color: var(--ink); }
.page-head .page-head__intro { max-width: 820px; margin: 0 auto; font-size: 16px; color: var(--ink-soft); }

/* Service detail page — two-column hero + blue band */
.service-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.service-hero__body h2 { font-family: "Montserrat", sans-serif; font-weight: 100; font-size: 34px; line-height: 1.2; color: #8a9099; margin: 0 0 24px; }
.service-hero__body p { font-size: 15px; color: var(--ink-soft); margin: 0 0 18px; }
.service-hero__tagline { font-size: 17px; color: var(--ink); font-weight: 500; }
.service-hero__cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.service-hero__cta .btn { text-transform: uppercase; letter-spacing: .03em; font-size: 13px; padding: 14px 26px; border-radius: 3px; }
.service-hero__media img { display: block; width: 100%; max-width: 460px; height: auto; margin: 0 auto; }
.service-blue { background: var(--brand); color: #fff; padding: 55px 0; }
.service-blue p { color: rgba(255,255,255,.95); font-size: 15px; line-height: 1.8; margin: 0 0 18px; }
.service-blue p:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .service-hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .service-hero__media { order: -1; }
}

/* About — core values + team */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 30px; max-width: 640px; }
.team-carousel { overflow: hidden; }
.team-track { display: flex; transition: transform .45s ease; }
.team-slide { flex: 0 0 100%; min-width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; align-content: start; }
.team-dots { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.team-dots span { width: 11px; height: 11px; border-radius: 50%; background: #cfd3d9; cursor: pointer; transition: .2s; }
.team-dots span.active { background: var(--brand); }
.team { text-align: left; }
.team__avatar { width: 100%; aspect-ratio: 1 / 1; margin: 0 0 16px; background: #cfcfcf; overflow: hidden; }
.team__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team h4 { margin: 0 0 3px; font-size: 16px; font-weight: 600; color: var(--ink); }
.team__role { display: block; font-size: 13px; color: var(--brand); margin-bottom: 14px; }
.team__social a { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 3px; color: #fff; font-size: 13px; transition: .2s; }
.team__social a.tw { background: #55acee; }
.team__social a.gp { background: #dd4b39; }
.team__social a.li { background: #0077b5; }
.team__social a:hover { opacity: .85; }
@media (max-width: 860px) {
  .team-slide { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
  .values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .team-slide { grid-template-columns: 1fr; }
}

/* ---------- Split / cards (interior) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split__media img { width: 100%; max-width: 420px; height: auto; margin: 0 auto; object-fit: contain; }
.split__art { height: 360px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 22px; text-align: center; padding: 20px; }
.list-check { list-style: none; padding: 0; margin: 16px 0 0; }
.list-check li { position: relative; padding: 7px 0 7px 30px; color: var(--ink-soft); }
.list-check li::before { content: "\2714"; position: absolute; left: 0; top: 7px; color: var(--brand); font-weight: 700; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 30px 26px; transition: .25s; text-align: center; color: inherit; text-decoration: none; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card:hover h3 { color: var(--brand); }
.card .card__icon { width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 50%; background: rgba(40,143,235,.1); color: var(--brand); display: grid; place-items: center; font-size: 28px; }
.card h3 { font-size: 18px; font-weight: 500; }
.card p { font-size: 14px; margin: 0; }

/* ---------- Pricing cards ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 34px 28px; display: flex; flex-direction: column; text-align: center; }
.price--featured { border: 2px solid var(--brand); box-shadow: var(--shadow-md); }
.price h3 { font-size: 19px; font-weight: 500; }
.price__tag { font-size: 40px; font-weight: 100; color: var(--brand); margin: 10px 0; }
.price__tag small { font-size: 14px; color: var(--muted); }
.price ul { list-style: none; padding: 0; margin: 16px 0 24px; flex: 1; text-align: left; }
.price ul li { padding: 8px 0; border-bottom: 1px dashed var(--line); color: var(--ink-soft); font-size: 14px; }
.price ul li::before { content: "\2714"; color: var(--brand); margin-right: 9px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.info-card { display: flex; gap: 15px; margin-bottom: 24px; }
.info-card__icon { width: 48px; height: 48px; border-radius: 50%; flex: none; background: rgba(40,143,235,.1); color: var(--brand); display: grid; place-items: center; font-size: 19px; }
.info-card h4 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.info-card p { margin: 0; font-size: 14px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 32px; box-shadow: var(--shadow-sm); }
.form .field { margin-bottom: 16px; }
.form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form input, .form textarea, .form select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; font-family: inherit; font-size: 14px; background: var(--bg-alt); }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid rgba(40,143,235,.3); border-color: var(--brand); background: #fff; }
.field--invalid input, .field--invalid textarea, .field--invalid select { border-color: #b3261e; background: #fff8f7; }
.field--invalid input:focus, .field--invalid textarea:focus, .field--invalid select:focus { outline-color: rgba(179,38,30,.25); border-color: #b3261e; }
.field-error { font-size: 13px; color: #b3261e; margin: 6px 0 0; }
.form .req { color: #b3261e; font-weight: 700; }
.form-note--counter { margin-top: 6px; margin-bottom: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--muted); }
.form-success { display: none; background: #e9f8ee; color: #1d7a3e; border: 1px solid #b7e4c6; padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #f7f7f7; padding: 70px 0 0; }
.footer h3 { color: #fff; font-size: 18px; font-weight: 500; margin-bottom: 18px; }
.footer p { color: #c7ced8; font-size: 14px; }
.footer a { color: #c7ced8; font-size: 14px; }
.footer a:hover { color: var(--brand); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 30px; }
.footer ul { list-style: none; padding: 0; margin: 0 0 20px; }
.footer ul li { padding: 4px 0; }
.footer .social-row { display: flex; gap: 8px; margin-top: 6px; }
.footer .social-row a { width: 36px; height: 36px; border-radius: 4px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.footer .social-row a:hover { background: var(--brand); color: #fff; }
.footer__copy { background: var(--brand); color: #fff; margin-top: 50px; padding: 22px 0; text-align: center; font-size: 13.5px; }
.footer__copy a { color: #fff; }

/* ---------- Cookie bar ---------- */
.cookie { position: fixed; left: 0; bottom: 0; z-index: 200; background: var(--brand); color: #fff; padding: 14px 20px; display: flex; gap: 16px; align-items: center; box-shadow: var(--shadow-md); max-width: 360px; margin: 16px; border-radius: 6px; }
.cookie p { margin: 0; font-size: 13.5px; color: #fff; }
.cookie a { color: #fff; text-decoration: underline; }
.cookie .btn { background: #fff; color: var(--navy); padding: 8px 16px; }
.cookie.hide { display: none; }

/* ---------- Scroll-to-top ---------- */
.scrollup { position: fixed; right: 20px; bottom: 96px; width: 44px; height: 44px; border-radius: 4px; background: var(--navy); color: #fff; display: none; place-items: center; font-size: 20px; z-index: 150; }
.scrollup.show { display: grid; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 160;
  width: 64px; height: 64px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center; font-size: 34px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  transition: transform .25s ease, box-shadow .25s ease;
  animation: wa-float 2.8s ease-in-out infinite;
  isolation: isolate;
}
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
  z-index: -1;
}
.whatsapp-float i {
  position: relative;
  z-index: 1;
  animation: wa-icon-pop 2.8s ease-in-out infinite;
}
.whatsapp-float:hover {
  animation-play-state: paused;
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, .6);
  color: #fff;
}
.whatsapp-float:hover::after,
.whatsapp-float:hover i { animation-play-state: paused; }
.whatsapp-float__tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  background: var(--navy); color: #fff; font-size: 12px; font-weight: 600;
  padding: 8px 12px; border-radius: 6px; white-space: nowrap;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
  pointer-events: none;
  z-index: 2;
}
.whatsapp-float__tip::after {
  content: ""; position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: var(--navy);
}
.whatsapp-float:hover .whatsapp-float__tip { opacity: 1; visibility: visible; }

@keyframes wa-ping {
  0% { transform: scale(1); opacity: 0.75; }
  70%, 100% { transform: scale(1.9); opacity: 0; }
}
@keyframes wa-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes wa-icon-pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float,
  .whatsapp-float::after,
  .whatsapp-float i { animation: none; }
}

/* ---------- Custom cursor ---------- */
@media (pointer: fine) {
  body.custom-cursor,
  body.custom-cursor a,
  body.custom-cursor button,
  body.custom-cursor input,
  body.custom-cursor textarea,
  body.custom-cursor select,
  body.custom-cursor label[for] {
    cursor: none;
  }
  .cursor-dot,
  .cursor-ring {
    position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
    opacity: 0; transition: opacity .2s ease;
    transform: translate(-50%, -50%);
  }
  body.custom-cursor .cursor-dot,
  body.custom-cursor .cursor-ring { opacity: 1; }
  .cursor-dot {
    width: 6px; height: 6px;
    background: var(--brand); border-radius: 50%;
    box-shadow: 0 0 10px rgba(40, 143, 235, .8);
    transition: transform .2s ease, opacity .2s ease;
  }
  .cursor-ring {
    width: 36px; height: 36px;
    border: 2px solid rgba(40, 143, 235, .55); border-radius: 50%;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, opacity .2s ease;
  }
  body.custom-cursor.cursor-out .cursor-dot,
  body.custom-cursor.cursor-out .cursor-ring { opacity: 0; }
  body.custom-cursor.cursor-hover .cursor-ring {
    transform: translate(-50%, -50%) scale(1.45);
    border-color: var(--brand);
    background: rgba(40, 143, 235, .08);
  }
  body.custom-cursor.cursor-hover .cursor-dot {
    transform: translate(-50%, -50%) scale(1.5);
    background: var(--brand-dark);
  }
}

/* ---------- Interior-page helpers ---------- */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section-head h2 { font-size: 32px; font-weight: 100; }
.eyebrow { display: inline-block; color: var(--brand); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; margin-bottom: 10px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 54px 0; }
.cta-band h2 { color: #fff; font-size: 30px; font-weight: 100; }
.cta-band p { color: rgba(255,255,255,.85); }
.cta-band .btn--primary { background: var(--brand); }
.cta-band .btn--primary:hover { background: var(--brand-dark); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__num { font-size: 42px; font-weight: 100; color: #fff; }
.stat__label { color: rgba(255,255,255,.8); font-size: 14px; }
.section--dark { background: var(--navy); color: #c7ced8; }
.section--dark h2, .section--dark h3 { color: #fff; }
.g1 { background: linear-gradient(135deg,#288feb,#5fb0f5); }
.g2 { background: linear-gradient(135deg,#243141,#3a4a63); }
.g3 { background: linear-gradient(135deg,#1f7ad1,#54a8f0); }
.g4 { background: linear-gradient(135deg,#2c3e91,#5a73e0); }
.g5 { background: linear-gradient(135deg,#2563a8,#4f9ae8); }
.g6 { background: linear-gradient(135deg,#1b3a5c,#3f78b0); }
@media (max-width: 991px) { .grid-4, .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .grid-4, .stats { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .features { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .feature__icon i { font-size: 56px; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .mega { width: 600px; grid-template-columns: repeat(2, 1fr); }
  .slides { height: auto; min-height: 360px; }
  .slide, .slide__media { height: auto; min-height: 360px; }
  .slide__body h1 { font-size: 40px; }
  .slide__body h2 { font-size: 28px; }
  .slide__media img { max-height: 260px; }
  .page-head h1, .page-banner h1 { font-size: 34px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .nav { height: 80px; }
}
@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .menu {
    position: fixed; inset: 0 0 0 auto; width: 300px; max-width: 86vw; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 80px 16px 30px;
    transform: translateX(100%); transition: .3s; box-shadow: var(--shadow-md); overflow-y: auto; z-index: 120;
  }
  .menu.open { transform: none; }
  .menu > li > a { padding: 14px 12px; border-bottom: 1px solid var(--line); }
  .mega, .submenu { position: static; width: auto; max-width: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; grid-template-columns: 1fr; padding: 6px 0 6px 12px; background: transparent; }
  .submenu li + li { margin-top: 4px; }
  .submenu li a { padding: 8px 12px; font-size: 13px; }
  .menu > li.show-sub .mega, .menu > li.show-sub .submenu { display: block; }
  .menu > li.show-sub .mega { display: grid; }
  .topbar__welcome { display: none; }
  .topbar .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
  }
  .topbar__contact { grid-column: auto; justify-content: center; gap: 12px; font-size: 12px; }
  .topbar__social { grid-column: auto; justify-self: auto; gap: 10px; }
  .hero { padding: 30px 0; }
  .slides { min-height: 0; }
  .slide { grid-template-columns: 1fr; text-align: center; min-height: 0; padding: 10px 0 20px; height: auto; }
  .slide__media { display: grid; min-height: 0; height: auto; padding: 10px 0; }
  .slide__media img { max-height: 200px; margin: 0 auto; }
  .slide__body p { max-width: none; margin-left: auto; margin-right: auto; }
  .features, .packages, .price-grid, .grid-3, .facts-grid, .split, .contact-grid, .form-row { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 20px; }
  .nav__right .btn { display: none; }
  .nav { height: auto; min-height: 70px; padding: 8px 0; }
  .slide__body h1 { font-size: 30px; }
  .slide__body h2 { font-size: 24px; }
  .section-title h3 { font-size: 28px; line-height: 1.2; }
  .cta-bar .container { flex-direction: column; text-align: center; }
  .cta-bar h5 { min-width: 0; font-size: 16px; line-height: 1.5; }
  .btn--cta { width: 100%; max-width: 320px; font-size: 16px; height: auto; line-height: 1.4; padding: 14px 20px; }
  .whatsapp-float { width: 56px; height: 56px; font-size: 30px; right: 14px; bottom: 14px; }
  .scrollup { right: 14px; bottom: 82px; }
  .whatsapp-float__tip { display: none; }
  .page-head h1, .page-banner h1 { font-size: 30px; }
  .service-hero__body h2 { font-size: 28px; }
  .cookie { max-width: none; left: 0; right: 0; margin: 0; border-radius: 0; }
}
@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
  .feature__icon i { font-size: 48px; }
  .topbar__social { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .filters li { padding: 8px 14px; font-size: 12px; }
}
