/* ================================================================
   Hash Tech Logic — Main Stylesheet
   Version: 1.0.0
   ================================================================ */

/* ── CSS Variables (defaults — overridden by Customizer inline CSS) ── */
:root {
  --navy:         #133657;
  --navy-dark:    #0d2540;
  --navy-light:   #1a4470;
  --orange:       #FD891B;
  --orange-dark:  #e07615;
  --orange-light: #ff9f42;
  --bg:           #f4f6f9;
  --white:        #ffffff;
  --border:       #dde3ec;
  --text:         #1a2535;
  --muted:        #5a6d84;
  --light:        #8a9db5;
  --font-head:    'Bricolage Grotesque', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --radius:       14px;
  --radius-sm:    8px;
  --shadow:       0 4px 24px rgba(19,54,87,0.10);
  --shadow-md:    0 8px 40px rgba(19,54,87,0.15);
  --shadow-lg:    0 16px 60px rgba(19,54,87,0.18);
  --trans:        0.3s cubic-bezier(0.4,0,0.2,1);
  --nav-h:        76px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); }
ul { list-style: none; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f0f4f8; }
::-webkit-scrollbar-thumb { background: #c0cdd9; border-radius: 3px; }

/* ── ACCESSIBILITY ── */
.skip-link { position: absolute; top: -999px; left: 0; background: var(--orange); color: #fff; padding: 8px 16px; z-index: 9999; }
.skip-link:focus { top: 0; }
.screen-reader-text { position: absolute !important; clip: rect(0,0,0,0); width: 1px; height: 1px; overflow: hidden; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p  { color: var(--muted); line-height: 1.78; }
.text-accent { color: var(--orange); }
.text-navy   { color: var(--navy); }

/* ── CONTAINER ── */
.container { max-width: 1200px; margin: 0 auto; }

/* ── SECTIONS ── */
.htl-section        { padding: 5rem 5%; }
.htl-section--bg    { background: var(--bg); }
.htl-section--white { background: var(--white); }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 1rem;
}
.section-label::before { content: ''; width: 18px; height: 2.5px; background: var(--orange); border-radius: 2px; }
.htl-section-header           { margin-bottom: 3rem; }
.htl-section-header p         { max-width: 540px; margin-top: 0.75rem; }
.htl-section-header--center   { text-align: center; }
.htl-section-header--center p { margin: 0.75rem auto 0; }
.htl-section-header--split    { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }

/* ── GRIDS ── */
.htl-grid         { display: grid; gap: 1.5rem; }
.htl-grid--2      { grid-template-columns: repeat(2, 1fr); }
.htl-grid--3      { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.htl-grid--4      { grid-template-columns: repeat(4, 1fr); }
.htl-two-col      { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

/* ── BUTTONS ── */
.htl-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 700;
  border: none; cursor: pointer; transition: all var(--trans); letter-spacing: 0.01em;
  text-decoration: none;
}
.htl-btn--primary { background: var(--orange); color: #fff; box-shadow: 0 4px 18px rgba(253,137,27,0.35); }
.htl-btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(253,137,27,0.45); }
.htl-btn--navy    { background: var(--navy); color: #fff; box-shadow: 0 4px 18px rgba(19,54,87,0.25); }
.htl-btn--navy:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(19,54,87,0.35); }
.htl-btn--outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.htl-btn--outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.htl-btn--white   { background: #fff; color: var(--navy); box-shadow: 0 4px 18px rgba(0,0,0,0.15); }
.htl-btn--white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.2); }
.htl-btn--ghost   { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.htl-btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); transform: translateY(-2px); }
.htl-btn--full    { width: 100%; justify-content: center; }
.htl-btn--sm      { padding: 9px 18px; font-size: 0.85rem; }

/* ── CARDS ── */
.htl-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow); transition: all var(--trans);
}
.htl-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(253,137,27,0.3); }
.htl-card--center { text-align: center; }
/* Service card — flex column so button sticks to bottom (matches HTML) */
.htl-card--service {
  display: flex; flex-direction: column;
  border-top: 3px solid var(--orange);
}
/* Every 2nd service card gets navy top border like HTML */
.htl-grid--3 .htl-card--service:nth-child(2) { border-top-color: var(--navy); }

.htl-card--service .htl-card__icon {
  width: 54px; height: 54px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1.25rem;
  background: rgba(253,137,27,0.1);
  transition: background var(--trans); flex-shrink: 0;
}
.htl-card--service:nth-child(2) .htl-card__icon { background: rgba(19,54,87,0.08); }
.htl-card--service:hover .htl-card__icon { background: rgba(253,137,27,0.18); }
.htl-card--service:nth-child(2):hover .htl-card__icon { background: rgba(19,54,87,0.15); }

