:root {
  --dark: #080808;
  --charcoal: #111111;
  --charcoal-2: #181818;
  --grey: #2a2a2a;
  --soft-grey: #b9b9b9;
  --white: #ffffff;
  --accent: #f6b83f;
  --accent-2: #ff8c1a;
  --glass: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

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

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

.container {
  width: min(1180px, 90%);
  margin: auto;
}

.section {
  padding: 110px 0;
  position: relative;
}

.section-label {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-block;
}

.section-title {
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 22px;
}

.section-text {
  color: var(--soft-grey);
  font-size: 18px;
  line-height: 1.8;
  max-width: 760px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.35s ease;
  position: relative;
  overflow: hidden;
  border: 0;
  cursor: pointer;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -120%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);
  transition: 0.6s;
}

.btn:hover::before {
  left: 120%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #111;
  box-shadow: 0 16px 45px rgba(246, 184, 63, 0.28);
}

.btn-outline {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  backdrop-filter: blur(16px);
}

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

header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, 92%);
  z-index: 999;
  padding: 0px;
  border: 0px solid var(--border);
  background: rgba(10, 10, 10, 0);
  backdrop-filter: blur(22px);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: 0.35s ease;
}

header.scrolled {
  top: 8px;
  box-shadow: var(--shadow);
  background: rgba(10, 10, 10, 0.9);
}

.logo {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -1px;
}

.logo span {
  color: var(--accent);
}

nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

nav a {
  font-size: 14px;
  color: #ddd;
  transition: 0.3s;
}

nav a:hover,
nav a.active {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  margin: 5px auto;
}

.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 998;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #111;
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: 0 18px 45px rgba(246,184,63,.35);
  animation: pulseFloat 2.5s infinite;
}

.hero,
.page-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 110px;
}

.page-hero {
  min-height: 68vh;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -3;
}

.hero::before {
  animation: heroImages 18s infinite;
}

.page-hero::before {
  background-image: var(--hero-image);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 35%, rgba(246,184,63,.22), transparent 28%),
    linear-gradient(90deg, rgba(0,0,0,.92), rgba(0,0,0,.58), rgba(0,0,0,.82));
  z-index: -2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 50px;
  align-items: center;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(58px, 9vw, 118px);
  line-height: .88;
  letter-spacing: -5px;
  margin: 18px 0 28px;
  animation: fadeUp 1s ease forwards;
}

.page-hero h1 {
  font-size: clamp(52px, 8vw, 98px);
}

.hero p,
.page-hero p {
  color: #e4e4e4;
  font-size: 21px;
  line-height: 1.8;
  max-width: 760px;
  animation: fadeUp 1.2s ease forwards;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 1.4s ease forwards;
}

.hero-card,
.glass-card {
  padding: 28px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.hero-card {
  animation: floatCard 5s ease-in-out infinite;
}

.hero-card img {
  height: 330px;
  width: 100%;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 22px;
}

.trust-row,
.feature-grid,
.service-grid,
.why-grid,
.process-grid,
.stats-grid,
.review-grid,
.values-grid {
  display: grid;
  gap: 22px;
}

.trust-row {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 45px;
}

.trust,
.feature-card,
.why-card,
.stat-card {
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(18px);
}

.trust strong,
.stat-card h3 {
  color: var(--accent);
  font-size: 34px;
  display: block;
}

.glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(246,184,63,.18);
  filter: blur(70px);
  animation: drift 8s ease-in-out infinite alternate;
}

.glow.one {
  right: 8%;
  top: 22%;
}

.glow.two {
  left: 5%;
  bottom: 8%;
  animation-delay: 1.5s;
}

.dark-gradient {
  background: linear-gradient(180deg, #080808, #141414);
}

.black-section {
  background: var(--charcoal);
}

.light-section {
  background: #f5f5f5;
  color: #111;
}

.light-section .section-text {
  color: #555;
}

.about-grid,
.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.image-stack {
  position: relative;
}

.image-stack img {
  height: 560px;
  width: 100%;
  object-fit: cover;
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.floating-card {
  position: absolute;
  right: -35px;
  bottom: 40px;
  width: 230px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(20,20,20,.78);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  animation: floatCard 4s ease-in-out infinite;
}

.floating-card strong {
  color: var(--accent);
  font-size: 42px;
  display: block;
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 55px;
}

.service-card,
.step,
.review-card,
.faq-item {
  display: block;
  background: #fff;
  color: #111;
  padding: 32px 24px;
  min-height: 190px;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
  transition: .45s ease;
  position: relative;
  overflow: hidden;
}

.service-card::after,
.step::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -70px;
  top: -70px;
  background: var(--accent);
  border-radius: 50%;
  opacity: .18;
  transition: .45s;
}

.service-card:hover,
.step:hover,
.review-card:hover {
  transform: translateY(-14px);
}

.service-card:hover {
  background: #111;
  color: #fff;
}

.service-card:hover::after,
.step:hover::after {
  transform: scale(2.2);
  opacity: .28;
}

.service-card .icon {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent-2);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.service-card h3,
.service-card p,
.step h3,
.step p {
  position: relative;
  z-index: 1;
}

.service-card p,
.step p,
.review-card p {
  color: #555;
  line-height: 1.75;
  margin-top: 12px;
}

.compare-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 22px;
  margin-top: 55px;
}

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

