/*
Theme Name: Happy Cow Engineering
Theme URI: https://happycowengineering.com
Author: Happy Cow Engineering
Author URI: https://happycowengineering.com
Description: Custom WordPress theme for Happy Cow Engineering built on the proven Happy Cow structure, with reusable templates, branded header/footer, and Elementor compatibility.
Version: 1.0.6
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: happycow-engineering
*/

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #292e4c;
  background: #f8f3eb;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol {
  margin: 0;
  padding: 0;
}

.igd-main {
  display: block;
}

.hce-site {
  --hce-bg: #f8f3eb;
  --hce-bg-soft: #f2e7d7;
  --hce-surface: #fffaf4;
  --hce-warm: #d89958;
  --hce-yellow: #f5d001;
  --hce-yellow-deep: #dbae00;
  --hce-navy: #292e4c;
  --hce-navy-soft: #39405f;
  --hce-teal: #1dd3b0;
  --hce-text: #292e4c;
  --hce-muted: #5a5f7c;
  --hce-white: #ffffff;
  --hce-border: rgba(41, 46, 76, 0.1);
  --hce-shadow: 0 18px 40px rgba(41, 46, 76, 0.1);
  --hce-shadow-soft: 0 10px 24px rgba(41, 46, 76, 0.06);
  --hce-radius: 24px;
  --hce-font-heading: 'Sora', system-ui, sans-serif;
  --hce-font-body: 'Manrope', system-ui, sans-serif;
  color: var(--hce-text);
}

.hce-site,
.hce-site * {
  box-sizing: border-box;
}

.hce-container {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.hce-title {
  margin: 0 0 14px;
  font-family: var(--hce-font-heading);
  font-weight: 800;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
  color: var(--hce-navy);
}

.hce-title__accent {
  display: block;
}

.hce-title__accent--teal {
  color: var(--hce-teal);
}

.hce-title__accent--yellow {
  color: var(--hce-yellow);
}

.hce-title__accent--warm {
  color: var(--hce-warm);
}

.hce-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  color: var(--hce-muted);
}

.hce-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: var(--hce-font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hce-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 14px;
  text-decoration: none;
  font-family: var(--hce-font-heading);
  font-weight: 800;
  transition: 0.28s ease;
  cursor: pointer;
  border: none;
}

.hce-btn:hover {
  transform: translateY(-2px);
}

.hce-btn-primary {
  background: var(--hce-yellow);
  color: var(--hce-navy);
  box-shadow: 0 12px 28px rgba(245, 208, 1, 0.18);
}

.hce-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--hce-white);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hce-card {
  background: var(--hce-white);
  border: 1px solid var(--hce-border);
  border-radius: 28px;
  box-shadow: var(--hce-shadow);
}

.hce-section {
  position: relative;
}

.hce-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(248, 243, 235, 0.94);
  border-bottom: 1px solid rgba(41, 46, 76, 0.08);
}

.hce-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 88px;
}

.hce-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.hce-brand__logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--hce-navy);
  display: grid;
  place-items: center;
  flex: 0 0 56px;
}

.hce-brand__logo img,
.hce-brand__logo .custom-logo {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.hce-brand__logo .custom-logo-link {
  display: block;
  width: 100%;
  height: 100%;
}

.hce-brand__text {
  line-height: 1;
}

.hce-brand__name {
  font-family: var(--hce-font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--hce-navy);
}

.hce-brand__sub {
  margin-top: 4px;
  font-family: var(--hce-font-heading);
  font-size: 12px;
  color: var(--hce-muted);
}

.hce-nav {
  display: flex;
  justify-content: center;
}

.hce-nav__menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.hce-nav__menu a {
  position: relative;
  text-decoration: none;
  color: var(--hce-navy);
  font-weight: 600;
}

.hce-nav__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--hce-yellow);
  transition: width 0.25s ease;
}

.hce-nav__menu a:hover::after {
  width: 100%;
}

.hce-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hce-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--hce-border);
  background: #fff;
  cursor: pointer;
  padding: 0;
}