/* Description — 3 line clamp to match HTML version */
.htl-card--service p {
  font-size: 0.88rem; line-height: 1.7; color: var(--muted);
  margin: 0.75rem 0 1.25rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1; /* pushes button to bottom */
}

/* Button auto-pushed to bottom — the GAP comes from this */
.htl-card--service .htl-btn { margin-top: auto; align-self: flex-start; }
.htl-card--stat .htl-num-badge { font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: var(--orange); line-height: 1; }
.htl-card--stat h3 { font-size: 0.98rem; margin-top: 0.5rem; }
.htl-card--accent-left { border-left: 4px solid var(--orange); }
.htl-card--accent-navy  { border-left-color: var(--navy); }
.htl-card__emoji { font-size: 2rem; margin-bottom: 1rem; }
.htl-num-badge { font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: var(--orange); line-height: 1; }

/* ================================================================
   NAVIGATION
================================================================ */
/* ── NAVIGATION — bulletproof single-row layout ─────────────── */
.htl-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(19,54,87,0.08);
  transition: height 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease;
}
.htl-nav.scrolled { height: 58px; box-shadow: 0 4px 30px rgba(19,54,87,0.16); }

/* htl-nav__inner: the single flex row — logo | links | cta | hamburger */
.htl-nav__inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  width: 100%;
  height: 100%;
  padding: 0 5%;
  gap: 1rem;
  box-sizing: border-box;
}

/* Logo — fixed width, never shrinks */
.htl-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.htl-nav__logo a { display: flex; align-items: center; text-decoration: none; }
.htl-nav__logo img,
.htl-nav__logo .custom-logo {
  height: 40px; width: auto; display: block;
  transition: height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.htl-nav.scrolled .htl-nav__logo img,
.htl-nav.scrolled .htl-nav__logo .custom-logo { height: 28px; }
.htl-nav__logo-text {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem;
  color: var(--navy); letter-spacing: -0.02em; white-space: nowrap;
}
.htl-logo-mark {
  width: 36px; height: 36px; background: var(--orange); border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; color: #fff; flex-shrink: 0;
}

/* Menu — takes up remaining middle space */
.htl-nav__menu {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}
.htl-nav__links {
  display: flex; gap: 2px; align-items: center;
  list-style: none; margin: 0; padding: 0; flex-wrap: nowrap;
}
.htl-nav__links li a {
  color: var(--muted); font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  padding: 9px 14px; border-radius: var(--radius-sm); display: block; white-space: nowrap;
  transition: all 0.3s ease; text-decoration: none;
}
.htl-nav.scrolled .htl-nav__links li a { font-size: 0.84rem; padding: 7px 11px; }
.htl-nav__links li a:hover { color: var(--navy); background: #f0f4f8; }
.htl-nav__links li.current-menu-item > a,
.htl-nav__links li.current_page_item > a { color: var(--navy); background: #e8f0f8; font-weight: 700; }

/* CTA Button — fixed size, never shrinks */
.htl-nav__cta {
  display: inline-flex !important;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  background: var(--orange); color: #fff;
  padding: 11px 22px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 18px rgba(253,137,27,0.35);
}
.htl-nav.scrolled .htl-nav__cta { padding: 8px 18px; font-size: 0.84rem; }
.htl-nav__cta:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(253,137,27,0.45); }

/* Hamburger — hidden on desktop */
.htl-nav__hamburger {
  display: none; flex-direction: column; gap: 5px; flex-shrink: 0;
  background: none; border: none; padding: 6px; cursor: pointer;
}
.htl-nav__hamburger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--trans); display: block; }
.htl-nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.htl-nav__hamburger.open span:nth-child(2) { opacity: 0; }
.htl-nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Mobile Menu */
.htl-mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 999;
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 1.25rem 5%; flex-direction: column; gap: 4px;
  box-shadow: 0 8px 30px rgba(19,54,87,0.12); max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.htl-mobile-menu.open { display: flex; max-height: 500px; }
