/* =====================================================================
   Decent IT Services - website styles (brand: "Deep Ocean")
   Sora for headings, Manrope for text. Minimal: flat colour, generous
   space, one message per section. Gradient only on small accents.
   ===================================================================== */
:root {
  --ocean: #0A4FB8;   /* primary */
  --lagoon: #1BA6D9;  /* primary */
  --mist: #A3DDF2;    /* secondary */
  --navy: #071E33;    /* neutral dark */
  --navy-2: #0C2A45;
  --slate: #4F6478;   /* neutral text */
  --cloud: #EFF6FA;   /* neutral light */
  --line: #DCE7F0;
  --white: #FFFFFF;
  --grad: linear-gradient(100deg, var(--ocean), var(--lagoon));
  --head: "Sora", Arial, sans-serif;
  --body: "Manrope", Arial, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(7, 30, 51, .06), 0 12px 32px -12px rgba(7, 30, 51, .18);
  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65;
  color: var(--navy); background: var(--white); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.bg-cloud { background: var(--cloud); }
.bg-navy { background: var(--navy) url(/brand/pattern-dark.svg) repeat; background-size: 180px; color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px; font: 600 .78rem/1 var(--head);
  letter-spacing: .2em; text-transform: uppercase; color: var(--ocean); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--grad); }
.bg-navy .kicker, .hero .kicker, .page-hero .kicker { color: var(--mist); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--slate); max-width: 62ch; }
.bg-navy .lead, .hero .lead, .page-hero .lead { color: #C9DCEA; }
.head-row { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: end; justify-content: space-between; margin-bottom: clamp(32px, 5vw, 56px); }
.head-row > div { max-width: 640px; }
.head-row p { margin: 0; }

/* ---------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
  padding: 0 24px; border-radius: 999px; font: 600 .98rem var(--head); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
  background-origin: border-box; /* gradient runs under the border too, so the rounded ends have no seam */
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad) border-box; border-color: transparent; color: #fff; box-shadow: 0 8px 24px -10px rgba(10, 79, 184, .7); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(10, 79, 184, .8); }
.btn-ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .95rem var(--head); color: var(--ocean); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { height: 34px; width: auto; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu > li > a, .menu > li > button {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  font: 600 .93rem var(--head); color: var(--navy); background: none; border: 0; cursor: pointer;
}
.menu > li > a:hover, .menu > li > button:hover, .menu > li > a[aria-current="page"] { background: var(--cloud); color: var(--ocean); }
.menu .chev { width: 14px; height: 14px; transition: transform .2s ease; }
.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); width: 340px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 10px; opacity: 0; visibility: hidden; transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.has-drop:hover .drop, .has-drop:focus-within .drop, .has-drop.open .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-drop:hover .chev, .has-drop.open .chev { transform: rotate(180deg); }
.drop a { display: flex; gap: 14px; align-items: center; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--navy); font: 600 .93rem var(--head); }
.drop a:hover { background: var(--cloud); color: var(--ocean); }
.drop .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--cloud); display: grid; place-items: center; flex: none; }
.drop .ico svg { width: 20px; height: 20px; }
.drop .all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; color: var(--ocean); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; place-items: center; }
.burger svg { width: 22px; height: 22px; }

@media (max-width: 1020px) {
  .burger { display: grid; }
  .nav-cta .btn { display: none; }
  .menu-wrap {
    position: fixed; inset: 76px 0 0 0; background: #fff; padding: 16px var(--gutter) 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s ease; border-top: 1px solid var(--line);
  }
  body.nav-open .menu-wrap { transform: none; }
  /* backdrop-filter would make the header the containing block of the fixed menu panel */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .menu-wrap { visibility: hidden; transition: transform .25s ease, visibility .25s; }
  body.nav-open .menu-wrap { visibility: visible; }
  body.nav-open { overflow: hidden; }
  .menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .menu > li > a, .menu > li > button { width: 100%; justify-content: space-between; padding: 16px 12px; font-size: 1.08rem; border-radius: 12px; }
  .drop { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 0 0 8px 8px; display: none; opacity: 1; visibility: visible; }
  .has-drop.open .drop { display: block; transform: none; }
  .has-drop:hover .drop { transform: none; }
  .menu-wrap .btn { display: flex; width: 100%; margin-top: 18px; }
}
@media (min-width: 1021px) { .menu-wrap .btn { display: none; } }