.hce-menu-toggle span,
.hce-menu-toggle span::before,
.hce-menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--hce-navy);
  border-radius: 2px;
  position: relative;
  margin: 0 auto;
  transition: 0.25s ease;
  content: "";
}

.hce-menu-toggle span::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.hce-menu-toggle span::after {
  position: absolute;
  top: 6px;
  left: 0;
}

.hce-header.is-open .hce-menu-toggle span {
  background: transparent;
}

.hce-header.is-open .hce-menu-toggle span::before {
  transform: rotate(45deg);
  top: 0;
}

.hce-header.is-open .hce-menu-toggle span::after {
  transform: rotate(-45deg);
  top: 0;
}

.hce-hero {
  padding: 84px 0 70px;
  background: linear-gradient(135deg, #292e4c 0%, #3a3f5f 55%, #292e4c 100%);
  color: #fff;
  overflow: hidden;
}

.hce-hero::before,
.hce-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.12;
  pointer-events: none;
}

.hce-hero::before {
  width: 380px;
  height: 380px;
  background: var(--hce-yellow);
  top: 40px;
  right: 8%;
}

.hce-hero::after {
  width: 320px;
  height: 320px;
  background: var(--hce-teal);
  bottom: 20px;
  left: 10%;
}

.hce-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hce-hero__eyebrow {
  background: var(--hce-yellow);
  color: var(--hce-navy);
  margin-bottom: 20px;
}

.hce-hero__title {
  margin: 0 0 18px;
  font-family: var(--hce-font-heading);
  font-weight: 800;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
  color: #fff;
}

.hce-hero__title span {
  color: var(--hce-yellow);
  display: block;
}

.hce-hero__text {
  margin: 0;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.84);
}

.hce-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hce-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 34px;
}

.hce-hero__stat {
  position: relative;
  padding-right: 28px;
}

.hce-hero__stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 6px;
  width: 1px;
  height: 42px;
  background: rgba(255, 255, 255, 0.18);
}

.hce-hero__stat strong {
  display: block;
  font-family: var(--hce-font-heading);
  font-weight: 800;
  font-size: 32px;
  color: var(--hce-yellow);
}

.hce-hero__stat span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.hce-hero__media {
  position: relative;
}

.hce-hero__panel {
  position: relative;
  padding: 24px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.hce-hero__panel img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 22px;
}

.hce-hero__award {
  position: absolute;
  left: -22px;
  bottom: -18px;
  background: rgba(41, 46, 76, 0.92);
  color: #fff;
  padding: 18px 20px;
  border-radius: 20px;
  box-shadow: var(--hce-shadow);
}

.hce-hero__award strong {
  display: block;
  font-family: var(--hce-font-heading);
  font-size: 14px;
}

.hce-hero__award span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.hce-stats {
  padding: 56px 0;
  background: #fff;
}

.hce-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hce-stats__item {
  text-align: center;
  background: linear-gradient(180deg, var(--hce-surface) 0%, var(--hce-bg-soft) 100%);
  border: 1px solid rgba(41, 46, 76, 0.08);
  border-radius: 24px;
  padding: 26px 18px;
  box-shadow: var(--hce-shadow-soft);
}

.hce-stats__item strong {
  display: block;
  font-family: var(--hce-font-heading);
  font-size: clamp(34px, 5vw, 54px);
  color: var(--hce-navy);
}

.hce-stats__item span {
  display: block;
  margin-top: 8px;
  color: rgba(41, 46, 76, 0.72);
  font-weight: 600;
}

.hce-why,
.hce-process,
.hce-page-band {
  padding: 96px 0;
  background: var(--hce-bg);
  overflow: hidden;
}

.hce-why__head,
.hce-process__head,
.hce-page-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 42px;
}

.hce-why__eyebrow,
.hce-page-head .hce-eyebrow {
  background: rgba(216, 153, 88, 0.14);
  color: var(--hce-navy);
  margin-bottom: 16px;
}

.hce-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hce-why__pill {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 18px 22px;
  border-radius: 22px;
  font-family: var(--hce-font-heading);
  font-weight: 700;
  box-shadow: var(--hce-shadow);
}

.hce-why__pill.light {
  background: var(--hce-bg-soft);
  color: var(--hce-navy);
}