.htl-mobile-menu__links { display: flex; flex-direction: column; }
.htl-mobile-menu__links li a {
  color: var(--muted); font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  padding: 12px 16px; border-radius: var(--radius-sm); display: block; transition: all var(--trans);
}
.htl-mobile-menu__links li a:hover,
.htl-mobile-menu__links li.current-menu-item > a { color: var(--navy); background: #f0f4f8; }
.htl-mobile-menu__cta { margin-top: 0.75rem; text-align: center; }

/* Main content offset */
.htl-main { padding-top: var(--nav-h); min-height: 60vh; }

/* ================================================================
   PAGE HEADER (inner pages)
================================================================ */
.htl-page-header {
  padding: 5rem 5% 4rem;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  text-align: center; position: relative; overflow: hidden;
}
.htl-page-header::before {
  content: ''; position: absolute; top: 0; right: 0; width: 500px; height: 100%;
  background: radial-gradient(circle at 80% 50%, rgba(253,137,27,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.htl-page-header .section-label { justify-content: center; color: #ffb347; }
.htl-page-header .section-label::before { background: #ffb347; }
.htl-page-header h1 { color: #fff; margin-bottom: 1rem; position: relative; }
.htl-page-header p  { max-width: 560px; margin: 0 auto; font-size: 1.05rem; color: rgba(255,255,255,0.7); position: relative; }

/* ================================================================
   HERO
================================================================ */
.htl-hero {
  min-height: calc(100vh - var(--nav-h));
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  display: flex; align-items: center;
  padding: 5rem 5% 4rem; position: relative; overflow: hidden;
}
.htl-hero::before {
  content: ''; position: absolute; top: -20%; right: -5%; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(253,137,27,0.15) 0%, transparent 70%); pointer-events: none;
}
.htl-hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%); pointer-events: none;
}
.htl-hero__content {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 0.9fr; align-items: center; gap: 4rem;
  position: relative; z-index: 1;
}
.htl-hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(253,137,27,0.15); border: 1px solid rgba(253,137,27,0.35);
  border-radius: 50px; padding: 7px 18px; font-size: 0.8rem; font-weight: 600;
  color: #ffb96a; margin-bottom: 1.5rem; letter-spacing: 0.05em;
}
.htl-hero__badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
  animation: htl-pulse 2s infinite;
}
@keyframes htl-pulse { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:0.5; transform:scale(0.75); } }
.htl-hero__title  { color: #fff; margin-bottom: 1.25rem;  font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
.htl-hero__desc   { color: rgba(255,255,255,0.72); font-size: 1.08rem; max-width: 520px; margin-bottom: 2.5rem; }
.htl-hero__btns   { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Code Card */
.htl-hero__card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px; padding: 2rem; backdrop-filter: blur(16px);
  position: relative; overflow: hidden;
}
.htl-hero__card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--orange), #ffb347); }
.htl-code-window { margin-bottom: 1.25rem; }
.htl-code-dots { display: flex; gap: 7px; margin-bottom: 1.25rem; }
.dot-r { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.dot-y { width: 12px; height: 12px; border-radius: 50%; background: #febc2e; }
.dot-g { width: 12px; height: 12px; border-radius: 50%; background: #28c840; }
.htl-code-line { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.8rem; font-family: monospace; color: rgba(255,255,255,0.7); }
.cl-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ck { color: #90b8e8; } .cf { color: #ffb347; } .cs { color: #a8ff78; } .cc { color: rgba(255,255,255,0.3); } .cn { color: rgba(255,255,255,0.85); }
.htl-hero__stats  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.htl-stat-box     { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 0.9rem; text-align: center; }
.htl-stat-num     { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: #fff; }
.htl-stat-lbl     { font-size: 0.68rem; color: rgba(255,255,255,0.5); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.08em; }

/* ── STRIP ── */
.htl-strip { background: var(--navy); padding: 2.5rem 5%; }
.htl-strip__inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.htl-strip__text  { color: #fff; font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; }
.htl-strip__pills { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.htl-strip__pill  { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); border-radius: 50px; padding: 7px 18px; font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.8); }

/* ── TECH PILLS ── */
.htl-tech-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.htl-tech-pill { background: var(--white); border: 1.5px solid var(--border); border-radius: 50px; padding: 9px 20px; font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 9px; transition: all var(--trans); color: var(--muted); box-shadow: var(--shadow); }
.htl-tech-pill:hover { border-color: var(--orange); color: var(--navy); background: #fff8f2; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(253,137,27,0.15); }
.htl-tech-pill__icon { font-size: 1.1rem; }

/* ================================================================
   PORTFOLIO
================================================================ */
/* Preview (homepage) */
.htl-portfolio-grid--preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.htl-port-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); position: relative; cursor: pointer; transition: all var(--trans); aspect-ratio: 4/3; box-shadow: var(--shadow); }
.htl-port-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.htl-port-card__thumb { width: 100%; height: 100%; overflow: hidden; }
.htl-port-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--trans); }
.htl-port-card:hover .htl-port-card__thumb img { transform: scale(1.05); }
.htl-port-placeholder-icon { width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy-dark), var(--navy)); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: rgba(253,137,27,0.5); }
.htl-port-card__overlay { position: absolute; inset: 0; background: rgba(13,37,64,0); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; transition: background var(--trans); }
.htl-port-card:hover .htl-port-card__overlay { background: rgba(13,37,64,0.88); }
.htl-port-card__info { opacity: 0; transform: translateY(10px); transition: all var(--trans); }
.htl-port-card:hover .htl-port-card__info { opacity: 1; transform: translateY(0); }
.htl-port-cat   { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); margin-bottom: 4px; font-weight: 700; display: block; }
.htl-port-title { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: #fff; }
.htl-port-title a { color: #fff; }

/* Full portfolio grid */
.htl-portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.htl-port-page-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: all var(--trans); background: var(--white); box-shadow: var(--shadow); }
.htl-port-page-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(253,137,27,0.3); }
.htl-ppc-thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.htl-ppc-thumb-inner { width: 100%; height: 100%; transition: transform 0.4s ease; }
.htl-ppc-thumb-inner img { width: 100%; height: 100%; object-fit: cover; }
.htl-port-page-card:hover .htl-ppc-thumb-inner { transform: scale(1.05); }
.htl-port-page-card--logo:hover .htl-ppc-thumb-inner { transform: scale(1.08); }
.htl-port-page-card--logo .htl-ppc-thumb-inner img { transform-origin: center; transition: transform 0.4s ease, filter 0.4s ease; }
.htl-port-page-card--logo:hover .htl-ppc-thumb-inner img { transform: scale(1.18); filter: drop-shadow(0 0 16px rgba(253,137,27,0.45)); }
.htl-ppc-thumb-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy-dark), var(--navy)); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: rgba(253,137,27,0.4); }
.htl-ppc-hover { position: absolute; inset: 0; background: rgba(13,37,64,0); display: flex; align-items: center; justify-content: center; transition: background 0.35s ease; }
.htl-port-page-card:hover .htl-ppc-hover { background: rgba(13,37,64,0.55); }
.htl-ppc-view-btn { opacity: 0; transform: translateY(8px); transition: all 0.35s ease; background: var(--orange); color: #fff; padding: 9px 20px; border-radius: 8px; font-size: 0.82rem; font-weight: 700; font-family: var(--font-body); border: none; cursor: pointer; white-space: nowrap; }
.htl-port-page-card:hover .htl-ppc-view-btn { opacity: 1; transform: translateY(0); }
.htl-ppc-body { padding: 1.35rem; border-top: 1px solid var(--border); }
.htl-ppc-tags  { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.htl-ppc-tag   { background: rgba(253,137,27,0.1); border-radius: 50px; padding: 3px 11px; font-size: 0.72rem; font-weight: 700; color: var(--orange); letter-spacing: 0.05em; }
.htl-ppc-title { font-family: var(--font-head); font-size: 1.02rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; transition: color var(--trans); }
.htl-port-page-card:hover .htl-ppc-title { color: var(--orange); }
.htl-ppc-desc  { font-size: 0.82rem; color: var(--muted); }

/* Filter Buttons */
.htl-filter-btns { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }

/* ================================================================
   TEAM
================================================================ */
/* ── TEAM PAGE — Premium card design ──────────────────────────── */
.htl-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

/* Card */
.htl-team-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(19,54,87,0.10);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}
.htl-team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(19,54,87,0.18);
}

