:root {
  --color-navy: #0f172a;
  --color-navy-dark: #020617;
  --color-text: #111827;
  --color-muted: #475569;
  --color-muted-2: #64748b;
  --color-green: #166534;
  --color-cyan: #0891b2;
  --color-soft-green: #ecfdf5;
  --color-green-light: #dcfce7;
  --color-page: #f8fafc;
  --color-white: #ffffff;
  --color-border: rgba(15, 23, 42, 0.08);

  --gradient-brand: linear-gradient(135deg, var(--color-green), var(--color-cyan));
  --gradient-dark: linear-gradient(135deg, #0f172a, #1e293b);

  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 18px 42px rgba(15, 23, 42, 0.08);
  --shadow-card-hover: 0 26px 60px rgba(15, 23, 42, 0.14);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --radius-2xl: 30px;

  --header-height: 82px;
}

/* RESET */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-page);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* ACCESSIBILITY */

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--color-white);
  color: var(--color-text);
  padding: 10px 14px;
  z-index: 999999;
  border-radius: var(--radius-sm);
  font-weight: 800;
}

.skip-link:focus {
  left: 12px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #06b6d4;
  outline-offset: 3px;
}

/* HEADER */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 12px;
  padding-right: 20px;
}

.header-inner {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 6px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  font-size: 18px;
  font-weight: 800;
  color: var(--color-white);
  white-space: nowrap;
  transition: color 0.35s ease;
}

.logo img {
  max-height: 58px;
  width: auto;
  display: block;
  transform-origin: center;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.logo img.spin-horizontal {
  animation: spinHorizontalOnce 0.55s ease 1;
}

.site-header.scrolled {
  background: rgba(2, 6, 23, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(12px);
}

.site-header.scrolled .logo {
  color: var(--color-white);
}

/* Optional gradient header for inner pages */

body.brisnorth-gradient-header-page .site-header:not(.scrolled) {
  background: var(--gradient-brand);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(12px);
}

body.brisnorth-gradient-header-page .site-header:not(.scrolled) .logo {
  color: var(--color-white);
}

body.brisnorth-gradient-header-page .site-header:not(.scrolled) .menu-toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.38);
}

body.brisnorth-gradient-header-page .site-header:not(.scrolled) .menu-toggle span {
  background: var(--color-white);
}

/* DRAWER MENU */

.main-nav,
.nav-menu {
  display: none;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: 0.35s ease;
  z-index: 1201;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-white);
  display: block;
  transition: 0.35s ease;
}

.site-header.scrolled .menu-toggle,
body.drawer-open .menu-toggle {
  background: var(--color-white);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.site-header.scrolled .menu-toggle span,
body.drawer-open .menu-toggle span {
  background: var(--color-navy);
}

body.drawer-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.drawer-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.drawer-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.35s ease;
  z-index: 1090;
}

body.drawer-open .drawer-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.drawer-open {
  overflow: hidden;
}

.site-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 86vw);
  height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(8, 145, 178, 0.12), transparent 34%),
    radial-gradient(circle at bottom left, rgba(22, 101, 52, 0.12), transparent 34%),
    var(--color-white);
  color: var(--color-text);
  transform: translateX(100%);
  transition: transform 0.38s ease;
  z-index: 1100;
  box-shadow: -24px 0 70px rgba(15, 23, 42, 0.22);
  padding: 82px 22px 24px;
  overflow-y: auto;
}

body.drawer-open .site-drawer {
  transform: translateX(0);
}

.drawer-header {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}

.drawer-header span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  color: var(--color-cyan);
}

.drawer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 12px;
  border-radius: 14px;
  color: var(--color-text);
  font-size: clamp(16px, 1.7vw, 18px);
  font-weight: 750;
  line-height: 1.15;
  transition: 0.3s ease;
}

.drawer-nav a::after {
  content: "→";
  font-size: 15px;
  color: var(--color-cyan);
  opacity: 0;
  transform: translateX(-6px);
  transition: 0.3s ease;
}