.hce-why__pill.teal {
  background: rgba(29, 211, 176, 0.12);
  color: var(--hce-navy);
}

.hce-why__pill.dark {
  background: var(--hce-navy);
  color: #fff;
}

.hce-why__icon {
  font-size: 24px;
}

.hce-services {
  padding: 96px 0;
  background: #fff;
}

.hce-services__grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 40px;
  align-items: start;
}

.hce-services__eyebrow {
  background: var(--hce-bg-soft);
  color: var(--hce-navy);
  margin-bottom: 18px;
}

.hce-service-tabs {
  display: grid;
  gap: 16px;
  margin: 30px 0 26px;
}

.hce-service-tab {
  width: 100%;
  text-align: left;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(41, 46, 76, 0.08);
  cursor: pointer;
  transition: 0.25s ease;
  background: var(--hce-surface);
  color: var(--hce-navy);
  box-shadow: var(--hce-shadow-soft);
}

.hce-service-tab:hover {
  transform: translateY(-2px);
}

.hce-service-tab.is-active {
  background: var(--hce-navy);
  color: #fff;
  box-shadow: 0 16px 32px rgba(41, 46, 76, 0.16);
}

.hce-service-tab h3 {
  margin: 0 0 12px;
  font-family: var(--hce-font-heading);
  font-size: 24px;
  font-weight: 800;
}

.hce-service-tab ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.hce-service-tab li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.6;
  color: inherit;
  opacity: 0.86;
}

.hce-service-tab li::before {
  content: "✓";
  color: var(--hce-teal);
  font-weight: 900;
}

.hce-services__gallery {
  position: relative;
}

.hce-services__details {
  position: relative;
  margin-bottom: 22px;
}

.hce-service-pane {
  display: none;
  padding: 30px;
  background: linear-gradient(180deg, var(--hce-surface) 0%, var(--hce-bg-soft) 100%);
  border-radius: 28px;
  border: 1px solid rgba(41, 46, 76, 0.08);
  box-shadow: var(--hce-shadow-soft);
}

.hce-service-pane.is-active {
  display: block;
}

.hce-service-pane__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-family: var(--hce-font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(216, 153, 88, 0.14);
  color: var(--hce-navy);
}

.hce-service-pane h3 {
  margin: 16px 0 12px;
  font-family: var(--hce-font-heading);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  color: var(--hce-navy);
}

.hce-service-pane p {
  color: var(--hce-muted);
  line-height: 1.8;
}

.hce-service-pane ul {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.hce-service-pane li {
  display: flex;
  gap: 10px;
  line-height: 1.7;
  color: var(--hce-muted);
}

.hce-service-pane li::before {
  content: "•";
  color: var(--hce-warm);
  font-weight: 900;
}

.hce-services__mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.hce-services__col {
  display: grid;
  gap: 16px;
}

.hce-services__col.offset {
  padding-top: 48px;
}

.hce-services__img {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--hce-shadow);
}

.hce-services__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}

.hce-services__badge {
  position: absolute;
  left: -12px;
  bottom: -12px;
  background: var(--hce-yellow);
  color: var(--hce-navy);
  padding: 20px 22px;
  border-radius: 22px;
  box-shadow: var(--hce-shadow);
  max-width: 240px;
}

.hce-services__badge strong {
  display: block;
  font-family: var(--hce-font-heading);
  font-size: 28px;
  line-height: 1;
}

.hce-services__badge span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
}

.hce-process__eyebrow {
  background: var(--hce-navy);
  color: #fff;
  margin-bottom: 16px;
}

.hce-process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.hce-process__card {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--hce-shadow);
}

.hce-process__step {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--hce-bg-soft);
  font-family: var(--hce-font-heading);
  font-weight: 800;
  color: var(--hce-navy);
}

.hce-process__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 30px;
  margin-bottom: 18px;
}

.hce-process__icon.yellow {
  background: var(--hce-yellow);
}

.hce-process__icon.teal {
  background: var(--hce-teal);
}

.hce-process__icon.dark {
  background: var(--hce-navy);
  color: #fff;
}

