/* ==========================================================================
   EMA Digital & ICT Solutions — HighTech-style layout in EMA brand colours
   Palette & type follow the HighTech IT template look:
   navy #0f2a5c · gold #c9a24f · night #050d1f · light #F8F8F9
   Headings: Saira · Body: Inter
   ========================================================================== */

:root {
  --primary: #0f2a5c;      /* EMA navy (logo) */
  --primary-dark: #0a1d40;
  --secondary: #e6af17;    /* EMA gold (10% deeper than #ffc21a) */
  --secondary-dark: #9a6700; /* small gold text on white (readable) */
  --gold-head: #b07d00;     /* gold words inside headings on white */
  --gold-light: #f0c040;
  --dark: #050d1f;
  --ink: #0b1b3d;
  --body: #4a5268;
  --light: #F8F8F9;
  --white: #ffffff;
  --mint: #f7f0e1;
  --overlay: rgba(15, 42, 92, .94);
  --radius: 10px;
  --shadow: 0 0 60px rgba(0, 0, 0, .12);
  --shadow-sm: 0 6px 30px rgba(0, 0, 0, .08);
  --font-head: "Saira", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
main { overflow-x: clip; }
a { color: var(--primary); text-decoration: none; transition: color .3s; }
a:hover { color: var(--secondary-dark); }
.service-card:hover .learn-link, .service-card:focus-within .learn-link { color: var(--gold-light) !important; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--secondary); color: var(--dark); padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.section-light { background: var(--light); }
.text-green { color: var(--secondary); }
.text-blue { color: var(--primary); }

/* ---------- Buttons (pill, HighTech) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 16px 38px; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: .5s; text-align: center;
}
.btn-green { background: var(--secondary); color: var(--dark); }
.btn-green:hover { background: var(--primary); color: var(--white); }
.btn-blue { background: var(--primary); color: var(--white); }
.btn-blue:hover { background: var(--secondary); color: var(--dark); }
.btn-outline-light { border-color: rgba(255,255,255,.8); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--primary); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-whatsapp { background: #25d366; color: #06331a; }
.btn-whatsapp:hover { background: #3ee07a; color: #06331a; }
.btn-sm { padding: 11px 24px; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Section titles ---------- */
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: 1.15rem; color: var(--secondary-dark); margin-bottom: .6rem; letter-spacing: .3px;
}
.eyebrow.on-dark { color: var(--secondary); }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-title p { font-size: 1.05rem; }
h1 span, h2 span, h3 span { color: var(--secondary); }
.section h2 span, .section h3 span { color: var(--gold-head); }
.section-light h2 span { color: var(--gold-head); }
.section.on-dark h2 span { color: var(--secondary); }