/* Photo area */
.htl-team-photo {
  height: 280px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
}
.htl-team-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform 0.5s ease;
}
.htl-team-card:hover .htl-team-photo img { transform: scale(1.05); }

/* Gradient overlay on photo */
.htl-team-photo-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(13,37,64,0.95) 0%, rgba(13,37,64,0.4) 60%, transparent 100%);
}

/* Name + role overlaid ON the photo */
.htl-team-photo-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.25rem 1.5rem 1rem;
  z-index: 2;
}
.htl-team-name {
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 800;
  color: #fff; margin-bottom: 3px; line-height: 1.2;
}
.htl-team-role {
  font-size: 0.72rem; color: var(--orange); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* Placeholder */
.htl-team-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.5rem;
}
.htl-team-initials {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(253,137,27,0.2); border: 3px solid rgba(253,137,27,0.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.8rem; font-weight: 800;
  color: rgba(255,255,255,0.9);
}

/* Body below photo */
.htl-team-body {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
}
.htl-team-desc {
  font-size: 0.85rem; color: var(--muted); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.htl-team-social {
  display: flex; gap: 8px; margin-top: 1rem; flex-wrap: wrap;
}

/* Social icon SVG buttons */
.htl-social-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--bg); border: 1.5px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.3s ease; color: var(--muted);
  flex-shrink: 0; text-decoration: none;
}
.htl-social-icon svg { width: 15px; height: 15px; fill: currentColor; }
.htl-social-icon:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(253,137,27,0.3); }
.htl-social-icon--lg { width: 42px; height: 42px; border-radius: 10px; }
.htl-social-icon--lg svg { width: 18px; height: 18px; }

