/* ==========================================================================
   Aristo Enterprise Consulting — static site styles
   ========================================================================== */

:root {
  --orange: #e28600;
  --dark: #242424;
  --text: #777777;
  --list: #797575;
  --light: #f8f8f8;
  --icon-bg: #f1f1f1;
  --border: #cccccc;
  --container: 1300px;
  --font: "Poppins", Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s, opacity .25s; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 10px; color: var(--dark); font-weight: 600; line-height: 1.3; }
p { margin: 0 0 15px; }
p:last-child { margin-bottom: 0; }
ul { margin: 0 0 15px; }
strong { font-weight: 600; color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 15px; }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  text-transform: uppercase;
  color: #fff !important;
  background: var(--orange);
  border: 1px solid #000;
  border-radius: 50px;
  box-shadow: 0 0 2px #222;
  cursor: pointer;
  transition: .5s all;
  font-family: var(--font);
}
.btn:hover { scale: .9; border-radius: 5px; }

/* ---------- Section headings ---------- */
.sec-title { font-size: 35px; line-height: 45px; font-weight: 400; text-align: center; margin-bottom: 40px; }
.sec-title--lg { font-size: 44px; line-height: 1.3; }
.sec-title--sm { font-size: 32px; line-height: 1.4; }
.eyebrow { font-size: 16px; font-weight: 400; text-transform: uppercase; color: var(--dark); margin-bottom: 10px; }