/* ---------- Top bar ---------- */
.topbar { background: var(--dark); padding: 9px 0; font-size: .85rem; color: rgba(255,255,255,.55); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-info { display: flex; align-items: center; gap: 8px; letter-spacing: 1px; }
.topbar-info .ico { color: var(--secondary); }
.topbar-note { flex: 0 1 460px; overflow: hidden; color: var(--secondary); white-space: nowrap; }
.topbar-note small { position: relative; display: inline-block; font-size: .85rem; animation: notemove 12s linear infinite; }
@keyframes notemove { from { left: 100%; } to { left: -100%; } }
.topbar-links { display: flex; gap: 8px; }
.topbar-links a {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 30px;
  background: var(--light); color: var(--primary); font-weight: 600; font-size: .78rem;
}
.topbar-links a:hover { background: var(--secondary); color: var(--dark); }

/* ---------- Navbar ---------- */
.navbar { background: var(--primary); position: sticky; top: 0; z-index: 50; transition: box-shadow .3s; }
.navbar.scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.navbar .container { display: flex; align-items: center; gap: 20px; min-height: 86px; }
.brand { display: inline-flex; align-items: center; background: var(--white); border-radius: 50px; padding: 6px 20px; flex-shrink: 0; }
.brand img { height: 48px; width: auto; }
.nav-collapse { display: flex; align-items: center; flex: 1; gap: 20px; }
.nav-links { display: flex; align-items: center; margin: 0 auto; }
.nav-links > a, .nav-links .dropdown > a {
  display: inline-flex; align-items: center; gap: 6px; padding: 30px 11px; color: var(--white);
  font-size: 1.02rem; font-weight: 500; white-space: nowrap;
}
.nav-links > a:hover, .nav-links > a.active, .nav-links .dropdown > a:hover, .nav-links .dropdown > a.active { color: var(--secondary); }
.dropdown { position: relative; }
.dropdown > a .ico { font-size: .8rem; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 290px; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px 0;
  visibility: hidden; opacity: 0; transform: rotateX(-75deg); transform-origin: 0 0; transition: .5s;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu, .dropdown.show .dropdown-menu { visibility: visible; opacity: 1; transform: rotateX(0); }
.dropdown-menu a { display: block; padding: 9px 22px; color: var(--ink); font-size: .95rem; }
.dropdown-menu a:hover { background: var(--light); color: var(--primary); }
.nav-help { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.nav-help-icon { position: relative; color: var(--white); font-size: 2rem; display: inline-flex; animation: tada 2.4s infinite; }
.nav-help-icon .dot { position: absolute; top: -4px; right: -8px; color: var(--secondary); font-size: 1rem; }
@keyframes tada {
  0%, 60%, 100% { transform: none; }
  10%, 20% { transform: scale(.9) rotate(-3deg); }
  30%, 50% { transform: scale(1.1) rotate(3deg); }
  40% { transform: scale(1.1) rotate(-3deg); }
}
.nav-help-text { display: flex; flex-direction: column; line-height: 1.35; padding-right: 16px; border-right: 1px solid rgba(255,255,255,.3); max-width: 190px; }
.nav-help-text span { color: rgba(255,255,255,.65); font-size: .82rem; }
.nav-help-text strong { color: var(--secondary); font-weight: 600; font-size: .9rem; }
.nav-cta { padding: 12px 26px; }
.navbar-toggler {
  display: none; margin-left: auto; background: transparent; border: 1px solid rgba(255,255,255,.4);
  color: var(--white); border-radius: 8px; padding: 8px 12px; font-size: 1.4rem; cursor: pointer; line-height: 1;
}

/* ---------- Hero / carousel ---------- */
.hero { position: relative; overflow: hidden; background: var(--dark); }
.hero-slide { position: relative; min-height: calc(100vh - 130px); display: none; align-items: center; }
.hero-slide.active { display: flex; }
.hero-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.hero-caption { position: relative; z-index: 1; text-align: center; padding: 110px 20px; width: 100%; }
.hero-caption .eyebrow { color: var(--secondary); font-size: clamp(1.05rem, 1.8vw, 1.45rem); letter-spacing: 1px; }
.hero-caption h1, .hero-caption .hero-title { color: var(--white); font-size: clamp(2.4rem, 6vw, 5.2rem); max-width: 1050px; margin: 0 auto 24px; }
.hero-caption p { color: var(--white); font-size: clamp(1rem, 1.5vw, 1.25rem); max-width: 720px; margin: 0 auto 35px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-actions .btn { padding: 18px 44px; }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; margin-top: 34px; color: rgba(255,255,255,.9); font-size: .95rem; }
.hero-chips span { display: inline-flex; align-items: center; gap: 8px; }
.hero-chips .ico { color: var(--secondary); }
.carousel-control {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 90px; height: 60px;
  border: 0; background: var(--primary); color: var(--white); font-size: 1.6rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: .8s;
}
.carousel-control:hover { background: var(--secondary); color: var(--dark); }
.carousel-control.prev { left: 0; border-radius: 0 50px 50px 0; }
.carousel-control.next { right: 0; border-radius: 50px 0 0 50px; }
.carousel-indicators { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 10px; }
.carousel-indicators button { width: 30px; height: 10px; border-radius: 30px; border: 0; background: rgba(255,255,255,.55); cursor: pointer; padding: 0; transition: .4s; }
.carousel-indicators button.active, .carousel-indicators button:hover { background: var(--secondary); }
.hero-slide.active .anim-up { animation: fadeInUp 1s both; }
.hero-slide.active .anim-left { animation: fadeInLeft 1s both .15s; }
.hero-caption .hero-title span { color: var(--secondary); }
.hero-slide.active .anim-down { animation: fadeInDown 1s both .3s; }
.hero-slide.active .anim-right { animation: fadeInRight 1s both .45s; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  position: relative; padding: 110px 0 100px; text-align: center; color: var(--white);
  background: linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)), url(../assets/hero-tech.webp) center / cover no-repeat;
}
.page-header h1 { color: var(--white); max-width: 900px; margin: 0 auto 18px; }
.page-header p { max-width: 720px; margin: 0 auto 28px; font-size: 1.12rem; color: rgba(255,255,255,.92); }
.page-header .eyebrow { color: var(--secondary); }
.breadcrumb { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 1.05rem; color: var(--white); }
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb .sep { color: var(--secondary); }

/* ---------- Fact strip ---------- */
.facts { background: var(--secondary); padding: 48px 0; }
.facts .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.fact { display: flex; align-items: center; gap: 18px; }
.fact-icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--white); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem; flex-shrink: 0;
  font-family: var(--font-head); font-weight: 700;
}
.fact strong { display: block; font-family: var(--font-head); font-size: 1.35rem; color: var(--dark); line-height: 1.25; }
.fact small { color: #1d2a45; font-size: .95rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 70px; align-items: center; }
.about-media { position: relative; padding-bottom: 22%; }
.about-media .img-1 { width: 78%; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.about-media .img-2 { position: absolute; width: 72%; right: 0; top: 30%; border-radius: var(--radius); border: 8px solid var(--white); box-shadow: var(--shadow); }
.about-badge {
  position: absolute; left: 0; bottom: 0; max-width: 60%; background: var(--primary); color: var(--white);
  padding: 18px 22px; border-radius: var(--radius); font-family: var(--font-head); font-weight: 600; line-height: 1.35;
  border-left: 6px solid var(--secondary); box-shadow: var(--shadow-sm); z-index: 2;
}
.about-copy p { font-size: 1.04rem; }
.mini-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 26px 0; }
.mini-features div { background: var(--light); border-radius: var(--radius); padding: 20px 14px; text-align: center; border-bottom: 4px solid var(--secondary); transition: .4s; }
.mini-features div:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.mini-features span { display: block; font-size: 1.7rem; color: var(--primary); line-height: 1; margin-bottom: 8px; }
.mini-features strong { font-family: var(--font-head); color: var(--ink); font-size: 1.05rem; line-height: 1.3; display: block; }
.check-list { list-style: none; margin: 0 0 30px; }
.check-list li, .check-list p { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 12px; color: var(--ink); font-weight: 500; }
.check-list .tick {
  width: 26px; height: 26px; border-radius: 50%; background: var(--secondary); color: var(--dark);
  display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; margin-top: 1px;
}
.perks { display: grid; gap: 14px; margin: 26px 0 32px; }
.perks div { display: flex; align-items: center; gap: 18px; background: var(--light); border-radius: var(--radius); padding: 16px 20px; border-left: 5px solid var(--primary); transition: .4s; }
.perks div:hover { border-left-color: var(--secondary); transform: translateX(6px); }
.perks b { font-family: var(--font-head); font-size: 1.6rem; color: var(--secondary); min-width: 40px; }
.perks span { color: var(--ink); font-weight: 500; }

/* ---------- Service cards (HighTech hover fill) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.service-card {
  position: relative; background: var(--light); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 40px 30px 34px; text-align: center; overflow: hidden; display: flex; flex-direction: column;
}
.service-card::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 0; border-radius: var(--radius);
  background: var(--overlay); transition: .5s; z-index: 0;
}
.service-card:hover::after, .service-card:focus-within::after { height: 100%; }
.service-card > * { position: relative; z-index: 1; transition: color .5s; }
.service-icon { font-size: 5.2rem; color: var(--primary); margin: 0 auto 22px; line-height: 1; display: flex; justify-content: center; transition: .5s; }
.service-icon .ico { stroke-width: 1.5; }
.service-tag { font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: 1.5px; color: var(--secondary-dark); margin-bottom: 8px; display: block; }
.service-card h3 { margin-bottom: 12px; font-size: 1.45rem; }
.service-card h3 a { color: var(--ink); }
.service-card .lead { margin-bottom: 16px; }
.service-card ul { list-style: none; text-align: left; margin: 0 auto 18px; max-width: 300px; }
.service-card li { position: relative; padding-left: 26px; margin-bottom: 6px; font-size: .95rem; }
.service-card li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--secondary); }
.learn-link { font-weight: 600; font-size: .95rem; margin-bottom: 18px; display: inline-block; }
.card-foot { margin-top: auto; padding-top: 18px; border-top: 1px dashed rgba(15,42,92,.2); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.price small { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; }
.price strong { font-family: var(--font-head); font-size: 1.7rem; color: var(--primary); line-height: 1.2; }
.price-inline { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--primary); }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.service-card:hover .service-icon, .service-card:focus-within .service-icon { color: var(--secondary); transform: scale(1.05); }
.service-card:hover, .service-card:hover h3 a, .service-card:hover .service-tag, .service-card:hover .learn-link,
.service-card:hover .price strong, .service-card:hover .price-inline, .service-card:hover h3,
.service-card:focus-within, .service-card:focus-within h3 a, .service-card:focus-within .service-tag, .service-card:focus-within .learn-link,
.service-card:focus-within .price strong, .service-card:focus-within .price-inline, .service-card:focus-within h3 { color: var(--white); }
.service-card:hover .learn-link, .service-card:focus-within .learn-link { color: var(--secondary); }
.service-card:hover .card-foot, .service-card:focus-within .card-foot { border-top-color: rgba(255,255,255,.35); }
.service-card:hover .btn-outline, .service-card:focus-within .btn-outline { border-color: var(--white); color: var(--white); }
.disclaimer { max-width: 900px; margin: 46px auto 0; text-align: center; font-size: .9rem; background: var(--mint); border-radius: var(--radius); padding: 18px 24px; color: #5a4520; }

/* ---------- Steps (HighTech project-frame style) ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px; }
.step-card { position: relative; padding: 15px; }
.step-card::before, .step-card::after { content: ""; position: absolute; width: 150px; height: 150px; border-radius: var(--radius); z-index: 0; transition: .5s; }
.step-card::before { top: 0; left: 0; background: var(--secondary); }
.step-card::after { right: 0; bottom: 0; background: var(--primary); }
.step-inner { position: relative; z-index: 1; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 38px 30px; height: 100%; text-align: center; transition: .5s; }
.step-num { display: inline-flex; width: 74px; height: 74px; border-radius: 50%; align-items: center; justify-content: center; background: var(--primary); color: var(--white); font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; margin-bottom: 18px; transition: .5s; }
.step-card:hover .step-num { background: var(--secondary); color: var(--dark); }
.step-card:hover::before, .step-card:hover::after { opacity: .0; }
.step-card:hover .step-inner { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-inner p { margin: 0; }

/* ---------- Contact / inquiry ---------- */
.inquiry-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 50px; align-items: start; }
.inquiry-copy > p { font-size: 1.04rem; }
.contact-boxes { display: grid; gap: 16px; margin: 28px 0 24px; }
.contact-box { display: flex; align-items: center; gap: 18px; background: var(--light); border-radius: var(--radius); padding: 18px 22px; color: var(--body); border-bottom: 3px solid transparent; transition: .4s; }
a.contact-box:hover { border-bottom-color: var(--secondary); transform: translateY(-3px); box-shadow: var(--shadow-sm); color: var(--body); }
.contact-box .cb-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; transition: .4s; }
.contact-box:hover .cb-icon { background: var(--secondary); color: var(--dark); }
.contact-box b, .contact-box strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.15rem; }
.contact-box small { font-size: .92rem; }
.contact-box .arrow { margin-left: auto; color: var(--primary); }
.status-note { font-size: .92rem; color: var(--primary); min-height: 1.2em; margin-top: 10px; }
.booking-box { background: var(--primary); color: rgba(255,255,255,.9); border-radius: var(--radius); padding: 26px; margin-top: 24px; }
.booking-box h4 { color: var(--white); margin-bottom: 6px; font-size: 1.3rem; }
.booking-box code { background: rgba(255,255,255,.15); padding: 1px 6px; border-radius: 4px; color: var(--secondary); }
.booking-box .status-note { color: var(--secondary); }
.inquiry-copy ul.check-list { margin-top: 22px; }

