:root {
  --ink-950: #071327;
  --ink-900: #0a1d3a;
  --ink-800: #10315a;
  --ink-700: #1b4778;
  --ink-600: #2b6199;
  --sky-200: #d6ebff;
  --sky-100: #edf6ff;
  --teal-500: #17a6a2;
  --teal-400: #2dc6c1;
  --gold-500: #ffb000;
  --gold-400: #ffcb3d;
  --gold-300: #ffe07a;
  --slate-900: #162132;
  --slate-700: #3f4f66;
  --slate-500: #6b7b94;
  --slate-300: #b6c4d6;
  --slate-200: #d8e2ee;
  --slate-100: #ecf1f7;
  --paper: #f8fbff;
  --white: #ffffff;
  --success: #198754;
  --danger: #b32a3b;
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 14px 30px rgba(7, 19, 39, 0.11);
  --shadow-card: 0 24px 48px rgba(6, 21, 44, 0.16);
  --shadow-strong: 0 36px 62px rgba(6, 21, 44, 0.26);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--slate-900);
  line-height: 1.6;
  background:
    radial-gradient(1200px 700px at 100% -10%, rgba(45, 198, 193, 0.22), transparent 55%),
    radial-gradient(1000px 620px at -12% -10%, rgba(43, 97, 153, 0.26), transparent 58%),
    linear-gradient(180deg, #f7faff 0%, #e9eff7 100%);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.72rem;
  line-height: 1.15;
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.9rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.55rem);
}

p {
  margin: 0 0 1rem;
  color: #243753;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1160px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 220;
  background:
    linear-gradient(90deg, rgba(5, 14, 30, 0.98), rgba(10, 33, 64, 0.94)),
    rgba(8, 26, 52, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--white);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
}

.brand-logo {
  width: 156px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-title {
  font-size: 1rem;
}

.brand-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.site-nav a {
  padding: 0.38rem 0.08rem;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  background: linear-gradient(90deg, #8fd8ff, #2dc6c1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.site-nav a.active {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(143, 216, 255, 0.38);
}

.site-call-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.05rem;
  border-radius: 999px;
  background: linear-gradient(112deg, var(--gold-300), var(--gold-400) 38%, var(--gold-500) 76%);
  color: #06223f;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 24px rgba(255, 176, 0, 0.3);
  animation: ctaPulse 2.6s ease-in-out infinite;
}

.site-call-now:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.44);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.5rem 0.76rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 600;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: grid;
  place-items: center;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -14% -180px;
  height: 340px;
  background: radial-gradient(circle at 30% 25%, rgba(45, 198, 193, 0.26), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(4, 12, 27, 0.89), rgba(10, 40, 76, 0.8)),
    url("https://images.unsplash.com/photo-1628744448840-55bdb2497bd4?auto=format&fit=crop&w=1900&q=80") center/cover no-repeat;
  z-index: -2;
  will-change: transform;
  transform: translateY(var(--hero-shift, 0px));
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 1.35rem;
  align-items: center;
}

.hero-content {
  padding: 5.15rem 0 5.7rem;
}

.hero h1,
.page-hero h1 {
  color: var(--white);
}

.hero p,
.page-hero p {
  color: rgba(247, 251, 255, 0.92);
}

.hero p {
  max-width: 700px;
  font-size: 1.11rem;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.86rem;
}

.hero-metrics {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.56rem;
}

.hero-metrics span {
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.4rem 0.72rem;
  color: #f3fbff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(3, 12, 28, 0.52);
}

.panel,
.card,
.trust-grid article,
.testimonial-card,
.project-card,
.gallery-card,
.team-card,
.blog-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(27, 71, 120, 0.13);
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
  box-shadow: var(--shadow-card);
}

.panel,
.card {
  padding: 1.2rem;
}

.hero-quote-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(170deg, rgba(255, 255, 255, 0.98), rgba(237, 248, 255, 0.96));
  border: 1px solid rgba(106, 153, 211, 0.42);
  border-top: 5px solid var(--gold-500);
  box-shadow: var(--shadow-strong);
}

.hero-quote-panel::after {
  content: "";
  position: absolute;
  inset: auto -42px -68px auto;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(45, 198, 193, 0.22), transparent 70%);
  pointer-events: none;
}

.hero-dark-eyebrow {
  color: #2a678f;
}

.hero-call-link {
  display: inline-block;
  margin-top: 0.72rem;
  color: var(--ink-700);
  font-weight: 700;
}