/* Orange accent line on hover */
.htl-team-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), #ffb347);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 3;
}
.htl-team-card:hover::before { transform: scaleX(1); }

.htl-social-icon { width: 30px; height: 30px; border-radius: 7px; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; transition: all var(--trans); color: var(--muted); text-decoration: none; }
.htl-social-icon:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.htl-social-icon--lg { width: 42px; height: 42px; border-radius: 10px; font-size: 0.85rem; }
.htl-social-row { display: flex; gap: 10px; margin-top: 0.75rem; }

/* ================================================================
   TESTIMONIALS
================================================================ */
.htl-testi-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); transition: all var(--trans); }
.htl-testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stars { color: var(--orange); font-size: 0.9rem; margin-bottom: 0.75rem; letter-spacing: 2px; }
.stars .star.filled { color: var(--orange); }
.stars .star { color: #ccc; }
.htl-testi-text   { font-size: 0.9rem; line-height: 1.75; color: var(--muted); margin-bottom: 1.25rem; font-style: italic; }
.htl-testi-photo  { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: center top; flex-shrink: 0; border: 2px solid var(--border); }
.htl-testi-info   { display: flex; flex-direction: column; gap: 2px; }
.htl-testi-author { display: flex; align-items: center; gap: 12px; }
.htl-avatar       { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 0.85rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.htl-testi-name   { font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.htl-testi-role   { font-size: 0.78rem; color: var(--light); }

/* ================================================================
   NEWSLETTER
================================================================ */
.htl-newsletter {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 20px; padding: 3.5rem; text-align: center; position: relative; overflow: hidden;
}
.htl-newsletter::before { content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(253,137,27,0.18) 0%, transparent 70%); pointer-events: none; }
.htl-newsletter h2 { color: #fff; margin-bottom: 0.75rem; position: relative; }
.htl-newsletter p  { color: rgba(255,255,255,0.7); margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; position: relative; }
.htl-newsletter .section-label { justify-content: center; color: #ffb347; }
.htl-newsletter .section-label::before { background: #ffb347; }
.htl-newsletter__note { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 1rem !important; margin-bottom: 0 !important; position: relative; }
.htl-subscribe-form { display: flex; gap: 0.75rem; max-width: 480px; margin: 0 auto; flex-wrap: wrap; justify-content: center; position: relative; }
.htl-subscribe-form input { flex: 1; min-width: 230px; background: rgba(255,255,255,0.12); border: 1.5px solid rgba(255,255,255,0.25); border-radius: var(--radius-sm); padding: 13px 18px; color: #fff; font-family: var(--font-body); font-size: 0.95rem; outline: none; transition: border-color var(--trans); }
.htl-subscribe-form input:focus { border-color: var(--orange); }
.htl-subscribe-form input::placeholder { color: rgba(255,255,255,0.45); }

/* ================================================================
   CONTACT
================================================================ */
.htl-contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; margin-top: 2.5rem; }
.htl-contact-items { display: flex; flex-direction: column; gap: 1rem; }
.htl-contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); transition: all var(--trans); }
.htl-contact-item:hover { transform: translateX(4px); border-color: rgba(253,137,27,0.3); }
.htl-contact-icon { width: 46px; height: 46px; border-radius: 10px; background: rgba(253,137,27,0.1); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.htl-contact-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--light); font-weight: 700; margin-bottom: 4px; }
.htl-contact-val   { color: var(--navy); font-weight: 600; font-size: 0.95rem; }
.htl-contact-val a { color: var(--navy); transition: color var(--trans); }
.htl-contact-val a:hover { color: var(--orange); }
.htl-contact-sub   { font-size: 0.82rem; color: var(--muted); margin-top: 2px; }
.htl-contact-social { margin-top: 1.5rem; }
.htl-map-placeholder { background: var(--navy-dark); border-radius: var(--radius); height: 200px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 0.75rem; margin-top: 1rem; position: relative; overflow: hidden; }
.htl-map-placeholder::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent, transparent 28px, rgba(253,137,27,0.06) 28px, rgba(253,137,27,0.06) 29px), repeating-linear-gradient(90deg, transparent, transparent 28px, rgba(253,137,27,0.06) 28px, rgba(253,137,27,0.06) 29px); }
.htl-map-pin  { font-size: 2.5rem; animation: htl-bounce 2s ease-in-out infinite; position: relative; z-index: 1; }
@keyframes htl-bounce { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-8px); } }
.htl-map-city { font-size: 0.85rem; color: rgba(255,255,255,0.8); font-weight: 600; position: relative; z-index: 1; }
.htl-map-placeholder small { font-size: 0.75rem; color: rgba(255,255,255,0.45); position: relative; z-index: 1; }

