/* =========================================================
   DAWKINS ELECTRICAL
   Public Website — Premium Brand System
   ========================================================= */


/* =========================================================
   DESIGN TOKENS
   ========================================================= */

:root {
  --bg: #07090c;
  --bg-deep: #040608;
  --bg-soft: #0b0e12;

  --surface: rgba(18, 22, 27, 0.82);
  --surface-solid: #11151a;
  --surface-light: #171c22;
  --surface-raised: #1c2229;

  --white: #f6f7f9;
  --text: #edf0f3;
  --text-soft: #c2c8cf;
  --muted: #7e8791;

  --orange: #ff6a00;
  --orange-bright: #ff7a1a;
  --orange-dark: #c94d00;

  --orange-soft: rgba(255, 106, 0, 0.10);
  --orange-soft-strong: rgba(255, 106, 0, 0.16);
  --orange-border: rgba(255, 106, 0, 0.34);
  --orange-border-strong: rgba(255, 106, 0, 0.52);
  --orange-glow: rgba(255, 106, 0, 0.18);

  --border: rgba(255, 255, 255, 0.085);
  --border-strong: rgba(255, 255, 255, 0.14);

  --shadow-small:
    0 12px 32px rgba(0, 0, 0, 0.24);

  --shadow:
    0 26px 80px rgba(0, 0, 0, 0.34);

  --shadow-deep:
    0 38px 120px rgba(0, 0, 0, 0.52);

  --radius-small: 12px;
  --radius: 20px;
  --radius-large: 30px;

  --container: 1240px;

  --ease:
    180ms cubic-bezier(0.2, 0.7, 0.2, 1);

  --ease-slow:
    360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}


/* =========================================================
   RESET
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;

  background:
    radial-gradient(
      circle at 85% -10%,
      rgba(255, 106, 0, 0.045),
      transparent 34%
    ),
    var(--bg);

  color: var(--text);

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  font-size: 16px;
  line-height: 1.6;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.ai-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.04;
  letter-spacing: -0.035em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(255, 106, 0, 0.22);
  color: #ffffff;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.sr-only {
  position: absolute !important;

  width: 1px !important;
  height: 1px !important;

  padding: 0 !important;
  margin: -1px !important;

  overflow: hidden !important;

  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;

  border: 0 !important;
}


/* =========================================================
   GLOBAL LAYOUT
   ========================================================= */

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;

  padding: 122px 0;
}

.eyebrow {
  margin-bottom: 20px;

  color: var(--orange);

  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.17em;

  text-transform: uppercase;
}

.large-text {
  color: var(--text-soft);

  font-size: clamp(1.08rem, 1.4vw, 1.3rem);
  line-height: 1.68;
}

.section-heading {
  max-width: 770px;

  margin-bottom: 58px;
}

.section-heading h2,
.about-grid h2,
.energy-content h2,
.ai-content h2,
.form-intro h2,
.booking-grid h2,
.final-cta h2 {
  margin-bottom: 24px;

  font-size: clamp(2.55rem, 5vw, 4.95rem);

  font-weight: 760;
  letter-spacing: -0.052em;
}

.section-heading h2 span,
.about-grid h2 span,
.energy-content h2 span,
.ai-content h2 span,
.form-intro h2 span,
.booking-grid h2 span,
.final-cta h2 span {
  color: #737c86;
}

.section-heading > p:last-child {
  max-width: 630px;

  color: var(--text-soft);

  font-size: 1.07rem;
}


/* =========================================================
   BUTTON SYSTEM
   Transparent orange glass
   ========================================================= */

.button {
  position: relative;

  display: inline-flex;

  min-height: 52px;

  align-items: center;
  justify-content: center;

  gap: 8px;

  padding: 0 24px;

  overflow: hidden;

  border: 1px solid var(--orange-border);
  border-radius: 999px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 106, 0, 0.14),
      rgba(255, 106, 0, 0.055)
    );

  color: #ffffff;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 8px 28px rgba(0, 0, 0, 0.12);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  font-weight: 750;
  line-height: 1;

  cursor: pointer;

  transition:
    transform var(--ease),
    border-color var(--ease),
    background var(--ease),
    box-shadow var(--ease);
}

.button::before {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      110deg,
      transparent 18%,
      rgba(255, 255, 255, 0.055),
      transparent 74%
    );

  opacity: 0;

  content: "";

  transition: opacity var(--ease);
}

.button:hover {
  transform: translateY(-2px);

  border-color: var(--orange-border-strong);

  background:
    linear-gradient(
      180deg,
      rgba(255, 106, 0, 0.19),
      rgba(255, 106, 0, 0.08)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.065),
    0 12px 34px rgba(0, 0, 0, 0.2),
    0 0 26px rgba(255, 106, 0, 0.07);
}

.button:hover::before {
  opacity: 1;
}

.button-small {
  min-height: 44px;

  padding: 0 20px;

  font-size: 0.91rem;
}

.button-secondary {
  border-color: var(--border-strong);

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.065),
      rgba(255, 255, 255, 0.025)
    );

  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.09),
      rgba(255, 255, 255, 0.04)
    );
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.11);

  background: rgba(255, 255, 255, 0.025);

  color: var(--text);
}

.button-ghost:hover {
  border-color: var(--orange-border);

  background: var(--orange-soft);
}

.button-ai {
  border-color: var(--orange-border);

  background:
    linear-gradient(
      180deg,
      rgba(255, 106, 0, 0.115),
      rgba(255, 106, 0, 0.04)
    );

  color: #ffffff;
}

.text-button {
  padding: 0;

  border: 0;

  background: transparent;

  color: var(--orange);

  font-weight: 750;

  cursor: pointer;

  transition:
    color var(--ease),
    transform var(--ease);
}

.text-button:hover {
  color: var(--orange-bright);
  transform: translateX(3px);
}


/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

.site-header {
  position: sticky;
  z-index: 100;

  top: 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.055);

  background: rgba(7, 9, 12, 0.82);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;

  min-height: 84px;

  align-items: center;
  justify-content: space-between;

  gap: 26px;
}

.brand {
  display: inline-flex;

  flex: 0 0 auto;

  align-items: center;
}

.brand-logo {
  width: auto;
  height: 50px;

  object-fit: contain;
}

.desktop-nav {
  display: flex;

  align-items: center;

  gap: 28px;

  margin-left: auto;
}

.desktop-nav a {
  position: relative;

  color: var(--text-soft);

  font-size: 0.89rem;
  font-weight: 650;

  transition: color var(--ease);
}

.desktop-nav a::after {
  position: absolute;

  right: 0;
  bottom: -8px;
  left: 0;

  height: 1px;

  background: var(--orange);

  opacity: 0;

  content: "";

  transform: scaleX(0);

  transition:
    opacity var(--ease),
    transform var(--ease);
}

.desktop-nav a:hover {
  color: #ffffff;
}

.desktop-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: flex;

  align-items: center;

  gap: 10px;
}

.mobile-menu-button {
  display: none;

  width: 44px;
  height: 44px;

  padding: 10px;

  border: 1px solid var(--border);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.025);

  cursor: pointer;
}

.mobile-menu-button span {
  display: block;

  width: 100%;
  height: 1px;

  margin: 5px 0;

  background: #ffffff;
}

.mobile-nav {
  display: none;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;

  overflow: hidden;

  padding: 118px 0 98px;

  border-bottom: 1px solid var(--border);
}

.hero::before {
  position: absolute;

  top: -330px;
  right: -190px;

  width: 760px;
  height: 760px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(255, 106, 0, 0.075) 0%,
      rgba(255, 106, 0, 0.02) 36%,
      transparent 70%
    );

  content: "";

  pointer-events: none;
}

