:root {
  /* Brand Colors - Power Aesthetic */
  --color-gold: #FFC000;
  /* Electric Amber - brighter, more energetic */
  --color-gold-hover: #FFD700;
  --color-black: #050505;
  /* Deep, void black */
  --color-dark-gray: #111111;
  --color-light-gray: #F2F2F2;
  --color-white: #FFFFFF;
  --color-text: #222222;
  --color-text-light: #AAAAAA;

  /* Spacing & Layout */
  --container-width: 1400px;
  /* Expanded for enterprise feel */
  --padding-section: 6rem 2rem;
  /* More breathable */
  --border-radius: 4px;
  /* Sharper, more industrial */
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
}

/* Typography */
/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 800;
  /* Extra bold */
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  /* Power move */
  letter-spacing: -0.02em;
}

h1 {
  font-size: 5rem;
  /* Massive scale */
}

h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 900;
}

h3 {
  font-size: 1.75rem;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-block;
  padding: 1.25rem 2.5rem;
  /* Larger touch targets */
  background-color: var(--color-gold);
  color: var(--color-black);
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 0;
  /* Sharp edges for industrial feel */
  letter-spacing: 1px;
  border: 2px solid var(--color-gold);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 192, 0, 0.6);
  /* Aggressive glow */
  color: var(--color-black);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-white);
  /* White outline for contrast */
  color: var(--color-white);
}

.btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-black);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.section-dark {
  background-color: var(--color-black);
  color: var(--color-white);
}

/* Navbar */
.navbar {
  background-color: var(--color-black);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
  /* Adjust based on actual logo aspect ratio */
  transform: scale(1.8);
  /* Make it 80% bigger visually */
  transform-origin: left center;
  /* Grow to the right and up/down */
  position: relative;
  z-index: 1001;
  /* Ensure it stays on top */
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--color-white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--color-gold);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  /* Position right below the trigger */
  left: 0;
  background-color: var(--color-dark-gray);
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
  border-top: 2px solid var(--color-gold);
  z-index: 1002;
  border-radius: 0 0 4px 4px;
  padding: 0.5rem 0;
}

.dropdown-content a {
  color: var(--color-white);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-transform: none;
  /* Make dropdown items mixed case for readability or keep uppercase if preferred. Let's keep uppercase to match */
  font-size: 0.85rem;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.05);
  /* Subtle highlight */
  color: var(--color-gold);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Hero Section */
/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('assets/images/hero-cinematic.png');
  background-size: cover;
  background-position: center bottom;
  /* Anchor to bottom for roof focus */
  height: 95vh;
  /* Taller */
  display: flex;
  align-items: center;
  text-align: left;
  /* PowerHRG aligns left */
  color: var(--color-white);
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, var(--color-black), transparent);
  pointer-events: none;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding-left: 2rem;
  border-left: 5px solid var(--color-gold);
  /* Power accent line */
}

.hero h1 span {
  color: var(--color-gold-hover);
  /* Brighter gold */
  display: block;
  font-size: 1.2em;
  /* Even bigger for the keyword */
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  color: var(--color-light-gray);
  max-width: 700px;
  font-weight: 300;
}

/* Internal Page Hero */
.page-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('assets/images/hero-cinematic.png');
  background-size: cover;
  background-position: center bottom;
  height: 50vh;
  /* Shorter than home hero */
  min-height: 400px;
  display: flex;
  align-items: center;
  text-align: left;
  color: var(--color-white);
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, var(--color-white), transparent);
  /* Blend into next white section */
  pointer-events: none;
}

.page-hero-content {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding-left: 2rem;
  border-left: 5px solid var(--color-gold);
}

.page-hero h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

.page-hero p {
  font-size: 1.25rem;
  color: var(--color-light-gray);
  max-width: 600px;
  font-weight: 300;
  margin-bottom: 0;
}

/* Internal Service Content Area */
.service-detail-section {
  padding: var(--padding-section);
  background: var(--color-white);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.service-detail-text h2 {
  text-align: left;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.service-detail-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #444;
}

.service-detail-text ul {
  list-style-type: none;
  margin-bottom: 2rem;
}

.service-detail-text li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-detail-text li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-size: 1.2rem;
  font-weight: bold;
}