/* Contact Form */
.htl-contact-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; box-shadow: var(--shadow-md); }
.htl-contact-form-wrap h3 { margin-bottom: 0.4rem; }
.htl-form-sub { font-size: 0.85rem; margin-bottom: 1.75rem; }
.htl-form-group { margin-bottom: 1.2rem; }
.htl-form-group label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.07em; }
.htl-form-group input,
.htl-form-group textarea,
.htl-form-group select { width: 100%; background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 13px 16px; color: var(--text); font-family: var(--font-body); font-size: 0.95rem; outline: none; resize: none; transition: border-color var(--trans), background var(--trans); -webkit-appearance: none; appearance: none; }
.htl-form-group input:focus,
.htl-form-group textarea:focus,
.htl-form-group select:focus { border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px rgba(253,137,27,0.1); }
.htl-form-group input::placeholder,
.htl-form-group textarea::placeholder { color: var(--light); }
.htl-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.htl-form-msg { margin-top: 1rem; padding: 12px 18px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 600; display: none; }
.htl-form-msg.success { display: block; background: rgba(39,174,96,0.1); border: 1px solid rgba(39,174,96,0.3); color: #1e8449; }
.htl-form-msg.error   { display: block; background: rgba(231,76,60,0.1);  border: 1px solid rgba(231,76,60,0.3); color: #c0392b; }
.htl-btn-loading { display: none; }

/* ================================================================
   ABOUT PAGE
================================================================ */
.htl-about-content p { margin-bottom: 1rem; }
.htl-about-visual {}
.htl-about-img-box {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-radius: 20px; padding: 3rem; aspect-ratio: 1; display: flex; align-items: center;
  justify-content: center; flex-direction: column; gap: 1.5rem; position: relative; overflow: hidden; box-shadow: var(--shadow-md);
}
.htl-about-img-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--orange), #ffb347); }
.htl-about-big-text { font-family: var(--font-head); font-size: 5rem; font-weight: 800; color: rgba(255,255,255,0.08); text-align: center; line-height: 1; }
.htl-about-sub      { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: rgba(253,137,27,0.7); text-align: center; }
.htl-about-location { font-size: 0.8rem; color: rgba(255,255,255,0.4); text-align: center; }
.htl-about-badges   { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.htl-about-badge    { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); border-radius: 50px; padding: 7px 15px; font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.8); }
.htl-values-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.htl-value-item     { display: flex; gap: 0.75rem; align-items: flex-start; padding: 1rem; background: var(--white); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); }
.htl-check-icon     { width: 24px; height: 24px; border-radius: 50%; background: rgba(253,137,27,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; font-size: 0.7rem; color: var(--orange); }
.htl-value-item strong { color: var(--navy); font-size: 0.88rem; display: block; }
.htl-value-item p { font-size: 0.8rem; margin-top: 2px; }

/* ================================================================
   SERVICES PAGE
================================================================ */
.htl-service-section { padding: 4rem 5%; border-bottom: 1px solid var(--border); }
.htl-service-section:nth-child(even) { background: var(--white); }
.htl-service-section:nth-child(odd)  { background: var(--bg); }
.htl-service-section:last-of-type { border-bottom: none; }
.htl-service-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.htl-service-inner--reverse { direction: rtl; }
.htl-service-inner--reverse > * { direction: ltr; }
.htl-feature-list { list-style: none; margin: 1.5rem 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.htl-feature-list li { display: flex; align-items: center; gap: 9px; font-size: 0.87rem; color: var(--muted); padding: 6px 0; }
.htl-feature-list li::before { content: '✦'; font-size: 0.55rem; color: var(--orange); flex-shrink: 0; }
.htl-service-visual { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); border-radius: 20px; padding: 2.5rem; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; position: relative; overflow: hidden; box-shadow: var(--shadow-md); }
.htl-service-visual::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--orange), #ffb347); }
.htl-service-icon-big { font-size: 4rem; }
.htl-service-visual img { border-radius: 10px; max-height: 200px; object-fit: cover; }