.hero::after {
  position: absolute;

  bottom: -240px;
  left: -180px;

  width: 500px;
  height: 500px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(255, 255, 255, 0.018),
      transparent 68%
    );

  content: "";
}

.hero-grid {
  display: grid;

  position: relative;
  z-index: 1;

  grid-template-columns:
    minmax(0, 1.12fr)
    minmax(380px, 0.88fr);

  align-items: center;

  gap: 76px;
}

.hero-content {
  max-width: 780px;
}

.hero h1 {
  max-width: 820px;

  margin-bottom: 30px;

  font-size: clamp(4rem, 8vw, 7.65rem);

  font-weight: 790;

  letter-spacing: -0.068em;
}

.hero h1 span {
  display: block;

  color: #757e88;
}

.hero-description {
  max-width: 650px;

  margin-bottom: 38px;

  color: var(--text-soft);

  font-size: clamp(1.12rem, 1.7vw, 1.39rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 11px;
}

.trust-strip {
  display: flex;

  flex-wrap: wrap;

  gap: 12px 26px;

  margin-top: 47px;

  color: var(--muted);

  font-size: 0.8rem;
  font-weight: 700;
}

.trust-strip span {
  display: flex;

  align-items: center;

  gap: 9px;
}

.trust-strip span::before {
  width: 5px;
  height: 5px;

  flex: 0 0 auto;

  border-radius: 50%;

  background: var(--orange);

  content: "";
}


/* =========================================================
   HERO ENERGY CARD
   Photo-ready component
   ========================================================= */

.hero-feature-card {
  position: relative;

  min-height: 525px;

  overflow: hidden;

  padding: 42px;

  border: 1px solid var(--border);
  border-radius: var(--radius-large);

  background:
    linear-gradient(
      150deg,
      rgba(255, 106, 0, 0.08),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0)
    ),
    var(--surface-solid);

  box-shadow: var(--shadow);

  isolation: isolate;
}

.hero-feature-card::before {
  position: absolute;

  inset: 0;

  z-index: -2;

  background:
    linear-gradient(
      180deg,
      rgba(7, 9, 12, 0.04),
      rgba(7, 9, 12, 0.35)
    );

  content: "";
}

.hero-feature-card::after {
  position: absolute;

  right: -120px;
  bottom: -170px;

  z-index: -1;

  width: 430px;
  height: 430px;

  border: 1px solid rgba(255, 106, 0, 0.17);
  border-radius: 50%;

  box-shadow:
    0 0 0 46px rgba(255, 106, 0, 0.018),
    0 0 0 94px rgba(255, 106, 0, 0.012);

  content: "";
}

.card-label {
  margin-bottom: 114px;

  color: var(--orange);

  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.hero-feature-card h2 {
  position: relative;

  z-index: 1;

  max-width: 410px;

  margin-bottom: 18px;

  font-size: clamp(2.05rem, 3vw, 3.15rem);

  font-weight: 720;
}

.hero-feature-card > p:not(.card-label) {
  position: relative;

  z-index: 1;

  max-width: 420px;

  color: var(--text-soft);
}

.energy-flow {
  display: grid;

  position: absolute;

  z-index: 2;

  right: 30px;
  bottom: 30px;
  left: 30px;

  grid-template-columns: repeat(4, 1fr);

  gap: 8px;
}

.energy-flow div {
  padding: 14px;

  border: 1px solid var(--border);
  border-radius: 12px;

  background: rgba(7, 9, 12, 0.62);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.energy-flow strong,
.energy-flow span {
  display: block;
}

.energy-flow strong {
  color: #ffffff;

  font-size: 0.77rem;
}

.energy-flow span {
  margin-top: 3px;

  color: var(--muted);

  font-size: 0.65rem;
}


/* =========================================================
   QUICK ACTIONS
   ========================================================= */

.quick-actions-section {
  position: relative;

  z-index: 5;

  margin-top: -1px;

  border-bottom: 1px solid var(--border);

  background: var(--bg-soft);
}

.quick-actions {
  display: grid;

  grid-template-columns: repeat(3, 1fr);
}

.quick-action-card {
  display: grid;

  min-height: 184px;

  grid-template-columns: auto 1fr auto;

  align-items: center;

  gap: 22px;

  padding: 34px;

  border: 0;
  border-right: 1px solid var(--border);

  background: transparent;

  color: inherit;

  text-align: left;

  cursor: pointer;

  transition:
    background var(--ease),
    box-shadow var(--ease);
}

.quick-action-card:first-child {
  border-left: 1px solid var(--border);
}

.quick-action-card:hover {
  background:
    linear-gradient(
      180deg,
      rgba(255, 106, 0, 0.055),
      rgba(255, 106, 0, 0.018)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 106, 0, 0.05);
}

.quick-action-number {
  align-self: start;

  color: var(--orange);

  font-size: 0.67rem;
  font-weight: 850;
}

.quick-action-card .quick-action-title {
  margin: 0 0 8px;

  font-size: 1.27rem;
}

.quick-action-card p {
  margin: 0;

  color: var(--muted);

  font-size: 0.85rem;
  line-height: 1.5;
}

.quick-action-arrow {
  color: var(--muted);

  font-size: 1.3rem;

  transition:
    color var(--ease),
    transform var(--ease);
}

.quick-action-card:hover .quick-action-arrow {
  color: var(--orange);

  transform: translateX(4px);
}


/* =========================================================
   SERVICES
   ========================================================= */

.service-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 16px;
}

.service-card {
  display: flex;

  min-height: 475px;

  flex-direction: column;

  padding: 36px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.015),
      rgba(255, 255, 255, 0)
    ),
    var(--surface-solid);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02);

  transition:
    transform var(--ease),
    border-color var(--ease),
    background var(--ease),
    box-shadow var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);

  border-color: var(--orange-border);

  background:
    linear-gradient(
      180deg,
      rgba(255, 106, 0, 0.05),
      rgba(255, 255, 255, 0.012)
    ),
    var(--surface-solid);

  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.24);
}

.service-card-featured {
  border-color: rgba(255, 106, 0, 0.24);

  background:
    linear-gradient(
      150deg,
      rgba(255, 106, 0, 0.07),
      transparent 42%
    ),
    var(--surface-solid);
}

.service-number {
  margin-bottom: 72px;

  color: var(--orange);

  font-size: 0.71rem;
  font-weight: 850;
}

.service-card h3 {
  margin-bottom: 18px;

  font-size: 2rem;

  font-weight: 720;
}

.service-card > p {
  color: var(--text-soft);
}

.service-card ul {
  display: grid;

  gap: 9px;

  margin: 24px 0 36px;
}

.service-card li {
  display: flex;

  align-items: center;

  gap: 10px;

  color: var(--muted);

  font-size: 0.9rem;
}

.service-card li::before {
  width: 4px;
  height: 4px;

  flex: 0 0 auto;

  border-radius: 50%;

  background: var(--orange);

  content: "";
}

.service-card > a {
  margin-top: auto;

  color: var(--orange);

  font-size: 0.9rem;
  font-weight: 750;
}


/* =========================================================
   SOLAR / BATTERY
   ========================================================= */

.energy-section {
  overflow: hidden;

  border-block: 1px solid var(--border);

  background:
    linear-gradient(
      130deg,
      rgba(255, 106, 0, 0.025),
      transparent 34%
    ),
    var(--bg-soft);
}

.energy-grid {
  display: grid;

  grid-template-columns: 0.9fr 1.1fr;

  align-items: start;

  gap: 100px;
}