.hce-process__card h3 {
  margin: 0 0 10px;
  font-family: var(--hce-font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--hce-navy);
}

.hce-process__card p {
  margin: 0;
  line-height: 1.75;
  color: var(--hce-muted);
}

.hce-testimonials {
  padding: 96px 0;
  background: #fff;
}

.hce-testimonials__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}

.hce-testimonials__eyebrow {
  background: var(--hce-bg-soft);
  color: var(--hce-navy);
  margin-bottom: 16px;
}

.hce-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hce-testimonials__card {
  padding: 30px;
  background: #fff;
  border: 1px solid rgba(41, 46, 76, 0.08);
  border-radius: 28px;
  box-shadow: var(--hce-shadow-soft);
}

.hce-testimonials__stars {
  margin-bottom: 16px;
  color: var(--hce-yellow);
  font-size: 20px;
  letter-spacing: 2px;
}

.hce-testimonials__card p {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--hce-navy);
  font-style: italic;
}

.hce-testimonials__name {
  font-family: var(--hce-font-heading);
  font-weight: 800;
  color: var(--hce-navy);
}

.hce-testimonials__meta {
  margin-top: 4px;
  color: var(--hce-muted);
  font-size: 14px;
}

.hce-cta {
  padding: 96px 0;
  background: linear-gradient(135deg, #292e4c, #1a1d33);
  color: #fff;
  overflow: hidden;
}

.hce-cta::before,
.hce-cta::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.08;
}

.hce-cta::before {
  width: 360px;
  height: 360px;
  background: var(--hce-yellow);
  top: 10%;
  left: 18%;
}

.hce-cta::after {
  width: 280px;
  height: 280px;
  background: var(--hce-teal);
  right: 14%;
  bottom: 10%;
}

.hce-cta__inner {
  position: relative;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hce-cta__title {
  margin: 0 0 16px;
  font-family: var(--hce-font-heading);
  font-weight: 800;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  color: #fff;
}

.hce-cta__title span {
  display: block;
  color: var(--hce-yellow);
}

.hce-cta__text {
  margin: 0 auto;
  max-width: 700px;
  font-size: 20px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}

.hce-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hce-cta__note {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.hce-footer {
  background: var(--hce-navy);
  color: #fff;
  padding: 70px 0 24px;
}

.hce-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr 1fr;
  gap: 28px;
  margin-bottom: 34px;
}

.hce-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hce-footer__brand .hce-brand__name,
.hce-footer__brand .hce-brand__sub {
  color: #fff;
}

.hce-footer__brand .hce-brand__sub {
  opacity: 0.7;
}

.hce-footer__text {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  font-size: 14px;
}

.hce-footer h4 {
  margin: 0 0 14px;
  font-family: var(--hce-font-heading);
  font-size: 18px;
  font-weight: 800;
}

.hce-footer ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.hce-footer a,
.hce-footer li,
.hce-footer span {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 14px;
}

.hce-footer a:hover {
  color: var(--hce-yellow);
}

.hce-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.hce-footer__social {
  display: flex;
  gap: 16px;
}

.hce-page-hero {
  padding: 100px 0 74px;
  background: linear-gradient(135deg, #292e4c, #1a1d33);
  color: #fff;
  overflow: hidden;
}

.hce-page-hero__title {
  margin: 0 0 14px;
  font-family: var(--hce-font-heading);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  color: #fff;
}

.hce-page-hero__text {
  margin: 0;
  max-width: 720px;
  font-size: 19px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}

.hce-page-hero__eyebrow {
  background: var(--hce-yellow);
  color: var(--hce-navy);
  margin-bottom: 16px;
}

.hce-split {
  padding: 96px 0;
  background: #fff;
}

.hce-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hce-split__media img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--hce-shadow);
}

.hce-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.hce-list li {
  display: flex;
  gap: 10px;
  line-height: 1.7;
  color: var(--hce-muted);
}

.hce-list li::before {
  content: "✓";
  font-weight: 900;
  color: var(--hce-teal);
}

.hce-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hce-info-card {
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--hce-shadow);
}