.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; border-top: 6px solid var(--secondary); }
.form-card h3 { font-size: 1.7rem; margin-bottom: 4px; }
.form-card > p { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-card label { display: block; font-weight: 600; color: var(--ink); font-size: .93rem; margin-bottom: 18px; }
.form-card input, .form-card select, .form-card textarea {
  display: block; width: 100%; margin-top: 7px; font: inherit; font-weight: 400; color: var(--ink);
  background: var(--light); border: 1px solid #dfe3ec; border-radius: 10px; padding: 13px 16px; transition: .3s;
}
.form-card textarea { resize: vertical; min-height: 120px; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 4px rgba(15,42,92,.12); }
.estimate { background: var(--mint); border-radius: 10px; padding: 16px 20px; margin: -4px 0 20px; border-left: 5px solid var(--secondary); }
.estimate span { display: block; font-size: .85rem; color: #5a4520; }
.estimate strong { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--primary); }
.estimate small { font-size: .82rem; color: #7a6438; }
.send-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 14px; }
.send-actions .btn { flex: 1 1 210px; }
.hint { font-size: .86rem; margin: 0; }
.form-status { color: var(--primary); font-weight: 600; font-size: .92rem; min-height: 1.2em; margin: 10px 0 0; }

/* ---------- Detail pages ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 50px; align-items: start; }
.detail-content > h2 { margin-top: 50px; }
.detail-content > h2:first-of-type { margin-top: 0; }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.benefit { display: flex; align-items: center; gap: 14px; background: var(--light); border-radius: var(--radius); padding: 16px 18px; color: var(--ink); font-weight: 500; box-shadow: 0 2px 0 rgba(0,0,0,.03); transition: .4s; }
.benefit:hover { background: var(--primary); color: var(--white); }
.benefit .tick { width: 30px; height: 30px; border-radius: 50%; background: var(--secondary); color: var(--dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.outcome-card { background: var(--light); border-radius: var(--radius); padding: 28px 30px; border-left: 6px solid var(--primary); }
.outcome-card ul { list-style: none; display: grid; gap: 12px; }
.outcome-card li { display: flex; gap: 12px; color: var(--ink); }
.outcome-card li .ico { color: var(--secondary); font-size: 1.3rem; margin-top: 2px; stroke-width: 3; }
.timeline { list-style: none; counter-reset: step; display: grid; gap: 18px; }
.timeline li { counter-increment: step; position: relative; padding: 22px 24px 22px 92px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.timeline li::before { content: "0" counter(step); position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: var(--white); font-family: var(--font-head); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.timeline b { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.15rem; }
.timeline p { margin: 2px 0 0; }
.price-panel { position: sticky; top: 110px; background: var(--primary); color: rgba(255,255,255,.9); border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow); }
.price-panel .eyebrow { color: var(--secondary); font-size: .95rem; letter-spacing: 1.5px; }
.price-panel .big-price { font-family: var(--font-head); font-weight: 700; font-size: 2.8rem; color: var(--white); line-height: 1.1; margin: 4px 0 12px; }
.price-panel .btn { width: 100%; margin-bottom: 12px; }
.mini-note { font-size: .84rem; color: rgba(255,255,255,.75); margin-top: 6px; }
.example-card { background: var(--mint); border-radius: var(--radius); padding: 22px 24px; margin-top: 22px; color: #5a4520; }
.example-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.example-card p { font-style: italic; color: var(--ink); margin: 0; font-size: 1.04rem; }
.example-card .quote-mark { font-family: Georgia, serif; font-size: 3rem; color: var(--secondary); line-height: .5; display: block; margin-bottom: 4px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--primary); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 30px; background: var(--secondary); opacity: .18; top: -110px; left: -60px; transform: rotate(25deg); }
.cta-band::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 30px; background: var(--white); opacity: .07; bottom: -100px; right: -40px; transform: rotate(20deg); }
.cta-band h2 { color: var(--white); position: relative; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 640px; margin: 0 auto 28px; position: relative; }
.cta-band .btn { position: relative; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,.75); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1fr; gap: 40px; }
.footer .brand { margin-bottom: 20px; }
.footer h4 { color: var(--secondary); font-size: 1.5rem; margin-bottom: 22px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--white); display: inline-flex; align-items: center; gap: 8px; }
.footer-links a .ico { color: var(--secondary); font-size: .85rem; }
.footer-links a:hover { color: var(--secondary); }
.footer-connect a { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.9); padding: 13px 0; border-bottom: 1px solid var(--primary); }
.footer-connect a .ico { color: var(--secondary); }
.footer-connect a:hover { color: var(--secondary); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.15); margin-top: 50px; padding: 26px 20px; }
.footer-bottom a { color: var(--secondary); }
.back-to-top {
  position: fixed; right: 35px; bottom: 104px; width: 50px; height: 50px; border-radius: 50%; z-index: 60;
  background: var(--secondary); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transition: .4s;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary); color: var(--white); }

/* ---------- Modal (home) ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(0,1,3,.7); display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop[hidden] { display: none; }
.modal { background: var(--white); border-radius: var(--radius); max-width: 560px; width: 100%; padding: 40px; position: relative; border-top: 8px solid var(--secondary); max-height: 90vh; overflow: auto; }
.modal-close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--light); font-size: 1.5rem; cursor: pointer; color: var(--ink); }
.modal-close:hover { background: var(--primary); color: var(--white); }
.modal h2 { font-size: 1.9rem; }
.modal h3 { font-size: 1.15rem; margin-top: 10px; }
.modal ul { list-style: none; display: grid; gap: 8px; margin-bottom: 18px; }
.modal li { position: relative; padding-left: 26px; color: var(--ink); }
.modal li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--secondary); }
.modal-price { font-weight: 600; color: var(--primary); }

/* ---------- Reveal on scroll (WOW-style) ---------- */
.motion-ready .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s ease; }
.motion-ready .reveal.from-left { transform: translateX(-40px); }
.motion-ready .reveal.from-right { transform: translateX(40px); }
.motion-ready .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1440px) {
  .nav-help-text, .nav-help-icon { display: none; }
}
@media (max-width: 1100px) {
  .nav-help { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .section { padding: 76px 0; }
  .navbar .container { flex-wrap: wrap; min-height: 76px; }
  .navbar-toggler { display: block; }
  .nav-collapse { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; padding: 4px 0 20px; }
  .nav-collapse.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; margin: 0; }
  .nav-links > a, .nav-links .dropdown > a { padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .dropdown-menu { position: static; display: none; visibility: visible; opacity: 1; transform: none; box-shadow: none; background: rgba(255,255,255,.08); margin: 4px 0; }
  .dropdown.show .dropdown-menu { display: block; }
  .dropdown:hover .dropdown-menu { display: none; }
  .dropdown.show:hover .dropdown-menu { display: block; }
  .dropdown-menu a { color: var(--white); }
  .dropdown-menu a:hover { background: transparent; color: var(--secondary); }
  .nav-help { display: flex; padding-top: 12px; }
  .nav-help-icon { display: none; }
  .nav-cta { width: 100%; }
  .about-grid, .inquiry-grid, .detail-grid { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .about-media { max-width: 560px; }
  .facts .container { grid-template-columns: 1fr; gap: 22px; }
  .steps-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 30px; }
  .price-panel { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .carousel-control { width: 56px; height: 46px; font-size: 1.2rem; }
}
@media (max-width: 767px) {
  .topbar { display: none; }
  .services-grid, .benefit-grid, .field-row { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  .hero-slide { min-height: 560px; }
  .hero-caption { padding: 80px 16px 90px; }
  .hero-actions .btn { width: 100%; max-width: 340px; padding: 16px 28px; }
  .carousel-control { display: none; }
  .mini-features { gap: 8px; }
  .mini-features div { padding: 16px 8px; }
  .mini-features strong { font-size: .92rem; }
  .form-card { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-header { padding: 80px 0 70px; }
  .timeline li { padding-left: 84px; }
  .back-to-top { right: 21px; bottom: 90px; width: 44px; height: 44px; }
  .brand img { height: 41px; }
}

/* ---------- About this service (detail pages) ---------- */
.service-about { display: grid; grid-template-columns: 7fr 5fr; gap: 50px; align-items: center; }
.service-about .lead-text { font-size: 1.12rem; color: var(--ink); }
.ideal-card { background: var(--primary); border-radius: var(--radius); padding: 34px 32px; color: rgba(255,255,255,.88); border-top: 6px solid var(--secondary); box-shadow: var(--shadow); }
.ideal-card h3 { color: var(--white); font-size: 1.35rem; margin-bottom: 18px; }
.ideal-card ul { list-style: none; display: grid; gap: 14px; }
.ideal-card li { display: flex; gap: 12px; align-items: flex-start; }
.ideal-card .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--secondary); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .9rem; }
.jump-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-top: 8px; }
@media (max-width: 991px) { .service-about { grid-template-columns: minmax(0, 1fr); gap: 34px; } }

/* ---------- Floating WhatsApp button ---------- */
.wa-float { position: fixed; right: 26px; bottom: 26px; z-index: 70; width: 62px; height: 62px; border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: 0 10px 28px rgba(37, 211, 102, .45); transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float .ico { stroke-width: 2.2; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: waPing 2.4s infinite; }
@keyframes waPing { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.55); opacity: 0; } }
.wa-float .wa-label { position: absolute; right: 74px; background: var(--white); color: var(--ink); font: 600 .88rem var(--font-body); padding: 9px 16px; border-radius: 50px;
  box-shadow: var(--shadow-sm); white-space: nowrap; opacity: 0; transform: translateX(8px); transition: .3s; pointer-events: none; }