.energy-content {
  position: sticky;

  top: 130px;
}

.energy-content > p:not(.eyebrow) {
  max-width: 550px;
}

.section-actions {
  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 24px;

  margin-top: 34px;
}

.energy-feature-list {
  border-top: 1px solid var(--border);
}

.energy-feature {
  display: grid;

  grid-template-columns: 70px 1fr;

  gap: 22px;

  padding: 38px 0;

  border-bottom: 1px solid var(--border);

  transition: padding-left var(--ease);
}

.energy-feature:hover {
  padding-left: 8px;
}

.energy-feature > span {
  color: var(--orange);

  font-size: 0.71rem;
  font-weight: 850;
}

.energy-feature h3 {
  margin-bottom: 10px;

  font-size: 1.64rem;

  font-weight: 700;
}

.energy-feature p {
  max-width: 520px;

  margin: 0;

  color: var(--muted);
}


/* =========================================================
   WHY DAWKINS
   ========================================================= */

.about-grid {
  display: grid;

  grid-template-columns: 0.95fr 1.05fr;

  gap: 100px;

  margin-bottom: 80px;
}

.about-grid > div:last-child {
  padding-top: 48px;
}

.about-grid > div:last-child p:last-child {
  color: var(--muted);
}

.value-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  border-block: 1px solid var(--border);
}

.value-grid article {
  min-height: 225px;

  padding: 34px;

  border-right: 1px solid var(--border);

  transition:
    background var(--ease),
    transform var(--ease);
}

.value-grid article:first-child {
  border-left: 1px solid var(--border);
}

.value-grid article:hover {
  background: rgba(255, 106, 0, 0.025);
}

.value-grid span {
  color: var(--orange);

  font-size: 0.69rem;
  font-weight: 850;
}

.value-grid h3 {
  margin: 52px 0 10px;

  font-size: 1.25rem;
}

.value-grid p {
  margin: 0;

  color: var(--muted);

  font-size: 0.9rem;
}


/* =========================================================
   PROJECTS / PHOTOGRAPHY
   ========================================================= */

.projects-section {
  border-block: 1px solid var(--border);

  background: var(--bg-soft);
}

.section-heading-row {
  display: grid;

  max-width: none;

  grid-template-columns: 1fr 0.7fr;

  align-items: end;

  gap: 80px;
}

.section-heading-row > p {
  padding-bottom: 12px;
}

.project-grid {
  display: grid;

  grid-template-columns: 1.2fr 0.9fr 0.9fr;

  gap: 16px;
}

.project-card {
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: var(--surface-solid);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02);

  transition:
    transform var(--ease),
    border-color var(--ease),
    box-shadow var(--ease);
}

.project-card:hover {
  transform: translateY(-4px);

  border-color: rgba(255, 106, 0, 0.28);

  box-shadow:
    0 20px 58px rgba(0, 0, 0, 0.24);
}

.project-image {
  position: relative;

  min-height: 385px;

  overflow: hidden;

  background-position: center;
  background-size: cover;
}



.project-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;

  object-fit: cover;

  transition: transform 600ms ease;
}

.project-card:hover .project-image img {
  transform: scale(1.025);
}

.project-placeholder {
  display: flex;

  align-items: center;
  justify-content: center;

  background:
    radial-gradient(
      circle at 70% 25%,
      rgba(255, 106, 0, 0.065),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #141920,
      #0e1217
    );
}

.project-placeholder::before,
.project-placeholder::after {
  position: absolute;

  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;

  content: "";
}

.project-placeholder::before {
  width: 250px;
  height: 250px;
}

.project-placeholder::after {
  width: 350px;
  height: 350px;
}

.project-placeholder span {
  position: relative;

  z-index: 1;

  color: rgba(255, 255, 255, 0.22);

  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.project-content {
  padding: 26px;
}

.project-content > span {
  color: var(--orange);

  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.project-content h3 {
  margin: 12px 0 7px;

  font-size: 1.3rem;
}

.project-content p {
  margin: 0;

  color: var(--muted);

  font-size: 0.84rem;
}


/* =========================================================
   CUSTOMER SUPPORT / AI PREVIEW
   ========================================================= */

.ai-section {
  overflow: hidden;

  background:
    radial-gradient(
      circle at 100% 50%,
      rgba(255, 106, 0, 0.035),
      transparent 35%
    );
}

.ai-grid {
  display: grid;

  grid-template-columns: 0.9fr 1.1fr;

  align-items: center;

  gap: 100px;
}

.ai-content {
  max-width: 540px;
}

.support-options {
  display: flex;

  flex-wrap: wrap;

  gap: 9px;

  margin-top: 32px;
}

.support-options span {
  padding: 9px 13px;

  border: 1px solid var(--border);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.018);

  color: var(--text-soft);

  font-size: 0.78rem;
}

.ai-preview {
  overflow: hidden;

  border: 1px solid var(--orange-border);
  border-radius: var(--radius-large);

  background:
    linear-gradient(
      145deg,
      rgba(255, 106, 0, 0.075),
      transparent 40%
    ),
    rgba(16, 20, 25, 0.95);

  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.ai-preview-header {
  display: flex;

  align-items: center;

  gap: 13px;
}

.ai-preview > .ai-preview-header {
  padding: 24px 26px;

  border-bottom: 1px solid var(--border);
}

.ai-avatar {
  display: flex;

  width: 42px;
  height: 42px;

  flex: 0 0 auto;

  align-items: center;
  justify-content: center;

  border: 1px solid var(--orange-border);
  border-radius: 50%;

  background:
    linear-gradient(
      180deg,
      rgba(255, 106, 0, 0.25),
      rgba(255, 106, 0, 0.08)
    );

  color: #ffffff;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05);

  font-size: 0.9rem;
  font-weight: 900;
}

.ai-preview-header strong {
  display: block;

  line-height: 1.2;
}

.online-status {
  display: flex;

  align-items: center;

  gap: 6px;

  margin-top: 5px;

  color: var(--muted);

  font-size: 0.72rem;
}

.online-status i {
  display: inline-block;

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--orange);

  box-shadow:
    0 0 10px rgba(255, 106, 0, 0.42);
}

.ai-preview-body {
  min-height: 305px;

  padding: 36px;
}

.ai-message {
  width: fit-content;

  max-width: 82%;

  padding: 16px 18px;

  border: 1px solid var(--border);
  border-radius: 5px 18px 18px 18px;

  background: rgba(255, 255, 255, 0.045);
}

.ai-message p {
  margin: 0;

  color: var(--text-soft);

  font-size: 0.9rem;
}

.ai-suggestion-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 8px;

  margin-top: 28px;
}

.ai-suggestion-grid button,
.ai-panel-options button {
  padding: 13px 15px;

  border: 1px solid var(--border);
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.015);

  color: var(--text-soft);

  font-size: 0.78rem;

  text-align: left;

  cursor: pointer;

  transition:
    border-color var(--ease),
    background var(--ease),
    color var(--ease);
}

.ai-suggestion-grid button:hover,
.ai-panel-options button:hover {
  border-color: var(--orange-border);

  background: var(--orange-soft);

  color: #ffffff;
}

.ai-start-button {
  width: calc(100% - 52px);

  margin: 0 26px 26px;
}


/* =========================================================
   FORMS
   ========================================================= */

.form-section {
  border-block: 1px solid var(--border);

  background:
    linear-gradient(
      140deg,
      rgba(255, 106, 0, 0.022),
      transparent 35%
    ),
    var(--bg-soft);
}