.quick-quote-form .field-row {
  margin-bottom: 0.76rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.34rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.79rem;
  transition: transform 0.2s ease, box-shadow 0.22s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(7, 19, 39, 0.2);
}

.btn-primary {
  color: #04192f;
  border-color: rgba(255, 255, 255, 0.26);
  background: linear-gradient(112deg, var(--gold-300), var(--gold-400) 38%, var(--gold-500) 76%);
  box-shadow: 0 14px 24px rgba(255, 176, 0, 0.34);
}

.btn-secondary {
  color: #f0f6ff;
  border-color: rgba(235, 246, 255, 0.65);
  background: rgba(8, 29, 58, 0.62);
}

.btn-block {
  width: 100%;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(45, 198, 193, 0.44);
  outline-offset: 2px;
}

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--slate-500);
  margin-bottom: 0.56rem;
  font-weight: 700;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: rgba(216, 236, 255, 0.95);
}

.inline-note {
  font-size: 0.93rem;
  color: #2f4d6d;
  margin-bottom: 0.84rem;
}

.section {
  padding: 4.8rem 0;
}

.section-head {
  margin-bottom: 1.38rem;
}

.trust-strip {
  margin-top: -1.5rem;
}

.trust-grid,
.service-cards,
.service-list,
.project-grid,
.gallery-grid,
.team-grid,
.pricing-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.04rem;
}

.process-grid,
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.card:hover,
.project-card:hover,
.team-card:hover,
.blog-card:hover,
.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 52px rgba(6, 21, 44, 0.2);
}

.card-lg {
  min-height: 194px;
}

.project-card,
.gallery-card,
.team-card,
.blog-card {
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-card div,
.blog-card div {
  padding: 0.95rem 1.02rem 1.02rem;
}

.social-proof {
  padding-top: 2.22rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.badge-row span {
  border-radius: 999px;
  padding: 0.42rem 0.78rem;
  border: 1px solid rgba(16, 49, 90, 0.2);
  background: linear-gradient(180deg, #f6fcff, #e2f2ff);
  color: #12385f;
  font-size: 0.86rem;
  font-weight: 700;
}

.split-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink-700);
}

.pricing-note {
  margin-top: 1rem;
  color: var(--slate-700);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  background: linear-gradient(180deg, #ffffff, #f3f9ff);
  border: 1px solid rgba(16, 49, 90, 0.12);
  border-radius: 12px;
  padding: 0.78rem 0.95rem;
  box-shadow: var(--shadow-soft);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink-900);
}

.faq-list p {
  margin: 0.65rem 0 0;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 3.9rem 0;
  color: var(--white);
  background: linear-gradient(110deg, #050e1d, #0a2950 52%, #0e4f7d);
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 176, 0, 0.3), transparent 66%);
  pointer-events: none;
}

.cta-band-strong {
  background: linear-gradient(110deg, #030911, #081b37 52%, #0f4570);
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.newsletter-wrap {
  padding-top: 0;
}

.newsletter-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  min-width: 240px;
  border: 1px solid var(--slate-300);
  border-radius: 999px;
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.estimator-form input[type="range"] {
  width: 100%;
}

.estimator-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.estimator-check input {
  width: auto;
}

.estimator-results h3 {
  font-size: clamp(1.64rem, 2.5vw, 2.2rem);
  color: var(--ink-700);
}

.estimate-finance {
  margin-top: 0.7rem;
  color: #274867;
}

.compare-panel {
  display: grid;
  gap: 0.72rem;
}

.compare-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(16, 49, 90, 0.18);
  box-shadow: var(--shadow-card);
}

.compare-wrap img {
  width: 100%;
  height: clamp(280px, 48vw, 510px);
  object-fit: cover;
}

.compare-after {
  position: absolute;
  inset: 0;
  width: 55%;
  overflow: hidden;
  border-right: 2px solid rgba(255, 255, 255, 0.9);
}

.compare-label {
  position: absolute;
  top: 0.72rem;
  z-index: 3;
  background: rgba(7, 19, 39, 0.76);
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.79rem;
  padding: 0.27rem 0.62rem;
}

.compare-label.before {
  left: 0.72rem;
}

.compare-label.after {
  right: 0.72rem;
}

#compareRange {
  width: 100%;
}

.testimonial-carousel {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}

.slide {
  min-width: 100%;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(15, 65, 111, 0.28);
  background: linear-gradient(180deg, #f6fbff, #ddeeff);
  color: #164671;
  font-size: 1.2rem;
  cursor: pointer;
}

.carousel-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: #b6cde3;
  cursor: pointer;
}