.service-detail-image img {
  border-radius: var(--border-radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Utilities */
.image-soft {
  filter: saturate(0.8) contrast(0.9);
  transition: all 0.5s ease;
}

.image-soft:hover {
  filter: saturate(1) contrast(1);
}

/* Features/Differentiators */
.features {
  padding: var(--padding-section);
  text-align: center;
  background-color: var(--color-light-gray);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.feature-card {
  background: var(--color-white);
  padding: 3rem;
  border-left: 4px solid transparent;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  /* Softer initial shadow */
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  z-index: 1;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-left: 4px solid var(--color-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Mission Signature */
.mission-signature {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.7;
}

.mission-signature .text-gold {
  color: var(--color-gold);
}

.feature-icon {
  font-size: 3rem;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  display: inline-block;
  background: rgba(255, 192, 0, 0.1);
  padding: 1rem;
  border-radius: 50%;
}

/* Services */
.services {
  padding: var(--padding-section);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  height: 300px;
  group: translate;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  padding: 2rem;
  color: var(--color-white);
}

.service-overlay h3 {
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

/* CTA Section */
.cta {
  background-color: var(--color-black);
  padding: 5rem 1rem;
  text-align: center;
  color: var(--color-white);
}

.cta h2 {
  color: var(--color-gold);
}

/* Footer */
footer {
  background-color: var(--color-dark-gray);
  color: var(--color-text-light);
  padding: 4rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

/* Story / About Section */
/* Story / About Section - Premium Chapter */
.story-section {
  padding: 140px 0 160px;
  background: #0b0b0b;
}

.story-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.story-content {
  display: flex;
  flex-direction: column;
}

.story-title {
  color: var(--color-gold);
  font-size: clamp(44px, 5vw, 64px);
  letter-spacing: 1px;
  margin: 0 0 28px 0;
  line-height: 1.1;
  text-align: left;
}

.story-lead {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 44px 0;
  max-width: 56ch;
  /* editorial line length */
}

.story-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
  margin: 48px 0;
}

.story-closing {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
  max-width: 56ch;
}

/* Option A: Right-side visual moment */
.story-visual {
  padding-top: 12px;
}

.story-visual img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(255, 200, 0, 0.35);
  display: block;
  filter: saturate(0.92) contrast(0.95);
}

@media (max-width: 900px) {
  .story-section {
    padding: 72px 0;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}


/* Premium Rhythm Upgrade */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  /* premium spacing */
  margin-top: 0;
  /* from user request */
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0;
  /* IMPORTANT: remove any default vertical margins */
  padding: 20px 22px;
  /* lighter than big cards */
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* slight change from 0.08 */
  background: rgba(255, 255, 255, 0.02);
}

.trust-item p {
  opacity: 0.82;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #ccc;
  /* keeping color, user didn't specify removal */
}

.trust-item h4 {
  color: var(--color-white);
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  letter-spacing: 0.2px;
}

.trust-icon {
  color: var(--color-gold);
  min-width: 24px;
  /* Adjusted for Lucide icons */
  display: flex;
  align-items: center;
}

/* Sticky Image Behavior */
.about-image {
  position: sticky;
  top: 80px;
  /* Reduced from 100px */
  flex: 1;
  min-width: 300px;
}

.about-image img {
  border: 1px solid var(--color-gold) !important;
  /* Reduced from 2px, adding specific rule if needed or assumes inline style removal. Wait, inline style has border: 2px. I should update inline style or add overriding class. I'll add a class for the img specifically in HTML or target it here. The HTML has .image-soft. */
}

/* Note: I need to update the HTML to remove the inline border style or rely on this. I'll update styles.css first. */

@media (max-width: 900px) {
  .about-image {
    position: static;
    top: auto;
  }
}

/* Premium Typography */
.section-dark h2 {
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  text-align: left;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.95rem;
  opacity: 0.9;
  color: var(--color-gold);
  margin-bottom: 1rem;
  display: block;
}

.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
  margin: 26px 0;
  width: 100%;
}

/* Mission Statement Signature */
.mission-statement {
  margin-top: 56px;
  padding: 18px 22px;
  border-left: 3px solid var(--color-gold);
  border-top: none;
  /* override previous */
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: left;
  /* specific instruction or consistent with signature feel? user said 'center it' in one part but 'signature' implies left often, but let's follow instruction: "center it" */
  text-align: center;
  font-style: normal;
  /* "Remove bold overload" implied cleaning up styles. keeping it simple */
  font-weight: 400;
}

.footer-links li {
  list-style: none;
  margin-bottom: 0.8rem;
}

.footer-links a:hover {
  color: var(--color-gold);
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  font-size: 0.9rem;
}

/* Mobile Nav */
.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: var(--color-white);
  margin: 5px;
  transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    position: absolute;
    right: 0px;
    height: 92vh;
    top: 8vh;
    background-color: var(--color-dark-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
    padding-top: 2rem;
  }

  .nav-links.nav-active {
    transform: translateX(0%);
  }

  .burger {
    display: block;
  }
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.process-step {
  margin-bottom: 2rem;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-transform: none;
  color: var(--color-black);
  letter-spacing: -0.5px;
}

.process-step p {
  color: #555;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* Estimate Form Styles */
.estimate-section {
  padding: 5rem 1rem;
  background-color: var(--color-light);
  min-height: 600px;
  display: flex;
  align-items: center;
}

.estimate-container {
  max-width: 800px;
}

.estimate-wrapper {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  width: 100%;
}

.estimate-header {
  text-align: center;
  margin-bottom: 2rem;
}

.estimate-header h2 {
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.estimate-header p {
  color: #777;
}

/* Progress Bar */
.progress-container {
  background-color: #eee;
  height: 8px;
  border-radius: 4px;
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
  width: 0%;
  transition: width 0.4s ease;
}

/* Form Steps */
.form-step {
  display: none;
  animation: fadeIn 0.5s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-question {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
  display: block;
  text-align: center;
}

/* Input Fields */
.input-group {
  max-width: 400px;
  margin: 0 auto 2rem;
}

.input-group input {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  border: 2px solid #eee;
  border-radius: 8px;
  transition: all 0.3s ease;
  outline: none;
}

.input-group input:focus {
  border-color: var(--color-gold);
}

/* Option Cards (Radio) */
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

@media (max-width: 600px) {
  .options-grid {
    grid-template-columns: 1fr;
  }
}

.options-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.option-card {
  cursor: pointer;
  position: relative;
}

.option-card input {
  position: absolute;
  opacity: 0;
}

.option-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: white;
  border: 2px solid #eee;
  border-radius: 12px;
  transition: all 0.3s ease;
  height: 100%;
}

.option-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.option-label {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-dark);
}

.option-card input:checked+.option-content {
  border-color: var(--color-gold);
  background-color: rgba(199, 161, 122, 0.05);
  box-shadow: 0 4px 12px rgba(199, 161, 122, 0.2);
}

/* Option List (Vertical) */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.option-list-item {
  cursor: pointer;
  position: relative;
  display: block;
}

.option-list-item input {
  position: absolute;
  opacity: 0;
}

.option-list-item .option-label {
  display: block;
  padding: 1.2rem 1.5rem;
  background: white;
  border: 2px solid #eee;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: left;
}

.option-list-item input:checked+.option-label {
  border-color: var(--color-gold);
  background-color: rgba(199, 161, 122, 0.05);
  font-weight: 700;
}

/* Step Actions */
.step-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-next,
.btn-submit {
  min-width: 150px;
}

.btn-back {
  background: transparent;
  color: #777;
  border: 1px solid #ccc;
}

.btn-back:hover {
  background: #f5f5f5;
  color: #333;
}

.legal-text {
  font-size: 0.8rem;
  color: #999;
  text-align: center;
  max-width: 500px;
  margin: 1rem auto;
  line-height: 1.4;
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 3rem 1rem;
  animation: fadeIn 0.8s ease;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}