.drawer-nav a:hover {
  background: var(--color-soft-green);
  color: var(--color-green);
  padding-left: 17px;
}

.drawer-nav a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.drawer-nav li:last-child a {
  margin-top: 10px;
  background: var(--gradient-brand);
  color: var(--color-white);
  box-shadow: 0 14px 34px rgba(22, 101, 52, 0.22);
}

.drawer-nav li:last-child a::after {
  color: var(--color-white);
  opacity: 1;
  transform: translateX(0);
}

.drawer-nav li:last-child a:hover {
  color: var(--color-white);
  padding-left: 12px;
  transform: translateY(-2px);
}

/* WordPress admin bar support */

body.admin-bar .site-drawer {
  top: 32px;
  height: calc(100vh - 32px);
}

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-drawer {
    top: 46px;
    height: calc(100vh - 46px);
  }

  body.admin-bar .site-header {
    top: 46px;
  }
}

/* ANCHOR OFFSET */

#homeHero,
#about,
#services,
#portfolio,
#process,
#testimonials,
#blog,
#quote,
#book,
#contact {
  scroll-margin-top: 100px;
}

/* BUTTONS */

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 16px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, color 0.35s ease;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--color-white);
  box-shadow: 0 12px 30px rgba(22, 101, 52, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

.btn-secondary.dark-text {
  background: var(--color-white);
  color: var(--color-text);
  border-color: #d1d5db;
}

/* HERO */

.hero-video-section {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #000;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(22, 101, 52, 0.3), transparent 34%),
    radial-gradient(circle at top right, rgba(8, 145, 178, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.58) 0%, rgba(15, 23, 42, 0.84) 100%);
  z-index: 2;
}

.hero-video-content {
  position: relative;
  z-index: 3;
  padding: 150px 0 120px;
}

.eyebrow,
.section-kicker {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--color-cyan);
  font-weight: 900;
  margin-bottom: 12px;
}

.hero-video-section .eyebrow {
  color: #bbf7d0;
}

.hero-video-section h1 {
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  line-height: 1.05;
  max-width: 980px;
  margin: 0 auto 18px;
  color: var(--color-white);
}

.hero-text {
  max-width: 820px;
  margin: 0 auto 28px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* SECTIONS */

.section {
  padding: 90px 0;
  background: var(--color-page);
  color: var(--color-text);
}

.section-alt {
  background: var(--color-soft-green);
}

.intro-section {
  background: var(--color-white);
}

.location-section {
  background: var(--color-page);
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading p,
.lead {
  max-width: 820px;
  color: var(--color-muted);
}

.lead {
  font-size: 18px;
}

.center-text {
  text-align: center;
}

.mt-32 {
  margin-top: 32px;
}

.mt-48 {
  margin-top: 48px;
}

/* GRID + CARDS */

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 18px;
}

.large-image {
  height: 360px;
}

.image-card {
  display: grid;
  gap: 24px;
}

.card-label {
  display: inline-block;
  color: var(--color-green);
  background: var(--color-green-light);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 10px;
}

/* PAGE CONTENT */

.page-content {
  padding: 140px 0 80px;
  background: var(--color-page);
  min-height: 70vh;
}

.page-content h1 {
  margin-bottom: 14px;
}

.content-section {
  margin-top: 48px;
}

.styled-list {
  padding-left: 20px;
}

.styled-list li {
  margin-bottom: 8px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

/* FORMS */

.custom-form {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.custom-form input,
.custom-form textarea,
.custom-form select {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-md);
  font: inherit;
  background: var(--color-white);
  transition: 0.25s ease;
}

.custom-form input:focus,
.custom-form textarea:focus,
.custom-form select:focus {
  outline: none;
  border-color: var(--color-green);
  box-shadow: 0 0 0 4px rgba(22, 101, 52, 0.12);
}

.custom-form button {
  border: none;
}

.form-message {
  max-width: 760px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  margin: 20px 0;
  font-weight: 800;
}

.form-message.success {
  background: var(--color-green-light);
  color: var(--color-green);
  border: 1px solid #86efac;
}

/* BLOG */

.post-meta {
  color: #6b7280;
  font-size: 14px;
}

.insights-page .blog-card {
  display: flex;
  flex-direction: column;
}

.insights-page .blog-card .btn {
  margin-top: auto;
}

.insights-accordion {
  display: grid;
  gap: 14px;
}

.insight-detail {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.insight-detail summary {
  cursor: pointer;
  padding: 18px 22px;
  color: var(--color-navy);
  font-weight: 900;
  list-style: none;
}

.insight-detail summary::-webkit-details-marker {
  display: none;
}

.insight-detail summary::after {
  content: "+";
  float: right;
  color: var(--color-cyan);
  font-size: 22px;
  line-height: 1;
}

.insight-detail[open] summary::after {
  content: "-";
}

.insight-detail p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--color-muted);
}

.single-post {
  max-width: 850px;
}

.featured-image {
  margin: 28px 0;
}

.featured-image img {
  border-radius: var(--radius-lg);
}

.pagination {
  color: var(--color-text);
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  margin-right: 6px;
  border-radius: 999px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  font-weight: 800;
}

.pagination .current {
  background: var(--gradient-brand);
  color: var(--color-white);
}

/* METRICS */

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.metric-box {
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-page) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.metric-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
}