.hce-info-card h3 {
  margin: 0 0 12px;
  font-family: var(--hce-font-heading);
  font-size: 24px;
}

.hce-info-card p,
.hce-info-card a,
.hce-info-card span {
  color: var(--hce-muted);
  line-height: 1.8;
  text-decoration: none;
}

.hce-form-note {
  padding: 30px;
  border-radius: 24px;
  background: var(--hce-bg);
  border: 1px dashed rgba(41, 46, 76, 0.16);
  color: var(--hce-muted);
  line-height: 1.8;
}

.hce-lead-form {
  display: grid;
  gap: 18px;
  padding: 32px;
  border-radius: 28px;
  background: var(--hce-surface);
  border: 1px solid var(--hce-border);
  box-shadow: var(--hce-shadow-soft);
}

.hce-lead-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hce-lead-form__field {
  display: grid;
  gap: 8px;
}

.hce-lead-form__field--full {
  grid-column: 1 / -1;
}

.hce-lead-form label {
  color: var(--hce-navy);
  font-weight: 800;
}

.hce-lead-form input,
.hce-lead-form select,
.hce-lead-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid rgba(41, 46, 76, 0.16);
  border-radius: 14px;
  background: #fff;
  color: var(--hce-navy);
  font: inherit;
}

.hce-lead-form textarea {
  min-height: 132px;
  resize: vertical;
}

.hce-lead-form input:focus,
.hce-lead-form select:focus,
.hce-lead-form textarea:focus {
  border-color: var(--hce-teal);
  outline: 3px solid rgba(29, 211, 176, 0.16);
}

.hce-lead-form__status {
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
}

.hce-lead-form__status--success {
  background: rgba(29, 211, 176, 0.14);
  color: var(--hce-navy);
}

.hce-lead-form__status--error {
  background: rgba(245, 208, 1, 0.18);
  color: var(--hce-navy);
}

.hce-lead-form__hp {
  position: absolute;
  left: -9999px;
}

.hce-brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hce-brand__logo .custom-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hce-legal-content h2,
.hce-legal-content h3 {
  font-family: var(--hce-font-heading);
  color: var(--hce-navy);
  margin: 24px 0 12px;
}

.hce-legal-content p,
.hce-legal-content li {
  color: var(--hce-muted);
}

.hce-legal-content ul {
  padding-left: 18px;
  margin: 12px 0;
}

@media (max-width: 1100px) {
  .hce-hero__grid,
  .hce-services__grid,
  .hce-split__grid {
    grid-template-columns: 1fr;
  }

  .hce-stats__grid,
  .hce-process__grid,
  .hce-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hce-why__grid,
  .hce-testimonials__grid,
  .hce-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hce-header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .hce-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(248, 243, 235, 0.98);
    border-bottom: 1px solid rgba(41, 46, 76, 0.08);
    padding: 18px 16px 24px;
  }

  .hce-header.is-open .hce-nav {
    display: flex;
  }

  .hce-nav__menu {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .hce-header__actions .hce-btn {
    display: none;
  }

  .hce-menu-toggle {
    display: inline-block;
  }
}

@media (max-width: 767px) {
  .hce-hero,
  .hce-why,
  .hce-services,
  .hce-process,
  .hce-testimonials,
  .hce-cta,
  .hce-page-band,
  .hce-split {
    padding: 68px 0;
  }

  .hce-page-hero {
    padding: 84px 0 64px;
  }

  .hce-stats {
    padding: 46px 0;
  }

  .hce-stats__grid,
  .hce-why__grid,
  .hce-process__grid,
  .hce-testimonials__grid,
  .hce-footer__grid,
  .hce-info-grid,
  .hce-split__grid {
    grid-template-columns: 1fr;
  }

  .hce-lead-form__grid {
    grid-template-columns: 1fr;
  }

  .hce-hero__panel img {
    height: 320px;
  }

  .hce-services__mosaic {
    grid-template-columns: 1fr;
  }

  .hce-services__col.offset {
    padding-top: 0;
  }

  .hce-services__badge {
    position: static;
    margin-top: 18px;
    max-width: none;
  }

  .hce-footer {
    padding-top: 54px;
  }
}