.form-layout,
.booking-grid {
  display: grid;

  grid-template-columns: 0.82fr 1.18fr;

  align-items: start;

  gap: 100px;
}

.form-intro {
  position: sticky;

  top: 130px;
}

.customer-form {
  display: grid;

  gap: 20px;

  padding: 38px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.018),
      transparent
    ),
    var(--surface-solid);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.form-row {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 16px;
}

.customer-form label {
  display: grid;

  gap: 8px;

  color: var(--text-soft);

  font-size: 0.78rem;
  font-weight: 700;
}

.customer-form input,
.customer-form textarea,
.customer-form select {
  width: 100%;

  min-height: 52px;

  padding: 13px 15px;

  border: 1px solid var(--border);
  border-radius: 11px;

  outline: none;

  background: #090c10;

  color: var(--text);

  font-size: 0.95rem;

  transition:
    border-color var(--ease),
    box-shadow var(--ease),
    background var(--ease);
}

.customer-form textarea {
  min-height: 140px;

  resize: vertical;
}

.customer-form input:hover,
.customer-form textarea:hover,
.customer-form select:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.customer-form input:focus,
.customer-form textarea:focus,
.customer-form select:focus {
  border-color: var(--orange-border-strong);

  background: #0b0e12;

  box-shadow:
    0 0 0 3px rgba(255, 106, 0, 0.07);
}

.customer-form input::placeholder,
.customer-form textarea::placeholder {
  color: #5f6872;
}

.file-upload {
  padding: 18px;

  border: 1px dashed rgba(255, 106, 0, 0.26);
  border-radius: 12px;

  background: rgba(255, 106, 0, 0.025);
}

.file-upload input {
  min-height: auto;

  padding: 8px 0;

  border: 0;

  background: transparent;
}

.file-upload small {
  color: var(--muted);

  font-weight: 400;
  line-height: 1.5;
}

.checkbox-label {
  display: flex !important;

  grid-template-columns: none !important;

  flex-direction: row;

  align-items: flex-start;

  gap: 11px !important;

  font-weight: 400 !important;
}

.checkbox-label input {
  width: 17px;
  min-height: 17px;

  margin-top: 3px;
  padding: 0;

  accent-color: var(--orange);
}

.form-submit {
  width: 100%;

  margin-top: 4px;
}

.form-note,
.form-status {
  margin: 0;

  color: var(--muted);

  font-size: 0.75rem;
  line-height: 1.5;
}

.form-status:not(:empty) {
  padding: 12px;

  border: 1px solid var(--orange-border);
  border-radius: 10px;

  background: var(--orange-soft);
}


/* =========================================================
   BOOKING
   ========================================================= */

.booking-section {
  background:
    radial-gradient(
      circle at 0% 100%,
      rgba(255, 106, 0, 0.035),
      transparent 30%
    ),
    var(--bg);
}

.booking-grid > div:first-child {
  max-width: 520px;
}


/* =========================================================
   REVIEWS
   ========================================================= */

.reviews-section {
  border-top: 1px solid var(--border);

  background: var(--bg-soft);
}

.review-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 16px;
}

.review-placeholder {
  min-height: 245px;

  padding: 34px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.014),
      transparent
    ),
    var(--surface-solid);

  transition:
    border-color var(--ease),
    transform var(--ease);
}

.review-placeholder:hover {
  transform: translateY(-3px);

  border-color: rgba(255, 106, 0, 0.22);
}

.review-placeholder span {
  color: var(--orange);

  letter-spacing: 0.15em;
}

.review-placeholder p {
  max-width: 500px;

  margin-top: 60px;

  color: var(--text-soft);

  font-size: 1.05rem;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta {
  position: relative;

  overflow: hidden;

  padding: 104px 0;
}

.final-cta::before {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      120deg,
      rgba(255, 106, 0, 0.03),
      transparent 46%
    );

  content: "";
}

.final-cta::after {
  position: absolute;

  right: -200px;
  bottom: -350px;

  width: 650px;
  height: 650px;

  border-radius: 50%;

  background: rgba(255, 106, 0, 0.035);

  content: "";
}

.final-cta-inner {
  display: grid;

  position: relative;

  z-index: 1;

  grid-template-columns: 1fr auto;

  align-items: end;

  gap: 60px;
}

.final-cta h2 {
  max-width: 760px;

  margin-bottom: 0;
}

.final-cta-actions {
  display: flex;

  flex-wrap: wrap;

  justify-content: flex-end;

  gap: 10px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding: 70px 0 26px;

  border-top: 1px solid var(--border);

  background: var(--bg-deep);
}

.footer-grid {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr 1fr;

  gap: 60px;

  padding-bottom: 70px;
}

.footer-logo {
  height: 68px;
}

.footer-brand-section p {
  max-width: 330px;

  margin-top: 24px;

  color: var(--muted);

  font-size: 0.88rem;
}

.footer-column {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  gap: 10px;
}

.footer-column strong {
  margin-bottom: 8px;

  font-size: 0.82rem;
}

.footer-column a,
.footer-column p,
.footer-column button {
  margin: 0;
  padding: 0;

  border: 0;

  background: none;

  color: var(--muted);

  font-size: 0.82rem;

  text-align: left;

  cursor: pointer;

  transition: color var(--ease);
}

.footer-column a:hover,
.footer-column button:hover {
  color: var(--orange);
}

.footer-subheading {
  margin-top: 22px !important;
}

.footer-bottom {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding-top: 24px;

  border-top: 1px solid var(--border);
}

.footer-bottom p {
  margin: 0;

  color: #626a74;

  font-size: 0.72rem;
}

.footer-bottom div {
  display: flex;

  gap: 20px;
}

.footer-bottom a {
  color: #626a74;

  font-size: 0.72rem;

  transition: color var(--ease);
}

.footer-bottom a:hover {
  color: var(--orange);
}


/* =========================================================
   DAWKINS AI PANEL
   ========================================================= */

.ai-panel {
  position: fixed;

  z-index: 1001;

  top: 20px;
  right: 20px;
  bottom: 20px;

  width: min(440px, calc(100vw - 40px));

  overflow: hidden;

  border: 1px solid var(--orange-border);
  border-radius: 24px;

  background:
    linear-gradient(
      155deg,
      rgba(255, 106, 0, 0.045),
      transparent 35%
    ),
    rgba(10, 13, 17, 0.98);

  box-shadow: var(--shadow-deep);

  opacity: 0;

  pointer-events: none;

  transform: translateX(calc(100% + 40px));

  transition:
    transform var(--ease-slow),
    opacity 250ms ease;
}

.ai-panel.is-open {
  opacity: 1;

  pointer-events: auto;

  transform: translateX(0);
}

.ai-panel-header {
  display: flex;

  min-height: 80px;

  align-items: center;
  justify-content: space-between;

  padding: 18px 20px;

  border-bottom: 1px solid var(--border);
}

.close-ai {
  width: 38px;
  height: 38px;

  border: 1px solid var(--border);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.02);

  color: var(--text-soft);

  font-size: 1.4rem;

  cursor: pointer;

  transition:
    border-color var(--ease),
    background var(--ease),
    color var(--ease);
}

.close-ai:hover {
  border-color: var(--orange-border);

  background: var(--orange-soft);

  color: #ffffff;
}

.ai-panel-messages {
  height: calc(100% - 260px);

  overflow-y: auto;

  padding: 24px 20px;
}

.ai-panel-options {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 7px;

  padding: 0 20px 14px;
}

.ai-chat-form {
  display: grid;

  grid-template-columns: 1fr auto;

  gap: 8px;

  padding: 14px 20px 20px;

  border-top: 1px solid var(--border);
}