.metric-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  color: var(--color-muted);
  font-size: 15px;
}

/* PROCESS */

.process-section {
  background: var(--color-page);
}

.process-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 34px;
  align-items: start;
  margin-top: 30px;
}

.process-panel {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-card);
}

.process-steps {
  display: grid;
  gap: 18px;
}

.process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-page) 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: 0.3s ease;
}

.process-step:hover {
  transform: translateX(6px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.process-badge {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: var(--color-white);
  background: var(--gradient-brand);
  box-shadow: 0 10px 24px rgba(22, 101, 52, 0.24);
}

.process-copy h3 {
  margin-bottom: 8px;
}

.process-copy p {
  margin: 0;
  color: var(--color-muted);
}

.highlight-stack {
  display: grid;
  gap: 18px;
}

.highlight-card {
  border-radius: var(--radius-xl);
  padding: 28px;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  min-height: 150px;
}

.highlight-card.primary {
  background: var(--gradient-dark);
}

.highlight-card.secondary {
  background: var(--gradient-brand);
}

.highlight-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  bottom: -40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(4px);
}

.highlight-card h3,
.highlight-card p {
  position: relative;
  z-index: 1;
}

.highlight-card p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 90%;
}

/* ASSURANCE */

.assurance-section {
  background: var(--color-soft-green);
}

.assurance-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 30px;
}

.assurance-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-card);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.check-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
  color: #334155;
}

.check-mark {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 145, 178, 0.14);
  color: var(--color-cyan);
  font-weight: 900;
}

.assurance-quote {
  background: linear-gradient(135deg, var(--color-white), var(--color-page));
  border-left: 5px solid var(--color-green);
}

.assurance-quote blockquote {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--color-text);
}

.assurance-quote strong {
  color: var(--color-muted);
}

/* CTA */

.cta-panel {
  background:
    radial-gradient(circle at top left, rgba(22, 101, 52, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(8, 145, 178, 0.12), transparent 28%),
    var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow-card);
}