.carousel-dot.active {
  background: #155082;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 5.15rem 0 4.45rem;
  color: var(--white);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -160px;
  height: 280px;
  background: radial-gradient(circle at 50% 0, rgba(45, 198, 193, 0.26), transparent 66%);
  pointer-events: none;
}

.page-hero h1,
.page-hero p {
  max-width: 760px;
}

.page-hero-about {
  background:
    linear-gradient(130deg, rgba(7, 19, 39, 0.92), rgba(15, 60, 103, 0.84)),
    url("https://images.unsplash.com/photo-1542744173-8e7e53415bb0?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}

.page-hero-services {
  background:
    linear-gradient(130deg, rgba(7, 19, 39, 0.92), rgba(16, 73, 120, 0.83)),
    url("https://images.unsplash.com/photo-1461749280684-dccba630e2f6?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}

.page-hero-gallery {
  background:
    linear-gradient(130deg, rgba(7, 19, 39, 0.9), rgba(17, 80, 126, 0.82)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}

.page-hero-contact {
  background:
    linear-gradient(130deg, rgba(7, 19, 39, 0.9), rgba(18, 77, 123, 0.84)),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
}

.team-card img {
  width: 100%;
  height: 225px;
  object-fit: cover;
}

.team-card h3,
.team-card p {
  padding-left: 1rem;
  padding-right: 1rem;
}

.team-card p:last-child {
  padding-bottom: 1rem;
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 0.86rem 0.95rem 1rem;
  color: #264260;
}

.blog-grid {
  display: grid;
  gap: 1rem;
}

.blog-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

.blog-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.contact-form h2 {
  margin-bottom: 1rem;
}

.field-row {
  margin-bottom: 0.9rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.field-row label {
  display: block;
  margin-bottom: 0.28rem;
  font-weight: 700;
  color: #19365b;
}

.field-row input,
.field-row textarea,
.field-row select {
  width: 100%;
  border: 1px solid #a6bed8;
  border-radius: 10px;
  padding: 0.74rem;
  font-size: 1rem;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  background: #fdfefe;
}

.field-row input:focus,
.field-row textarea:focus,
.field-row select:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(45, 198, 193, 0.22);
}

.form-feedback {
  margin-top: 0.8rem;
  min-height: 1.2rem;
  font-weight: 600;
  color: var(--success);
}

.btn.is-loading {
  opacity: 0.74;
  cursor: wait;
}

.site-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  max-width: 340px;
  background: #0a2648;
  color: #ffffff;
  border-radius: 11px;
  padding: 0.72rem 0.92rem;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
  z-index: 280;
}

.site-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin-bottom: 0.92rem;
}

.wizard-step {
  text-align: center;
  background: #e6f3ff;
  border: 1px solid #c8ddf1;
  border-radius: 999px;
  padding: 0.35rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #2f628f;
}

.wizard-step.active {
  background: #0d3f6b;
  color: #ffffff;
  border-color: #0d3f6b;
}

.wizard-pane {
  display: none;
}

.wizard-pane.active {
  display: block;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.social-links {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.social-links a {
  border: 1px solid #c6d9ec;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  color: #214c75;
  font-weight: 700;
  background: #f4faff;
}

.contact-alert {
  margin-top: 1rem;
  padding: 0.92rem;
  border-radius: 12px;
  border: 1px solid rgba(21, 74, 121, 0.24);
  background: linear-gradient(180deg, #f3faff, #e2f1ff);
}

.map-panel iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 10px;
}

.site-footer {
  background:
    linear-gradient(140deg, #071327, #0a203f 55%, #10355f);
  color: rgba(255, 255, 255, 0.86);
  padding-top: 2.8rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1.3rem;
}

.site-footer h3,
.site-footer h4 {
  color: var(--white);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.44rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  padding-top: 1rem;
}

.legal-links a {
  color: #d2e9ff;
}

.copyright {
  margin: 1.42rem 0 0;
  text-align: center;
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.67);
}

.legal-page {
  max-width: 900px;
}

.legal-page h1 {
  margin-bottom: 1rem;
}

.legal-page p {
  max-width: 72ch;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.56s ease, transform 0.56s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.chatbot {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 220;
}

.chat-toggle {
  border: none;
  border-radius: 999px;
  background: linear-gradient(120deg, #0f3e6f, #081f3d);
  color: var(--white);
  font-weight: 700;
  padding: 0.76rem 1.04rem;
  box-shadow: 0 16px 26px rgba(7, 19, 39, 0.35);
  cursor: pointer;
}

.chat-panel {
  width: min(344px, calc(100vw - 1.5rem));
  max-height: 460px;
  margin-top: 0.6rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(18, 67, 112, 0.18);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: none;
}

.chat-panel.open {
  display: flex;
  flex-direction: column;
  animation: rise 0.25s ease;
}

.chat-head {
  background: linear-gradient(120deg, #081e3a, #0f3e6f);
  color: var(--white);
  padding: 0.82rem;
}

.chat-head p {
  color: rgba(235, 246, 255, 0.86);
  margin: 0;
}

.chat-messages {
  padding: 0.8rem;
  overflow-y: auto;
  display: grid;
  gap: 0.55rem;
  background: #f4f9ff;
  flex: 1;
}

.msg {
  padding: 0.56rem 0.72rem;
  border-radius: 10px;
  max-width: 88%;
  font-size: 0.96rem;
}

.msg.bot {
  background: #dfefff;
}

.msg.user {
  margin-left: auto;
  background: #c8e7ff;
}

.chat-input-wrap {
  display: flex;
  gap: 0.4rem;
  padding: 0.75rem;
  border-top: 1px solid #dde7f4;
}

.chat-input-wrap input {
  flex: 1;
  border: 1px solid #c3d7ea;
  border-radius: 999px;
  padding: 0.56rem 0.8rem;
}

.chat-input-wrap button {
  border: none;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: #114a79;
  color: var(--white);
  cursor: pointer;
}

.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 24, 46, 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 260;
  display: none;
  gap: 0.55rem;
  padding: 0.62rem 0.74rem calc(0.62rem + env(safe-area-inset-bottom));
}

.mobile-cta-bar a {
  flex: 1;
  text-align: center;
  border-radius: 999px;
  padding: 0.62rem 0.8rem;
  font-weight: 700;
}

.mobile-cta-primary {
  background: linear-gradient(112deg, var(--gold-300), var(--gold-400) 38%, var(--gold-500) 76%);
  color: #06223f;
}

.hero .btn-primary,
.cta-band .btn-primary,
.mobile-cta-primary {
  animation: ctaPulse 2.6s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow: 0 12px 24px rgba(255, 176, 0, 0.28);
  }

  50% {
    box-shadow: 0 18px 30px rgba(255, 176, 0, 0.44);
  }
}

.mobile-cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.44);
  color: #ffffff;
}

@keyframes rise {
  from {
    transform: translateY(12px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 960px) {
  .hero-layout,
  .trust-grid,
  .service-cards,
  .service-list,
  .process-grid,
  .timeline-grid,
  .split-highlight,
  .project-grid,
  .team-grid,
  .pricing-grid,
  .testimonial-grid,
  .estimator-grid,
  .gallery-grid,
  .footer-grid,
  .two-col,
  .contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-card {
    grid-template-columns: 1fr;
  }

  .newsletter-panel,
  .newsletter-form {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .cta-band-content {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .site-call-now {
    margin-left: auto;
    padding: 0.62rem 0.88rem;
    font-size: 0.76rem;
    box-shadow: 0 10px 20px rgba(255, 176, 0, 0.24);
  }

  .site-nav {
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    top: 76px;
    display: none;
    flex-direction: column;
    background: linear-gradient(130deg, #081a34, #0c315c);
    border-radius: 12px;
    padding: 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-card);
  }

  .site-nav.open {
    display: flex;
  }

  .hero-layout,
  .trust-grid,
  .service-cards,
  .service-list,
  .process-grid,
  .timeline-grid,
  .split-highlight,
  .project-grid,
  .team-grid,
  .pricing-grid,
  .testimonial-grid,
  .estimator-grid,
  .gallery-grid,
  .footer-grid,
  .two-col,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .brand-subtitle {
    display: none;
  }

  .brand-logo {
    width: 136px;
  }

  .nav-wrap {
    gap: 0.58rem;
  }

  .hero {
    min-height: 66vh;
  }

  .hero-content {
    padding-top: 3.9rem;
  }

  .carousel-btn {
    display: none;
  }

  .wizard-progress {
    grid-template-columns: 1fr;
  }

  .wizard-actions {
    flex-direction: column;
  }

  .mobile-cta-bar {
    display: flex;
  }

  .chatbot {
    bottom: 5.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible,
  .carousel-track {
    transition: none;
    transform: none;
    opacity: 1;
  }

  html {
    scroll-behavior: auto;
  }

  .hero .btn-primary,
  .cta-band .btn-primary,
  .mobile-cta-primary {
    animation: none;
  }
}