/* CTA Banner */
.htl-cta-banner { background: linear-gradient(135deg, var(--navy), var(--navy-light)); border-radius: 20px; padding: 3rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem; position: relative; overflow: hidden; box-shadow: var(--shadow-md); }
.htl-cta-banner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--orange), #ffb347); }
.htl-cta-banner h2 { color: #fff; font-size: 1.8rem; }
.htl-cta-banner p  { color: rgba(255,255,255,0.65); margin-top: 0.5rem; max-width: 480px; }

/* ================================================================
   FOOTER
================================================================ */
.htl-footer { background: var(--navy-dark); padding: 4rem 5% 2rem; border-top: 3px solid var(--orange); }
.htl-footer__inner {}
.htl-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 2rem; }
.htl-footer__logo img, .htl-footer__logo .custom-logo { height: 36px; width: auto; filter: brightness(0) invert(1); }
.htl-footer__logo-text { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: #fff; margin-bottom: 0.5rem; }
.htl-footer__about { color: rgba(255,255,255,0.55); font-size: 0.87rem; line-height: 1.72; margin: 0.75rem 0 1.25rem; max-width: 280px; }
.htl-footer__socials { display: flex; gap: 8px; }
.htl-footer__col h4 { font-family: var(--font-head); font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 1.1rem; }
.htl-footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.htl-footer__links li a, .htl-footer__links li { color: rgba(255,255,255,0.5); font-size: 0.85rem; font-weight: 500; transition: color var(--trans); }
.htl-footer__links li a:hover { color: var(--orange); }
.htl-footer__contact li { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.htl-footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.htl-footer__bottom p { color: rgba(255,255,255,0.35); font-size: 0.8rem; }
.htl-footer__bottom span { color: var(--orange); }

/* ================================================================
   BLOG
================================================================ */
.htl-blog-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; }
.htl-blog-grid { display: grid; gap: 2rem; }
.htl-blog-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all var(--trans); }
.htl-blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.htl-blog-card__thumb img { width: 100%; height: 200px; object-fit: cover; }
.htl-blog-card__body { padding: 1.5rem; }
.htl-blog-card__meta { font-size: 0.8rem; color: var(--light); margin-bottom: 0.75rem; display: flex; gap: 0.5rem; align-items: center; }
.htl-blog-card__title { font-size: 1.2rem; margin-bottom: 0.75rem; }
.htl-blog-card__title a:hover { color: var(--orange); }
.htl-blog-card__excerpt { margin-bottom: 1.25rem; }
.htl-sidebar .widget { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; box-shadow: var(--shadow); }
.htl-sidebar .widget-title { font-size: 1rem; margin-bottom: 1rem; color: var(--navy); }

/* Single Post */
.htl-single-post__header { margin-bottom: 2rem; }
.htl-single-post__header h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-top: 0.75rem; }
.htl-single-post__thumb { margin-bottom: 2rem; border-radius: var(--radius); overflow: hidden; }
.htl-single-post__thumb img { width: 100%; max-height: 500px; object-fit: cover; }
.htl-single-post__content { line-height: 1.85; }
.htl-single-post__content h2,
.htl-single-post__content h3 { margin: 2rem 0 1rem; }
.htl-single-post__content p { margin-bottom: 1.25rem; }
.htl-single-post__footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.htl-post-nav .nav-links { display: flex; justify-content: space-between; }

/* ================================================================
   404
================================================================ */
.htl-404__num { font-family: var(--font-head); font-size: 10rem; font-weight: 800; color: rgba(253,137,27,0.15); line-height: 1; margin-bottom: 1rem; }
.htl-404 h1 { margin-bottom: 1rem; }

/* ================================================================
   MISC
================================================================ */
.htl-no-content { background: var(--white); border: 2px dashed var(--border); border-radius: var(--radius); padding: 3rem; text-align: center; color: var(--muted); font-size: 0.95rem; }
.htl-pagination { margin-top: 3rem; }
.htl-pagination ul { display: flex; gap: 0.5rem; flex-wrap: wrap; list-style: none; }
.htl-pagination ul li a, .htl-pagination ul li span { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--border); font-size: 0.9rem; font-weight: 600; transition: all var(--trans); background: var(--white); color: var(--muted); }
.htl-pagination ul li.current span, .htl-pagination ul li a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.htl-archive-title { margin-bottom: 0.5rem; }
.htl-archive-desc p { color: var(--muted); margin-bottom: 2rem; }
.htl-page-content { max-width: 800px; }
.htl-page-content__header h1 { margin-bottom: 2rem; }
.htl-page-content__body p { margin-bottom: 1.25rem; }