.cta-section {
  background: linear-gradient(135deg, #052e16, var(--color-navy));
  color: var(--color-white);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.84);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* SLIDER */

.slider {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.35s ease;
}

.slide {
  min-width: 100%;
  padding: 0 48px;
}

.testimonial-card {
  text-align: center;
}

.testimonial-card.large {
  max-width: 820px;
  margin: 0 auto;
}

.avatar-initial {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  color: var(--color-white);
  font-size: 34px;
  font-weight: 900;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  border: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 18px;
}

.slider-btn.prev {
  left: 0;
}

.slider-btn.next {
  right: 0;
}

/* REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

/* FOOTER */

.site-footer {
  background: var(--color-navy-dark);
  color: var(--color-white);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer a,
.footer-menu a {
  color: rgba(255, 255, 255, 0.86);
}

.site-footer a:hover,
.footer-menu a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 36px;
  padding: 20px 0;
}

/* CALENDLY */

.calendly-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.calendly-wrapper iframe {
  display: block;
  width: 100%;
  min-height: 720px;
  border: 0;
  border-radius: 18px;
  background: var(--color-white);
}

/* WHATSAPP */

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.whatsapp-link:hover {
  color: var(--color-white);
}

.whatsapp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #25d366;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25d366;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.34);
}

.floating-whatsapp svg {
  display: block;
}

body.drawer-open .floating-whatsapp {
  opacity: 0;
  pointer-events: none;
}

/* PRICING PAGES */

.pricing-page {
  background: var(--color-page);
}

.pricing-hero {
  padding-top: 150px;
  background:
    radial-gradient(circle at top left, rgba(22, 101, 52, 0.1), transparent 32%),
    radial-gradient(circle at top right, rgba(8, 145, 178, 0.12), transparent 32%),
    var(--color-page);
}

.pricing-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.pricing-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 18px;
  color: var(--color-navy);
  max-width: 920px;
}

.pricing-hero-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.pricing-hero-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 20px;
}

.pricing-hero-card h3 {
  margin-bottom: 8px;
}

.pricing-hero-card p {
  color: var(--color-muted);
  margin-bottom: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.pricing-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.14);
}

.pricing-card.featured {
  border-color: rgba(8, 145, 178, 0.3);
  box-shadow: 0 24px 60px rgba(8, 145, 178, 0.14);
}

.pricing-card.featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--gradient-brand);
}

.pricing-card-top {
  margin-bottom: 18px;
}

.pricing-badge {
  display: inline-block;
  color: var(--color-green);
  background: var(--color-green-light);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.pricing-badge.blue {
  color: #075985;
  background: #e0f2fe;
}

.pricing-badge.purple {
  color: #581c87;
  background: #f3e8ff;
}

.pricing-badge.green {
  color: var(--color-green);
  background: var(--color-green-light);
}

.price {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 900;
  color: var(--color-navy);
  margin: 14px 0 0;
}

.price span {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-muted-2);
}

.package-subtitle {
  color: var(--color-muted-2);
  font-weight: 800;
  margin-bottom: 0;
}

.package-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  color: #334155;
}

.package-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
}

.package-list li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 145, 178, 0.12);
  color: var(--color-cyan);
  font-size: 13px;
  font-weight: 900;
  margin-top: 1px;
}

.package-note {
  background: var(--color-soft-green);
  border: 1px solid #bbf7d0;
  color: var(--color-green);
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 800;
  margin: 18px 0 0;
}

.pricing-btn {
  margin-top: auto;
  text-align: center;
  width: 100%;
}

.pricing-card .package-list + .pricing-btn,
.pricing-card .package-note + .pricing-btn {
  margin-top: 24px;
}

.construction-pricing-section {
  background: var(--color-white);
}

.discount-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(8, 145, 178, 0.14), transparent 32%),
    var(--gradient-dark);
  color: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: 34px;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.18);
}

.discount-banner .section-kicker {
  color: #bbf7d0;
}

.discount-banner p {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 0;
}

.discount-amount {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(8, 145, 178, 0.25);
}

.service-price-list {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.service-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
}

.service-price-row:last-child {
  border-bottom: none;
}

.service-price-row span {
  color: #334155;
  font-weight: 800;
}

.service-price-row strong {
  color: var(--color-green);
  white-space: nowrap;
}

/* CONTACT PAGE */

.contact-page {
  background: var(--color-page);
}