.wa-float:hover .wa-label { opacity: 1; transform: none; }
@media (max-width: 767px) { .wa-float { right: 16px; bottom: 18px; width: 56px; height: 56px; font-size: 1.6rem; } .wa-float .wa-label { display: none; } }

/* ---------- FAQ (HighTech accordion) ---------- */
.faq-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 50px; align-items: start; }
.faq-wrap > div:first-child p { font-size: 1.05rem; margin-bottom: 24px; }
.faq-list { display: grid; gap: 14px; }
.faq-list details { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); border-left: 5px solid transparent; transition: .3s; }
.section-light .faq-list details { background: var(--white); }
.faq-list details[open] { border-left-color: var(--secondary); box-shadow: var(--shadow); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-ico { width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: var(--secondary); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: .3s; }
.faq-list details[open] .faq-ico { transform: rotate(45deg); background: var(--secondary); color: var(--primary); }
.faq-list details p { padding: 0 24px 22px; margin: 0; }

/* ---------- Quick facts box (service pages) ---------- */
.facts-box { background: var(--light); border-radius: var(--radius); border-left: 6px solid var(--secondary); padding: 22px 26px; margin-top: 28px; }
.facts-box h3 { font-family: var(--font-head); font-size: 1.15rem; color: var(--primary); margin-bottom: 12px; }
.facts-box dl { display: grid; grid-template-columns: 140px 1fr; gap: 8px 18px; margin: 0; font-size: .95rem; }
.facts-box dt { font-weight: 600; color: var(--ink); }
.facts-box dd { margin: 0; }
.service-about { align-items: start; }
.price-panel .btn-whatsapp { width: 100%; margin-bottom: 12px; }

/* ---------- Team (HighTech team-item style) ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.team-item { background: rgba(239, 239, 241, .8); border-top: 30px solid var(--secondary); border-radius: var(--radius); overflow: hidden; text-align: center; transition: .4s; }
.team-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-img { padding: 26px 26px 0; }
.team-photo { aspect-ratio: 1 / 1; border-radius: 50%; border: 10px solid var(--white); outline: 6px solid var(--secondary); background: linear-gradient(150deg, var(--primary), #1d3f86);
  display: flex; align-items: center; justify-content: center; overflow: hidden; max-width: 190px; margin: 0 auto; transition: .5s; }
.team-item:hover .team-photo { transform: scale(1.05); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo .initials { font: 700 3rem/1 var(--font-head); color: var(--secondary); }
.team-body { padding: 22px 22px 28px; }
.team-body h3 { font-size: 1.3rem; margin-bottom: 4px; transition: .4s; }
.team-item:hover .team-body h3 { color: var(--primary); }
.team-role { display: block; font-weight: 600; color: var(--secondary-dark); font-size: .92rem; margin-bottom: 12px; line-height: 1.4; }
.team-body p { font-size: .95rem; }
.step-num .ico { font-size: 1.9rem; }
.serving { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; color: rgba(255,255,255,.75); font-size: .92rem; line-height: 1.5; }
.serving .ico { color: var(--secondary); margin-top: 4px; }
.not-found-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.not-found-links a { color: var(--ink); background: var(--light); padding: 16px 18px; border-radius: var(--radius); }
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 991px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 30px; } }
@media (max-width: 767px) {
  .team-grid, .not-found-links { grid-template-columns: minmax(0, 1fr); }
  .facts-box dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .facts-box dd { margin-bottom: 10px; }
}

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 340px 1fr; gap: 50px; align-items: center; background: var(--light); border-radius: var(--radius); padding: 44px; margin-bottom: 70px; box-shadow: var(--shadow-sm); border-left: 8px solid var(--secondary); }
.founder .team-photo { width: 100%; max-width: 260px; }
.founder .team-photo .initials { font-size: 4.4rem; }
.founder .eyebrow { margin-bottom: 4px; }
.founder h3 { font-size: 2rem; margin-bottom: 4px; }
.founder .team-role { font-size: 1.05rem; margin-bottom: 16px; }
.founder p { font-size: 1.05rem; }
.team-subhead { text-align: center; font-size: 1.6rem; margin-bottom: 34px; }
@media (max-width: 991px) { .founder { grid-template-columns: minmax(0, 1fr); padding: 30px 24px; gap: 26px; text-align: center; } }

/* ---------- Blog (HighTech blog-item style) ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.blog-item { background: var(--light); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: .4s; }
.blog-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-img { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.blog-img::after { content: ""; position: absolute; inset: 0; background: rgba(15, 42, 92, .35); transition: .4s; }
.blog-item:hover .blog-img img { transform: scale(1.08); }
.blog-item:hover .blog-img::after { background: rgba(15, 42, 92, .15); }
.blog-cat { position: absolute; left: 18px; bottom: 18px; z-index: 1; background: var(--secondary); color: var(--dark); font-weight: 600; font-size: .82rem; padding: 6px 14px; border-radius: 50px; }
.blog-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: .85rem; color: var(--body); margin-bottom: 10px; }
.blog-meta span { display: inline-flex; align-items: center; gap: 6px; }
.blog-meta .ico { color: var(--secondary-dark); }
.blog-body h3 { font-size: 1.3rem; }
.blog-body h3 a { color: var(--ink); }
.blog-body h3 a:hover { color: var(--primary); }
.blog-body .btn { align-self: flex-start; margin-top: auto; }
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 50px; align-items: start; }
.post-body { font-size: 1.07rem; }
.post-cover { width: 100%; height: auto; border-radius: var(--radius); aspect-ratio: 16 / 8; object-fit: cover; margin-bottom: 34px; box-shadow: var(--shadow-sm); }
.post-body h2 { font-size: 1.75rem; margin-top: 40px; }
.post-body ul, .post-body ol { padding-left: 22px; margin: 0 0 20px; }
.post-body li { margin-bottom: 8px; }
.post-body li::marker { color: var(--secondary-dark); font-weight: 700; }
.post-body a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.post-cta { background: var(--primary); color: rgba(255,255,255,.88); border-radius: var(--radius); padding: 34px; margin-top: 44px; border-top: 6px solid var(--secondary); }
.post-cta h3 { color: var(--white); font-size: 1.5rem; }
.post-cta a { text-decoration: none; }
.post-side { position: sticky; top: 110px; display: grid; gap: 22px; }
.side-box { background: var(--light); border-radius: var(--radius); padding: 26px; }
.side-box h4 { font-size: 1.25rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 3px solid var(--secondary); display: inline-block; }
.side-box .footer-links a { color: var(--ink); font-size: .95rem; align-items: flex-start; }
.side-box .footer-links a .ico { color: var(--secondary-dark); margin-top: 6px; }
.side-box .footer-links a:hover { color: var(--primary); }
.side-cta { background: var(--primary); color: rgba(255,255,255,.85); }
.side-cta h4 { color: var(--white); }
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .post-grid { grid-template-columns: minmax(0, 1fr); } .post-side { position: static; } }
@media (max-width: 767px) { .blog-grid { grid-template-columns: minmax(0, 1fr); } .post-cta { padding: 26px 20px; } }

/* ---------- Thank-you message after an inquiry ---------- */
#request-form, #project-form { position: relative; }
.thanks { position: absolute; inset: 0; z-index: 5; background: var(--white); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 34px; animation: fadeInUp .5s both; outline: none; }
.thanks-icon { width: 78px; height: 78px; border-radius: 50%; background: var(--secondary); color: var(--primary); font: 700 2.4rem/78px var(--font-head); margin-bottom: 18px;
  box-shadow: 0 0 0 10px rgba(230, 175, 23, .18); }
.thanks h3 { font-size: 1.9rem; margin-bottom: 10px; }
.thanks p { max-width: 420px; margin: 0 auto 10px; }
.thanks-note { font-size: .92rem; color: var(--primary); font-weight: 600; }
.thanks .btn { margin-top: 12px; }

/* ---------- Recommended Tools ---------- */
.disclosure { background: #fff8e6; border-left: 6px solid var(--secondary); border-radius: var(--radius); padding: 18px 24px; margin-bottom: 50px; font-size: .95rem; color: var(--ink); }
.tool-cat { margin-bottom: 56px; }
.tool-cat-title { font-size: 1.6rem; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 3px solid var(--secondary); display: inline-block; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.tool-card { background: var(--light); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; border-top: 4px solid transparent; transition: .4s; }
.tool-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-top-color: var(--secondary); }
.tool-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.tool-ico { width: 56px; height: 56px; border-radius: 14px; background: var(--primary); color: var(--secondary); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.tool-badge { font-size: .74rem; font-weight: 600; letter-spacing: .5px; background: var(--white); color: var(--secondary-dark); border: 1px solid var(--secondary); padding: 4px 10px; border-radius: 50px; }
.tool-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.tool-best { font-size: .92rem; }
.tool-card .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 1024px) { .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .tool-grid { grid-template-columns: minmax(0, 1fr); } }
.tool-cat-tag { font-size: .8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--secondary-dark); margin-bottom: 4px; }

/* ---------- Tools showcase (homepages) + tools page intro ---------- */
.tools-showcase { background: linear-gradient(135deg, var(--primary) 0%, #0a1d40 100%); color: rgba(255,255,255,.85); position: relative; overflow: hidden; }
.tools-showcase::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 40px; background: var(--secondary); opacity: .12; top: -140px; right: -80px; transform: rotate(25deg); }
.tools-showcase h2 { color: var(--white); }
.tools-showcase h2 span, .section.tools-showcase h2 span { color: var(--secondary); }
.tools-showcase p { font-size: 1.08rem; margin-bottom: 28px; }
.tools-showcase p strong { color: var(--secondary); }
.ts-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; position: relative; }
.ts-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ts-item { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 14px 16px; color: var(--white); transition: .3s; }
.ts-item:hover { background: rgba(255,255,255,.14); border-color: var(--secondary); color: var(--white); transform: translateY(-3px); }
.ts-item .tool-ico { width: 46px; height: 46px; font-size: 1.3rem; background: var(--secondary); color: var(--primary); flex-shrink: 0; }
.ts-item strong { display: block; font-family: var(--font-head); font-size: 1.08rem; }
.ts-item small { color: rgba(255,255,255,.7); font-size: .84rem; }
.ts-more { justify-content: space-between; background: var(--secondary); border-color: var(--secondary); color: var(--dark); }
.ts-more small { color: rgba(0,1,3,.7); }
.ts-more:hover { background: var(--gold-light); color: var(--dark); }
.tools-intro { text-align: center; max-width: 820px; margin: 0 auto 34px; }
.tools-intro p { font-size: 1.1rem; }
.tools-chips { color: var(--ink); margin-top: 18px; }
.tools-chips .ico { color: var(--secondary-dark); }
@media (max-width: 991px) { .ts-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; } }
@media (max-width: 575px) { .ts-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Tools banner (above footer on inner pages) ---------- */
.tools-banner { position: relative; overflow: hidden; background: linear-gradient(120deg, #e6af17 0%, #f6cf55 45%, #e6af17 100%); color: var(--dark); }
.tools-banner::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.45), transparent 65%); top: -170px; left: 35%; }
.tb-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 46px; padding-bottom: 30px; flex-wrap: wrap; }
.tb-copy { max-width: 760px; }
.tb-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--primary); color: var(--secondary); font: 600 .78rem/1 var(--font-body); letter-spacing: 1.2px; padding: 8px 14px; border-radius: 50px; margin-bottom: 14px; }
.tools-banner h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: var(--primary); margin-bottom: 8px; }
.tools-banner h3 span { color: var(--secondary); background: var(--primary); padding: 0 .3em; border-radius: 8px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tools-banner p { margin: 0; font-size: 1.05rem; color: #1d2a45; }
.tb-btn { background: var(--primary); color: var(--white); padding: 18px 34px; box-shadow: 0 12px 30px rgba(15, 42, 92, .35); }
.tb-btn:hover { background: var(--dark); color: var(--secondary); }
.tb-btn .ico { transition: transform .3s; }
.tb-btn:hover .ico { transform: translateX(4px); }
.tb-marquee { position: relative; overflow: hidden; border-top: 1px solid rgba(15, 42, 92, .18); padding: 12px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tb-track { display: flex; gap: 12px; width: max-content; animation: tbScroll 60s linear infinite; }
.tb-track span { background: rgba(15, 42, 92, .9); color: var(--white); font-weight: 600; font-size: .86rem; padding: 7px 16px; border-radius: 50px; white-space: nowrap; }
.tools-banner:hover .tb-track { animation-play-state: paused; }
@keyframes tbScroll { to { transform: translateX(-50%); } }

/* ---------- Tools page categories ---------- */
.tool-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 50px; max-width: 1000px; }
.tool-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 50px; background: var(--primary); color: var(--white); font-weight: 600; font-size: .9rem; transition: .3s; }
.tool-nav a .ico { color: var(--secondary); }
.tool-nav a:hover { background: var(--secondary); color: var(--dark); }
.tool-nav a:hover .ico { color: var(--primary); }
.tool-cat { scroll-margin-top: 110px; }
.tool-cat-head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 3px solid var(--secondary); }
.tool-cat-head .tool-ico { width: 62px; height: 62px; font-size: 1.8rem; flex-shrink: 0; }
.tool-cat-head .tool-cat-title { margin: 0 0 2px; padding: 0; border: 0; font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.tool-cat-head p { margin: 0; color: var(--body); }
@media (max-width: 767px) { .tb-inner { padding-top: 34px; } .tb-btn { width: 100%; } .tool-nav { justify-content: flex-start; } }

/* v8: reliable direct inquiry capture, accessible consent banner */
.crm-capture {padding:1rem 0 .4rem; border-top:1px solid #d9e5ee; margin-top:1rem; display:grid; gap:.65rem}
.crm-consent {display:flex!important;align-items:flex-start;gap:.65rem;font-size:.87rem;line-height:1.5}
.crm-consent input {width:18px;height:18px;flex:none;accent-color:#1842b6;margin-top:.18rem}
.crm-explainer,.crm-setup-note {font-size:.86rem;line-height:1.6;color:#41536a;margin:.4rem 0}
.crm-status {font-size:.9rem;font-weight:600;color:#9d2832;min-height:1rem;outline-offset:3px}
.crm-status.success {color:#12613e}
.crm-submit:disabled {opacity:.6;cursor:wait}
.ema-cookie-banner{position:fixed;z-index:99999;left:1rem;bottom:1rem;right:1rem;max-width:760px;display:flex;align-items:center;gap:1.5rem;justify-content:space-between;background:#fff;color:#122240;border:1px solid #becbd8;box-shadow:0 10px 45px #0004;border-radius:18px;padding:1.15rem 1.4rem}
.ema-cookie-banner p{font-size:.88rem;margin:.35rem 0 0;line-height:1.55}
.ema-cookie-actions{display:flex;gap:.5rem;flex-shrink:0;flex-wrap:wrap}
.ema-cookie-banner a,.crm-consent a {color:#1842b6;text-decoration:underline}
@media(max-width:650px){.ema-cookie-banner{flex-direction:column;align-items:stretch;gap:.8rem;padding:1rem}.ema-cookie-actions .btn{flex:1;text-align:center}}
@media(prefers-reduced-motion:reduce){.ema-cookie-banner,.crm-capture *{animation:none!important;transition:none!important}}

.team-portrait-note{font-size:.88rem;color:#314a64;margin:0 0 1.5rem}.team-portrait-note:before{content:'ⓘ ';color:#1842b6;font-weight:700}

/* V9: Interactive recommended tool marquee */
.tb-track > a { display:inline-flex; align-items:center; justify-content:center; color:inherit; text-decoration:none; white-space:nowrap; cursor:pointer; transition:color .2s, background .2s, box-shadow .2s; }
.tb-track > a:hover { color:#26d48c; text-decoration:underline; text-underline-offset:4px; }
.tb-track > a:focus-visible { outline:3px solid #26d48c; outline-offset:3px; border-radius:4px; }
.tb-marquee:hover .tb-track, .tb-marquee:focus-within .tb-track { animation-play-state:paused; }
.tb-affiliate-disclosure { max-width:1160px; margin:8px auto 0; padding:0 16px 12px; font-size:.78rem; opacity:.82; }
.tb-affiliate-disclosure[hidden] { display:none!important; }
@media(prefers-reduced-motion:reduce) { .tb-marquee { overflow-x:auto; } .tb-track { animation:none!important; transform:none!important; width:max-content; } .tb-track > a { transition:none!important; } }


/* V11: Proof and verified-client-feedback components. No fabricated reviews. */
.ema-trust{background:#fff}.ema-proof-intro{text-align:center;max-width:720px;margin:0 auto 2.5rem}
.ema-proof-intro .eyebrow{color:#1842b6;letter-spacing:.12em;font-weight:700}
.ema-proof-intro h2{font-family:Saira,sans-serif;font-size:clamp(1.8rem,3.4vw,2.8rem);margin:.6rem 0 1rem;color:#101e3c}
.ema-proof-intro p{color:#526175;line-height:1.8}
.ema-proof-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.25rem}
.ema-proof-card{background:#f8f8f9;padding:1.7rem 1.4rem;border-radius:18px;border:1px solid #e5ebf3;transition:transform .3s ease,box-shadow .3s ease}
.ema-proof-card:hover{transform:translateY(-5px);box-shadow:0 16px 30px rgba(24,66,182,.1)}
.ema-proof-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:#1842b6;color:#fff;font-family:Saira,sans-serif;font-weight:700;margin-bottom:1rem}
.ema-proof-card h3{font-size:1.15rem;color:#102e7d;margin:0 0 .7rem}
.ema-proof-card p{font-size:.95rem;line-height:1.7;color:#44536a;margin:0 0 1rem}
.ema-proof-card a{font-weight:700;color:#1842b6;text-decoration:underline;text-underline-offset:4px}
.ema-proof-card a:hover{color:#086841}
.ema-proof-card a:focus-visible,.ema-testimonial-card a:focus-visible{outline:3px solid #26d48c;outline-offset:4px}
.ema-testimonials[hidden],.ema-testimonial-preview-note[hidden]{display:none!important}
.ema-testimonials{background:#f8f8f9}
.ema-testimonial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.3rem}
.ema-testimonial-card{background:#fff;border-radius:18px;border:1px solid #dae8e3;box-shadow:0 9px 28px rgba(10,38,65,.06);padding:1.8rem;min-width:0}
.ema-testimonial-service{display:inline-block;color:#1842b6;font-size:.8rem;font-weight:700;letter-spacing:.035em;margin-bottom:1.1rem}
.ema-testimonial-card blockquote{margin:0 0 1.25rem;color:#24374b;line-height:1.75;font-size:1.02rem}
.ema-testimonial-byline{font-weight:700;color:#0d3a62;font-size:.88rem;margin-bottom:.75rem}
.ema-testimonial-card a{color:#0f683e;font-weight:700}
.ema-testimonial-preview-note{padding:1rem;border-left:4px solid #1842b6;background:#e9f0fc;margin-bottom:1.5rem;color:#1e3761}
@media(max-width:980px){.ema-proof-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ema-testimonial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ema-proof-grid,.ema-testimonial-grid{grid-template-columns:1fr}.ema-proof-card,.ema-testimonial-card{padding:1.35rem}}
@media(prefers-reduced-motion:reduce){.ema-proof-card{transition:none}.ema-proof-card:hover{transform:none}}

/* Currency disclosure is compact and never lists multiple currencies at once. */
.ema-currency-note{max-width:1160px;margin:20px auto;padding:0 22px;font-size:0.82rem;color:#4a5568;text-align:center;line-height:1.5}

/* Version 16: honest empty-state for client testimonials and latest blog cards. */
.ema-testimonial-empty{grid-column:1/-1;text-align:center;margin:0 auto;max-width:680px;padding:2rem 2.5rem;border:1px solid #c8e1d6;border-radius:18px;background:#fff;box-shadow:0 8px 26px rgba(10,38,65,.05)}
.ema-testimonial-empty strong{display:block;font-family:Saira,sans-serif;font-size:1.4rem;color:#1842b6;margin-bottom:.6rem}
.ema-testimonial-empty p{margin:0;color:#40516a;line-height:1.7}
.ema-blog-more{text-align:center;margin-top:2rem}
.ema-latest-blog .blog-item:focus-within{outline:3px solid #26d48c;outline-offset:3px}

/* Native HubSpot embedded form inside the existing EMA card */
.ema-hubspot-card{min-width:0;width:100%;overflow:visible}
.ema-hubspot-card .hs-form-frame{min-height:360px;width:100%}
.ema-hubspot-card iframe{max-width:100%;width:100%!important;border:0}
.ema-hubspot-card .ema-hubspot-fallback{font-size:.85rem;margin:1rem 0 0;color:#4d5c6b}
.ema-hubspot-card .ema-hubspot-fallback a{color:#1842b6;text-decoration:underline}
.ema-service-intent{padding:.7rem .9rem;border-radius:12px;background:#e3f0eb;color:#143a30;font-size:.89rem}


/* V23: visible, usable contact options without changing the existing card layout. */
.ema-email-row { display:flex; flex-wrap:wrap; gap:8px 12px; align-items:center; margin-top:5px; }
.ema-direct-email,.ema-visible-email { display:inline-block; overflow-wrap:anywhere; color:var(--primary); font-weight:600; font-size:.94rem; }
.ema-copy-email { appearance:none; border:1px solid var(--primary); background:transparent; color:var(--primary); border-radius:999px; font:600 .8rem var(--font-body, sans-serif); padding:5px 11px; cursor:pointer; transition:background .2s,color .2s; }
.ema-copy-email:hover { background:var(--primary); color:#fff; }
.ema-copy-email:focus-visible,.ema-direct-email:focus-visible,.ema-form-jump:focus-visible { outline:3px solid var(--secondary); outline-offset:3px; }
.ema-copy-status { display:inline-block; font-size:.82rem; color:#195b40; }
.ema-form-jump { display:inline-block; margin-top:5px; font-weight:600; font-size:.9rem; color:var(--primary); text-decoration:underline; text-underline-offset:3px; }
.ema-form-jump:hover { color:#0c2c76; }
.ema-visible-email { margin-top:3px; }
.ema-contact-helper { padding:0 20px 4px; }
.ema-contact-helper .ema-form-jump { margin:0; }
.ema-email-tools { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:0 20px 8px; }
#inquiry, #contact { scroll-margin-top:90px; }
@media (prefers-reduced-motion: reduce) { .ema-copy-email {transition:none;} }