.ai-chat-form textarea {
  min-height: 48px;
  max-height: 120px;

  resize: none;

  padding: 13px 14px;

  border: 1px solid var(--border);
  border-radius: 13px;

  outline: none;

  background: #080b0f;

  color: var(--text);

  transition:
    border-color var(--ease),
    box-shadow var(--ease);
}

.ai-chat-form textarea:focus {
  border-color: var(--orange-border-strong);

  box-shadow:
    0 0 0 3px rgba(255, 106, 0, 0.07);
}

.ai-chat-form button {
  padding: 0 17px;

  border: 1px solid var(--orange-border);
  border-radius: 12px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 106, 0, 0.18),
      rgba(255, 106, 0, 0.07)
    );

  color: #ffffff;

  font-weight: 800;

  cursor: pointer;
}

.ai-backdrop {
  position: fixed;

  z-index: 1000;

  inset: 0;

  background: rgba(0, 0, 0, 0.63);

  opacity: 0;

  pointer-events: none;

  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  transition: opacity 250ms ease;
}

.ai-backdrop.is-open {
  opacity: 1;

  pointer-events: auto;
}


/* =========================================================
   FLOATING AI BUTTON
   ========================================================= */

.floating-ai-button {
  display: flex;

  position: fixed;

  z-index: 90;

  right: 24px;
  bottom: 24px;

  min-height: 54px;

  align-items: center;

  gap: 10px;

  padding: 7px 18px 7px 7px;

  border: 1px solid var(--orange-border);
  border-radius: 999px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 106, 0, 0.11),
      rgba(255, 106, 0, 0.04)
    ),
    rgba(13, 17, 21, 0.92);

  color: var(--text);

  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.34),
    0 0 30px rgba(255, 106, 0, 0.045);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  cursor: pointer;

  transition:
    transform var(--ease),
    border-color var(--ease),
    box-shadow var(--ease);
}

.floating-ai-button:hover {
  transform: translateY(-2px);

  border-color: var(--orange-border-strong);

  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.38),
    0 0 34px rgba(255, 106, 0, 0.08);
}

.floating-ai-button span {
  display: flex;

  width: 38px;
  height: 38px;

  align-items: center;
  justify-content: center;

  border: 1px solid var(--orange-border);
  border-radius: 50%;

  background:
    linear-gradient(
      180deg,
      rgba(255, 106, 0, 0.22),
      rgba(255, 106, 0, 0.08)
    );

  color: #ffffff;

  font-weight: 900;
}

.floating-ai-button strong {
  font-size: 0.78rem;
}


/* =========================================================
   SCROLLBARS
   ========================================================= */

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #080b0f;
}

::-webkit-scrollbar-thumb {
  border: 2px solid #080b0f;
  border-radius: 999px;

  background: #252b33;
}

::-webkit-scrollbar-thumb:hover {
  background: #303842;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1080px) {

  .desktop-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.82fr;

    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 8vw, 6.4rem);
  }

  .energy-grid,
  .ai-grid,
  .form-layout,
  .booking-grid {
    gap: 60px;
  }

  .project-grid {
    grid-template-columns: 1fr 1fr;
  }

 .project-card:first-child {
  grid-column: auto;
}

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-brand-section {
    grid-column: span 3;
  }
}


/* =========================================================
   MOBILE / TABLET
   ========================================================= */