.contact-hero {
  padding-top: 150px;
  background:
    radial-gradient(circle at top left, rgba(22, 101, 52, 0.12), transparent 34%),
    radial-gradient(circle at top right, rgba(8, 145, 178, 0.14), transparent 34%),
    linear-gradient(180deg, var(--color-page) 0%, var(--color-soft-green) 100%);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.contact-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1.05;
  margin-bottom: 18px;
  color: var(--color-navy);
  max-width: 900px;
}

.contact-hero .lead {
  font-size: 18px;
  max-width: 780px;
}

.contact-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact-hero-points div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.contact-hero-points span {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(8, 145, 178, 0.12);
  color: var(--color-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
}

.contact-hero-points p {
  margin: 0;
  color: #334155;
  font-weight: 800;
  font-size: 14px;
}

.contact-hero-card {
  background:
    radial-gradient(circle at top right, rgba(8, 145, 178, 0.16), transparent 34%),
    var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 34px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.contact-hero-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 72px rgba(15, 23, 42, 0.16);
}

.contact-icon-wrap {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  color: var(--color-white);
  font-size: 34px;
  margin-bottom: 22px;
  box-shadow: 0 18px 34px rgba(22, 101, 52, 0.22);
}

.contact-hero-card h2 {
  margin-bottom: 12px;
}

.contact-hero-card p {
  color: var(--color-muted);
}

.contact-action-stack {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-action-stack .btn {
  text-align: center;
}

.contact-form-section {
  background: var(--color-page);
}

.contact-success {
  max-width: none;
  margin-bottom: 28px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 30px;
  align-items: start;
}

.contact-form-card {
  max-width: none;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 34px;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--gradient-brand);
}

.form-heading {
  margin-bottom: 24px;
}

.form-heading h2 {
  margin-bottom: 10px;
}

.form-heading p {
  color: var(--color-muted-2);
  margin-bottom: 0;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form-card label {
  display: grid;
  gap: 8px;
}

.contact-form-card label span {
  color: #334155;
  font-size: 14px;
  font-weight: 900;
}

.contact-form-card input,
.contact-form-card textarea,
.contact-form-card select {
  border-radius: 18px;
  background: var(--color-page);
  border: 1px solid #dbe3ea;
}

.contact-form-card input:hover,
.contact-form-card textarea:hover,
.contact-form-card select:hover {
  border-color: rgba(8, 145, 178, 0.45);
}

.contact-form-card input:focus,
.contact-form-card textarea:focus,
.contact-form-card select:focus {
  background: var(--color-white);
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.12);
}

.contact-submit {
  width: 100%;
  margin-top: 4px;
  border-radius: 18px;
  padding: 15px 24px;
}

.contact-side-panel {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 120px;
}

.contact-mini-card,
.contact-promise-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--color-border);
  border-radius: 26px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.contact-mini-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
}

.contact-mini-card:hover,
.contact-promise-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.12);
}

.mini-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--color-soft-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.contact-mini-card h3 {
  margin-bottom: 4px;
}

.contact-mini-card p {
  margin: 0;
  color: var(--color-muted);
  word-break: break-word;
}

.contact-mini-card a {
  color: var(--color-green);
  font-weight: 900;
}

.contact-promise-card {
  background:
    radial-gradient(circle at top right, rgba(8, 145, 178, 0.12), transparent 34%),
    var(--color-white);
}

.contact-promise-card .check-list {
  margin-top: 16px;
}

.whatsapp-mini-icon {
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
}

.whatsapp-mini-icon svg {
  display: block;
}

/* WORDPRESS CONTENT HELPERS */

.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin: 0 24px 24px 0;
}

.alignright {
  float: right;
  margin: 0 0 24px 24px;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  color: var(--color-muted);
  font-size: 14px;
  margin-top: 8px;
}

/* ANIMATIONS */

@keyframes spinHorizontalOnce {
  0% {
    transform: rotateY(0deg);
  }

  100% {
    transform: rotateY(360deg);
  }
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  .site-header .container {
    padding-left: 12px;
    padding-right: 16px;
  }
}