.section { margin: 60px 0; }
.section-pad { padding: 60px 55px; }
.bg-light { background: var(--light); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s, box-shadow .3s;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 100px; transition: height .3s; }
.site-header.is-sticky { position: fixed; background: #000; box-shadow: 0 1px 6px rgba(0,0,0,.2); animation: slideDown .35s ease; }
.site-header.is-sticky .container { height: 60px; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }

.logo img { width: 214px; height: auto; transition: width .3s; }
.site-header.is-sticky .logo img { width: 170px; }

.main-nav > ul { display: flex; gap: 0 20px; list-style: none; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav > ul > li > a {
  display: flex; align-items: center; gap: 4px;
  height: 100px; padding: 0 10px;
  font-size: 16px; font-weight: 500; text-transform: capitalize;
  transition: height .3s;
}
.site-header.is-sticky .main-nav > ul > li > a { height: 60px; }
.main-nav > ul > li > a span {
  --b: 0.1em;
  --c: #e9e9e9;
  color: #fff;
  padding-block: var(--b);
  background:
    linear-gradient(var(--c) 50%, #000 0) 0% calc(100% - var(--_p, 0%)) / 100% 200%,
    linear-gradient(var(--c) 0 0) 0% var(--_p, 0%) / var(--_p, 0%) var(--b) no-repeat;
  -webkit-background-clip: text, padding-box;
          background-clip: text, padding-box;
  transition: .3s var(--_s, 0s) linear, background-size .3s calc(.3s - var(--_s, 0s));
}
.main-nav > ul > li > a:hover span { --_p: 100%; --_s: .3s; opacity: .6; }
.main-nav .has-sub > a::after {
  content: ""; width: 5px; height: 5px; margin-left: 2px; margin-top: -3px;
  border-right: 1px solid #fff; border-bottom: 1px solid #fff; transform: rotate(45deg); opacity: .8;
}

.sub-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 220px; padding: 0; margin: 0; list-style: none;
  background: #000;
  box-shadow: 0 0 3px rgba(0,0,0,.15);
  opacity: 0; visibility: hidden; transform: translateY(15px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.main-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 10px; font-size: 14px; color: #d3d3d3; transition: all .25s; }
.sub-menu li:hover a { background: #fff; color: #000; padding-left: 20px; }

/* ---------- Mega menu ---------- */
.main-nav li.has-mega { position: static; }
.mega-menu {
  position: absolute; top: 100%; left: 50%;
  width: min(1240px, calc(100vw - 40px));
  transform: translate(-50%, 15px);
  opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 200;
}
.main-nav li.has-mega:hover > .mega-menu,
.main-nav li.has-mega:focus-within > .mega-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-inner {
  display: grid; grid-template-columns: 260px 1fr;
  background: #0b0b0b; border-top: 3px solid var(--orange);
  box-shadow: 0 18px 40px rgba(0,0,0,.35); border-radius: 0 0 14px 14px; overflow: hidden;
}
.mega-intro { background: #161616; padding: 30px 26px; display: flex; flex-direction: column; }
.mega-intro h3 { color: #fff; font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.mega-intro p { color: #a8a8a8; font-size: 13px; line-height: 1.6; margin-bottom: 20px; }
.mega-intro .btn { align-self: flex-start; margin-top: auto; font-size: 13px; padding: 10px 18px; }
.mega-links { list-style: none; margin: 0; padding: 20px; display: grid; gap: 4px 10px; grid-template-columns: repeat(3, 1fr); align-content: start; }
.mega-cols-2 .mega-links { grid-template-columns: repeat(2, 1fr); }
.mega-cols-4 .mega-links { grid-template-columns: repeat(4, 1fr); padding: 18px 14px; gap: 4px 6px; }
.mega-cols-4 .mega-inner { grid-template-columns: 230px 1fr; }
.mega-cols-4 .mega-links a { gap: 10px; padding: 10px 8px; }
.mega-cols-2 { width: min(920px, calc(100vw - 40px)); }
.mega-links a {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 12px; border-radius: 10px; transition: background .2s;
}
.mega-links a:hover, .mega-links a:focus { background: #1d1d1d; }
.mega-icon {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(226,134,0,.12); color: var(--orange); transition: background .2s, color .2s;
}
.mega-icon svg { width: 20px; height: 20px; }
.mega-links a:hover .mega-icon { background: var(--orange); color: #fff; }
.mega-text { display: flex; flex-direction: column; min-width: 0; }
.mega-text strong { color: #fff; font-size: 14px; font-weight: 500; line-height: 1.3; }
.mega-text small { color: #8e8e8e; font-size: 12px; line-height: 1.4; margin-top: 3px; }
.mega-links a:hover .mega-text strong, .mega-links a.active .mega-text strong { color: var(--orange); }
.mega-links a.active .mega-icon { background: var(--orange); color: #fff; }
.main-nav > ul > li > a.active span { --c: var(--orange); }

.header-cta .btn { padding: 10px 20px; font-size: 14px; }

/* ---------- Mobile header button ---------- */
.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px;
  background: rgba(255,255,255,.08); cursor: pointer; transition: background .2s;
}
.menu-toggle:hover { background: rgba(255,255,255,.16); }
.burger { position: relative; width: 22px; height: 16px; display: block; }
.burger i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s, opacity .3s, top .3s; }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 7px; width: 70%; left: 30%; }
.burger i:nth-child(3) { top: 14px; }

/* ---------- Mobile off-canvas menu ---------- */
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 400;
  width: min(360px, 88vw); background: #0b0b0b; color: #fff;
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  visibility: hidden;
}
.mobile-nav.open { transform: none; visibility: visible; box-shadow: -10px 0 40px rgba(0,0,0,.4); }
.mobile-nav:not(.open) { transition: transform .35s cubic-bezier(.4,0,.2,1), visibility 0s .35s; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.m-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 14px 20px; border-bottom: 1px solid #1f1f1f; position: sticky; top: 0; background: #0b0b0b; z-index: 2; }
.m-head .logo img { width: 150px; }
.close-nav {
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: #1d1d1d; color: #fff; font-size: 26px; line-height: 1; transition: background .2s, transform .3s;
}
.close-nav:hover { background: var(--orange); transform: rotate(90deg); }
.m-menu { padding: 8px 0; }
.m-link, .m-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 15px 22px; border: 0; border-bottom: 1px solid #191919; background: none; cursor: pointer;
  color: #fff; font: 500 16px var(--font); text-align: left; transition: color .2s, background .2s;
}
.m-link:hover, .m-toggle:hover { background: #141414; }
.m-link.active, .m-group.open > .m-toggle { color: var(--orange); }
.m-chevron { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; transition: transform .3s, margin .3s; }
.m-group.open .m-chevron { transform: rotate(-135deg); margin-top: 4px; }
.m-sub { max-height: 0; overflow: hidden; background: #101010; transition: max-height .35s ease; }
.m-group.open .m-sub { max-height: 1000px; }
.m-sub li:first-child { padding-top: 6px; }
.m-sub li:last-child { padding-bottom: 8px; }
.m-sub-link { display: flex; align-items: center; gap: 12px; padding: 8px 22px 8px 26px; color: #cfcfcf; font-size: 14px; transition: color .2s; }
.m-sub-link .mega-icon { flex-basis: 32px; width: 32px; height: 32px; border-radius: 8px; }
.m-sub-link .mega-icon svg { width: 17px; height: 17px; }
.m-sub-link:hover, .m-sub-link.active { color: var(--orange); }
.m-sub-link.active .mega-icon { background: var(--orange); color: #fff; }
.m-foot { margin-top: auto; padding: 22px 22px 28px; border-top: 1px solid #1f1f1f; }
.m-foot .btn { display: block; text-align: center; }
.m-foot p { margin: 14px 0 0; font-size: 12px; color: #8a8a8a; line-height: 1.5; }
.nav-overlay { position: fixed; inset: 0; z-index: 350; background: rgba(0,0,0,.6); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: .3s; }
.nav-overlay.open { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }

/* ==========================================================================
   Home hero (video)
   ========================================================================== */
.hero-video { position: relative; height: 630px; overflow: hidden; background: #0b0f17; }
.hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.15); }
.hero-video .container { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; }
.hero-tag { font-size: 22px; line-height: 25px; font-weight: 700; letter-spacing: 2px; color: #c7c7c7; margin-bottom: 25px; }
.hero-tag span, .hero-text span { color: var(--orange); }
.hero-title { font-size: 55px; line-height: 60px; font-weight: 500; letter-spacing: -2px; color: #fff; max-width: 1060px; margin-bottom: 25px; }
.hero-text { font-size: 18px; line-height: 25px; font-weight: 500; color: #fff; max-width: 840px; margin-bottom: 30px; }
.hero-video .btn { align-self: flex-start; }

/* ==========================================================================
   Inner page banner
   ========================================================================== */
.page-banner {
  position: relative;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  /* Every inner banner is the same height on desktop; content is centred inside it */
  min-height: 600px; display: flex; align-items: center;
  padding: 120px 55px 50px;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,10,20,.55) 0%, rgba(5,10,20,.15) 70%); pointer-events: none; }
.page-banner .row { position: relative; width: 100%; display: grid; grid-template-columns: 7fr 5fr; gap: 50px; align-items: center; max-width: var(--container); margin: 0 auto; padding: 0 15px; }
.page-banner--half .row { grid-template-columns: 1fr 1fr; }
.page-banner .banner-text { max-width: 680px; }
.page-banner h1 { font-size: 38px; line-height: 46px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.page-banner .banner-sub { font-size: 20px; line-height: 30px; font-weight: 600; color: #fff; margin-bottom: 14px; }
.page-banner p, .page-banner li { color: rgba(255,255,255,.92); }
.page-banner p { margin-bottom: 12px; }
.page-banner ul { padding-left: 20px; }
.page-banner .btn { margin-top: 14px; }
.page-banner .banner-img { text-align: right; }
/* One fixed image frame for every banner */
.page-banner .banner-img img { width: 100%; height: 340px; border-radius: 30px; box-shadow: 0 0 20px #777; object-fit: cover; }
.page-banner .banner-img img.no-frame { height: 340px; width: 100%; object-fit: contain; object-position: center; box-shadow: none; border-radius: 0; }

/* ==========================================================================
   Counters
   ========================================================================== */
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.counter {
  background: #fff; padding: 20px; text-align: center;
  border: 1px solid var(--light); box-shadow: 0 0 10px var(--light);
  border-radius: 10px; transition: .5s all; cursor: pointer;
}
.counter:hover { background: var(--light); border-radius: 50px 0 50px 0; border-color: #0000001c; }
.counter-value { font-size: 38px; line-height: 1.2; font-weight: 600; color: var(--dark); }
.counter-label { font-size: 14px; }

/* ==========================================================================
   Carousel (generic)
   ========================================================================== */
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; margin: 0 -15px; padding: 6px 0 12px; }
.carousel-track { display: flex; transition: transform .6s ease; will-change: transform; }
.carousel-item { flex: 0 0 auto; padding: 0 15px; }
.carousel-arrow {
  position: absolute; top: 50%; z-index: 5;
  width: 50px; height: 50px; margin-top: -25px;
  background: none; border: 0; cursor: pointer; color: #333;
  font-size: 0; opacity: 0; visibility: hidden; transition: all .25s;
}
.carousel-arrow::before { content: ""; display: block; width: 14px; height: 14px; margin: auto; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.carousel-arrow.prev { left: -50px; }
.carousel-arrow.prev::before { transform: rotate(45deg); }
.carousel-arrow.next { right: -50px; }
.carousel-arrow.next::before { transform: rotate(-135deg); }
.carousel:hover .carousel-arrow { opacity: 1; visibility: visible; }
.carousel:hover .carousel-arrow.prev { left: -40px; }
.carousel:hover .carousel-arrow.next { right: -40px; }
.carousel-arrow:hover { color: var(--orange); }
.carousel-arrow[disabled] { opacity: .3 !important; cursor: default; }
.carousel.no-arrows .carousel-arrow { display: none; }

/* ==========================================================================
   Core services (home)
   ========================================================================== */
.services-sec { padding: 60px 55px; background: var(--light); }
.service-card { text-align: center; height: 100%; display: flex; flex-direction: column; align-items: center; }
.service-card .thumb { width: 100%; background: #fff; box-shadow: 0 0 5px #fff; height: 220px; padding: 12px; margin-bottom: 20px; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: .5s all; }
.service-card:hover .thumb img { scale: .9; }
.service-card h4 { font-size: 22px; font-weight: 400; margin-bottom: 10px; }
.service-card p { width: 97%; margin: 0 auto 20px; flex-grow: 1; }

/* ==========================================================================
   Info boxes (icon + text carousel)
   ========================================================================== */
.info-sec { margin-bottom: 50px; padding: 0 15px; }
.info-box { text-align: center; }
.info-icon { width: 118px; height: 118px; margin: 0 auto 20px; padding: 20px; border-radius: 50%; background: var(--icon-bg); display: flex; align-items: center; justify-content: center; }
.info-icon img { width: 78px; height: 78px; object-fit: contain; }
.info-icon svg { width: 56px; height: 56px; color: var(--orange); }
.info-icon--lg { width: 161px; height: 161px; }
.info-icon--lg img { width: 121px; height: 121px; }
.info-box h4 { font-size: 18px; font-weight: 600; line-height: 1.3; margin-bottom: 10px; }
.info-box p { margin-bottom: 10px; }
.info-box ul { display: inline-block; max-width: 100%; text-align: left; padding-left: 20px; margin: 0 auto 10px; }
.info-box li { margin-bottom: 5px; }
.info-box.scroll-body .info-content { height: 200px; overflow-y: auto; }

/* ==========================================================================
   Promo cards (expertise / additional services)
   ========================================================================== */
.promo-sec { margin: 60px 0; padding-top: 35px; }
.promo-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 20px; min-height: 320px; height: 100%;
  background-size: cover; background-position: center;
}
.promo-card::before {
  content: ""; position: absolute; inset: 0;
  background: var(--light); transition: .5s all;
}
.promo-card:hover::before { opacity: .6; background: #000; }
.promo-card .promo-content { position: relative; z-index: 1; padding: 70px 20px 30px; flex: 1; display: flex; flex-direction: column; }
.promo-card h4 { font-size: 22px; color: var(--dark); font-weight: 400; transition: color .5s; margin-bottom: 10px; }
.promo-card .promo-inner { color: #828282; transition: color .5s; flex-grow: 1; }
.promo-card:hover h4, .promo-card:hover .promo-inner { color: #fff; }
.promo-card .promo-inner ul { padding-left: 18px; margin-bottom: 10px; }
.promo-card .btn { align-self: flex-start; margin-top: 15px; }
.promo-sec--home .promo-card { min-height: 380px; }
.promo-sec--tall .promo-card { min-height: 420px; }
.promo-sec--tall .promo-content { padding-top: 30px; }

/* ==========================================================================
   Portfolio (tabs + hover-scroll screenshots)
   ========================================================================== */
.portfolio-sec { margin: 60px 0; }
.portfolio-sec .sec-title { margin-bottom: 20px; }
.tabs-nav { display: flex; justify-content: center; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 10px; }
.tabs-nav li { margin: 0 20px; }
.tabs-nav button {
  background: none; border: 0; cursor: pointer; padding: 10px 0;
  font: 400 16px var(--font); color: var(--text); position: relative;
}
.tabs-nav button::after { content: ""; position: absolute; left: 0; bottom: 6px; height: 1px; width: 0; background: var(--dark); transition: width .3s; }
.tabs-nav button:hover, .tabs-nav button.active { color: var(--dark); }
.tabs-nav button:hover::after, .tabs-nav button.active::after { width: 100%; }
.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: repeat(3, 1fr); animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.gallery-item { position: relative; height: 450px; overflow: hidden; display: block; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 450px; object-fit: cover; object-position: top; transition: 5s all; }
.gallery-item img:hover { object-position: bottom; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.9); display: none; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 60px 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1000px, 100%); height: auto; }
.lightbox button { position: fixed; background: none; border: 0; color: #fff; cursor: pointer; font-size: 40px; line-height: 1; padding: 10px; }
.lightbox .lb-close { top: 10px; right: 20px; }
.lightbox .lb-prev { left: 10px; top: 50%; }
.lightbox .lb-next { right: 10px; top: 50%; }

/* ==========================================================================
   Split (why choose / image + text)
   ========================================================================== */
.split-sec { margin-bottom: 50px; padding: 0 15px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; max-width: var(--container); margin: 0 auto; padding: 0 15px; }
.split.align-top { align-items: start; }
.split h2 { font-size: 35px; line-height: 45px; font-weight: 400; }
.split h2.h-sm { font-size: 28px; line-height: 38px; }
.split .eyebrow + h2 { margin-top: 0; }
.split ul { padding-left: 20px; }
.split li { color: var(--list); margin-bottom: 10px; }
.split p strong, .split li strong { color: var(--dark); }
.split .btn { margin-top: 20px; }
.split-img img { width: 100%; border-radius: 60px 0 60px; box-shadow: 0 0 10px #ccc; }
.split-img img.plain { border-radius: 0; box-shadow: none; }
.split h3 { font-size: 20px; font-weight: 500; margin: 20px 0 8px; }
.split ol { padding-left: 20px; }
.featured-list > ul > li { margin-bottom: 15px; }
.featured-list ul ul { margin: 6px 0 0; list-style: circle; }
.data-table { width: 100%; border-collapse: collapse; margin: 10px 0 5px; }
.data-table th, .data-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e6e6e6; }
.data-table th { color: var(--dark); font-weight: 600; background: var(--light); }

/* Title-only banner (portfolio page) */
.page-banner--title { min-height: 340px; padding-top: 110px; padding-bottom: 40px; }
.page-banner--title .row { display: block; text-align: center; }
.page-banner--title h1 { margin: 0; font-weight: 400; }
.page-portfolio-work .portfolio-sec .sec-title { display: none; }
.split-text > h2 + h2 { margin-top: 20px; }
.anchor-offset { scroll-margin-top: 80px; }
.split-text ul + h2 { margin-top: 25px; }

/* ==========================================================================
   Centered CTA / text blocks
   ========================================================================== */
.cta-sec { margin: 60px 0; text-align: center; }
.cta-sec h2 { font-size: 35px; line-height: 45px; font-weight: 400; }
.cta-sec h2.bold { font-weight: 600; }
.cta-sec .btn { margin-top: 20px; }
.narrow { max-width: 860px; margin: 0 auto; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-sec { padding: 60px 55px; background: var(--light); }
.testimonial {
  background: #fff; padding: 20px; min-height: 200px; height: 100%; display: flex; flex-direction: column;
  border-radius: 40px 0 40px 0; box-shadow: 0 0 3px #ccc;
  scale: .95; transition: .5s all;
}
.testimonial:hover { border-radius: 0 40px 0 40px; scale: 1; }
.stars { color: #eabe12; letter-spacing: 2px; font-size: 13px; margin-bottom: 10px; }
.testimonial blockquote { margin: 0; flex-grow: 1; }
.testimonial .t-name { margin-top: 15px; font-weight: 600; color: var(--dark); }
.testimonial .t-name span { font-weight: 400; color: var(--text); }

/* ==========================================================================
   Clients
   ========================================================================== */
.clients-sec { margin: 60px 0; }
.clients-sec .sec-title { margin-bottom: 30px; }
.client-logo { display: flex; align-items: center; justify-content: center; height: 80px; }
.client-logo img { max-height: 60px; width: auto; }

/* ==========================================================================
   Generic content (about / press / events etc.)
   ========================================================================== */
.content-sec { margin: 60px 0; }
.content-sec h2 { font-size: 35px; line-height: 45px; font-weight: 400; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.card { background: #fff; border-radius: 15px; box-shadow: 0 0 4px #ccc; padding: 25px; transition: .5s all; }
.card:hover { box-shadow: 0 0 12px #bbb; }
.card h3, .card h4 { font-weight: 500; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea, .form-grid select {
  width: 100%; padding: 10px 15px; font: 14px var(--font); color: #333;
  border: 1px solid rgba(129,129,129,.25); border-radius: 0; background: #fff; outline: none;
}
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { border-color: rgba(0,0,0,.4); }
.form-grid textarea { min-height: 140px; resize: vertical; }
.form-grid .btn { padding: 12px 50px; }
.form-note { margin-top: 10px; font-size: 13px; }
.form-error { color: #c0392b; font-weight: 500; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Blog coming-soon page */
.coming-soon-sec { margin: 70px 0; }
.coming-soon-icon { width: 90px; height: 90px; margin: 0 auto 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(226,134,0,.12); color: var(--orange); }
.coming-soon-icon svg { width: 44px; height: 44px; }
.coming-soon-badge { display: inline-block; padding: 6px 16px; border-radius: 30px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.coming-soon-sec h2 { font-size: 38px; line-height: 46px; font-weight: 500; margin-bottom: 14px; }
.coming-soon-topics { list-style: none; padding: 0; margin: 28px 0 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.coming-soon-topics li { padding: 8px 16px; border-radius: 30px; background: var(--light); border: 1px solid #ececec; color: var(--dark); font-size: 13px; }

/* "Issues" checklist section (SEO page) */
.issues-sec { margin: 60px 0 10px; }
.issues-list { list-style: none; padding: 0; margin: 0 auto 25px; max-width: 1000px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; }
.issues-list li { position: relative; background: var(--light); border-radius: 12px; padding: 16px 18px 16px 52px; color: var(--dark); }
.issues-list li::before { content: "!"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 50px; align-items: start; }
.contact-info h2 { font-size: 35px; line-height: 45px; font-weight: 400; }
.contact-points { list-style: none; padding: 0; margin: 25px 0; display: grid; gap: 18px; }
.contact-points li { display: flex; gap: 14px; align-items: flex-start; }
.contact-points .mega-icon { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; }
.contact-points .mega-icon svg { width: 22px; height: 22px; }
.contact-points strong { display: block; color: var(--dark); font-weight: 600; }
.contact-points a { color: var(--orange); word-break: break-word; }
.contact-points a:hover { text-decoration: underline; }
.contact-what-next { background: var(--light); border-radius: 16px; padding: 22px 24px; }
.contact-what-next h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.contact-what-next ol { margin: 0; padding-left: 20px; }
.contact-what-next li { margin-bottom: 6px; }
.contact-card { background: #fff; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,.08); border: 1px solid #f0f0f0; padding: 34px; }
.contact-card h3 { font-size: 24px; font-weight: 500; margin-bottom: 4px; }
.form-intro { font-size: 13px; margin-bottom: 20px; }
.contact-card .form-grid { gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 13px; font-weight: 500; color: var(--dark); }
.contact-card .form-grid input, .contact-card .form-grid select, .contact-card .form-grid textarea { border-radius: 10px; padding: 12px 14px; background: #fafafa; }
.contact-card .form-grid input:focus, .contact-card .form-grid select:focus, .contact-card .form-grid textarea:focus { border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px rgba(226,134,0,.15); }
.contact-card .btn { padding: 13px 40px; }

/* Thank-you page */
.thank-you-sec { margin: 70px 0; }
.thank-you-icon {
  width: 90px; height: 90px; margin: 0 auto 25px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange); color: #fff; font-size: 44px; box-shadow: 0 0 0 10px #fbe7cc;
}
.thank-you-sec h2 { font-size: 35px; line-height: 45px; font-weight: 400; margin-bottom: 20px; }
.thank-you-actions { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; margin-top: 30px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--light); padding: 60px 0 30px; }
.footer-cols { display: grid; grid-template-columns: 2fr 3fr 4fr 3fr; gap: 30px; padding: 0 15px; max-width: var(--container); margin: 0 auto; }
.footer-cols h2 { font-size: 20px; font-weight: 400; color: var(--dark); border-bottom: 1px solid var(--border); width: 100%; padding-bottom: 15px; margin-bottom: 20px; }
.footer-cols ul { margin: 0; padding: 0 0 0 0; list-style: inside; }
.footer-cols ul.two-col { column-count: 2; }
.footer-cols li { margin-bottom: 15px; font-size: 14px; line-height: 19.6px; break-inside: avoid; }
.footer-cols li::marker { color: #bbb; }
.footer-cols a:hover { text-decoration: underline; }
.copyright { border-top: 1px solid var(--border); padding-top: 30px; margin: 10px auto 0; max-width: calc(var(--container) - 30px); text-align: center; font-size: 14px; }
@media (max-width: 1330px) { .copyright { margin-left: 15px; margin-right: 15px; } }

/* Scroll to top */
.scroll-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 300;
  width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: #333; box-shadow: 0 0 5px rgba(0,0,0,.17);
  opacity: 0; visibility: hidden; transform: scale(0); transition: all .3s;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: scale(1); }
.scroll-top::before { content: ""; display: block; width: 10px; height: 10px; margin: 5px auto 0; border-left: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }
.scroll-top:hover { color: #999; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .mega-inner { grid-template-columns: 210px 1fr; }
  .mega-intro { padding: 24px 20px; }
  .mega-links { padding: 14px; }
  .mega-cols-4 .mega-links { grid-template-columns: repeat(3, 1fr); }
  .mega-links a { gap: 10px; padding: 10px 8px; }
  .main-nav > ul { gap: 0 4px; }
  .main-nav > ul > li > a { padding: 0 7px; font-size: 15px; }
  .logo img { width: 190px; }
  .service-card .thumb { height: 190px; }
}

/* Carousel dots (tablet / mobile) */
.carousel-dots { display: none; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.carousel-dots[hidden] { display: none !important; }
.carousel-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 10px; background: #cfcfcf; cursor: pointer; transition: width .3s, background .3s; }
.carousel-dots button.active { width: 26px; background: var(--orange); }

@media (max-width: 1024px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .site-header .container, .site-header.is-sticky .container { height: 70px; display: flex; justify-content: space-between; }
  .site-header.is-sticky .container { height: 62px; }
  .logo img, .site-header.is-sticky .logo img { width: 170px; }
  .hero-title { font-size: 44px; line-height: 50px; }
  .page-banner { padding: 110px 30px 50px; min-height: 600px; }
  .page-banner--title { min-height: 340px; }
  .page-banner .row { gap: 30px; }
  .page-banner .banner-img img, .page-banner .banner-img img.no-frame { height: 300px; }
  .page-banner h1 { font-size: 34px; line-height: 42px; }
  .tab-panel.active { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 30px; }
  .carousel-arrow { display: none; }
  .carousel-dots { display: flex; }
  .services-sec, .testimonials-sec { padding: 50px 30px; }
}

@media (max-width: 992px) {
  .testimonial { min-height: 250px; }
  .footer-cols li { font-size: 13px; margin-bottom: 10px; }
  .footer-cols h2 { font-size: 17px; }
  .split { gap: 30px; }
  .split h2 { font-size: 30px; line-height: 40px; }
}

@media (max-width: 786px) {
  body { font-size: 15px; }
  .section, .clients-sec, .cta-sec, .portfolio-sec, .promo-sec { margin: 45px 0; }
  .promo-sec { padding-top: 0; }
  .btn { font-size: 14px; padding: 11px 20px; }

  /* hero */
  .hero-video { height: auto; min-height: 560px; }
  .hero-video .container { padding-top: 110px; padding-bottom: 60px; }
  .hero-tag { font-size: 15px; line-height: 22px; letter-spacing: 1px; margin-bottom: 16px; }
  .hero-title { font-size: 34px; line-height: 40px; letter-spacing: -1px; margin-bottom: 18px; }
  .hero-text { font-size: 15px; line-height: 24px; }

  /* inner banners */
  .page-banner { padding: 100px 15px 45px; min-height: 0; display: block; }
  .page-banner::before { background: rgba(5,10,20,.35); }
  .page-banner .row { grid-template-columns: 1fr; gap: 28px; }
  .page-banner .row > * { min-width: 0; }
  .page-banner h1 { font-size: 30px; line-height: 38px; }
  .page-banner .banner-sub { font-size: 18px; line-height: 27px; }
  .page-banner .banner-img { text-align: center; }
  .page-banner .banner-img img, .page-banner .banner-img img.no-frame { height: 240px; max-width: min(560px, 100%); margin: 0 auto; }
  .page-banner .banner-img img { border-radius: 22px; }
  .page-banner--title { min-height: 0; padding: 110px 15px 45px; }
  .issues-list { grid-template-columns: 1fr; }
  .coming-soon-sec { margin: 50px 0; }
  .coming-soon-sec h2 { font-size: 28px; line-height: 36px; }

  /* headings */
  .sec-title, .split h2, .cta-sec h2, .content-sec h2, .thank-you-sec h2 { font-size: 27px; line-height: 35px; }
  .sec-title { margin-bottom: 30px; }
  .sec-title--lg { font-size: 30px; line-height: 38px; }

  /* layouts */
  .split, .grid-2, .grid-3, .grid-4, .contact-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 35px; }
  .contact-card { padding: 24px 18px; }
  .contact-info h2 { font-size: 27px; line-height: 35px; }
  .split .split-img { order: -1; }
  .split-img { width: 100%; max-width: 640px; margin: 0 auto; }
  .split-img img { border-radius: 40px 0 40px; max-height: 420px; object-fit: cover; }
  .split-sec { margin-bottom: 45px; }
  .info-sec { margin-bottom: 40px; }
  .cta-sec p br, .page-banner p br, .info-box p br { display: none; }
  .services-sec, .testimonials-sec { padding: 45px 15px; }

  /* cards */
  .promo-card, .promo-sec--home .promo-card, .promo-sec--tall .promo-card { min-height: 300px; }
  .promo-card .promo-content, .promo-sec--tall .promo-content { padding: 30px 22px; }
  .testimonial blockquote { font-size: 14px; }

  /* footer */
  .site-footer { padding-top: 40px; }
  .copyright { padding-top: 20px; margin-top: 20px; font-size: 13px; }
}

@media (max-width: 567px) {
  .counters { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .counter { padding: 16px 6px; border-radius: 10px; }
  .counter-value { font-size: 24px; }
  .counter-label { font-size: 11.5px; line-height: 1.35; }
  .hero-title { font-size: 31px; line-height: 37px; }
  .tab-panel.active { grid-template-columns: repeat(2, 1fr); }
  .gallery-item, .gallery-item img { height: 260px; }
  .tabs-nav li { margin: 0 6px; }
  .tabs-nav button { font-size: 13px; }
  .testimonial { min-height: 0; }
  .site-footer { padding-bottom: 80px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; text-align: left; }
  .footer-cols > div:nth-child(1) { order: 1; }
  .footer-cols > div:nth-child(4) { order: 2; }
  .footer-cols > div:nth-child(2) { order: 3; grid-column: 1 / -1; }
  .footer-cols > div:nth-child(3) { order: 4; grid-column: 1 / -1; }
  .footer-cols h2 { width: 100%; font-size: 17px; padding-bottom: 12px; margin-bottom: 14px; }
  .footer-cols ul { list-style: none; }
  .footer-cols ul.two-col { column-count: 2; column-gap: 20px; }
  .footer-cols li { font-size: 13.5px; margin-bottom: 11px; }
  .form-grid { grid-template-columns: 1fr; }
  .thank-you-actions .btn { width: 100%; text-align: center; }
}

/* Inline text links inside content */
.text-link { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--dark); }