/* Animations */
[data-animate] { opacity: 0; transform: translateY(20px); transition: opacity 0.45s ease, transform 0.45s ease; }
[data-animate].animated { opacity: 1; transform: translateY(0); }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1100px) {
  .htl-grid--3         { grid-template-columns: repeat(2, 1fr); }
  .htl-footer__grid    { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .htl-team-grid       { grid-template-columns: repeat(2, 1fr); }
  .htl-team-photo       { height: 240px; }
  .htl-portfolio-grid,.htl-portfolio-grid--preview { grid-template-columns: repeat(2, 1fr); }
  .htl-grid--4         { grid-template-columns: repeat(2, 1fr); }
  .htl-blog-wrap       { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .htl-nav__menu, .htl-nav__cta { display: none; }
  .htl-nav__hamburger  { display: flex; }
  .htl-two-col, .htl-grid--2, .htl-grid--3, .htl-contact-grid { grid-template-columns: 1fr; }
  .htl-service-inner, .htl-service-inner--reverse { grid-template-columns: 1fr; direction: ltr; }
  .htl-portfolio-grid, .htl-portfolio-grid--preview { grid-template-columns: 1fr 1fr; }
  .htl-team-grid       { grid-template-columns: 1fr 1fr; }
  .htl-team-photo       { height: 220px; }
  .htl-hero__content   { grid-template-columns: 1fr; }
  .htl-hero__card      { display: none; }
  .htl-strip__pills    { display: none; }
  .htl-hero__btns      { flex-direction: column; }
  .htl-feature-list    { grid-template-columns: 1fr; }
  .htl-form-row        { grid-template-columns: 1fr; }
  .htl-cta-banner      { text-align: center; }
  .htl-footer__grid    { grid-template-columns: 1fr 1fr; }
  .htl-footer__bottom  { flex-direction: column; text-align: center; }
  .htl-values-grid     { grid-template-columns: 1fr; }
  .htl-newsletter      { padding: 2rem 1.5rem; }
}
@media (max-width: 480px) {
  .htl-section         { padding: 3.5rem 5%; }
  .htl-portfolio-grid, .htl-portfolio-grid--preview { grid-template-columns: 1fr; }
  .htl-team-grid { grid-template-columns: 1fr; }
  .htl-team-photo { height: 200px; }
  .htl-footer__grid    { grid-template-columns: 1fr; }
  .htl-404__num        { font-size: 6rem; }
}

/* Service visual — rich mockup */
.htl-service-visual__img { border-radius: 12px; width: 100%; object-fit: cover; }
.htl-service-mockup { display: flex; flex-direction: column; gap: 0; width: 100%; }
.htl-browser-bar { display: flex; gap: 6px; margin-bottom: 1.25rem; }
.htl-browser-bar .b1 { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; display: block; }
.htl-browser-bar .b2 { width: 12px; height: 12px; border-radius: 50%; background: #febc2e; display: block; }
.htl-browser-bar .b3 { width: 12px; height: 12px; border-radius: 50%; background: #28c840; display: block; }
.htl-mock-block { height: 7px; background: rgba(255,255,255,0.1); border-radius: 4px; margin-bottom: 8px; }
.htl-code-display { font-family: monospace; font-size: 0.8rem; line-height: 1.85; color: rgba(255,255,255,0.75); }
.ck { color: #90b8e8; } .cf { color: #ffb347; } .cs { color: #a8ff78; } .cc { color: rgba(255,255,255,0.3); } .cn { color: #c9d1d9; }

/* ── PORTFOLIO EMPTY STATE ─────────────────────────────────── */
.htl-empty-portfolio { text-align: center; padding: 5rem 2rem; }
.htl-empty-portfolio__icon { font-size: 3.5rem; margin-bottom: 1rem; }
.htl-empty-portfolio h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 0.5rem; }
.htl-empty-portfolio p  { color: var(--muted); }

/* Portfolio card keyboard accessibility */
.htl-port-page-card:focus { outline: 2px solid var(--orange); outline-offset: 3px; }
.htl-port-page-card[role="link"]:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

/* Archive page overrides default htl-blog-grid */
.htl-archive-title { font-family: var(--font-head); color: var(--navy); margin-bottom: 2rem; }
