/*
Theme Name: Altech Digital Child
Theme URI: https://altechdigital.co.uk
Description: Child theme for Altech Digital customisations.
Author: Altech Digital
Author URI: https://altechdigital.co.uk
Template: altech-digital-theme
Version: 1.0.0
Text Domain: altech-digital-child
*/

:root {
  --altech-accent-warm: #ff8a2a;
}

body {
  background: #020b1d;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.fx-wrap {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(2, 20, 58, 0.97), rgba(8, 49, 110, 0.95)),
    radial-gradient(circle at 78% 15%, rgba(66, 173, 255, 0.42), rgba(66, 173, 255, 0));
}

.circuit-base,
.coast {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.circuit-base {
  background-image: url("assets/circuit-base.jpg");
  opacity: 0.36;
  mix-blend-mode: screen;
  animation: circuitPulse 7s ease-in-out infinite;
}

.coast {
  opacity: 0;
  mix-blend-mode: normal;
  filter: saturate(1.08) contrast(1.06);
  animation: coastCycle 24s linear infinite;
}

.coast-a {
  background-image: url("assets/coast-1.jpg");
  animation-delay: 0s;
}

.coast-b {
  background-image: url("assets/coast-2.jpg");
  animation-delay: 8s;
}

.coast-c {
  background-image: url("assets/coast-3.jpg");
  animation-delay: 16s;
}

.coast-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(125deg, rgba(2, 18, 56, 0.50), rgba(6, 42, 102, 0.24));
  background-size: cover;
  background-position: center;
  mix-blend-mode: normal;
  opacity: 0.52;
  transform: scale(1.03);
}

.coast-overlay-lite {
  opacity: 0.78;
}

#circuitFx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.82;
}

@keyframes coastCycle {
  0% { opacity: 0; transform: scale(1.03); }
  8% { opacity: 0.52; }
  30% { opacity: 0.52; }
  40% { opacity: 0; transform: scale(1.06); }
  100% { opacity: 0; transform: scale(1.03); }
}

@keyframes circuitPulse {
  0%, 100% { opacity: 0.24; }
  50% { opacity: 0.34; }
}

.site-header {
  border-bottom-color: #2a4d82;
  background: rgba(4, 16, 38, 0.86);
}

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

.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo .custom-logo {
  width: auto;
  max-width: 440px;
  height: 104px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(123, 220, 255, 0.45);
  box-shadow: 0 10px 24px rgba(14, 66, 144, 0.42);
  background: rgba(8, 24, 52, 0.65);
}

.brand-logo .custom-logo-link {
  display: inline-block;
  line-height: 0;
}

.logo-fallback {
  width: 104px;
  height: 104px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #2f73ff, #39c7ff);
  border: 1px solid rgba(123, 220, 255, 0.45);
}

.site-title {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}

.main-nav a {
  padding: 8px 10px;
  border-radius: 8px;
}

.main-nav a:hover {
  background: rgba(49, 115, 255, 0.16);
}

.hero {
  padding-top: 88px;
}

.hero h1 {
  max-width: 15ch;
}

.hero p {
  max-width: 58ch;
}

.button,
button,
input[type="submit"] {
  box-shadow: 0 6px 18px rgba(47, 115, 255, 0.25);
  border-radius: 10px;
}

.card {
  border-color: #2d558c;
  box-shadow: 0 10px 28px rgba(2, 10, 28, 0.28);
}

.services-band {
  background: linear-gradient(160deg, rgba(4, 30, 72, 0.94), rgba(5, 24, 56, 0.96));
  border: 1px solid rgba(74, 134, 230, 0.38);
  border-radius: 14px;
  padding: 18px;
  margin-top: 8px;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.service-card h3 {
  margin: 2px 0 8px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.45;
}

.site-content h1,
.site-content h2 {
  margin-top: 0;
}

.site-content {
  flex: 1 0 auto;
}

.site-footer {
  margin-top: auto;
}

.hero-clean {
  padding-bottom: 26px;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9ec3ff;
  margin-bottom: 8px;
}

.altech-page {
  max-width: 920px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 16px 0 28px;
}

.price-card {
  background: linear-gradient(165deg, rgba(19, 50, 95, 0.84), rgba(12, 33, 65, 0.94));
  border: 1px solid #2d558c;
  border-radius: 12px;
  padding: 16px;
}

.price-card .price {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 6px 0 8px;
}

.price-card ul,
.altech-page ul {
  margin: 0;
  padding-left: 18px;
}

.contact-box {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid #2d558c;
  border-radius: 12px;
  background: rgba(10, 36, 84, 0.78);
}

.altech-contact-form .form-row {
  margin-bottom: 12px;
}

.altech-contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.altech-contact-form input,
.altech-contact-form textarea {
  width: 100%;
}

.altech-contact-form .form-actions {
  margin-top: 14px;
}

.altech-form-message {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
}

.altech-form-message.ok {
  background: rgba(19, 133, 91, 0.22);
  border: 1px solid rgba(79, 222, 162, 0.45);
  color: #d7ffef;
}

.altech-form-message.error {
  background: rgba(150, 32, 32, 0.24);
  border: 1px solid rgba(255, 128, 128, 0.45);
  color: #ffdede;
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 92px;
    padding: 8px 0 10px;
  }

  .main-nav ul {
    flex-wrap: wrap;
    gap: 8px;
  }

  .brand-logo .custom-logo {
    height: 72px;
    max-width: 300px;
  }

  .services-band {
    padding: 12px;
  }
}