.compare-card,
.gallery-item {
  border-radius: 34px;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
}

.compare-card img,
.gallery-item img {
  height: 420px;
  width: 100%;
  object-fit: cover;
  transition: .6s;
}

.gallery-item {
  height: 300px;
}

.gallery-item.large {
  height: 622px;
  grid-row: span 2;
}

.compare-card:hover img,
.gallery-item:hover img {
  transform: scale(1.08);
}

.compare-card span,
.gallery-item span {
  position: absolute;
  top: 22px;
  left: 22px;
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(14px);
  color: var(--accent);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 900;
}

.why-grid {
  grid-template-columns: repeat(5, 1fr);
  margin-top: 55px;
}

.why-card {
  transition: .4s;
}

.why-card:hover {
  transform: translateY(-10px);
  border-color: rgba(246,184,63,.7);
}

.why-card h3 {
  margin-bottom: 12px;
  color: var(--accent);
}

.why-card p {
  color: var(--soft-grey);
  line-height: 1.7;
  font-size: 15px;
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 55px;
}

.step-number {
  font-size: 54px;
  font-weight: 900;
  color: rgba(246,184,63,.45);
  margin-bottom: 18px;
}

.stats {
  background:
    linear-gradient(rgba(0,0,0,.78), rgba(0,0,0,.78));
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.stat-card {
  text-align: center;
  padding: 36px;
}

.review-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 55px;
}

.stars {
  color: var(--accent-2);
  font-size: 22px;
  margin-bottom: 18px;
}

.cta-box {
  padding: 70px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 80% 20%, rgba(246,184,63,.32), transparent 25%),
    linear-gradient(135deg, #1d1d1d, #090909);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}

.cta-box h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 18px;
}

.contact-card {
  padding: 36px;
  border-radius: 32px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.contact-card p {
  color: var(--soft-grey);
  margin-bottom: 18px;
  line-height: 1.7;
}

form {
  padding: 36px;
  border-radius: 34px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

input,
textarea,
select {
  width: 100%;
  padding: 17px 18px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.28);
  color: #fff;
  border-radius: 16px;
  outline: none;
  margin-bottom: 15px;
  font-size: 15px;
}

textarea {
  height: 140px;
  resize: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
}

select option {
  color: #111;
}

form button {
  width: 100%;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item {
  min-height: auto;
}

.faq-item h3 {
  margin-bottom: 10px;
}

.service-detail-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.service-detail-list li {
  list-style: none;
  color: var(--soft-grey);
  line-height: 1.8;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.07);
}

.light-section .service-detail-list li {
  color: #555;
  border-color: rgba(0,0,0,.1);
  background: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.06);
}

.service-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 55px;
}

.service-highlight {
  padding: 30px;
  border-radius: 28px;
  background: var(--glass);
  border: 1px solid var(--border);
  transition: .35s ease;
}

.service-highlight:hover {
  transform: translateY(-10px);
  border-color: rgba(246,184,63,.7);
}

.service-highlight strong {
  display: block;
  color: var(--accent);
  font-size: 34px;
  margin-bottom: 14px;
}

.service-highlight p {
  color: var(--soft-grey);
  line-height: 1.75;
}