/* ---------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; color: #fff; background: var(--navy);
  padding-block: clamp(64px, 9vw, 120px) clamp(72px, 10vw, 130px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; background: url(/brand/pattern-dark.svg) repeat; background-size: 180px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%); mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.hero::after {
  content: ""; position: absolute; width: 760px; height: 760px; right: -260px; top: -280px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(27, 166, 217, .30), transparent); pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: brightness(1.35); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.proof { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 40px; color: #C9DCEA; font-size: .93rem; }
.proof span { display: inline-flex; align-items: center; gap: 8px; }
.proof b { color: #fff; font-family: var(--head); }
.proof svg { width: 18px; height: 18px; color: var(--mist); }
.showcase { position: relative; min-height: 420px; }
.shot {
  position: absolute; border-radius: 14px; overflow: hidden; background: #0f2c48; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
  border: 1px solid rgba(255, 255, 255, .12);
}
.shot::before { content: ""; display: block; height: 22px; background: #10304f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='10'%3E%3Ccircle cx='5' cy='5' r='3.5' fill='%23A3DDF2' opacity='.5'/%3E%3Ccircle cx='17' cy='5' r='3.5' fill='%23A3DDF2' opacity='.35'/%3E%3Ccircle cx='29' cy='5' r='3.5' fill='%23A3DDF2' opacity='.2'/%3E%3C/svg%3E") 10px 6px no-repeat; }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.shot-1 { width: 78%; right: 0; top: 0; }
.shot-2 { width: 62%; left: 0; bottom: 0; }
.badge-float {
  position: absolute; left: 6%; top: 8%; background: #fff; color: var(--navy); border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; font-size: .86rem; line-height: 1.3; z-index: 2;
}
.badge-float b { font-family: var(--head); font-size: 1.05rem; display: block; }
.stars { color: #F5B301; letter-spacing: 1px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .showcase { min-height: 300px; }
}

/* page header (inner pages) */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding-block: clamp(56px, 8vw, 96px); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: url(/brand/pattern-dark.svg) repeat; background-size: 180px; -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: .88rem; color: #9FB8CC; margin-bottom: 18px; list-style: none; padding: 0; }
.crumbs a { color: #C9DCEA; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------------------------------------------------------- cards & grids */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1020px) { .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; display: flex; flex-direction: column;
}
a.card { color: inherit; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--slate); font-size: .98rem; }
.card .link-arrow { margin-top: auto; }
.ico-box { width: 56px; height: 56px; border-radius: 14px; background: var(--cloud); display: grid; place-items: center; margin-bottom: 22px; }
.ico-box svg { width: 28px; height: 28px; }
.service-card::after { content: ""; position: absolute; left: 30px; right: 30px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.service-card:hover::after { transform: scaleX(1); }
.num { font: 700 .8rem var(--head); color: var(--lagoon); letter-spacing: .12em; }

.work { display: block; color: inherit; }
.work .thumb { border-radius: var(--radius); overflow: hidden; background: var(--cloud); aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.work .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.work:hover .thumb img { transform: scale(1.04); }
.work .meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; }
.work h3 { font-size: 1.05rem; margin: 0; }
.tag { display: inline-block; font: 600 .74rem var(--head); letter-spacing: .06em; color: var(--ocean); background: var(--cloud); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 18px; font: 600 .9rem var(--head); color: var(--navy); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }

/* steps */
.steps { counter-reset: s; }
.step { padding-top: 22px; border-top: 2px solid var(--line); position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font: 700 .85rem var(--head); color: var(--lagoon); letter-spacing: .1em; display: block; margin-bottom: 14px; }
.step::after { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--grad); }
.step p { color: var(--slate); font-size: .97rem; margin: 0; }
.bg-navy .step { border-color: rgba(255, 255, 255, .14); }
.bg-navy .step p { color: #C9DCEA; }

/* values */
.value { display: flex; gap: 18px; align-items: flex-start; }
.value .ico-box { margin: 0; flex: none; width: 48px; height: 48px; }
.value h3 { font-size: 1.08rem; margin-bottom: 4px; }
.value p { color: var(--slate); font-size: .95rem; margin: 0; }
.bg-navy .value .ico-box { background: rgba(255, 255, 255, .08); }
.bg-navy .value p { color: #C9DCEA; }

/* testimonials */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: thin; }
.review { scroll-snap-align: start; background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.review p { color: var(--slate); font-size: .97rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review .who { margin-top: auto; display: flex; align-items: center; gap: 12px; font: 600 .95rem var(--head); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font: 700 .95rem var(--head); flex: none; }
.review small { display: block; color: var(--slate); font: 500 .8rem var(--body); }

/* team */
.member .photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--cloud); }
.member .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.member h3 { font-size: 1.05rem; margin: 14px 0 2px; }
.member p { color: var(--slate); font-size: .92rem; margin: 0; }

/* split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.wide-left { grid-template-columns: 1.2fr .8fr; }
@media (max-width: 900px) { .split, .split.wide-left { grid-template-columns: 1fr; } }
.media { border-radius: var(--radius); overflow: hidden; background: var(--cloud); }
.media img { width: 100%; height: 100%; object-fit: cover; }

.stat-row { display: flex; flex-wrap: wrap; gap: 32px 48px; margin-top: 32px; }
.stat b { display: block; font: 700 2.2rem/1 var(--head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--slate); font-size: .92rem; }

.vm { padding: 34px; border-radius: var(--radius); background: var(--cloud); }
.vm h3 { display: flex; align-items: center; gap: 12px; }
.vm p { color: var(--slate); margin: 0; }

/* service rows */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.svc-row:first-child { border-top: 0; padding-top: 0; }
.svc-row:nth-child(even) .media { order: -1; }
.svc-row .media { aspect-ratio: 16 / 10; }
@media (max-width: 900px) { .svc-row { grid-template-columns: 1fr; } .svc-row:nth-child(even) .media { order: 0; } }

/* rich text from the admin editor */
.prose { color: #22384D; font-size: 1.03rem; }
.prose h1, .prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3, .prose h4 { font-size: 1.2rem; margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius-sm); margin: 1.4em 0; }
.prose blockquote { border-left: 3px solid var(--lagoon); margin: 1.4em 0; padding: .2em 0 .2em 1.2em; color: var(--slate); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; }
.prose td, .prose th { border: 1px solid var(--line); padding: 10px; }

.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.aside { position: sticky; top: 100px; display: grid; gap: 20px; }
@media (max-width: 960px) { .layout-aside { grid-template-columns: 1fr; } .aside { position: static; } }
.aside .card { padding: 24px; }
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--navy); font: 600 .95rem var(--head); }
.aside-list li:last-child a { border: 0; }
.aside-list a:hover { color: var(--ocean); }
.aside-list svg { width: 20px; height: 20px; flex: none; }
.cta-card { background: var(--navy) url(/brand/pattern-dark.svg); background-size: 160px; color: #fff; border: 0; }
.cta-card h3 { color: #fff; }
.cta-card p { color: #C9DCEA !important; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 32px; }
.gallery img { border-radius: var(--radius-sm); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 600 1.06rem var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--body); color: var(--ocean); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--slate); margin: 0 0 22px; max-width: 70ch; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; background: var(--grad); color: #fff; padding: clamp(36px, 6vw, 72px); display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url(/brand/pattern-dark.svg); background-size: 160px; opacity: .9; -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000); mask-image: linear-gradient(90deg, transparent 35%, #000); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #E3F2FA; margin: 0; max-width: 52ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-white { background: #fff; color: var(--navy); }
.cta-band .btn-white:hover { background: var(--navy); color: #fff; }

/* ---------------------------------------------------------- forms */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font: 600 .88rem var(--head); margin-bottom: 8px; }
.field label span { color: var(--slate); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 1rem var(--body); color: var(--navy); background: #fff; border: 1.5px solid var(--line);
  border-radius: 12px; padding: 14px 16px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 4px rgba(10, 79, 184, .12); }
.field .err { color: #B42318; font-size: .85rem; margin-top: 6px; }
.field.has-err input, .field.has-err textarea, .field.has-err select { border-color: #D92D20; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 14px; padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.alert svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.alert-ok { background: #E8F7EE; color: #0B5132; }
.alert-err { background: #FEF3F2; color: #912018; }
.form-note { font-size: .85rem; color: var(--slate); margin: 0; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-list .ico-box { margin: 0; width: 46px; height: 46px; flex: none; }
.contact-list b { display: block; font: 600 .82rem var(--head); color: var(--slate); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.contact-list a, .contact-list span { color: var(--navy); font-weight: 600; }

/* ---------------------------------------------------------- footer */
.site-footer { background: var(--navy); color: #C9DCEA; padding-top: clamp(56px, 7vw, 88px); font-size: .95rem; position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: url(/brand/pattern-dark.svg); background-size: 180px; -webkit-mask-image: linear-gradient(180deg, transparent, #000); mask-image: linear-gradient(180deg, transparent, #000); pointer-events: none; }
.site-footer .wrap { position: relative; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #C9DCEA; }
.site-footer a:hover { color: #fff; }
.foot-logo { height: 38px; width: auto; margin-bottom: 18px; }
.slogan { font: 600 .78rem var(--head); letter-spacing: .22em; color: var(--mist); text-transform: uppercase; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; }
.socials a:hover { background: #fff; color: var(--navy); }
.socials svg { width: 18px; height: 18px; }
.foot-bottom { margin-top: 56px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; color: #8FA9BF; }

.wa-float {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35);
}
.wa-float:hover { color: #fff; transform: scale(1.05); }
.wa-float svg { width: 28px; height: 28px; }

/* reveal on scroll (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; animation: none !important; }
}

/* branded placeholder when an uploaded image is missing */
.ph { width: 100%; height: 100%; min-height: 180px; display: grid; place-items: center; text-align: center; padding: 24px;
  background: var(--navy) url(/brand/pattern-dark.svg); background-size: 140px; color: #fff; font: 600 1.05rem var(--head); }
.ph-person span { width: 84px; height: 84px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-size: 1.6rem; }
#enquiry { scroll-margin-top: 110px; }

/* designed device mockups */
.hero-mock { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.hero .showcase { min-height: 0; }
.hero .badge-float { left: -18px; top: auto; bottom: 28px; }
.work .thumb img[src*="/mockups/"] { object-position: center; }
.work .visit { display: inline-flex; align-items: center; gap: 6px; font: 600 .82rem var(--head); color: var(--ocean); margin-top: 4px; }
.work .visit svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .hero .badge-float { left: 12px; bottom: 12px; } }

[hidden] { display: none !important; }

/* testimonials: continuous auto-scroll (pauses on hover/focus, still for reduced motion) */
.reviews-marquee { overflow: hidden; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reviews-track { display: flex; gap: 20px; width: max-content; animation: reviews-scroll var(--dur, 60s) linear infinite; }
.reviews-track .review { width: min(360px, 78vw); flex: none; margin: 0; }
.reviews-marquee:hover .reviews-track, .reviews-marquee:focus-within .reviews-track { animation-play-state: paused; }
@keyframes reviews-scroll { to { transform: translateX(calc(-50% - 10px)); } }
@media (prefers-reduced-motion: reduce) {
  .reviews-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .reviews-track { animation: none; }
  .reviews-track .review[aria-hidden="true"] { display: none; }
}

/* transparent device image in the hero */
.hero-devices { width: 112%; max-width: none; height: auto; margin: -4% -6% -8% -6%; display: block; }
@media (max-width: 900px) { .hero-devices { width: 100%; margin: 0; } }