@media (max-width: 1000px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .metrics-grid,
  .process-wrap,
  .assurance-layout,
  .split-section,
  .pricing-hero-grid,
  .pricing-grid,
  .pricing-grid-3,
  .discount-banner,
  .contact-hero-grid,
  .contact-layout,
  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .contact-side-panel {
    position: static;
  }

  .discount-amount {
    width: 130px;
    height: 130px;
    font-size: 24px;
  }
}

@media (max-height: 760px) {
  .contact-side-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 72px;
  }

  .site-header .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .logo {
    font-size: 14px;
    min-width: 0;
    white-space: normal;
  }

  .logo span {
    white-space: normal;
    line-height: 1.15;
  }

  .logo img {
    max-height: 46px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .site-drawer {
    width: min(340px, 88vw);
    padding: 78px 18px 22px;
  }

  .drawer-nav a {
    font-size: 16px;
    padding: 12px 10px;
  }

  #homeHero,
  #about,
  #services,
  #portfolio,
  #process,
  #testimonials,
  #blog,
  #quote,
  #book,
  #contact {
    scroll-margin-top: 82px;
  }

  .section {
    padding: 70px 0;
  }

  .page-content {
    padding-top: 120px;
  }

  .hero-video-section {
    min-height: 86vh;
  }

  .hero-video-content {
    padding: 130px 0 90px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-buttons {
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .card,
  .process-panel,
  .assurance-card,
  .cta-panel,
  .pricing-card,
  .contact-hero-card,
  .contact-form-card {
    padding: 22px;
  }

  .process-step {
    grid-template-columns: 52px 1fr;
    padding: 16px;
  }

  .process-badge {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .highlight-card {
    padding: 24px;
  }

  .highlight-card p {
    max-width: 100%;
  }

  .slide {
    padding: 0 34px;
  }

  .pricing-hero,
  .contact-hero {
    padding-top: 130px;
  }

  .pricing-hero-card img {
    height: 230px;
  }

  .service-price-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-price-row strong {
    white-space: normal;
  }

  .contact-hero-points {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-hero-points div {
    border-radius: 18px;
  }

  .floating-whatsapp {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 16px;
  }

  .calendly-wrapper iframe {
    min-height: 650px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .hero-video-section h1,
  .contact-hero h1,
  .pricing-hero h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .btn {
    padding: 12px 18px;
  }

  .contact-mini-card {
    grid-template-columns: 44px 1fr;
  }

  .mini-icon {
    width: 44px;
    height: 44px;
    border-radius: 15px;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .card:hover,
  .metric-box:hover,
  .process-step:hover,
  .pricing-card:hover,
  .contact-hero-card:hover,
  .contact-mini-card:hover,
  .contact-promise-card:hover,
  .floating-whatsapp:hover {
    transform: none;
  }
}
/* DRAWER OPEN FIXES */

/* Allow page scrolling while drawer/nav is open */
body.drawer-open {
  overflow: auto;
}

/* Let the page remain scrollable behind the drawer */
body.drawer-open .drawer-backdrop {
  pointer-events: none;
}

/* Cross icon must always be black when drawer is open */
body.drawer-open .menu-toggle {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
}

body.drawer-open .menu-toggle span {
  background: #0f172a !important;
}

/* Highlight current drawer page */
.drawer-nav a.is-current {
  background: #ecfdf5;
  color: #166534;
  cursor: default;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(22, 101, 52, 0.16);
}

.drawer-nav a.is-current::after {
  content: "Current";
  opacity: 1;
  transform: none;
  color: #166534;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* If the current item is the last CTA-style item, keep it readable */
.drawer-nav li:last-child a.is-current {
  background: #ecfdf5;
  color: #166534;
  box-shadow: inset 0 0 0 1px rgba(22, 101, 52, 0.16);
}

.drawer-nav li:last-child a.is-current::after {
  color: #166534;
}