.modern-footer {
  background:
    radial-gradient(circle at 84% 18%, rgba(246,184,63,.18), transparent 28%),
    linear-gradient(135deg, #050505, #121212);
  padding: 82px 0 30px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .75fr .9fr 1fr;
  gap: 40px;
  margin-bottom: 55px;
}

.footer-logo {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.footer-logo span {
  color: var(--accent);
}

footer p,
footer a,
footer li {
  color: #aaa;
  line-height: 1.9;
  list-style: none;
  transition: .3s;
}

footer a:hover {
  color: var(--accent);
}

footer h4 {
  font-size: 18px;
  margin-bottom: 18px;
  color: #fff;
}

.footer-contact-card {
  padding: 26px;
  border-radius: 28px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--border);
}

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #777;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(55px);
  transition: 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroImages {
  0%, 30% { background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1800&q=80"); }
  33%, 63% { background-image: url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1800&q=80"); }
  66%, 100% { background-image: url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1800&q=80"); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(45px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, -35px) scale(1.2); }
}

@keyframes pulseFloat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@media (max-width: 1024px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    width: min(92%, 1180px);
    margin: auto;
    padding: 24px;
    display: grid;
    gap: 16px;
    border-radius: 28px;
    border: 1px solid var(--border);
    background: rgba(10,10,10,.96);
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
  }

  nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero-grid,
  .about-grid,
  .split-grid,
  .contact-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

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

  .why-grid,
  .review-grid,
  .service-highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid,
  .compare-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 650px) {
  header {
    border-radius: 24px;
  }

  .call-header {
    display: none;
  }

  .hero h1,
  .page-hero h1 {
    letter-spacing: -2px;
  }

  .trust-row,
  .service-grid,
  .why-grid,
  .service-highlight-grid,
  .process-grid,
  .stats-grid,
  .gallery-grid,
  .compare-grid,
  .footer-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .hero-card img,
  .image-stack img,
  .compare-card img,
  .gallery-item,
  .gallery-item.large {
    height: 330px;
  }

  .floating-card {
    position: static;
    margin-top: 20px;
    width: 100%;
  }

  .cta-box {
    padding: 36px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .section {
    padding: 80px 0;
  }
}


body.hire-a-buddy-theme { background: var(--dark); color: var(--white); }
.hab-elementor-page { background: var(--dark); color: var(--white); }
.hab-cf7-form .wpcf7-form { padding: 36px; border-radius: 34px; background: rgba(255,255,255,.07); border: 1px solid var(--border); backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.hab-cf7-form .wpcf7-spinner { display: none; }
.admin-bar header { top: 50px; }
.admin-bar header.scrolled { top: 40px; }
@media (max-width: 782px) { .admin-bar header, .admin-bar header.scrolled { top: 54px; } }


/* Elementor-native rebuild bridge */
.elementor .hero, .elementor .page-hero, .elementor .section { width: 100%; }
.elementor .container { width: min(1180px, 90%); margin-left: auto; margin-right: auto; padding: 25px 0px;}
.elementor .hero-grid, .elementor .about-grid, .elementor .split-grid, .elementor .contact-grid, .elementor .cta-box { display: grid; }
.hab-btn .elementor-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px; font-weight: 800; transition: .35s ease; position: relative; overflow: hidden; border: 0; cursor: pointer; }
.hab-btn-primary .elementor-button { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #111; box-shadow: 0 16px 45px rgba(246,184,63,.28); }
.hab-btn-outline .elementor-button { border: 1px solid var(--border); background: rgba(255,255,255,.06); color: var(--white); backdrop-filter: blur(16px); }
.hab-btn-text .elementor-button { background: transparent; color: var(--accent-2); padding: 12px 0; box-shadow: none; }
.hab-btn .elementor-button:hover { transform: translateY(-5px); }
.elementor .elementor-heading-title { color: inherit; font: inherit; }
.elementor .section-label .elementor-heading-title { color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 14px; display: inline-block; }
.elementor .section-title .elementor-heading-title { font-size: clamp(36px, 5vw, 68px); line-height: 1; letter-spacing: -2px; margin-bottom: 22px; }
.elementor .section-text p, .elementor .text-editor p { color: inherit; }
.elementor .hero-card img, .elementor .image-stack img, .elementor .compare-card img, .elementor .gallery-item img { width: 100%; object-fit: cover; }
.hab-counter .elementor-counter { background: rgba(255,255,255,.08); border: 1px solid var(--border); border-radius: 24px; padding: 36px; backdrop-filter: blur(18px); text-align: center; }
.hab-counter .elementor-counter-number-wrapper { color: var(--accent); font-size: 34px; font-weight: 900; justify-content: center; }
.hab-counter .elementor-counter-title { color: var(--white); }
@media (max-width: 1024px) { .elementor .hero-grid, .elementor .about-grid, .elementor .split-grid, .elementor .contact-grid, .elementor .cta-box { grid-template-columns: 1fr; } }


/* Native Elementor header/footer template styling */
.hab-site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, 92%);
  z-index: 999;
  padding: 16px 20px;
  border: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(22px);
  border-radius: 999px;
  transition: 0.35s ease;
}
.hab-site-header.scrolled { top: 8px; box-shadow: var(--shadow); background: rgba(10, 10, 10, 0.9); }
.hab-site-header .header-native { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hab-site-header .hab-header-brand .elementor-heading-title { font-size: 23px; font-weight: 900; letter-spacing: -1px; color: #fff; }
.hab-site-header .hab-header-nav { display: flex; gap: 18px; align-items: center; }
.hab-site-header .hab-btn-text .elementor-button { color: #ddd; font-size: 14px; padding: 0; }
.hab-site-header .hab-btn-text .elementor-button:hover { color: var(--accent); transform: none; }
.admin-bar .hab-site-header { top: 50px; }
.admin-bar .hab-site-header.scrolled { top: 40px; }
@media (max-width: 1024px) { .hab-site-header { border-radius: 24px; } .hab-site-header .header-native { flex-wrap: wrap; } .hab-site-header .hab-header-nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; } }
@media (max-width: 650px) { .hab-site-header .hab-header-nav { gap: 12px; } }



/* Custom widget exact-render mode: page sections render the original Hire A Buddy HTML structure from Elementor widget controls, so the original CSS applies directly. */
