/* ============================================
   Cactus Property Solutions — Styles
   Color Scheme: Green / Black / Silver / White
   ============================================ */

:root {
  --black: #0a0a0a;
  --black-light: #141414;
  --black-medium: #1a1a1a;
  --green: #16a34a;
  --green-dark: #15803d;
  --green-light: #22c55e;
  --white: #ffffff;
  --silver: #c0c0c0;
  --silver-light: #d4d4d8;
  --silver-dark: #a1a1aa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-lg: 12px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.hidden { display: none !important; }
.text-green { color: var(--green); }
.text-white { color: var(--white) !important; }
.text-white-muted { color: rgba(255,255,255,0.85) !important; }

/* ---- NAVIGATION ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}

.logo-icon {
  color: var(--green);
  font-size: 1.5rem;
}
img.logo-icon { width: 32px; height: 32px; object-fit: contain; vertical-align: middle; }

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

.nav-links a {
  color: var(--gray-300);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(22, 163, 74, 0.4);
}

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

.btn-dark:hover {
  background: var(--black-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }
.btn-full { width: 100%; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(22, 163, 74, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(22, 163, 74, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 850px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--gray-300);
  margin-bottom: 32px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
}

.badge-icon {
  color: var(--green);
  font-weight: 700;
}

.hero-brand {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.hero-note {
  margin-top: 16px;
  color: var(--gray-500);
  font-size: 0.85rem;
}

/* ---- HERO SPLIT LAYOUT ---- */
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

.hero-copy {
  text-align: left;
}

.hero-copy .hero-brand {
  margin-bottom: 12px;
}

.hero-copy .hero-subtitle {
  margin-left: 0;
  margin-right: 0;
  max-width: 560px;
}

.hero-copy .hero-badges {
  justify-content: flex-start;
}

.hero-form-wrap {
  position: relative;
}

.hero-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-xl);
}

.hero-form-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 6px;
}

.hero-form-sub {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.contact-form-hero {
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

.final-cta {
  text-align: center;
}

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--green);
  padding: 24px 0;
}

.trust-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  text-align: center;
  color: var(--white);
}

.trust-number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.2;
}

.trust-label {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---- SECTIONS ---- */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--gray-100);
}

.section-green {
  background: var(--green);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-500);
  font-size: 1.1rem;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- HOW IT WORKS ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--green);
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--black);
}

.step-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---- COMPARISON ---- */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.comparison-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 2px solid var(--gray-200);
}

.comparison-us {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), var(--shadow-lg);
}

.comparison-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.comparison-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.icon-check {
  color: var(--green);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.icon-x {
  color: var(--gray-400);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ---- SITUATIONS ---- */
.situations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.situation-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.situation-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green);
}

.situation-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.situation-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
}

.situation-card p {
  color: var(--gray-500);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ---- SERVICE AREAS ---- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.area-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.area-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green);
}

.area-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.area-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.areas-note {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.95rem;
}

.areas-note a {
  font-weight: 600;
  text-decoration: none;
}

.areas-note a:hover {
  text-decoration: underline;
}

/* ---- TESTIMONIALS ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.stars {
  color: var(--green);
  font-size: 1.2rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-author strong {
  color: var(--black);
  font-size: 0.95rem;
}

.testimonial-author span {
  color: var(--gray-400);
  font-size: 0.8rem;
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item:hover {
  border-color: var(--gray-300);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-toggle {
  color: var(--green);
  font-size: 1.4rem;
  font-weight: 700;
  transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- CONTACT FORM ---- */
.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-note {
  text-align: center;
  color: var(--gray-400);
  font-size: 0.8rem;
  margin-top: 16px;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--black);
  color: var(--gray-400);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h3 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 32px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.footer-disclaimer {
  color: var(--gray-600);
  font-size: 0.8rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .situations-grid,
  .areas-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 640px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-copy .hero-badges {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-top: 1px solid var(--gray-800);
  }

  .nav-links.active { display: flex; }

  .steps-grid,
  .comparison-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .hero-form-card {
    padding: 24px;
  }

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

  .hero {
    padding: 100px 0 60px;
  }

  .section {
    padding: 70px 0;
  }

  .trust-container {
    gap: 16px;
  }

  .trust-item {
    flex: 1 1 40%;
  }
}

@media (max-width: 480px) {
  .situations-grid,
  .areas-grid {
    grid-template-columns: 1fr;
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
  }
}