@media (max-width: 820px) {

  .container {
    width: min(calc(100% - 34px), var(--container));
  }

  .section {
    padding: 88px 0;
  }

  .header-inner {
    min-height: 78px;
  }

  .brand-logo {
    height: 44px;
  }

  .header-actions {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .mobile-nav {
    position: absolute;

    top: 78px;
    right: 0;
    left: 0;

    padding: 18px 17px 24px;

    border-bottom: 1px solid var(--border);

    background: rgba(7, 9, 12, 0.98);

    box-shadow:
      0 22px 52px rgba(0, 0, 0, 0.32);
  }

  .mobile-nav.is-open {
    display: grid;
  }

  .mobile-nav a {
    padding: 14px 6px;

    border-bottom: 1px solid var(--border);

    color: var(--text-soft);

    font-weight: 650;
  }

  .mobile-nav a:last-child {
    color: var(--orange);
  }

  .hero {
    padding: 82px 0 70px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-feature-card {
    min-height: 445px;
  }

  .quick-actions {
    grid-template-columns: 1fr;
  }

  .quick-action-card,
  .quick-action-card:first-child {
    min-height: 130px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-left: 1px solid var(--border);
  }

  .service-grid,
  .value-grid,
  .energy-grid,
  .about-grid,
  .ai-grid,
  .form-layout,
  .booking-grid,
  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 410px;
  }

  .energy-content,
  .form-intro {
    position: static;
  }

  .about-grid {
    gap: 20px;

    margin-bottom: 60px;
  }

  .about-grid > div:last-child {
    padding-top: 0;
  }

  .value-grid article,
  .value-grid article:first-child {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-left: 1px solid var(--border);
  }

  .section-heading-row {
    grid-template-columns: 1fr;

    gap: 10px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card:first-child {
    grid-column: auto;
  }

  .project-card:first-child .project-image,
  .project-image {
    min-height: 360px;
  }

  .final-cta-actions {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-section {
    grid-column: span 2;
  }

  .footer-logo {
    height: 60px;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 560px) {

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-logo {
    height: 40px;
  }

  .mobile-nav {
    top: 72px;
  }

  .hero {
    padding-top: 64px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 16vw, 5rem);
  }

  .hero-actions {
    display: grid;

    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-strip {
    display: grid;

    grid-template-columns: 1fr 1fr;
  }

  .hero-feature-card {
    min-height: 510px;

    padding: 28px;
  }

  .card-label {
    margin-bottom: 88px;
  }

  .energy-flow {
    right: 20px;
    bottom: 20px;
    left: 20px;

    grid-template-columns: 1fr 1fr;
  }

  .quick-action-card {
    padding: 26px 20px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2,
  .about-grid h2,
  .energy-content h2,
  .ai-content h2,
  .form-intro h2,
  .booking-grid h2,
  .final-cta h2 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .service-card {
    min-height: 0;

    padding: 28px;
  }

  .service-number {
    margin-bottom: 54px;
  }

  .energy-grid,
  .ai-grid,
  .form-layout,
  .booking-grid {
    gap: 50px;
  }

  .energy-feature {
    grid-template-columns: 46px 1fr;
  }

  .value-grid {
    border: 0;
  }

  .project-image,
  .project-card:first-child .project-image {
    min-height: 300px;
  }

  .ai-preview-body {
    min-height: 260px;

    padding: 24px;
  }

  .ai-suggestion-grid {
    grid-template-columns: 1fr;
  }

  .customer-form {
    padding: 24px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-placeholder {
    min-height: 210px;
  }

  .review-placeholder p {
    margin-top: 42px;
  }

  .footer-grid {
    grid-template-columns: 1fr;

    gap: 40px;
  }

  .footer-brand-section {
    grid-column: auto;
  }

  .footer-logo {
    height: 56px;
  }

  .footer-bottom {
    align-items: flex-start;

    flex-direction: column;
  }

  .floating-ai-button {
    right: 14px;
    bottom: 14px;

    width: 54px;

    padding: 7px;
  }

  .floating-ai-button strong {
    display: none;
  }

  .ai-panel {
    top: 8px;
    right: 8px;
    bottom: 8px;

    width: calc(100vw - 16px);

    border-radius: 20px;
  }

  .ai-panel-options {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   MOBILE POLISH
   ========================================================= */

@media (max-width: 560px) {

  .header-inner {
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .brand-logo {
    height: 46px;
  }

  .hero {
    padding-top: 56px;
    padding-bottom: 60px;
  }

  .hero::before {
    top: -240px;
    right: -220px;

    width: 620px;
    height: 620px;

    background:
      radial-gradient(
        circle,
        rgba(255, 106, 0, 0.045) 0%,
        rgba(255, 106, 0, 0.012) 34%,
        transparent 70%
      );
  }

  .eyebrow {
    max-width: 320px;

    font-size: 0.67rem;
    line-height: 1.7;
    letter-spacing: 0.14em;
  }

  .hero h1 {
    margin-bottom: 24px;

    font-size: clamp(3rem, 14vw, 4.35rem);

    line-height: 0.98;
  }

  .hero-description {
    margin-bottom: 30px;

    font-size: 1.05rem;
    line-height: 1.58;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .button {
    min-height: 50px;
  }

  .trust-strip {
    margin-top: 34px;

    gap: 10px 18px;

    font-size: 0.74rem;
  }

  .floating-ai-button {
    right: 14px;
    bottom: 90px;
  }
}
/* =========================================================
   FINAL MOBILE HERO REFINEMENTS
   ========================================================= */

@media (max-width: 560px) {

  .hero .eyebrow {
    max-width: none;
    white-space: nowrap;

    font-size: 0.61rem;
    letter-spacing: 0.105em;
  }

  .hero::before {
    opacity: 0.55;
  }

  .floating-ai-button {
    right: 16px;
    bottom: 18px;
  }

  .hero-actions {
    position: relative;
    z-index: 2;
  }

  .trust-strip {
    position: relative;
    z-index: 1;
  }
}
/* =========================================================
   MOBILE SERVICE + PROJECT POLISH
   ========================================================= */

@media (max-width: 560px) {

  /* SERVICES */

  #services .section-heading {
    margin-bottom: 34px;
  }

  #services .section-heading h2 {
    font-size: clamp(2.65rem, 11.5vw, 3.35rem);
    line-height: 1.02;
  }

  #services .section-heading > p:last-child {
    font-size: 1rem;
    line-height: 1.55;
  }

  .service-grid {
    gap: 14px;
  }

  .service-card {
    min-height: 0;
    padding: 26px 24px 28px;
  }

  .service-number {
    margin-bottom: 36px;
  }

  .service-card h3 {
    margin-bottom: 14px;
    font-size: 1.75rem;
  }

  .service-card > p {
    margin-bottom: 0;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .service-card ul {
    gap: 7px;
    margin: 22px 0 28px;
  }

  .service-card li {
    font-size: 0.9rem;
  }

  .service-card > a {
    font-size: 0.88rem;
  }


  /* PROJECTS */

  .projects-section .section-heading {
    margin-bottom: 36px;
  }

  .projects-section .section-heading h2 {
    font-size: clamp(2.65rem, 11vw, 3.3rem);
  }

  .project-grid {
    gap: 14px;
  }

  .project-image,
  .project-card:first-child .project-image {
    min-height: 270px;
  }

  .project-content {
    padding: 22px;
  }

  .project-content h3 {
    font-size: 1.2rem;
  }


  /* FLOATING DAWKINS AI */

  .floating-ai-button {
    width: 48px;
    min-height: 48px;

    right: 12px;
    bottom: 14px;

    padding: 5px;
  }

  .floating-ai-button span {
    width: 36px;
    height: 36px;

    font-size: 0.82rem;
  }
}
/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   PROJECT PHOTO GALLERY
   ========================================================= */

.project-gallery {
  position: relative;
  overflow: hidden;
}

/* Hide gallery images until active */
.project-gallery > img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-gallery > img.active {
  display: block;
}

/* Previous / next buttons */
.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 106, 0, 0.45);
  border-radius: 50%;

  background: rgba(8, 10, 12, 0.68);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  color: #ffffff;
  font-size: 30px;
  line-height: 1;

  cursor: pointer;

  opacity: 0;
  transition:
    opacity 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.gallery-prev {
  left: 16px;
}

.gallery-next {
  right: 16px;
}

.project-gallery:hover .gallery-prev,
.project-gallery:hover .gallery-next {
  opacity: 1;
}

.gallery-prev:hover,
.gallery-next:hover {
  background: rgba(255, 106, 0, 0.16);
  border-color: rgba(255, 106, 0, 0.8);
}

.gallery-prev:active,
.gallery-next:active {
  transform: translateY(-50%) scale(0.94);
}

/* Gallery dots */
.gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 5;

  display: flex;
  align-items: center;
  gap: 7px;

  padding: 8px 10px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;

  background: rgba(8, 10, 12, 0.58);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gallery-dots button {
  width: 7px;
  height: 7px;
  padding: 0;

  border: 0;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.35);

  cursor: pointer;
  transition:
    width 0.25s ease,
    background 0.25s ease;
}

.gallery-dots button.active {
  width: 20px;
  border-radius: 999px;
  background: #ff6a00;
}

/* Touch devices — always show arrows */
@media (hover: none) {
  .gallery-prev,
  .gallery-next {
    opacity: 1;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .gallery-prev,
  .gallery-next {
    width: 40px;
    height: 40px;
    font-size: 26px;
  }

  .gallery-prev {
    left: 12px;
  }

  .gallery-next {
    right: 12px;
  }

  .gallery-dots {
    bottom: 12px;
  }
}
/* Keep all project galleries the same size */
.project-card .project-image {
  height: 440px;
  min-height: 440px;
}

.project-card .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Customer-facing chat conversation */
.ai-panel-messages .ai-message {
  margin-bottom: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ai-panel-messages .ai-message-user {
  margin-left: auto;
  background: rgba(255, 106, 0, 0.15);
  border-color: rgba(255, 106, 0, 0.35);
  border-radius: 18px 5px 18px 18px;
}
.ai-chat-form button:disabled {
  opacity: 0.65;
  cursor: wait;
}


/* Customer chatbot lead capture, inside the existing conversation panel */
.ai-lead-form-wrap {
  padding: 12px 0;
  width: 100%;
}
.ai-lead-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 106, 0, 0.42);
  background: #161b20;
  border-radius: 14px;
  color: #f5f6f8;
}
.ai-lead-form h3 { margin: 0; font-size: 18px; }
.ai-lead-form p { margin: 0; font-size: 13px; line-height: 1.5; }
.ai-lead-form label { display: grid; gap: 5px; font-size: 13px; }
.ai-lead-form input:not([type="checkbox"]),
.ai-lead-form select,
.ai-lead-form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #414950;
  border-radius: 8px;
  padding: 10px;
  color: #f5f6f8;
  background: #0c1015;
  font: inherit;
}
.ai-lead-form .ai-lead-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.ai-lead-form .ai-lead-consent input { margin-top: 3px; }
.ai-lead-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ai-lead-actions button {
  flex: 1 1 120px;
  border: 1px solid #ad4b0c;
  border-radius: 8px;
  padding: 10px;
  background: #b95010;
  color: #fff;
  cursor: pointer;
  font: inherit;
}
.ai-lead-actions button[data-cancel-lead] {
  background: transparent;
  border-color: #414950;
}
.ai-lead-actions button:disabled { opacity: .6; cursor: wait; }
.ai-lead-status { min-height: 1em; }


/* Website AI: independent new conversation control */
.ai-panel-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.new-ai-chat {
  border: 1px solid rgba(255, 106, 0, 0.45);
  border-radius: 10px;
  background: rgba(255, 106, 0, 0.10);
  color: #f5f6f8;
  padding: 9px 11px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.new-ai-chat:hover,
.new-ai-chat:focus-visible {
  border-color: #ff6a00;
  background: rgba(255, 106, 0, 0.2);
}
@media (max-width: 390px) {
  .ai-panel-header { padding-inline: 12px; }
  .ai-panel-header-actions { gap: 5px; }
  .new-ai-chat { padding: 8px; }
}


/* Dawkins AI chat layout: compact messages and a fixed, usable composer */
.ai-panel {
  display: flex;
  flex-direction: column;
}
.ai-panel-header,
.ai-panel-options,
.ai-chat-form {
  flex: 0 0 auto;
}
.ai-panel-messages {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  height: auto;
  min-height: 0;
  padding: 18px 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.ai-panel-messages > .ai-message {
  display: block;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: fit-content;
  max-width: 92%;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 12px 14px;
  line-height: 1.5;
}
.ai-panel-messages > .ai-message-user {
  align-self: flex-end;
}
.ai-panel-messages > .ai-message-welcome {
  flex: 0 0 auto;
  align-self: flex-start;
  height: fit-content;
  min-height: 0;
  max-height: none;
  max-width: 90%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.045);
}
.ai-panel-messages > .ai-lead-form-wrap {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 100%;
}

/* Finished customer experience: one orange glass treatment for every action. */
:is(button, a.button, .quick-action-card) {
  color: #fff;
  border-color: rgba(255, 106, 0, .42);
  background: linear-gradient(180deg, rgba(255, 106, 0, .20), rgba(255, 106, 0, .08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 8px 24px rgba(0, 0, 0, .15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
:is(button, a.button, .quick-action-card):hover {
  color: #fff;
  border-color: rgba(255, 106, 0, .75);
  background: linear-gradient(180deg, rgba(255, 106, 0, .30), rgba(255, 106, 0, .12));
}
:is(button, a, input, select, textarea, summary):focus-visible {
  outline: 2px solid #ff9a52;
  outline-offset: 4px;
}
:is(.text-button, .footer-column button) {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 106, 0, .42);
  border-radius: 999px;
  color: #fff;
}
.ai-lead-actions button[data-cancel-lead] {
  background: linear-gradient(180deg, rgba(255, 106, 0, .20), rgba(255, 106, 0, .08));
  border-color: rgba(255, 106, 0, .42);
}
.gallery-dots button { min-width: 20px; min-height: 20px; }
.gallery-dots button.active { border: 1px solid #ff9a52; }
.project-gallery:focus-within :is(.gallery-prev, .gallery-next) { opacity: 1; }
.customer-form small { display: block; color: var(--text-muted); font-size: .8rem; line-height: 1.5; }
.form-status:not(:empty) {
  padding: 14px 16px;
  border: 1px solid rgba(255, 106, 0, .4);
  border-radius: 12px;
  background: rgba(255, 106, 0, .08);
  color: #fff;
  line-height: 1.6;
}
.form-status[data-state="success"]::before { content: "✓ "; color: #ff9a52; font-weight: 800; }
.form-status[data-state="error"] { border-style: dashed; }
button:disabled { opacity: .6; cursor: wait; }
.enquiry-steps { border: 0; }
.enquiry-information { border-top: 1px solid var(--border); padding: 56px 0; }
.enquiry-information h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 24px; }
.enquiry-information details {
  max-width: 900px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.enquiry-information summary { cursor: pointer; color: #fff; font-weight: 700; }
.enquiry-information details p { margin-top: 16px; line-height: 1.75; color: var(--text-soft); }
.enquiry-information a { color: #ff9a52; overflow-wrap: anywhere; }
.no-script-notice { padding: 16px; background: #211408; color: #fff; text-align: center; }
.no-script-notice a { color: #ff9a52; text-decoration: underline; }
html { scroll-padding-top: 110px; }
.ai-panel { visibility: hidden; }
.ai-panel.is-open { visibility: visible; }
.ai-panel-header .ai-preview-header { min-width: 0; }
.ai-panel-header .ai-preview-header > div:last-child { min-width: 0; }
.ai-panel-header .online-status { font-size: .7rem; }

@media (max-width: 1080px) {
  .header-inner { min-height: 82px; }
  .mobile-menu-button { display: block; flex-shrink: 0; }
  .mobile-nav {
    position: absolute; top: 82px; left: 0; right: 0;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    background: rgba(7, 9, 12, .98);
  }
  .mobile-nav.is-open { display: grid; }
  .mobile-nav a { padding: 14px 6px; border-bottom: 1px solid var(--border); color: #fff; }
  .hero .eyebrow { white-space: normal; }
}
@media (max-width: 820px) {
  .mobile-nav { top: 82px; }
}
@media (max-width: 560px) {
  .header-inner { min-height: 76px; }
  .mobile-nav { top: 76px; }
  .project-card .project-image { height: 320px; min-height: 320px; }
  .hero .eyebrow { white-space: normal; }
  .ai-panel { top: max(8px, env(safe-area-inset-top)); bottom: max(8px, env(safe-area-inset-bottom)); }
  .ai-panel-header { padding: 14px 12px; gap: 6px; }
  .ai-panel-header .ai-avatar { width: 32px; height: 32px; flex-shrink: 0; }
  .ai-panel-header .ai-preview-header { gap: 8px; }
  .ai-panel-header .ai-preview-header strong { font-size: .85rem; }
  .ai-panel-header-actions { gap: 5px; }
  .new-ai-chat { padding: 8px; }
  html { scroll-padding-top: 92px; }
}
.ai-panel-messages .ai-lead-form {
  min-width: 0;
}
.ai-chat-form {
  margin-top: auto;
}
@media (max-width: 560px) {
  .ai-panel-messages { padding: 14px; }
  .ai-panel-messages > .ai-message { max-width: 95%; }
  .ai-chat-form { padding: 10px 14px 14px; }
  .ai-panel-options { padding: 0 14px 10px; }
}


/* Device-aware appearance with orange glass controls. */
.appearance-control{position:fixed;bottom:16px;left:16px;z-index:80;display:flex;gap:8px;align-items:center;padding:8px 12px;border:1px solid var(--border-strong);border-radius:16px;background:var(--surface-solid,var(--panel-solid));color:var(--text);font-size:12px;box-shadow:0 4px 20px #0002}
.appearance-control select{min-height:36px;max-width:85px;border-radius:8px;border:1px solid #a84608;background:#a84608;color:#fff;padding:6px;font:inherit}
:root[data-theme="light"]{--bg:#f5f6f8;--bg-deep:#e9edf2;--bg-soft:#eef1f5;--bg-secondary:#eef1f5;--surface:#ffffffed;--surface-solid:#fff;--surface-light:#eef1f5;--surface-raised:#fff;--panel:#ffffffed;--panel-solid:#fff;--panel-light:#e8edf3;--panel-raised:#f0f3f7;--white:#18212b;--text:#18212b;--text-soft:#43505f;--text-secondary:#43505f;--text-muted:#586575;--muted:#586575;--border:#18212b22;--border-strong:#18212b38;--shadow:0 18px 55px #1b273518;--shadow-deep:0 38px 120px #1b273522}
:root[data-theme="light"] body{background:var(--bg);color:var(--text)}
:root[data-theme="light"] :is(input,textarea,select):not(#appearance-mode){background:#fff;color:#18212b;border-color:#788494}
:root[data-theme="light"] :is(input,textarea)::placeholder{color:#637080}
:root[data-theme="light"] :is(button,a.button,.quick-action-card,#appearance-mode){color:#151515;background:linear-gradient(180deg,rgba(255,145,55,.30),rgba(255,106,0,.18));border-color:rgba(232,107,32,.42);backdrop-filter:blur(14px) saturate(145%);-webkit-backdrop-filter:blur(14px) saturate(145%);box-shadow:inset 0 1px 0 rgba(255,255,255,.60),inset 0 -1px 0 rgba(177,62,8,.15),0 8px 24px rgba(164,68,15,.12);text-shadow:none}
:root[data-theme="light"] :is(button,a.button,.quick-action-card,#appearance-mode):hover{background:linear-gradient(180deg,rgba(255,145,55,.40),rgba(255,106,0,.28));border-color:rgba(232,107,32,.85)}
@media(max-width:600px){.appearance-control{bottom:10px;left:10px;padding:4px 8px;gap:5px}}

:root[data-theme="light"] :is(.site-header,.mobile-nav,.site-footer,.ai-panel,.ai-panel-body,.ai-panel-input,.ai-lead-form,.ai-lead-field,.enquiry-information){background:#fffffff5;color:var(--text)}
:root[data-theme="light"] :is(.hero-feature-card,.service-card,.energy-feature,.value-grid article,.project-card,.ai-preview,.customer-form,.review-placeholder,.ai-message,.energy-flow div,.support-options span){background:#fff;color:var(--text);border-color:var(--border-strong)}
:root[data-theme="light"] :is(.desktop-nav a,.mobile-nav a,.energy-flow strong,.ai-preview-header strong,.enquiry-information summary,.form-status,.ai-lead-form,.ai-lead-field){color:var(--text)}
:root[data-theme="light"] :is(.ai-section,.energy-section,.form-section,.booking-section,.reviews-section,.projects-section,.final-cta,.quick-actions-section){background:var(--bg-soft)}
:root[data-theme="light"] .hero h1 span{color:#526070}
:root[data-theme="light"] :is(.brand-logo,.footer-logo){background:#11151a;border-radius:12px;padding:5px}
:root[data-theme="light"] :is(.quick-action-card p,.quick-action-card .quick-action-title,.quick-action-arrow,.quick-action-number){color:#151515}
:root[data-theme="light"] .form-status{background:#fff4eb}
:root[data-theme="light"] .enquiry-information a{color:#a83f08}

:root[data-theme="light"] :is(.floating-ai-button span,.ai-avatar){color:#151515}
:root[data-theme="light"] .mobile-menu-button span{background:#151515}

/* Audit: consistent controls, clearer headings, keyboard and touch access. */
.quick-action-title { display: block; font-weight: 750; line-height: 1.2; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 14px 20px; border-radius: 12px; background: #ff6a00; color: #151515; font-weight: 750; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
:where(button,a.button) { min-height: 44px; }
:is(.new-ai-chat,.close-ai,.gallery-prev,.gallery-next) { min-width: 44px; min-height: 44px; }
:is(.button,.new-ai-chat,.ai-panel-options button) { font-size: .95rem; line-height: 1.25; }
.button { padding-block: 12px; }
.gallery-dots { padding: 4px; gap: 2px; background: rgba(245,246,248,.65); }
.gallery-dots button { position: relative; width: 44px; height: 44px; min-width: 44px; min-height: 44px; background: transparent !important; box-shadow: none !important; border: 0 !important; }
.gallery-dots button::after { content: ''; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; border-radius: 50%; transform: translate(-50%,-50%); background: #694127; }
.gallery-dots button.active::after { width: 20px; border-radius: 8px; background: #dc5900; }
.enquiry-information summary,.faq-list summary { min-height: 44px; padding: 12px 0; line-height: 1.4; }
.business-identifiers { font-size: .8rem; line-height: 1.7; color: var(--text-soft); }
.footer-column a { overflow-wrap: anywhere; min-height: 44px; display: inline-flex; align-items: center; }
.faq-section { border-top: 1px solid var(--border); background: var(--bg-soft); }
.faq-list { max-width: 900px; }
.faq-list details { border-bottom: 1px solid var(--border-strong); padding: 8px 0; }
.faq-list summary { cursor: pointer; font-weight: 700; color: var(--text); }
.faq-list p { max-width: 75ch; padding: 0 0 16px; line-height: 1.65; color: var(--text-soft); }
.faq-list a { text-decoration: underline; overflow-wrap: anywhere; }
:root[data-theme="light"] :is(.eyebrow,.card-label,.service-number,.energy-feature > span,.project-content > span) { color: #aa4300; }
@media (min-width: 821px) { .hero h1 { font-size: clamp(3.5rem,7.2vw,6.2rem); } }
@media (min-width: 561px) { :is(.section-heading h2,.about-grid h2,.energy-content h2,.ai-content h2,.form-intro h2,.booking-grid h2,.final-cta h2) { font-size: clamp(2.5rem,4.4vw,3.7rem); line-height: 1.1; } }
@media (max-width: 1180px) and (min-width: 821px) { .desktop-nav { display: none; } .mobile-menu-button { display: block; } .mobile-nav.is-open { display: grid; } .mobile-nav { position: absolute; top: 84px; right: 0; left: 0; padding: 16px 24px; background: var(--surface-solid); border-bottom: 1px solid var(--border); } .mobile-nav a { display: flex; align-items: center; min-height: 44px; padding: 12px 6px; } }
@media (max-width: 560px) { .hero h1 { font-size: clamp(2.8rem,13.5vw,4.25rem); } :is(.section-heading h2,.about-grid h2,.energy-content h2,.ai-content h2,.form-intro h2,.booking-grid h2,.final-cta h2) { font-size: clamp(2rem,9.5vw,2.7rem); line-height: 1.12; } .appearance-control { bottom: max(10px,env(safe-area-inset-bottom)); } .floating-ai-button { bottom: max(14px,env(safe-area-inset-bottom)); } }

.appearance-control select { min-height: 44px; }
#mobile-nav { top: 100%; max-height: calc(100vh - 84px); max-height: calc(100dvh - 84px); overflow-y: auto; }

/* Quiet electrical trace detail in wide-screen margins. */
@media (min-width: 1440px) {
  body::before, body::after {
    content: "";
    position: fixed;
    top: 110px;
    bottom: 20px;
    width: min(130px, calc((100vw - 1240px) / 2 - 22px));
    pointer-events: none;
    z-index: 1;
    opacity: .32;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='480' viewBox='0 0 120 480'%3E%3Cg fill='none' stroke='%23ff6a00' stroke-width='1'%3E%3Cpath d='M20 0v74l30 30v90l-30 30v120l30 30v106M80 0v40L60 60v90l30 30v80l-30 30v130l30 30v30M105 0v120l-20 20v40M105 300v100l-20 20v60'/%3E%3Ccircle cx='50' cy='194' r='4'/%3E%3Ccircle cx='90' cy='260' r='4'/%3E%3Ccircle cx='85' cy='180' r='4'/%3E%3Ccircle cx='20' cy='344' r='4'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat-y;
    background-position: center top;
    mask-image: linear-gradient(transparent, #000 12%, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 85%, transparent);
  }
  body::before { left: 10px; }
  body::after { right: 10px; transform: scaleX(-1); }
  html[data-theme="light"] body::before,
  html[data-theme="light"] body::after { opacity: .23; }
}

/* Clear appointment details in the customer conversation. */
.ai-panel-messages .ai-assessment-confirmation { display: grid; gap: 8px; }
.ai-panel-messages .ai-assessment-confirmation h3 { margin: 0; font-size: 1rem; }
